On Thursday, August 4, 2016 at 1:18:49 PM UTC-4, Nick Owens wrote:
>
> hi gary, 
>
> just to confirm - you are running the coreos sdk on amd64, and have 
> compiled coreos for arm64-usr board? 
>

Correct.
 

>
> to make sure the image itself is working, can you do: 
>
> ./image_to_vm.sh --board=arm64-usr --format=qemu_uefi --prod_image 
> cd ../build/images/arm64-usr/latest/ 
> ./coreos_production_qemu_uefi.sh 
>
> it should run the arm64 image in qemu. 
>

That works.
 

>
> if that is working fine, can you try `sudo kola run --debug 
> coreos.basic`, or `sudo kola spawn --debug -r -s`? 
>

Still failed.   But from running coreos_production_qemu_uefi.sh,  I 
realized that kola was not waiting nearly long enough for the image to 
boot.   If I change the sshRetries count used by commonMachineChecks() to 
match the qemu boot time that I'm seeing (~ 100 seconds), then things start 
to work:  

sudo ../../../../third_party/mantle/bin/kola run --debug coreos.basic

2016-08-05T14:44:17Z cli: Started logging at level DEBUG

2016-08-05T14:44:17Z kola: === RUN coreos.basic on qemu

2016-08-05T14:44:17Z etcdserver: name = simple

2016-08-05T14:44:17Z etcdserver: data dir = /tmp/simple-etcd-970987388

2016-08-05T14:44:17Z etcdserver: member dir = 
/tmp/simple-etcd-970987388/member

2016-08-05T14:44:17Z etcdserver: heartbeat = 100ms

2016-08-05T14:44:17Z etcdserver: election = 1000ms

2016-08-05T14:44:17Z etcdserver: snapshot count = 0

2016-08-05T14:44:17Z etcdserver: advertise client URLs = 
http://10.0.0.1:46668,http://10.1.0.1:46668,http://10.2.0.1:46668,http://[fd00::1]:46668,http://[fd01::1]:46668,http://[fd02::1]:46668

2016-08-05T14:44:17Z etcdserver: initial advertise peer URLs = 
http://localhost:0

2016-08-05T14:44:17Z etcdserver: initial cluster = simple=http://localhost:0

2016-08-05T14:44:17Z util: dnsmasq[10445]: started, version 2.75 cachesize 
150

2016-08-05T14:44:17Z util: dnsmasq[10445]: compile time options: IPv6 
GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack 
ipset no-auth no-DNSSEC loop-detect inotify

2016-08-05T14:44:17Z util: dnsmasq[10445]: warning: no upstream servers 
configured

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCP, static leases only on 
10.2.0.1, lease time 1h

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCP, static leases only on 
10.1.0.1, lease time 1h

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCP, static leases only on 
10.0.0.1, lease time 1h

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCPv4-derived IPv6 names 
on fd02::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: router advertisement on 
fd02::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCPv4-derived IPv6 names 
on fd01::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: router advertisement on 
fd01::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: DHCPv4-derived IPv6 names 
on fd00::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: router advertisement on 
fd00::

2016-08-05T14:44:17Z util: dnsmasq-dhcp[10445]: IPv6 router advertisement 
enabled

2016-08-05T14:44:17Z util: dnsmasq[10445]: cleared cache

2016-08-05T14:44:17Z etcdserver: starting member f3620cbbbe7cd162 in 
cluster 3bd8c6452814d712

2016-08-05T14:44:17Z raft: f3620cbbbe7cd162 became follower at term 0

2016-08-05T14:44:17Z raft: newRaft f3620cbbbe7cd162 [peers: [], term: 0, 
commit: 0, applied: 0, lastindex: 0, lastterm: 0]

2016-08-05T14:44:17Z raft: f3620cbbbe7cd162 became follower at term 1

2016-08-05T14:44:17Z etcdserver: set snapshot count to default 10000

2016-08-05T14:44:17Z etcdserver: starting server... [version: 2.3.0, 
cluster version: to_be_decided]

2016-08-05T14:44:17Z network/ntp: Started NTP server on [::]:123

2016-08-05T14:44:17Z etcdserver: added local member f3620cbbbe7cd162 
[http://localhost:0] to cluster 3bd8c6452814d712

2016-08-05T14:44:18Z etcdhttp: [PUT] 
/v2/keys/discovery/249808780766422577/_config/size remote:10.0.0.1:52163

2016-08-05T14:44:18Z raft: f3620cbbbe7cd162 is starting a new election at 
term 1

2016-08-05T14:44:18Z raft: f3620cbbbe7cd162 became candidate at term 2

2016-08-05T14:44:18Z raft: f3620cbbbe7cd162 received vote from 
f3620cbbbe7cd162 at term 2

2016-08-05T14:44:18Z raft: f3620cbbbe7cd162 became leader at term 2

2016-08-05T14:44:18Z raft: raft.node: f3620cbbbe7cd162 elected leader 
f3620cbbbe7cd162 at term 2

2016-08-05T14:44:18Z etcdserver: setting up the initial cluster version to 
2.3

2016-08-05T14:44:18Z etcdserver: published {Name:simple 
ClientURLs:[http://10.0.0.1:46668 http://10.1.0.1:46668 
http://10.2.0.1:46668 http://[fd00::1]:46668 http://[fd01::1]:46668 
http://[fd02::1]:46668]} to cluster 3bd8c6452814d712

2016-08-05T14:44:18Z etcdserver: set the initial cluster version to 2.3

2016-08-05T14:46:13Z util: dnsmasq-dhcp[10445]: abandoning lease to 
02:00:00:00:00:02 of 10.0.0.2

2016-08-05T14:46:14Z network/ntp: Recieved NTP request from 10.0.0.2:46889

2016-08-05T14:46:14Z network/ntp: Recieved NTP request from 10.0.0.2:35938

2016-08-05T14:46:15Z network/ntp: Recieved NTP request from 10.0.0.2:32922

2016-08-05T14:46:15Z network/ntp: Recieved NTP request from 10.0.0.2:36365

2016-08-05T14:46:16Z network/ntp: Recieved NTP request from 10.0.0.2:51293

2016-08-05T14:46:49Z network/ntp: Recieved NTP request from 10.0.0.2:36247

2016-08-05T14:46:50Z kola/tests/coretest: running CloudConfig...

2016-08-05T14:47:05Z kola/tests/coretest: running DbusPerms...

2016-08-05T14:47:12Z kola/tests/coretest: running ServicesActive...

2016-08-05T14:47:17Z kola/tests/coretest: running ReadOnly...

2016-08-05T14:47:19Z kola/tests/coretest: running Useradd...

2016-08-05T14:47:23Z kola/tests/coretest: running Script...

2016-08-05T14:47:29Z kola/tests/coretest: running PortSSH...

2016-08-05T14:47:32Z kola/tests/coretest: running Symlink...

2016-08-05T14:47:36Z kola/tests/coretest: running UpdateEngineKeys...

2016-08-05T14:47:39Z kola/tests/coretest: running RandomUUID...

2016-08-05T14:47:44Z kola: --- PASS: coreos.basic on qemu (207.024s)

2016-08-05T14:47:44Z kola: 1 passed 0 failed 0 skipped out of 1 total

Not sure what you're seeing for typical boot times w/ qemu arm64 emulation. 
  Maybe I just need a faster system.

Thanks,
 




> On 08/04/2016 10:02 AM, Gary Grebus wrote: 
> > I've been trying to run some of the kola tests using qemu for arm64.  So 
> > far, everything I've tried (using CoreOS 1081.3.0)  fails the same way. 
> > Trying something simple: 
> > 
> > *<inside the chroot>* 
> > 
> > 
> > *$* kola version 
> > 
> > mantle/kola version 0.1.5 
> > 
> > $ sudo kola -v qemu 
> > 
> > 2016-08-04T16:50:54Z cli: Started logging at level INFO 
> > 
> > 2016-08-04T16:50:54Z etcdserver: name = simple 
> > 
> > 2016-08-04T16:50:54Z etcdserver: data dir = /tmp/simple-etcd-197426055 
> > 
> > 2016-08-04T16:50:54Z etcdserver: member dir = 
> > /tmp/simple-etcd-197426055/member 
> > 
> > 2016-08-04T16:50:54Z etcdserver: heartbeat = 100ms 
> > 
> > 2016-08-04T16:50:54Z etcdserver: election = 1000ms 
> > 
> > 2016-08-04T16:50:54Z etcdserver: snapshot count = 0 
> > 
> > 2016-08-04T16:50:54Z etcdserver: advertise client URLs = 
> > http://10.0.0.1:36756,http://10.1.0.1:36756,http://10.2.0.1:36756,http://[fd00::1]:36756,http://[fd01::1]:36756,http://[fd02::1]:36756
> >  
>
> > 
> > 2016-08-04T16:50:54Z etcdserver: initial advertise peer URLs = 
> > http://localhost:0 
> > 
> > 2016-08-04T16:50:54Z etcdserver: initial cluster = simple=
> http://localhost:0 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq[32888]: started, version 2.75 
> cachesize 
> > 150 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq[32888]: compile time options: IPv6 
> > GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack 
> > ipset no-auth no-DNSSEC loop-detect inotify 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq[32888]: warning: no upstream servers 
> > configured 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCP, static leases only 
> on 
> > 10.2.0.1, lease time 1h 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCP, static leases only 
> on 
> > 10.1.0.1, lease time 1h 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCP, static leases only 
> on 
> > 10.0.0.1, lease time 1h 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCPv4-derived IPv6 
> names 
> > on fd02:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: router advertisement on 
> > fd02:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCPv4-derived IPv6 
> names 
> > on fd01:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: router advertisement on 
> > fd01:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: DHCPv4-derived IPv6 
> names 
> > on fd00:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: router advertisement on 
> > fd00:: 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq-dhcp[32888]: IPv6 router 
> advertisement 
> > enabled 
> > 
> > 2016-08-04T16:50:54Z util: dnsmasq[32888]: cleared cache 
> > 
> > 2016-08-04T16:50:54Z etcdserver: starting member f3620cbbbe7cd162 in 
> > cluster 3bd8c6452814d712 
> > 
> > 2016-08-04T16:50:54Z raft: f3620cbbbe7cd162 became follower at term 0 
> > 
> > 2016-08-04T16:50:54Z raft: newRaft f3620cbbbe7cd162 [peers: [], term: 0, 
> > commit: 0, applied: 0, lastindex: 0, lastterm: 0] 
> > 
> > 2016-08-04T16:50:54Z raft: f3620cbbbe7cd162 became follower at term 1 
> > 
> > 2016-08-04T16:50:54Z etcdserver: set snapshot count to default 10000 
> > 
> > 2016-08-04T16:50:54Z etcdserver: starting server... [version: 2.3.0, 
> > cluster version: to_be_decided] 
> > 
> > 2016-08-04T16:50:54Z etcdserver: added local member f3620cbbbe7cd162 
> > [http://localhost:0] to cluster 3bd8c6452814d712 
> > 
> > 2016-08-04T16:50:54Z network/ntp: Started NTP server on [::]:123 
> > 
> > 2016-08-04T16:50:55Z raft: f3620cbbbe7cd162 is starting a new election 
> at 
> > term 1 
> > 
> > 2016-08-04T16:50:55Z raft: f3620cbbbe7cd162 became candidate at term 2 
> > 
> > 2016-08-04T16:50:55Z raft: f3620cbbbe7cd162 received vote from 
> > f3620cbbbe7cd162 at term 2 
> > 
> > 2016-08-04T16:50:55Z raft: f3620cbbbe7cd162 became leader at term 2 
> > 
> > 2016-08-04T16:50:55Z raft: raft.node: f3620cbbbe7cd162 elected leader 
> > f3620cbbbe7cd162 at term 2 
> > 
> > 2016-08-04T16:50:55Z etcdserver: setting up the initial cluster version 
> to 
> > 2.3 
> > 
> > 2016-08-04T16:50:55Z etcdserver: set the initial cluster version to 2.3 
> > 
> > 2016-08-04T16:50:55Z etcdserver: published {Name:simple 
> > ClientURLs:[http://10.0.0.1:36756 http://10.1.0.1:36756 
> > http://10.2.0.1:36756 http://[fd00::1]:36756 http://[fd01::1]:36756 
> > http://[fd02::1]:36756]} to cluster 3bd8c6452814d712 
> > 
> > Machine failed: ssh unreachable: dial tcp 10.0.0.2:22: getsockopt: 
> > connection refused 
> > 
> > 
> > I see the qemu-system-aarch64 image running, but always get the 
> "connection 
> > refused" failure.   Should this work?  Any suggestions about what might 
> be 
> > wrong (maybe something in my environment causing problems?)     Any 
> > suggestions about how to troubleshoot the problem? 
> > 
> > 
> > Thanks, 
> > 
> >     - Gary 
> > 
> > 
> > 
> > 
>

Reply via email to