recent trove master CI failures in publish-checkbuild
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
High
|
Brian Hunter | ||
Icehouse |
Fix Released
|
High
|
Ihar Hrachyshka | ||
Juno |
Fix Released
|
High
|
Ihar Hrachyshka |
Bug Description
For about 1 week, all trove/master reviews have been failing with Zuul failing the gate-trove-
Some facts that are known:
- this fails on both HP and rackspace builder nodes.
- this works on a developer's machine, but fails in the CI environment
- The logs suggest 301 redirect.
- the logging, and the file system, show a bogus .jar file of some 184 bytes. This results in "not a zipfile" messages
- Using wget --verbose, we can see a redirect being followed.
- when we look at the redirect, we see it's redirecting http->https.
Denis Makogon took this issue to #openstack-infra last week, and credit goes to him for digging into the issue.
The following comments helped me close the loop on this.
...
fungi> denis_makogon: looking on logstash.o.o for message:"Caused by: java.io.
...
<clarkb> fungi: denis_makogon looking at that log again and running wget locally I think maven is hitting a 301 and not following it
<clarkb> fungi: denis_makogon: so I think our options are point at the actual destination or make maven smarter
The proposed fix is to "point to the actual destination" which are https urls.
Changed in trove: | |
assignee: | nobody → Brian Hunter (bhunter) |
Changed in trove: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in trove: | |
status: | Confirmed → In Progress |
Changed in trove: | |
milestone: | none → kilo-2 |
Changed in trove: | |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-icehouse in-stable-juno |
Changed in trove: | |
milestone: | kilo-2 → 2015.1.0 |
Reviewed: https:/ /review. openstack. org/148728 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=386ddc22680 e8e9be3a3424106 7b0e34a192ebea
Committed: https:/
Submitter: Jenkins
Branch: master
commit 386ddc22680e8e9 be3a34241067b0e 34a192ebea
Author: Brian Hunter <email address hidden>
Date: Tue Jan 20 16:29:42 2015 -0500
Fix trove-tox- doc-publish- checkbuild failures
The owners of maven.research. rackspacecloud. com/ seem to have introduced
a 301 redirect permanent from http -> https URLs on around Jan 10th.
This has broken the master/trove check builds since that time.
Maven, when running in the infrastructure CI environment, fails to
follow these redirects.
This code change simply refers to the maven software repositories using
https URLs.
Local testing of this change against Tesora's downstream CI found that .m2/repository/ com/rackspace/ cloud/api/ wadl-tools/ 1.0.9 1.0.9.jar
it may be necessary to purge the broken/cached file from the bare-trusty
CI build machines ala:
rm /home/jenkins/
(continued..) /wadl-tools-
Closes-Bug: #1412949
Change-Id: I2dece05c74ad18 a96fa05791e368f f7283a5e4e5