Code Monkey home page Code Monkey logo

Comments (1)

jiridanek avatar jiridanek commented on August 24, 2024

The linked PR probably fixes this, actually. The problem was that both h2spec and sanity tests use netcat container with the same name. The log suggests that first the netcat for sanity test started, and when h2spec netcat started (to run in parallel), it killed sanity's netcat container as the first thing. So when sanity test was looking for netcat result, its container was dead at that point (and it did not mistakenly use the h2spec container because subsequently it refers to the container by id and not by name).

pub(crate) async fn create_and_start_container(docker: &Docker, image: &str, name: &str, config: Config<&str>) -> ContainerCreateResponse {
let image_id = find_or_pull_image(docker, image).await;
// to be extra sure container does not already exist
delete_container(&docker, name).await;

So, regarding proper fix, the netcat container should have different name each time (test name should be a prefix, probably, and some random suffix sounds reasonable too).

from skupper-router.

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.