Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Acceptance tests broken #83

Closed
danielparks opened this issue Feb 14, 2024 · 0 comments · Fixed by #84
Closed

Acceptance tests broken #83

danielparks opened this issue Feb 14, 2024 · 0 comments · Fixed by #84

Comments

@danielparks
Copy link
Owner

Acceptance tests run forever currently:

Run bundle exec rake 'litmus:provision[docker, litmusimage/centos:7]'
  bundle exec rake 'litmus:provision[docker, litmusimage/centos:7]'
  shell: /usr/bin/bash -e {0}
  env:
    validate_distro: jammy
I, [2024-02-14T02:20:29.255096 #1978]  INFO -- : Creating symlink from spec/fixtures/modules/rustup to /home/runner/work/puppet-rustup/puppet-rustup
Cloning into 'spec/fixtures/modules/facts'...
Cloning into 'spec/fixtures/modules/puppet_agent'...
Cloning into 'spec/fixtures/modules/provision'...
Notice: Preparing to install into /home/runner/work/puppet-rustup/puppet-rustup/spec/fixtures/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Installing -- do not interrupt ...
/home/runner/work/puppet-rustup/puppet-rustup/spec/fixtures/modules
└── puppetlabs-stdlib (v9.4.1)
Provisioning litmusimage/centos:7 using docker provisioner.

Then it just hangs forever.

./test.sh init run works on my machine. I’m not sure if GitHub CI changed, or Puppet Litmus.

danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
 - Simplify validation in GitHub CI.
 - Improve test output in GitHub CI.
 - Support for Ubuntu in acceptance tests.
 - Run acceptance tests directly on GitHub CI runners (part of #83).
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
danielparks added a commit that referenced this issue Feb 16, 2024
Acceptance tests were failing on GitHub CI because its runners have
`rustup` already installed in `/etc/skel`. This switches the acceptance
tests to only use `managehome => false` so that `/etc/skel` is ignored
when they create new users.

Fixes #83 — Acceptance tests broken.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant