Skip to content

Instantly share code, notes, and snippets.

@josh-padnick
Last active November 21, 2018 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josh-padnick/a0ae497d19508c9512018d8b2c9e17d8 to your computer and use it in GitHub Desktop.
Save josh-padnick/a0ae497d19508c9512018d8b2c9e17d8 to your computer and use it in GitHub Desktop.
module-server log output
=== RUN TestOsHardeningXFS
TestOsHardeningXFS 2018-11-21T06:02:13Z region.go:72: Looking up all AWS regions available in this account
TestOsHardeningXFS 2018-11-21T06:02:15Z region.go:57: Using region ap-northeast-2
TestOsHardeningXFS 2018-11-21T06:02:15Z key_pair.go:31: Generating new public/private key of size 2048
TestOsHardeningXFS 2018-11-21T06:02:20Z keypair.go:49: Creating new Key Pair in EC2 region ap-northeast-2 named AAsSgo
TestOsHardeningXFS 2018-11-21T06:03:08Z command.go:52: Running command ./packer-build.sh with args [-var ami_module_security_version_type="branch" -var vpc_id="vpc-32e3025b" -var should_create_keypair="0" -var aws_region="ap-northeast-2" -var ami_builder_source_ami="ami-0076ae0908f382581" -var ami_builder_source_ami_ssh_username="ec2-user" -var ami_ebs_volume_size="25" -var ami_github_oauth_token="<REDACTED>" -var ami_partition_fs_type="xfs" -var ami_module_security_version="master" -var ami_builder_keypair_private_key="-----BEGIN RSA PRIVATE KEY-----\nREDACTED\n-----END RSA PRIVATE KEY-----\n" -var subnet_id="subnet-c25e7d88" -var ami_builder_keypair_name="AAsSgo" -var packer_version="1.3.1" -var ami_builder_name="AAsSgo" -var ami_gruntwork_installer_version="v0.0.21" -var ami_bash_commons_version="v0.0.7" -var ami_builder_allow_ssh_from_cidr_list=["0.0.0.0/0"]]
TestOsHardeningXFS 2018-11-21T06:03:11Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:03:11Z command.go:96: [packer-build.sh] Running terraform init
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96: Initializing modules...
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96: - module.ami_builder
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96: Getting source "../../../modules/os-hardening/ami-builder"
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96: Initializing provider plugins...
TestOsHardeningXFS 2018-11-21T06:03:12Z command.go:96: - Checking for available provider plugins on https://releases.hashicorp.com...
TestOsHardeningXFS 2018-11-21T06:03:14Z command.go:96: - Downloading plugin for provider "tls" (1.2.0)...
TestOsHardeningXFS 2018-11-21T06:03:19Z command.go:96: - Downloading plugin for provider "null" (1.0.0)...
TestOsHardeningXFS 2018-11-21T06:03:22Z command.go:96: - Downloading plugin for provider "template" (1.0.0)...
TestOsHardeningXFS 2018-11-21T06:03:31Z command.go:96: - Downloading plugin for provider "aws" (1.46.0)...
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: The following providers do not have any version constraints in configuration,
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: so the latest version was installed.
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: To prevent automatic upgrades to new major versions that may contain breaking
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: changes, it is recommended to add version = "..." constraints to the
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: corresponding provider blocks in configuration, with the constraint strings
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: suggested below.
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: * provider.aws: version = "~> 1.46"
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: * provider.null: version = "~> 1.0"
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: * provider.template: version = "~> 1.0"
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: * provider.tls: version = "~> 1.2"
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: Terraform has been successfully initialized!
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: You may now begin working with Terraform. Try running "terraform plan" to see
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: any changes that are required for your infrastructure. All Terraform commands
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: should now work.
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: If you ever set or change modules or backend configuration for Terraform,
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: rerun this command to reinitialize your working directory. If you forget, other
TestOsHardeningXFS 2018-11-21T06:04:08Z command.go:96: commands will detect it and remind you to do so if necessary.
TestOsHardeningXFS 2018-11-21T06:04:09Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:04:09Z command.go:96: [packer-build.sh] Running terraform apply with build-id = 545d2381-a947-474e-a29b-84004c668a1d
TestOsHardeningXFS 2018-11-21T06:04:23Z command.go:96: data.template_file.user_data: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:04:26Z command.go:96: data.aws_caller_identity.current: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:04:28Z command.go:96: data.aws_iam_policy_document.assume_role_policy: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:04:28Z command.go:96: data.aws_iam_policy_document.ami_builder: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: module.ami_builder.aws_security_group.instance: Creating...
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: arn: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: description: "" => "Security Group for AAsSgo"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: egress.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: ingress.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: name: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: owner_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: revoke_rules_on_delete: "" => "false"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: vpc_id: "" => "vpc-32e3025b"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Creating...
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: arn: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: assume_role_policy: "" => "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ec2.amazonaws.com\"\n }\n }\n ]\n}"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: create_date: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: force_detach_policies: "" => "false"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: max_session_duration: "" => "3600"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: name: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: path: "" => "/"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: unique_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Provisioning with 'local-exec'...
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: module.ami_builder.aws_iam_role.ami_builder (local-exec): Executing: ["/bin/sh" "-c" "echo 'Sleeping for 30 seconds to work around IAM Instance Profile propagation bug in Terraform' && sleep 30"]
TestOsHardeningXFS 2018-11-21T06:04:34Z command.go:96: module.ami_builder.aws_iam_role.ami_builder (local-exec): Sleeping for 30 seconds to work around IAM Instance Profile propagation bug in Terraform
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: module.ami_builder.aws_security_group.instance: Creation complete after 6s (ID: sg-06bf2c4e685fa8886)
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: module.ami_builder.aws_security_group_rule.allow_inbound_ssh_from_cidr: Creating...
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: cidr_blocks.#: "" => "1"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: cidr_blocks.0: "" => "0.0.0.0/0"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: from_port: "" => "22"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: protocol: "" => "tcp"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: security_group_id: "" => "sg-06bf2c4e685fa8886"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: self: "" => "false"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: source_security_group_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: to_port: "" => "22"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: type: "" => "ingress"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: module.ami_builder.aws_security_group_rule.allow_outbound_all: Creating...
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: cidr_blocks.#: "" => "1"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: cidr_blocks.0: "" => "0.0.0.0/0"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: from_port: "" => "0"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: protocol: "" => "-1"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: security_group_id: "" => "sg-06bf2c4e685fa8886"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: self: "" => "false"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: source_security_group_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: to_port: "" => "0"
TestOsHardeningXFS 2018-11-21T06:04:39Z command.go:96: type: "" => "egress"
TestOsHardeningXFS 2018-11-21T06:04:42Z command.go:96: module.ami_builder.aws_security_group_rule.allow_inbound_ssh_from_cidr: Creation complete after 2s (ID: sgrule-4203866050)
TestOsHardeningXFS 2018-11-21T06:04:44Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Still creating... (10s elapsed)
TestOsHardeningXFS 2018-11-21T06:04:44Z command.go:96: module.ami_builder.aws_security_group_rule.allow_outbound_all: Creation complete after 5s (ID: sgrule-1188924069)
TestOsHardeningXFS 2018-11-21T06:04:54Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Still creating... (20s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Still creating... (30s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Creation complete after 31s (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Creating...
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: arn: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: create_date: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: name: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: path: "" => "/"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: role: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: roles.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: unique_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_role_policy.ami_builder: Creating...
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: name: "" => "ami-builder"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: policy: "" => "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"vpc:List*\",\n \"vpc:Get*\",\n \"vpc:Describe*\",\n \"ec2:*\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: role: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_role_policy.ami_builder: Creation complete after 0s (ID: AAsSgo:ami-builder)
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Provisioning with 'local-exec'...
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder (local-exec): Executing: ["/bin/sh" "-c" "echo 'Sleeping for 30 seconds to work around IAM Instance Profile propagation bug in Terraform' && sleep 30"]
TestOsHardeningXFS 2018-11-21T06:05:04Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder (local-exec): Sleeping for 30 seconds to work around IAM Instance Profile propagation bug in Terraform
TestOsHardeningXFS 2018-11-21T06:05:14Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Still creating... (10s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:24Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Still creating... (20s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:34Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Still creating... (30s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:34Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Creation complete after 30s (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: module.ami_builder.aws_instance.ami_builder: Creating...
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: ami: "" => "ami-0076ae0908f382581"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: arn: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: associate_public_ip_address: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: availability_zone: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: cpu_core_count: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: cpu_threads_per_core: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: ebs_block_device.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: ephemeral_block_device.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: get_password_data: "" => "false"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: iam_instance_profile: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: instance_state: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: instance_type: "" => "t2.small"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: ipv6_address_count: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: ipv6_addresses.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: key_name: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: network_interface.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: network_interface_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: password_data: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: placement_group: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: primary_network_interface_id: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: private_dns: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: private_ip: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: public_dns: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: public_ip: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: root_block_device.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: security_groups.#: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: source_dest_check: "" => "true"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: subnet_id: "" => "subnet-c25e7d88"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: tags.%: "" => "1"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: tags.Name: "" => "AAsSgo"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: tenancy: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: user_data: "" => "75ec65872481af170652190328e5afd30bc83702"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: volume_tags.%: "" => "<computed>"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: vpc_security_group_ids.#: "" => "1"
TestOsHardeningXFS 2018-11-21T06:05:35Z command.go:96: vpc_security_group_ids.1053608275: "" => "sg-06bf2c4e685fa8886"
TestOsHardeningXFS 2018-11-21T06:05:45Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still creating... (10s elapsed)
TestOsHardeningXFS 2018-11-21T06:05:55Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still creating... (20s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:05Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still creating... (30s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:15Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still creating... (40s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:16Z command.go:96: module.ami_builder.aws_instance.ami_builder: Provisioning with 'file'...
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.aws_instance.ami_builder: Creation complete after 44s (ID: i-086dfcdd4aa4a27ed)
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Creating...
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Provisioning with 'remote-exec'...
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Connecting to remote host via SSH...
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Host: 54.180.113.5
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): User: ec2-user
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Password: false
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Private key: true
TestOsHardeningXFS 2018-11-21T06:06:20Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): SSH Agent: true
TestOsHardeningXFS 2018-11-21T06:06:22Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Connected!
TestOsHardeningXFS 2018-11-21T06:06:24Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot output will be in this color.
TestOsHardeningXFS 2018-11-21T06:06:24Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:06:24Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Prevalidating AMI Name: amzn-linux-hardened-2018-11-21T06-06-24Z
TestOsHardeningXFS 2018-11-21T06:06:25Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Gathering information about this EC2 instance...
TestOsHardeningXFS 2018-11-21T06:06:25Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Found Image ID: ami-0076ae0908f382581
TestOsHardeningXFS 2018-11-21T06:06:25Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Checking the root device on source AMI...
TestOsHardeningXFS 2018-11-21T06:06:25Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Creating the root volume...
TestOsHardeningXFS 2018-11-21T06:06:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (10s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (20s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Attaching the root volume to /dev/sdf
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Mounting the root device...
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Mounting additional paths within the chroot...
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Mounting: /proc
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Mounting: /sys
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Mounting: /dev
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Mounting: /dev/pts
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Mounting: /proc/sys/fs/binfmt_misc
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Copying files from host to chroot...
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: /etc/resolv.conf
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Uploading /tmp/packer/files/etc/fstab => /etc/fstab
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): 0 B / ? [----------------------------=]
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): 1 items: 1.72 KiB / 1.72 KiB [=====] 0s
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Provisioning with shell script: /tmp/packer-shell497738289
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: + sed -i -e 's|__FSTYPE__|xfs|g' /etc/fstab
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Running local shell script: /tmp/packer-shell932382327
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing gruntwork-install...
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing fetch version v0.3.2 to /usr/local/bin/fetch
TestOsHardeningXFS 2018-11-21T06:06:46Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Downloading https://github.com/gruntwork-io/fetch/releases/download/v0.3.2/fetch_linux_amd64 to /tmp/gruntwork-bootstrap-download-aJrw2x
TestOsHardeningXFS 2018-11-21T06:06:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (30s elapsed)
TestOsHardeningXFS 2018-11-21T06:06:58Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Got expected status code 200
TestOsHardeningXFS 2018-11-21T06:06:58Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Moving /tmp/gruntwork-bootstrap-download-aJrw2x to /usr/local/bin/fetch
TestOsHardeningXFS 2018-11-21T06:06:58Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing gruntwork-install version v0.0.21 to /usr/local/bin/gruntwork-install
TestOsHardeningXFS 2018-11-21T06:06:58Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Downloading https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/v0.0.21/gruntwork-install to /tmp/gruntwork-bootstrap-download-M4vJk8
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Got expected status code 200
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Moving /tmp/gruntwork-bootstrap-download-M4vJk8 to /usr/local/bin/gruntwork-install
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Creating /etc/user-data as a place to store scripts intended to be run in the User Data of an EC2 instance during boot
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Success!
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Running local shell script: /tmp/packer-shell366526026
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:06:59 [INFO] [gruntwork-install] Installing from bash-commons...
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:06:59 [INFO] [gruntwork-install] Downloading module bash-commons from https://github.com/gruntwork-io/bash-commons
TestOsHardeningXFS 2018-11-21T06:06:59Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Downloading tag "v0.0.7" of https://github.com/gruntwork-io/bash-commons ...
TestOsHardeningXFS 2018-11-21T06:07:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (40s elapsed)
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Extracting files from <repo>/modules/bash-commons to /tmp/gruntwork-script-modules/bash-commons ...
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Download and file extraction complete.
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [gruntwork-install] Executing /tmp/gruntwork-script-modules/bash-commons/install.sh
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [install.sh] Starting install of bash-commons...
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [install.sh] Successfully installed bash-commons!
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [gruntwork-install] Success!
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [gruntwork-install] Installing from os-hardening/partition-scripts...
TestOsHardeningXFS 2018-11-21T06:07:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:01 [INFO] [gruntwork-install] Downloading module os-hardening/partition-scripts from https://github.com/gruntwork-io/module-security
TestOsHardeningXFS 2018-11-21T06:07:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Downloading tag "master" of https://github.com/gruntwork-io/module-security ...
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Extracting files from <repo>/modules/os-hardening/partition-scripts to /tmp/gruntwork-script-modules/os-hardening/partition-scripts ...
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Download and file extraction complete.
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:03 [INFO] [gruntwork-install] Executing /tmp/gruntwork-script-modules/os-hardening/partition-scripts/install.sh
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [install.sh] Checking that /usr/local/bin is in the $PATH for the root user
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: /usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/aws/bin:/usr/local/bin
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [install.sh] Moving all Gruntwork Module Script bin files into /usr/local/bin
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [install.sh] Changing Gruntwork Module Script bin file ownership and permissions
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:04 [INFO] [gruntwork-install] Success!
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Running local shell script: /tmp/packer-shell094670403
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Loaded plugins: priorities, update-motd, upgrade-helper
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Resolving Dependencies
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Running transaction check
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ---> Package jq.x86_64 0:1.5-1.2.amzn1 will be installed
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Processing Dependency: jq-libs(x86-64) = 1.5-1.2.amzn1 for package: jq-1.5-1.2.amzn1.x86_64
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Processing Dependency: oniguruma for package: jq-1.5-1.2.amzn1.x86_64
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Processing Dependency: libonig.so.2()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Processing Dependency: libjq.so.1()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ---> Package xfsprogs.x86_64 0:4.5.0-9.21.amzn1 will be installed
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Running transaction check
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ---> Package jq-libs.x86_64 0:1.5-1.2.amzn1 will be installed
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ---> Package oniguruma.x86_64 0:5.9.1-3.1.2.amzn1 will be installed
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --> Finished Dependency Resolution
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Dependencies Resolved
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ================================================================================
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Package Arch Version Repository Size
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ================================================================================
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: jq x86_64 1.5-1.2.amzn1 amzn-main 44 k
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: xfsprogs x86_64 4.5.0-9.21.amzn1 amzn-main 1.7 M
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing for dependencies:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: jq-libs x86_64 1.5-1.2.amzn1 amzn-main 121 k
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: oniguruma x86_64 5.9.1-3.1.2.amzn1 amzn-main 149 k
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Transaction Summary
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: ================================================================================
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Install 2 Packages (+2 Dependent packages)
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Total download size: 2.0 M
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installed size: 4.6 M
TestOsHardeningXFS 2018-11-21T06:07:04Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Downloading packages:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: --------------------------------------------------------------------------------
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Total 3.9 MB/s | 2.0 MB 00:00
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Running transaction check
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Running transaction test
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Transaction test succeeded
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Running transaction
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing : oniguruma-5.9.1-3.1.2.amzn1.x86_64 1/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing : jq-libs-1.5-1.2.amzn1.x86_64 2/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing : jq-1.5-1.2.amzn1.x86_64 3/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installing : xfsprogs-4.5.0-9.21.amzn1.x86_64 4/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Verifying : xfsprogs-4.5.0-9.21.amzn1.x86_64 1/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Verifying : oniguruma-5.9.1-3.1.2.amzn1.x86_64 2/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Verifying : jq-1.5-1.2.amzn1.x86_64 3/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Verifying : jq-libs-1.5-1.2.amzn1.x86_64 4/4
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Installed:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: jq.x86_64 0:1.5-1.2.amzn1 xfsprogs.x86_64 0:4.5.0-9.21.amzn1
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Dependency Installed:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: jq-libs.x86_64 0:1.5-1.2.amzn1 oniguruma.x86_64 0:5.9.1-3.1.2.amzn1
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Complete!
TestOsHardeningXFS 2018-11-21T06:07:05Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:05 [Backing up the root partition of the source AMI's EBS Volume] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:06Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:05 [No device name was given on the CLI so looking up last attached device] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:07 [Identified last attached device as /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:07 [Lazily unmounting /mnt/ebs-volume] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:07 [Mounting /dev/xvdf1 on /mnt/ebs-volume as read only] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:07 [Compressing /mnt/ebs-volume to /tmp/ebs-Ufzy.tar with tar] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: tar: Removing leading `/' from member names
TestOsHardeningXFS 2018-11-21T06:07:07Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: tar: Removing leading `/' from hard link targets
TestOsHardeningXFS 2018-11-21T06:07:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (50s elapsed)
TestOsHardeningXFS 2018-11-21T06:07:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:07:29Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:29 [Source AMI root partition backup is complete!] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:29Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:29 [Formatting volume to have desired partitions] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:29Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:29 [Unmounting /mnt/ebs-volume] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:29Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:29 [Deleting partition number 1 from /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:07:30Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:30Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:30 [Creating new partition /dev/xvdf1 of size 4G.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:31Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:32Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:32Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 0
TestOsHardeningXFS 2018-11-21T06:07:32Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:32Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:32Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:32 [Formatting /dev/xvdf1 and mounting to /] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf1 isize=256 agcount=4, agsize=262144 blks
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1048576, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/"
TestOsHardeningXFS 2018-11-21T06:07:33Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:33 [Creating new partition /dev/xvdf2 of size 4G.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:34Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 1
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:35 [Formatting /dev/xvdf2 and mounting to /home] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf2 isize=256 agcount=4, agsize=262144 blks
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1048576, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/home"
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:35 [Skipping creation of partition /tmp of size * so we can create this partition last.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:35Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:35 [Creating new partition /dev/xvdf4 of size 4G.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:36Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 3
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:37 [Formatting /dev/xvdf4 and mounting to /var] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf4 isize=256 agcount=4, agsize=262144 blks
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1048576, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/var"
TestOsHardeningXFS 2018-11-21T06:07:37Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:37 [Creating new partition /dev/xvdf5 of size 4G.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:38Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 4
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:39 [Formatting /dev/xvdf5 and mounting to /var/log] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf5 isize=256 agcount=4, agsize=262144 blks
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1048576, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/var/log"
TestOsHardeningXFS 2018-11-21T06:07:39Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:39 [Creating new partition /dev/xvdf6 of size 4G.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:07:40Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 5
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:41 [Formatting /dev/xvdf6 and mounting to /var/log/audit] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf6 isize=256 agcount=4, agsize=262144 blks
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1048576, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/var/log/aud"
TestOsHardeningXFS 2018-11-21T06:07:41Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:41 [Creating new partition /dev/xvdf3 of size *.] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:42Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Setting name!
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: partNum is 2
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: REALLY setting name!
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: The operation has completed successfully.
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Formatting /dev/xvdf3 and mounting to /tmp] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: meta-data=/dev/xvdf3 isize=256 agcount=4, agsize=327551 blks
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 attr=2, projid32bit=1
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = crc=0 finobt=0, sparse=0
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: data = bsize=4096 blocks=1310203, imaxpct=25
TestOsHardeningXFS 2018-11-21T06:07:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sunit=0 swidth=0 blks
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: naming =version 2 bsize=4096 ascii-ci=0 ftype=0
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: log =internal log bsize=4096 blocks=2560, version=2
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: = sectsz=512 sunit=0 blks, lazy-count=1
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: realtime =none extsz=4096 blocks=0, rtextents=0
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: writing all SBs
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: new label = "/tmp"
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [The EBS Volume has been successfully formatted and configured!] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Restoring backup onto newly minted partition] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Mounting /mnt/ebs-volume/ on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/) longer that 12 characters. Truncating to (/var/log) and (/) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:43 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/) longer that 12 characters. Truncating to (/var) and (/) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/) longer that 12 characters. Truncating to (/tmp) and (/) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/) longer that 12 characters. Truncating to (/home) and (/) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf1 onto /mnt/ebs-volume/] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /mnt/ebs-volume/home on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log/aud) or mount point (/home) longer that 12 characters. Truncating to (/var/log/aud) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/home) longer that 12 characters. Truncating to (/var/log) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/home) longer that 12 characters. Truncating to (/var) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/home) longer that 12 characters. Truncating to (/tmp) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/home) longer that 12 characters. Truncating to (/home) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf2 onto /mnt/ebs-volume/home] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/) or mount point (/home) longer that 12 characters. Truncating to (/) and (/home) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /mnt/ebs-volume/tmp on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log/aud) or mount point (/tmp) longer that 12 characters. Truncating to (/var/log/aud) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/tmp) longer that 12 characters. Truncating to (/var/log) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/tmp) longer that 12 characters. Truncating to (/var) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/tmp) longer that 12 characters. Truncating to (/tmp) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf3 onto /mnt/ebs-volume/tmp] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/tmp) longer that 12 characters. Truncating to (/home) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/) or mount point (/tmp) longer that 12 characters. Truncating to (/) and (/tmp) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /mnt/ebs-volume/var on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log/aud) or mount point (/var) longer that 12 characters. Truncating to (/var/log/aud) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/var) longer that 12 characters. Truncating to (/var/log) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/var) longer that 12 characters. Truncating to (/var) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf4 onto /mnt/ebs-volume/var] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/var) longer that 12 characters. Truncating to (/tmp) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/var) longer that 12 characters. Truncating to (/home) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/) or mount point (/var) longer that 12 characters. Truncating to (/) and (/var) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /mnt/ebs-volume/var/log on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log/aud) or mount point (/var/log) longer that 12 characters. Truncating to (/var/log/aud) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/var/log) longer that 12 characters. Truncating to (/var/log) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf5 onto /mnt/ebs-volume/var/log] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/var/log) longer that 12 characters. Truncating to (/var) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/var/log) longer that 12 characters. Truncating to (/tmp) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/var/log) longer that 12 characters. Truncating to (/home) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/) or mount point (/var/log) longer that 12 characters. Truncating to (/) and (/var/log) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /mnt/ebs-volume/var/log/audit on /dev/xvdf] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf6] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log/aud) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/var/log/aud) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Mounting /dev/xvdf6 onto /mnt/ebs-volume/var/log/audit] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf5] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var/log) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/var/log) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf4] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/var) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/var) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf3] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/tmp) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/tmp) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf2] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/home) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/home) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Looking up partition label on /dev/xvdf1] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [WARN] [partition-volume] Deteced a partition label (/) or mount point (/var/log/audit) longer that 12 characters. Truncating to (/) and (/var/log/aud) for compatibility
TestOsHardeningXFS 2018-11-21T06:07:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:07:44 [Restoring from /tmp/ebs-Ufzy.tar] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:07:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: 2018-11-21 06:08:01 [Restore was successful!] [partition-volume]
TestOsHardeningXFS 2018-11-21T06:08:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Running local shell script: /tmp/packer-shell415524319
TestOsHardeningXFS 2018-11-21T06:08:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: + sudo grub --batch
TestOsHardeningXFS 2018-11-21T06:08:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: + cat
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Probing devices to guess BIOS drives. This may take a long time.
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: GNU GRUB version 0.97 (640K lower / 3072K upper memory)
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [ Minimal BASH-like line editing is supported. For the first word, TAB
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: lists possible command completions. Anywhere else TAB lists the possible
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: completions of a device/filename.]
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: grub> device (hd0) /dev/xvdf
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: grub> root (hd0,0)
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Filesystem type is xfs, partition type 0x83
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: grub> setup (hd0)
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Checking if "/boot/grub/stage1" exists... no
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Checking if "/grub/stage1" exists... no
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Error 15: File not found
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: grub>
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Provisioning with shell script: /tmp/packer-shell157883452
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Additional configuration steps go here! Note that these will execute in the chrooted environment.
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Running local shell script: /tmp/packer-shell086904652
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting all volumes
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/var/log/audit
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/var/log
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/var
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/tmp
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/home
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Unmounting /mnt/ebs-volume/
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: [cleanup-volume] Remounting a fake volume at /mnt/ebs-volume so Packer will successfully unmount the mount point it originally mounted.
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot:
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Unmounting the root device...
TestOsHardeningXFS 2018-11-21T06:08:02Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Detaching EBS volume...
TestOsHardeningXFS 2018-11-21T06:08:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (1m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:13Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Creating snapshot...
TestOsHardeningXFS 2018-11-21T06:08:13Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Snapshot ID: snap-08440d0ac4824db59
TestOsHardeningXFS 2018-11-21T06:08:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:08:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Registering the AMI...
TestOsHardeningXFS 2018-11-21T06:08:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: AMI: ami-03cecf1f71a6d5e3c
TestOsHardeningXFS 2018-11-21T06:08:43Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Waiting for AMI to become ready...
TestOsHardeningXFS 2018-11-21T06:08:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Creating Encrypted AMI Copy
TestOsHardeningXFS 2018-11-21T06:08:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Copying AMI: ap-northeast-2(ami-03cecf1f71a6d5e3c)
TestOsHardeningXFS 2018-11-21T06:08:44Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Waiting for AMI copy to become ready...
TestOsHardeningXFS 2018-11-21T06:08:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (2m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:09:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (3m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:10:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (4m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:11:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (5m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:12:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:10Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (6m50s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:20Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (7m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:30Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (7m10s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:40Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (7m20s elapsed)
TestOsHardeningXFS 2018-11-21T06:13:50Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (7m30s elapsed)
TestOsHardeningXFS 2018-11-21T06:14:00Z command.go:96: module.ami_builder.null_resource.ami_builder: Still creating... (7m40s elapsed)
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Deregistering unencrypted AMI
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Deleting unencrypted snapshots
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Deleting Snapshot ID: snap-08440d0ac4824db59
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Adding tags to AMI (ami-070c0da8a38b2c6ac)...
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Tagging snapshot: snap-04b3164cd3da8f0fe
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Creating AMI tags
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): amazon-chroot: Adding tag: "build-id": "545d2381-a947-474e-a29b-84004c668a1d"
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Creating snapshot tags
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> amazon-chroot: Deleting the created EBS volume...
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): Build 'amazon-chroot' finished.
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ==> Builds finished. The artifacts of successful builds are:
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): --> amazon-chroot: AMIs were created:
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96: module.ami_builder.null_resource.ami_builder (remote-exec): ap-northeast-2: ami-070c0da8a38b2c6ac
TestOsHardeningXFS 2018-11-21T06:14:01Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96: module.ami_builder.null_resource.ami_builder: Creation complete after 7m44s (ID: 714355927440913492)
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96: Apply complete! Resources: 8 added, 0 changed, 0 destroyed.
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96: Outputs:
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:14:03Z command.go:96: private_key =
TestOsHardeningXFS 2018-11-21T06:14:04Z command.go:96: data.template_file.user_data: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:14:06Z command.go:96: data.aws_caller_identity.current: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:14:08Z command.go:96: aws_security_group.instance: Refreshing state... (ID: sg-06bf2c4e685fa8886)
TestOsHardeningXFS 2018-11-21T06:14:08Z command.go:96: data.aws_iam_policy_document.ami_builder: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:14:08Z command.go:96: data.aws_iam_policy_document.assume_role_policy: Refreshing state...
TestOsHardeningXFS 2018-11-21T06:14:08Z command.go:96: aws_iam_role.ami_builder: Refreshing state... (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:14:09Z command.go:96: aws_iam_instance_profile.ami_builder: Refreshing state... (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:14:09Z command.go:96: aws_iam_role_policy.ami_builder: Refreshing state... (ID: AAsSgo:ami-builder)
TestOsHardeningXFS 2018-11-21T06:14:09Z command.go:96: aws_instance.ami_builder: Refreshing state... (ID: i-086dfcdd4aa4a27ed)
TestOsHardeningXFS 2018-11-21T06:14:09Z command.go:96: aws_security_group_rule.allow_outbound_all: Refreshing state... (ID: sgrule-1188924069)
TestOsHardeningXFS 2018-11-21T06:14:09Z command.go:96: aws_security_group_rule.allow_inbound_ssh_from_cidr: Refreshing state... (ID: sgrule-4203866050)
TestOsHardeningXFS 2018-11-21T06:14:16Z command.go:96: null_resource.ami_builder: Refreshing state... (ID: 714355927440913492)
TestOsHardeningXFS 2018-11-21T06:14:16Z command.go:96: module.ami_builder.null_resource.ami_builder: Destroying... (ID: 714355927440913492)
TestOsHardeningXFS 2018-11-21T06:14:16Z command.go:96: module.ami_builder.null_resource.ami_builder: Destruction complete after 0s
TestOsHardeningXFS 2018-11-21T06:14:19Z command.go:96: module.ami_builder.aws_iam_role_policy.ami_builder: Destroying... (ID: AAsSgo:ami-builder)
TestOsHardeningXFS 2018-11-21T06:14:19Z command.go:96: module.ami_builder.aws_security_group_rule.allow_outbound_all: Destroying... (ID: sgrule-1188924069)
TestOsHardeningXFS 2018-11-21T06:14:19Z command.go:96: module.ami_builder.aws_instance.ami_builder: Destroying... (ID: i-086dfcdd4aa4a27ed)
TestOsHardeningXFS 2018-11-21T06:14:19Z command.go:96: module.ami_builder.aws_security_group_rule.allow_inbound_ssh_from_cidr: Destroying... (ID: sgrule-4203866050)
TestOsHardeningXFS 2018-11-21T06:14:19Z command.go:96: module.ami_builder.aws_iam_role_policy.ami_builder: Destruction complete after 0s
TestOsHardeningXFS 2018-11-21T06:14:21Z command.go:96: module.ami_builder.aws_security_group_rule.allow_inbound_ssh_from_cidr: Destruction complete after 1s
TestOsHardeningXFS 2018-11-21T06:14:23Z command.go:96: module.ami_builder.aws_security_group_rule.allow_outbound_all: Destruction complete after 3s
TestOsHardeningXFS 2018-11-21T06:14:29Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 10s elapsed)
TestOsHardeningXFS 2018-11-21T06:14:39Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 20s elapsed)
TestOsHardeningXFS 2018-11-21T06:14:49Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 30s elapsed)
TestOsHardeningXFS 2018-11-21T06:14:59Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 40s elapsed)
TestOsHardeningXFS 2018-11-21T06:15:09Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 50s elapsed)
TestOsHardeningXFS 2018-11-21T06:15:19Z command.go:96: module.ami_builder.aws_instance.ami_builder: Still destroying... (ID: i-086dfcdd4aa4a27ed, 1m0s elapsed)
TestOsHardeningXFS 2018-11-21T06:15:25Z command.go:96: module.ami_builder.aws_instance.ami_builder: Destruction complete after 1m6s
TestOsHardeningXFS 2018-11-21T06:15:25Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Destroying... (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:15:25Z command.go:96: module.ami_builder.aws_security_group.instance: Destroying... (ID: sg-06bf2c4e685fa8886)
TestOsHardeningXFS 2018-11-21T06:15:26Z command.go:96: module.ami_builder.aws_iam_instance_profile.ami_builder: Destruction complete after 0s
TestOsHardeningXFS 2018-11-21T06:15:26Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Destroying... (ID: AAsSgo)
TestOsHardeningXFS 2018-11-21T06:15:26Z command.go:96: module.ami_builder.aws_iam_role.ami_builder: Destruction complete after 0s
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96: module.ami_builder.aws_security_group.instance: Destruction complete after 2s
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96: Destroy complete! Resources: 8 destroyed.
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96: [packer-build.sh] The AMI was successfully created!
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96:
TestOsHardeningXFS 2018-11-21T06:15:27Z command.go:96: [packer-build.sh] Looking up AMI whose build-id = 545d2381-a947-474e-a29b-84004c668a1d
TestOsHardeningXFS 2018-11-21T06:15:30Z command.go:96: ami-070c0da8a38b2c6ac
TestOsHardeningXFS 2018-11-21T06:15:32Z test_helpers.go:468: Sleeping 10s: Waiting for EC2 Instance to get a public IP address assigned
TestOsHardeningXFS 2018-11-21T06:15:43Z test_helpers.go:468: Sleeping 3m0s: Waiting for EC2 Instance to finish booting so we can SSH in
TestOsHardeningXFS 2018-11-21T06:18:43Z ssh.go:165: Running command sudo mount && sudo sgdisk -p /dev/xvda on ec2-user@13.209.21.219
TestOsHardeningXFS 2018-11-21T06:18:53Z test_helpers.go:359: Terminating EC2 Instance i-0c2f7699ab1e9c3b6
TestOsHardeningXFS 2018-11-21T06:18:54Z test_helpers.go:468: Sleeping 45s: Waiting for EC2 Instance to Terminate so we can safely delete dependent objects like Security Groups when completed.
TestOsHardeningXFS 2018-11-21T06:19:39Z test_helpers.go:196: Deleting Security Group sg-0d76abdeecd92728e
TestOsHardeningXFS 2018-11-21T06:19:39Z keypair.go:79: Deleting Key Pair in EC2 region ap-northeast-2 named AAsSgo
--- FAIL: TestOsHardeningXFS (1046.05s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment