metadata_test consistently fails in ppc64el unit tests

Bug #1400350 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

run-unit-tests-trusty-ppc64el
metadata_test consistently fails like this
FAIL: metadata_test.go:95: TestBuildMetadata.pN53_github_com_juju_juju_state_backups_test.metadataSuite

metadata_test.go:116:
    c.Check(meta.Finished.Unix(), gc.Equals, finished)
... obtained int64 = 1417888093
... expected syscall.Timespec_sec_t = 1417888093

The last pass was gitbranch:master:github.com/juju/juju b127f191, the first fail is gitbranch:master:github.com/juju/juju 009aef59. The suspected commits are
    commit 4ee389a Merge pull request #1242 from mattyw/metric-credentials-api
    commit 88e2ed5 Merge pull request #1239 from johnweldon/5-enqueue-action-requires-name
    commit a7e52a1 Merge pull request #1227 from johnweldon/0-action-testing
    commit 60c8413 Merge pull request #1276 from ericsnowcurrently/replicaset-IsReady-drop-condition
    commit 009aef5 Merge pull request #1241 from wallyworld/update-server-certificate

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

https://github.com/juju/juju/commit/99c2bcd0de788321a73d1c32ed5c114dbe9adb89 (merged via 216aa12) uses syscall.Stat_t, which doesn't work on Windows. I'll work up a fix.

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

Similar failure on run-unit-tests-precise-i386
metadata_test.go:116:
    c.Check(meta.Finished.Unix(), gc.Equals, finished)
... obtained int64 = 1418034506
... expected int32 = 1418034506

Curtis Hovey (sinzui)
tags: added: i386
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: Triaged → Fix Committed
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

Still failing the same way...

Changed in juju-core:
status: Fix Committed → In Progress
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
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.