[CONTROLLER-150] Cannot build controller from source post-hydrogen Created: 06/Feb/14  Updated: 19/Oct/17  Resolved: 27/Feb/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: 0.4.0
Fix Version/s: None

Type: Bug
Reporter: Keith Burns Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 407

 Description   

Continually get this error in my mvn build, even if I clear out .m2 and was told to file a bug by the IRC channel. For some reason the resource directory is not coming down.

[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ sal-binding-dom-it —
[INFO]
[INFO] — maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ sal-binding-dom-it —
[INFO]
[INFO] — jacoco-maven-plugin:0.5.3.201107060350:prepare-agent (pre-test) @ sal-binding-dom-it —
[INFO] argLine set to -javaagent:/home/alagalah/.m2/repository/org/jacoco/org.jacoco.agent/0.5.3.201107060350/org.jacoco.agent-0.5.3.201107060350-runtime.jar=destfile=/home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/jacoco.exec,includes=org.opendaylight.controller.*
[INFO]
[INFO] — build-helper-maven-plugin:1.8:add-source (add-source) @ sal-binding-dom-it —
[INFO] Source directory: /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/generated-sources/config added.
[INFO] Source directory: /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/generated-sources/sal added.
[INFO] Source directory: /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/src/main/xtend-gen added.
[INFO]
[INFO] — xtend-maven-plugin:2.4.3:compile (default) @ sal-binding-dom-it —
[INFO] skip compiling sources because the configured directory '[/home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/src/main/java, /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/generated-sources/config, /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/generated-sources/sal, /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/src/main/xtend-gen]' does not exists.
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ sal-binding-dom-it —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ sal-binding-dom-it —
[INFO] No sources to compile
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ sal-binding-dom-it —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/src/test/resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ sal-binding-dom-it —
[INFO] Compiling 11 source files to /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.15:test (default-test) @ sal-binding-dom-it —
[INFO] Surefire report directory: /home/alagalah/git/controller/opendaylight/md-sal/sal-binding-dom-it/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.opendaylight.controller.sal.binding.test.bugfix.DOMCodecBug02Test
[main] INFO org.opendaylight.controller.sal.binding.impl.RootBindingAwareBroker - Starting Binding Aware Broker: test
[main] INFO org.reflections.Reflections - Reflections took 48 ms to scan 14 urls, producing 46 keys and 46 values
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.482 sec - in org.opendaylight.controller.sal.binding.test.bugfix.DOMCodecBug02Test
Running org.opendaylight.controller.sal.binding.test.bugfix.DOMCodecBug01Test



 Comments   
Comment by Keith Burns [ 06/Feb/14 ]

git log:

commit 1fca5e05d145316de6b7b98a63765cb084eb9922
Merge: b02467e 4483e9c
Author: Andrew Kim <andrekim@cisco.com>
Date: Thu Feb 6 20:33:01 2014 +0000

Merge "Minor change to resource name regex"

commit b02467e8b6cb7950b0c8fea7105688cc49ac29aa
Merge: eff2c59 d84669c
Author: Giovanni Meo <gmeo@cisco.com>
Date: Thu Feb 6 20:23:00 2014 +0000

Merge "Fix for CONTROLLER-146: Subnet creation with NeutronAPIService sometimes fails with a 409 error"

commit 4483e9c2942a46b8aaf2c1b6a45823c1ef3204bb
Author: Alessandro Boch <aboch@cisco.com>
Date: Thu Feb 6 10:32:14 2014 -0800

Minor change to resource name regex

Change-Id: Ia087f56b7fd51406e1e81a4b1e7aaf3996f0250d
Signed-off-by: Alessandro Boch <aboch@cisco.com>

commit eff2c59fa4e670d97dc6f6c43e233b3e7628d67d
Merge: 8a054a3 9d71b49
Author: Jason Ye <yisye@cisco.com>
Date: Thu Feb 6 20:01:43 2014 +0000

Merge "The Switch Event thread is the thread that processes events coming from all switches. Right now its very fragile as an un

commit 9d71b491bb9ad8b14f6a3bea7269f879812373dd
Author: Asad Ahmed <asaahmed@cisco.com>
Date: Wed Feb 5 15:44:31 2014 -0800

The Switch Event thread is the thread that processes events coming from all switches.
Right now its very fragile as an unhandled exception can cause the thread to die causing
the controller to be unusable. Making the thread more tolerant of exceptions and making
the shutdown of the thread more deterministic.

Change-Id: I31c31f012229de8e124c0c13fa651513daaf6776
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>

commit 8a054a35267ca95e96b42c649ec4b0f5f7a6187e
Merge: 3eb3d2d 4cff32b
Author: Jason Ye <yisye@cisco.com>
Date: Wed Feb 5 20:11:38 2014 +0000

Comment by Tony Tkacik [ 27/Feb/14 ]

Hi,
Jenkins, developers are able to build controller from sources. Marking this
bug as worksforme.

Additionally,

Could you provide us with your environment information? Seems you are one of few experiencing broken build.

Generated at Wed Feb 07 19:52:19 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.