grafana / xk6-faker

Random fake data generator for k6.
https://faker.x.k6.io
GNU Affero General Public License v3.0
59 stars 18 forks source link

K6 build failing in Gitlab CI #10

Closed benlutz closed 1 year ago

benlutz commented 1 year ago

Hi,

I am encountering an error while building a K6 container that includes the xk6-faker plugin in a GitLab pipeline. The build process is failing with the following error:

#8 ERROR: process "/bin/sh -c xk6 build v0.36.0 --with github.com/szkiba/xk6-faker" did not complete successfully: exit code: 1
------
 > [go 3/4] RUN xk6 build v0.36.0 --with github.com/szkiba/xk6-faker:
------
process "/bin/sh -c xk6 build v0.36.0 --with github.com/szkiba/xk6-faker" did not complete successfully: exit code: 1
Service 'k6' failed to build : Build failed
Cleaning up project directory and file based variables
00:02
ERROR: Job failed: exit code 1

It however just suddenly stopped working, and I can still build my containers locally without having any problems. Any idea where the issue could lie?

benlutz commented 1 year ago

Nevermind, updating GO in my Container to golang:1.19 seems to have fixed my issue!