Build failed in Jenkins: Pivot-maintenance on Java 8 #1119

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Build failed in Jenkins: Pivot-maintenance on Java 8 #1119

Apache Jenkins Server
See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/1119/display/redirect?page=changes>

Changes:

[rwhitcomb] PIVOT-996:  Yet more safety measures:  Parse the version strings inside a new
"safelyDecodeVersion()" method that traps all exceptions and provides an
"empty" version (that is, "0.0.0_00") in case of any errors.  This is what
the Pivot version already did, so use the same technique for the JVM and Java
versions.

Change the Javadoc for the three accessor methods to note this change of
behavior in case of errors.

Note: This should make application startup possible no matter what might
happen to version strings in the future.  We don't want these types of
urgent issues to come up ever again, to where the user application won't
start just because of a JVM update/change.

This is a merge of revision 1792807 from "trunk" to "branches/2.0.x".

[rwhitcomb] PIVOT-996:  Add new code to ApplicationContext to get the Java Runtime version,
which is in addition to the Java JVM version, and to make it available to other
code as a new API call.

Added this new call to VersionTest to make sure the "decode()" and then "toString()"
methods deal nicely with this value.  Just to make sure we can catch the failure
during testing if this ever gets broken again.

I want to consider deprecating the "getJVMVersion()" method as I don't think it
is useful (anymore, if it ever was?); however, I have not done that in this
submission.

This is a merge of revision 1792793 from "trunk" to "branches/2.0.x".

[rwhitcomb] PIVOT-996:  Update the Version.decode() method to deal gracefully with a known fail
case from the SAP JVM where the JVM version string doesn't have the "canonical" form.

Add another test to the VersionTest class for this specific fail case.

This is a merge of revision 1792775 from "trunk" to "branches/2.0.x".

