Skip to content

Commit

Permalink
test(service): enable for archive and package suites
Browse files Browse the repository at this point in the history
Excluding for `archive` on the following platforms until resolved.

---

`archive-fedora-33-master-py3`:

```
systemd[1]: /usr/lib/systemd/system/docker.service:16: PIDFile= references a path below legacy directory /var/run/,
            updating /var/run/docker.pid → /run/docker.pid; please update the unit file accordingly.
```

However, even when that's fixed:

```
dockerd[1548]: failed to start daemon: Error initializing network controller:
               error obtaining controller instance: failed to create NAT chain DOCKER: Iptables not found
```

---

`archive-fedora-32-master-py3`:

```
dockerd[803]: failed to start daemon: Error initializing network controller:
              error obtaining controller instance: failed to create NAT chain DOCKER: Iptables not found
```

---

`archive-opensuse-leap-152-master-py3`:

```
dockerd[758]: failed to start daemon: Error initializing network controller:
              error obtaining controller instance: failed to create NAT chain DOCKER: Iptables not found
```
  • Loading branch information
myii committed Mar 10, 2021
1 parent f8f96f1 commit c168ee1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/integration/archive/controls/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
describe service('docker') do
it { should be_installed }
it { should be_enabled }
# it { should be_running }
it { should be_running } unless %w[fedora suse].include? platform[:family]
end
end
9 changes: 5 additions & 4 deletions test/integration/package/controls/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
control 'Docker service' do
title 'should be running and enabled'

# describe service(name) do
# it { should be_enabled }
# it { should be_running }
# end
describe service('docker') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
end

0 comments on commit c168ee1

Please sign in to comment.