Updated test script asserting specific cloud-init version 23.2.1 as lunar was not installing from lunar-proposed by default without apt install -tlunar-proposed. also changed test to specifically assert expected CloudName/PlatformSubplatform or Region and collect FAILED logs otherwise Test verification results: ===== csmith@midtown:~$ ./sru-1724623.sh + cat + cat + cat + rm -f failures + for release in focal jammy kinetic lunar + VM=sru-focal + lxc launch ubuntu-daily:focal sru-focal Creating sru-focal Starting sru-focal + lxc exec sru-focal -- cloud-init status --wait --long ................................ status: done boot_status_code: enabled-by-generator last_update: Thu, 13 Jul 2023 19:31:03 +0000 detail: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net] + echo --- 1. Generate current apport report, selecting Openstack as cloud. --- 1. Generate current apport report, selecting Openstack as cloud. + echo --- step through prompts and select K to keep report --- step through prompts and select K to keep report + echo --- VERSION OF APPORT --- --- VERSION OF APPORT --- + lxc exec sru-focal -- apport-bug --version 2.20.11 + lxc exec sru-focal -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ...... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: AliYun 2: AltCloud 3: Amazon - Ec2 4: Azure 5: Bigstep 6: Brightbox 7: CloudSigma 8: CloudStack 9: DigitalOcean 10: E24Cloud 11: GCE - Google Compute Engine 12: Huawei Cloud 13: Exoscale 14: Hetzner Cloud 15: NWCS 16: IBM - (aka SoftLayer or BlueMix) 17: LXD 18: MAAS 19: NoCloud 20: OpenNebula 21: OpenStack 22: Oracle 23: OVF 24: RbxCloud - (HyperOne, Rootbox, Rubikon) 25: OpenTelekomCloud 26: SAP Converged Cloud 27: Scaleway 28: SmartOS 29: UpCloud 30: VMware 31: Vultr 32: ZStack 33: Outscale 34: Other C: Cancel Please choose (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/C): 21 *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (43.7 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.svir_fqp.apport ++ lxc exec sru-focal ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.svir_fqp.apport + lxc file pull sru-focal/tmp/apport.cloud-init.svir_fqp.apport apport-sru-focal.orig + lxc exec sru-focal rm /tmp/apport.cloud-init.svir_fqp.apport + lxc file push setup_proposed.sh sru-focal/ + lxc exec sru-focal -- bash /setup_proposed.sh + grep cloud-init cloud-init Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 cloud-init all 23.2.1-0ubuntu0~20.04.2 [532 kB] dpkg-preconfigure: unable to re-open stdin: No such file or directory Preparing to unpack .../cloud-init_23.2.1-0ubuntu0~20.04.2_all.deb ... Unpacking cloud-init (23.2.1-0ubuntu0~20.04.2) over (23.1.2-0ubuntu0~20.04.2) ... Setting up cloud-init (23.2.1-0ubuntu0~20.04.2) ... ++ lxc exec sru-focal -- cloud-init --version + VERSION='/usr/bin/cloud-init 23.2.1-0ubuntu0~20.04.2' + '[' '/usr/bin/cloud-init ~20.04.2' '!=' '/usr/bin/cloud-init 23.2.1-0ubuntu0~20.04.2' ']' + lxc file push openstack.json sru-focal/run/cloud-init/instance-data.json + echo --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. + lxc exec sru-focal -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ....... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n . *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (44.7 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.o550ccfg.apport ++ lxc exec sru-focal ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.o550ccfg.apport + lxc file pull sru-focal/tmp/apport.cloud-init.o550ccfg.apport apport-sru-focal.openstack-proposed + lxc exec sru-focal rm /tmp/apport.cloud-init.o550ccfg.apport + echo --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. + lxc file push ec2.json sru-focal/run/cloud-init/instance-data.json + lxc exec sru-focal -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ....... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n . *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (44.7 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.xwtvk7b5.apport ++ lxc exec sru-focal ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.xwtvk7b5.apport + lxc file pull sru-focal/tmp/apport.cloud-init.xwtvk7b5.apport apport-sru-focal.ec2-proposed + lxc exec sru-focal rm /tmp/apport.cloud-init.xwtvk7b5.apport + echo --- 4. Verify tags openstack-proposed report --- 4. Verify tags openstack-proposed report + grep 'CloudID: openstack' apport-sru-focal.openstack-proposed CloudID: openstack + grep 'CloudName: openstack' apport-sru-focal.openstack-proposed CloudName: openstack + grep 'CloudPlatform: openstack' apport-sru-focal.openstack-proposed CloudPlatform: openstack + echo --- 5. Verify tags of ec2-proposed to ec2-proposed report --- 5. Verify tags of ec2-proposed to ec2-proposed report + grep CloudID: apport-sru-focal.ec2-proposed + grep 'CloudName: aws' apport-sru-focal.ec2-proposed CloudName: aws + grep 'CloudPlatform: ec2' apport-sru-focal.ec2-proposed CloudPlatform: ec2 + grep 'CloudRegion: us-east-2' apport-sru-focal.ec2-proposed CloudRegion: us-east-2 + for release in focal jammy kinetic lunar + VM=sru-jammy + lxc launch ubuntu-daily:jammy sru-jammy Creating sru-jammy Starting sru-jammy + lxc exec sru-jammy -- cloud-init status --wait --long ................................ status: done boot_status_code: enabled-by-generator last_update: Thu, 13 Jul 2023 19:32:11 +0000 detail: DataSourceLXD + echo --- 1. Generate current apport report, selecting Openstack as cloud. --- 1. Generate current apport report, selecting Openstack as cloud. + echo --- step through prompts and select K to keep report --- step through prompts and select K to keep report + echo --- VERSION OF APPORT --- --- VERSION OF APPORT --- + lxc exec sru-jammy -- apport-bug --version 2.20.11 + lxc exec sru-jammy -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: AliYun 2: AltCloud 3: Amazon - Ec2 4: Azure 5: Bigstep 6: Brightbox 7: CloudSigma 8: CloudStack 9: DigitalOcean 10: E24Cloud 11: GCE - Google Compute Engine 12: Huawei Cloud 13: Exoscale 14: Hetzner Cloud 15: NWCS 16: IBM - (aka SoftLayer or BlueMix) 17: LXD 18: MAAS 19: NoCloud 20: OpenNebula 21: OpenStack 22: Oracle 23: OVF 24: RbxCloud - (HyperOne, Rootbox, Rubikon) 25: OpenTelekomCloud 26: SAP Converged Cloud 27: Scaleway 28: SmartOS 29: UpCloud 30: VMware 31: Vultr 32: ZStack 33: Outscale 34: Other C: Cancel Please choose (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/C): 21 *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (65.4 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.vifx8je0.apport ++ lxc exec sru-jammy ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.vifx8je0.apport + lxc file pull sru-jammy/tmp/apport.cloud-init.vifx8je0.apport apport-sru-jammy.orig + lxc exec sru-jammy rm /tmp/apport.cloud-init.vifx8je0.apport + lxc file push setup_proposed.sh sru-jammy/ + grep cloud-init + lxc exec sru-jammy -- bash /setup_proposed.sh cloud-init Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 cloud-init all 23.2.1-0ubuntu0~22.04.1 [533 kB] dpkg-preconfigure: unable to re-open stdin: No such file or directory Preparing to unpack .../cloud-init_23.2.1-0ubuntu0~22.04.1_all.deb ... Unpacking cloud-init (23.2.1-0ubuntu0~22.04.1) over (23.1.2-0ubuntu0~22.04.1) ... Setting up cloud-init (23.2.1-0ubuntu0~22.04.1) ... ++ lxc exec sru-jammy -- cloud-init --version + VERSION='/usr/bin/cloud-init 23.2.1-0ubuntu0~22.04.1' + '[' '/usr/bin/cloud-init ~22.04.1' '!=' '/usr/bin/cloud-init 23.2.1-0ubuntu0~22.04.1' ']' + lxc file push openstack.json sru-jammy/run/cloud-init/instance-data.json + echo --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. + lxc exec sru-jammy -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ..... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (66.1 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.yh422m8z.apport ++ lxc exec sru-jammy ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.yh422m8z.apport + lxc file pull sru-jammy/tmp/apport.cloud-init.yh422m8z.apport apport-sru-jammy.openstack-proposed + lxc exec sru-jammy rm /tmp/apport.cloud-init.yh422m8z.apport + echo --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. + lxc file push ec2.json sru-jammy/run/cloud-init/instance-data.json + lxc exec sru-jammy -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (66.1 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.8wcstclm.apport ++ lxc exec sru-jammy ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.8wcstclm.apport + lxc file pull sru-jammy/tmp/apport.cloud-init.8wcstclm.apport apport-sru-jammy.ec2-proposed + lxc exec sru-jammy rm /tmp/apport.cloud-init.8wcstclm.apport + echo --- 4. Verify tags openstack-proposed report --- 4. Verify tags openstack-proposed report + grep 'CloudID: openstack' apport-sru-jammy.openstack-proposed CloudID: openstack + grep 'CloudName: openstack' apport-sru-jammy.openstack-proposed CloudName: openstack + grep 'CloudPlatform: openstack' apport-sru-jammy.openstack-proposed CloudPlatform: openstack + echo --- 5. Verify tags of ec2-proposed to ec2-proposed report --- 5. Verify tags of ec2-proposed to ec2-proposed report + grep CloudID: apport-sru-jammy.ec2-proposed + grep 'CloudName: aws' apport-sru-jammy.ec2-proposed CloudName: aws + grep 'CloudPlatform: ec2' apport-sru-jammy.ec2-proposed CloudPlatform: ec2 + grep 'CloudRegion: us-east-2' apport-sru-jammy.ec2-proposed CloudRegion: us-east-2 + for release in focal jammy kinetic lunar + VM=sru-kinetic + lxc launch ubuntu-daily:kinetic sru-kinetic Creating sru-kinetic Starting sru-kinetic + lxc exec sru-kinetic -- cloud-init status --wait --long .............................. status: done boot_status_code: enabled-by-generator last_update: Thu, 13 Jul 2023 19:33:11 +0000 detail: DataSourceLXD + echo --- 1. Generate current apport report, selecting Openstack as cloud. --- 1. Generate current apport report, selecting Openstack as cloud. + echo --- step through prompts and select K to keep report --- step through prompts and select K to keep report + echo --- VERSION OF APPORT --- --- VERSION OF APPORT --- + lxc exec sru-kinetic -- apport-bug --version 2.23.1 + lxc exec sru-kinetic -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .. *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n . *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: AliYun 2: AltCloud 3: Amazon - Ec2 4: Azure 5: Bigstep 6: Brightbox 7: CloudSigma 8: CloudStack 9: DigitalOcean 10: E24Cloud 11: GCE - Google Compute Engine 12: Huawei Cloud 13: Exoscale 14: Hetzner Cloud 15: NWCS 16: IBM - (aka SoftLayer or BlueMix) 17: LXD 18: MAAS 19: NoCloud 20: OpenNebula 21: OpenStack 22: Oracle 23: OVF 24: RbxCloud - (HyperOne, Rootbox, Rubikon) 25: OpenTelekomCloud 26: SAP Converged Cloud 27: Scaleway 28: SmartOS 29: UpCloud 30: VMware 31: Vultr 32: ZStack 33: Outscale 34: Other C: Cancel Please choose (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/C): 21 *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (66.7 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.4a6eqyo_.apport ++ lxc exec sru-kinetic ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.4a6eqyo_.apport + lxc file pull sru-kinetic/tmp/apport.cloud-init.4a6eqyo_.apport apport-sru-kinetic.orig + lxc exec sru-kinetic rm /tmp/apport.cloud-init.4a6eqyo_.apport + lxc file push setup_proposed.sh sru-kinetic/ + lxc exec sru-kinetic -- bash /setup_proposed.sh + grep cloud-init cloud-init Get:1 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 cloud-init all 23.2.1-0ubuntu0~22.10.1 [527 kB] dpkg-preconfigure: unable to re-open stdin: No such file or directory Preparing to unpack .../cloud-init_23.2.1-0ubuntu0~22.10.1_all.deb ... Unpacking cloud-init (23.2.1-0ubuntu0~22.10.1) over (23.1.2-0ubuntu0~22.10.1) ... Setting up cloud-init (23.2.1-0ubuntu0~22.10.1) ... ++ lxc exec sru-kinetic -- cloud-init --version + VERSION='/usr/bin/cloud-init 23.2.1-0ubuntu0~22.10.1' + '[' '/usr/bin/cloud-init ~22.10.1' '!=' '/usr/bin/cloud-init 23.2.1-0ubuntu0~22.10.1' ']' + lxc file push openstack.json sru-kinetic/run/cloud-init/instance-data.json + echo --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. + lxc exec sru-kinetic -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ..... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (67.2 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.8irh7hm4.apport ++ lxc exec sru-kinetic ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.8irh7hm4.apport + lxc file pull sru-kinetic/tmp/apport.cloud-init.8irh7hm4.apport apport-sru-kinetic.openstack-proposed + lxc exec sru-kinetic rm /tmp/apport.cloud-init.8irh7hm4.apport + echo --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. + lxc file push ec2.json sru-kinetic/run/cloud-init/instance-data.json + lxc exec sru-kinetic -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n . *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (67.3 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): l What would you like to do? Your options are: S: Send report (67.3 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.m7y1oy5g.apport ++ lxc exec sru-kinetic ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.m7y1oy5g.apport + lxc file pull sru-kinetic/tmp/apport.cloud-init.m7y1oy5g.apport apport-sru-kinetic.ec2-proposed + lxc exec sru-kinetic rm /tmp/apport.cloud-init.m7y1oy5g.apport + echo --- 4. Verify tags openstack-proposed report --- 4. Verify tags openstack-proposed report + grep 'CloudID: openstack' apport-sru-kinetic.openstack-proposed CloudID: openstack + grep 'CloudName: openstack' apport-sru-kinetic.openstack-proposed CloudName: openstack + grep 'CloudPlatform: openstack' apport-sru-kinetic.openstack-proposed CloudPlatform: openstack + echo --- 5. Verify tags of ec2-proposed to ec2-proposed report --- 5. Verify tags of ec2-proposed to ec2-proposed report + grep CloudID: apport-sru-kinetic.ec2-proposed + grep 'CloudName: aws' apport-sru-kinetic.ec2-proposed CloudName: aws + grep 'CloudPlatform: ec2' apport-sru-kinetic.ec2-proposed CloudPlatform: ec2 + grep 'CloudRegion: us-east-2' apport-sru-kinetic.ec2-proposed CloudRegion: us-east-2 + for release in focal jammy kinetic lunar + VM=sru-lunar + lxc launch ubuntu-daily:lunar sru-lunar Creating sru-lunar Starting sru-lunar + lxc exec sru-lunar -- cloud-init status --wait --long ................................ status: done boot_status_code: enabled-by-generator last_update: Thu, 13 Jul 2023 19:34:32 +0000 detail: DataSourceLXD + echo --- 1. Generate current apport report, selecting Openstack as cloud. --- 1. Generate current apport report, selecting Openstack as cloud. + echo --- step through prompts and select K to keep report --- step through prompts and select K to keep report + echo --- VERSION OF APPORT --- --- VERSION OF APPORT --- + lxc exec sru-lunar -- apport-bug --version 2.26.1 + lxc exec sru-lunar -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: AliYun 2: AltCloud 3: Amazon - Ec2 4: Azure 5: Bigstep 6: Brightbox 7: CloudSigma 8: CloudStack 9: DigitalOcean 10: E24Cloud 11: GCE - Google Compute Engine 12: Huawei Cloud 13: Exoscale 14: Hetzner Cloud 15: NWCS 16: IBM - (aka SoftLayer or BlueMix) 17: LXD 18: MAAS 19: NoCloud 20: OpenNebula 21: OpenStack 22: Oracle 23: OVF 24: RbxCloud - (HyperOne, Rootbox, Rubikon) 25: OpenTelekomCloud 26: SAP Converged Cloud 27: Scaleway 28: SmartOS 29: UpCloud 30: VMware 31: Vultr 32: ZStack 33: Outscale 34: Other C: Cancel Please choose (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/C): 21 *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (67.4 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.e79l0q_h.apport ++ grep apport ++ lxc exec sru-lunar ls /tmp + APPORT_FILE=apport.cloud-init.e79l0q_h.apport + lxc file pull sru-lunar/tmp/apport.cloud-init.e79l0q_h.apport apport-sru-lunar.orig + lxc exec sru-lunar rm /tmp/apport.cloud-init.e79l0q_h.apport + lxc file push setup_proposed.sh sru-lunar/ + lxc exec sru-lunar -- bash /setup_proposed.sh + grep cloud-init cloud-init Get:1 http://archive.ubuntu.com/ubuntu lunar-proposed/main amd64 cloud-init all 23.2.1-0ubuntu0~23.04.1 [563 kB] Preparing to unpack .../cloud-init_23.2.1-0ubuntu0~23.04.1_all.deb ... dpkg-preconfigure: unable to re-open stdin: No such file or directory Unpacking cloud-init (23.2.1-0ubuntu0~23.04.1) over (23.1.2-0ubuntu0~23.04.1) ... Setting up cloud-init (23.2.1-0ubuntu0~23.04.1) ... ++ lxc exec sru-lunar -- cloud-init --version + VERSION='/usr/bin/cloud-init 23.2.1-0ubuntu0~23.04.1' + '[' '/usr/bin/cloud-init ~23.04.1' '!=' '/usr/bin/cloud-init 23.2.1-0ubuntu0~23.04.1' ']' + lxc file push openstack.json sru-lunar/run/cloud-init/instance-data.json + echo --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. --- 2. Generate -proposed apport report which sources openstack instance-data.json, selecting Openstack as cloud. + lxc exec sru-lunar -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n . *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (67.4 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.qzwsgnwc.apport ++ lxc exec sru-lunar ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.qzwsgnwc.apport + lxc file pull sru-lunar/tmp/apport.cloud-init.qzwsgnwc.apport apport-sru-lunar.openstack-proposed + lxc exec sru-lunar rm /tmp/apport.cloud-init.qzwsgnwc.apport + echo --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. --- 3. Generate -proposed apport report which sources ec2 instance-data, selecting Ec2 as cloud. + lxc file push ec2.json sru-lunar/run/cloud-init/instance-data.json + lxc exec sru-lunar -- apport-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .... *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): n *** Your user-data, cloud-config or autoinstall files can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (67.5 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.oattgktl.apport ++ lxc exec sru-lunar ls /tmp ++ grep apport + APPORT_FILE=apport.cloud-init.oattgktl.apport + lxc file pull sru-lunar/tmp/apport.cloud-init.oattgktl.apport apport-sru-lunar.ec2-proposed + lxc exec sru-lunar rm /tmp/apport.cloud-init.oattgktl.apport + echo --- 4. Verify tags openstack-proposed report --- 4. Verify tags openstack-proposed report + grep 'CloudID: openstack' apport-sru-lunar.openstack-proposed CloudID: openstack + grep 'CloudName: openstack' apport-sru-lunar.openstack-proposed CloudName: openstack + grep 'CloudPlatform: openstack' apport-sru-lunar.openstack-proposed CloudPlatform: openstack + echo --- 5. Verify tags of ec2-proposed to ec2-proposed report --- 5. Verify tags of ec2-proposed to ec2-proposed report + grep CloudID: apport-sru-lunar.ec2-proposed + grep 'CloudName: aws' apport-sru-lunar.ec2-proposed CloudName: aws + grep 'CloudPlatform: ec2' apport-sru-lunar.ec2-proposed CloudPlatform: ec2 + grep 'CloudRegion: us-east-2' apport-sru-lunar.ec2-proposed CloudRegion: us-east-2 + '[' -f failures ']' + echo SUCCESS SUCCESS