SuccessConsole Output

Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/nceas-utilities/workspace
Updating https://code.ecoinformatics.org/code/utilities/trunk at revision '2015-03-18T21:29:35.977 +0000'
U         pom.xml
At revision 179
Parsing POMs
[workspace] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.6.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-2.47.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.6.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar 55197
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/nceas-utilities/workspace/pom.xml clean install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building utilities 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ utilities ---
[INFO] Deleting file set: /var/lib/jenkins/jobs/nceas-utilities/workspace/target (included: [**], excluded: [])
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ utilities ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ utilities ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 38 source files to /var/lib/jenkins/jobs/nceas-utilities/workspace/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ utilities ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 13 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ utilities ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 7 source files to /var/lib/jenkins/jobs/nceas-utilities/workspace/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ utilities ---
[INFO] Surefire report directory: /var/lib/jenkins/jobs/nceas-utilities/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running edu.ucsb.nceas.utilities.OptionsMetadataTest
PROPERTIES FILE IS: /var/lib/jenkins/jobs/nceas-utilities/workspace/mdfile.properties.metadata
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running edu.ucsb.nceas.utilities.OrderedMapTest
constructor test
OrderedMap() object created OK...
put() test
added Key0=Value0
added Key1=Value1
added Key2=Value2
added Key3=Value3
added Key4=Value4
added Key2=new_Value2
added Key2=Value2
*EXPECTED* NullPointerException doing orderedMap.put(NULL, value)java.lang.NullPointerException: put()
* * * Argument must not be null!

testing orderedMap.keySet()...
-> Key0
-> Key1
-> Key2
-> Key3
-> Key4
-> Key5
testing orderedMap.values()...
-> Value0
-> Value1
-> Value2
-> Value3
-> Value4
-> null
Testing putAll()...
*EXPECTED* UnsupportedOperationException doing origOrderedMap.putAll(null)java.lang.UnsupportedOperationException: Map object received by putAll() must be an instance of OrderedMap - *NULL* Map received!!
*EXPECTED* UnsupportedOperationException doing origOrderedMap.putAll(new HashMap())java.lang.UnsupportedOperationException: Map object received by putAll() must be an instance of OrderedMap - received: {}
testing entrySet()...
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running edu.ucsb.nceas.utilities.XMLPropertiesTest
testLoad
testGetProperty
KEY = /properties/does_not_exist
EXPECTED = null
RETURNED = null
KEY = /properties/nodetype_definitions_filename
EXPECTED = /edu/ucsb/nceas/jalama/nodetype_defs.xml
RETURNED = /edu/ucsb/nceas/jalama/nodetype_defs.xml
KEY = /properties/jalama_gui/show_renderer_menu
EXPECTED = false
RETURNED = false
KEY = /properties/jalama_gui/xmldisplay_bg_color/red
EXPECTED = 244
RETURNED = 244
KEY = /properties/jalama_gui/xmldisplay_bg_color/green
EXPECTED = 244
RETURNED = 244
KEY = /properties/jalama_gui/xmldisplay_bg_color/blue
EXPECTED = 244
RETURNED = 244
KEY = /properties/jalama_gui/initial_xml
EXPECTED = null
RETURNED = null
KEY = /properties/new_wizard_document_xml
EXPECTED =        <eml:eml packageId="eml.1.1" system="knb" 
                xmlns:eml="eml://ecoinformatics.org/eml-2.0.0" 
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                xmlns:ds="eml://ecoinformatics.org/dataset-2.0.0" 
                xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0 eml.xsd"> 
          <dataset/> 
       </eml:eml>
RETURNED = <eml:eml packageId="eml.1.1" system="knb"
               xmlns:eml="eml://ecoinformatics.org/eml-2.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:ds="eml://ecoinformatics.org/dataset-2.0.0"
               xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0 eml.xsd">
         <dataset/>
       </eml:eml>
