1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139 | ----------------------------------------------------------------------
FAIL: local_test.go:792: localServerSuite.TestAllocateAddress
[LOG] 0:00.000 DEBUG juju.testing setting feature flags: address-allocation
[LOG] 0:00.000 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.000 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.001 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.003 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-i386
[LOG] 0:00.004 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-i386
[LOG] 0:00.009 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.009 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.009 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.011 INFO juju.provider.ec2 opening environment "sample"
[LOG] 0:00.012 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.012 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.012 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.013 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc8205a2360]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc8205a2480]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc8205a25a0]} com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc8205a26c0]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc8205a27e0]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.014 DEBUG juju.environs.bootstrap environment "sample" supports service/machine networks: true
[LOG] 0:00.014 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.014 INFO juju.environs.bootstrap looking for bootstrap tools: version=1.99.0
[LOG] 0:00.014 INFO juju.environs.tools findng tools in stream "released"
[LOG] 0:00.014 INFO juju.environs.tools reading tools with major.minor version 1.99
[LOG] 0:00.014 INFO juju.environs.tools filtering tools by version: 1.99.0
[LOG] 0:00.014 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/3/tools/streams/v1/index2.json"
[LOG] 0:00.014 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:i386:{ 1.99.0 i386 map[20150828:0xc82028cc00]} com.ubuntu.juju:14.04:amd64:{ 1.99.0 amd64 map[20150828:0xc82028cd20]} com.ubuntu.juju:14.04:i386:{ 1.99.0 i386 map[20150828:0xc82028cf00]} com.ubuntu.juju:12.04:amd64:{ 1.99.0 amd64 map[20150828:0xc82028cae0]}] map[] Fri, 28 Aug 2015 11:24:20 +0100 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.017 DEBUG juju.provider.ec2 availability zones: &{RequestId:req2 Zones:[{AvailabilityZone:{Name:test-available Region:test} State:available MessageSet:[]} {AvailabilityZone:{Name:test-impaired Region:test} State:impaired MessageSet:[]} {AvailabilityZone:{Name:test-unavailable Region:test} State:unavailable MessageSet:[]}]}
[LOG] 0:00.017 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.018 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.018 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc820552c60]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc820552d80]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc820552ea0]} com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc820552fc0]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc8205530e0]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.018 INFO juju.environs.instances find instance - using image with id: ami-00000033
[LOG] 0:00.018 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.048 DEBUG juju.service discovered init system "upstart" from series "trusty"
[LOG] 0:00.050 DEBUG juju.provider.ec2 ec2 user data; 514 bytes
[LOG] 0:00.054 INFO juju.provider.ec2 started instance "i-3" in "test-available"
[LOG] 0:00.059 DEBUG juju.provider.common putting "provider-state" to bootstrap storage *ec2.ec2storage
[LOG] 0:00.060 INFO juju.environs.bootstrap newest version: 1.99.0
[LOG] 0:00.060 INFO juju.environs.bootstrap picked bootstrap tools version: 1.99.0
[LOG] 0:00.060 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.096 WARNING juju.environs.testing provider/common.FinishBootstrap is disabled
local_test.go:805:
c.Assert(actualAddr, gc.Equals, addr)
... obtained network.Address = ("")
... expected network.Address = 8.0.0.4 ("8.0.0.4")
----------------------------------------------------------------------
FAIL: local_test.go:808: localServerSuite.TestAllocateAddressIPAddressInUseOrEmpty
[LOG] 0:00.000 DEBUG juju.testing setting feature flags: address-allocation
[LOG] 0:00.000 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.000 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.001 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.003 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-i386
[LOG] 0:00.004 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-i386
[LOG] 0:00.006 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.006 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.006 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.007 INFO juju.provider.ec2 opening environment "sample"
[LOG] 0:00.009 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.009 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.009 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.010 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc8202613e0]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc820261500]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc820261620]} com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc820261740]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc820261860]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.010 DEBUG juju.environs.bootstrap environment "sample" supports service/machine networks: true
[LOG] 0:00.010 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.010 INFO juju.environs.bootstrap looking for bootstrap tools: version=1.99.0
[LOG] 0:00.010 INFO juju.environs.tools findng tools in stream "released"
[LOG] 0:00.010 INFO juju.environs.tools reading tools with major.minor version 1.99
[LOG] 0:00.010 INFO juju.environs.tools filtering tools by version: 1.99.0
[LOG] 0:00.011 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/9/tools/streams/v1/index2.json"
[LOG] 0:00.013 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.99.0 amd64 map[20150828:0xc8205a2780]} com.ubuntu.juju:12.04:i386:{ 1.99.0 i386 map[20150828:0xc8205a28a0]} com.ubuntu.juju:14.04:amd64:{ 1.99.0 amd64 map[20150828:0xc8205a29c0]} com.ubuntu.juju:14.04:i386:{ 1.99.0 i386 map[20150828:0xc8205a2ae0]}] map[] Fri, 28 Aug 2015 11:24:20 +0100 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.015 DEBUG juju.provider.ec2 availability zones: &{RequestId:req2 Zones:[{AvailabilityZone:{Name:test-available Region:test} State:available MessageSet:[]} {AvailabilityZone:{Name:test-impaired Region:test} State:impaired MessageSet:[]} {AvailabilityZone:{Name:test-unavailable Region:test} State:unavailable MessageSet:[]}]}
[LOG] 0:00.015 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.015 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.016 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc8202383c0]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc8202385a0]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc820238360]} com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc820238660]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc820238780]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.016 INFO juju.environs.instances find instance - using image with id: ami-00000033
[LOG] 0:00.016 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.046 DEBUG juju.service discovered init system "upstart" from series "trusty"
[LOG] 0:00.047 DEBUG juju.provider.ec2 ec2 user data; 514 bytes
[LOG] 0:00.052 INFO juju.provider.ec2 started instance "i-3" in "test-available"
[LOG] 0:00.055 DEBUG juju.provider.common putting "provider-state" to bootstrap storage *ec2.ec2storage
[LOG] 0:00.057 INFO juju.environs.bootstrap newest version: 1.99.0
[LOG] 0:00.057 INFO juju.environs.bootstrap picked bootstrap tools version: 1.99.0
[LOG] 0:00.057 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.084 WARNING juju.environs.testing provider/common.FinishBootstrap is disabled
local_test.go:818:
c.Assert(errors.Cause(err), gc.Equals, environs.ErrIPAddressUnavailable)
... obtained = nil
... expected *errors.Err = &errors.Err{message:"the requested IP address is unavailable", cause:error(nil), previous:error(nil), file:"github.com/juju/juju/environs/errors.go", line:19} ("the requested IP address is unavailable")
----------------------------------------------------------------------
FAIL: local_test.go:824: localServerSuite.TestAllocateAddressNetworkInterfaceFull
[LOG] 0:00.000 DEBUG juju.testing setting feature flags: address-allocation
[LOG] 0:00.000 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.000 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.003 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.004 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-i386
[LOG] 0:00.006 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-i386
[LOG] 0:00.007 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.007 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.008 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.008 INFO juju.provider.ec2 opening environment "sample"
[LOG] 0:00.010 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.010 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.010 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.011 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc82028cb40]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc82028cc60]} com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc82028c6c0]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc82028c8a0]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc82028c9c0]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.011 DEBUG juju.environs.bootstrap environment "sample" supports service/machine networks: true
[LOG] 0:00.011 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.011 INFO juju.environs.bootstrap looking for bootstrap tools: version=1.99.0
[LOG] 0:00.011 INFO juju.environs.tools findng tools in stream "released"
[LOG] 0:00.011 INFO juju.environs.tools reading tools with major.minor version 1.99
[LOG] 0:00.011 INFO juju.environs.tools filtering tools by version: 1.99.0
[LOG] 0:00.012 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/check-6129484611666145821/12/tools/streams/v1/index2.json"
[LOG] 0:00.013 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.99.0 amd64 map[20150828:0xc8203fd8c0]} com.ubuntu.juju:12.04:i386:{ 1.99.0 i386 map[20150828:0xc8203fd9e0]} com.ubuntu.juju:14.04:amd64:{ 1.99.0 amd64 map[20150828:0xc8203fdb00]} com.ubuntu.juju:14.04:i386:{ 1.99.0 i386 map[20150828:0xc8203fdc20]}] map[] Fri, 28 Aug 2015 11:24:20 +0100 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.016 DEBUG juju.provider.ec2 availability zones: &{RequestId:req2 Zones:[{AvailabilityZone:{Name:test-unavailable Region:test} State:unavailable MessageSet:[]} {AvailabilityZone:{Name:test-available Region:test} State:available MessageSet:[]} {AvailabilityZone:{Name:test-impaired Region:test} State:impaired MessageSet:[]}]}
[LOG] 0:00.017 DEBUG juju.environs using image datasource "default cloud images"
[LOG] 0:00.017 DEBUG juju.environs.simplestreams read metadata index at "test:/streams/v1/index.json"
[LOG] 0:00.017 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.cloud:server:12.10:i386:{quantal 12.10 i386 map[20121218:0xc82028d4a0]} com.ubuntu.cloud:server:13.04:i386:{raring 13.04 i386 map[20121218:0xc82028d680]} com.ubuntu.cloud:server:14.04:amd64:{trusty 14.04 amd64 map[20121218:0xc82028cf00]} com.ubuntu.cloud:server:14.04:i386:{trusty 14.04 i386 map[20121218:0xc82028d0e0]} com.ubuntu.cloud:server:12.10:amd64:{quantal 12.10 amd64 map[20121218:0xc82028d320]}] map[] products:1.0 com.ubuntu.cloud:released:aws }
[LOG] 0:00.017 INFO juju.environs.instances find instance - using image with id: ami-00000033
[LOG] 0:00.017 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.044 DEBUG juju.service discovered init system "upstart" from series "trusty"
[LOG] 0:00.044 DEBUG juju.provider.ec2 ec2 user data; 514 bytes
[LOG] 0:00.049 INFO juju.provider.ec2 started instance "i-3" in "test-available"
[LOG] 0:00.053 DEBUG juju.provider.common putting "provider-state" to bootstrap storage *ec2.ec2storage
[LOG] 0:00.054 INFO juju.environs.bootstrap newest version: 1.99.0
[LOG] 0:00.054 INFO juju.environs.bootstrap picked bootstrap tools version: 1.99.0
[LOG] 0:00.054 DEBUG juju.cloudconfig.instancecfg Setting numa ctl preference to false
[LOG] 0:00.090 WARNING juju.environs.testing provider/common.FinishBootstrap is disabled
local_test.go:834:
c.Assert(errors.Cause(err), gc.Equals, environs.ErrIPAddressesExhausted)
... obtained = nil
... expected *errors.Err = &errors.Err{message:"can't allocate a new IP address", cause:error(nil), previous:error(nil), file:"github.com/juju/juju/environs/errors.go", line:18} ("can't allocate a new IP address")
OOPS: 98 passed, 2 skipped, 3 FAILED
--- FAIL: TestEC2 (4.81s)
FAIL
exit status 1
FAIL github.com/juju/juju/provider/ec2 4.853s
|