Core dump limits :
	soft - NONE
	hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking environment variables for a tempdir...none found
Checking if /dev/shm is on tmpfs...OK
Checking PROT_EXEC mmap in /dev/shm...OK
Adding 2904064 bytes to physical memory to account for exec-shield gap
Linux version 5.10.9 (root@61b06c8625a1) (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609, GNU ld (GNU Binutils for Ubuntu) 2.26.1) #1 Mon Feb 8 14:59:39 UTC 2021
Zone ranges:
  Normal   [mem 0x0000000000000000-0x00000000682c4fff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x00000000082c4fff]
Initmem setup node 0 [mem 0x0000000000000000-0x00000000082c4fff]
Built 1 zonelists, mobility grouping on.  Total pages: 32953
Kernel command line: mem=128M time-travel=inf-cpu hostfs=/ root=none rootfstype=hostfs mac80211_hwsim.radios=2 rootflags=/ init=/home/michalkazior/tmp/dpp-auth-offchan-gas-failure/uml.init env_dir=/home/michalkazior/tmp/dpp-auth-offchan-gas-failure env_cmd=./case-dpp-auth-offchan
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 117984K/133908K available (6497K kernel code, 1713K rwdata, 1864K rodata, 199K init, 240K bss, 15924K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 24
clocksource: time-travel-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
0.00 BogoMIPS (lpj=1)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Yama: becoming mindful.
SELinux:  Initializing.
TOMOYO Linux initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc+0x117/0x141 with crng_init=0
make_umid - mkstemp(/home/michalkazior/.uml/puRZPY) failed: Permission denied
Failed to initialize umid "", trying with a random umid
make_umid - mkstemp(/home/michalkazior/.uml/QRyx3O) failed: Permission denied
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: 0, 6144 bytes, linear)
NET: Registered protocol family 16
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1615192914.817:1): state=initialized audit_enabled=0 res=1
raid6: skip pq benchmark and using algorithm int64x8
raid6: using intx1 recovery algorithm
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
NetLabel:  unlabeled traffic allowed by default
clocksource: Switched to clocksource time-travel-clock
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
NET: Registered protocol family 1
printk: console [stderr0] disabled
make_umid - mkstemp(/home/michalkazior/.uml/p3kvuF) failed: Permission denied
Checking host MADV_REMOVE support...OK
Mapper v0.1
mmapper_init - find_iomem failed
Initialise system trusted keyrings
hwrng: no data available
workingset: timestamp_bits=46 max_order=15 bucket_order=0
zbud: loaded
JFS: nTxBlock = 921, nTxLock = 7374
SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
xor: automatically using best checksumming function   8regs     
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler mq-deadline registered
io scheduler kyber registered
mac80211_hwsim: initializing netlink
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
printk: console [tty0] enabled
Initializing software serial port version 1
printk: console [mc-1] enabled
Failed to initialize ubd device 0 :Couldn't determine size of device's file
registered taskstats version 1
Loading compiled-in X.509 certificates
zswap: loaded using pool lzo/zbud
Btrfs loaded, crc32c=crc32c-generic
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
VFS: Mounted root (hostfs filesystem) readonly on device 0:15.
devtmpfs: mounted
This architecture does not have kernel memory protection.
Run /home/michalkazior/tmp/dpp-auth-offchan-gas-failure/uml.init as init process
+ export USER_MODE_LINUX=y
+ USER_MODE_LINUX=y
+ mount -t proc proc /proc
+ mount -t sysfs sys /sys
+ mount -t tmpfs tmp /tmp
+ mount -t tmpfs tmp /var
+ mount -o rw,remount /
+ mkdir -p /var/run
+ ip link set lo up
+ PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
++ cut -d= -f2
++ grep -o 'env_dir=[^ ]*' /proc/cmdline
+ dir=/home/michalkazior/tmp/dpp-auth-offchan-gas-failure
++ cut -d= -f2-
++ grep -o 'env_cmd=.*' /proc/cmdline
+ cmd=./case-dpp-auth-offchan
++ dirname ''
+ PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.
+ iw dev wlan0 del
+ iw dev wlan1 del
+ iw phy phy0 interface add wlan0 type station
+ iw phy phy0 interface add wlan0_1 type station
+ iw phy phy1 interface add wlan1 type station
+ iw phy phy1 interface add wlan1_1 type station
+ mkdir -p /var/run/hostapd
+ mkdir -p /var/run/wpa_supplicant
+ rm -rf /var/run/hostapd
+ rm -rf /var/run/wpa_supplicant
+ dut='sh -axe'
+ dut_phy=phy0
+ dut_vif=wlan0
+ dut_vif2=wlan0_1
++ cat /sys/class/net/wlan0/address
+ dut_mac=02:00:00:00:00:00
++ cat /sys/class/net/wlan0_1/address
+ dut_mac2=42:00:00:00:00:00
+ ref='sh -axe'
+ ref_phy=phy1
+ ref_vif=wlan1
+ ref_vif2=wlan1_1
++ cat /sys/class/net/wlan1/address
+ ref_mac=02:00:00:00:01:00
++ cat /sys/class/net/wlan1_1/address
+ ref_mac2=42:00:00:00:01:00
+ ulimit -c unlimited
+ cd /home/michalkazior/tmp/dpp-auth-offchan-gas-failure
+ ./case-dpp-auth-offchan
+ dut=sh -axe
+ ref=sh -axe
+ ssid=test-ssid
+ tohex
+ echo -n test-ssid
+ tr -d  \n
+ od -tx1 -An
+ ssidhex=746573742d73736964
+ psk=12345678
+ tohex
+ echo -n 12345678
+ tr -d  \n
+ od -tx1 -An
+ pskhex=3132333435363738
+ confhex=307702010104202d8961acd594a13ce84028f97e5c0d652f784d70b5d6fe216ef06b5aa9ad2132a00a06082a8648ce3d030107a144034200048467341d13849741f9fdb2ce7b843ee72bb8ee284c696a228e00fec9b6ea37c48ca5fe2f021ee73081078a6805477430442c14efb85ae24461cfc3aaafcd6ee2
+ urikeyhex=30770201010420835bb02c1319ed97efff01a3db2c8da14603becd7b4c08d7423beecb4657f2cea00a06082a8648ce3d030107a144034200041555426691efc4b17688f739cdaa23663a73e875e78aae0e479f8d0e4b4e6b6f01aba682ce0997c0e9242515cb6b4326daa5caccfcd5a629e6641c1c0b1bfa3e
+ urikeypk=95a7c4aa285f8fb0dff4c7de0cb6c7d1a00f9a2300f5a2954c9e8ec591001dbc
+ urikeychirp=479af679f6e9e14926d0b357be084d3348ff54c23b8d9c28ba75905491c152dc
+ dppconn=eyJ0eXAiOiJkcHBDb24iLCJraWQiOiJfNURkaUZVZ3dYZXJWTlktaHlDY2hqZmg3Si1nakN0R0RVZE9PMm1na1lZIiwiYWxnIjoiRVMyNTYifQ.eyJncm91cHMiOlt7Imdyb3VwSWQiOiIqIiwibmV0Um9sZSI6ImFwIn1dLCJuZXRBY2Nlc3NLZXkiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTI1NiIsIngiOiJzOEZOTVJDVi02QWhWTDV6RVRIMlloeklreHUyRFdpelFVWXdnandCMHJjIiwieSI6InBDT0ZvMjllZ3lnSmZNMzBESlFqa3lLMUF2UFdBUGtQLUlvQ284Q3cwaGMifX0._VVcNqEE-GONeAmqrtc-7jsVrVHSZprlLklMJBFb6R7-SOXtleqryCQxQbQkLWZ9sL8qeZvnA2z1NIHQmio5jw
+ dppcsign=3059301306072a8648ce3d020106082a8648ce3d030107034200048467341d13849741f9fdb2ce7b843ee72bb8ee284c696a228e00fec9b6ea37c48ca5fe2f021ee73081078a6805477430442c14efb85ae24461cfc3aaafcd6ee2
+ dppnet=3077020101042001444f5f096619c8ba3a47e7d5bfbe237def3908cc278d6b42f65de49d04513ba00a06082a8648ce3d030107a14403420004b3c14d311095fba02154be731131f6621cc8931bb60d68b3414630823c01d2b7a42385a36f5e8328097ccdf40c94239322b502f3d600f90ff88a02a3c0b0d217
+ setchan 1 11
+ chan_sta=1
+ chan_ap=11
+ expr 1 * 5 + 2407
+ dppfreq_sta=2412
+ expr 11 * 5 + 2407
+ dppfreq_ap=2462
+ dppchan=C:81/1;
+ uri=DPP:C:81/1;V:2;K:MDkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDIgACFVVCZpHvxLF2iPc5zaojZjpz6HXniq4OR5+NDktOa28=;;
+ sh -axe
+ cat
+ hostapd -B /tmp/hapd -f /tmp/hapd.log -dd -t
random: hostapd: uninitialized urandom read (4096 bytes read)
random: hostapd: uninitialized urandom read (4096 bytes read)
random: hostapd: uninitialized urandom read (4096 bytes read)
+ sh -axe
+ cat
+ wpa_supplicant -B -i wlan1 -c /tmp/wpas -dd -f /tmp/wpas.log -t
+ wpa_cli -i wlan1 dpp_bootstrap_gen type=qrcode key=30770201010420835bb02c1319ed97efff01a3db2c8da14603becd7b4c08d7423beecb4657f2cea00a06082a8648ce3d030107a144034200041555426691efc4b17688f739cdaa23663a73e875e78aae0e479f8d0e4b4e6b6f01aba682ce0997c0e9242515cb6b4326daa5caccfcd5a629e6641c1c0b1bfa3e
1+ wpa_cli -i wlan1 dpp_listen 2412
OK
+ sh -axe
+ hostapd_cli -i wlan0 dpp_configurator_add key=307702010104202d8961acd594a13ce84028f97e5c0d652f784d70b5d6fe216ef06b5aa9ad2132a00a06082a8648ce3d030107a144034200048467341d13849741f9fdb2ce7b843ee72bb8ee284c696a228e00fec9b6ea37c48ca5fe2f021ee73081078a6805477430442c14efb85ae24461cfc3aaafcd6ee2
1+ hostapd_cli -i wlan0 set dpp_configurator_connectivity 1
OK
+ hostapd_cli -i wlan0 dpp_qr_code DPP:C:81/1;V:2;K:MDkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDIgACFVVCZpHvxLF2iPc5zaojZjpz6HXniq4OR5+NDktOa28=;;
1+ hostapd_cli -i wlan0 dpp_auth_init configurator=1 peer=1 ssid=746573742d73736964 pass=3132333435363738 conf=sta-psk
OK
+ sh -axe
+ timeout 30 sh -c 
		while ! hostapd_cli -i wlan0 list_sta | grep 02:00:00:00:01:00
		do
			sleep 1
		done
	
random: fast init done
+ cp /tmp/hapd.log /tmp/wpas.log logs/./case-dpp-auth-offchan/
+ halt -f -p
Powering off.
reboot: System halted
remove_umid_dir - remove_files_and_dir failed with err = -13

