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

fix(test): make integration tests properly fail #1439

Merged
merged 2 commits into from
Oct 13, 2020
Merged

Conversation

leogr
Copy link
Member

@leogr leogr commented Oct 12, 2020

Signed-off-by: Leonardo Grasso me@leonardograsso.com

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:

I and @leodido noticed that the CI is reporting green tests even though some of the integrations tests are not passing.
That happened because the falco-tester entrypoint's script was not returning the exit code of run_regression_tests.sh

Please note that this PR aims just to correct the test suite behavior, not the problems in Falco.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Atm integration tests cannot pass anyways because of the problem explained in #1438 and another problem introduced by #1436. Both problems will be fixed by #1412

Once #1412 gets merged, then we can rebase this PR on top and definitively fix the aforementioned problems.

PS
I needed to push the falcosecuity/falco-tester:latest docker image for testing.

Does this PR introduce a user-facing change?:

NONE

@poiana poiana requested review from fntlnz and Kaizhe October 12, 2020 11:06
@poiana poiana added the size/XS label Oct 12, 2020
@leodido leodido changed the title update(test): integration test should fail if Falco exited abnormal update(test): integration test should fail if Falco exited abnormally Oct 12, 2020
@leodido
Copy link
Member

leodido commented Oct 12, 2020

/cc @leodido

@leogr
Copy link
Member Author

leogr commented Oct 12, 2020

/hold

@leogr leogr changed the title update(test): integration test should fail if Falco exited abnormally fix(test): make integration test properly fail Oct 12, 2020
@leogr leogr changed the title fix(test): make integration test properly fail fix(test): make integration tests properly fail Oct 12, 2020
@leogr leogr added this to the 0.27.0 milestone Oct 12, 2020
leodido
leodido previously approved these changes Oct 12, 2020
@poiana
Copy link

poiana commented Oct 12, 2020

LGTM label has been added.

Git tree hash: 88e62af2d963a44f7a1546e46d4b3fbc1f860ea6

@poiana poiana added the size/XS label Oct 12, 2020
leodido
leodido previously approved these changes Oct 12, 2020
@poiana poiana added the lgtm label Oct 12, 2020
@poiana
Copy link

poiana commented Oct 12, 2020

LGTM label has been added.

Git tree hash: 74821a12d89f189410b80265452b16245a13e29d

leogr and others added 2 commits October 13, 2020 11:15
Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Needed by statically linked build of Falco.

Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
@leogr
Copy link
Member Author

leogr commented Oct 13, 2020

/hold cancel

@poiana poiana added the lgtm label Oct 13, 2020
@poiana
Copy link

poiana commented Oct 13, 2020

LGTM label has been added.

Git tree hash: 4004a6e7bd00b4568c49cea15389364449115f22

@poiana
Copy link

poiana commented Oct 13, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz, leodido

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 388de27 into master Oct 13, 2020
@poiana poiana deleted the fix/integration-test branch October 13, 2020 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants