SFTP publishing: in case of failure, no artifacts produced at all

Bug #908134 reported by Paul Sokolovsky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android Infrastructure
Fix Released
Critical
Paul Sokolovsky

Bug Description

Previously, with Jenkins builtin artifact archiving, in case of build failure, at least artifacts produced so far were archived. This usually inclued source-manifest.xml & pinned-manifest.xml, which sometimes were great help to debug build failures.

Unfortunately, with new SFTP pushing, if a build failure occurs, nothing is archived at all.

Tags: regression

Related branches

Changed in linaro-android-infrastructure:
status: New → Confirmed
tags: added: regression
Changed in linaro-android-infrastructure:
importance: Undecided → Critical
status: Confirmed → Triaged
Revision history for this message
Deepti B. Kalakeri (deeptik) wrote :

Paul,

Can you put a reference to the jobs which fail because of the above problem ?

Thanks!!!
Deepti.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

No builds fail due to this, this was just a generic "known regression" ticket filed by me (based on my own implementation review) after we switched from builtin Jenkins archiving to snapshots.l.o. As can be seen from the dates, half a year this wasn't a problem for anyone, but yesterday Zach pinged me regarding if this was a known issue, and I referred him to this ticket. Would be nice to have a comment from Danilo why this was set as critical.

As for fixing (or working around) this, this should be quite possible - we just need to re-enable builtin archiving for (only) manifest files, so for (apparently rare) cases when manifests for failed builds are of interests, people can look them up directly on Jenkin build page.

Revision history for this message
Данило Шеган (danilo) wrote :

This was set as critical based on priorities from Zach and considering that it was a regression compared to the previous behavior.

Changed in linaro-android-infrastructure:
milestone: none → 2012.07
Changed in linaro-android-infrastructure:
assignee: nobody → Paul Sokolovsky (pfalcon)
Changed in linaro-android-infrastructure:
status: Triaged → In Progress
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Ok, so I prepared test build with idea of fix as described above, and it works as expected: https://android-build.linaro.org/builds/~pfalcon/manifest-arc-if-fail/ . Actually, it works better than expected: I though it will require to searching for artifact on Jenkins' build page, but actually frontend page shows those artifact well still, see the link above.

So, all jobs were migrated now.

Changed in linaro-android-infrastructure:
status: In Progress → Fix Committed
Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.