------------------------------------------
[...truncated 111.26 KB...]
AU        core/src/org/apache/pivot/util/Service.java
A         core/src/org/apache/pivot/util/concurrent
AU        core/src/org/apache/pivot/util/concurrent/TaskListener.java
AU        core/src/org/apache/pivot/util/concurrent/TaskSequence.java
AU        core/src/org/apache/pivot/util/concurrent/package.html
AU        core/src/org/apache/pivot/util/concurrent/TaskGroup.java
AU        core/src/org/apache/pivot/util/concurrent/Task.java
AU        core/src/org/apache/pivot/util/concurrent/TaskExecutionException.java
AU        core/src/org/apache/pivot/util/concurrent/TimeoutException.java
AU        core/src/org/apache/pivot/util/concurrent/AbortException.java
AU        core/src/org/apache/pivot/util/Console.java
AU        core/src/org/apache/pivot/util/MessageBusListener.java
AU        core/src/org/apache/pivot/util/CalendarDate.java
AU        core/src/org/apache/pivot/util/EmptyIterator.java
AU        core/src/org/apache/pivot/util/Resources.java
AU        core/src/org/apache/pivot/util/Vote.java
AU        core/src/org/apache/pivot/util/package.html
AU        core/src/org/apache/pivot/util/Command.java
AU        core/src/org/apache/pivot/util/ListenerList.java
AU        core/src/org/apache/pivot/util/Base64.java
AU        core/src/org/apache/pivot/util/Version.java
AU        core/src/org/apache/pivot/util/Filter.java
AU        core/src/org/apache/pivot/util/ImmutableIterator.java
AU        core/src/org/apache/pivot/util/MIMEType.java
A         core/src/org/apache/pivot/collections
AU        core/src/org/apache/pivot/collections/Stack.java
AU        core/src/org/apache/pivot/collections/Dictionary.java
AU        core/src/org/apache/pivot/collections/Sequence.java
AU        core/src/org/apache/pivot/collections/ArrayList.java
AU        core/src/org/apache/pivot/collections/StackListener.java
AU        core/src/org/apache/pivot/collections/LinkedQueue.java
AU        core/src/org/apache/pivot/collections/List.java
AU        core/src/org/apache/pivot/collections/Map.java
AU        core/src/org/apache/pivot/collections/package.html
AU        core/src/org/apache/pivot/collections/ArrayAdapter.java
AU        core/src/org/apache/pivot/collections/EnumSet.java
AU        core/src/org/apache/pivot/collections/HashMap.java
AU        core/src/org/apache/pivot/collections/ListListener.java
AU        core/src/org/apache/pivot/collections/ArrayQueue.java
AU        core/src/org/apache/pivot/collections/MapListener.java
AU        core/src/org/apache/pivot/collections/Queue.java
AU        core/src/org/apache/pivot/collections/QueueListener.java
AU        core/src/org/apache/pivot/collections/Collection.java
AU        core/src/org/apache/pivot/collections/Set.java
AU        core/src/org/apache/pivot/collections/LinkedStack.java
AU        core/src/org/apache/pivot/collections/Group.java
AU        core/src/org/apache/pivot/collections/HashSet.java
A         core/src/org/apache/pivot/collections/immutable
AU        core/src/org/apache/pivot/collections/immutable/package.html
AU        core/src/org/apache/pivot/collections/immutable/ImmutableList.java
AU        core/src/org/apache/pivot/collections/immutable/ImmutableSet.java
AU        core/src/org/apache/pivot/collections/immutable/ImmutableMap.java
AU        core/src/org/apache/pivot/collections/EnumList.java
A         core/src/org/apache/pivot/collections/adapter
AU        core/src/org/apache/pivot/collections/adapter/ListAdapter.java
AU        core/src/org/apache/pivot/collections/adapter/SetAdapter.java
AU        core/src/org/apache/pivot/collections/adapter/MapAdapter.java
AU        core/src/org/apache/pivot/collections/adapter/package.html
AU        core/src/org/apache/pivot/collections/SetListener.java
A         core/src/org/apache/pivot/collections/concurrent
AU        core/src/org/apache/pivot/collections/concurrent/SynchronizedQueue.java
AU        core/src/org/apache/pivot/collections/concurrent/SynchronizedStack.java
AU        core/src/org/apache/pivot/collections/concurrent/SynchronizedList.java
AU        core/src/org/apache/pivot/collections/concurrent/SynchronizedSet.java
AU        core/src/org/apache/pivot/collections/concurrent/SynchronizedMap.java
AU        core/src/org/apache/pivot/collections/concurrent/package.html
AU        core/src/org/apache/pivot/collections/EnumMap.java
AU        core/src/org/apache/pivot/collections/LinkedList.java
AU        core/src/org/apache/pivot/collections/ArrayStack.java
A         core/src/org/apache/pivot/sql
AU        core/src/org/apache/pivot/sql/package.html
AU        core/src/org/apache/pivot/sql/ResultList.java
A         core/src/org/apache/pivot/xml
AU        core/src/org/apache/pivot/xml/Node.java
AU        core/src/org/apache/pivot/xml/Element.java
AU        core/src/org/apache/pivot/xml/TextNode.java
AU        core/src/org/apache/pivot/xml/XMLSerializer.java
AU        core/src/org/apache/pivot/xml/NodeListener.java
AU        core/src/org/apache/pivot/xml/package.html
AU        core/src/org/apache/pivot/xml/ElementListener.java
AU        core/src/org/apache/pivot/xml/XML.java
AU        core/src/org/apache/pivot/xml/XMLSerializerListener.java
A         core/src/org/apache/pivot/text
AU        core/src/org/apache/pivot/text/CharSequenceCharacterIterator.java
AU        core/src/org/apache/pivot/text/package.html
AU        core/src/org/apache/pivot/text/FileSizeFormat.java
AU        core/pom.xml
 U        .
At revision 1792912

No changes for http://svn.apache.org/repos/asf/pivot/branches/jenkins since the previous build
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[Pivot-maintenance on Java 8] $ /home/jenkins/tools/ant/latest/bin/ant check clean package test doc deploy package-tests package-sources package-javadoc
Buildfile: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/build.xml>

help:
     [echo] Using Classpath: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.8.2.jar>:<https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:<https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/${env.CLASSPATH}>:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/charsets.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/deploy.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/localedata.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/nashorn.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/sunec.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/ext/zipfs.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/javaws.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/jce.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/jfr.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/jfxswt.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/jsse.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/management-agent.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/plugin.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/resources.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/rt.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/security/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_121/jre/lib/security/local_policy.jar

check:

clean:

environment-info:
     [echo]
     [echo] Compile environment for pivot_build_by_jenkins-2.0.5 is:
     [echo] show deprecation true
     [echo] debug true
     [echo] source 1.6, target 1.6
     [echo] encoding UTF-8
     [echo] indexJars true
     [echo] arg -Xlint
     [echo]
     [echo] OS: Linux, version 3.19.0-25-generic, architecture amd64
     [echo]
     [echo] Java: home at '/usr/local/asfpackages/java/jdk1.8.0_121/jre', version 1.8.0_121, vendor Oracle Corporation
     [echo]

core:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/core/ant-bin>
    [javac] Compiling 135 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/core/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

wtk:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/wtk/ant-bin>
    [javac] Compiling 405 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/wtk/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

charts:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/charts/ant-bin>
    [javac] Compiling 17 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/charts/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

wtk-terra:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/wtk-terra/ant-bin>
    [javac] Compiling 56 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/wtk-terra/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

web:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/web/ant-bin>
    [javac] Compiling 11 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/web/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

demos:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/demos/ant-bin>
    [javac] Compiling 25 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/demos/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

web-server:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/web-server/ant-bin>
    [javac] Compiling 2 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/web-server/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

demos-server:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/demos-server/ant-bin>
    [javac] Compiling 1 source file to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/demos-server/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

tutorials:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tutorials/ant-bin>
    [javac] Compiling 90 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tutorials/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning
     [copy] Copying 242 files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tutorials/ant-bin>

tutorials-server:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tutorials-server/ant-bin>
    [javac] Compiling 2 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tutorials-server/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

compile:

package:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-charts-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-core-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-demos-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-demos-server-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-tutorials-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-tutorials-server-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-web-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-web-server-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-wtk-2.0.5.jar>
      [jar] Building jar: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/lib/pivot_build_by_jenkins-wtk-terra-2.0.5.jar>

environment-info:
     [echo]
     [echo] Compile environment for pivot_build_by_jenkins-2.0.5 is:
     [echo] show deprecation true
     [echo] debug true
     [echo] source 1.6, target 1.6
     [echo] encoding UTF-8
     [echo] indexJars true
     [echo] arg -Xlint
     [echo]
     [echo] OS: Linux, version 3.19.0-25-generic, architecture amd64
     [echo]
     [echo] Java: home at '/usr/local/asfpackages/java/jdk1.8.0_121/jre', version 1.8.0_121, vendor Oracle Corporation
     [echo]

core:

wtk:

charts:

wtk-terra:

web:

demos:

web-server:

demos-server:

tutorials:

tutorials-server:

compile:

tests:
    [mkdir] Created dir: <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tests/ant-bin>
    [javac] Compiling 88 source files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tests/ant-bin>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning
     [copy] Copying 130 files to <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/pivot_maintenance/tests/ant-bin>

compile-tests:

test:
     [echo] charts: Executing test cases...
     [echo] core: Executing test cases...
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x000000078ff00000, 526385152, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 526385152 bytes for committing reserved memory.
# An error report file with more information is saved as:
# <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/ws/hs_err_pid22208.log>
Build step 'Invoke Ant' marked build as failure
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Apache Jenkins Server
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Roger and Beth Whitcomb
Why do we no longer have a "Pivot-maintenance on Java 7" build? And why
are we building "trunk" on Java 7 anymore?  Maybe we got the two confused?


On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java%208/1120/display/redirect>
>
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Sandro Martini
Hi Roger,
I changed the maintenance build from using Java 7 to Java 8 mainly because
JRE 7 should not occurs any more now (instead of creating by scratch a new
Jenkins job) ... if needed I can take a look.

On trunk I agree that a build on Java 7 is no more needed, at least I could
disable it.

Bye

Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb" <[hidden email]>
ha scritto:

Why do we no longer have a "Pivot-maintenance on Java 7" build? And why are
we building "trunk" on Java 7 anymore?  Maybe we got the two confused?


On 5/15/17 1:09 PM, Apache Jenkins Server wrote:

> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
> %208/1120/display/redirect>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Roger and Beth Whitcomb
So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so
why are we only building with Java 8?  I would think we should be
building with Java 1.6, so we know that it works at the lowest common
denominator still.....  Is that possible?  Does the Jenkins machine have
access to Java 1.6 JDK?  If not, then I think we should be
building/testing "maintenance" with 1.7, since that is the most likely
"lowest common denominator" actively being used at this point....

Actually, I would think we should be doing "maintenance" builds with all
three:  1.6, 1.7 and 1.8, just to check to make sure it works with any
Java version that Pivot 2.0.x will accept....  For "trunk" we could just
have 1.8 builds, since that is what we are targeting at this point.

Thoughts?  Is this possible?

Thanks,
~Roger

On 5/16/17 4:09 PM, Sandro Martini wrote:

> Hi Roger,
> I changed the maintenance build from using Java 7 to Java 8 mainly because
> JRE 7 should not occurs any more now (instead of creating by scratch a new
> Jenkins job) ... if needed I can take a look.
>
> On trunk I agree that a build on Java 7 is no more needed, at least I could
> disable it.
>
> Bye
>
> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb" <[hidden email]>
> ha scritto:
>
> Why do we no longer have a "Pivot-maintenance on Java 7" build? And why are
> we building "trunk" on Java 7 anymore?  Maybe we got the two confused?
>
>
> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>
>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>> %208/1120/display/redirect>
>>
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Sandro Martini
Hi Roger,
I dropped the build on Java 7 only because on 2.0.x the minimum
required Java version is 6, and the current one is Java 8, and Java 7
is after End-of-Life so I think is no more relevant (even because if
some code compiles with Java 6 and with Java 8 usually if works even
with Java 7) ...

Anyway if needed we can restore is (or better, define it from scratch
in Jenkins).

Bye,
Sandro


2017-05-17 16:59 GMT+02:00 Roger and Beth Whitcomb
<[hidden email]>:

> So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so why
> are we only building with Java 8?  I would think we should be building with
> Java 1.6, so we know that it works at the lowest common denominator
> still.....  Is that possible?  Does the Jenkins machine have access to Java
> 1.6 JDK?  If not, then I think we should be building/testing "maintenance"
> with 1.7, since that is the most likely "lowest common denominator" actively
> being used at this point....
>
> Actually, I would think we should be doing "maintenance" builds with all
> three:  1.6, 1.7 and 1.8, just to check to make sure it works with any Java
> version that Pivot 2.0.x will accept....  For "trunk" we could just have 1.8
> builds, since that is what we are targeting at this point.
>
> Thoughts?  Is this possible?
>
> Thanks,
> ~Roger
>
>
> On 5/16/17 4:09 PM, Sandro Martini wrote:
>>
>> Hi Roger,
>> I changed the maintenance build from using Java 7 to Java 8 mainly because
>> JRE 7 should not occurs any more now (instead of creating by scratch a new
>> Jenkins job) ... if needed I can take a look.
>>
>> On trunk I agree that a build on Java 7 is no more needed, at least I
>> could
>> disable it.
>>
>> Bye
>>
>> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb"
>> <[hidden email]>
>> ha scritto:
>>
>> Why do we no longer have a "Pivot-maintenance on Java 7" build? And why
>> are
>> we building "trunk" on Java 7 anymore?  Maybe we got the two confused?
>>
>>
>> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>>
>>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>>> %208/1120/display/redirect>
>>>
>>>
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Roger Whitcomb-3
So, what I found out (separately) is that even if you set the build class to 1.7 (say), and use the 1.8 compiler, but DON'T set the 1.7 bootstrap classpath, then the compiler will not flag stuff that is not compliant with the earlier version, so we need to either build with 1.6, or set the bootstrap classpath so that the 1.8 compiler will still check the 1.6 classes, and etc.  Remember there was a bug I fixed a week ago or so, because I had used a 1.8 method, but compiling with 1.8 even with the "compiler.source" and "compiler.target" set to 1.7 didn't catch the error, UNTIL I also set the bootstrap classpath to 1.7....  So, that's why I'm a bit concerned.  If we still want 2.0.x to run with 1.6, then we really need to really compile with 1.6 (somehow)...

~Roger

