Skip to content

Instantly share code, notes, and snippets.

@bradfitz
Created August 4, 2017 04:21
Show Gist options
  • Save bradfitz/3a6ba42ed3f9d7a47338e2172cfab9bb to your computer and use it in GitHub Desktop.
Save bradfitz/3a6ba42ed3f9d7a47338e2172cfab9bb to your computer and use it in GitHub Desktop.
$ debugnewvm --host=host-netbsd-8branch --run-build=netbsd-amd64-8branch
2017/08/04 04:17:59 Creating debug-temp-1501820279 (with VM image "netbsd-amd64-8branch")
2017/08/04 04:18:00 instance requested
2017/08/04 04:18:09 instance created
2017/08/04 04:18:09 got instance info
2017/08/04 04:18:09 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:14 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:14 SERIAL: SeaBIOS (version 1.8.2-20170524_173944-google)
Total RAM Size = 0x0000000073300000 = 1843 MiB
CPUs found: 2 Max CPUs supported: 2
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=8388608 = 4096 MiB
drive 0x000f3200: PCHS=0/0/0 translation=lba LCHS=522/255/63 s=8388608
Booting from Hard Disk 0...
>> NetBSD/x86 BIOS Boot, Revision 5.10 (from NetBSD 8.0_BETA)
>> Memory: 639/1886196 k
1. Boot normally
2. Boot single user
3. Disable ACPI
4. Disable ACPI and SMP
5. Drop to boot prompt
Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 0 seconds.
17979608+813388+1283764 [1179816+812239+12725]=0x15ea210
Loading /var/db/entropy-file
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 8.0_BETA (GENERIC.201708010920Z)
total memory = 1842 MB
avail memory = 1767 MB
cpu_rng: RDRAND
rnd: seeded with 128 bits
running cgd selftest aes-xts-256 aes-xts-512 done
mainbus0 (root)
ACPI: RSDP 0x00000000000F3240 000014 (v00 Google)
ACPI: RSDT 0x00000000732FDF00 000034 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
ACPI: FACP 0x00000000732FFF00 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
ACPI: DSDT 0x00000000732FDF40 0015A3 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
ACPI: FACS 0x00000000732FFEC0 000040
ACPI: FACS 0x00000000732FFEC0 000040
ACPI: SSDT 0x00000000732FF610 0008A4 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
ACPI: APIC 0x00000000732FF520 000076 (v01 Google GOOGAPIC 00000001 GOOG 00000001)
ACPI: WAET 0x00000000732FF4F0 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 2 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 0
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Xeon(R) CPU @ 2.50GHz, id 0x306e4
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 1
cpu1: Intel(R) Xeon(R) CPU @ 2.50GHz, id 0x306e4
cpu1: package 0, core 0, smt 1
acpi0 at mainbus0: Intel ACPICA 20170303
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
COM1 (PNP0501) at acpi0 not configured
COM2 (PNP0501) at acpi0 not configured
COM3 (PNP0501) at acpi0 not configured
COM4 (PNP0501) at acpi0 not configured
PEVT (QEMU0001) at acpi0 not configured
ACPI: Enabled 16 GPEs in block 00 to 0F
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 8086 product 1237 (rev. 0x02)
pcib0 at pci0 dev 1 function 0: vendor 8086 product 7110 (rev. 0x03)
piixpm0 at pci0 dev 1 function 3: vendor 8086 product 7113 (rev. 0x03)
piixpm0: SMBus disabled
virtio0 at pci0 dev 3 function 0
virtio0: Virtio SCSI Device (rev. 0x00)
vioscsi0 at virtio0: Features: 0x0
vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 32 max_target 253 max_lun 1
virtio0: config interrupting at msix0 vec 0
virtio0: queues interrupting at msix0 vec 1
scsibus0 at vioscsi0: 16 targets, 1 lun per target
virtio1 at pci0 dev 4 function 0
virtio1: Virtio Network Device (rev. 0x00)
vioif0 at virtio1: Features: 0x30020<CTRL_VQ,STATUS,MAC>
vioif0: Ethernet address 42:01:0a:f0:00:15
2017/08/04 04:18:15 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:19 SERIAL: virtio1: config interrupting at msix1 vec 0
virtio1: queues interrupting at msix1 vec 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
spkr0 at pcppi0: PC Speaker
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer0: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu1 at cpu1: ACPI CPU
sd0 at scsibus0 target 2 lun 0: <Google, PersistentDisk, 1> disk fixed
sd0: fabricating a geometry
sd0: 4096 MB, 4096 cyl, 64 head, 32 sec, 512 bytes/sect x 8388608 sectors
sd0: fabricating a geometry
sd0: async, 8-bit transfers, tagged queueing
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
spkr1 at audio0: PC Speaker (synthesized)
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
kern.module.path=/stand/amd64/8.0/modules
Fri Aug 4 04:18:16 UTC 2017
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
swapctl: setting dump device to /dev/sd0b
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces: vioif0vioif0: carrier acquired
DUID 00:01:00:01:21:16:ad:f9:52:54:00:12:34:56
vioif0: IAID 0a:f0:00:15
vioif0: adding address fe80::5076:7fb5:cf0a:3284
vioif0: soliciting an IPv6 router
vioif0: soliciting a DHCP lease
vioif0: offered 10.240.0.21 from 169.254.169.254
2017/08/04 04:18:20 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:21 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:24 SERIAL: vioif0: leased 10.240.0.21 for 86400 seconds
vioif0: adding route to 10.240.0.21/32
vioif0: adding host route to 255.255.255.255
vioif0: adding default route via 10.240.0.1
vioif0: Setting hostname: debug-temp-1501820279.c.symbolic-datum-552.internal
forked to background, child pid 285
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
route: 10.240.0.21/1: bad value
.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
B
2017/08/04 04:18:25 SERIAL: uilding databases: dev, utmp, utmpx.
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Checking quotas: done.
swapctl: setting dump device to /dev/sd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
+ echo 'starting buildlet script'
+ command echo 'starting buildlet script'
starting buildlet script
+ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 10.240.0.1 UGS - - 1460 vioif0
10.240.0.21 link#2 UHC - - 1460 vioif0
10.240.0.21/32 link#2 UC - - - vioif0
127/8 127.0.0.1 UGRS - - 33624 lo0
127.0.0.1 lo0 UHl - - 33624 lo0
255.255.255.255 link#2 UHCS - - 1460 vioif0
Internet6:
Destination Gateway Flags Refs Use Mtu Interface
::/104 ::1 UGRS - - 33624 lo0
::/96 ::1 UGRS - - 33624 lo0
::1 lo0 UHl - - 33624 lo0
::127.0.0.0/104 ::1 UGRS - - 33624 lo0
::224.0.0.0/100 ::1 UGRS - - 33624 lo0
::255.0.0.0/104 ::1 UGRS - - 33624 lo0
::ffff:0.0.0.0/96 ::1 UGRS - - 33624 lo0
2001:db8::/32 ::1 UGRS - - 33624 lo0
2002::/24 ::1 UGRS - - 33624 lo0
2002:7f00::/24 ::1 UGRS - - 33624 lo0
2002:e000::/20 ::1 UGRS - - 33624 lo0
2002:ff00::/24 ::1 UGRS - - 33624 lo0
fe80::/10 ::1 UGRS - - 33624 lo0
fe80::%lo0/64 fe80::1 U - - - lo0
fe80::1 lo0 UHl - - - lo0
fe80::%vioif0/64 link#2 UC - - - vioif0
fe80::5076:7fb5:cf0a:3284 link#2 UHl - - - lo0
ff01:1::/32 ::1 UC - - 33624 lo0
ff01:2::/32 link#2 UC - -
2017/08/04 04:18:26 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:27 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:30 SERIAL: - vioif0
ff02::%lo0/32 ::1 UC - - 33624 lo0
ff02::%vioif0/32 link#2 UC - - - vioif0
+ cat /etc/resolv.conf
# Generated by resolvconf
domain c.symbolic-datum-552.internal
search c.symbolic-datum-552.internal google.internal
nameserver 169.254.169.254
+ dig metadata.google.internal
/usr/src/external/bsd/bind/dist/lib/isc/unix/socket.c:2134: internal_send: 169.254.169.254#53: Invalid argument
/usr/src/external/bsd/bind/dist/lib/isc/unix/socket.c:2134: internal_send: 169.254.169.254#53: Invalid argument
2017/08/04 04:18:32 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:33 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:35 SERIAL: /usr/src/external/bsd/bind/dist/lib/isc/unix/socket.c:2134: internal_send: 169.254.169.254#53: Invalid argument
2017/08/04 04:18:38 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:39 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:40 SERIAL: ; <<>> DiG 9.10.5-P1 <<>> metadata.google.internal
;; global options: +cmd
;; connection timed out; no servers could be reached
+ set -e
+ curl -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/buildlet-binary-url'
curl: (6) Couldn't resolve host 'metadata.google.internal'
+ curl -o /buildlet
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
+ echo 'giving up'
+ command echo 'giving up'
giving up
+ sleep 10
2017/08/04 04:18:44 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:45 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:50 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:50 SERIAL: + halt -p
Aug 4 04:18:49 debug-temp-1501820279 halt: halted by root
Aug 4 04:18:49
2017/08/04 04:18:51 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:18:51 SERIAL: arpresolve: failed to create llentry for 10.240.0.1 on vioif0
2017/08/04 04:18:53 SERIAL: arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
2017/08/04 04:18:55 SERIAL: arpresolve: failed to create llentry for 10.240.0.1 on vioif0
arpresolve: failed to create llentry for 10.240.0.1 on vioif0
2017/08/04 04:18:56 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:18:56 SERIAL: syncing disks... done
sysbeep0: detached
midi0: detached
com1: detached
pchb0: detached
sd0: detached
scsibus0: detached
vioscsi0: detached
acpi0: entering state S5 virtio0: detached
2017/08/04 04:18:57 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:19:02 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2017/08/04 04:19:03 About to hit http://10.240.0.21 to see if buildlet is up yet...
2017/08/04 04:19:08 client buildlet probe error: Get http://10.240.0.21: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment