Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test-check-eof for smoke test #11402

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

jan-cerny
Copy link
Collaborator

We have recently add the /.github directory to the list of paths checked by check_eof.py as a part of the test-check-eof CTest test. The unpredicted consequence of this is that the smoke test in the downstream Fedora CI started to fail. The reason is that we don't ship the /.github directory as a part of our released tarball. It doesn't make sense to ship this directory as a part of the tarballs because this contains the upstream CI configurations etc. OTOH it makes sense to skip this directory when it isn't present.

See for example the CI results of the smoke test in: https://src.fedoraproject.org/rpms/scap-security-guide/pull-request/34

Addressing:

118/333 Test #118: test-check-eof ...................................................***Failed    4.33 sec
The path /root/rpmbuild/BUILD/scap-security-guide-0.1.71/.github does not exist!

We have recently add the `/.github` directory to the list of
paths checked by `check_eof.py` as a part of the `test-check-eof`
CTest test. The unpredicted consequence of this is that the smoke
test in the downstream Fedora CI started to fail. The reason is
that we don't ship the `/.github` directory as a part of our
released tarball. It doesn't make sense to ship this directory
as a part of the tarballs because this contains the upstream CI
configurations etc. OTOH it makes sense to skip this directory
when it isn't present.

See for example the CI results of the smoke test in:
https://src.fedoraproject.org/rpms/scap-security-guide/pull-request/34

Addressing:
```
118/333 Test ComplianceAsCode#118: test-check-eof ...................................................***Failed    4.33 sec
The path /root/rpmbuild/BUILD/scap-security-guide-0.1.71/.github does not exist!
```
@jan-cerny jan-cerny added the Test Suite Update in Test Suite. label Dec 20, 2023
@jan-cerny jan-cerny added this to the 0.1.72 milestone Dec 20, 2023
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

codeclimate bot commented Dec 20, 2023

Code Climate has analyzed commit 5431965 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 58.5% (0.0% change).

View more on Code Climate.

@marcusburghardt marcusburghardt self-assigned this Dec 20, 2023
Copy link
Member

@marcusburghardt marcusburghardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I will wait the CI tests to finish.

@marcusburghardt marcusburghardt merged commit 66801ff into ComplianceAsCode:master Dec 20, 2023
37 checks passed
@jan-cerny jan-cerny deleted the fedora_ci branch December 20, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants