Re: Build failed in Jenkins: FreeBSD_HEAD #220

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 29 Apr 2016 13:02:36 -0700
On Friday, April 29, 2016 06:58:41 PM jenkins-admin_at_FreeBSD.org wrote:
> See <https://jenkins.FreeBSD.org/job/FreeBSD_HEAD/220/>
> 
> ------------------------------------------
> [...truncated 312087 lines...]
> For shebangs, you should either use:
> 
> #!/usr/local/bin/perl
> 
> or
> 
> #!/usr/bin/env perl
> 
> The first one will only work if you have a /usr/local/bin/perl,
> the second will work as long as perl is in PATH.
> Message from bash-4.3.42_1:
> ======================================================================
> 
> bash requires fdescfs(5) mounted on /dev/fd
> 
> If you have not done it yet, please do the following:
> 
> 	mount -t fdescfs fdesc /dev/fd
> 
> To make it permanent, you need the following lines in /etc/fstab:
> 
> 	fdesc	/dev/fd		fdescfs		rw	0	0
> 
> ======================================================================
> + [ -n '' ]
> + sudo rm -fr /builds/workspace/FreeBSD_HEAD/image/src
> + sudo mkdir -p /builds/workspace/FreeBSD_HEAD/image/src
> + sudo rm -fr /builds/workspace/FreeBSD_HEAD/image/src/test.img
> + sudo makefs -d 6144 -t ffs -f 200000 -s 2g -o version=2,bsize=32768,fsize=4096,label=TESTROOT /builds/workspace/FreeBSD_HEAD/image/src/test.img /builds/workspace/FreeBSD_HEAD/package/src
> debug mask: 0x00001800
> start time: 1461955589.134599000, Fri Apr 29 18:46:29 2016
> ffs_validate: before defaults set:
> fsopts at 0x7fffffffe8e0
> 	size 0, inodes 0, curinode 0
> 	minsize 2147483648, maxsize 2147483648
> 	free files 200000, freefile % 0
> 	free blocks 0, freeblock % 0
> 	needswap 0, sectorsize -1
> 	bsize 32768, fsize 4096, cpg -1, density -1
> 	nsectors 0, rpm 0, minfree -1
> 	maxcontig -1, maxbpg -1
> 	optimization time
> ffs_validate: size of tree: 1482723328 bytes, 24002 inodes
> ffs_validate: after defaults set:
> fsopts at 0x7fffffffe8e0
> 	size 2147483648, inodes 224002, curinode 0
> 	minsize 2147483648, maxsize 2147483648
> 	free files 200000, freefile % 0
> 	free blocks 0, freeblock % 0
> 	needswap 0, sectorsize 512
> 	bsize 32768, fsize 4096, cpg 65536, density 9587
> 	nsectors 0, rpm 0, minfree 8
> 	maxcontig 2, maxbpg 8192
> 	optimization time
> ffs_validate: dir /builds/workspace/FreeBSD_HEAD/package/src; 2147483648 bytes, 224002 inodes
> Calculated size of `/builds/workspace/FreeBSD_HEAD/image/src/test.img': 2147483648 bytes, 224002 inodes
> zero-ing image `/builds/workspace/FreeBSD_HEAD/image/src/test.img', 2147483648 sectors, using 8192 byte chunks
> calling mkfs("/builds/workspace/FreeBSD_HEAD/image/src/test.img", ...)
> Extent size set to 32768
> /builds/workspace/FreeBSD_HEAD/image/src/test.img: 2048.0MB (4194304 sectors) block size 32768, fragment size 4096
> 	using 4 cylinder groups of 626.31MB, 20042 blks, 80256 inodes.
> super-block backups (for fsck -b #) at:
>       64, 1282752, 2565440, 3848128,debug mask: 0x00001800
> start time: 1461955589.134599000, Fri Apr 29 18:46:29 2016
> ffs_validate: before defaults set:
> fsopts at 0x7fffffffe8e0
> 	size 0, inodes 0, curinode 0
> 	minsize 2147483648, maxsize 2147483648
> 	free files 200000, freefile % 0
> 	free blocks 0, freeblock % 0
> 	needswap 0, sectorsize -1
> 	bsize 32768, fsize 4096, cpg -1, density -1
> 	nsectors 0, rpm 0, minfree -1
> 	maxcontig -1, maxbpg -1
> 	optimization time
> ffs_validate: size of tree: 1482723328 bytes, 24002 inodes
> ffs_validate: after defaults set:
> fsopts at 0x7fffffffe8e0
> 	size 2147483648, inodes 224002, curinode 0
> 	minsize 2147483648, maxsize 2147483648
> 	free files 200000, freefile % 0
> 	free blocks 0, freeblock % 0
> 	needswap 0, sectorsize 512
> 	bsize 32768, fsize 4096, cpg 65536, density 9587
> 	nsectors 0, rpm 0, minfree 8
> 	maxcontig 2, maxbpg 8192
> 	optimization time
> ffs_validate: dir /builds/workspace/FreeBSD_HEAD/package/src; 2147483648 bytes, 224002 inodes
> Calculated size of `/builds/workspace/FreeBSD_HEAD/image/src/test.img': 2147483648 bytes, 224002 inodes
> zero-ing image `/builds/workspace/FreeBSD_HEAD/image/src/test.img', 2147483648 sectors, using 8192 byte chunks
> calling mkfs("/builds/workspace/FreeBSD_HEAD/image/src/test.img", ...)
> Extent size set to 32768
> /builds/workspace/FreeBSD_HEAD/image/src/test.img: 2048.0MB (4194304 sectors) block size 32768, fragment size 4096
> 	using 4 cylinder groups of 626.31MB, 20042 blks, 80256 inodes.
> super-block backups (for fsck -b #) at:
>       64, 1282752, 2565440, 3848128,
> mkfs returned 0x644770; fs_time Fri Apr 29 18:46:29 2016
> fs totals: nbfree 63018, nffree 7, nifree 321022, ndir 0
> Populating `/builds/workspace/FreeBSD_HEAD/image/src/test.img'
> Image `/builds/workspace/FreeBSD_HEAD/image/src/test.img' complete
> + sudo chmod a+w /builds/workspace/FreeBSD_HEAD/image/src/test.img
> [Pipeline] } //withEnv
> [Pipeline] Set environment variables : End
> [Pipeline] } //dir
> [Pipeline] Change current directory : End
> [Pipeline] readFile
> [Pipeline] } //node
> [Pipeline] Allocate node : End
> [Pipeline] Allocate node : Start
> Still waiting to schedule task
> havoc.ysv.freebsd.org is offline
> Running on havoc.ysv.freebsd.org in /builds/workspace/FreeBSD_HEAD
> [Pipeline] node {
> [Pipeline] Change current directory : Start
> Running in /builds/workspace/FreeBSD_HEAD/freebsd-ci
> [Pipeline] dir {
> [Pipeline] git
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://github.com/freebsd/freebsd-ci.git # timeout=10
> Fetching upstream changes from https://github.com/freebsd/freebsd-ci.git
>  > git --version # timeout=10
>  > git -c core.askpass=true fetch --tags --progress https://github.com/freebsd/freebsd-ci.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision 926429031e0241da821577c12b4b8f7db789e7e1 (refs/remotes/origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 926429031e0241da821577c12b4b8f7db789e7e1 # timeout=10
>  > git branch -a -v --no-abbrev # timeout=10
>  > git branch -D master # timeout=10
>  > git checkout -b master 926429031e0241da821577c12b4b8f7db789e7e1
> [Pipeline] } //dir
> [Pipeline] Change current directory : End
> [Pipeline] writeFile
> [Pipeline] stage (Test)
> Entering stage Test
> Proceeding
> [Pipeline] sh
> [FreeBSD_HEAD] Running shell script
> + sudo python freebsd-ci/scripts/test/run-tests.py -f config.json
> bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	ether 02:27:d1:9a:45:01
> 	inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 
> 	nd6 options=1<PERFORMNUD>
> 	groups: bridge 
> 	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
> 	maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
> 	root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
> 	member: tap10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
> 	        ifmaxaddr 0 port 11 priority 128 path cost 2000000
> tap10: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=80000<LINKSTATE>
> 	ether 00:bd:b4:7e:40:0a
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	media: Ethernet autoselect
> 	status: no carrier
> 	groups: tap 
> ['ifconfig', u'bridge1']
> 
> bhyveload -m 2G -d /net/jenkins-10.freebsd.org//builds/workspace/FreeBSD_HEAD/image/src/test.img vm_test
> Consoles: userboot  
> 
> FreeBSD/amd64 User boot, Revision 1.1
> (peter_at_build-11.freebsd.org, Wed Mar  2 16:38:12 UTC 2016)
> |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading /boot/defaults/loader.conf
> |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-  ```                        `s` `.....---.......--.```   -/+o   .--`         /y:`      +. yo`:.            :o      `+-  y/               -/`   -o/ .-                  ::/sy+:. /                     `--  /`:                          :``:                          :` /                          / .-                        -.  --                      -.   `:`                  `:`     .--             `--.        .---.....----.\|/-  ______               ____   _____ _____  |  ____|             |  _ \ / ____|  __ \ | |___ _ __ ___  ___ | |_) | (___ | |  | ||  ___| '__/ _ \/ _ \|  _ < \___ \| |  | || |   | | |  __/  __/| |_) |____) | |
>  __| |[6
>  ;2H| |   | | |    |    ||     |      |      ||_|   |_|  \___|\___||____/|_____/|_____/ ||||||||||||||||||||||||==================================================================================++++\|/-\|/-\|/-\|/Welcome to FreeBSD1 .Boot Multi User [Enter]2 .Boot [S]ingle User3 .[Esc]ape to loader prompt4 .RebootOptions:5 .[K]ernel: kernel (1 of 2)6 .Configure Boot [O]ptions...Autoboot in 9 seconds. [Space] to pauseAutoboot in 8 seconds. [Space] to pauseAutoboot in 7 seconds. [Space] to pauseAutoboot in 6 seconds. [Space] to pause
>  [23;4HAu
>  toboot in 5 seconds. [Space] to pauseAutoboot in 4 seconds. [Space] to pauseAutoboot in 3 seconds. [Space] to pauseAutoboot in 2 seconds. [Space] to pauseAutoboot in 1 seconds. [Space] to pause                                       -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\/boot/kernel/kernel text=0x1403a80 |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/data=0x135838+0x4e6478 -\|/-\|/-\syms=[0x8+0x160590|/-\|/-\|/-+0x8+0x178b73\|/-\|/-\|/-]
> \|/-\|/-\|/-Booting...
> \|/-bhyve -c 2 -m 2G -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap10,mac=58:9c:fc:00:00:2e -s 3:0,ahci-hd,/net/jenkins-10.freebsd.org//builds/workspace/FreeBSD_HEAD/image/src/test.img -l com1,stdio vm_test
> GDB: no debug ports present
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2016 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 11.0-CURRENT #56 r298786: Fri Apr 29 18:33:18 UTC 2016
>     jenkins_at_jenkins-10.freebsd.org:/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/sys/GENERIC amd64
> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
> WARNING: WITNESS option enabled, expect reduced performance.
> VT(vga): text 80x25
> CPU: Intel(R) Xeon(R) CPU           E5620  _at_ 2.40GHz (2399.75-MHz K8-class CPU)
>   Origin="GenuineIntel"  Id=0x206c2  Family=0x6  Model=0x2c  Stepping=2
>   Features=0x9f83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS,HTT,PBE>
>   Features2=0x829e6217<SSE3,PCLMULQDQ,DTES64,DS_CPL,SSSE3,CX16,xTPR,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI,HV>
>   AMD Features=0x24100800<SYSCALL,NX,Page1GB,LM>
>   AMD Features2=0x1<LAHF>
>   TSC: P-state invariant
> Hypervisor: Origin = "bhyve bhyve "
> real memory  = 2147483648 (2048 MB)
> avail memory = 2034466816 (1940 MB)
> Event timer "LAPIC" quality 600
> ACPI APIC Table: <BHYVE  BVMADT  >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 2 package(s)
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> random: entropy device external interface
> kbd1 at kbdmux0
> netmap: loaded module
> module_register_init: MOD_LOAD (vesa, 0xffffffff80f10fb0, 0) error 19
> vtvga0: <VT VGA driver> on motherboard
> cryptosoft0: <software crypto> on motherboard
> acpi0: <BHYVE BVXSDT> on motherboard
> Unhandled inl 0x0402 at 0xffffffff8039c2bd

This is a read of the PM1 enable register.  In bhyve this is treated as a 16-bit
register, so only inw/outw is permitted.

Hmm, PM1a is defined as 16-bits in the spec, so this seems to be an error in
the recent ACPICA import.  I note that the bitwidth calculations changed in
hwregs.c in the most recent import.  Perhaps those are incorrect?

I suspect that this might also explain the issue Kurt Lidl reported of a VM
shutting down after spewing errors related to FixedEvents and GPEs.

-- 
John Baldwin
Received on Fri Apr 29 2016 - 18:02:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC