[RELENG-125] AR notify script error message returns empty Created: 29/May/18 Updated: 10/Jun/18 Resolved: 10/Jun/18 |
|
| Status: | Closed |
| Project: | releng |
| Component/s: | Autorelease |
| Affects Version/s: | None |
| Fix Version/s: | Oxygen |
| Type: | Bug | Priority: | Low |
| Reporter: | Anil Belur | Assignee: | Anil Belur |
| Resolution: | Done | Votes: | 0 |
| Labels: | autorelease | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
AR notify script error message returns empty https://lists.opendaylight.org/pipermail/integration-dev/2018-May/011992.html |
| Comments |
| Comment by Anil Belur [ 04/Jun/18 ] |
|
shague: I did some digging on the issue, and may have narrowed down the issue. Previously, we did not have the version string (0.7.2) as a part of the ${artifactId} from the reactor summary for the previous releases. But now the version string is being appended in some of the lines in the reactor summary. INFO] ODL :: sfc :: sfc-pot-netconf-renderer 0.7.2 ....... SUCCESS [ 18.751 s] [INFO] ODL :: sfc :: odl-sfc-pot-netconf-renderer 0.7.2 ... FAILURE [05:56 min] [INFO] ODL :: sfc :: sfc-sb-rest 0.7.2 .................... SKIPPED [INFO] ODL :: sfc :: odl-sfc-sb-rest 0.7.2 ................ SKIPPED [INFO] ODL :: sfc :: sfc-classifiers 0.7.2 ................ SKIPPED [INFO] ODL :: sfc :: sfc-scf-openflow 0.7.2 ............... SKIPPED [INFO] ODL :: sfc :: odl-sfc-scf-openflow 0.7.2 ........... SKIPPED [INFO] ODL :: sfc :: sfc-vpp-utils 0.7.2 .................. SKIPPED Below cmd does not match the artifactId because of the version string included: + sed -e '/\[INFO\] Building \(odl-sfc-pot-netconf-renderer 072 \|odl-sfc-pot-netconf-renderer \|ODL :: sfc :: odl-sfc-pot-netconf-renderer 072 \)/,/Reactor Summary:/!d;//d' /tmp/autorelease-build-oxygen-305.log Below cmd matches the artiactId obtained, which was working earlier: + sed -e '/\[INFO\] Building \(odl-sfc-pot-netconf-renderer \|odl-sfc-pot-netconf-renderer \|ODL :: sfc :: odl-sfc-pot-netconf-renderer \)/,/Reactor Summary:/!d;//d' /tmp/autorelease-build-oxygen-305.log This script is complex and any changes to pom files potentially require updating the scripts. Need to figure out a way to accommodate this in the scripts. |
| Comment by Sam Hague [ 05/Jun/18 ] |
|
Can't we just eat the version - put a 0 to any wildcard there? |
| Comment by Anil Belur [ 05/Jun/18 ] |
|
shague I have a fix for the this am presently testing this change here. Will submit the change once the build is done. https://jenkins.opendaylight.org/sandbox/job/autorelease-release-fluorine/1/ |
| Comment by Thanh Ha (zxiiro) [ 05/Jun/18 ] |
|
askb I think it would be faster to reproduce by replaying the known failed log rather than hoping autorelease will fail again in the same way in an hrs long job run. |
| Comment by Anil Belur [ 05/Jun/18 ] |
|
The error log is being generated now. |
| Comment by Anil Belur [ 05/Jun/18 ] |
|
tested it locally, second run on sandbox |
| Comment by Anil Belur [ 05/Jun/18 ] |
|
| Comment by Anil Belur [ 10/Jun/18 ] |
|
We are getting the error logs again. |