Skip to content

Failure with windows images #197

@briandealwis

Description

@briandealwis

In trying to upgrade bazelbuild/rules_docker to use container-structure-test, we hit an odd test failure with performing tests against windows images:

$ bazel-out/darwin-fastbuild/bin/structure_test_at_workspace_root.runfiles/structure_test_darwin/file/downloaded version
v1.7.0
$ bazel-out/darwin-fastbuild/bin/structure_test_at_workspace_root.runfiles/structure_test_darwin/file/downloaded test --driver tar --image bazel-out/darwin-fastbuild/bin/tests/docker/basic_windows_image.tar --config tests/docker/configs/windows_image.yaml

===========================================
====== Test file: windows_image.yaml ======
===========================================
=== RUN: Files
--- FAIL
Error: error creating driver: processing tar image reference: retrieving tar from path: EOF

=== RUN: Hives
--- FAIL
Error: error creating driver: processing tar image reference: retrieving tar from path: EOF

=== RUN: Metadata Test
--- FAIL
Error: error creating driver: processing tar image reference: retrieving tar from path: EOF


===========================================
================= RESULTS =================
===========================================
Passes:      0
Failures:    3
Total tests: 3

FAIL
FATA[0000] FAIL

Steps to repeat:

  • git clone https://github.com/bazelbuild/rules_docker
  • cd rules_docker
  • git pull origin pull/685/head (pulls the branch to update to 1.7.0)
  • bazel test "--define=ENV_KEY=my_key" "--define=ENV_VALUE=my_value" //tests/docker:basic_windows_image_test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions