vhive-serverless / vSwarm

A suite of representative serverless cloud-agnostic (i.e., dockerized) benchmarks
MIT License
46 stars 20 forks source link

xdt-vhive module authentication #137

Open ustiugov opened 2 years ago

ustiugov commented 2 years ago

The xdt-vhive module breaks (1) container builds and (2) go mod download

Logs: (1) https://github.com/ease-lab/vSwarm/runs/6060750238?check_suite_focus=true#step:5:174

#17 [builder 8/9] RUN go mod tidy
#17 sha256:4f6cb49384556377e5104c8dfab05b6072043e959c6646f5bd61c203be40524d
#17 2.512 go: github.com/ease-lab/vhive-xdt/sdk/golang@v0.0.0-20210903135911-a8dd405a02ec: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/9a55d04d66b40bef8fcfb41f84ee0a31b34b74f38389df85a9774f7df3d7887b: exit status 128:
#17 2.512   remote: Invalid username or password.
#17 2.512   fatal: Authentication failed for '***github.com/ease-lab/vhive-xdt/'
#17 ERROR: executor failed running [/bin/sh -c go mod tidy]: exit code: 1
------
 > [builder 8/9] RUN go mod tidy:
------
executor failed running [/bin/sh -c go mod tidy]: exit code: 1

(2) https://github.com/ease-lab/vSwarm/runs/6180720496?check_suite_focus=true#step:4:29

Running [/home/runner/golangci-lint-1.45.2-linux-amd64/golangci-lint run --out-format=github-actions --path-prefix=./benchmarks/chained-function-serving --timeout 5m] in [/home/runner/work/vSwarm/vSwarm/benchmarks/chained-function-serving] ...
  level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: github.com/ease-lab/vhive-xdt/sdk/golang@v0.0.0-20210903135911-a8dd405a02ec: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/runner/go/pkg/mod/cache/vcs/9a55d04d66b40bef8fcfb41f84ee0a31b34b74f38389df85a9774f7df3d7887b: exit status 128:\n\tfatal: could not read Username for 'https://github.com/': terminal prompts disabled\n"
shyamjesal commented 2 years ago

This line authenticates to the github for accessing private repo. This is failing on github runners. Github has changed their authentication scheme. Refer to this for reference.

dhschall commented 2 years ago

Harshit can you pleas look into that next week

dhschall commented 2 years ago

Hey was there any progress in this?