Code Monkey home page Code Monkey logo

Comments (6)

m1kola avatar m1kola commented on August 24, 2024

For visibiltiy: had a chat with @petrkotas. This looks like a different sympthom of the issue which is being fixed in #1636.

from aro-rp.

bennerv avatar bennerv commented on August 24, 2024

@petrkotas I think there's still a flake here. On unit test run of #1645 it failed the first time which had your changes from #1636. I reran and it worked successfully. Tried to reproduce locally but I couldn't.

Look at build run 1 (number 2 passed successfully) here. You might have to click "Show Previous Attempts".

=== FAIL: pkg/env TestRefreshingCertificate/test_refresh_certificate,_pull_exactly_twice,_first_on_start,_second_on_refresh (0.06s)
    certificateRefresher_test.go:272: returned private key does not match
    certificateRefresher_test.go:276: returned certificate does not match
    --- FAIL: TestRefreshingCertificate/test_refresh_certificate,_pull_exactly_twice,_first_on_start,_second_on_refresh (0.06s)

from aro-rp.

troy0820 avatar troy0820 commented on August 24, 2024

We are currently using time to do these tests. Maybe we could use clockwork or something that mocks time to get from what seems to be a race.

from aro-rp.

ross-bryan avatar ross-bryan commented on August 24, 2024

FWIW: I ran into this a few times recently in PR's, so attempted to recreate it locally. I ran the unit tests for over 2 hours non-stop with 130 different attempts without failure. This makes me more suspicious of the azure environment since I could not reproduce locally, but will continue to attempt to do so.

from aro-rp.

ross-bryan avatar ross-bryan commented on August 24, 2024

Nevermind, as I posted this I was able to get the error locally. Good news.

from aro-rp.

m1kola avatar m1kola commented on August 24, 2024

I think #1691 fixes it. I just merged it.

@bryanro92 @troy0820 @bennerv could you please update and check?

I was checking with this:

while; do go clean -testcache && go test -timeout 30s -run ^TestRefreshingCertificate$ github.com/Azure/ARO-RP/pkg/env; done

Please reopen if this still happens.

from aro-rp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.