-----Original Message-----
From: Sandro Martini [mailto:[hidden email]]
Sent: Wednesday, May 17, 2017 8:16 AM
To: Developers - Apache Pivot <[hidden email]>
Subject: Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Hi Roger,
I dropped the build on Java 7 only because on 2.0.x the minimum required Java version is 6, and the current one is Java 8, and Java 7 is after End-of-Life so I think is no more relevant (even because if some code compiles with Java 6 and with Java 8 usually if works even with Java 7) ...

Anyway if needed we can restore is (or better, define it from scratch in Jenkins).

Bye,
Sandro


2017-05-17 16:59 GMT+02:00 Roger and Beth Whitcomb
<[hidden email]>:

> So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so
> why are we only building with Java 8?  I would think we should be
> building with Java 1.6, so we know that it works at the lowest common
> denominator still.....  Is that possible?  Does the Jenkins machine
> have access to Java
> 1.6 JDK?  If not, then I think we should be building/testing "maintenance"
> with 1.7, since that is the most likely "lowest common denominator"
> actively being used at this point....
>
> Actually, I would think we should be doing "maintenance" builds with
> all
> three:  1.6, 1.7 and 1.8, just to check to make sure it works with any
> Java version that Pivot 2.0.x will accept....  For "trunk" we could
> just have 1.8 builds, since that is what we are targeting at this point.
>
> Thoughts?  Is this possible?
>
> Thanks,
> ~Roger
>
>
> On 5/16/17 4:09 PM, Sandro Martini wrote:
>>
>> Hi Roger,
>> I changed the maintenance build from using Java 7 to Java 8 mainly
>> because JRE 7 should not occurs any more now (instead of creating by
>> scratch a new Jenkins job) ... if needed I can take a look.
>>
>> On trunk I agree that a build on Java 7 is no more needed, at least I
>> could disable it.
>>
>> Bye
>>
>> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb"
>> <[hidden email]>
>> ha scritto:
>>
>> Why do we no longer have a "Pivot-maintenance on Java 7" build? And
>> why are we building "trunk" on Java 7 anymore?  Maybe we got the two
>> confused?
>>
>>
>> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>>
>>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>>> %208/1120/display/redirect>
>>>
>>>
>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Roger Whitcomb-3
In reply to this post by Sandro Martini
The other thing is that building the 2.0.x branch with Java 8 gives 100s of Javadoc warnings, which are also not really helpful.  I have fixed all these in "trunk".  But, if we're going to do a Jenkins build for 2.0.x (and I think we should, since is the current release branch), then it should build "clean", without 100s of warnings......  And a Java 7 (or Java 6 if we can do it) build would achieve that....

~Roger

-----Original Message-----
From: Sandro Martini [mailto:[hidden email]]
Sent: Wednesday, May 17, 2017 8:16 AM
To: Developers - Apache Pivot <[hidden email]>
Subject: Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Hi Roger,
I dropped the build on Java 7 only because on 2.0.x the minimum required Java version is 6, and the current one is Java 8, and Java 7 is after End-of-Life so I think is no more relevant (even because if some code compiles with Java 6 and with Java 8 usually if works even with Java 7) ...

Anyway if needed we can restore is (or better, define it from scratch in Jenkins).

Bye,
Sandro


2017-05-17 16:59 GMT+02:00 Roger and Beth Whitcomb
<[hidden email]>:

> So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so
> why are we only building with Java 8?  I would think we should be
> building with Java 1.6, so we know that it works at the lowest common
> denominator still.....  Is that possible?  Does the Jenkins machine
> have access to Java
> 1.6 JDK?  If not, then I think we should be building/testing "maintenance"
> with 1.7, since that is the most likely "lowest common denominator"
> actively being used at this point....
>
> Actually, I would think we should be doing "maintenance" builds with
> all
> three:  1.6, 1.7 and 1.8, just to check to make sure it works with any
> Java version that Pivot 2.0.x will accept....  For "trunk" we could
> just have 1.8 builds, since that is what we are targeting at this point.
>
> Thoughts?  Is this possible?
>
> Thanks,
> ~Roger
>
>
> On 5/16/17 4:09 PM, Sandro Martini wrote:
>>
>> Hi Roger,
>> I changed the maintenance build from using Java 7 to Java 8 mainly
>> because JRE 7 should not occurs any more now (instead of creating by
>> scratch a new Jenkins job) ... if needed I can take a look.
>>
>> On trunk I agree that a build on Java 7 is no more needed, at least I
>> could disable it.
>>
>> Bye
>>
>> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb"
>> <[hidden email]>
>> ha scritto:
>>
>> Why do we no longer have a "Pivot-maintenance on Java 7" build? And
>> why are we building "trunk" on Java 7 anymore?  Maybe we got the two
>> confused?
>>
>>
>> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>>
>>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>>> %208/1120/display/redirect>
>>>
>>>
>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120

