sourcesSuite.TestGetFilesToBackup consistently fails on utopic

Bug #1357033 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Eric Snow

Bug Description

Three runs of run-unit-tests-utopic-amd64 fail consistently sourcesSuite.TestGetFilesToBackup as of commit f7a6b109.
    http://juju-ci.vapour.ws:8080/job/run-unit-tests-utopic-amd64/489/console

The test was passing in as of commit abfd7625.

FAIL: sources_test.go:22: sourcesSuite.TestGetFilesToBackup

sources_test.go:36:
    c.Check(files, jc.SameContents, []string{
        "/etc/init/juju-db.conf",
        "/home/ubuntu/.ssh/authorized_keys",
        "/var/lib/juju/nonce.txt",
        "/var/lib/juju/server.pem",
        "/var/lib/juju/shared-secret",
        "/var/lib/juju/system-identity",
        "/var/lib/juju/tools",
        "/var/log/juju/all-machines.log",
        "/var/log/juju/machine-0.log",
    })
... obtained []string = []string{"/var/lib/juju/tools", "/var/lib/juju/system-identity", "/var/lib/juju/nonce.txt", "/var/log/juju/all-machines.log", "/var/log/juju/machine-0.log", "/home/ubuntu/.ssh/authorized_keys", "/etc/init/juju-db.conf", "/var/lib/juju/server.pem", "/var/lib/juju/shared-secret", "/etc/init/jujud-machine-49.conf", "/var/lib/juju/agents/machine-49", "/etc/rsyslog.d/25-juju.conf"}
... expected []string = []string{"/etc/init/juju-db.conf", "/home/ubuntu/.ssh/authorized_keys", "/var/lib/juju/nonce.txt", "/var/lib/juju/server.pem", "/var/lib/juju/shared-secret", "/var/lib/juju/system-identity", "/var/lib/juju/tools", "/var/log/juju/all-machines.log", "/var/log/juju/machine-0.log"}

OOPS: 2 passed, 1 FAILED
--- FAIL: Test (0.12 seconds)
FAIL

Changed in juju-core:
assignee: nobody → Eric Snow (ericsnowcurrently)
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

The problem is that the test system has 3 unexpected files:

/etc/init/jujud-machine-49.conf
/var/lib/juju/agents/machine-49
/etc/rsyslog.d/25-juju.conf

I'll come up with a way to address that.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Revision history for this message
Andrew Wilkins (axwalk) wrote :

Eric, I've closed as your PR merged. Was blocking CI; please reopen if needed.

Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.