[RELENG-54] maven-dependency-plugin:2.8:tree failed. NullPointerException Created: 17/May/17  Updated: 28/Feb/18  Resolved: 28/Feb/18

Status: Resolved
Project: releng
Component/s: Autorelease
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Michael Vorburger Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8483

 Description   

I've just hit another NPE in maven-dependency-plugin:2.8:tree, this happens fairly regularly to me (every couple of days, not once once a month), and we should try to do something about this ... to manually have to "recheck" every time it hits this gets a bit tiring:

https://git.opendaylight.org/gerrit/#/c/56809/

https://jenkins.opendaylight.org/releng/job/infrautils-validate-autorelease-nitrogen/50/consoleFull

00:03:17 [infrautils-validate-autorelease-nitrogen] $ /w/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9/bin/mvn -f validate-pom.xml -s /tmp/settings668793145485249097.xml -gs /tmp/global-settings3696713681809060235.xml -DGERRIT_BRANCH=master -DGERRIT_PATCHSET_REVISION=8442470af26b1815acc2b325dacd1a874fe30b2f -DGERRIT_HOST=git.opendaylight.org -DGERRIT_CHANGE_OWNER_EMAIL=vorburger@redhat.com "-DGERRIT_EVENT_ACCOUNT_NAME=Michael Vorburger" -DGERRIT_CHANGE_URL=https://git.opendaylight.org/gerrit/56809 -DGERRIT_PATCHSET_UPLOADER_EMAIL=vorburger@redhat.com "-DARCHIVE_ARTIFACTS= **/target/surefire-reports/*-output.txt **/hs_err_*.log **/target/feature/feature.xml **/*.hprof
00:03:17 " -DGERRIT_EVENT_TYPE=patchset-created -DSTACK_NAME=$SILO-$JOB_NAME-$BUILD_NUMBER -DGERRIT_PROJECT=infrautils -DRELEASE_BRANCH=master -DGERRIT_CHANGE_NUMBER=56809 -DGERRIT_SCHEME=ssh '-DGERRIT_PATCHSET_UPLOADER=\"Michael Vorburger\" <vorburger@redhat.com>' -DGERRIT_PORT=29418 -DGERRIT_REFSPEC=refs/changes/09/56809/5 "-DGERRIT_PATCHSET_UPLOADER_NAME=Michael Vorburger" '-DGERRIT_CHANGE_OWNER=\"Michael Vorburger\" <vorburger@redhat.com>' -DPROJECT=infrautils -DGERRIT_CHANGE_COMMIT_MESSAGE=QnVnIDg0MTU6IFJlYWR5IHNlcnZpY2UgaW50ZWdyYXRpb24gdGVzdCAoSVQpLCBmb3IgS2FyYWYgNAoKVGhpcyBjaGFuZ2UgaGFzIGFuIElUIHBhc3NpbmcgZm9yIEthcmFmIDQgKHRvIGNvbmZpcm0gdGhhdCB0aGUgZmVhdHVyZQphY3R1YWxseSB3b3Jrcyk7IGFub3RoZXIgY2hhbmdlIHdpbGwgZ2V0IHRoZSBzYW1lIHRvIHBhc3MgdW5kZXIgS2FyYWYgMwphcyB3ZWxsIChhbmQgdGhhdCB3aWxsLCBsaWtlbHksIHJlcXVpcmUgYSBsaXR0bGUgYml0IG1vcmUgd29yayBpbgpvZGxwYXJlbnQpLgoKQ2hhbmdlLUlkOiBJOGFkNTgwOTM5YmY1NGM2NzYwMGExZjA2YmQwNTJhZmFhNDRlNjhhMwpTaWduZWQtb2ZmLWJ5OiBNaWNoYWVsIFZvcmJ1cmdlciA8dm9yYnVyZ2VyQHJlZGhhdC5jb20+Cg== -DGERRIT_NAME=OpenDaylight -DGERRIT_TOPIC= "-DGERRIT_CHANGE_SUBJECT=INFRAUTILS-11: Ready service integration test (IT), for Karaf 4" -DOS_CLOUD=rackspace -DCLONE_URL=ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease '-DGERRIT_EVENT_ACCOUNT=\"Michael Vorburger\" <vorburger@redhat.com>' -DGERRIT_CHANGE_ID=I8ad580939bf54c67600a1f06bd052afaa44e68a3 -DGERRIT_EVENT_HASH=-2086193778 -DGERRIT_VERSION=2.12.7 -DGERRIT_EVENT_ACCOUNT_EMAIL=vorburger@redhat.com -DGERRIT_PATCHSET_NUMBER=5 -DRELEASE_TAG=validate "-DGERRIT_CHANGE_OWNER_NAME=Michael Vorburger" clean install dependency:tree -T1.5C -Pq --show-version --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
00:03:17 Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
00:03:17 Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.3.9
00:03:17 Java version: 1.8.0_121, vendor: Oracle Corporation
00:03:17 Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
00:03:17 Default locale: en_US, platform encoding: UTF-8
00:03:17 OS name: "linux", version: "3.10.0-514.10.2.el7.x86_64", arch: "amd64", family: "unix"
00:03:18 [INFO] Scanning for projects...
00:03:33 [WARNING] Failed to build parent project for org.opendaylight.odlparent:bundle-parent:pom:1.9.0-validate
00:03:33 [WARNING] Failed to build parent project for org.opendaylight.mdsal:binding-parent:pom:0.11.0-validate
00:03:33 [WARNING] Failed to build parent project for org.opendaylight.controller:config-subsystem:pom:0.7.0-validate
00:03:33 [WARNING] Failed to build parent project for org.opendaylight.controller:config-plugin-parent:pom:0.7.0-validate
00:03:33 [WARNING] Failed to build parent project for org.opendaylight.controller:yang-test-plugin:maven-plugin:0.7.0-validate
00:03:33 [INFO] ------------------------------------------------------------------------
00:03:33 [INFO] Reactor Build Order:
00:03:33 [INFO] 
00:03:33 [INFO] ODL :: odlparent :: odlparent-lite
00:03:33 [INFO] ODL :: odlparent :: checkstyle
00:03:33 [INFO] ODL :: odlparent :: findbugs
00:03:33 [INFO] ODL :: odlparent :: odl-license
00:03:33 [INFO] ODL :: odlparent :: odlparent
00:03:33 [INFO] ODL :: odlparent :: bundle-parent
00:03:33 [INFO] ODL :: odlparent :: bundles-test
00:03:33 [INFO] ODL :: odlparent :: bundles4-test
00:03:33 [INFO] ODL :: odlparent :: features-test
00:03:33 [INFO] ODL :: odlparent :: features4-test
00:03:33 [INFO] OpenDaylight :: Karaf :: Branding
00:03:33 [INFO] ODL :: odlparent :: opendaylight-karaf-resources
00:03:33 [INFO] ODL :: odlparent :: karaf-plugin
00:03:33 [INFO] ODL :: odlparent :: karaf-parent
00:03:33 [INFO] ODL :: odlparent :: opendaylight-karaf-empty
00:03:33 [INFO] ODL :: odlparent :: opendaylight-karaf4-resources
00:03:33 [INFO] ODL :: odlparent :: karaf4-plugin
00:03:33 [INFO] ODL :: odlparent :: karaf4-parent
00:03:33 [INFO] ODL :: odlparent :: opendaylight-karaf4-empty
00:03:33 [INFO] ODL :: odlparent :: karaf-aggregator
00:03:33 [INFO] ODL :: odlparent :: features-parent
00:03:33 [INFO] ODL :: odlparent :: single-feature3-parent
00:03:33 [INFO] ODL :: odlparent :: untested-single-feature-parent
00:03:33 [INFO] ODL :: odlparent :: single-feature-parent
00:03:33 [INFO] ODL :: odlparent :: feature3-repo-parent
00:03:33 [INFO] ODL :: odlparent :: feature-repo-parent
00:03:33 [INFO] Scala Runtime for OpenDaylight
00:03:33 [INFO] Akka Actor Framework System Bundles
00:03:33 [INFO] Akka Clustering
00:03:33 [INFO] LevelDB
00:03:33 [INFO] Akka Persistence
00:03:33 [INFO] OpenDaylight :: Akka :: All
00:03:33 [INFO] ODL :: odlparent :: features-akka
00:03:33 [INFO] OpenDaylight :: Netty
00:03:33 [INFO] OpenDaylight :: Guava 18
00:03:33 [INFO] OpenDaylight :: Guava 21
00:03:33 [INFO] OpenDaylight :: LMAX Disruptor
00:03:33 [INFO] OpenDaylight :: Concurrent Trie HashMap
00:03:33 [INFO] ODL :: odlparent :: features-odlparent
00:03:33 [INFO] ODL :: odlparent :: features-aggregator
00:03:33 [INFO] Scala Runtime for OpenDaylight (for Karaf 4)
00:03:33 [INFO] Akka Actor Framework System Bundles (for Karaf 4)
00:03:33 [INFO] Akka Clustering (for Karaf 4)
00:03:33 [INFO] OpenDaylight :: Guava 18 (for Karaf 4)
00:03:33 [INFO] LevelDB (for Karaf 4)
00:03:33 [INFO] Akka Persistence (for Karaf 4)
00:03:33 [INFO] OpenDaylight :: Akka :: All (for Karaf 4)
00:03:33 [INFO] ODL :: odlparent :: features4-akka
00:03:33 [INFO] ODL :: odlparent :: odl-karaf-feat-feature
00:03:33 [INFO] ODL :: odlparent :: odl-karaf-feat-jdbc
00:03:33 [INFO] ODL :: odlparent :: odl-karaf-feat-jetty
00:03:33 [INFO] ODL :: odlparent :: odl-karaf-feat-war
00:03:33 [INFO] OpenDaylight :: Netty (for Karaf 4)
00:03:33 [INFO] OpenDaylight :: Guava 21 (for Karaf 4)
00:03:33 [INFO] OpenDaylight :: LMAX Disruptor (for Karaf 4)
00:03:33 [INFO] OpenDaylight :: Concurrent Trie HashMap (for Karaf 4)
00:03:33 [INFO] ODL :: odlparent :: features4-odlparent
00:03:33 [INFO] ODL :: odlparent :: features4-aggregator
00:03:33 [INFO] ODL :: odlparent :: odlparent-artifacts
00:03:33 [INFO] odlparent
00:03:33 [INFO] yangtools-artifacts
00:03:33 [INFO] checkstyle-logging
00:03:33 [INFO] concepts
00:03:33 [INFO] mockito-configuration
00:03:33 [INFO] object-cache-api
00:03:33 [INFO] object-cache-guava
00:03:33 [INFO] object-cache-noop
00:03:33 [INFO] util
00:03:33 [INFO] testutils
00:03:33 [INFO] common-aggregator
00:03:33 [INFO] yang-common
00:03:33 [INFO] yang-model-api
00:03:33 [INFO] yang-data-api
00:03:33 [INFO] yang-model-util
00:03:33 [INFO] yang-data-util
00:03:33 [INFO] yang-parser-api
00:03:33 [INFO] yang-parser-impl
00:03:33 [INFO] yang-test-util
00:03:33 [INFO] yang-data-impl
00:03:33 [INFO] yang-data-codec-xml
00:03:33 [INFO] yang-data-codec-gson
00:03:33 [INFO] triemap
00:03:33 [INFO] features-yangtools
00:03:33 [INFO] OpenDaylight :: Yangtools :: Common
00:03:33 [INFO] OpenDaylight :: Yangtools :: YANG Parser
00:03:33 [INFO] OpenDaylight :: Yangtools :: Data Binding
00:03:33 [INFO] features4-yangtools
00:03:33 [INFO] features
00:03:33 [INFO] websocket-client
00:03:33 [INFO] websocket-aggregator
00:03:33 [INFO] yang-data-transform
00:03:33 [INFO] yang-maven-plugin-spi
00:03:33 [INFO] yang-maven-plugin
00:03:33 [INFO] yang-maven-plugin-it
00:03:33 [INFO] yang-model-export
00:03:33 [INFO] yang-model-immutable
00:03:33 [INFO] yang-data-jaxen
00:03:33 [INFO] yang-system-test
00:03:33 [INFO] yang-aggregator
00:03:33 [INFO] yang-validation-tool
00:03:33 [INFO] third-party-aggregator
00:03:33 [INFO] yangtools
00:03:33 [INFO] config-artifacts
00:03:33 [INFO] yang-test-plugin
00:03:33 [INFO] mdsal-artifacts
00:03:33 [INFO] mdsal-artifacts
00:03:33 [INFO] mdsal-model-artifacts
00:03:33 [INFO] autorelease-validate-projects
00:03:34 [INFO] 
00:03:34 [INFO] Using the MultiThreadedBuilder implementation with a thread count of 3
00:03:34 [INFO]                                                                         
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO] Building ODL :: odlparent :: odlparent-lite 1.9.0-validate
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO]                                                                         
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO] Building config-artifacts 0.7.0-validate
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO] 
00:03:34 [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ odlparent-lite ---
00:03:34 [INFO]                                                                         
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO] Building autorelease-validate-projects 1.1.0-SNAPSHOT
00:03:34 [INFO] ------------------------------------------------------------------------
00:03:34 [INFO] 
00:03:34 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ odlparent-lite ---
00:03:34 [INFO] 
00:03:34 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ autorelease-validate-projects ---
00:03:34 [INFO] Deleting /w/workspace/infrautils-validate-autorelease-nitrogen/target
00:03:34 [INFO] 
00:03:34 [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ autorelease-validate-projects ---
00:03:35 [INFO] 
00:03:35 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ config-artifacts ---
00:03:35 [INFO] 
00:03:35 [INFO] --- maven-install-plugin:2.4:install (default-install) @ config-artifacts ---
00:03:35 [INFO] Skipping Rule Enforcement.
00:03:35 [INFO] 
00:03:35 [INFO] --- git-commit-id-plugin:2.2.1:revision (get-git-infos) @ odlparent-lite ---
00:03:36 [INFO] 
00:03:36 [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ odlparent-lite ---
00:03:37 [INFO] Installing /w/workspace/infrautils-validate-autorelease-nitrogen/odlparent/odlparent-lite/pom.xml to /tmp/r/org/opendaylight/odlparent/odlparent-lite/1.9.0-validate/odlparent-lite-1.9.0-validate.pom
00:03:37 [INFO] 
00:03:37 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ odlparent-lite ---
00:03:37 [INFO] Skipping artifact installation
00:03:37 [INFO] 
00:03:37 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ autorelease-validate-projects ---
00:03:37 [INFO] Installing /w/workspace/infrautils-validate-autorelease-nitrogen/controller/opendaylight/config/config-artifacts/pom.xml to /tmp/r/org/opendaylight/controller/config-artifacts/0.7.0-validate/config-artifacts-0.7.0-validate.pom
00:03:37 [INFO] 
00:03:37 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ config-artifacts ---
00:03:39 [INFO] ------------------------------------------------------------------------
00:03:39 [INFO] Reactor Summary:
00:03:39 [INFO] 
00:03:39 [INFO] ODL :: odlparent :: odlparent-lite ................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: checkstyle ..................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: findbugs ....................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odl-license .................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odlparent ...................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: bundle-parent .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: bundles-test ................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: bundles4-test .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features-test .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features4-test ................. SKIPPED
00:03:39 [INFO] OpenDaylight :: Karaf :: Branding .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: opendaylight-karaf-resources ... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: karaf-plugin ................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: karaf-parent ................... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: opendaylight-karaf-empty ....... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: opendaylight-karaf4-resources .. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: karaf4-plugin .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: karaf4-parent .................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: opendaylight-karaf4-empty ...... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: karaf-aggregator ............... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features-parent ................ SKIPPED
00:03:39 [INFO] ODL :: odlparent :: single-feature3-parent ......... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: untested-single-feature-parent . SKIPPED
00:03:39 [INFO] ODL :: odlparent :: single-feature-parent .......... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: feature3-repo-parent ........... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: feature-repo-parent ............ SKIPPED
00:03:39 [INFO] Scala Runtime for OpenDaylight ..................... SKIPPED
00:03:39 [INFO] Akka Actor Framework System Bundles ................ SKIPPED
00:03:39 [INFO] Akka Clustering .................................... SKIPPED
00:03:39 [INFO] LevelDB ............................................ SKIPPED
00:03:39 [INFO] Akka Persistence ................................... SKIPPED
00:03:39 [INFO] OpenDaylight :: Akka :: All ........................ SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features-akka .................. SKIPPED
00:03:39 [INFO] OpenDaylight :: Netty .............................. SKIPPED
00:03:39 [INFO] OpenDaylight :: Guava 18 ........................... SKIPPED
00:03:39 [INFO] OpenDaylight :: Guava 21 ........................... SKIPPED
00:03:39 [INFO] OpenDaylight :: LMAX Disruptor ..................... SKIPPED
00:03:39 [INFO] OpenDaylight :: Concurrent Trie HashMap ............ SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features-odlparent ............. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features-aggregator ............ SKIPPED
00:03:39 [INFO] Scala Runtime for OpenDaylight (for Karaf 4) ....... SKIPPED
00:03:39 [INFO] Akka Actor Framework System Bundles (for Karaf 4) .. SKIPPED
00:03:39 [INFO] Akka Clustering (for Karaf 4) ...................... SKIPPED
00:03:39 [INFO] OpenDaylight :: Guava 18 (for Karaf 4) ............. SKIPPED
00:03:39 [INFO] LevelDB (for Karaf 4) .............................. SKIPPED
00:03:39 [INFO] Akka Persistence (for Karaf 4) ..................... SKIPPED
00:03:39 [INFO] OpenDaylight :: Akka :: All (for Karaf 4) .......... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features4-akka ................. SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odl-karaf-feat-feature ......... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odl-karaf-feat-jdbc ............ SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odl-karaf-feat-jetty ........... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odl-karaf-feat-war ............. SKIPPED
00:03:39 [INFO] OpenDaylight :: Netty (for Karaf 4) ................ SKIPPED
00:03:39 [INFO] OpenDaylight :: Guava 21 (for Karaf 4) ............. SKIPPED
00:03:39 [INFO] OpenDaylight :: LMAX Disruptor (for Karaf 4) ....... SKIPPED
00:03:39 [INFO] OpenDaylight :: Concurrent Trie HashMap (for Karaf 4) SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features4-odlparent ............ SKIPPED
00:03:39 [INFO] ODL :: odlparent :: features4-aggregator ........... SKIPPED
00:03:39 [INFO] ODL :: odlparent :: odlparent-artifacts ............ SKIPPED
00:03:39 [INFO] odlparent .......................................... SKIPPED
00:03:39 [INFO] yangtools-artifacts ................................ SKIPPED
00:03:39 [INFO] checkstyle-logging ................................. SKIPPED
00:03:39 [INFO] concepts ........................................... SKIPPED
00:03:39 [INFO] mockito-configuration .............................. SKIPPED
00:03:39 [INFO] object-cache-api ................................... SKIPPED
00:03:39 [INFO] object-cache-guava ................................. SKIPPED
00:03:39 [INFO] object-cache-noop .................................. SKIPPED
00:03:39 [INFO] util ............................................... SKIPPED
00:03:39 [INFO] testutils .......................................... SKIPPED
00:03:39 [INFO] common-aggregator .................................. SKIPPED
00:03:39 [INFO] yang-common ........................................ SKIPPED
00:03:39 [INFO] yang-model-api ..................................... SKIPPED
00:03:39 [INFO] yang-data-api ...................................... SKIPPED
00:03:39 [INFO] yang-model-util .................................... SKIPPED
00:03:39 [INFO] yang-data-util ..................................... SKIPPED
00:03:39 [INFO] yang-parser-api .................................... SKIPPED
00:03:39 [INFO] yang-parser-impl ................................... SKIPPED
00:03:39 [INFO] yang-test-util ..................................... SKIPPED
00:03:39 [INFO] yang-data-impl ..................................... SKIPPED
00:03:39 [INFO] yang-data-codec-xml ................................ SKIPPED
00:03:39 [INFO] yang-data-codec-gson ............................... SKIPPED
00:03:39 [INFO] triemap ............................................ SKIPPED
00:03:39 [INFO] features-yangtools ................................. SKIPPED
00:03:39 [INFO] OpenDaylight :: Yangtools :: Common ................ SKIPPED
00:03:39 [INFO] OpenDaylight :: Yangtools :: YANG Parser ........... SKIPPED
00:03:39 [INFO] OpenDaylight :: Yangtools :: Data Binding .......... SKIPPED
00:03:39 [INFO] features4-yangtools ................................ SKIPPED
00:03:39 [INFO] features ........................................... SKIPPED
00:03:39 [INFO] websocket-client ................................... SKIPPED
00:03:39 [INFO] websocket-aggregator ............................... SKIPPED
00:03:39 [INFO] yang-data-transform ................................ SKIPPED
00:03:39 [INFO] yang-maven-plugin-spi .............................. SKIPPED
00:03:39 [INFO] yang-maven-plugin .................................. SKIPPED
00:03:39 [INFO] yang-maven-plugin-it ............................... SKIPPED
00:03:39 [INFO] yang-model-export .................................. SKIPPED
00:03:39 [INFO] yang-model-immutable ............................... SKIPPED
00:03:39 [INFO] yang-data-jaxen .................................... SKIPPED
00:03:39 [INFO] yang-system-test ................................... SKIPPED
00:03:39 [INFO] yang-aggregator .................................... SKIPPED
00:03:39 [INFO] yang-validation-tool ............................... SKIPPED
00:03:39 [INFO] third-party-aggregator ............................. SKIPPED
00:03:39 [INFO] yangtools .......................................... SKIPPED
00:03:39 [INFO] config-artifacts ................................... FAILURE [  5.177 s]
00:03:39 [INFO] yang-test-plugin ................................... SKIPPED
00:03:39 [INFO] mdsal-artifacts .................................... SKIPPED
00:03:39 [INFO] mdsal-artifacts .................................... SKIPPED
00:03:39 [INFO] mdsal-model-artifacts .............................. SKIPPED
00:03:39 [INFO] autorelease-validate-projects ...................... FAILURE [  5.169 s]
00:03:39 [INFO] ------------------------------------------------------------------------
00:03:39 [INFO] BUILD FAILURE
00:03:39 [INFO] ------------------------------------------------------------------------
00:03:39 [INFO] Total time: 20.559 s (Wall Clock)
00:03:39 [INFO] Finished at: 2017-05-17T00:03:39+00:00
00:03:39 [INFO] org.opendaylight.odlparent:odlparent-lite:pom:1.9.0-validate
00:03:39 [INFO] Final Memory: 88M/514M
00:03:39 [INFO] ------------------------------------------------------------------------
00:03:39 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:tree (default-cli) on project config-artifacts: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:2.8:tree failed. NullPointerException -> [Help 1]
00:03:39 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:tree (default-cli) on project autorelease-validate-projects: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:2.8:tree failed. NullPointerException -> [Help 1]
00:03:39 [ERROR]


 Comments   
Comment by Michael Vorburger [ 17/May/17 ]

https://issues.apache.org/jira/browse/MDEP-484 has something that looks similar, but closed as can't reproduce.

NB above shows maven-dependency-plugin:2.8, whereas on https://maven.apache.org/plugins/maven-dependency-plugin/ there is a 3.0.1 ...

odlparent seems to use 2.10 for unpack-license, but this has nothing to do with that (autorelease's validate-pom.xml does not use odlparent)

I've just looked at https://git.opendaylight.org/gerrit/gitweb?p=releng/autorelease.git;a=blob;f=validate-pom.xml;hb=HEAD, but currently can't see a maven-dependency-plugin tree in there ..

That's because the "dependency:tree" goal is specified on the CLI right after "clean install" in the middle of the long arguments list seen above - and so Maven picks a default version? (It appears that without a <plugins> or <pluginManagement>, the version of plugins is fixed in the Maven distribution itself; with my local mvn 3.5.0 it was 2.10; with the 3.3.9 it's 2.8, by default...)

I've tried to make it use latest 3.0.1 instead of 2.8 in https://git.opendaylight.org/gerrit/#/c/57251/, hoping this NPE is fixed there, by fixing it in autorelease's validate-pom.xml, but that does not seem to be enough - the version of maven-dependency-plugin changes between projects... so we probably should fix it in odlparent as well?

PS: And if this NPE still happens with 3.0.1, maybe we could run with -X .. but that will blow up the log.. so perhaps do the "clean install" without -X and then another mvn with just the dependency:tree with -X ?? Where is the launch script which contains this mvn CLI command?

Comment by Michael Vorburger [ 17/May/17 ]

> I've tried to make it use latest 3.0.1 instead of 2.8 in
> https://git.opendaylight.org/gerrit/#/c/57251/,
> hoping this NPE is fixed there, by fixing it in autorelease's validate-pom.xml,
> but that does not seem to be enough - the version of maven-dependency-plugin
> changes between projects... so we probably should fix it in odlparent as well?

Even with https://git.opendaylight.org/gerrit/#/c/57253/ (which is probably a good idea to do nevertheless..) the version of maven-dependency-plugin in autorelease -f validate-pom.xml is still 2.10 for some projects (but 3.0.1 for others; I don't fully understand how mvn determines this).

However if we could just do this on the CLI, then it's fixed and all are on 3.0.1 (I've tested this together with c/57251 & c/57253, which should go in as well):

mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.1:tree -f validate-pom.xml

Where is the mvn command used in the job that failed above defined? I've tried to grep (findx.sh) for "tree" in releng-builder, and I'm getting a number of hits in files such as ./jjb/releng-templates-java.yaml and a number of others - do I just change all those? (I'm less familiar with releng-builder.)

Comment by Michael Vorburger [ 17/May/17 ]

> grep (findx.sh) for "tree" in releng-builder

https://git.opendaylight.org/gerrit/#/c/57292/

Comment by Thanh Ha (zxiiro) [ 17/May/17 ]

(In reply to Michael Vorburger from comment #3)
> > grep (findx.sh) for "tree" in releng-builder
>
> https://git.opendaylight.org/gerrit/#/c/57292/

I had thought the default command dependency:tree should always pull in the latest. We should probably test each job type though to make sure it doesn't break the builds when we merge.

Comment by Thanh Ha (zxiiro) [ 27/Feb/18 ]

vorburger is this something we're still tracking or should we close this Jira?

Comment by Michael Vorburger [ 27/Feb/18 ]

One thing I'm not clear about anymore upon re-reading the earlier comments above is if this only ever hit us with the old maven-dependency-plugin v2.8, then I'm guessing it should be easy for anyone to upgrade everything to using the latest 3.0.1 / 3.0.2 (latest now). If it's still seen with 3.0.1, then it's more interesting... if we can get the stack trace of the NPE with a mvn -X, I guess we could contribute what is needed to maven-dependency-plugin - but we would have to know the exact stack trace to see where inside maven-dependency-plugin it's hitting that NPE.

 

zxiiro this problem hasn't bit me in a while - have you seen it in recent months? It wasn't on top of my pile of things to look into, so I don't mind if you close it, for now - we can re-open if it's seen again?

Comment by Thanh Ha (zxiiro) [ 28/Feb/18 ]

I haven't heard reports of this issue in over 6 months so probably no longer an issue. Let's close it. Folks can report again if it comes up again.

Generated at Wed Feb 07 20:37:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.