-
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-10739: Force default 'C' locale for package scriptlets #1312
Conversation
Tested this manually/locally with iTerm2 (but any shell will do really) when I set When I keep that |
@cf-bottom jenkins please |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9931/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9931/ |
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.
Good job! I'm just not sure about the su -
change.
fe7e6a3
to
cead85d
Compare
looks like oslo-dc shutdown during the last jenkins run.
|
@cf-bottom jenkins please, thanks. just run a smidge ahead of nightlites eh? ;) |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9932/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9932/ |
5ca8d77
to
ac5b5ac
Compare
It was found that an LC_CTYPE=UTF-8 from iTerm2 on OSX was breaking the hub package install. PostgreSQL docs suggest using 'C' locale unless otherwise needed https://www.postgresql.org/docs/current/locale.html > The drawback of using locales other than C or POSIX in PostgreSQL is its performance impact. It slows character handling and prevents ordinary indexes from being used by LIKE. For this reason use locales only if you actually need them. Ticket: ENT-10739 Changelog: title
0184237
to
2db105c
Compare
@vpodzime this should be good to go now, @cf-bottom jenkins please. |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9939/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9939/ |
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.
Nice!
investigating odd new errors in hub upgrades.
|
Could not reproduce with a local vagrant/virtual box VM. Will try the same ami/config as jenkins now. |
@cf-bottom jenkins |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9948/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9948/ |
hardly |
bootstrap-tests failure was a flake I think: https://northerntech.atlassian.net/browse/ENT-10773 |
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.
ACK
It was found that an LC_CTYPE=UTF-8 from iTerm2 on OSX was breaking the hub package install.
Also use su - (--login) option to preserve this LC_ALL setting
PostgreSQL docs suggest using 'C' locale unless otherwise needed
https://www.postgresql.org/docs/current/locale.html
Ticket: ENT-10739
Changelog: title
together
https://github.com/cfengine/system-testing/pull/508 (rhel-8 hub deployment test use 2G instead of 1G RAM)