[INTPAK-14] Fix RPM-level upgrades Created: 01/Nov/17  Updated: 09/Jan/19  Resolved: 09/Jan/19

Status: Resolved
Project: integration-packaging
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Daniel Farrell Assignee: Daniel Farrell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I have an rpm-upgrade test that I think does a pretty good job of verifying RPM-level ODL upgrades work.

JankiChhatbar has a patch to the RPM spec file to not remove the snapshot and journel dirs during RPM upgrades.

We no longer have the ability to short-term-host RPMs on Jenkins after sandbox build jobs, which is what the "give me two URLs and I'll do the upgrade testing" API of the rpm-upgrade-master test assumes. We'd need to raise a different issue to track making build-rpm jobs run in the sandbox host RPMs on Jenkins while jobs run in the releng Jenkins silo push to Nexus. I've looked at this some and talked with zxiiro a bit and it seemed pretty non-trivial.

Need to revisit the patch, retest it. May need to verify locally for now, following something like the pattern outlined in the upgrade test.

Imported from: https://trello.com/c/z8EAEqso/538-dont-nuke-snapshots-journal-dirs-during-rpm-upgrade



 Comments   
Comment by Daniel Farrell [ 09/Aug/18 ]

https://git.opendaylight.org/gerrit/74960

Comment by Daniel Farrell [ 09/Aug/18 ]

https://jenkins.opendaylight.org/sandbox/job/packaging-test-rpm-upgrade-master/

Comment by Daniel Farrell [ 19/Nov/18 ]

Passing in RelEng:

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/packaging-test-rpm-upgrade-master/8/console.log.gz

Need to setup periodic triggers.

Comment by Daniel Farrell [ 20/Nov/18 ]

Periodic triggers added on line 486 here: https://git.opendaylight.org/gerrit/#/c/77963/2/jjb/packaging/packaging.yaml

Comment by Daniel Farrell [ 20/Nov/18 ]

This might be done? Need to double-check.

Comment by Daniel Farrell [ 09/Jan/19 ]

The upgrade job is now passing consistently.

https://jenkins.opendaylight.org/releng/view/packaging/job/packaging-test-rpm-upgrade-master/

Generated at Wed Feb 07 20:03:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.