Hi,
While running using k6 docker container in Azure Pipeline - getting error
Following in my docker file
FROM joined-docker.artifactory.abcdefgg.net/grafana/k6:0.50.0
RUN apt-get update
COPY . /app
USER root
RUN echo $NODE_EXTRA_CA_CERTS
Following is my yml file
trigger:
- master
pool:
name: default-containers
stages:
- stage: E2E_Perf_TEST
jobs:- job: K6
displayName: Testing K6 Azure Devops
pool:
name: default-containers
container: db-docker-utta-testautomation.artifactory.abcdefgh.net/grafana/k6:v0.50.0steps:
- job: K6
- script: chmod uga+rwx -R k6Report
- script: ls -ltr
- script: pwd
- script: k6 run ./Basic_feeXpart_GET.js
- script: docker run -it --rm
k6 run ./Basic_feeXpart_GET.js
Error:
2024-05-23T08:38:32.6517873Z 9f89d995513a86b3cffe141920e151829e782234babeba0a61c4f149f92c0021 Up Less than a second
2024-05-23T08:38:32.6579027Z ##[command]/usr/bin/docker exec 9f89d995513a86b3cffe141920e151829e782234babeba0a61c4f149f92c0021 sh -c “command -v bash”
2024-05-23T08:38:32.7412942Z Error response from daemon: Container 9f89d995513a86b3cffe141920e151829e782234babeba0a61c4f149f92c0021 is not running