Ubuntu Pastebin

Paste from Chipaca at Thu, 29 Oct 2015 16:33:14 +0000

Download as text
 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
localhost login: adt-run [16:32:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup
adt-run [16:32:10]: testbed dpkg architecture: amd64
adt-run [16:32:10]: testbed running kernel: Linux 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015
adt-run [16:32:10]: @@@@@@@@@@@@@@@@@@@@ built-tree /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy
adt-run [16:32:10]: testing package ubuntu-snappy version 1.6ubuntu1
adt-run [16:32:10]: test command1: preparing testbed
adt-run [16:32:10]: Updating AppArmor rules to allow autopilot introspection for all clicks (will take a minute)...
WARN: --include specified, including '/var/cache/apparmor/click-ap.rules' in all profiles
ERROR: Could not parse click manifest. Skipping 'generic-amd64_snappy-config_1.4.json'
adt-run [16:32:12]: test command1: ./_integration-tests/scripts/reboot-wrapper integration.test -gocheck.f loginSuite.*
adt-run [16:32:12]: test command1: [-----------------------
sudo systemctl stop snappy-autopilot.timer
sudo systemctl disable snappy-autopilot.timer
Removed symlink /etc/systemd/system/multi-user.target.wants/snappy-autopilot.timer.
START: <autogenerated>:72: loginSuite.SetUpSuite
PASS: <autogenerated>:72: loginSuite.SetUpSuite	0.000s

START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:96: loginSuite.TestLoginFailure
START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:67: loginSuite.SetUpTest
****** Running loginSuite.TestLoginFailure
snappy list
Name          Date       Version Developer 
ubuntu-core   2015-10-23 208     ubuntu    
generic-amd64 2015-10-29 1.4     canonical 
Who are you?  You're not a terminal.
sudo iptables -t nat -A OUTPUT -p tcp -d login.ubuntu.com --dport 80 -j DNAT --to-destination 127.0.0.1:45029
PASS: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:67: loginSuite.SetUpTest	0.099s

START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:80: loginSuite.TearDownTest
sudo iptables -t nat -D OUTPUT -p tcp -d login.ubuntu.com --dport 80 -j DNAT --to-destination 127.0.0.1:45029
PASS: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:80: loginSuite.TearDownTest	0.037s

PASS: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:96: loginSuite.TestLoginFailure	0.000s

START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:86: loginSuite.TestLoginSuccess
START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:67: loginSuite.SetUpTest
****** Running loginSuite.TestLoginSuccess
snappy list
Name          Date       Version Developer 
ubuntu-core   2015-10-23 208     ubuntu    
generic-amd64 2015-10-29 1.4     canonical 
Who are you?  You're not a terminal.
sudo iptables -t nat -A OUTPUT -p tcp -d login.ubuntu.com --dport 80 -j DNAT --to-destination 127.0.0.1:40925
PASS: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:67: loginSuite.SetUpTest	0.053s

prompt:  
sudo tail -n 10 /var/log/syslog
Oct 29 16:32:08 localhost systemd[1]: Started User Manager for UID 1000.
Oct 29 16:32:10 localhost kernel: [   21.278418] random: nonblocking pool is initialized
Oct 29 16:32:11 localhost systemd[1]: Stopped Ubuntu Core Snappy Autopilot.
Oct 29 16:32:11 localhost systemd[1]: Reloading.
Oct 29 16:32:11 localhost kernel: [   22.947554] ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 29 16:32:11 localhost kernel: [   22.953193] nf_conntrack version 0.5.0 (3910 buckets, 15640 max)
Oct 29 16:32:11 localhost snappy[1493]: cmd_login.go:78: DEBUG: user: loginname
Oct 29 16:32:11 localhost snappy[1493]: cmd_login.go:79: DEBUG: inappropriate ioctl for device
Oct 29 16:32:11 localhost snappy[1493]: cmd_login.go:80: DEBUG: pass:
Oct 29 16:32:11 localhost snappy[1493]: main.go:57: DEBUG: [snappy login loginname] failed: inappropriate ioctl for device
/home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:91:
    ...open /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go: no such file or directory
... value *os.PathError = &os.PathError{Op:"write", Path:"|1", Err:0x20} ("write |1: broken pipe")
... error writting credentials

START: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:80: loginSuite.TearDownTest
sudo iptables -t nat -D OUTPUT -p tcp -d login.ubuntu.com --dport 80 -j DNAT --to-destination 127.0.0.1:40925
PASS: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:80: loginSuite.TearDownTest	0.036s

FAIL: /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/tests/login_test.go:86: loginSuite.TestLoginSuccess

--- FAIL: Test (0.24s)
FAIL
OOPS: 1 passed, 1 FAILED
adt-run [16:32:13]: test command1: -----------------------]
adt-run [16:32:13]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1
adt-run [16:32:13]: Restoring click package AppArmor rules
ERROR: Could not parse click manifest. Skipping 'generic-amd64_snappy-config_1.4.json'
adt-run [16:32:13]: @@@@@@@@@@@@@@@@@@@@ summary
command1             FAIL non-zero exit status 1
qemu: terminating on signal 15 from pid 5350
Connection to localhost closed by remote host.
2015/10/29 16:32:14 Error while running [adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -b -i /tmp/snappy-test/image/snappy-rolling-edge-208.img]: exit status 4
panic: Error while running [adt-run -B --setup-commands touch /run/autopkgtest_no_reboot.stamp --override-control _integration-tests/data/output/control --built-tree /home/john/canonical/snappy/src/github.com/ubuntu-core/snappy --output-dir /tmp/snappy-test/output --- ssh -s /usr/share/autopkgtest/ssh-setup/snappy -- -b -i /tmp/snappy-test/image/snappy-rolling-edge-208.img]: exit status 4


goroutine 1 [running]:
log.Panicf(0x635a20, 0x1b, 0xc8200b9a80, 0x2, 0x2)
	/usr/lib/go/src/log/log.go:327 +0xd8
github.com/ubuntu-core/snappy/_integration-tests/testutils.ExecCommand(0xc82009a500, 0x12, 0x14, 0x0, 0x0)
	/home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/testutils/testutils.go:58 +0x3ca
github.com/ubuntu-core/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).adtRun(0xc8200155c0, 0xc82001e310, 0x6e, 0x0, 0x0)
	/home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:89 +0x4a3
github.com/ubuntu-core/snappy/_integration-tests/testutils/autopkgtest.(*Autopkgtest).AdtRunLocal(0xc8200155c0, 0xc8200156c0, 0x32, 0x0, 0x0)
	/home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/testutils/autopkgtest/autopkgtest.go:65 +0x63
main.main()
	/home/john/canonical/snappy/src/github.com/ubuntu-core/snappy/_integration-tests/main.go:99 +0x97b
exit status 2
Download as text