Skip to content
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

Add newer OSes and Puppet 7 to test matrix, drop Puppet 5 #364

Merged
merged 3 commits into from
Apr 20, 2021

Conversation

oranenj
Copy link
Contributor

@oranenj oranenj commented Apr 16, 2021

Let's see what the tests say about this. Fixes #361

@oranenj oranenj added this to the v5.0.0 milestone Apr 16, 2021
@oranenj
Copy link
Contributor Author

oranenj commented Apr 16, 2021

I think the test setup has locale trouble. There's a line where it fails to set the locale and defaults to C, and then:

  Error: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: Failed to call refresh: invalid byte sequence in US-ASCII
  Error: /Stage[main]/Postgresql::Server::Reload/Exec[postgresql_reload]: invalid byte sequence in US-ASCII

@oranenj
Copy link
Contributor Author

oranenj commented Apr 16, 2021

Testing by myself in a CentOS 7 VM, Puppet 7 works fine. This test failure is bogus :/

@oranenj
Copy link
Contributor Author

oranenj commented Apr 19, 2021

Tests work if locale is forced to en_US.UTF-8

@oranenj
Copy link
Contributor Author

oranenj commented Apr 19, 2021

@bastelfreak any idea what to do about the locale thing? Seems to require changes in modulesync... :/

@oranenj oranenj changed the title WIP: Add newer OSes and Puppet 7 to test matrix Add newer OSes and Puppet 7 to test matrix, drop Puppet 5 Apr 19, 2021
@oranenj
Copy link
Contributor Author

oranenj commented Apr 20, 2021

Merging with the locale hack for now, submitted a PR to modulesync about it

Comment on lines +74 to +77
# Yes, this should be in modulesync, but for now, just work around weird test failures
# caused by locale on CentOS 7 with Puppet 7
LANG: en_US
LC_ALL: en_US.UTF-8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

voxpupuli/modulesync_config#708 has more context. Linking to cross-reference.

cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Oct 13, 2021
Add newer OSes and Puppet 7 to test matrix, drop Puppet 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test with Puppet 7 and fresher OSes
3 participants