Skip to content

Instantly share code, notes, and snippets.

@simonw7034
Created November 18, 2020 13:49
Show Gist options
  • Save simonw7034/ebabe6a06c64fda526739bfcff1d4e0a to your computer and use it in GitHub Desktop.
Save simonw7034/ebabe6a06c64fda526739bfcff1d4e0a to your computer and use it in GitHub Desktop.
packer aws-ebs debug output
P41569:barefoot-ide-vm-setup p41569$ PACKER_LOG=1 packer build -except=vagrant bf_packer.json
2020/11/18 13:02:51 [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64]
2020/11/18 13:02:51 Checking 'PACKER_CONFIG' for a config file path
2020/11/18 13:02:51 'PACKER_CONFIG' not set; checking the default config file path
2020/11/18 13:02:51 Attempting to open config file: /Users/p41569/.packerconfig
2020/11/18 13:02:51 [WARN] Config file doesn't exist: /Users/p41569/.packerconfig
2020/11/18 13:02:51 Setting cache directory: /Users/p41569/OneDrive - Corp/p4-dev/code/barefoot-ide-vm-setup/packer_cache
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value:
2020/11/18 13:02:51 Deleting kv.Value: simonw-EC2-SSM
2020/11/18 13:02:51 Deleting kv.Value: ubuntu
2020/11/18 13:02:51 Deleting kv.Value: 4.15.0-47-generic
2020/11/18 13:02:51 Deleting kv.Value: ami-0e169fa5b2b2f88ae
2020/11/18 13:02:51 Deleting kv.Value: 30
2020/11/18 13:02:51 Deleting kv.Value: 9.1.1
2020/11/18 13:02:51 Deleting kv.Value: 6
2020/11/18 13:02:51 Creating plugin client for path: /usr/local/bin/packer
2020/11/18 13:02:51 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
2020/11/18 13:02:51 Waiting for RPC address for: /usr/local/bin/packer
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64]
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Checking 'PACKER_CONFIG' for a config file path
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Attempting to open config file: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: [WARN] Config file doesn't exist: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Setting cache directory: /Users/p41569/OneDrive - Corp/p4-dev/code/barefoot-ide-vm-setup/packer_cache
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: args: []string{"packer-builder-amazon-ebs"}
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Plugin address: unix /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin933038509
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Waiting for connection...
2020/11/18 13:02:51 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin933038509
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Serving a plugin connection...
2020/11/18 13:02:51 Creating plugin client for path: /usr/local/bin/packer
2020/11/18 13:02:51 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/11/18 13:02:51 Waiting for RPC address for: /usr/local/bin/packer
2020/11/18 13:02:51 packer-provisioner-shell plugin: [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64]
2020/11/18 13:02:51 packer-provisioner-shell plugin: Checking 'PACKER_CONFIG' for a config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: Attempting to open config file: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: Setting cache directory: /Users/p41569/OneDrive - Corp/p4-dev/code/barefoot-ide-vm-setup/packer_cache
2020/11/18 13:02:51 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2020/11/18 13:02:51 packer-provisioner-shell plugin: Plugin address: unix /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin607084289
2020/11/18 13:02:51 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin607084289
2020/11/18 13:02:51 packer-provisioner-shell plugin: Waiting for connection...
2020/11/18 13:02:51 packer-provisioner-shell plugin: Serving a plugin connection...
2020/11/18 13:02:51 Creating plugin client for path: /usr/local/bin/packer
2020/11/18 13:02:51 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/11/18 13:02:51 Waiting for RPC address for: /usr/local/bin/packer
2020/11/18 13:02:51 packer-provisioner-shell plugin: [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64]
2020/11/18 13:02:51 packer-provisioner-shell plugin: Checking 'PACKER_CONFIG' for a config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: Attempting to open config file: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: Setting cache directory: /Users/p41569/OneDrive - Corp/p4-dev/code/barefoot-ide-vm-setup/packer_cache
2020/11/18 13:02:51 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2020/11/18 13:02:51 packer-provisioner-shell plugin: Plugin address: unix /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin323744397
2020/11/18 13:02:51 packer-provisioner-shell plugin: Waiting for connection...
2020/11/18 13:02:51 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin323744397
2020/11/18 13:02:51 packer-provisioner-shell plugin: Serving a plugin connection...
2020/11/18 13:02:51 Creating plugin client for path: /usr/local/bin/packer
2020/11/18 13:02:51 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2020/11/18 13:02:51 Waiting for RPC address for: /usr/local/bin/packer
2020/11/18 13:02:51 packer-provisioner-shell plugin: [INFO] Packer version: 1.6.5 [go1.15.3 darwin amd64]
2020/11/18 13:02:51 packer-provisioner-shell plugin: Checking 'PACKER_CONFIG' for a config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/11/18 13:02:51 packer-provisioner-shell plugin: Attempting to open config file: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /Users/p41569/.packerconfig
2020/11/18 13:02:51 packer-provisioner-shell plugin: Setting cache directory: /Users/p41569/OneDrive - Corp/p4-dev/code/barefoot-ide-vm-setup/packer_cache
2020/11/18 13:02:51 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2020/11/18 13:02:51 Received unix RPC address for /usr/local/bin/packer: addr is /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin466191145
2020/11/18 13:02:51 packer-provisioner-shell plugin: Plugin address: unix /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-plugin466191145
2020/11/18 13:02:51 packer-provisioner-shell plugin: Waiting for connection...
2020/11/18 13:02:51 packer-provisioner-shell plugin: Serving a plugin connection...
2020/11/18 13:02:51 Preparing build: amazon-ebs
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values.
2020/11/18 13:02:51 Build debug mode: false
2020/11/18 13:02:51 Force build: false
2020/11/18 13:02:51 On error:
amazon-ebs: output will be in this color.
2020/11/18 13:02:51 Waiting on builds to complete...
2020/11/18 13:02:51 Starting build run: amazon-ebs
2020/11/18 13:02:51 Running builder: amazon-ebs
2020/11/18 13:02:51 [INFO] (telemetry) Starting builder amazon-ebs
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: [INFO] AWS Auth provider used: "EnvProvider"
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: Found region eu-west-2
2020/11/18 13:02:51 packer-builder-amazon-ebs plugin: [INFO] AWS Auth provider used: "EnvProvider"
2020/11/18 13:02:51 [ERR] Checkpoint error: open /Users/p41569/.packer.d/checkpoint_cache: permission denied
==> amazon-ebs: Prevalidating any provided VPC information
==> amazon-ebs: Prevalidating AMI Name: simonw-bf-sde-9.1.1-ami-1605704571
2020/11/18 13:02:52 packer-builder-amazon-ebs plugin: [ERR] Checkpoint error: open /Users/p41569/.packer.d/checkpoint_cache: permission denied
2020/11/18 13:02:52 packer-provisioner-shell plugin: [ERR] Checkpoint error: open /Users/p41569/.packer.d/checkpoint_cache: permission denied
2020/11/18 13:02:52 packer-provisioner-shell plugin: [ERR] Checkpoint error: open /Users/p41569/.packer.d/checkpoint_cache: permission denied
2020/11/18 13:02:52 packer-provisioner-shell plugin: [ERR] Checkpoint error: open /Users/p41569/.packer.d/checkpoint_cache: permission denied
2020/11/18 13:02:52 packer-builder-amazon-ebs plugin: Using AMI Filters {
2020/11/18 13:02:52 packer-builder-amazon-ebs plugin: ImageIds: ["ami-0e169fa5b2b2f88ae"]
2020/11/18 13:02:52 packer-builder-amazon-ebs plugin: }
amazon-ebs: Found Image ID: ami-0e169fa5b2b2f88ae
==> amazon-ebs: Creating temporary keypair: packer_5fb51b7b-85c6-fca6-46d1-0b92c4e85f6a
==> amazon-ebs: Creating temporary security group for this instance: packer_5fb51b7c-a089-a665-86a3-1b558e6c43f6
2020/11/18 13:02:53 packer-builder-amazon-ebs plugin: [DEBUG] Waiting for temporary security group: sg-005476393002b40cb
2020/11/18 13:02:53 packer-builder-amazon-ebs plugin: [DEBUG] Found security group sg-005476393002b40cb
2020/11/18 13:02:53 packer-builder-amazon-ebs plugin: Using specified instance profile: simonw-EC2-SSM
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-09224ec68cb71e49b
==> amazon-ebs: Waiting for instance (i-09224ec68cb71e49b) to become ready...
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: [INFO] Not using winrm communicator, skipping get password...
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: Found available port: 8764 on IP: 0.0.0.0
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: ssm: Starting PortForwarding session to instance i-09224ec68cb71e49b
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: [INFO] Waiting for SSH, up to timeout: 5m0s
==> amazon-ebs: Using ssh communicator to connect: localhost
==> amazon-ebs: Waiting for SSH to become available...
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:11 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:12 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:13 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:15 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:16 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:03:18 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:21 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:03:25 packer-builder-amazon-ebs plugin: Retryable error: TargetNotConnected: i-09224ec68cb71e49b is not connected.
2020/11/18 13:03:26 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:03:31 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:03:36 packer-builder-amazon-ebs plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8764: connect: connection refused
amazon-ebs: Starting portForwarding session "simonw@XXXXXXX.com-03ec909b408364739".
2020/11/18 13:03:38 packer-builder-amazon-ebs plugin: Executing: /Users/p41569/.local/share/sessionmanager-bundle/bin/session-manager-plugin [{"SessionId":"simonw@XXXXXXX.com-03ec909b408364739","StreamUrl":"wss://ssmmessages.eu-west-2.amazonaws.com/v1/data-channel/simonw@XXXXXXX.com-03ec909b408364739?role=publish_subscribe","TokenValue":"AAEAAX5pf4bbjmYsRDEYiWYebKXmynPv0t7asNDr5YhNczFDAAAAAF+1G6q9BNfwdhO+Re+cFdvaqwZy+hvhpXyIMbj6UgV5mSEoyGBp+Z3FS9edX92K1/6QEERO3V0WxYuJbtzJwKpTttHGVyRsWa1n0LWccRu7Yk+u3ygIx0Ua6fvourD2H2ORjody1U7DPLBgaielE4PJie2/qv+EoFeVrg2OVWC4ldQ1iKwH4uqnISVgrOld/LocB3VN7vQPALSnnm+uOXxV2m+BNh+q76/xFuqTwzz3VVFQkiNswPLJKcnBzHOvBGyiagv0Ud1Pz4Ip3BUaOLg/VbHzB1S6/QTOekTGFC5rVetr60AEnjPZwMyWDQtSNsW0DDkNV4eNFJsZTgw8gvnWW0XYTjMRI4NRVZbbZ/R5NBDYal8/vT6uhEAOwY2qmvr2T3E="} eu-west-2 StartSession {"DocumentName":"AWS-StartPortForwardingSession","Parameters":{"localPortNumber":["8764"],"portNumber":["22"]},"Target":"i-09224ec68cb71e49b"} wss://ssmmessages.eu-west-2.amazonaws.com/v1/data-channel/simonw@XXXXXXX.com-03ec909b408364739?role=publish_subscribe]
amazon-ebs: Starting session with SessionId: simonw@XXXXXXX.com-03ec909b408364739
amazon-ebs: Port 8764 opened for sessionId simonw@XXXXXXX.com-03ec909b408364739.
2020/11/18 13:03:41 packer-builder-amazon-ebs plugin: [INFO] Attempting SSH connection to localhost:8764...
2020/11/18 13:03:41 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting to TCP connection for SSH
amazon-ebs: Connection accepted for session simonw@XXXXXXX.com-03ec909b408364739.
2020/11/18 13:03:41 packer-builder-amazon-ebs plugin: [DEBUG] handshaking with SSH
2020/11/18 13:03:41 packer-builder-amazon-ebs plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: invalid packet length, packet too large
2020/11/18 13:03:48 packer-builder-amazon-ebs plugin: [INFO] Attempting SSH connection to localhost:8764...
2020/11/18 13:03:48 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting to TCP connection for SSH
2020/11/18 13:03:48 packer-builder-amazon-ebs plugin: [DEBUG] handshaking with SSH
2020/11/18 13:03:48 packer-builder-amazon-ebs plugin: [DEBUG] handshake complete!
2020/11/18 13:03:48 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [INFO] agent forwarding enabled
==> amazon-ebs: Connected to SSH!
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: Running the provision hook
2020/11/18 13:03:50 [INFO] (telemetry) Starting provisioner shell
==> amazon-ebs: Provisioning with shell script: /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-shell178085484
2020/11/18 13:03:50 packer-provisioner-shell plugin: Opening /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-shell178085484 for reading
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:03:50 packer-provisioner-shell plugin: [INFO] 240 bytes written for 'uploadData'
2020/11/18 13:03:50 [INFO] 240 bytes written for 'uploadData'
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Starting remote scp process: scp -vt /tmp
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Started SCP session, beginning transfers...
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Copying input data into temporary file so we can read the length
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] scp: Uploading script_9586.sh: perms=C0644 size=240
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] SCP session complete, closing stdin pipe.
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Waiting for SSH session to complete.
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] scp stderr (length 31): Sink: C0644 240 script_9586.sh
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_9586.sh
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:03:50 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:03:50 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:03:50 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:03:50 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod +x /tmp/script_9586.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_9586.sh
==> amazon-ebs:
==> amazon-ebs: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
==> amazon-ebs:
amazon-ebs: Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
amazon-ebs: Hit:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic InRelease
amazon-ebs: Get:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
amazon-ebs: Get:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
amazon-ebs: Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1425 kB]
amazon-ebs: Get:6 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [280 kB]
amazon-ebs: Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [173 kB]
amazon-ebs: Get:8 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [22.7 kB]
amazon-ebs: Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1088 kB]
amazon-ebs: Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [243 kB]
amazon-ebs: Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [13.3 kB]
amazon-ebs: Get:12 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2996 B]
amazon-ebs: Get:13 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
amazon-ebs: Get:14 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
amazon-ebs: Get:15 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
amazon-ebs: Get:16 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
amazon-ebs: Get:17 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1761 kB]
amazon-ebs: Get:18 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [373 kB]
amazon-ebs: Get:19 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [196 kB]
amazon-ebs: Get:20 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [26.3 kB]
amazon-ebs: Get:21 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1692 kB]
amazon-ebs: Get:22 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [355 kB]
amazon-ebs: Get:23 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [36.2 kB]
amazon-ebs: Get:24 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [7308 B]
amazon-ebs: Get:25 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.0 kB]
amazon-ebs: Get:26 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4764 B]
amazon-ebs: Get:27 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [10.3 kB]
amazon-ebs: Get:28 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4588 B]
amazon-ebs: Fetched 21.7 MB in 4s (6106 kB/s)
amazon-ebs: Reading package lists...
amazon-ebs: Building dependency tree...
==> amazon-ebs:
amazon-ebs: Reading state information...
amazon-ebs: 24 packages can be upgraded. Run 'apt list --upgradable' to see them.
==> amazon-ebs: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
==> amazon-ebs:
amazon-ebs: Reading package lists...
amazon-ebs: Building dependency tree...
amazon-ebs: Reading state information...
amazon-ebs: The following additional packages will be installed:
amazon-ebs: binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7
amazon-ebs: dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base
amazon-ebs: libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
amazon-ebs: libasan4 libatomic1 libbinutils libc-dev-bin libc6 libc6-dev libcc1-0
amazon-ebs: libcilkrts5 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
amazon-ebs: libgcc-7-dev libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpx2
amazon-ebs: libpython-all-dev libpython-dev libpython-stdlib libpython2.7
amazon-ebs: libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-dev
amazon-ebs: libpython3.6-dev libquadmath0 libstdc++-7-dev libtsan0 libubsan0
amazon-ebs: linux-libc-dev linux-modules-4.15.0-47-generic make manpages-dev python
amazon-ebs: python-all python-all-dev python-asn1crypto python-cffi-backend
amazon-ebs: python-crypto python-cryptography python-dbus python-dev python-enum34
amazon-ebs: python-gi python-idna python-ipaddress python-keyring python-keyrings.alt
amazon-ebs: python-minimal python-pip-whl python-pkg-resources python-secretstorage
amazon-ebs: python-setuptools python-six python-wheel python-xdg python2.7-dev
amazon-ebs: python2.7-minimal python3-crypto python3-dev python3-distutils
amazon-ebs: python3-keyring python3-keyrings.alt python3-lib2to3 python3-secretstorage
amazon-ebs: python3-setuptools python3-wheel python3-xdg python3.6-dev
amazon-ebs: Suggested packages:
amazon-ebs: binutils-doc cpp-doc gcc-7-locales debian-keyring g++-multilib
amazon-ebs: g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf automake
amazon-ebs: libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg
amazon-ebs: libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg
amazon-ebs: libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc bzr
amazon-ebs: libstdc++-7-doc fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools
amazon-ebs: linux-headers-4.15.0-47-generic make-doc python-doc python-tk
amazon-ebs: python-crypto-doc python-cryptography-doc python-cryptography-vectors
amazon-ebs: python-dbus-dbg python-dbus-doc python-enum34-doc python-gi-cairo
amazon-ebs: gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs
amazon-ebs: python-gdata python-keyczar python-secretstorage-doc python-setuptools-doc
amazon-ebs: python2.7-doc binfmt-support
amazon-ebs: The following NEW packages will be installed:
amazon-ebs: binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7
amazon-ebs: dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base
amazon-ebs: libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
amazon-ebs: libasan4 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcilkrts5
amazon-ebs: libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-7-dev
amazon-ebs: libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpx2 libpython-all-dev
amazon-ebs: libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev
amazon-ebs: libpython2.7-minimal libpython2.7-stdlib libpython3-dev libpython3.6-dev
amazon-ebs: libquadmath0 libstdc++-7-dev libtsan0 libubsan0
amazon-ebs: linux-image-4.15.0-47-generic linux-libc-dev linux-modules-4.15.0-47-generic
amazon-ebs: make manpages-dev python python-all python-all-dev python-asn1crypto
amazon-ebs: python-cffi-backend python-crypto python-cryptography python-dbus python-dev
amazon-ebs: python-enum34 python-gi python-idna python-ipaddress python-keyring
amazon-ebs: python-keyrings.alt python-minimal python-pip python-pip-whl
amazon-ebs: python-pkg-resources python-secretstorage python-setuptools python-six
amazon-ebs: python-wheel python-xdg python2.7 python2.7-dev python2.7-minimal
amazon-ebs: python3-crypto python3-dev python3-distutils python3-keyring
amazon-ebs: python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage
amazon-ebs: python3-setuptools python3-wheel python3-xdg python3.6-dev
amazon-ebs: The following packages will be upgraded:
amazon-ebs: libc6
amazon-ebs: 1 upgraded, 92 newly installed, 0 to remove and 23 not upgraded.
amazon-ebs: Need to get 150 MB of archives.
amazon-ebs: After this operation, 397 MB of additional disk space will be used.
amazon-ebs: Get:1 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1.2 [335 kB]
amazon-ebs: Get:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.2 [1290 kB]
amazon-ebs: Get:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB]
amazon-ebs: Get:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.3 [2831 kB]
amazon-ebs: Get:5 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1.2 [1916 kB]
amazon-ebs: Get:6 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.2 [248 kB]
amazon-ebs: Get:7 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7620 B]
amazon-ebs: Get:8 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB]
amazon-ebs: Get:9 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.4 [196 kB]
amazon-ebs: Get:10 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.4 [488 kB]
amazon-ebs: Get:11 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.4 [1839 kB]
amazon-ebs: Get:12 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.4 [3392 B]
amazon-ebs: Get:13 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.3 [71.8 kB]
amazon-ebs: Get:14 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-124.127 [976 kB]
amazon-ebs: Get:15 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.3 [2586 kB]
amazon-ebs: Get:16 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
amazon-ebs: Get:17 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
amazon-ebs: Get:18 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
amazon-ebs: Get:19 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB]
amazon-ebs: Get:20 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
amazon-ebs: Get:21 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
amazon-ebs: Get:22 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
amazon-ebs: Get:23 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
amazon-ebs: Get:24 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B]
amazon-ebs: Get:25 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
amazon-ebs: Get:26 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
amazon-ebs: Get:27 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
amazon-ebs: Get:28 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
amazon-ebs: Get:29 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
amazon-ebs: Get:30 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
amazon-ebs: Get:31 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
amazon-ebs: Get:32 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB]
amazon-ebs: Get:33 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB]
amazon-ebs: Get:34 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
amazon-ebs: Get:35 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB]
amazon-ebs: Get:36 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB]
amazon-ebs: Get:37 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]
amazon-ebs: Get:38 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
amazon-ebs: Get:39 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]
amazon-ebs: Get:40 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]
amazon-ebs: Get:41 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
amazon-ebs: Get:42 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB]
amazon-ebs: Get:43 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB]
amazon-ebs: Get:44 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB]
amazon-ebs: Get:45 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
amazon-ebs: Get:46 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
amazon-ebs: Get:47 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
amazon-ebs: Get:48 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
amazon-ebs: Get:49 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
amazon-ebs: Get:50 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2 [122 kB]
amazon-ebs: Get:51 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
amazon-ebs: Get:52 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7 amd64 2.7.17-1~18.04ubuntu1.2 [1054 kB]
amazon-ebs: Get:53 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-dev amd64 2.7.17-1~18.04ubuntu1.2 [28.3 MB]
amazon-ebs: Get:54 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpython-dev amd64 2.7.15~rc1-1 [7684 B]
amazon-ebs: Get:55 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 libpython-all-dev amd64 2.7.15~rc1-1 [1092 B]
amazon-ebs: Get:56 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.3 [44.9 MB]
amazon-ebs: Get:57 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7328 B]
amazon-ebs: Get:58 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-47-generic amd64 4.15.0-47.50 [13.0 MB]
amazon-ebs: Get:59 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-image-4.15.0-47-generic amd64 4.15.0-47.50 [7909 kB]
amazon-ebs: Get:60 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB]
amazon-ebs: Get:61 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-all amd64 2.7.15~rc1-1 [1076 B]
amazon-ebs: Get:62 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-dev amd64 2.7.17-1~18.04ubuntu1.2 [279 kB]
amazon-ebs: Get:63 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-dev amd64 2.7.15~rc1-1 [1256 B]
amazon-ebs: Get:64 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-all-dev amd64 2.7.15~rc1-1 [1100 B]
amazon-ebs: Get:65 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-asn1crypto all 0.24.0-1 [72.7 kB]
amazon-ebs: Get:66 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63.4 kB]
amazon-ebs: Get:67 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-crypto amd64 2.6.1-8ubuntu2 [244 kB]
amazon-ebs: Get:68 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-enum34 all 1.1.6-2 [34.8 kB]
amazon-ebs: Get:69 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-idna all 2.6-1 [32.4 kB]
amazon-ebs: Get:70 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB]
amazon-ebs: Get:71 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11.3 kB]
amazon-ebs: Get:72 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.4 [276 kB]
amazon-ebs: Get:73 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-dbus amd64 1.2.6-1 [90.2 kB]
amazon-ebs: Get:74 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-gi amd64 3.26.1-2ubuntu1 [197 kB]
amazon-ebs: Get:75 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-secretstorage all 2.3.1-2 [11.8 kB]
amazon-ebs: Get:76 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-keyring all 10.6.0-1 [30.6 kB]
amazon-ebs: Get:77 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-keyrings.alt all 3.0-1 [16.7 kB]
amazon-ebs: Get:78 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.4 [1653 kB]
amazon-ebs: Get:79 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip all 9.0.1-2.3~ubuntu1.18.04.4 [151 kB]
amazon-ebs: Get:80 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
amazon-ebs: Get:81 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB]
amazon-ebs: Get:82 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 python-wheel all 0.30.0-0.2 [36.4 kB]
amazon-ebs: Get:83 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 python-xdg all 0.25-4ubuntu1 [31.3 kB]
amazon-ebs: Get:84 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-crypto amd64 2.6.1-8ubuntu2 [244 kB]
amazon-ebs: Get:85 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.3 [508 kB]
amazon-ebs: Get:86 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1288 B]
amazon-ebs: Get:87 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB]
amazon-ebs: Get:88 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyring all 10.6.0-1 [26.7 kB]
amazon-ebs: Get:89 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyrings.alt all 3.0-1 [16.6 kB]
amazon-ebs: Get:90 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.4 [114 kB]
amazon-ebs: Get:91 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-setuptools all 39.0.1-2 [248 kB]
amazon-ebs: Get:92 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wheel all 0.30.0-0.2 [36.5 kB]
amazon-ebs: Get:93 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 python3-xdg all 0.25-4ubuntu1 [31.4 kB]
==> amazon-ebs: debconf: unable to initialize frontend: Dialog
==> amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
==> amazon-ebs: debconf: falling back to frontend: Readline
==> amazon-ebs: debconf: unable to initialize frontend: Readline
==> amazon-ebs: debconf: (This frontend requires a controlling tty.)
==> amazon-ebs: debconf: falling back to frontend: Teletype
==> amazon-ebs: dpkg-preconfigure: unable to re-open stdin:
amazon-ebs: Fetched 150 MB in 5s (30.7 MB/s)
amazon-ebs: Selecting previously unselected package libpython2.7-minimal:amd64.
amazon-ebs: (Reading database ... 57090 files and directories currently installed.)
amazon-ebs: Preparing to unpack .../libpython2.7-minimal_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package python2.7-minimal.
amazon-ebs: Preparing to unpack .../python2.7-minimal_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package python-minimal.
amazon-ebs: Preparing to unpack .../python-minimal_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking python-minimal (2.7.15~rc1-1) ...
amazon-ebs: Preparing to unpack .../libc6_2.27-3ubuntu1.3_amd64.deb ...
amazon-ebs: debconf: unable to initialize frontend: Dialog
amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
amazon-ebs: debconf: falling back to frontend: Readline
amazon-ebs: Unpacking libc6:amd64 (2.27-3ubuntu1.3) over (2.27-3ubuntu1.2) ...
amazon-ebs: Setting up libc6:amd64 (2.27-3ubuntu1.3) ...
amazon-ebs: debconf: unable to initialize frontend: Dialog
amazon-ebs: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
amazon-ebs: debconf: falling back to frontend: Readline
amazon-ebs: Selecting previously unselected package libpython2.7-stdlib:amd64.
amazon-ebs: (Reading database ... 57328 files and directories currently installed.)
amazon-ebs: Preparing to unpack .../libpython2.7-stdlib_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package python2.7.
amazon-ebs: Preparing to unpack .../python2.7_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking python2.7 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package libpython-stdlib:amd64.
amazon-ebs: Preparing to unpack .../libpython-stdlib_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Setting up libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up python2.7-minimal (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Linking and byte-compiling packages for runtime python2.7...
amazon-ebs: Setting up python-minimal (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package python.
amazon-ebs: (Reading database ... 57838 files and directories currently installed.)
amazon-ebs: Preparing to unpack .../00-python_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking python (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package binutils-common:amd64.
amazon-ebs: Preparing to unpack .../01-binutils-common_2.30-21ubuntu1~18.04.4_amd64.deb ...
amazon-ebs: Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Selecting previously unselected package libbinutils:amd64.
amazon-ebs: Preparing to unpack .../02-libbinutils_2.30-21ubuntu1~18.04.4_amd64.deb ...
amazon-ebs: Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Selecting previously unselected package binutils-x86-64-linux-gnu.
amazon-ebs: Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.4_amd64.deb ...
amazon-ebs: Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Selecting previously unselected package binutils.
amazon-ebs: Preparing to unpack .../04-binutils_2.30-21ubuntu1~18.04.4_amd64.deb ...
amazon-ebs: Unpacking binutils (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Selecting previously unselected package libc-dev-bin.
amazon-ebs: Preparing to unpack .../05-libc-dev-bin_2.27-3ubuntu1.3_amd64.deb ...
amazon-ebs: Unpacking libc-dev-bin (2.27-3ubuntu1.3) ...
amazon-ebs: Selecting previously unselected package linux-libc-dev:amd64.
amazon-ebs: Preparing to unpack .../06-linux-libc-dev_4.15.0-124.127_amd64.deb ...
amazon-ebs: Unpacking linux-libc-dev:amd64 (4.15.0-124.127) ...
amazon-ebs: Selecting previously unselected package libc6-dev:amd64.
amazon-ebs: Preparing to unpack .../07-libc6-dev_2.27-3ubuntu1.3_amd64.deb ...
amazon-ebs: Unpacking libc6-dev:amd64 (2.27-3ubuntu1.3) ...
amazon-ebs: Selecting previously unselected package gcc-7-base:amd64.
amazon-ebs: Preparing to unpack .../08-gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libisl19:amd64.
amazon-ebs: Preparing to unpack .../09-libisl19_0.19-1_amd64.deb ...
amazon-ebs: Unpacking libisl19:amd64 (0.19-1) ...
amazon-ebs: Selecting previously unselected package libmpc3:amd64.
amazon-ebs: Preparing to unpack .../10-libmpc3_1.1.0-1_amd64.deb ...
amazon-ebs: Unpacking libmpc3:amd64 (1.1.0-1) ...
amazon-ebs: Selecting previously unselected package cpp-7.
amazon-ebs: Preparing to unpack .../11-cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package cpp.
amazon-ebs: Preparing to unpack .../12-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
amazon-ebs: Unpacking cpp (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: Selecting previously unselected package libcc1-0:amd64.
amazon-ebs: Preparing to unpack .../13-libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libgomp1:amd64.
amazon-ebs: Preparing to unpack .../14-libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libitm1:amd64.
amazon-ebs: Preparing to unpack .../15-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libatomic1:amd64.
amazon-ebs: Preparing to unpack .../16-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libasan4:amd64.
amazon-ebs: Preparing to unpack .../17-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package liblsan0:amd64.
amazon-ebs: Preparing to unpack .../18-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libtsan0:amd64.
amazon-ebs: Preparing to unpack .../19-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libubsan0:amd64.
amazon-ebs: Preparing to unpack .../20-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libcilkrts5:amd64.
amazon-ebs: Preparing to unpack .../21-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libmpx2:amd64.
amazon-ebs: Preparing to unpack .../22-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libquadmath0:amd64.
amazon-ebs: Preparing to unpack .../23-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package libgcc-7-dev:amd64.
amazon-ebs: Preparing to unpack .../24-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package gcc-7.
amazon-ebs: Preparing to unpack .../25-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package gcc.
amazon-ebs: Preparing to unpack .../26-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
amazon-ebs: Unpacking gcc (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: Selecting previously unselected package libstdc++-7-dev:amd64.
amazon-ebs: Preparing to unpack .../27-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package g++-7.
amazon-ebs: Preparing to unpack .../28-g++-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
amazon-ebs: Unpacking g++-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Selecting previously unselected package g++.
amazon-ebs: Preparing to unpack .../29-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
amazon-ebs: Unpacking g++ (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: Selecting previously unselected package make.
amazon-ebs: Preparing to unpack .../30-make_4.1-9.1ubuntu1_amd64.deb ...
amazon-ebs: Unpacking make (4.1-9.1ubuntu1) ...
amazon-ebs: Selecting previously unselected package libdpkg-perl.
amazon-ebs: Preparing to unpack .../31-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...
amazon-ebs: Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...
amazon-ebs: Selecting previously unselected package dpkg-dev.
amazon-ebs: Preparing to unpack .../32-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...
amazon-ebs: Unpacking dpkg-dev (1.19.0.5ubuntu2.3) ...
amazon-ebs: Selecting previously unselected package build-essential.
amazon-ebs: Preparing to unpack .../33-build-essential_12.4ubuntu1_amd64.deb ...
amazon-ebs: Unpacking build-essential (12.4ubuntu1) ...
amazon-ebs: Selecting previously unselected package python3-lib2to3.
amazon-ebs: Preparing to unpack .../34-python3-lib2to3_3.6.9-1~18.04_all.deb ...
amazon-ebs: Unpacking python3-lib2to3 (3.6.9-1~18.04) ...
amazon-ebs: Selecting previously unselected package python3-distutils.
amazon-ebs: Preparing to unpack .../35-python3-distutils_3.6.9-1~18.04_all.deb ...
amazon-ebs: Unpacking python3-distutils (3.6.9-1~18.04) ...
amazon-ebs: Selecting previously unselected package dh-python.
amazon-ebs: Preparing to unpack .../36-dh-python_3.20180325ubuntu2_all.deb ...
amazon-ebs: Unpacking dh-python (3.20180325ubuntu2) ...
amazon-ebs: Selecting previously unselected package libfakeroot:amd64.
amazon-ebs: Preparing to unpack .../37-libfakeroot_1.22-2ubuntu1_amd64.deb ...
amazon-ebs: Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
amazon-ebs: Selecting previously unselected package fakeroot.
amazon-ebs: Preparing to unpack .../38-fakeroot_1.22-2ubuntu1_amd64.deb ...
amazon-ebs: Unpacking fakeroot (1.22-2ubuntu1) ...
amazon-ebs: Selecting previously unselected package libalgorithm-diff-perl.
amazon-ebs: Preparing to unpack .../39-libalgorithm-diff-perl_1.19.03-1_all.deb ...
amazon-ebs: Unpacking libalgorithm-diff-perl (1.19.03-1) ...
amazon-ebs: Selecting previously unselected package libalgorithm-diff-xs-perl.
amazon-ebs: Preparing to unpack .../40-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...
amazon-ebs: Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
amazon-ebs: Selecting previously unselected package libalgorithm-merge-perl.
amazon-ebs: Preparing to unpack .../41-libalgorithm-merge-perl_0.08-3_all.deb ...
amazon-ebs: Unpacking libalgorithm-merge-perl (0.08-3) ...
amazon-ebs: Selecting previously unselected package libexpat1-dev:amd64.
amazon-ebs: Preparing to unpack .../42-libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb ...
amazon-ebs: Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ...
amazon-ebs: Selecting previously unselected package libfile-fcntllock-perl.
amazon-ebs: Preparing to unpack .../43-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...
amazon-ebs: Unpacking libfile-fcntllock-perl (0.22-3build2) ...
amazon-ebs: Selecting previously unselected package libpython2.7:amd64.
amazon-ebs: Preparing to unpack .../44-libpython2.7_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking libpython2.7:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package libpython2.7-dev:amd64.
amazon-ebs: Preparing to unpack .../45-libpython2.7-dev_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking libpython2.7-dev:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package libpython-dev:amd64.
amazon-ebs: Preparing to unpack .../46-libpython-dev_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking libpython-dev:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package libpython-all-dev:amd64.
amazon-ebs: Preparing to unpack .../47-libpython-all-dev_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking libpython-all-dev:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package libpython3.6-dev:amd64.
amazon-ebs: Preparing to unpack .../48-libpython3.6-dev_3.6.9-1~18.04ubuntu1.3_amd64.deb ...
amazon-ebs: Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.3) ...
amazon-ebs: Selecting previously unselected package libpython3-dev:amd64.
amazon-ebs: Preparing to unpack .../49-libpython3-dev_3.6.7-1~18.04_amd64.deb ...
amazon-ebs: Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) ...
amazon-ebs: Selecting previously unselected package linux-modules-4.15.0-47-generic.
amazon-ebs: Preparing to unpack .../50-linux-modules-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
amazon-ebs: Unpacking linux-modules-4.15.0-47-generic (4.15.0-47.50) ...
amazon-ebs: Selecting previously unselected package linux-image-4.15.0-47-generic.
amazon-ebs: Preparing to unpack .../51-linux-image-4.15.0-47-generic_4.15.0-47.50_amd64.deb ...
amazon-ebs: Unpacking linux-image-4.15.0-47-generic (4.15.0-47.50) ...
amazon-ebs: Selecting previously unselected package manpages-dev.
amazon-ebs: Preparing to unpack .../52-manpages-dev_4.15-1_all.deb ...
amazon-ebs: Unpacking manpages-dev (4.15-1) ...
amazon-ebs: Selecting previously unselected package python-all.
amazon-ebs: Preparing to unpack .../53-python-all_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking python-all (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package python2.7-dev.
amazon-ebs: Preparing to unpack .../54-python2.7-dev_2.7.17-1~18.04ubuntu1.2_amd64.deb ...
amazon-ebs: Unpacking python2.7-dev (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Selecting previously unselected package python-dev.
amazon-ebs: Preparing to unpack .../55-python-dev_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking python-dev (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package python-all-dev.
amazon-ebs: Preparing to unpack .../56-python-all-dev_2.7.15~rc1-1_amd64.deb ...
amazon-ebs: Unpacking python-all-dev (2.7.15~rc1-1) ...
amazon-ebs: Selecting previously unselected package python-asn1crypto.
amazon-ebs: Preparing to unpack .../57-python-asn1crypto_0.24.0-1_all.deb ...
amazon-ebs: Unpacking python-asn1crypto (0.24.0-1) ...
amazon-ebs: Selecting previously unselected package python-cffi-backend.
amazon-ebs: Preparing to unpack .../58-python-cffi-backend_1.11.5-1_amd64.deb ...
amazon-ebs: Unpacking python-cffi-backend (1.11.5-1) ...
amazon-ebs: Selecting previously unselected package python-crypto.
amazon-ebs: Preparing to unpack .../59-python-crypto_2.6.1-8ubuntu2_amd64.deb ...
amazon-ebs: Unpacking python-crypto (2.6.1-8ubuntu2) ...
amazon-ebs: Selecting previously unselected package python-enum34.
amazon-ebs: Preparing to unpack .../60-python-enum34_1.1.6-2_all.deb ...
amazon-ebs: Unpacking python-enum34 (1.1.6-2) ...
amazon-ebs: Selecting previously unselected package python-idna.
amazon-ebs: Preparing to unpack .../61-python-idna_2.6-1_all.deb ...
amazon-ebs: Unpacking python-idna (2.6-1) ...
amazon-ebs: Selecting previously unselected package python-ipaddress.
amazon-ebs: Preparing to unpack .../62-python-ipaddress_1.0.17-1_all.deb ...
amazon-ebs: Unpacking python-ipaddress (1.0.17-1) ...
amazon-ebs: Selecting previously unselected package python-six.
amazon-ebs: Preparing to unpack .../63-python-six_1.11.0-2_all.deb ...
amazon-ebs: Unpacking python-six (1.11.0-2) ...
amazon-ebs: Selecting previously unselected package python-cryptography.
amazon-ebs: Preparing to unpack .../64-python-cryptography_2.1.4-1ubuntu1.4_amd64.deb ...
amazon-ebs: Unpacking python-cryptography (2.1.4-1ubuntu1.4) ...
amazon-ebs: Selecting previously unselected package python-dbus.
amazon-ebs: Preparing to unpack .../65-python-dbus_1.2.6-1_amd64.deb ...
amazon-ebs: Unpacking python-dbus (1.2.6-1) ...
amazon-ebs: Selecting previously unselected package python-gi.
amazon-ebs: Preparing to unpack .../66-python-gi_3.26.1-2ubuntu1_amd64.deb ...
amazon-ebs: Unpacking python-gi (3.26.1-2ubuntu1) ...
amazon-ebs: Selecting previously unselected package python-secretstorage.
amazon-ebs: Preparing to unpack .../67-python-secretstorage_2.3.1-2_all.deb ...
amazon-ebs: Unpacking python-secretstorage (2.3.1-2) ...
amazon-ebs: Selecting previously unselected package python-keyring.
amazon-ebs: Preparing to unpack .../68-python-keyring_10.6.0-1_all.deb ...
amazon-ebs: Unpacking python-keyring (10.6.0-1) ...
amazon-ebs: Selecting previously unselected package python-keyrings.alt.
amazon-ebs: Preparing to unpack .../69-python-keyrings.alt_3.0-1_all.deb ...
amazon-ebs: Unpacking python-keyrings.alt (3.0-1) ...
amazon-ebs: Selecting previously unselected package python-pip-whl.
amazon-ebs: Preparing to unpack .../70-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.4_all.deb ...
amazon-ebs: Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Selecting previously unselected package python-pip.
amazon-ebs: Preparing to unpack .../71-python-pip_9.0.1-2.3~ubuntu1.18.04.4_all.deb ...
amazon-ebs: Unpacking python-pip (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Selecting previously unselected package python-pkg-resources.
amazon-ebs: Preparing to unpack .../72-python-pkg-resources_39.0.1-2_all.deb ...
amazon-ebs: Unpacking python-pkg-resources (39.0.1-2) ...
amazon-ebs: Selecting previously unselected package python-setuptools.
amazon-ebs: Preparing to unpack .../73-python-setuptools_39.0.1-2_all.deb ...
amazon-ebs: Unpacking python-setuptools (39.0.1-2) ...
amazon-ebs: Selecting previously unselected package python-wheel.
amazon-ebs: Preparing to unpack .../74-python-wheel_0.30.0-0.2_all.deb ...
amazon-ebs: Unpacking python-wheel (0.30.0-0.2) ...
amazon-ebs: Selecting previously unselected package python-xdg.
amazon-ebs: Preparing to unpack .../75-python-xdg_0.25-4ubuntu1_all.deb ...
amazon-ebs: Unpacking python-xdg (0.25-4ubuntu1) ...
amazon-ebs: Selecting previously unselected package python3-crypto.
amazon-ebs: Preparing to unpack .../76-python3-crypto_2.6.1-8ubuntu2_amd64.deb ...
amazon-ebs: Unpacking python3-crypto (2.6.1-8ubuntu2) ...
amazon-ebs: Selecting previously unselected package python3.6-dev.
amazon-ebs: Preparing to unpack .../77-python3.6-dev_3.6.9-1~18.04ubuntu1.3_amd64.deb ...
amazon-ebs: Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.3) ...
amazon-ebs: Selecting previously unselected package python3-dev.
amazon-ebs: Preparing to unpack .../78-python3-dev_3.6.7-1~18.04_amd64.deb ...
amazon-ebs: Unpacking python3-dev (3.6.7-1~18.04) ...
amazon-ebs: Selecting previously unselected package python3-secretstorage.
amazon-ebs: Preparing to unpack .../79-python3-secretstorage_2.3.1-2_all.deb ...
amazon-ebs: Unpacking python3-secretstorage (2.3.1-2) ...
amazon-ebs: Selecting previously unselected package python3-keyring.
amazon-ebs: Preparing to unpack .../80-python3-keyring_10.6.0-1_all.deb ...
amazon-ebs: Unpacking python3-keyring (10.6.0-1) ...
amazon-ebs: Selecting previously unselected package python3-keyrings.alt.
amazon-ebs: Preparing to unpack .../81-python3-keyrings.alt_3.0-1_all.deb ...
amazon-ebs: Unpacking python3-keyrings.alt (3.0-1) ...
amazon-ebs: Selecting previously unselected package python3-pip.
amazon-ebs: Preparing to unpack .../82-python3-pip_9.0.1-2.3~ubuntu1.18.04.4_all.deb ...
amazon-ebs: Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Selecting previously unselected package python3-setuptools.
amazon-ebs: Preparing to unpack .../83-python3-setuptools_39.0.1-2_all.deb ...
amazon-ebs: Unpacking python3-setuptools (39.0.1-2) ...
amazon-ebs: Selecting previously unselected package python3-wheel.
amazon-ebs: Preparing to unpack .../84-python3-wheel_0.30.0-0.2_all.deb ...
amazon-ebs: Unpacking python3-wheel (0.30.0-0.2) ...
amazon-ebs: Selecting previously unselected package python3-xdg.
amazon-ebs: Preparing to unpack .../85-python3-xdg_0.25-4ubuntu1_all.deb ...
amazon-ebs: Unpacking python3-xdg (0.25-4ubuntu1) ...
amazon-ebs: Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up make (4.1-9.1ubuntu1) ...
amazon-ebs: Setting up python3-crypto (2.6.1-8ubuntu2) ...
amazon-ebs: Setting up linux-modules-4.15.0-47-generic (4.15.0-47.50) ...
amazon-ebs: Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up python3-xdg (0.25-4ubuntu1) ...
amazon-ebs: Setting up python3-keyrings.alt (3.0-1) ...
amazon-ebs: Setting up linux-libc-dev:amd64 (4.15.0-124.127) ...
amazon-ebs: Setting up libdpkg-perl (1.19.0.5ubuntu2.3) ...
amazon-ebs: Setting up python3-wheel (0.30.0-0.2) ...
amazon-ebs: Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Setting up libfile-fcntllock-perl (0.22-3build2) ...
amazon-ebs: Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
amazon-ebs: Setting up libalgorithm-diff-perl (1.19.03-1) ...
amazon-ebs: Setting up libmpc3:amd64 (1.1.0-1) ...
amazon-ebs: Setting up libc-dev-bin (2.27-3ubuntu1.3) ...
amazon-ebs: Setting up python3-lib2to3 (3.6.9-1~18.04) ...
amazon-ebs: Setting up python3-secretstorage (2.3.1-2) ...
amazon-ebs: Setting up manpages-dev (4.15-1) ...
amazon-ebs: Setting up libc6-dev:amd64 (2.27-3ubuntu1.3) ...
amazon-ebs: Setting up python3-distutils (3.6.9-1~18.04) ...
amazon-ebs: Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
amazon-ebs: Setting up libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up libisl19:amd64 (0.19-1) ...
amazon-ebs: Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up python3-keyring (10.6.0-1) ...
amazon-ebs: Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Setting up linux-image-4.15.0-47-generic (4.15.0-47.50) ...
amazon-ebs: I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-47-generic
amazon-ebs: I: /initrd.img is now a symlink to boot/initrd.img-4.15.0-47-generic
amazon-ebs: Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up python2.7 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up fakeroot (1.22-2ubuntu1) ...
amazon-ebs: update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
amazon-ebs: Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up cpp-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Setting up libalgorithm-merge-perl (0.08-3) ...
amazon-ebs: Setting up libalgorithm-diff-xs-perl (0.04-5) ...
amazon-ebs: Setting up libpython2.7:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ...
amazon-ebs: Setting up libpython2.7-dev:amd64 (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up python3-setuptools (39.0.1-2) ...
amazon-ebs: Setting up dh-python (3.20180325ubuntu2) ...
amazon-ebs: Setting up python2.7-dev (2.7.17-1~18.04ubuntu1.2) ...
amazon-ebs: Setting up python (2.7.15~rc1-1) ...
amazon-ebs: Setting up python-xdg (0.25-4ubuntu1) ...
amazon-ebs: Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Setting up python-idna (2.6-1) ...
amazon-ebs: Setting up cpp (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: Setting up libpython-dev:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Setting up python-asn1crypto (0.24.0-1) ...
amazon-ebs: Setting up python-crypto (2.6.1-8ubuntu2) ...
amazon-ebs: Setting up python-dev (2.7.15~rc1-1) ...
amazon-ebs: Setting up python-wheel (0.30.0-0.2) ...
amazon-ebs: Setting up libpython-all-dev:amd64 (2.7.15~rc1-1) ...
amazon-ebs: Setting up python-pkg-resources (39.0.1-2) ...
amazon-ebs: Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.3) ...
amazon-ebs: Setting up python-cffi-backend (1.11.5-1) ...
amazon-ebs: Setting up python-gi (3.26.1-2ubuntu1) ...
amazon-ebs: Setting up python-six (1.11.0-2) ...
amazon-ebs: Setting up python-enum34 (1.1.6-2) ...
amazon-ebs: Setting up binutils (2.30-21ubuntu1~18.04.4) ...
amazon-ebs: Setting up python-dbus (1.2.6-1) ...
amazon-ebs: Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.3) ...
amazon-ebs: Setting up python-ipaddress (1.0.17-1) ...
amazon-ebs: Setting up python-pip (9.0.1-2.3~ubuntu1.18.04.4) ...
amazon-ebs: Setting up python-all (2.7.15~rc1-1) ...
amazon-ebs: Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ...
amazon-ebs: Setting up python-setuptools (39.0.1-2) ...
amazon-ebs: Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up g++-7 (7.5.0-3ubuntu1~18.04) ...
amazon-ebs: Setting up python3-dev (3.6.7-1~18.04) ...
amazon-ebs: Setting up gcc (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: Setting up python-keyrings.alt (3.0-1) ...
amazon-ebs: Setting up dpkg-dev (1.19.0.5ubuntu2.3) ...
amazon-ebs: Setting up python-all-dev (2.7.15~rc1-1) ...
amazon-ebs: Setting up python-cryptography (2.1.4-1ubuntu1.4) ...
amazon-ebs: Setting up g++ (4:7.4.0-1ubuntu2.3) ...
amazon-ebs: update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
amazon-ebs: Setting up python-secretstorage (2.3.1-2) ...
amazon-ebs: Setting up python-keyring (10.6.0-1) ...
amazon-ebs: Setting up build-essential (12.4ubuntu1) ...
amazon-ebs: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
amazon-ebs: Processing triggers for mime-support (3.60ubuntu1) ...
amazon-ebs: Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
amazon-ebs: Processing triggers for linux-image-4.15.0-47-generic (4.15.0-47.50) ...
amazon-ebs: /etc/kernel/postinst.d/initramfs-tools:
amazon-ebs: update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic
amazon-ebs: /etc/kernel/postinst.d/zz-update-grub:
amazon-ebs: Sourcing file `/etc/default/grub'
amazon-ebs: Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
amazon-ebs: Generating grub configuration file ...
amazon-ebs: Found linux image: /boot/vmlinuz-5.4.0-1029-aws
amazon-ebs: Found initrd image: /boot/initrd.img-5.4.0-1029-aws
amazon-ebs: Found linux image: /boot/vmlinuz-4.15.0-47-generic
amazon-ebs: Found initrd image: /boot/initrd.img-4.15.0-47-generic
amazon-ebs: done
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
amazon-ebs: Collecting pip
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
amazon-ebs: Downloading https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5MB)
amazon-ebs: Installing collected packages: pip
amazon-ebs: Found existing installation: pip 9.0.1
amazon-ebs: Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
amazon-ebs: Successfully installed pip-20.2.4
==> amazon-ebs: WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
amazon-ebs: Collecting ansible
amazon-ebs: Downloading ansible-2.10.3.tar.gz (28.0 MB)
amazon-ebs: Collecting ansible-base<2.11,>=2.10.3
amazon-ebs: Downloading ansible-base-2.10.3.tar.gz (5.8 MB)
amazon-ebs: Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from ansible-base<2.11,>=2.10.3->ansible) (3.12)
amazon-ebs: Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible-base<2.11,>=2.10.3->ansible) (2.1.4)
amazon-ebs: Requirement already satisfied: jinja2 in /usr/lib/python3/dist-packages (from ansible-base<2.11,>=2.10.3->ansible) (2.10)
amazon-ebs: Collecting packaging
amazon-ebs: Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
amazon-ebs: Requirement already satisfied: six in /usr/lib/python3/dist-packages (from packaging->ansible-base<2.11,>=2.10.3->ansible) (1.11.0)
amazon-ebs: Collecting pyparsing>=2.0.2
amazon-ebs: Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
amazon-ebs: Building wheels for collected packages: ansible, ansible-base
amazon-ebs: Building wheel for ansible (setup.py): started
amazon-ebs: Building wheel for ansible (setup.py): finished with status 'done'
amazon-ebs: Created wheel for ansible: filename=ansible-2.10.3-py3-none-any.whl size=46083087 sha256=4d58b1ae5b9ea92cdaa27d0ad62294ef19dd44aee4a7ffab5909244f366dde9a
amazon-ebs: Stored in directory: /tmp/pip-ephem-wheel-cache-tm1e94vs/wheels/3b/56/b0/fb0837270bfbd10b239e354d5cbe3abc50a3a4d9a885adb1b7
amazon-ebs: Building wheel for ansible-base (setup.py): started
amazon-ebs: Building wheel for ansible-base (setup.py): finished with status 'done'
amazon-ebs: Created wheel for ansible-base: filename=ansible_base-2.10.3-py3-none-any.whl size=1853897 sha256=415180203387a9a18abfe1828ac23b33dedb6a3a3ecbde00b87aeaf2596519de
amazon-ebs: Stored in directory: /tmp/pip-ephem-wheel-cache-tm1e94vs/wheels/e0/36/72/733a42537220bc29763b228c889c153c6c6df89b07c918f221
amazon-ebs: Successfully built ansible ansible-base
amazon-ebs: Installing collected packages: pyparsing, packaging, ansible-base, ansible
amazon-ebs: Successfully installed ansible-2.10.3 ansible-base-2.10.3 packaging-20.4 pyparsing-2.4.7
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> amazon-ebs: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
amazon-ebs: Collecting pip
amazon-ebs: Downloading https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5MB)
amazon-ebs: Installing collected packages: pip
amazon-ebs: Found existing installation: pip 9.0.1
amazon-ebs: Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
amazon-ebs: Successfully installed pip-20.2.4
==> amazon-ebs: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
==> amazon-ebs: WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
amazon-ebs: Collecting pyyaml
amazon-ebs: Downloading PyYAML-5.3.1.tar.gz (269 kB)
amazon-ebs: Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (1.11.0)
amazon-ebs: Building wheels for collected packages: pyyaml
amazon-ebs: Building wheel for pyyaml (setup.py): started
amazon-ebs: Building wheel for pyyaml (setup.py): finished with status 'done'
amazon-ebs: Created wheel for pyyaml: filename=PyYAML-5.3.1-cp27-cp27mu-linux_x86_64.whl size=46944 sha256=f3dd95cf10a20011904eefdc54e8680fd1143ac128b54ef7ff416659af2838e0
amazon-ebs: Stored in directory: /tmp/pip-ephem-wheel-cache-dDnlOA/wheels/d1/d5/a0/3c27cdc8b0209c5fc1385afeee936cf8a71e13d885388b4be2
amazon-ebs: Successfully built pyyaml
amazon-ebs: Installing collected packages: pyyaml
amazon-ebs: Successfully installed pyyaml-5.3.1
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] 45877 bytes written for 'stdout'
2020/11/18 13:06:14 [INFO] 2464 bytes written for 'stderr'
2020/11/18 13:06:14 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] 45877 bytes written for 'stdout'
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] 2464 bytes written for 'stderr'
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f /tmp/script_9586.sh
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] (telemetry) ending shell
2020/11/18 13:06:14 [INFO] (telemetry) Starting provisioner shell
==> amazon-ebs: Provisioning with shell script: downgrade-kernel.sh
2020/11/18 13:06:14 packer-provisioner-shell plugin: Opening downgrade-kernel.sh for reading
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] 945 bytes written for 'uploadData'
2020/11/18 13:06:14 [INFO] 945 bytes written for 'uploadData'
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Starting remote scp process: scp -vt /tmp
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Started SCP session, beginning transfers...
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Copying input data into temporary file so we can read the length
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] scp: Uploading script_3673.sh: perms=C0644 size=945
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] SCP session complete, closing stdin pipe.
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Waiting for SSH session to complete.
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] scp stderr (length 31): Sink: C0644 945 script_3673.sh
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_3673.sh
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:14 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:14 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod +x /tmp/script_3673.sh; sudo sh -c 'KERNEL_VERSION='4.15.0-47-generic' PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_3673.sh'
amazon-ebs: Downgrading to kernel version 4.15.0-47-generic
==> amazon-ebs: Sourcing file `/etc/default/grub'
==> amazon-ebs: Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
==> amazon-ebs: Generating grub configuration file ...
==> amazon-ebs: Found linux image: /boot/vmlinuz-5.4.0-1029-aws
==> amazon-ebs: Found initrd image: /boot/initrd.img-5.4.0-1029-aws
==> amazon-ebs: Found linux image: /boot/vmlinuz-4.15.0-47-generic
==> amazon-ebs: Found initrd image: /boot/initrd.img-4.15.0-47-generic
==> amazon-ebs: done
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [ERROR] Remote command exited without exit status or exit signal.
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 2300218
2020/11/18 13:06:44 [INFO] 48 bytes written for 'stdout'
amazon-ebs: Exiting session with sessionId: simonw@XXXXXXX.com-03ec909b408364739.
2020/11/18 13:06:44 [INFO] 345 bytes written for 'stderr'
2020/11/18 13:06:44 [INFO] RPC client: Communicator ended with: 2300218
2020/11/18 13:06:44 [INFO] RPC endpoint: Communicator ended with: 2300218
2020/11/18 13:06:44 packer-provisioner-shell plugin: [INFO] 48 bytes written for 'stdout'
2020/11/18 13:06:44 packer-provisioner-shell plugin: [INFO] 345 bytes written for 'stderr'
2020/11/18 13:06:44 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 2300218
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [ERROR] ssh session open error: 'EOF', attempting reconnect
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting to TCP connection for SSH
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: ssm: Starting PortForwarding session to instance i-09224ec68cb71e49b
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: [ERROR] reconnection error: dial tcp [::1]:8764: connect: connection refused
2020/11/18 13:06:44 packer-provisioner-shell plugin: Retryable error: Error removing temporary script at /tmp/script_3673.sh: dial tcp [::1]:8764: connect: connection refused
amazon-ebs: Starting portForwarding session "simonw@XXXXXXX.com-01262742f9f86422f".
2020/11/18 13:06:44 packer-builder-amazon-ebs plugin: Executing: /Users/p41569/.local/share/sessionmanager-bundle/bin/session-manager-plugin [{"SessionId":"simonw@XXXXXXX.com-01262742f9f86422f","StreamUrl":"wss://ssmmessages.eu-west-2.amazonaws.com/v1/data-channel/simonw@XXXXXXX.com-01262742f9f86422f?role=publish_subscribe","TokenValue":"AAEAAX6sVxBjJVL79Fw6FSk5OBeqtdXmUMoNAO3UvfKdBOJnAAAAAF+1HGRa9XDLzjHtRxZSklFMFucyUNn0kD8XSfg9kCAE9L6YvXjcTzZHtWM/Y5KtpMTT3XjIWSZ8RWlfdn2/5NAWypp/uDyE15Muao9lA62k/hUceO7iqH9QYoF+wiYCNLRpmNHTilqYlJqovn12JhxMgyFuzxEANLp+y1z0E+Nu6OncWRww8SGT2Za57l28fogoUR5gl4FzOE7tns3Ee8k48/BcZNl1eiVnwXFuzW5lrbfs3LIbLsJTjVW+kXA+ftUnOmlSNW2CiShqphSP3udDCGflVWzXoUiV7PHPcXYAXNtejG/zIiacQPE9N49Q68rPbEybkyiZk2tr7nrCFdMW6SRSnad1Jt7vvRsX1HzpufDQMv99VdAOsBuciIJ1nSSqE2Q="} eu-west-2 StartSession {"DocumentName":"AWS-StartPortForwardingSession","Parameters":{"localPortNumber":["8764"],"portNumber":["22"]},"Target":"i-09224ec68cb71e49b"} wss://ssmmessages.eu-west-2.amazonaws.com/v1/data-channel/simonw@XXXXXXX.com-01262742f9f86422f?role=publish_subscribe]
amazon-ebs: Starting session with SessionId: simonw@XXXXXXX.com-01262742f9f86422f
amazon-ebs: Port 8764 opened for sessionId simonw@XXXXXXX.com-01262742f9f86422f.
2020/11/18 13:06:46 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:46 packer-builder-amazon-ebs plugin: [ERROR] ssh session open error: 'client not available', attempting reconnect
2020/11/18 13:06:46 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting to TCP connection for SSH
2020/11/18 13:06:46 packer-builder-amazon-ebs plugin: [DEBUG] handshaking with SSH
amazon-ebs: Connection accepted for session simon2@XXXXXXX.com-01262742f9f86422f.
2020/11/18 13:06:47 packer-builder-amazon-ebs plugin: [DEBUG] handshake complete!
2020/11/18 13:06:47 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [INFO] agent forwarding enabled
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f /tmp/script_3673.sh
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:48 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:48 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:48 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f
2020/11/18 13:06:48 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:48 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:06:48 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:06:48 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
==> amazon-ebs: Pausing 2m0s after this provisioner...
2020/11/18 13:08:48 [INFO] (telemetry) ending shell
2020/11/18 13:08:48 [INFO] (telemetry) Starting provisioner shell
==> amazon-ebs: Provisioning with shell script: /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-shell577299060
2020/11/18 13:08:48 packer-provisioner-shell plugin: Opening /var/folders/r9/wpgzz28x11vf2v21w7gk9pjr0000gp/T/packer-shell577299060 for reading
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:08:48 [INFO] 128 bytes written for 'uploadData'
2020/11/18 13:08:48 packer-provisioner-shell plugin: [INFO] 128 bytes written for 'uploadData'
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Starting remote scp process: scp -vt /tmp
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Started SCP session, beginning transfers...
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Copying input data into temporary file so we can read the length
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] scp: Uploading script_7749.sh: perms=C0644 size=128
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] SCP session complete, closing stdin pipe.
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Waiting for SSH session to complete.
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] scp stderr (length 31): Sink: C0644 128 script_7749.sh
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_7749.sh
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:48 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:48 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:48 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:08:48 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: chmod +x /tmp/script_7749.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_7749.sh
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] 1480 bytes written for 'stdout'
2020/11/18 13:08:58 [INFO] 0 bytes written for 'stderr'
2020/11/18 13:08:58 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 packer-provisioner-shell plugin: [INFO] 1480 bytes written for 'stdout'
2020/11/18 13:08:58 packer-provisioner-shell plugin: [INFO] 0 bytes written for 'stderr'
amazon-ebs: Linux ip-172-31-43-147 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
2020/11/18 13:08:58 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
amazon-ebs: # If you change this file, run 'update-grub' afterwards to update
amazon-ebs: # /boot/grub/grub.cfg.
amazon-ebs: # For full documentation of the options in this file, see:
amazon-ebs: # info -f grub -n 'Simple configuration'
amazon-ebs:
amazon-ebs: GRUB_DEFAULT="gnulinux-advanced-1b28661d-dff9-40d3-970a-8798394d54f6>gnulinux-4.15.0-47-generic-advanced-1b28661d-dff9-40d3-970a-8798394d54f6"
amazon-ebs: GRUB_TIMEOUT_STYLE=hidden
amazon-ebs: GRUB_TIMEOUT=0
amazon-ebs: GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
amazon-ebs: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
amazon-ebs: GRUB_CMDLINE_LINUX=""
amazon-ebs:
amazon-ebs: # Uncomment to enable BadRAM filtering, modify to suit your needs
amazon-ebs: # This works with Linux (no patch required) and with any kernel that obtains
amazon-ebs: # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
amazon-ebs: #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
amazon-ebs:
amazon-ebs: # Uncomment to disable graphical terminal (grub-pc only)
amazon-ebs: GRUB_TERMINAL=console
amazon-ebs:
amazon-ebs: # The resolution used on graphical terminal
amazon-ebs: # note that you can use only modes which your graphic card supports via VBE
amazon-ebs: # you can see them in real GRUB with the command `vbeinfo'
amazon-ebs: #GRUB_GFXMODE=640x480
amazon-ebs:
amazon-ebs: # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
amazon-ebs: #GRUB_DISABLE_LINUX_UUID=true
amazon-ebs:
amazon-ebs: # Uncomment to disable generation of recovery mode menu entries
amazon-ebs: #GRUB_DISABLE_RECOVERY="true"
amazon-ebs:
amazon-ebs: # Uncomment to get a beep at grub start
amazon-ebs: #GRUB_INIT_TUNE="480 440 1"
amazon-ebs: finished downgrading kernel
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f /tmp/script_7749.sh
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [DEBUG] Opening new ssh session
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [DEBUG] starting remote command: rm -f
2020/11/18 13:08:58 packer-builder-amazon-ebs plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] RPC endpoint: Communicator ended with: 0
2020/11/18 13:08:58 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2020/11/18 13:08:58 [INFO] (telemetry) ending shell
==> amazon-ebs: Stopping the source instance...
amazon-ebs: Stopping instance
==> amazon-ebs: Waiting for the instance to stop...
==> amazon-ebs: Creating AMI simonw-bf-sde-9.1.1-ami-1605704571 from instance i-09224ec68cb71e49b
amazon-ebs: AMI: ami-035897be50e2e3e53
==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Adding tags to AMI (ami-035897be50e2e3e53)...
==> amazon-ebs: Tagging snapshot: snap-079efc2871cbeabcd
==> amazon-ebs: Creating AMI tags
amazon-ebs: Adding tag: "UserName": "simonw"
amazon-ebs: Adding tag: "Owner": "simonw"
amazon-ebs: Adding tag: "Description": "Packer AMI build test"
==> amazon-ebs: Creating snapshot tags
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Bad exit status: -1
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
2020/11/18 13:13:35 [INFO] (telemetry) ending amazon-ebs
Build 'amazon-ebs' finished after 10 minutes 43 seconds.
==> Wait completed after 10 minutes 43 seconds
==> Builds finished. The artifacts of successful builds are:
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact-count []string{"1"}
==> Wait completed after 10 minutes 43 seconds
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact []string{"0", "builder-id", "mitchellh.amazonebs"}
==> Builds finished. The artifacts of successful builds are:
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact []string{"0", "id", "eu-west-2:ami-035897be50e2e3e53"}
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact []string{"0", "string", "AMIs were created:\neu-west-2: ami-035897be50e2e3e53\n"}
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact []string{"0", "files-count", "0"}
2020/11/18 13:13:35 machine readable: amazon-ebs,artifact []string{"0", "end"}
eu-west-2: ami-035897be50e2e3e53
--> amazon-ebs: AMIs were created:
eu-west-2: ami-035897be50e2e3e53
2020/11/18 13:13:35 [INFO] (telemetry) Finalizing.
2020/11/18 13:13:35 waiting for all plugin processes to complete...
2020/11/18 13:13:35 [ERR] Error decoding response stream 14: EOF
2020/11/18 13:13:35 /usr/local/bin/packer: plugin process exited
2020/11/18 13:13:35 /usr/local/bin/packer: plugin process exited
2020/11/18 13:13:35 /usr/local/bin/packer: plugin process exited
2020/11/18 13:13:35 /usr/local/bin/packer: plugin process exited
P41569:barefoot-ide-vm-setup p41569$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment