Git Product home page Git Product logo

Comments (3)

ashutosh-narkar avatar ashutosh-narkar commented on May 26, 2024

Hmm..I am not able to repro this. There could be something going on in your local setup. My version is go1.21.0 darwin/amd64 but even with the updated Go version, I wouldn't expect this test failure.

from opa.

nikpivkin avatar nikpivkin commented on May 26, 2024

Strangely, clearing the cache helped. But I am facing another error while running wasm tests, could you please help?

docker run --name opa-wasm-testgen-container -u 501:20 -v /Users/nikita/projects/opa/.go/bin:/go/bin:Z -v /Users/nikita/projects/opa:/src:z -v /Users/nikita/projects/opa/test/wasm/assets:/assets:Z -e GOCACHE=/src/.go/cache -w /src golang:1.22.2 sh -c 'make wasm-rego-testgen-install \
                && wasm-rego-testgen \
                --input-dir=/assets \
                --runner=/src/test/wasm/assets/test.js \
                --output=/src/.go/cache/testcases.tar.gz'
fatal: detected dubious ownership in repository at '/src'
To add an exception for this directory, call:

        git config --global --add safe.directory /src
CGO_ENABLED=1 GOFLAGS=""-buildmode=exe"" go install ./test/wasm/cmd/wasm-rego-testgen
error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
make: *** [Makefile:236: wasm-rego-testgen-install] Error 1

from opa.

ashutosh-narkar avatar ashutosh-narkar commented on May 26, 2024

This PR should address it.

from opa.

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.