-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENT-10647: Added safety for hub upgrade in packaging scriptlets #1295
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me otherwise. And YMMV.
@cf-bottom jenkins |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9886/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9886/ |
072a042
a71bba7
to
48c9be6
Compare
Needed more refactoring, cancelled the last jenkins build. Will test manually locally and then re-start a jenkins build. |
@cf-bottom jenkins |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9888/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9888/ |
jenkins run looks good, sequential-tests was ssh flake/failures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Squash the commits before merging, please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squash last commit ✅
48c9be6
to
5ca2eff
Compare
…nstall The pg_ctl stop/start commands don't ensure that the server state is as reqeusted at the moment that the command returns. Added up to 5 seconds of wait time to ensure the state is as we want. Also added some tails of expected logs when failures occur. Either /var/log/postgresql.log or the specific pg_upgrade logs which may be created and mentioned in the output of that command failing. Ticket: ENT-10647 Changelog: title
5ca2eff
to
a7e6fa7
Compare
The pg_ctl stop/start commands don't ensure that the server state is as reqeusted
at the moment that the command returns. Added up to 5 seconds of wait time to
ensure the state is as we want.
Also added some tails of expected logs when failures occur. Either /var/log/postgresql.log
or the specific pg_upgrade logs which may be created and mentioned in the output of that command
failing.
Ticket: ENT-10647
Changelog: title