Merge lp:~gz/juju-core/itsy_bitsy_change into lp:~go-bot/juju-core/trunk

Proposed by Martin Packman
Status: Merged
Approved by: Martin Packman
Approved revision: no longer in the source branch.
Merged at revision: 1549
Proposed branch: lp:~gz/juju-core/itsy_bitsy_change
Merge into: lp:~go-bot/juju-core/trunk
Diff against target: 46 lines (+4/-3)
3 files modified
cmd/jujud/machine_test.go (+1/-0)
state/container.go (+2/-2)
worker/upgrader/upgrader.go (+1/-1)
To merge this branch: bzr merge lp:~gz/juju-core/itsy_bitsy_change
Reviewer Review Type Date Requested Status
Juju Engineering Pending
Review via email: mp+177424@code.launchpad.net

Commit message

Trivial comment only change to test bot

Fixes some itsing, and a random go fmt issue that had crept into trunk.

Also skips test bot is having issues with, filed lp:1206195 for that issue.

https://codereview.appspot.com/12028045/

Description of the change

Trivial comment only change to test bot

Fixes some itsing, and a random go fmt issue that had crept into trunk.

https://codereview.appspot.com/12028045/

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Reviewers: mp+177424_code.launchpad.net,

Message:
Please take a look.

Description:
Trivial comment only change to test bot

Fixes some itsing, and a random go fmt issue that had crept into trunk.

https://code.launchpad.net/~gz/juju-core/itsy_bitsy_change/+merge/177424

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/12028045/

Affected files:
   [revision details]
   state/container.go
   worker/upgrader/upgrader.go

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: state/container.go
=== modified file 'state/container.go'
--- state/container.go 2013-07-09 10:32:23 +0000
+++ state/container.go 2013-07-29 16:27:23 +0000
@@ -56,7 +56,7 @@
     },
    }
   } else {
- // The host machine exists so update it's containers record.
+ // The host machine exists so update its containers record.
    ops = []txn.Op{
     {
      C: st.containerRefs.Name,
@@ -120,7 +120,7 @@
    Assert: txn.DocExists,
    Remove: true,
   }
- // If the machine is a container, figure out it's parent host.
+ // If the machine is a container, figure out its parent host.
   parentId := ParentId(machineId)
   if parentId == "" {
    return []txn.Op{removeRefOp}

Index: worker/upgrader/upgrader.go
=== modified file 'worker/upgrader/upgrader.go'
--- worker/upgrader/upgrader.go 2013-07-29 10:30:41 +0000
+++ worker/upgrader/upgrader.go 2013-07-29 16:36:38 +0000
@@ -19,7 +19,7 @@

  // retryAfter returns a channel that receives a value
  // when a failed download should be retried.
-// It is a function
+// It is a function
  var retryAfter = func() <-chan time.Time {
   return time.After(5 * time.Second)
  }

Revision history for this message
Go Bot (go-bot) wrote :
Download full text (28.3 KiB)

The attempt to merge lp:~gz/juju-core/itsy_bitsy_change into lp:juju-core failed. Below is the output from the failed tests.

ok launchpad.net/juju-core/agent 1.735s
ok launchpad.net/juju-core/agent/tools 25.984s
ok launchpad.net/juju-core/bzr 6.498s
ok launchpad.net/juju-core/cert 3.083s
ok launchpad.net/juju-core/charm 0.698s
? launchpad.net/juju-core/charm/hooks [no test files]
ok launchpad.net/juju-core/cloudinit 0.016s
ok launchpad.net/juju-core/cmd 0.205s
? launchpad.net/juju-core/cmd/builddb [no test files]
? launchpad.net/juju-core/cmd/charmd [no test files]
? launchpad.net/juju-core/cmd/charmload [no test files]
ok launchpad.net/juju-core/cmd/juju 97.858s

----------------------------------------------------------------------
FAIL: machine_test.go:149: MachineSuite.TestDyingMachine

[LOG] 18.92819 INFO juju environs/testing: uploading FAKE tools 1.13.0-precise-amd64
[LOG] 18.92852 INFO juju environs: reading tools with major version 1
[LOG] 18.92856 DEBUG juju.agent.tools reading v1.* tools
[LOG] 18.92858 INFO juju environs: falling back to public bucket
[LOG] 18.92859 DEBUG juju.agent.tools reading v1.* tools
[LOG] 18.92868 DEBUG juju.agent.tools found 1.13.0-precise-amd64
[LOG] 18.92870 INFO juju environs: filtering tools by series: precise
[LOG] 18.92872 INFO juju environs: filtering tools by version: 1.13.0
[LOG] 18.92875 INFO juju environs/dummy: would pick tools from 1.13.0-precise-amd64
[LOG] 18.95421 INFO juju state: opening state; mongo addresses: ["localhost:50043"]; entity ""
[LOG] 18.96385 INFO juju state: connection established
[LOG] 18.98333 INFO juju state: initializing environment
[LOG] 19.03387 INFO juju state/api: listening on "127.0.0.1:56962"
[LOG] 19.05479 INFO juju state: opening state; mongo addresses: ["localhost:50043"]; entity ""
[LOG] 19.06326 INFO juju state: connection established
[LOG] 19.06385 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 19.06391 INFO juju state: opening state; mongo addresses: ["localhost:50043"]; entity ""
[LOG] 19.06698 INFO juju state: connection established
[LOG] 19.10453 INFO juju state/api: dialing "wss://127.0.0.1:56962/"
[LOG] 19.10774 INFO juju rpc: discarding action method reflect.Method{Name:"apiRootForEntity", PkgPath:"launchpad.net/juju-core/state/apiserver", Type:(*reflect.rtype)(0xaf16a0), Func:reflect.Value{typ:(*reflect.rtype)(0xaf16a0), val:(unsafe.Pointer)(0xb20d60), flag:0x131}, Index:1}
[LOG] 19.10782 INFO juju state/api: connection established
[LOG] 19.10805 DEBUG juju rpc/jsoncodec: <- {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}}
[LOG] 19.10847 INFO juju rpc: discarding obtainer method reflect.Method{Name:"AuthClient", PkgPath:"", Type:(*reflect.rtype)(0xa15320), Func:reflect.Value{typ:(*reflect.rtype)(0xa15320), val:(unsafe.Pointer)(0xbd3720), flag:0x130}, Index:1}
[LOG] 19.10850 INFO juju rpc: discarding obtainer method reflect.Method{Name:"AuthEnvironManager", PkgPath:"", Type:(*reflect.rtype)(0xa15320), Func:reflect.Value{typ:(*reflect.rtype)(0xa15320), val:(unsafe.Pointer)(0xbd3750), flag:0x130}, Index:2}
[LOG] 19.108...

Revision history for this message
Go Bot (go-bot) wrote :
Download full text (28.6 KiB)

The attempt to merge lp:~gz/juju-core/itsy_bitsy_change into lp:juju-core failed. Below is the output from the failed tests.

ok launchpad.net/juju-core/agent 1.622s
ok launchpad.net/juju-core/agent/tools 25.117s
ok launchpad.net/juju-core/bzr 6.673s
ok launchpad.net/juju-core/cert 1.998s
ok launchpad.net/juju-core/charm 0.732s
? launchpad.net/juju-core/charm/hooks [no test files]
ok launchpad.net/juju-core/cloudinit 0.016s
ok launchpad.net/juju-core/cmd 0.200s
? launchpad.net/juju-core/cmd/builddb [no test files]
? launchpad.net/juju-core/cmd/charmd [no test files]
? launchpad.net/juju-core/cmd/charmload [no test files]
ok launchpad.net/juju-core/cmd/juju 98.404s

----------------------------------------------------------------------
FAIL: machine_test.go:149: MachineSuite.TestDyingMachine

[LOG] 57.59657 INFO juju environs/testing: uploading FAKE tools 1.13.0-precise-amd64
[LOG] 57.59674 INFO juju environs: reading tools with major version 1
[LOG] 57.59676 DEBUG juju.agent.tools reading v1.* tools
[LOG] 57.59678 INFO juju environs: falling back to public bucket
[LOG] 57.59679 DEBUG juju.agent.tools reading v1.* tools
[LOG] 57.59684 DEBUG juju.agent.tools found 1.13.0-precise-amd64
[LOG] 57.59686 INFO juju environs: filtering tools by series: precise
[LOG] 57.59688 INFO juju environs: filtering tools by version: 1.13.0
[LOG] 57.59690 INFO juju environs/dummy: would pick tools from 1.13.0-precise-amd64
[LOG] 57.62156 INFO juju state: opening state; mongo addresses: ["localhost:46800"]; entity ""
[LOG] 57.62887 INFO juju state: connection established
[LOG] 57.66309 INFO juju state: initializing environment
[LOG] 57.68973 INFO juju state/api: listening on "127.0.0.1:48492"
[LOG] 57.70799 INFO juju state: opening state; mongo addresses: ["localhost:46800"]; entity ""
[LOG] 57.71067 INFO juju state: connection established
[LOG] 57.72826 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 57.72834 INFO juju state: opening state; mongo addresses: ["localhost:46800"]; entity ""
[LOG] 57.73422 INFO juju state: connection established
[LOG] 57.77084 INFO juju state/api: dialing "wss://127.0.0.1:48492/"
[LOG] 57.77409 INFO juju rpc: discarding action method reflect.Method{Name:"apiRootForEntity", PkgPath:"launchpad.net/juju-core/state/apiserver", Type:(*reflect.rtype)(0xaf16a0), Func:reflect.Value{typ:(*reflect.rtype)(0xaf16a0), val:(unsafe.Pointer)(0xb20d60), flag:0x131}, Index:1}
[LOG] 57.77419 INFO juju state/api: connection established
[LOG] 57.77448 DEBUG juju rpc/jsoncodec: <- {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}}
[LOG] 57.77492 INFO juju rpc: discarding obtainer method reflect.Method{Name:"AuthClient", PkgPath:"", Type:(*reflect.rtype)(0xa15320), Func:reflect.Value{typ:(*reflect.rtype)(0xa15320), val:(unsafe.Pointer)(0xbd3720), flag:0x130}, Index:1}
[LOG] 57.77496 INFO juju rpc: discarding obtainer method reflect.Method{Name:"AuthEnvironManager", PkgPath:"", Type:(*reflect.rtype)(0xa15320), Func:reflect.Value{typ:(*reflect.rtype)(0xa15320), val:(unsafe.Pointer)(0xbd3750), flag:0x130}, Index:2}
[LOG] 57.774...

Revision history for this message
Martin Packman (gz) wrote :
Revision history for this message
John A Meinel (jameinel) wrote :

On 2013/07/29 17:12:50, gz wrote:
> Please take a look.

LGTM

https://codereview.appspot.com/12028045/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cmd/jujud/machine_test.go'
2--- cmd/jujud/machine_test.go 2013-07-25 11:03:16 +0000
3+++ cmd/jujud/machine_test.go 2013-07-29 17:15:51 +0000
4@@ -147,6 +147,7 @@
5 }
6
7 func (s *MachineSuite) TestDyingMachine(c *C) {
8+ c.Skip("Disabled as breaks test isolation somehow, see lp:1206195")
9 m, _, _ := s.primeAgent(c, state.JobHostUnits)
10 a := s.newAgent(c, m)
11 done := make(chan error)
12
13=== modified file 'state/container.go'
14--- state/container.go 2013-07-09 10:32:23 +0000
15+++ state/container.go 2013-07-29 17:15:51 +0000
16@@ -56,7 +56,7 @@
17 },
18 }
19 } else {
20- // The host machine exists so update it's containers record.
21+ // The host machine exists so update its containers record.
22 ops = []txn.Op{
23 {
24 C: st.containerRefs.Name,
25@@ -120,7 +120,7 @@
26 Assert: txn.DocExists,
27 Remove: true,
28 }
29- // If the machine is a container, figure out it's parent host.
30+ // If the machine is a container, figure out its parent host.
31 parentId := ParentId(machineId)
32 if parentId == "" {
33 return []txn.Op{removeRefOp}
34
35=== modified file 'worker/upgrader/upgrader.go'
36--- worker/upgrader/upgrader.go 2013-07-29 10:30:41 +0000
37+++ worker/upgrader/upgrader.go 2013-07-29 17:15:51 +0000
38@@ -19,7 +19,7 @@
39
40 // retryAfter returns a channel that receives a value
41 // when a failed download should be retried.
42-// It is a function
43+// It is a function
44 var retryAfter = func() <-chan time.Time {
45 return time.After(5 * time.Second)
46 }

Subscribers

People subscribed via source and target branches

to status/vote changes: