Submitted a PR that should address the issue:

https://github.com/apache/nifi/pull/5861

On Fri, Mar 11, 2022 at 6:43 PM Mike Thomsen <[email protected]> wrote:
>
> Bryan,
>
> This is the dump of the file. I'm building on JDK 11 (Adoptium build)
>
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements.  See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License.  You may obtain a copy of the License at
> #
> #     http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
>
> Project-Version:1.16.0
> Build-Branch:
> Build-Revision:
> Build-Timestamp:${timestamp}
> Built-By:mikethomsen
> Maven-Home:/Users/mikethomsen/.sdkman/candidates/maven/current
> Maven-Version:3.6.3
> Created-By:Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Build-Java-Home:/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home
> Build-Jdk:11.0.12
> Build-Jdk-Vendor:Eclipse Foundation
> Build-Arch:x86_64
> Build-Os:Mac OS X
> Build-Os-Version:11.2%
>
> On Fri, Mar 11, 2022 at 6:35 PM Nathan Gough <[email protected]> wrote:
> >
> > I also ran into both of these issues. Though it was just a me problem.
> >
> > The value in my build.properties is:
> > Build-Timestamp:${timestamp}
> >
> > On Fri, Mar 11, 2022 at 6:03 PM Bryan Bende <[email protected]> wrote:
> >
> > > Mike,
> > >
> > > What is the value of timestamp in your
> > > nifi-manifest/nifi-runtime-manifest/target/classes/build.properties ?
> > >
> > > On Fri, Mar 11, 2022 at 5:53 PM Mike Thomsen <[email protected]>
> > > wrote:
> > >
> > > > https://issues.apache.org/jira/browse/NIFI-9791
> > > >
> > > > On Fri, Mar 11, 2022 at 5:51 PM Mike Thomsen <[email protected]>
> > > > wrote:
> > > > >
> > > > > Will do
> > > > >
> > > > > On Fri, Mar 11, 2022 at 3:41 PM Joe Witt <[email protected]> wrote:
> > > > > >
> > > > > > just got word of a bug in some intensive testing so will be sinking
> > > the
> > > > > > release anyway.  Please file a JIRA for what you found.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > On Fri, Mar 11, 2022 at 1:27 PM Mike Thomsen <[email protected]
> > > >
> > > > wrote:
> > > > > >
> > > > > > > I'm getting this build error locally in the nifi-runtime-manifest
> > > > > > > module. Going to abstain from voting for a little while to see if
> > > > > > > anyone has the bug since this machine is loaded up with stuff that
> > > > > > > sometimes makes builds break for me when they don't for others.
> > > Error
> > > > > > > is:
> > > > > > >
> > > > > > > [INFO] --- exec-maven-plugin:1.6.0:java
> > > (generate-runtime-manifest) @
> > > > > > > nifi-runtime-manifest ---
> > > > > > >
> > > > > > > Mar 11, 2022 3:24:56 PM
> > > > > > > org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator 
> > > > > > > main
> > > > > > >
> > > > > > > INFO: Writing runtime manifest to:
> > > > > > >
> > > > > > >
> > > >
> > > /private/tmp/nifi-1.16.0/nifi-manifest/nifi-runtime-manifest/target/classes/nifi-runtime-manifest.json
> > > > > > >
> > > > > > > [WARNING]
> > > > > > >
> > > > > > > java.lang.NumberFormatException: For input string: "${timestamp}"
> > > > > > >
> > > > > > >     at java.lang.NumberFormatException.forInputString
> > > > > > > (NumberFormatException.java:65)
> > > > > > >
> > > > > > >     at java.lang.Long.parseLong (Long.java:678)
> > > > > > >
> > > > > > >     at java.lang.Long.valueOf (Long.java:1144)
> > > > > > >
> > > > > > >     at
> > > > > > >
> > > > org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.execute
> > > > > > > (RuntimeManifestGenerator.java:81)
> > > > > > >
> > > > > > >     at
> > > > org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.main
> > > > > > > (RuntimeManifestGenerator.java:143)
> > > > > > >
> > > > > > >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
> > > (Native
> > > > > > > Method)
> > > > > > >
> > > > > > >     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> > > > > > > (NativeMethodAccessorImpl.java:62)
> > > > > > >
> > > > > > >     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > > > (DelegatingMethodAccessorImpl.java:43)
> > > > > > >
> > > > > > >     at java.lang.reflect.Method.invoke (Method.java:566)
> > > > > > >
> > > > > > >     at org.codehaus.mojo.exec.ExecJavaMojo$1.run
> > > > (ExecJavaMojo.java:282)
> > > > > > >
> > > > > > >     at java.lang.Thread.run (Thread.java:829)
> > > > > > >
> > > > > > > On Fri, Mar 11, 2022 at 2:56 PM Joe Witt <[email protected]>
> > > wrote:
> > > > > > > >
> > > > > > > > Not from my point of view it isn't.  Also try it without the IT
> > > > while
> > > > > > > doing
> > > > > > > > contrib-check then run the ITs without contrib-check.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > On Fri, Mar 11, 2022 at 12:51 PM Mike Thomsen <
> > > > [email protected]>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > > > > [INFO] --- maven-checkstyle-plugin:3.1.2:check (check-style) @
> > > > > > > > > nifi-system-test-suite ---
> > > > > > > > >
> > > > > > > > > [WARNING]
> > > > > > > > >
> > > > > > >
> > > >
> > > src/test/java/org/apache/nifi/tests/system/clustering/OffloadIT.java:[34,8]
> > > > > > > > > (imports) UnusedImports: Unused import - java.util.Collection.
> > > > > > > > >
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > ------------------------------------------------------------------------
> > > > > > > > >
> > > > > > > > > [INFO] BUILD FAILURE
> > > > > > > > >
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > ------------------------------------------------------------------------
> > > > > > > > >
> > > > > > > > > [INFO] Total time:  15.602 s (Wall Clock)
> > > > > > > > >
> > > > > > > > > [INFO] Finished at: 2022-03-11T14:49:43-05:00
> > > > > > > > >
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > ------------------------------------------------------------------------
> > > > > > > > >
> > > > > > > > > [WARNING] The requested profile "include-grpc" could not be
> > > > activated
> > > > > > > > > because it does not exist.
> > > > > > > > >
> > > > > > > > > [ERROR] Failed to execute goal
> > > > > > > > > org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check
> > > > > > > > > (check-style) on project nifi-system-test-suite: You have 1
> > > > Checkstyle
> > > > > > > > > violation. -> [Help 1]
> > > > > > > > >
> > > > > > > > > [ERROR]
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Is this worth a -1 vote?
> > > > > > > > >
> > > > > > >
> > > >
> > >

Reply via email to