testSetProperty
testStore
testList
testPropertyNames
RESULT[0] = /properties/nodetype_definitions_filename[1]
RESULT[1] = /properties/generic_doctype[1]
RESULT[2] = /properties/generic_xpath[1]
RESULT[3] = /properties/jvm_registry_lib_name[1]
RESULT[4] = /properties/jalama_gui[1]/show_renderer_menu[1]
RESULT[5] = /properties/jalama_gui[1]/default_width[1]
RESULT[6] = /properties/jalama_gui[1]/default_height[1]
RESULT[7] = /properties/jalama_gui[1]/xmldisplay_bg_color[1]/red[1]
RESULT[8] = /properties/jalama_gui[1]/xmldisplay_bg_color[1]/green[1]
RESULT[9] = /properties/jalama_gui[1]/xmldisplay_bg_color[1]/blue[1]
RESULT[10] = /properties/jalama_gui[1]/xmldisplay_fg_color[1]/red[1]
RESULT[11] = /properties/jalama_gui[1]/xmldisplay_fg_color[1]/green[1]
RESULT[12] = /properties/jalama_gui[1]/xmldisplay_fg_color[1]/blue[1]
RESULT[13] = /properties/jalama_gui[1]/renderer_status_fg_color[1]/red[1]
RESULT[14] = /properties/jalama_gui[1]/renderer_status_fg_color[1]/green[1]
RESULT[15] = /properties/jalama_gui[1]/renderer_status_fg_color[1]/blue[1]
RESULT[16] = /properties/jalama_gui[1]/wizard[1]/doctype[1]
RESULT[17] = /properties/jalama_gui[1]/wizard[1]/xpath[1]
RESULT[18] = /properties/default_renderer[1]
RESULT[19] = /properties/editor_wizard[1]/width[1]
RESULT[20] = /properties/editor_wizard[1]/height[1]
RESULT[21] = /properties/editor_default[1]/width[1]
RESULT[22] = /properties/editor_default[1]/height[1]
RESULT[23] = /properties/new_wizard_document_xml[1]
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec
Running edu.ucsb.nceas.utilities.XMLUtilitiesTest
getXMLAsDOMTreeRootNode() test...
calling with valid filename...
calling with NULL filename...
OK - *expected* exception while trying to call  getXMLAsDOMTreeRootNode with NULL filename
getXMLReaderAsDOMTreeRootNode() test...
calling with NULL rootnode...
OK - *expected* exception while trying to call  getXMLReaderAsDOMTreeRootNode with NULL filename
getXMLAsDOMDocument() test...
calling with valid filename...
calling with NULL filename...
OK - *expected* exception while trying to call  getXMLAsDOMDocument with NULL filename
getXMLReaderAsDOMDocument() test...
calling with valid filename...
calling with NULL filename...
OK - *expected* exception while trying to call  getXMLAsDOMDocument with NULL filename
// set first new val ///////// = ACTUAL_ATTRIB_VALUE_1
// now get it again from doc /////////
doing assertEquals( ACTUAL_ATTRIB_VALUE_1, ACTUAL_ATTRIB_VALUE_1)
// set second new val (should overwrite first val) ///////// = ACTUAL_ATTRIB_VALUE_2
// now get it again from doc /////////
doing assertEquals( ACTUAL_ATTRIB_VALUE_2, ACTUAL_ATTRIB_VALUE_2)
OK - *expected* exception while trying to call addAttributeNodeToDOMTree with testRootNode = [acc:access: null]
 xpath = /acc:access/test_element/sub_test_element/testAttrib2
 value = ACTUAL_ATTRIB_VALUE_2
getTextNodeWithXPath() test...
getAttributeNodeWithXPath() test...
getNodeWithXPath() test...
OK - *expected* exception while trying to call  getNodeWithXPath with NULL xpath
OK - *expected* exception while trying to call  getNodeWithXPath with NULL root node
getNodeListWithXPath() test...
nodeList.getLength() returned 2
OK - *expected* exception while trying to call  getNodeListWithXPath with NULL xpath
OK - *expected* exception while trying to call  getNodeListWithXPath with NULL root node
getNodeListAsNodeArray() test...
testArray.length returned 2
removeAllChildren() test...
calling with real rootnode...
calling with NULL rootnode...
removeAllPredicates() test...
calling with xpath containing predicates...
calling with xpath containing NO predicates...
calling with xpath containing badly-formed predicates...
calling with NULL xpath...
calling with empty string xpath...
getDOMTreeAsString() test...
calling with NULL rootnode...
getDOMTreeAsReader() test...
LENGTH is: 29
calling with NULL rootnode...
print(testRootNode, printWriter) test...
print(testRootNode, printWriter, "UTF-8") test...
print(null, printWriter, "UTF-8") test...
print(testRootNode, null, "UTF-8") test...
print(testRootNode, printWriter, "") test...
print(testRootNode, printWriter, null) test...
getDOMTreeAsXPathMap() test...
getting test rootnode...
testing getDOMTreeAsXPathMap...
calling with NULL rootnode...
getXPathMapAsDOMTree() test...
getting test rootnode...
getting test xpathMap...
testing getXPathMapAsDOMTree...
calling with NULL rootnode...
calling with NULL xpathMap...
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 sec
Running edu.ucsb.nceas.utilities.LSIDUtilitiesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running edu.ucsb.nceas.utilities.FileUtilTest

******* Character encoding specification: null************************
file: src/test/resources/fileUtil/LF0.utf8.txt
    checksum from original file:    33E8A7E853D351BF0EF0B4A64EF2BEF4
    checksum from stringified file: 33E8A7E853D351BF0EF0B4A64EF2BEF4
    (file-string length = 39)
