Xk6-output-prometheus-remote go version error

I am also trying to integrate with my GIT CID.

  stage: run
  environment: DEV
    GIT_CHECKOUT: "false"
    name: golang
    - job: build:k6
    - go install go.k6.io/xk6/cmd/xk6@latest
    - xk6 build --with github.com/grafana/xk6-output-prometheus-remote@latest
    - ./k6 run -o xk6-prometheus-rw  build/k6.bundle.min.mjs --vus ${K6_VUS} --iterations ${K6_ITERATIONS} -e K6_HOSTNAME=$K6_HOSTNAME -e K6_BASEPATH=$K6_BASEPATH
      junit: junit.xml
  when: manual

But when pipeline run getting below error, And I have no idea about go.

go: downloading google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f
2023/07/19 12:50:56 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod tidy -compat=1.17 
2023/07/19 12:50:56 [INFO] Writing main module: /tmp/buildenv_2023-07-19-1250.1174414957/main.go
2023/07/19 12:50:56 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod edit -require go.k6.io/k6@0.44.1 
2023/07/19 12:50:56 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod tidy -compat=1.17 
go: errors parsing go.mod:
/tmp/buildenv_2023-07-19-1250.1174414957/go.mod:27:2: require go.k6.io/k6: version "0.44.1" invalid: unknown revision 0.44.1
2023/07/19 12:51:01 [INFO] Cleaning up temporary folder: /tmp/buildenv_2023-07-19-1250.1174414957
2023/07/19 12:51:01 [FATAL] exit status 1

@eyeveebe could you please help with above go error?

Hi @tailorravat

Are you running GitLab’s integration with k6, Load Performance Testing | GitLab? If so, I suggest you contact GitLab, as we are not directly involved in how they wrap k6 and I’m not sure how they support extensions, etc.

Our suggested integration is documented at Load testing with GitLab, as we discussed in Cloud login failure from GItLab CI - #7 by immavalls2.