Lucas, The issue with the static analysis in that PR is the same issue that someone else ran into earlier today. We're still trying to track it down as it's seemingly sporadic. I've triggered that job to re-run and it is not an issue with your PR.
Dan, We did introduce this new UI behind a profile that is not active by default. When the profile is not active, the new UI is not included in the built NiFi assembly. It does, however, build it. We'll update the build so that it doesn't even build it unless the profile is active. In the meantime in order to unblock your work, I think you should be able to use mvn -pl exclude building it locally. Longer term, once the new UI is ready you will need a system that supports Node.js 20 (the current LTS version) [1]. Matt [1] https://github.com/nodejs/release On Mon, Nov 27, 2023 at 4:07 PM Dan S <[email protected]> wrote: > Matt, > Is there a way I can skip that part of the build as my changes have nothing > to do with the UI. > > On Mon, Nov 27, 2023 at 3:55 PM Dan S <[email protected]> wrote: > > > Matt, > > After running mvn clean install in > > > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend > > I see the following additional log messages: > > > > [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libm.so.6: version `GLIBC_2.27' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >> [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >> [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >> [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >> [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libc.so.6: version `GLIBC_2.28' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >> [INFO] > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >> /lib64/libc.so.6: version `GLIBC_2.25' not found (required by > >> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > > > > > > On Mon, Nov 27, 2023 at 3:47 PM Dan S <[email protected]> wrote: > > > >> Based on command hostnamectl I am running on > >> Operating System: CentOS Linux 7 (Core) > >> CPE OS Name: cpe:/o:centos:centos:7 > >> Kernel: Linux 3.10.0-1160.90.1.el7.x86_64 > >> Architecture: x86-64 > >> > >> It seems the problem is that I do not have GLIBC_2.25 installed. > >> Apparently though from this forum > >> <https://forums.centos.org/viewtopic.php?t=73511> I see it is not a > good > >> idea to upgrade it. > >> Please advise. > >> > >> > >> On Mon, Nov 27, 2023 at 3:35 PM Matt Gilman <[email protected]> > >> wrote: > >> > >>> Dan, > >>> > >>> Thanks for the response. What kind of system are you building on? I > >>> wonder > >>> if there is some incompatibility between the OS and the newer version > of > >>> node being used. You should be able to attempt to build > >>> > >>> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend > >>> directly to focus on the problematic part of the build and save a > little > >>> bit of time. > >>> > >>> Thanks > >>> > >>> On Mon, Nov 27, 2023 at 2:50 PM Dan S <[email protected]> wrote: > >>> > >>> > Matt, > >>> > I reran and this is the message I see before the reactor reports the > >>> > summary > >>> > [INFO] > >>> > > >>> > > >>> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node: > >>> > /lib64/libc.so.6: version `GLIBC_2.25' not found (required by > >>> > > >>> > > >>> > /home/dystieg/git/NIFI-FORK/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/target/frontend-working-directory/node/node) > >>> > > >>> > And this is the message I see afterwards: > >>> > > >>> > [INFO] > >>> > > >>> > ------------------------------------------------------------------------ > >>> > [INFO] BUILD FAILURE > >>> > [INFO] > >>> > > >>> > ------------------------------------------------------------------------ > >>> > [INFO] Total time: 54:03 min > >>> > [INFO] Finished at: 2023-11-27T19:32:58Z > >>> > [INFO] > >>> > > >>> > ------------------------------------------------------------------------ > >>> > [ERROR] Failed to execute goal > >>> > com.github.eirslett:frontend-maven-plugin:1.14.2:npm (npm-install) on > >>> > project nifi-web-frontend: Failed to run task: 'npm run ci' failed. > >>> > org.apache.commons.exec.ExecuteException: Process exited with an > >>> error: 1 > >>> > (Exit value: 1) -> [Help 1] > >>> > > >>> > > >>> > > >>> > On Mon, Nov 27, 2023 at 1:34 PM Matt Gilman <[email protected] > > > >>> > wrote: > >>> > > >>> > > Hi Dan, > >>> > > > >>> > > We did land an effort that introduces the beginnings of a new UI > >>> [1]. I > >>> > > never ran into this and the GitHub CI for the PR ran successfully > but > >>> > > someone else had an issue earlier today too. The actual error > should > >>> be > >>> > > reported above the summary at the bottom of your build output. Can > >>> you > >>> > > please check for those details and see if re-running the build > helps? > >>> > We'd > >>> > > like to run down if there are any issues here so others don't run > >>> into > >>> > them > >>> > > too. > >>> > > > >>> > > Thanks > >>> > > > >>> > > Matt > >>> > > > >>> > > [1] https://github.com/apache/nifi/pull/8053 > >>> > > > >>> > > On Mon, Nov 27, 2023 at 1:24 PM Dan S <[email protected]> wrote: > >>> > > > >>> > > > I pulled from the latest code and I cannot build in order to > >>> submit a > >>> > > PR. I > >>> > > > am getting the following > >>> > > > > >>> > > > [ERROR] Failed to execute goal > >>> > > > com.github.eirslett:frontend-maven-plugin:1.14.2:npm > (npm-install) > >>> on > >>> > > > project nifi-web-frontend: Failed to run task: 'npm run ci' > failed. > >>> > > > org.apache.commons.exec.ExecuteException: Process exited with an > >>> > error: 1 > >>> > > > (Exit value: 1) -> [Help 1] > >>> > > > > >>> > > > Does anyone have any suggestions how this can be fixed? > >>> > > > > >>> > > > >>> > > >>> > >> >