file: src/test/resources/fileUtil/LF1.utf8.txt
    checksum from original file:    6B317C298C65433E76CBC28BBB7CBD27
    checksum from stringified file: 6B317C298C65433E76CBC28BBB7CBD27
    (file-string length = 40)
file: src/test/resources/fileUtil/LF2.utf8.txt
    checksum from original file:    BB520AE7D44C153BF51FD6E877628EE0
    checksum from stringified file: BB520AE7D44C153BF51FD6E877628EE0
    (file-string length = 41)
file: src/test/resources/fileUtil/CRLF0.utf8.txt
    checksum from original file:    7C9141CACFF34BCD5E09C96A25C351B3
    checksum from stringified file: 7C9141CACFF34BCD5E09C96A25C351B3
    (file-string length = 40)
file: src/test/resources/fileUtil/CRLF1.utf8.txt
    checksum from original file:    9083D98253BC4029CD5F64E8CE01C8AF
    checksum from stringified file: 9083D98253BC4029CD5F64E8CE01C8AF
    (file-string length = 42)
file: src/test/resources/fileUtil/CRLF2.utf8.txt
    checksum from original file:    BCFCB52BC64A248BEC7F229BAF156808
    checksum from stringified file: BCFCB52BC64A248BEC7F229BAF156808
    (file-string length = 44)
file: src/test/resources/fileUtil/CR0.utf8.txt
    checksum from original file:    8A0FD5B66F4C7235D279002D3D0B21AB
    checksum from stringified file: 8A0FD5B66F4C7235D279002D3D0B21AB
    (file-string length = 39)
file: src/test/resources/fileUtil/CR1.utf8.txt
    checksum from original file:    3F7D370976B9ACF2477CCC021B9090F6
    checksum from stringified file: 3F7D370976B9ACF2477CCC021B9090F6
    (file-string length = 40)
file: src/test/resources/fileUtil/CR2.utf8.txt
    checksum from original file:    40C2021C464CDEEBA159EF86736A85CB
    checksum from stringified file: 40C2021C464CDEEBA159EF86736A85CB
    (file-string length = 41)

******* Character encoding specification: UTF-8************************
file: src/test/resources/fileUtil/LF0.utf8.txt
    checksum from original file:    33E8A7E853D351BF0EF0B4A64EF2BEF4
    checksum from stringified file: 33E8A7E853D351BF0EF0B4A64EF2BEF4
    (file-string length = 39)
file: src/test/resources/fileUtil/LF1.utf8.txt
    checksum from original file:    6B317C298C65433E76CBC28BBB7CBD27
    checksum from stringified file: 6B317C298C65433E76CBC28BBB7CBD27
    (file-string length = 40)
file: src/test/resources/fileUtil/LF2.utf8.txt
    checksum from original file:    BB520AE7D44C153BF51FD6E877628EE0
    checksum from stringified file: BB520AE7D44C153BF51FD6E877628EE0
    (file-string length = 41)
file: src/test/resources/fileUtil/CRLF0.utf8.txt
    checksum from original file:    7C9141CACFF34BCD5E09C96A25C351B3
    checksum from stringified file: 7C9141CACFF34BCD5E09C96A25C351B3
    (file-string length = 40)
file: src/test/resources/fileUtil/CRLF1.utf8.txt
    checksum from original file:    9083D98253BC4029CD5F64E8CE01C8AF
    checksum from stringified file: 9083D98253BC4029CD5F64E8CE01C8AF
    (file-string length = 42)
file: src/test/resources/fileUtil/CRLF2.utf8.txt
    checksum from original file:    BCFCB52BC64A248BEC7F229BAF156808
    checksum from stringified file: BCFCB52BC64A248BEC7F229BAF156808
    (file-string length = 44)
file: src/test/resources/fileUtil/CR0.utf8.txt
    checksum from original file:    8A0FD5B66F4C7235D279002D3D0B21AB
    checksum from stringified file: 8A0FD5B66F4C7235D279002D3D0B21AB
    (file-string length = 39)
file: src/test/resources/fileUtil/CR1.utf8.txt
    checksum from original file:    3F7D370976B9ACF2477CCC021B9090F6
    checksum from stringified file: 3F7D370976B9ACF2477CCC021B9090F6
    (file-string length = 40)
file: src/test/resources/fileUtil/CR2.utf8.txt
    checksum from original file:    40C2021C464CDEEBA159EF86736A85CB
    checksum from stringified file: 40C2021C464CDEEBA159EF86736A85CB
    (file-string length = 41)

******* Character encoding specification: UTF-16************************
file: src/test/resources/fileUtil/LF0.utf8.txt
    checksum from original file:    33E8A7E853D351BF0EF0B4A64EF2BEF4
    checksum from stringified file: A91E56C4D801FD4F2A99267B58B90D32
    (file-string length = 20)
