Skip to content

Instantly share code, notes, and snippets.

@jkutner
Last active November 27, 2018 21:15
Show Gist options
  • Save jkutner/f027f0c6180f20738ffe5702131f817d to your computer and use it in GitHub Desktop.
Save jkutner/f027f0c6180f20738ffe5702131f817d to your computer and use it in GitHub Desktop.
$ go test -v -count=1 -parallel=1 ./...
=== RUN TestBuild
Suite: build
Total: 31 | Focused: 0 | Pending: 0
=== RUN TestBuild/build
=== RUN TestBuild/build/#BuildConfigFromFlags/defaults_to_daemon,_default-builder,_pulls_builder_and_run_images,_selects_run-image_using_builder's_stack
=== PAUSE TestBuild/build/#BuildConfigFromFlags/defaults_to_daemon,_default-builder,_pulls_builder_and_run_images,_selects_run-image_using_builder's_stack
=== RUN TestBuild/build/#BuildConfigFromFlags/respects_builder_from_flags
=== PAUSE TestBuild/build/#BuildConfigFromFlags/respects_builder_from_flags
=== RUN TestBuild/build/#BuildConfigFromFlags/selects_run_images_with_matching_registry
=== PAUSE TestBuild/build/#BuildConfigFromFlags/selects_run_images_with_matching_registry
=== RUN TestBuild/build/#BuildConfigFromFlags/doesn't_pull_run_images_when_--publish_is_passed
=== PAUSE TestBuild/build/#BuildConfigFromFlags/doesn't_pull_run_images_when_--publish_is_passed
=== RUN TestBuild/build/#BuildConfigFromFlags/allows_run-image_from_flags_if_the_stacks_match
=== PAUSE TestBuild/build/#BuildConfigFromFlags/allows_run-image_from_flags_if_the_stacks_match
=== RUN TestBuild/build/#BuildConfigFromFlags/doesn't_allows_run-image_from_flags_if_the_stacks_are_difference
=== PAUSE TestBuild/build/#BuildConfigFromFlags/doesn't_allows_run-image_from_flags_if_the_stacks_are_difference
=== RUN TestBuild/build/#BuildConfigFromFlags/uses_working_dir_if_appDir_is_set_to_placeholder_value
=== PAUSE TestBuild/build/#BuildConfigFromFlags/uses_working_dir_if_appDir_is_set_to_placeholder_value
=== RUN TestBuild/build/#BuildConfigFromFlags/returns_an_errors_when_the_builder_stack_label_is_missing
=== PAUSE TestBuild/build/#BuildConfigFromFlags/returns_an_errors_when_the_builder_stack_label_is_missing
=== RUN TestBuild/build/#BuildConfigFromFlags/sets_EnvFile
=== PAUSE TestBuild/build/#BuildConfigFromFlags/sets_EnvFile
=== RUN TestBuild/build/#Detect/copies_the_app_in_to_docker_and_chowns_it_(including_directories)
=== PAUSE TestBuild/build/#Detect/copies_the_app_in_to_docker_and_chowns_it_(including_directories)
=== RUN TestBuild/build/#Detect/app_is_detected/returns_the_successful_group_with_node
=== PAUSE TestBuild/build/#Detect/app_is_detected/returns_the_successful_group_with_node
=== RUN TestBuild/build/#Detect/app_is_not_detectable/returns_the_successful_group_with_node
=== PAUSE TestBuild/build/#Detect/app_is_not_detectable/returns_the_successful_group_with_node
=== RUN TestBuild/build/#Detect/buildpacks_are_specified/directory_buildpack/copies_directories_to_workspace_and_sets_order.toml
=== PAUSE TestBuild/build/#Detect/buildpacks_are_specified/directory_buildpack/copies_directories_to_workspace_and_sets_order.toml
=== RUN TestBuild/build/#Detect/buildpacks_are_specified/id@version_buildpack/symlinks_directories_to_workspace_and_sets_order.toml
=== PAUSE TestBuild/build/#Detect/buildpacks_are_specified/id@version_buildpack/symlinks_directories_to_workspace_and_sets_order.toml
=== RUN TestBuild/build/#Analyze/no_previous_image_exists/publish/informs_the_user
=== PAUSE TestBuild/build/#Analyze/no_previous_image_exists/publish/informs_the_user
=== RUN TestBuild/build/#Analyze/no_previous_image_exists/daemon/informs_the_user
=== PAUSE TestBuild/build/#Analyze/no_previous_image_exists/daemon/informs_the_user
=== RUN TestBuild/build/#Analyze/previous_image_exists/publish/tells_the_user_nothing
=== PAUSE TestBuild/build/#Analyze/previous_image_exists/publish/tells_the_user_nothing
=== RUN TestBuild/build/#Analyze/previous_image_exists/publish/places_files_in_workspace
=== PAUSE TestBuild/build/#Analyze/previous_image_exists/publish/places_files_in_workspace
=== RUN TestBuild/build/#Analyze/previous_image_exists/daemon/tells_the_user_nothing
=== PAUSE TestBuild/build/#Analyze/previous_image_exists/daemon/tells_the_user_nothing
=== RUN TestBuild/build/#Analyze/previous_image_exists/daemon/places_files_in_workspace
=== PAUSE TestBuild/build/#Analyze/previous_image_exists/daemon/places_files_in_workspace
=== RUN TestBuild/build/#Build/buildpacks_are_specified/directory_buildpack/runs_the_buildpacks_bin/build
=== PAUSE TestBuild/build/#Build/buildpacks_are_specified/directory_buildpack/runs_the_buildpacks_bin/build
=== RUN TestBuild/build/#Build/buildpacks_are_specified/id@version_buildpack/runs_the_buildpacks_bin/build
=== PAUSE TestBuild/build/#Build/buildpacks_are_specified/id@version_buildpack/runs_the_buildpacks_bin/build
=== RUN TestBuild/build/#Build/EnvFile_is_specified/sets_specified_env_variables_in_/platform/env/...
=== PAUSE TestBuild/build/#Build/EnvFile_is_specified/sets_specified_env_variables_in_/platform/env/...
=== RUN TestBuild/build/#Export/publish/creates_the_image_on_the_registry
=== PAUSE TestBuild/build/#Export/publish/creates_the_image_on_the_registry
=== RUN TestBuild/build/#Export/publish/puts_the_files_on_the_image
=== PAUSE TestBuild/build/#Export/publish/puts_the_files_on_the_image
=== RUN TestBuild/build/#Export/publish/sets_the_metadata_on_the_image
=== PAUSE TestBuild/build/#Export/publish/sets_the_metadata_on_the_image
=== RUN TestBuild/build/#Export/daemon/creates_the_image_on_the_daemon
=== PAUSE TestBuild/build/#Export/daemon/creates_the_image_on_the_daemon
=== RUN TestBuild/build/#Export/daemon/puts_the_files_on_the_image
=== PAUSE TestBuild/build/#Export/daemon/puts_the_files_on_the_image
=== RUN TestBuild/build/#Export/daemon/sets_the_metadata_on_the_image
=== PAUSE TestBuild/build/#Export/daemon/sets_the_metadata_on_the_image
=== RUN TestBuild/build/#Export/daemon/PACK_USER_ID_and_PACK_GROUP_ID_are_set_on_builder/sets_owner_of_layer_files_to_PACK_USER_ID:PACK_GROUP_ID
=== PAUSE TestBuild/build/#Export/daemon/PACK_USER_ID_and_PACK_GROUP_ID_are_set_on_builder/sets_owner_of_layer_files_to_PACK_USER_ID:PACK_GROUP_ID
=== RUN TestBuild/build/#Export/daemon/previous_image_exists/reuses_images_from_previous_layers
=== PAUSE TestBuild/build/#Export/daemon/previous_image_exists/reuses_images_from_previous_layers
=== CONT TestBuild/build/#BuildConfigFromFlags/defaults_to_daemon,_default-builder,_pulls_builder_and_run_images,_selects_run-image_using_builder's_stack
=== CONT TestBuild/build/#Analyze/previous_image_exists/publish/tells_the_user_nothing
=== CONT TestBuild/build/#Export/daemon/previous_image_exists/reuses_images_from_previous_layers
=== CONT TestBuild/build/#Export/daemon/PACK_USER_ID_and_PACK_GROUP_ID_are_set_on_builder/sets_owner_of_layer_files_to_PACK_USER_ID:PACK_GROUP_ID
=== CONT TestBuild/build/#Export/daemon/sets_the_metadata_on_the_image
=== CONT TestBuild/build/#Export/daemon/puts_the_files_on_the_image
=== CONT TestBuild/build/#Export/daemon/creates_the_image_on_the_daemon
=== CONT TestBuild/build/#Export/publish/sets_the_metadata_on_the_image
=== CONT TestBuild/build/#Build/buildpacks_are_specified/directory_buildpack/runs_the_buildpacks_bin/build
=== CONT TestBuild/build/#Analyze/previous_image_exists/daemon/places_files_in_workspace
=== CONT TestBuild/build/#Analyze/previous_image_exists/daemon/tells_the_user_nothing
=== CONT TestBuild/build/#Analyze/previous_image_exists/publish/places_files_in_workspace
=== CONT TestBuild/build/#Export/publish/creates_the_image_on_the_registry
=== CONT TestBuild/build/#Export/publish/puts_the_files_on_the_image
=== CONT TestBuild/build/#BuildConfigFromFlags/sets_EnvFile
=== CONT TestBuild/build/#Analyze/no_previous_image_exists/daemon/informs_the_user
=== CONT TestBuild/build/#Analyze/no_previous_image_exists/publish/informs_the_user
=== CONT TestBuild/build/#Build/buildpacks_are_specified/id@version_buildpack/runs_the_buildpacks_bin/build
=== CONT TestBuild/build/#Build/EnvFile_is_specified/sets_specified_env_variables_in_/platform/env/...
=== CONT TestBuild/build/#Detect/buildpacks_are_specified/id@version_buildpack/symlinks_directories_to_workspace_and_sets_order.toml
=== CONT TestBuild/build/#Detect/buildpacks_are_specified/directory_buildpack/copies_directories_to_workspace_and_sets_order.toml
=== CONT TestBuild/build/#Detect/app_is_detected/returns_the_successful_group_with_node
=== CONT TestBuild/build/#Detect/app_is_not_detectable/returns_the_successful_group_with_node
=== CONT TestBuild/build/#BuildConfigFromFlags/allows_run-image_from_flags_if_the_stacks_match
=== CONT TestBuild/build/#BuildConfigFromFlags/returns_an_errors_when_the_builder_stack_label_is_missing
=== CONT TestBuild/build/#Detect/copies_the_app_in_to_docker_and_chowns_it_(including_directories)
=== CONT TestBuild/build/#BuildConfigFromFlags/selects_run_images_with_matching_registry
=== CONT TestBuild/build/#BuildConfigFromFlags/doesn't_pull_run_images_when_--publish_is_passed
=== CONT TestBuild/build/#BuildConfigFromFlags/uses_working_dir_if_appDir_is_set_to_placeholder_value
=== CONT TestBuild/build/#BuildConfigFromFlags/doesn't_allows_run-image_from_flags_if_the_stacks_are_difference
=== CONT TestBuild/build/#BuildConfigFromFlags/respects_builder_from_flags
Passed: 31 | Failed: 0 | Skipped: 0
--- PASS: TestBuild (123.88s)
testhelpers.go:168: run registry
testhelpers.go:203: seed registry
--- PASS: TestBuild/build (0.00s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/defaults_to_daemon,_default-builder,_pulls_builder_and_run_images,_selects_run-image_using_builder's_stack (0.01s)
--- PASS: TestBuild/build/#Analyze/previous_image_exists/publish/tells_the_user_nothing (7.42s)
--- PASS: TestBuild/build/#Export/daemon/previous_image_exists/reuses_images_from_previous_layers (8.46s)
build_test.go:757: create image and h.Assert add new layer
build_test.go:767: setup workspace to reuse layer
build_test.go:775: recreate image and h.Assert copying layer from previous image
--- PASS: TestBuild/build/#Export/daemon/PACK_USER_ID_and_PACK_GROUP_ID_are_set_on_builder/sets_owner_of_layer_files_to_PACK_USER_ID:PACK_GROUP_ID (6.64s)
--- PASS: TestBuild/build/#Export/daemon/sets_the_metadata_on_the_image (4.03s)
--- PASS: TestBuild/build/#Export/daemon/puts_the_files_on_the_image (3.66s)
--- PASS: TestBuild/build/#Export/daemon/creates_the_image_on_the_daemon (3.47s)
--- PASS: TestBuild/build/#Export/publish/sets_the_metadata_on_the_image (3.91s)
--- PASS: TestBuild/build/#Build/buildpacks_are_specified/directory_buildpack/runs_the_buildpacks_bin/build (6.57s)
--- PASS: TestBuild/build/#Analyze/previous_image_exists/daemon/places_files_in_workspace (4.13s)
--- PASS: TestBuild/build/#Analyze/previous_image_exists/daemon/tells_the_user_nothing (2.54s)
--- PASS: TestBuild/build/#Analyze/previous_image_exists/publish/places_files_in_workspace (4.52s)
--- PASS: TestBuild/build/#Export/publish/creates_the_image_on_the_registry (1.80s)
--- PASS: TestBuild/build/#Export/publish/puts_the_files_on_the_image (2.63s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/sets_EnvFile (0.01s)
--- PASS: TestBuild/build/#Analyze/no_previous_image_exists/daemon/informs_the_user (0.38s)
--- PASS: TestBuild/build/#Analyze/no_previous_image_exists/publish/informs_the_user (0.37s)
--- PASS: TestBuild/build/#Build/buildpacks_are_specified/id@version_buildpack/runs_the_buildpacks_bin/build (13.29s)
--- PASS: TestBuild/build/#Build/EnvFile_is_specified/sets_specified_env_variables_in_/platform/env/... (6.27s)
--- PASS: TestBuild/build/#Detect/buildpacks_are_specified/id@version_buildpack/symlinks_directories_to_workspace_and_sets_order.toml (3.70s)
--- PASS: TestBuild/build/#Detect/buildpacks_are_specified/directory_buildpack/copies_directories_to_workspace_and_sets_order.toml (3.64s)
--- PASS: TestBuild/build/#Detect/app_is_detected/returns_the_successful_group_with_node (3.16s)
--- PASS: TestBuild/build/#Detect/app_is_not_detectable/returns_the_successful_group_with_node (3.27s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/allows_run-image_from_flags_if_the_stacks_match (0.04s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/returns_an_errors_when_the_builder_stack_label_is_missing (0.01s)
--- PASS: TestBuild/build/#Detect/copies_the_app_in_to_docker_and_chowns_it_(including_directories) (11.31s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/selects_run_images_with_matching_registry (0.01s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/doesn't_pull_run_images_when_--publish_is_passed (0.01s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/uses_working_dir_if_appDir_is_set_to_placeholder_value (0.01s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/doesn't_allows_run-image_from_flags_if_the_stacks_are_difference (0.00s)
--- PASS: TestBuild/build/#BuildConfigFromFlags/respects_builder_from_flags (0.01s)
testhelpers.go:246: stop registry
=== RUN TestCreateBuilder
Suite: create-builder
Total: 14 | Focused: 0 | Pending: 0
=== RUN TestCreateBuilder/create-builder
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/uses_default_stack_build_image_as_base_image
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/select_the_build_image_with_matching_registry
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/doesn't_pull_base_a_new_image_when_--no-pull_flag_is_provided
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/fails_if_the_base_image_cannot_be_found
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/fails_if_there_is_no_build_image_for_the_stack
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/uses_the_build_image_that_matches_the_repoName_registry
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/-s_flag_is_provided/used_the_build_image_from_the_selected_stack
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/-s_flag_is_provided/fails_if_the_provided_stack_id_does_not_exist
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/--publish_is_passed/uses_a_registry_store_and_doesn't_pull_base_image
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/#Create/successful/logs_usage_tip
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_no_scheme_uris/supports_relative_directories_as_well_as_archives
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_no_scheme_uris/supports_absolute_directories_as_well_as_archives
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_file://_uris/supports_absolute_directories_as_well_as_archives
=== RUN TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_http(s)://_uris/downloads_and_extracts_the_archive
Waiting for server to become ready on 127.0.0.1:43682. Currently Get http://127.0.0.1:43682/used-to-test-various-uri-schemes/buildpack.tgz: dial tcp 127.0.0.1:43682: connect: connection refused
Passed: 14 | Failed: 0 | Skipped: 0
--- PASS: TestCreateBuilder (1.07s)
--- PASS: TestCreateBuilder/create-builder (1.07s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/uses_default_stack_build_image_as_base_image (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/select_the_build_image_with_matching_registry (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/doesn't_pull_base_a_new_image_when_--no-pull_flag_is_provided (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/fails_if_the_base_image_cannot_be_found (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/fails_if_there_is_no_build_image_for_the_stack (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/uses_the_build_image_that_matches_the_repoName_registry (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/-s_flag_is_provided/used_the_build_image_from_the_selected_stack (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/-s_flag_is_provided/fails_if_the_provided_stack_id_does_not_exist (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#BuilderConfigFromFlags/--publish_is_passed/uses_a_registry_store_and_doesn't_pull_base_image (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/#Create/successful/logs_usage_tip (0.01s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_no_scheme_uris/supports_relative_directories_as_well_as_archives (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_no_scheme_uris/supports_absolute_directories_as_well_as_archives (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_file://_uris/supports_absolute_directories_as_well_as_archives (0.00s)
--- PASS: TestCreateBuilder/create-builder/#BuilderFactory/a_buildpack_location_uses_http(s)://_uris/downloads_and_extracts_the_archive (1.02s)
=== RUN TestRebase
Suite: rebase
Total: 4 | Focused: 0 | Pending: 0
=== RUN TestRebase/rebase
=== RUN TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_false/XXXX
=== PAUSE TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_false/XXXX
=== RUN TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_true/XXXX
=== PAUSE TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_true/XXXX
=== RUN TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_true/no-pull_is_anything/XXXX
=== PAUSE TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_true/no-pull_is_anything/XXXX
=== RUN TestRebase/rebase/#RebaseFactory/#Rebase/swaps_the_old_base_for_the_new_base_AND_stores_new_sha_for_new_runimage
=== PAUSE TestRebase/rebase/#RebaseFactory/#Rebase/swaps_the_old_base_for_the_new_base_AND_stores_new_sha_for_new_runimage
=== CONT TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_false/XXXX
=== CONT TestRebase/rebase/#RebaseFactory/#Rebase/swaps_the_old_base_for_the_new_base_AND_stores_new_sha_for_new_runimage
=== CONT TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_true/no-pull_is_anything/XXXX
=== CONT TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_true/XXXX
Passed: 4 | Failed: 0 | Skipped: 0
--- PASS: TestRebase (0.00s)
--- PASS: TestRebase/rebase (0.00s)
--- PASS: TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_false/XXXX (0.00s)
--- PASS: TestRebase/rebase/#RebaseFactory/#Rebase/swaps_the_old_base_for_the_new_base_AND_stores_new_sha_for_new_runimage (0.00s)
--- PASS: TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_true/no-pull_is_anything/XXXX (0.00s)
--- PASS: TestRebase/rebase/#RebaseFactory/#RebaseConfigFromFlags/publish_is_false/no-pull_is_true/XXXX (0.00s)
=== RUN TestRun
Suite: run
Total: 7 | Focused: 0 | Pending: 0
=== RUN TestRun/run
=== RUN TestRun/run/#RunConfigFromFlags/creates_a_RunConfig_derived_from_a_BuildConfig
=== PAUSE TestRun/run/#RunConfigFromFlags/creates_a_RunConfig_derived_from_a_BuildConfig
=== RUN TestRun/run/#Run/builds_an_image_and_runs_it
=== PAUSE TestRun/run/#Run/builds_an_image_and_runs_it
=== RUN TestRun/run/#Run/the_build_fails/exits_without_running
=== PAUSE TestRun/run/#Run/the_build_fails/exits_without_running
=== RUN TestRun/run/#Run/the_process_is_terminated/stops_the_running_container_and_cleans_up
=== PAUSE TestRun/run/#Run/the_process_is_terminated/stops_the_running_container_and_cleans_up
=== RUN TestRun/run/#Run/the_port_is_not_specified/gets_exposed_ports_from_the_built_image
=== PAUSE TestRun/run/#Run/the_port_is_not_specified/gets_exposed_ports_from_the_built_image
=== RUN TestRun/run/#Run/custom_ports_bindings_are_defined/binds_simple_ports_from_localhost_to_the_container_on_the_same_port
=== PAUSE TestRun/run/#Run/custom_ports_bindings_are_defined/binds_simple_ports_from_localhost_to_the_container_on_the_same_port
=== RUN TestRun/run/#Run/custom_ports_bindings_are_defined/binds_each_port_to_the_container
=== PAUSE TestRun/run/#Run/custom_ports_bindings_are_defined/binds_each_port_to_the_container
=== CONT TestRun/run/#RunConfigFromFlags/creates_a_RunConfig_derived_from_a_BuildConfig
=== CONT TestRun/run/#Run/the_port_is_not_specified/gets_exposed_ports_from_the_built_image
*** RUNNING:
=== CONT TestRun/run/#Run/custom_ports_bindings_are_defined/binds_each_port_to_the_container
*** RUNNING:
=== CONT TestRun/run/#Run/custom_ports_bindings_are_defined/binds_simple_ports_from_localhost_to_the_container_on_the_same_port
*** RUNNING:
=== CONT TestRun/run/#Run/the_build_fails/exits_without_running
=== CONT TestRun/run/#Run/the_process_is_terminated/stops_the_running_container_and_cleans_up
*** RUNNING:
=== CONT TestRun/run/#Run/builds_an_image_and_runs_it
*** RUNNING:
Passed: 7 | Failed: 0 | Skipped: 0
--- PASS: TestRun (0.00s)
--- PASS: TestRun/run (0.00s)
--- PASS: TestRun/run/#RunConfigFromFlags/creates_a_RunConfig_derived_from_a_BuildConfig (0.00s)
--- PASS: TestRun/run/#Run/the_port_is_not_specified/gets_exposed_ports_from_the_built_image (0.00s)
--- PASS: TestRun/run/#Run/custom_ports_bindings_are_defined/binds_each_port_to_the_container (0.00s)
--- PASS: TestRun/run/#Run/custom_ports_bindings_are_defined/binds_simple_ports_from_localhost_to_the_container_on_the_same_port (0.00s)
--- PASS: TestRun/run/#Run/the_build_fails/exits_without_running (0.00s)
--- PASS: TestRun/run/#Run/the_process_is_terminated/stops_the_running_container_and_cleans_up (0.00s)
--- PASS: TestRun/run/#Run/builds_an_image_and_runs_it (0.00s)
PASS
ok github.com/buildpack/pack 125.010s
=== RUN TestPack
Suite: pack
Total: 13 | Focused: 0 | Pending: 1
=== RUN TestPack/pack
=== RUN TestPack/pack/subcommand_is_invalid/prints_usage
=== PAUSE TestPack/pack/subcommand_is_invalid/prints_usage
=== RUN TestPack/pack/pack_build/'--publish'_flag_is_not_specified'/builds_and_exports_an_image
=== PAUSE TestPack/pack/pack_build/'--publish'_flag_is_not_specified'/builds_and_exports_an_image
=== RUN TestPack/pack/pack_build/'--buildpack'_flag_is_specified/assumes_latest_if_no_version_is_provided
=== RUN TestPack/pack/pack_build/'--publish'_flag_is_specified/builds_and_exports_an_image
=== PAUSE TestPack/pack/pack_build/'--publish'_flag_is_specified/builds_and_exports_an_image
=== RUN TestPack/pack/pack_run/starts_an_image
=== PAUSE TestPack/pack/pack_run/starts_an_image
=== RUN TestPack/pack/pack_rebase/run_on_daemon/rebases
=== PAUSE TestPack/pack/pack_rebase/run_on_daemon/rebases
=== RUN TestPack/pack/pack_rebase/run_on_registry/rebases
=== PAUSE TestPack/pack/pack_rebase/run_on_registry/rebases
=== RUN TestPack/pack/pack_create-builder/builds_and_exports_an_image
=== PAUSE TestPack/pack/pack_create-builder/builds_and_exports_an_image
=== RUN TestPack/pack/pack_add-stack/adds_a_custom_stack_to_~/.pack/config.toml
=== PAUSE TestPack/pack/pack_add-stack/adds_a_custom_stack_to_~/.pack/config.toml
=== RUN TestPack/pack/pack_update-stack/updates_an_existing_custom_stack_in_~/.pack/config.toml
=== PAUSE TestPack/pack/pack_update-stack/updates_an_existing_custom_stack_in_~/.pack/config.toml
=== RUN TestPack/pack/pack_set-default-stack/sets_the_default-stack-id_in_~/.pack/config.toml
=== PAUSE TestPack/pack/pack_set-default-stack/sets_the_default-stack-id_in_~/.pack/config.toml
=== RUN TestPack/pack/pack_delete-stack/deletes_a_custom_stack_from_~/.pack/config.toml
=== PAUSE TestPack/pack/pack_delete-stack/deletes_a_custom_stack_from_~/.pack/config.toml
=== RUN TestPack/pack/pack_set-default-builder/sets_the_default-stack-id_in_~/.pack/config.toml
=== PAUSE TestPack/pack/pack_set-default-builder/sets_the_default-stack-id_in_~/.pack/config.toml
=== CONT TestPack/pack/subcommand_is_invalid/prints_usage
=== CONT TestPack/pack/pack_create-builder/builds_and_exports_an_image
=== CONT TestPack/pack/pack_set-default-builder/sets_the_default-stack-id_in_~/.pack/config.toml
=== CONT TestPack/pack/pack_delete-stack/deletes_a_custom_stack_from_~/.pack/config.toml
=== CONT TestPack/pack/pack_set-default-stack/sets_the_default-stack-id_in_~/.pack/config.toml
=== CONT TestPack/pack/pack_update-stack/updates_an_existing_custom_stack_in_~/.pack/config.toml
=== CONT TestPack/pack/pack_add-stack/adds_a_custom_stack_to_~/.pack/config.toml
=== CONT TestPack/pack/pack_build/'--publish'_flag_is_specified/builds_and_exports_an_image
=== CONT TestPack/pack/pack_rebase/run_on_registry/rebases
=== CONT TestPack/pack/pack_build/'--publish'_flag_is_not_specified'/builds_and_exports_an_image
=== CONT TestPack/pack/pack_rebase/run_on_daemon/rebases
=== CONT TestPack/pack/pack_run/starts_an_image
Passed: 10 | Failed: 2 | Skipped: 1
--- FAIL: TestPack (159.35s)
testhelpers.go:168: run registry
testhelpers.go:203: seed registry
--- FAIL: TestPack/pack (0.00s)
--- SKIP: TestPack/pack/pack_build/'--buildpack'_flag_is_specified/assumes_latest_if_no_version_is_provided (0.00s)
--- PASS: TestPack/pack/subcommand_is_invalid/prints_usage (0.06s)
--- PASS: TestPack/pack/pack_create-builder/builds_and_exports_an_image (25.29s)
acceptance_test.go:398: create builder image
acceptance_test.go:407: build uses order defined in builder.toml
acceptance_test.go:423: run app container
acceptance_test.go:435: build with multiple --buildpack flags
acceptance_test.go:457: run app container
--- PASS: TestPack/pack/pack_set-default-builder/sets_the_default-stack-id_in_~/.pack/config.toml (0.02s)
--- PASS: TestPack/pack/pack_delete-stack/deletes_a_custom_stack_from_~/.pack/config.toml (0.05s)
--- PASS: TestPack/pack/pack_set-default-stack/sets_the_default-stack-id_in_~/.pack/config.toml (0.05s)
--- PASS: TestPack/pack/pack_update-stack/updates_an_existing_custom_stack_in_~/.pack/config.toml (0.05s)
--- PASS: TestPack/pack/pack_add-stack/adds_a_custom_stack_to_~/.pack/config.toml (0.04s)
--- PASS: TestPack/pack/pack_build/'--publish'_flag_is_specified/builds_and_exports_an_image (37.89s)
acceptance_test.go:194: Checking that registry has contents
acceptance_test.go:209: uses the cache on subsequent run
--- FAIL: TestPack/pack/pack_rebase/run_on_registry/rebases (9.45s)
acceptance_test.go:352: Expected nil: Failed to execute command: [/var/folders/2t/c04wnmbd56n61jgzz50fx38wb9h0lk/T/pack.acceptance.binary.513361290/pack build localhost:32789/some-org/jzliowfgul -p testdata/node_app/ --publish], exit status 1, 2018/11/27 21:11:15 Group: Sample Node.js Buildpack: pass
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/express: Integrity verification failed for sha512-tTel7auZeaj2Ln0uJh0sYEuz2mWBr243oa+AtHfLKoJE1ToTx5mh3ejFRX3aOQ3mZsRydRsBmVhDqruDkirFPA== (/cache/io.buildpacks.samples.nodejs/npm-cache/_cacache/content-v2/sha512/b5/37/a5edab9979a8f62e7d2e261d2c604bb3da6581af6e37a1af80b477cb2a8244d53a13c799a1dde8c5457dda390de666c472751b01995843aabb83922ac53c)
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/io.buildpacks.samples.nodejs/npm-cache/_logs/2018-11-27T21_11_20_620Z-debug.log
2018/11/27 21:11:20 Error: failed to : exit status 1
Error: failed with status code: 7
, 2018/11/27 15:11:12 Using default builder image 'localhost:32789/packs/samples:latest'
2018/11/27 15:11:12 Pulling builder image 'localhost:32789/packs/samples:latest' (use --no-pull flag to skip this step)
2018/11/27 15:11:12 Selected run image 'localhost:32789/run-before/idimvepuxy' from stack 'io.buildpacks.stacks.bionic'
*** DETECTING:
*** ANALYZING: Reading information from previous image for possible re-use
2018/11/27 15:11:16 WARNING: skipping analyze, image not found or requires authentication to access
*** BUILDING:
--- PASS: TestPack/pack/pack_build/'--publish'_flag_is_not_specified'/builds_and_exports_an_image (20.79s)
acceptance_test.go:134: Checking that registry is empty
--- FAIL: TestPack/pack/pack_rebase/run_on_daemon/rebases (7.40s)
acceptance_test.go:319: Expected nil: Failed to execute command: [/var/folders/2t/c04wnmbd56n61jgzz50fx38wb9h0lk/T/pack.acceptance.binary.513361290/pack build some-org/vnqoevgnzl -p testdata/node_app/ --no-pull], exit status 1, 2018/11/27 21:11:44 Group: Sample Node.js Buildpack: pass
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/express: Integrity verification failed for sha512-tTel7auZeaj2Ln0uJh0sYEuz2mWBr243oa+AtHfLKoJE1ToTx5mh3ejFRX3aOQ3mZsRydRsBmVhDqruDkirFPA== (/cache/io.buildpacks.samples.nodejs/npm-cache/_cacache/content-v2/sha512/b5/37/a5edab9979a8f62e7d2e261d2c604bb3da6581af6e37a1af80b477cb2a8244d53a13c799a1dde8c5457dda390de666c472751b01995843aabb83922ac53c)
npm ERR! A complete log of this run can be found in:
npm ERR! /cache/io.buildpacks.samples.nodejs/npm-cache/_logs/2018-11-27T21_11_48_726Z-debug.log
2018/11/27 21:11:48 Error: failed to : exit status 1
Error: failed with status code: 7
, 2018/11/27 15:11:42 Using default builder image 'localhost:32789/packs/samples:latest'
2018/11/27 15:11:42 Selected run image 'run-before/eimdyzrwbm' from stack 'io.buildpacks.stacks.bionic'
*** DETECTING:
*** ANALYZING: Reading information from previous image for possible re-use
2018/11/27 15:11:45 WARNING: skipping analyze, image not found
*** BUILDING:
--- PASS: TestPack/pack/pack_run/starts_an_image (31.05s)
testhelpers.go:246: stop registry
FAIL
FAIL github.com/buildpack/pack/acceptance 159.399s
? github.com/buildpack/pack/cmd/pack [no test files]
=== RUN TestConfig
Suite: config
Total: 24 | Focused: 0 | Pending: 0
=== RUN TestConfig/config
=== RUN TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/writes_the_defaults_to_disk
=== PAUSE TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/writes_the_defaults_to_disk
=== RUN TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/path_is_missing/creates_the_directory
=== PAUSE TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/path_is_missing/creates_the_directory
=== RUN TestConfig/config/.BuildConfigFromFlags/config_on_disk_is_missing_one_of_the_built-in_stacks/add_built-in_stack_while_preserving_custom_stack,_custom_default-stack-id,_and_custom_default-builder
=== PAUSE TestConfig/config/.BuildConfigFromFlags/config_on_disk_is_missing_one_of_the_built-in_stacks/add_built-in_stack_while_preserving_custom_stack,_custom_default-stack-id,_and_custom_default-builder
=== RUN TestConfig/config/.BuildConfigFromFlags/config.toml_already_has_the_built-in_stack/does_not_modify_the_built-in_stack
=== PAUSE TestConfig/config/.BuildConfigFromFlags/config.toml_already_has_the_built-in_stack/does_not_modify_the_built-in_stack
=== RUN TestConfig/config/Config#Get/no_stack_is_requested/returns_the_default_stack
=== PAUSE TestConfig/config/Config#Get/no_stack_is_requested/returns_the_default_stack
=== RUN TestConfig/config/Config#Get/a_stack_known_is_requested/returns_the_stack
=== PAUSE TestConfig/config/Config#Get/a_stack_known_is_requested/returns_the_stack
=== RUN TestConfig/config/Config#Get/an_unknown_stack_is_requested/returns_an_error
=== PAUSE TestConfig/config/Config#Get/an_unknown_stack_is_requested/returns_an_error
=== RUN TestConfig/config/Config#SetDefaultStack/the_stack_exists/sets_the_default-stack-id
=== PAUSE TestConfig/config/Config#SetDefaultStack/the_stack_exists/sets_the_default-stack-id
=== RUN TestConfig/config/Config#SetDefaultStack/the_stack_doesn't_exist/returns_an_error_and_leaves_the_original_default
=== PAUSE TestConfig/config/Config#SetDefaultStack/the_stack_doesn't_exist/returns_an_error_and_leaves_the_original_default
=== RUN TestConfig/config/Config#SetDefaultBuilder/sets_the_default-builder
=== PAUSE TestConfig/config/Config#SetDefaultBuilder/sets_the_default-builder
=== RUN TestConfig/config/Config#Add/stack_to_be_added_is_new/adds_the_stack_and_writes_to_file
=== PAUSE TestConfig/config/Config#Add/stack_to_be_added_is_new/adds_the_stack_and_writes_to_file
=== RUN TestConfig/config/Config#Add/stack_to_be_added_is_already_in_file/errors_and_leaves_file_unchanged
=== PAUSE TestConfig/config/Config#Add/stack_to_be_added_is_already_in_file/errors_and_leaves_file_unchanged
=== RUN TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_the_stack_and_writes_the_file
=== PAUSE TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_the_stack_and_writes_the_file
=== RUN TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_only_the_fields_entered
=== PAUSE TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_only_the_fields_entered
=== RUN TestConfig/config/Config#Update/stack_to_be_updated_is_NOT_in_file/errors_and_leaves_file_unchanged
=== PAUSE TestConfig/config/Config#Update/stack_to_be_updated_is_NOT_in_file/errors_and_leaves_file_unchanged
=== RUN TestConfig/config/Config#Delete/stack_to_be_deleted_exists/deletes_the_stack_and_writes_the_file
=== PAUSE TestConfig/config/Config#Delete/stack_to_be_deleted_exists/deletes_the_stack_and_writes_the_file
=== RUN TestConfig/config/Config#Delete/stack_to_be_deleted_is_NOT_in_file/errors_and_leaves_file_unchanged
=== PAUSE TestConfig/config/Config#Delete/stack_to_be_deleted_is_NOT_in_file/errors_and_leaves_file_unchanged
=== RUN TestConfig/config/Config#Delete/stack_to_be_deleted_is_the_default-stack-id/errors_and_leaves_file_unchanged
=== PAUSE TestConfig/config/Config#Delete/stack_to_be_deleted_is_the_default-stack-id/errors_and_leaves_file_unchanged
=== RUN TestConfig/config/ImageByRegistry/repoName_is_dockerhub/returns_the_dockerhub_image
=== PAUSE TestConfig/config/ImageByRegistry/repoName_is_dockerhub/returns_the_dockerhub_image
=== RUN TestConfig/config/ImageByRegistry/registry_is_gcr.io/returns_the_gcr.io_image
=== PAUSE TestConfig/config/ImageByRegistry/registry_is_gcr.io/returns_the_gcr.io_image
=== RUN TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_zonal.gcr.io/returns_the_gcr_image
=== PAUSE TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_zonal.gcr.io/returns_the_gcr_image
=== RUN TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_missingzone.gcr.io/returns_first_run_image
=== PAUSE TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_missingzone.gcr.io/returns_first_run_image
=== RUN TestConfig/config/ImageByRegistry/one_of_the_images_is_non-parsable/skips_over_it
=== PAUSE TestConfig/config/ImageByRegistry/one_of_the_images_is_non-parsable/skips_over_it
=== RUN TestConfig/config/ImageByRegistry/images_is_an_empty_slice/errors
=== PAUSE TestConfig/config/ImageByRegistry/images_is_an_empty_slice/errors
=== CONT TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/writes_the_defaults_to_disk
=== CONT TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_the_stack_and_writes_the_file
=== CONT TestConfig/config/ImageByRegistry/images_is_an_empty_slice/errors
=== CONT TestConfig/config/ImageByRegistry/one_of_the_images_is_non-parsable/skips_over_it
=== CONT TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_missingzone.gcr.io/returns_first_run_image
=== CONT TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_zonal.gcr.io/returns_the_gcr_image
=== CONT TestConfig/config/ImageByRegistry/registry_is_gcr.io/returns_the_gcr.io_image
=== CONT TestConfig/config/ImageByRegistry/repoName_is_dockerhub/returns_the_dockerhub_image
=== CONT TestConfig/config/Config#Delete/stack_to_be_deleted_is_the_default-stack-id/errors_and_leaves_file_unchanged
=== CONT TestConfig/config/Config#Delete/stack_to_be_deleted_is_NOT_in_file/errors_and_leaves_file_unchanged
=== CONT TestConfig/config/Config#Delete/stack_to_be_deleted_exists/deletes_the_stack_and_writes_the_file
=== CONT TestConfig/config/Config#Update/stack_to_be_updated_is_NOT_in_file/errors_and_leaves_file_unchanged
=== CONT TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_only_the_fields_entered
=== CONT TestConfig/config/Config#Get/an_unknown_stack_is_requested/returns_an_error
=== CONT TestConfig/config/Config#Add/stack_to_be_added_is_already_in_file/errors_and_leaves_file_unchanged
=== CONT TestConfig/config/Config#Add/stack_to_be_added_is_new/adds_the_stack_and_writes_to_file
=== CONT TestConfig/config/Config#SetDefaultBuilder/sets_the_default-builder
=== CONT TestConfig/config/Config#SetDefaultStack/the_stack_doesn't_exist/returns_an_error_and_leaves_the_original_default
=== CONT TestConfig/config/Config#SetDefaultStack/the_stack_exists/sets_the_default-stack-id
=== CONT TestConfig/config/.BuildConfigFromFlags/config.toml_already_has_the_built-in_stack/does_not_modify_the_built-in_stack
=== CONT TestConfig/config/Config#Get/a_stack_known_is_requested/returns_the_stack
=== CONT TestConfig/config/Config#Get/no_stack_is_requested/returns_the_default_stack
=== CONT TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/path_is_missing/creates_the_directory
=== CONT TestConfig/config/.BuildConfigFromFlags/config_on_disk_is_missing_one_of_the_built-in_stacks/add_built-in_stack_while_preserving_custom_stack,_custom_default-stack-id,_and_custom_default-builder
Passed: 24 | Failed: 0 | Skipped: 0
--- PASS: TestConfig (0.03s)
--- PASS: TestConfig/config (0.00s)
--- PASS: TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/writes_the_defaults_to_disk (0.00s)
--- PASS: TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_the_stack_and_writes_the_file (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/images_is_an_empty_slice/errors (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/one_of_the_images_is_non-parsable/skips_over_it (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_missingzone.gcr.io/returns_first_run_image (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/registry_is_gcr.io/registry_is_zonal.gcr.io/returns_the_gcr_image (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/registry_is_gcr.io/returns_the_gcr.io_image (0.00s)
--- PASS: TestConfig/config/ImageByRegistry/repoName_is_dockerhub/returns_the_dockerhub_image (0.00s)
--- PASS: TestConfig/config/Config#Delete/stack_to_be_deleted_is_the_default-stack-id/errors_and_leaves_file_unchanged (0.00s)
--- PASS: TestConfig/config/Config#Delete/stack_to_be_deleted_is_NOT_in_file/errors_and_leaves_file_unchanged (0.00s)
--- PASS: TestConfig/config/Config#Delete/stack_to_be_deleted_exists/deletes_the_stack_and_writes_the_file (0.00s)
--- PASS: TestConfig/config/Config#Update/stack_to_be_updated_is_NOT_in_file/errors_and_leaves_file_unchanged (0.00s)
--- PASS: TestConfig/config/Config#Update/stack_to_be_updated_exists/updates_only_the_fields_entered (0.00s)
--- PASS: TestConfig/config/Config#Get/an_unknown_stack_is_requested/returns_an_error (0.00s)
--- PASS: TestConfig/config/Config#Add/stack_to_be_added_is_already_in_file/errors_and_leaves_file_unchanged (0.00s)
--- PASS: TestConfig/config/Config#Add/stack_to_be_added_is_new/adds_the_stack_and_writes_to_file (0.00s)
--- PASS: TestConfig/config/Config#SetDefaultBuilder/sets_the_default-builder (0.00s)
--- PASS: TestConfig/config/Config#SetDefaultStack/the_stack_doesn't_exist/returns_an_error_and_leaves_the_original_default (0.00s)
--- PASS: TestConfig/config/Config#SetDefaultStack/the_stack_exists/sets_the_default-stack-id (0.00s)
--- PASS: TestConfig/config/.BuildConfigFromFlags/config.toml_already_has_the_built-in_stack/does_not_modify_the_built-in_stack (0.00s)
--- PASS: TestConfig/config/Config#Get/a_stack_known_is_requested/returns_the_stack (0.00s)
--- PASS: TestConfig/config/Config#Get/no_stack_is_requested/returns_the_default_stack (0.00s)
--- PASS: TestConfig/config/.BuildConfigFromFlags/no_config_on_disk/path_is_missing/creates_the_directory (0.00s)
--- PASS: TestConfig/config/.BuildConfigFromFlags/config_on_disk_is_missing_one_of_the_built-in_stacks/add_built-in_stack_while_preserving_custom_stack,_custom_default-stack-id,_and_custom_default-builder (0.00s)
PASS
ok github.com/buildpack/pack/config 0.072s
? github.com/buildpack/pack/docker [no test files]
=== RUN TestFS
Suite: fs
Total: 1 | Focused: 0 | Pending: 0
=== RUN TestFS/fs
=== RUN TestFS/fs/writes_a_tar_to_the_dest_dir
Passed: 1 | Failed: 0 | Skipped: 0
--- PASS: TestFS (0.00s)
--- PASS: TestFS/fs (0.00s)
--- PASS: TestFS/fs/writes_a_tar_to_the_dest_dir (0.00s)
tar_test.go:57: handles regular files
tar_test.go:78: handles symlinks
PASS
ok github.com/buildpack/pack/fs 0.032s
=== RUN TestLocal
=== PAUSE TestLocal
=== RUN TestRemote
=== PAUSE TestRemote
=== CONT TestLocal
Suite: local
Total: 13 | Focused: 0 | Pending: 0
=== RUN TestLocal/local
=== RUN TestLocal/local/#Label/image_exists/returns_the_label_value
=== PAUSE TestLocal/local/#Label/image_exists/returns_the_label_value
=== RUN TestLocal/local/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== PAUSE TestLocal/local/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== RUN TestLocal/local/#Label/image_NOT_exists/returns_an_error
=== PAUSE TestLocal/local/#Label/image_NOT_exists/returns_an_error
=== RUN TestLocal/local/#Name/always_returns_the_original_name
=== PAUSE TestLocal/local/#Name/always_returns_the_original_name
=== RUN TestLocal/local/#Digest/image_exists_and_has_a_digest/returns_the_image_digest
=== PAUSE TestLocal/local/#Digest/image_exists_and_has_a_digest/returns_the_image_digest
=== RUN TestLocal/local/#Digest/image_exists_but_has_no_digest/returns_an_empty_string
=== PAUSE TestLocal/local/#Digest/image_exists_but_has_no_digest/returns_an_empty_string
=== RUN TestLocal/local/#SetLabel/image_exists/sets_label_and_saves_label_to_docker_daemon
=== PAUSE TestLocal/local/#SetLabel/image_exists/sets_label_and_saves_label_to_docker_daemon
=== RUN TestLocal/local/#Rebase/image_exists/switches_the_base
=== PAUSE TestLocal/local/#Rebase/image_exists/switches_the_base
=== RUN TestLocal/local/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
=== PAUSE TestLocal/local/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
=== RUN TestLocal/local/#AddLayer/appends_a_layer
=== PAUSE TestLocal/local/#AddLayer/appends_a_layer
=== RUN TestLocal/local/#ReuseLayer/reuses_a_layer
=== PAUSE TestLocal/local/#ReuseLayer/reuses_a_layer
=== RUN TestLocal/local/#ReuseLayer/does_not_download_the_old_image_if_layers_are_directly_above_(performance)
=== PAUSE TestLocal/local/#ReuseLayer/does_not_download_the_old_image_if_layers_are_directly_above_(performance)
=== RUN TestLocal/local/#Save/image_exists/returns_the_image_digest
=== PAUSE TestLocal/local/#Save/image_exists/returns_the_image_digest
=== CONT TestRemote
Suite: remote
Total: 11 | Focused: 0 | Pending: 0
=== RUN TestRemote/remote
=== RUN TestRemote/remote/#Label/image_exists/returns_the_label_value
=== PAUSE TestRemote/remote/#Label/image_exists/returns_the_label_value
=== RUN TestRemote/remote/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== PAUSE TestRemote/remote/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== RUN TestRemote/remote/#Label/image_NOT_exists/returns_an_error
=== PAUSE TestRemote/remote/#Label/image_NOT_exists/returns_an_error
=== RUN TestRemote/remote/#Name/always_returns_the_original_name
=== PAUSE TestRemote/remote/#Name/always_returns_the_original_name
=== RUN TestRemote/remote/#Digest/returns_the_image_digest
=== PAUSE TestRemote/remote/#Digest/returns_the_image_digest
=== RUN TestRemote/remote/#SetLabel/image_exists/sets_label_on_img_object
=== PAUSE TestRemote/remote/#SetLabel/image_exists/sets_label_on_img_object
=== RUN TestRemote/remote/#SetLabel/image_exists/saves_label
=== PAUSE TestRemote/remote/#SetLabel/image_exists/saves_label
=== RUN TestRemote/remote/#Rebase/image_exists/switches_the_base
=== PAUSE TestRemote/remote/#Rebase/image_exists/switches_the_base
=== RUN TestRemote/remote/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
=== PAUSE TestRemote/remote/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
=== RUN TestRemote/remote/#AddLayer/appends_a_layer
=== PAUSE TestRemote/remote/#AddLayer/appends_a_layer
=== RUN TestRemote/remote/#Save/image_exists/returns_the_image_digest
=== PAUSE TestRemote/remote/#Save/image_exists/returns_the_image_digest
=== CONT TestLocal/local/#Label/image_exists/returns_the_label_value
=== CONT TestLocal/local/#Rebase/image_exists/switches_the_base
=== CONT TestLocal/local/#Save/image_exists/returns_the_image_digest
=== CONT TestLocal/local/#ReuseLayer/does_not_download_the_old_image_if_layers_are_directly_above_(performance)
=== CONT TestLocal/local/#ReuseLayer/reuses_a_layer
=== CONT TestLocal/local/#AddLayer/appends_a_layer
=== CONT TestLocal/local/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
=== CONT TestLocal/local/#Digest/image_exists_and_has_a_digest/returns_the_image_digest
=== CONT TestLocal/local/#SetLabel/image_exists/sets_label_and_saves_label_to_docker_daemon
=== CONT TestLocal/local/#Digest/image_exists_but_has_no_digest/returns_an_empty_string
=== CONT TestLocal/local/#Label/image_NOT_exists/returns_an_error
=== CONT TestLocal/local/#Name/always_returns_the_original_name
=== CONT TestLocal/local/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== CONT TestRemote/remote/#Label/image_exists/returns_the_label_value
=== CONT TestRemote/remote/#SetLabel/image_exists/saves_label
2018/11/27 15:10:21 pushed blob sha256:70683d5c53e83affeb7e47c4baffaeb8d41bd3077075dd09f167ebf1959da591
2018/11/27 15:10:21 localhost:32788/pack-image-test-enkbfqromy:latest: digest: sha256:8abef4c7d3f520a5025ce78cf32fbbc936305383a8f5a92f91a3d9546e26f0d4 size: 265
=== CONT TestRemote/remote/#SetLabel/image_exists/sets_label_on_img_object
=== CONT TestRemote/remote/#Digest/returns_the_image_digest
=== CONT TestRemote/remote/#Name/always_returns_the_original_name
=== CONT TestRemote/remote/#Label/image_NOT_exists/returns_an_error
=== CONT TestRemote/remote/#Label/image_exists/returns_an_empty_string_for_a_missing_label
=== CONT TestRemote/remote/#Save/image_exists/returns_the_image_digest
2018/11/27 15:10:30 existing blob: sha256:90e01955edcd85dac7985b72a8374545eac617ccdddcc992b732e43cd42534af
2018/11/27 15:10:30 pushed blob sha256:64abcc788afb3bae73abc72d5d9462fbaf3fec81cda7e2c7b462caa6e271e3d1
2018/11/27 15:10:30 localhost:32788/pack-image-test-lzcapsvkme:latest: digest: sha256:a140f9d7a909a93acdb56f3ccb6155f8843eab8d3e308745c6235d6fd8cb4469 size: 427
=== CONT TestRemote/remote/#Rebase/image_exists/switches_the_base
2018/11/27 15:10:43 existing blob: sha256:90e01955edcd85dac7985b72a8374545eac617ccdddcc992b732e43cd42534af
2018/11/27 15:10:43 existing blob: sha256:2ce75fdf9c7f6397298565dfc1e9f990ef3412a2bc6b62df3c9a51ae0758dd5d
2018/11/27 15:10:43 mounted blob: sha256:bc518af2b776c38053e956696f611750171bb02467f15c8c66f9a733e9a15558
2018/11/27 15:10:43 mounted blob: sha256:22a2e346ed7d4188c82fcba5c87dd061dc61ee751dfb212ea7acf3cad5dc88bf
2018/11/27 15:10:43 existing blob: sha256:d8f087819de8a0ecb4c8e2c1fad72438073f70dcbc2142c387952fd2dc41b3be
2018/11/27 15:10:43 pushed blob sha256:87e1717e67ec19889104147ee4735d1766069971b2d8880ded2ea4c35dd62b8a
2018/11/27 15:10:43 localhost:32788/pack-image-test-ebotzoktub:latest: digest: sha256:9f1ee00a8ba8b101aa1f15905f5969fef4998a7303feb0c52adfb3e2b45f4bb9 size: 1067
=== CONT TestRemote/remote/#AddLayer/appends_a_layer
=== CONT TestRemote/remote/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing)
Passed: 10 | Failed: 3 | Skipped: 0
--- FAIL: TestLocal (66.09s)
--- FAIL: TestLocal/local (0.00s)
--- PASS: TestLocal/local/#Label/image_exists/returns_the_label_value (4.42s)
--- FAIL: TestLocal/local/#Rebase/image_exists/switches_the_base (0.69s)
local_test.go:208: Expected nil: Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
--- PASS: TestLocal/local/#Save/image_exists/returns_the_image_digest (1.13s)
--- PASS: TestLocal/local/#ReuseLayer/does_not_download_the_old_image_if_layers_are_directly_above_(performance) (9.21s)
--- PASS: TestLocal/local/#ReuseLayer/reuses_a_layer (7.52s)
--- FAIL: TestLocal/local/#AddLayer/appends_a_layer (0.27s)
local_test.go:320: Expected nil: analyze read previous image config: Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
--- FAIL: TestLocal/local/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing) (0.53s)
local_test.go:279: Expected nil: Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
--- PASS: TestLocal/local/#Digest/image_exists_and_has_a_digest/returns_the_image_digest (1.83s)
--- PASS: TestLocal/local/#SetLabel/image_exists/sets_label_and_saves_label_to_docker_daemon (2.77s)
local_test.go:168: set label
local_test.go:172: save label
--- PASS: TestLocal/local/#Digest/image_exists_but_has_no_digest/returns_an_empty_string (1.75s)
--- PASS: TestLocal/local/#Label/image_NOT_exists/returns_an_error (0.01s)
--- PASS: TestLocal/local/#Name/always_returns_the_original_name (0.02s)
--- PASS: TestLocal/local/#Label/image_exists/returns_an_empty_string_for_a_missing_label (1.80s)
Passed: 10 | Failed: 1 | Skipped: 0
--- FAIL: TestRemote (66.65s)
testhelpers.go:168: run registry
--- FAIL: TestRemote/remote (0.00s)
--- PASS: TestRemote/remote/#Label/image_exists/returns_the_label_value (2.27s)
--- PASS: TestRemote/remote/#SetLabel/image_exists/saves_label (3.83s)
--- PASS: TestRemote/remote/#SetLabel/image_exists/sets_label_on_img_object (1.68s)
--- PASS: TestRemote/remote/#Digest/returns_the_image_digest (1.31s)
--- PASS: TestRemote/remote/#Name/always_returns_the_original_name (0.00s)
--- PASS: TestRemote/remote/#Label/image_NOT_exists/returns_an_error (0.01s)
--- PASS: TestRemote/remote/#Label/image_exists/returns_an_empty_string_for_a_missing_label (2.59s)
--- PASS: TestRemote/remote/#Save/image_exists/returns_the_image_digest (2.61s)
--- PASS: TestRemote/remote/#Rebase/image_exists/switches_the_base (13.12s)
--- FAIL: TestRemote/remote/#AddLayer/appends_a_layer (0.18s)
remote_test.go:242: Expected nil: Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
--- PASS: TestRemote/remote/#TopLayer/image_exists/returns_the_digest_for_the_top_layer_(useful_for_rebasing) (4.29s)
testhelpers.go:246: stop registry
FAIL
FAIL github.com/buildpack/pack/image 66.694s
? github.com/buildpack/pack/mocks [no test files]
? github.com/buildpack/pack/testhelpers [no test files]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment