TestStartTerminationWorker fails on gccgo

Bug #1507601 reported by Martin Packman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Martin Packman
1.25
Fix Released
High
Martin Packman

Bug Description

New TestStartTerminationWorker fails on ppc64 in CI as the error string is differently cased.

FAIL: machine_test.go:2194: com_juju_juju_cmd_jujud_agent.TestStartTerminationWorker.pN65_github.com_juju_juju_cmd_jujud_agent.machineAgentTerminationSuite

[LOG] 0:00.015 DEBUG juju.cmd.jujud uninstall file "data-dir/uninstall-agent" does not exist
machine_test.go:2209:
    c.Assert(errorFunction(), jc.DeepEquals, &cmdutil.FatalError{
        `"aborted" signal received`,
    })
... obtained *util.FatalError = &util.FatalError{Err:"\"Aborted\" signal received"} ("\"Aborted\" signal received")
... expected *util.FatalError = &util.FatalError{Err:"\"aborted\" signal received"} ("\"aborted\" signal received")
... mismatch at (*).Err: unequal; obtained "\"Aborted\" signal received"; expected "\"aborted\" signal received"

This was introduced by the fix for bug 1464304, landed on master and 1.25:

https://github.com/juju/juju/pull/3536
https://github.com/juju/juju/pull/3538

Martin Packman (gz)
Changed in juju-core:
milestone: none → 1.26-alpha1
Revision history for this message
Martin Packman (gz) wrote :
Changed in juju-core:
assignee: nobody → Martin Packman (gz)
status: Triaged → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → 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.