Skip to content

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

Merged
oranenj merged 3 commits intovoxpupuli:masterfrom
oranenj:test-with-new-stuff
Apr 20, 2021
Merged

Add newer OSes and Puppet 7 to test matrix, drop Puppet 5#364
oranenj merged 3 commits intovoxpupuli:masterfrom
oranenj:test-with-new-stuff

Conversation

@oranenj
Copy link
Copy Markdown
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 oranenj force-pushed the test-with-new-stuff branch from 9652ac4 to d9605bd Compare April 16, 2021 18:25
@oranenj
Copy link
Copy Markdown
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
Copy Markdown
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 oranenj force-pushed the test-with-new-stuff branch from 2015bbd to b856624 Compare April 19, 2021 16:16
@oranenj
Copy link
Copy Markdown
Contributor Author

oranenj commented Apr 19, 2021

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

@oranenj oranenj requested a review from bastelfreak April 19, 2021 17:23
@oranenj
Copy link
Copy Markdown
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 force-pushed the test-with-new-stuff branch from 795fddc to 94298ee Compare April 19, 2021 18:34
@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
@bastelfreak bastelfreak added the backwards-incompatible This change will lead to a major version bump for the next release label Apr 20, 2021
@oranenj
Copy link
Copy Markdown
Contributor Author

oranenj commented Apr 20, 2021

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

Comment thread .github/workflows/ci.yml
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
Copy Markdown
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
cegeka-jenkins pushed a commit to cegeka/puppet-jira that referenced this pull request Sep 1, 2025
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

Labels

backwards-incompatible This change will lead to a major version bump for the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test with Puppet 7 and fresher OSes

3 participants