Skip to content

testing farm: Error: building at STEP "COPY .git /build/.git": checking on sources under ".../discover/default-0/tests": copier: stat: "/.git": no such file or directory #583

@cgwalters

Description

@cgwalters

Looks like the TF tests are all failing with:

1/2] STEP 9/11: COPY .git /build/.git
---------------------------- Captured stderr setup -----------------------------
Trying to pull registry.fedoraproject.org/fedora:40...
Getting image source signatures
Copying blob sha256:7c98749ae9c16e7f85eaa109ca95c796fac8e7f11baa51c99f0e5274079a18bf
Copying config sha256:a6f4eb9e15aeb69bb66255f05590b8afbd87555f01cef1a5f02fabafeb62194d
Writing manifest to image destination
Error: building at STEP "COPY .git /build/.git": checking on sources under "/var/ARTIFACTS/work-all21j516ic/plans/all/discover/default-0/tests": copier: stat: "/.git": no such file or directory
_ ERROR at setup of test_image_is_generated[quay.io/centos-bootc/centos-bootc:stream9,qcow2+raw+vmdk] _

    @pytest.fixture(name="build_container", scope="session")
    def build_container_fixture():
        """Build a container from the Containerfile and returns the name"""
        if tag_from_env := os.getenv("BIB_TEST_BUILD_CONTAINER_TAG"):
            return tag_from_env
    
        container_tag = "bootc-image-builder-test"
>       subprocess.check_call([
            "podman", "build",
            "-f", "Containerfile",
            "-t", container_tag,
        ])

test/containerbuild.py:42: 

Only tangential I think but I recently had to touch some tmt/git stuff in teemtee/tmt#3037 (but that hasn't merged so clearly not related).

Metadata

Metadata

Assignees

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