Giter Site home page Giter Site logo

Intermittent kcov failures about foxbox HOT 5 CLOSED

fxbox avatar fxbox commented on July 19, 2024
Intermittent kcov failures

from foxbox.

Comments (5)

fabricedesre avatar fabricedesre commented on July 19, 2024

That's basically making us perma red. @JohanLorenzo if you don't find what's going on we'll have to disavle kcov.

from foxbox.

JohanLorenzo avatar JohanLorenzo commented on July 19, 2024

These 2 lines caught my attention:

kcov: error: Can't find or open /home/travis/build/fxbox/foxbox/tools/../target/debug/foxbox-5fe0ccd2f25574e9
+FOXBOX_UNIT_TEST_BINARY='/home/travis/build/fxbox/foxbox/tools/../target/debug/foxbox-5fe0ccd2f25574e9
/home/travis/build/fxbox/foxbox/tools/../target/debug/foxbox-a9cabe0dc62944c7'

It seems 2 test binaries were generated.
Based on the build history, only that one failed for this reason. The following weren't affected.

The one ending with 5fe0ccd2f25574e9 doesn't appear anywhere in the logs. This leads me to think it's a leftover of a previous build, that remained in the cache, but wasn't cleared by cargo when cargo test ran.

I relaunched the job => foxbox-5fe0ccd2f25574e9 is still in target/debug. I cleared the cache and launched the job again => still there. Hence, the cache is not the culprit.

@dhylands Could you add - ls -lR $TRAVIS_BUILD_DIR right after this line? Now that we don't have a cache anymore for your PR, there should be no target directory. If it's showing up, there's something wrong with that VM on Travis.

If not, I'll investigate further to find where this file is generated.

@fabricedesre In the meantime, as it's currently the only PR affected, are you fine with keeping kcov, for now?

from foxbox.

JohanLorenzo avatar JohanLorenzo commented on July 19, 2024

Discussed with @fabricedesre on IRC. A new failure happened. We can see that it's not running on the same machine as here. I'll need to investigate further.

In the meantime, let's turn off kcov.

from foxbox.

nojunpark avatar nojunpark commented on July 19, 2024

I'm occasionally seeing this when I trigger foxbox via the mocha test. It says the app isn't there. However it's pretty intermittent.

from foxbox.

dhylands avatar dhylands commented on July 19, 2024

I just submitted a build (created a new branch called travis test off the latest master and it shows an empty target directory, which is interesting because we don't have target checked in.
https://travis-ci.org/dhylands/foxbox/builds/114589641

from foxbox.

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.