Passing tests started failing

krunalkachadia's Avatar

krunalkachadia

31 Jan, 2022 07:41 PM

The tests for one of my projects were passing last week on Appveyor but started failing this week. I can't even see which tests are failing.

Here are the logs:
Passing (last week): https://ci.appveyor.com/project/krooonal/col-gen-estimator/builds/42320337/job/fwoe7oyoobq9tueg

Failing (this week): https://ci.appveyor.com/project/krooonal/col-gen-estimator/build/job/2vpfqtcfnla3eyi0

No code changes were made during this week.

Can someone please help me understand why the tests are failing?

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Jan, 2022 08:03 PM

    Feodor Fitsner's Avatar

    OK, the image hasn't been changed (all images changes are logged here: https://www.appveyor.com/updates/), so it could mean some of the external dependencies of your project could have changed.

    Comparing both good and failing builds of the same commit I can see some difference - at least pip version is different, there might be other differences:
    https://ci.appveyor.com/project/krooonal/col-gen-estimator/builds/4...
    https://ci.appveyor.com/project/krooonal/col-gen-estimator/builds/4...

    Try enabling RDP (https://www.appveyor.com/docs/how-to/rdp-to-build-worker/) and see if you can see pytest output.

  2. 2 Posted by krunalkachadia on 31 Jan, 2022 09:40 PM

    krunalkachadia's Avatar

    Thanks for the pointer to RDP. Very useful.

    Somehow, as soon as I started logging the outputs of pytest to a file, the tests started passing!

  3. Support Staff 3 Posted by Feodor Fitsner on 31 Jan, 2022 10:06 PM

    Feodor Fitsner's Avatar

    OK, sounds great!

  4. Feodor Fitsner closed this discussion on 03 Apr, 2022 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM