Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodule support #89

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Not use Show instance for GitHubRepo and Rev

ca51e1b
Select commit
Loading
Failed to load commit list.
Open

Submodule support #89

Not use Show instance for GitHubRepo and Rev
ca51e1b
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.checks.foliage:test:foliage-test-suite failed Nov 13, 2023 in 2s

Build failed

1 steps

Details

Failed Steps

Step 1

Derivation

/nix/store/54nzr589k653k6cgfcxkp64yfpz7v4sh-foliage-test-foliage-test-suite-0.6.0.0-check.drv

Log

unpacking sources
unpacking source archive /nix/store/vfhjikmhkaqac992q8rldv3mjl7mlksx-source-root-test-foliage-test-suite
source root is source-root-test-foliage-test-suite
patching sources
building
/nix/store/bc8hb6wjs32s4jh6amj0bq2472y8nd2b-foliage-test-foliage-test-suite-0.6.0.0/bin:
patching script interpreter paths in /private/tmp/nix-build-foliage-test-foliage-test-suite-0.6.0.0-check.drv-1/tmp.sbAtcENy8r/bin
foliage-test-suite
  one:                      OK (0.37s)
    Building repository (0.36s)
    Running checks      (0.01s)
  git submodules:           foliage: Error when running Shake build system:
  at want, called at app/Foliage/CmdBuild.hs:50:7 in main:Foliage.CmdBuild
* Depends on: buildAction
  at apply1, called at app/Foliage/PrepareSource.hs:40:31 in main:Foliage.PrepareSource
* Depends on: prepareSource foliage-test-with-submodule-1.0.0 PackageVersionSpec {packageVersionTimestamp = Just 2023-11-03 17:35:22 UTC, packageVersionSource = GitHubSource {githubRepo = "cardano-scaling/foliage-test-with-submodule", githubRev = "db5874494ee5bac3fa8fee07d5806fcec27a2f4e", subdir = Nothing}, packageVersionRevisions = [], packageVersionDeprecations = [], packageVersionForce = False}
  at apply1, called at app/Foliage/GitClone.hs:36:17 in main:Foliage.GitClone
* Depends on: gitClone cardano-scaling/foliage-test-with-submodule
* Raised the exception:
git: createProcess: exec: invalid argument (Bad file descriptor)

FAIL (0.22s)
    Building repository (0.22s)
      readCreateProcess: foliage build (exit 1): failed
    
    Use -p '/git submodules/' to rerun this test only.
  accepts --no-signatures:  OK (0.22s)
    Building repository (0.21s)
    Running checks
  accepts --write-metadata: OK (0.32s)
    Building repository (0.31s)
    Running checks

1 out of 4 tests failed (1.14s)