ihmcrobotics / ihmc-build

Composite build and IDE classpath seperation support for JVM Gradle projects.
Apache License 2.0
5 stars 4 forks source link

Start forcing child CI plans to use their parents artifacts, rather than a "best effort" approach #26

Closed calvertdw closed 6 years ago

calvertdw commented 7 years ago

Currently, if a parent plan's artifact is not found, the build plugin will try it's best to get the next latest.

This is actually really bad, and hides errors in both the infrastructure and the code.

https://bamboo.ihmc.us/download/LIBS-ATLASUSERINTERFACE-ATLASUSERINTERFACE/build_logs/LIBS-ATLASUSERINTERFACE-ATLASUSERINTERFACE-134.log

build   31-Oct-2017 17:17:59    Evaluating root project 'atlas-user-interface' using build file '/root/bamboo-agent-home/xml-data/build-dir/LIBS-ATLASUSERINTERFACE-ATLASUSERINTERFACE/atlas-user-interface/build.gradle'.
build   31-Oct-2017 17:17:59    [ihmc-build] Please set bintray_user and bintray_key in /path/to/user/.gradle/gradle.properties.
build   31-Oct-2017 17:17:59    [ihmc-build] No value found for bintray_user. Using default value: unset_user
build   31-Oct-2017 17:17:59    [ihmc-build] Please set bintray_user and bintray_key in /path/to/user/.gradle/gradle.properties.
build   31-Oct-2017 17:17:59    [ihmc-build] No value found for bintray_key. Using default value: unset_api_key
build   31-Oct-2017 17:17:59    [ihmc-build] Global build number for LIBS-IHMCOPENROBOTICSSOFTWARE-633: 3391
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64:4.4
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: us.ihmc:euclid-core:0.4.6
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-yovariables:0.2.4
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: org.apache.commons:commons-lang3:3.4
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: com.martiansoftware:jsap:2.1
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-java-toolkit:SNAPSHOT-3391
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-java-extensions:SNAPSHOT-3391
build   31-Oct-2017 17:17:59    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-commons:0.11.2
build   31-Oct-2017 17:18:00    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-robotics-toolkit:SNAPSHOT-3391
build   31-Oct-2017 17:18:00    [ihmc-build] Passing version to Gradle: us.ihmc:simulation-construction-set:SNAPSHOT-3391
build   31-Oct-2017 17:18:00    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-robot-data-logger:SNAPSHOT-3391
build   31-Oct-2017 17:18:00    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-avatar-interfaces:SNAPSHOT-3391
build   31-Oct-2017 17:18:01    [ihmc-build] Passing version to Gradle: us.ihmc:robotiq-hand-drivers:SNAPSHOT-3391
build   31-Oct-2017 17:18:01    [ihmc-build] Passing version to Gradle: us.ihmc:atlas:SNAPSHOT-3391
build   31-Oct-2017 17:18:01    [ihmc-build] Passing version to Gradle: us.ihmc:mission-control:SNAPSHOT-3391
build   31-Oct-2017 17:18:01    [ihmc-build] Hitting Artifactory for POM: us/ihmc/atlas-hardware-drivers/SNAPSHOT-3388/atlas-hardware-drivers-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-communication/SNAPSHOT-3388/ihmc-communication-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robotics-toolkit/SNAPSHOT-3388/ihmc-robotics-toolkit-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-extensions/SNAPSHOT-3388/ihmc-java-extensions-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-toolkit/SNAPSHOT-3388/ihmc-java-toolkit-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-graphics-description/SNAPSHOT-3388/ihmc-graphics-description-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:03    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-humanoid-robotics/SNAPSHOT-3388/ihmc-humanoid-robotics-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robot-models/SNAPSHOT-3388/ihmc-robot-models-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robot-description/SNAPSHOT-3388/ihmc-robot-description-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-geometry/SNAPSHOT-3388/ihmc-geometry-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-sensor-processing/SNAPSHOT-3388/ihmc-sensor-processing-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-kalman-project/SNAPSHOT-3388/ihmc-kalman-project-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-footstep-planning/SNAPSHOT-3388/ihmc-footstep-planning-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-convex-optimization-adapter/SNAPSHOT-3388/ihmc-convex-optimization-adapter-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:04    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-path-planning/SNAPSHOT-3381/ihmc-path-planning-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-extensions/SNAPSHOT-3381/ihmc-java-extensions-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-javafx-toolkit/SNAPSHOT-3379/ihmc-javafx-toolkit-SNAPSHOT-3379.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-graphics-description/SNAPSHOT-3379/ihmc-graphics-description-SNAPSHOT-3379.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-extensions/SNAPSHOT-3379/ihmc-java-extensions-SNAPSHOT-3379.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robotics-toolkit/SNAPSHOT-3379/ihmc-robotics-toolkit-SNAPSHOT-3379.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-toolkit/SNAPSHOT-3379/ihmc-java-toolkit-SNAPSHOT-3379.pom
build   31-Oct-2017 17:18:05    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-avatar-interfaces/SNAPSHOT-3388/ihmc-avatar-interfaces-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/robot-environment-awareness/SNAPSHOT-3385/robot-environment-awareness-SNAPSHOT-3385.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-communication/SNAPSHOT-3381/ihmc-communication-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robotics-toolkit/SNAPSHOT-3381/ihmc-robotics-toolkit-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-java-toolkit/SNAPSHOT-3381/ihmc-java-toolkit-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-graphics-description/SNAPSHOT-3381/ihmc-graphics-description-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-javafx-toolkit/SNAPSHOT-3381/ihmc-javafx-toolkit-SNAPSHOT-3381.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-ros-tools/SNAPSHOT-3388/ihmc-ros-tools-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-common-walking-control-modules/SNAPSHOT-3388/ihmc-common-walking-control-modules-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-jmonkey-engine-toolkit/SNAPSHOT-3388/ihmc-jmonkey-engine-toolkit-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robot-data-logger/SNAPSHOT-3388/ihmc-robot-data-logger-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-model-file-loader/SNAPSHOT-3388/ihmc-model-file-loader-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-javafx-toolkit/SNAPSHOT-3388/ihmc-javafx-toolkit-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/simulation-construction-set/SNAPSHOT-3388/simulation-construction-set-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-parameter-optimization/SNAPSHOT-3388/ihmc-parameter-optimization-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-swing-plotting/SNAPSHOT-3388/ihmc-swing-plotting-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-humanoid-behaviors/SNAPSHOT-3388/ihmc-humanoid-behaviors-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-manipulation-planning/SNAPSHOT-3388/ihmc-manipulation-planning-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-whole-body-controller/SNAPSHOT-3388/ihmc-whole-body-controller-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/simulation-construction-set-tools/SNAPSHOT-3388/simulation-construction-set-tools-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-perception/SNAPSHOT-3388/ihmc-perception-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-state-estimation/SNAPSHOT-3388/ihmc-state-estimation-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robot-behaviors/SNAPSHOT-3388/ihmc-robot-behaviors-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-mocap/SNAPSHOT-3388/ihmc-mocap-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:07    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-simulation-toolkit/SNAPSHOT-3388/ihmc-simulation-toolkit-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-quadruped-robotics/SNAPSHOT-3388/ihmc-quadruped-robotics-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-robot-data-visualizer/SNAPSHOT-3388/ihmc-robot-data-visualizer-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Hitting Artifactory for POM: us/ihmc/atlas/SNAPSHOT-3388/atlas-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Hitting Artifactory for POM: us/ihmc/robotiq-hand-drivers/SNAPSHOT-3388/robotiq-hand-drivers-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Hitting Artifactory for POM: us/ihmc/ihmc-system-identification/SNAPSHOT-3388/ihmc-system-identification-SNAPSHOT-3388.pom
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:atlas-hardware-drivers:SNAPSHOT-3388
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-simulation-toolkit:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-graphics-description:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-kinematics-momentum-based-walking:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-humanoid-operator-interface:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:impulse-series-4-controller:0.1.0
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-ci-core-api:0.16.8
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-humanoid-operator-interface:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-humanoid-operator-interface-test:SNAPSHOT-3391
build   31-Oct-2017 17:18:08    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-robotics-toolkit-test:SNAPSHOT-3391
build   31-Oct-2017 17:18:09    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-java-extensions-test:SNAPSHOT-3391
build   31-Oct-2017 17:18:09    [ihmc-build] Passing version to Gradle: us.ihmc:simulation-construction-set-tools:SNAPSHOT-3391
build   31-Oct-2017 17:18:09    [ihmc-build] Passing version to Gradle: us.ihmc:ihmc-commons-testing:0.11.2
build   31-Oct-2017 17:18:09    Evaluating project ':atlas-user-interface-test' using build file '/root/bamboo-agent-home/xml-data/build-dir/LIBS-ATLASUSERINTERFACE-ATLASUSERINTERFACE/atlas-user-interface/src/test/build.gradle'.
build   31-Oct-2017 17:18:09    All projects evaluated.
calvertdw commented 6 years ago

This was potentially an artifact of branch builds. If a branch is made on only one repository, do it's dependents get tested? Maybe putting the branch name in the version is a bad idea altogether. Maybe just put the branch in the POM.

calvertdw commented 6 years ago

This is fixed.