file: src/test/resources/fileUtil/LF1.utf8.txt
    checksum from original file:    6B317C298C65433E76CBC28BBB7CBD27
    checksum from stringified file: 664C6DE9A3F9F8B50BBA9ADEEFF105C8
    (file-string length = 20)
file: src/test/resources/fileUtil/LF2.utf8.txt
    checksum from original file:    BB520AE7D44C153BF51FD6E877628EE0
    checksum from stringified file: 349DCBF465995EA9BF2E06DA404B9322
    (file-string length = 21)
file: src/test/resources/fileUtil/CRLF0.utf8.txt
    checksum from original file:    7C9141CACFF34BCD5E09C96A25C351B3
    checksum from stringified file: 206E4EC9D00EFE50EB57ED9A086E2E7D
    (file-string length = 20)
file: src/test/resources/fileUtil/CRLF1.utf8.txt
    checksum from original file:    9083D98253BC4029CD5F64E8CE01C8AF
    checksum from stringified file: E7563B71B159B9B92036988E49086A27
    (file-string length = 21)
file: src/test/resources/fileUtil/CRLF2.utf8.txt
    checksum from original file:    BCFCB52BC64A248BEC7F229BAF156808
    checksum from stringified file: E715B759DDBAE7F989EC63EE42E6507D
    (file-string length = 22)
file: src/test/resources/fileUtil/CR0.utf8.txt
    checksum from original file:    8A0FD5B66F4C7235D279002D3D0B21AB
    checksum from stringified file: 331819676C9577069459DC4C9BFD2BC6
    (file-string length = 20)
file: src/test/resources/fileUtil/CR1.utf8.txt
    checksum from original file:    3F7D370976B9ACF2477CCC021B9090F6
    checksum from stringified file: 1729A136E87D73FCFE8648D559EF47D7
    (file-string length = 20)
file: src/test/resources/fileUtil/CR2.utf8.txt
    checksum from original file:    40C2021C464CDEEBA159EF86736A85CB
    checksum from stringified file: F0F0090184A65F4FB45574ED14189A93
    (file-string length = 21)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running edu.ucsb.nceas.utilities.OptionsTest
the new retrieved value is one
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec

Results :

Tests run: 45, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ utilities ---
[INFO] Building jar: /var/lib/jenkins/jobs/nceas-utilities/workspace/target/utilities-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.3:install (default-install) @ utilities ---
[INFO] Installing /var/lib/jenkins/jobs/nceas-utilities/workspace/target/utilities-2.0.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/jobs/nceas-utilities/workspace/pom.xml to /var/lib/jenkins/.m2/repository/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-SNAPSHOT.pom
Notifying upstream projects of job completion
Join notifier requires a CauseAction
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.774s
[INFO] Finished at: Wed Mar 18 21:29:52 UTC 2015
[INFO] Final Memory: 25M/262M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/jobs/nceas-utilities/workspace/pom.xml to edu.ucsb.nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/nceas-utilities/workspace/target/utilities-2.0.0-SNAPSHOT.jar to edu.ucsb.nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-SNAPSHOT.jar
channel stopped
Maven RedeployPublisher use remote  maven settings from : /usr/share/maven/conf/settings.xml
[INFO] Deployment in file:///var/www/maven (id=,uniqueVersion=true)
Deploying the main artifact utilities-2.0.0-SNAPSHOT.jar
Downloading: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/maven-metadata.xml
Downloaded: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/maven-metadata.xml (773 B at 754.9 KB/sec)
Uploading: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-20150318.212952-7.jar
Uploaded: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-20150318.212952-7.jar (78 KB at 38656.2 KB/sec)
Uploading: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-20150318.212952-7.pom
Uploaded: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/utilities-2.0.0-20150318.212952-7.pom (3 KB at 2172.9 KB/sec)
Downloading: file:///var/www/maven/edu/ucsb/nceas/utilities/maven-metadata.xml
Downloaded: file:///var/www/maven/edu/ucsb/nceas/utilities/maven-metadata.xml (283 B at 25.1 KB/sec)
Uploading: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/maven-metadata.xml
Uploaded: file:///var/www/maven/edu/ucsb/nceas/utilities/2.0.0-SNAPSHOT/maven-metadata.xml (773 B at 754.9 KB/sec)
Uploading: file:///var/www/maven/edu/ucsb/nceas/utilities/maven-metadata.xml
Uploaded: file:///var/www/maven/edu/ucsb/nceas/utilities/maven-metadata.xml (283 B)
[INFO] Deployment done in 0.21 sec
All downstream projects complete!
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Notifying upstream build nceas-utilities #7 of job completion
[Join] Pending does not contain nceas-utilities
Triggering a new build of metacat-unstable
Triggering a new build of ecoinf-eml-datamanager
Notifying upstream projects of job completion
Finished: SUCCESS