Sandro Martini
Hi,
I'm looking to disable Jenkins Build for trunk on Java 7, but looking
at our BUILD file we still set Java 7 as minimum release for the trunk
so I think we have two choices for trunk:
- stay with Java 7 as minimum requirements, and keep enabled related Jenkins job
- update requirements to Java 8, and disable Jenkins job for Java 7,
or better change it to test instead with latest builds of Java 9 to
start looking at it

What do you prefer ?

Bye,
Sandro


2017-05-17 19:06 GMT+02:00 Roger Whitcomb <[hidden email]>:

> The other thing is that building the 2.0.x branch with Java 8 gives 100s of Javadoc warnings, which are also not really helpful.  I have fixed all these in "trunk".  But, if we're going to do a Jenkins build for 2.0.x (and I think we should, since is the current release branch), then it should build "clean", without 100s of warnings......  And a Java 7 (or Java 6 if we can do it) build would achieve that....
>
> ~Roger
>
> -----Original Message-----
> From: Sandro Martini [mailto:[hidden email]]
> Sent: Wednesday, May 17, 2017 8:16 AM
> To: Developers - Apache Pivot <[hidden email]>
> Subject: Re: Jenkins build is back to normal : Pivot-maintenance on Java 8 #1120
>
> Hi Roger,
> I dropped the build on Java 7 only because on 2.0.x the minimum required Java version is 6, and the current one is Java 8, and Java 7 is after End-of-Life so I think is no more relevant (even because if some code compiles with Java 6 and with Java 8 usually if works even with Java 7) ...
>
> Anyway if needed we can restore is (or better, define it from scratch in Jenkins).
>
> Bye,
> Sandro
>
>
> 2017-05-17 16:59 GMT+02:00 Roger and Beth Whitcomb
> <[hidden email]>:
>> So, the "maintenance" branch (2.0.x) still only requires Java 1.6, so
>> why are we only building with Java 8?  I would think we should be
>> building with Java 1.6, so we know that it works at the lowest common
>> denominator still.....  Is that possible?  Does the Jenkins machine
>> have access to Java
>> 1.6 JDK?  If not, then I think we should be building/testing "maintenance"
>> with 1.7, since that is the most likely "lowest common denominator"
>> actively being used at this point....
>>
>> Actually, I would think we should be doing "maintenance" builds with
>> all
>> three:  1.6, 1.7 and 1.8, just to check to make sure it works with any
>> Java version that Pivot 2.0.x will accept....  For "trunk" we could
>> just have 1.8 builds, since that is what we are targeting at this point.
>>
>> Thoughts?  Is this possible?
>>
>> Thanks,
>> ~Roger
>>
>>
>> On 5/16/17 4:09 PM, Sandro Martini wrote:
>>>
>>> Hi Roger,
>>> I changed the maintenance build from using Java 7 to Java 8 mainly
>>> because JRE 7 should not occurs any more now (instead of creating by
>>> scratch a new Jenkins job) ... if needed I can take a look.
>>>
>>> On trunk I agree that a build on Java 7 is no more needed, at least I
>>> could disable it.
>>>
>>> Bye
>>>
>>> Il 15/Mag/2017 23:35, "Roger and Beth Whitcomb"
>>> <[hidden email]>
>>> ha scritto:
>>>
>>> Why do we no longer have a "Pivot-maintenance on Java 7" build? And
>>> why are we building "trunk" on Java 7 anymore?  Maybe we got the two
>>> confused?
>>>
>>>
>>> On 5/15/17 1:09 PM, Apache Jenkins Server wrote:
>>>
>>>> See <https://builds.apache.org/job/Pivot-maintenance%20on%20Java
>>>> %208/1120/display/redirect>
>>>>
>>>>
>>>>
>>>>
>>
>
Loading...