Pull request #335 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2+da9c53c8f531c50c136bf7f237b2fe6b058fda45 (53b0450066d401585b43856cd2210c62ce610e92) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7920284812278460581.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1427585227552164449.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh250009624423760118.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8525766349052838170.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13069966269489105176.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18148007091039487049.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4656 in /w/workspace/foundry_device-virtual-go_PR-335 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-335 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 Merge succeeded, producing 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 Checking out Revision 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 (PR-335) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T11:02:30.078Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T11:02:30.258Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T11:02:30.359Z] ========================================================= [2023-02-06T11:02:30.359Z] EdgeX Global Pipelines Version Info [2023-02-06T11:02:30.359Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:02:31.090Z] ------------------- [2023-02-06T11:02:31.090Z] stable info: [2023-02-06T11:02:31.090Z] ------------------- [2023-02-06T11:02:31.090Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T11:02:31.090Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:02:31.090Z] Message: update stable to v1.0.244 [2023-02-06T11:02:31.659Z] ------------------- [2023-02-06T11:02:31.659Z] experimental info: [2023-02-06T11:02:31.659Z] ------------------- [2023-02-06T11:02:31.660Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T11:02:31.660Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:02:31.660Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T11:02:31.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-06T11:02:32.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-06T11:02:32.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T11:02:32.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T11:02:32.157Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T11:02:32.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T11:02:32.237Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T11:02:32.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-06T11:02:32.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T11:02:32.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T11:02:32.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T11:02:32.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-06T11:02:32.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T11:02:32.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T11:02:32.570Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T11:02:32.617Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T11:02:32.659Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T11:02:32.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T11:02:32.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T11:02:32.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T11:02:32.814Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-06T11:02:32.849Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-06T11:02:32.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T11:02:32.919Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T11:02:32.953Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T11:02:33.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T11:02:33.035Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T11:02:33.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo [2023-02-06T11:02:33.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo [2023-02-06T11:02:33.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo [2023-02-06T11:02:33.195Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [Pipeline] echo [2023-02-06T11:02:33.236Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c3ef28 [Pipeline] echo [2023-02-06T11:02:33.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:02:33.380Z] provisioning config files... [2023-02-06T11:02:33.394Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-335@tmp/config12886257643942213312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:02:33.728Z] ---> docker-login.sh [2023-02-06T11:02:33.728Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:02:33.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:02:34.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:02:34.249Z] Configure a credential helper to remove this warning. See [2023-02-06T11:02:34.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:02:34.249Z] [2023-02-06T11:02:34.249Z] Login Succeeded [2023-02-06T11:02:34.249Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:02:34.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:02:34.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:02:34.509Z] Configure a credential helper to remove this warning. See [2023-02-06T11:02:34.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:02:34.509Z] [2023-02-06T11:02:34.509Z] Login Succeeded [2023-02-06T11:02:34.509Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:02:34.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:02:34.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:02:34.509Z] Configure a credential helper to remove this warning. See [2023-02-06T11:02:34.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:02:34.510Z] [2023-02-06T11:02:34.510Z] Login Succeeded [2023-02-06T11:02:34.510Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:02:34.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:02:34.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:02:34.770Z] Configure a credential helper to remove this warning. See [2023-02-06T11:02:34.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:02:34.770Z] [2023-02-06T11:02:34.770Z] Login Succeeded [2023-02-06T11:02:34.770Z] docker.io [2023-02-06T11:02:34.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:02:35.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:02:35.030Z] Configure a credential helper to remove this warning. See [2023-02-06T11:02:35.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:02:35.030Z] [2023-02-06T11:02:35.030Z] Login Succeeded [2023-02-06T11:02:35.030Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:02:35.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T11:02:35.636Z] + git rev-list -1 --merges 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2~1..2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [Pipeline] echo [2023-02-06T11:02:35.718Z] -----------> git rev-list -1 --merges 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2~1..2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [false] [Pipeline] sh [2023-02-06T11:02:36.021Z] + git log --format=format:%s -1 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [Pipeline] echo [2023-02-06T11:02:36.059Z] ========================================================= [2023-02-06T11:02:36.059Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T11:02:36.059Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:02:36.495Z] + git log --format=format:%s -1 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [Pipeline] echo [2023-02-06T11:02:36.535Z] [semverPrep] GIT_COMMIT: 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-06T11:02:36.569Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T11:02:36.962Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T11:02:36.962Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T11:02:36.962Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T11:02:36.962Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T11:02:36.962Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T11:02:36.962Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T11:02:36.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:02:37.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:02:37.385Z] [2023-02-06T11:02:37.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:02:37.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:02:38.050Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T11:02:38.050Z] b85a868b505f: Pulling fs layer [2023-02-06T11:02:38.050Z] e2be974225ed: Pulling fs layer [2023-02-06T11:02:38.050Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T11:02:38.050Z] 988bab9f4d93: Pulling fs layer [2023-02-06T11:02:38.050Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T11:02:38.050Z] eaf3925da568: Pulling fs layer [2023-02-06T11:02:38.050Z] bab4dde63d76: Pulling fs layer [2023-02-06T11:02:38.050Z] bde34c3a00c8: Pulling fs layer [2023-02-06T11:02:38.050Z] b352a97aabf1: Pulling fs layer [2023-02-06T11:02:38.050Z] 4872d77fe225: Pulling fs layer [2023-02-06T11:02:38.050Z] 988bab9f4d93: Waiting [2023-02-06T11:02:38.050Z] 5851b861e8e6: Pulling fs layer [2023-02-06T11:02:38.050Z] 1469e6f7b9e6: Waiting [2023-02-06T11:02:38.050Z] eaf3925da568: Waiting [2023-02-06T11:02:38.050Z] bab4dde63d76: Waiting [2023-02-06T11:02:38.050Z] bde34c3a00c8: Waiting [2023-02-06T11:02:38.050Z] b352a97aabf1: Waiting [2023-02-06T11:02:38.050Z] 4872d77fe225: Waiting [2023-02-06T11:02:38.050Z] 5851b861e8e6: Waiting [2023-02-06T11:02:38.050Z] e2be974225ed: Verifying Checksum [2023-02-06T11:02:38.050Z] e2be974225ed: Download complete [2023-02-06T11:02:38.050Z] 988bab9f4d93: Verifying Checksum [2023-02-06T11:02:38.050Z] 988bab9f4d93: Download complete [2023-02-06T11:02:38.314Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T11:02:38.314Z] 1469e6f7b9e6: Download complete [2023-02-06T11:02:38.314Z] eaf3925da568: Download complete [2023-02-06T11:02:38.314Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T11:02:38.314Z] 339a4e72a1f5: Download complete [2023-02-06T11:02:38.314Z] bde34c3a00c8: Verifying Checksum [2023-02-06T11:02:38.314Z] bde34c3a00c8: Download complete [2023-02-06T11:02:38.578Z] b352a97aabf1: Verifying Checksum [2023-02-06T11:02:38.578Z] b352a97aabf1: Download complete [2023-02-06T11:02:38.578Z] 4872d77fe225: Download complete [2023-02-06T11:02:38.578Z] 5851b861e8e6: Download complete [2023-02-06T11:02:38.578Z] b85a868b505f: Verifying Checksum [2023-02-06T11:02:38.578Z] b85a868b505f: Download complete [2023-02-06T11:02:38.838Z] bab4dde63d76: Verifying Checksum [2023-02-06T11:02:38.838Z] bab4dde63d76: Download complete [2023-02-06T11:02:39.779Z] b85a868b505f: Pull complete [2023-02-06T11:02:40.039Z] e2be974225ed: Pull complete [2023-02-06T11:02:40.605Z] 339a4e72a1f5: Pull complete [2023-02-06T11:02:40.865Z] 988bab9f4d93: Pull complete [2023-02-06T11:02:41.434Z] 1469e6f7b9e6: Pull complete [2023-02-06T11:02:42.015Z] eaf3925da568: Pull complete [2023-02-06T11:02:44.554Z] bab4dde63d76: Pull complete [2023-02-06T11:02:44.554Z] bde34c3a00c8: Pull complete [2023-02-06T11:02:45.124Z] b352a97aabf1: Pull complete [2023-02-06T11:02:45.391Z] 4872d77fe225: Pull complete [2023-02-06T11:02:45.967Z] 5851b861e8e6: Pull complete [2023-02-06T11:02:46.227Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T11:02:46.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:02:46.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:02:46.498Z] prd-ubuntu20.04-docker-8c-8g-4656 does not seem to be running inside a container [2023-02-06T11:02:46.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-335 -v /w/workspace/foundry_device-virtual-go_PR-335:/w/workspace/foundry_device-virtual-go_PR-335:rw,z -v /w/workspace/foundry_device-virtual-go_PR-335@tmp:/w/workspace/foundry_device-virtual-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T11:02:56.174Z] $ docker top 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 -eo pid,comm [2023-02-06T11:02:56.297Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-06T11:02:56.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T11:02:56.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T11:02:56.433Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T11:02:56.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T11:02:56.542Z] $ docker exec 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 ssh-agent [2023-02-06T11:02:56.650Z] SSH_AUTH_SOCK=/tmp/ssh-8hIKH1IMTG9y/agent.13 [2023-02-06T11:02:56.650Z] SSH_AGENT_PID=19 [2023-02-06T11:02:56.683Z] Running ssh-add (command line suppressed) [2023-02-06T11:02:56.784Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-335@tmp/private_key_7241918992027119999.key (/w/workspace/foundry_device-virtual-go_PR-335@tmp/private_key_7241918992027119999.key) [2023-02-06T11:02:56.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T11:02:57.167Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T11:02:57.185Z] $ docker exec --env ******** --env ******** 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 ssh-agent -k [2023-02-06T11:02:57.360Z] unset SSH_AUTH_SOCK; [2023-02-06T11:02:57.361Z] unset SSH_AGENT_PID; [2023-02-06T11:02:57.361Z] echo Agent pid 19 killed; [2023-02-06T11:02:57.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T11:02:57.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T11:02:57.466Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T11:02:57.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T11:02:57.588Z] $ docker exec 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 ssh-agent [2023-02-06T11:02:57.705Z] SSH_AUTH_SOCK=/tmp/ssh-D6T6SSHiVMOi/agent.51 [2023-02-06T11:02:57.705Z] SSH_AGENT_PID=57 [2023-02-06T11:02:57.712Z] Running ssh-add (command line suppressed) [2023-02-06T11:02:57.828Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-335@tmp/private_key_9153978001733733237.key (/w/workspace/foundry_device-virtual-go_PR-335@tmp/private_key_9153978001733733237.key) [2023-02-06T11:02:57.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T11:02:58.207Z] + git semver init [2023-02-06T11:02:58.779Z] 2023-02-06 11:02:58,601 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T11:02:58.779Z] 2023-02-06 11:02:58,603 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-335/.semver [2023-02-06T11:02:58.779Z] 2023-02-06 11:02:58,618 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-335/.semver [2023-02-06T11:02:58.779Z] 2023-02-06 11:02:58,618 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-335/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-335, universal_newlines=False, shell=None, istream=None) [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,320 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-335/.git/info/exclude [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,321 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-335/.semver/PR-335 with force:False [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,321 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-335/.semver/PR-335 [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,323 [execute] INFO git cat-file --batch-check [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,331 [execute] INFO git cat-file --batch [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T11:03:00.687Z] 2023-02-06 11:03:00,337 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-335/.semver/PR-335 [2023-02-06T11:03:00.687Z] 0.0.0 [Pipeline] } [2023-02-06T11:03:00.706Z] $ docker exec --env ******** --env ******** 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 ssh-agent -k [2023-02-06T11:03:00.823Z] unset SSH_AUTH_SOCK; [2023-02-06T11:03:00.823Z] unset SSH_AGENT_PID; [2023-02-06T11:03:00.823Z] echo Agent pid 57 killed; [2023-02-06T11:03:00.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T11:03:01.270Z] + git semver [Pipeline] } [2023-02-06T11:03:01.854Z] $ docker stop --time=1 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 [2023-02-06T11:03:03.696Z] $ docker rm -f --volumes 5723e5394eff6df12778205b35ec705d36a58d83b302718130b97061e225a477 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T11:03:04.201Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T11:03:04.522Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T11:03:04.543Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:03:05.135Z] provisioning config files... [2023-02-06T11:03:05.145Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-335@tmp/config11637118020661074528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:03:05.498Z] ---> docker-login.sh [2023-02-06T11:03:05.498Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:03:05.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:05.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:05.498Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:05.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:05.498Z] [2023-02-06T11:03:05.498Z] Login Succeeded [2023-02-06T11:03:05.498Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:03:05.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:05.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:05.498Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:05.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:05.498Z] [2023-02-06T11:03:05.498Z] Login Succeeded [2023-02-06T11:03:05.760Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:03:05.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:05.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:05.760Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:05.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:05.760Z] [2023-02-06T11:03:05.760Z] Login Succeeded [2023-02-06T11:03:05.760Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:03:05.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:06.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:06.019Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:06.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:06.019Z] [2023-02-06T11:03:06.019Z] Login Succeeded [2023-02-06T11:03:06.019Z] docker.io [2023-02-06T11:03:06.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:06.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:06.279Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:06.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:06.279Z] [2023-02-06T11:03:06.279Z] Login Succeeded [2023-02-06T11:03:06.279Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:03:06.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T11:03:06.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:03:06.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:03:06.582Z] ========================================================= [2023-02-06T11:03:06.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T11:03:06.582Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:03:07.045Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T11:03:07.045Z] Sending build context to Docker daemon 23.36MB [2023-02-06T11:03:07.045Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:03:07.045Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T11:03:07.306Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T11:03:07.306Z] 213ec9aee27d: Pulling fs layer [2023-02-06T11:03:07.306Z] 4583459ba037: Pulling fs layer [2023-02-06T11:03:07.306Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T11:03:07.306Z] 53926ce57604: Pulling fs layer [2023-02-06T11:03:07.306Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T11:03:07.306Z] 22ff95d597cd: Pulling fs layer [2023-02-06T11:03:07.306Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T11:03:07.306Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T11:03:07.306Z] a7acece74701: Pulling fs layer [2023-02-06T11:03:07.306Z] 21b2b0c7a3f4: Waiting [2023-02-06T11:03:07.306Z] 53926ce57604: Waiting [2023-02-06T11:03:07.306Z] 22ff95d597cd: Waiting [2023-02-06T11:03:07.306Z] 96b7cbca73a9: Waiting [2023-02-06T11:03:07.306Z] a7acece74701: Waiting [2023-02-06T11:03:07.306Z] 93c1e223e6f2: Download complete [2023-02-06T11:03:07.306Z] 4583459ba037: Download complete [2023-02-06T11:03:07.306Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T11:03:07.306Z] 21b2b0c7a3f4: Download complete [2023-02-06T11:03:07.306Z] 22ff95d597cd: Verifying Checksum [2023-02-06T11:03:07.306Z] 22ff95d597cd: Download complete [2023-02-06T11:03:07.306Z] 213ec9aee27d: Verifying Checksum [2023-02-06T11:03:07.306Z] 213ec9aee27d: Download complete [2023-02-06T11:03:07.572Z] 12d6caf4c0d1: Verifying Checksum [2023-02-06T11:03:07.572Z] 12d6caf4c0d1: Download complete [2023-02-06T11:03:07.572Z] 213ec9aee27d: Pull complete [2023-02-06T11:03:07.856Z] 4583459ba037: Pull complete [2023-02-06T11:03:07.856Z] 93c1e223e6f2: Pull complete [2023-02-06T11:03:08.943Z] a7acece74701: Verifying Checksum [2023-02-06T11:03:08.943Z] a7acece74701: Download complete [2023-02-06T11:03:09.227Z] 53926ce57604: Verifying Checksum [2023-02-06T11:03:09.227Z] 53926ce57604: Download complete [2023-02-06T11:03:09.486Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T11:03:09.486Z] 96b7cbca73a9: Download complete [2023-02-06T11:03:13.670Z] 53926ce57604: Pull complete [2023-02-06T11:03:13.670Z] 21b2b0c7a3f4: Pull complete [2023-02-06T11:03:13.670Z] 22ff95d597cd: Pull complete [2023-02-06T11:03:13.670Z] 12d6caf4c0d1: Pull complete [2023-02-06T11:03:15.568Z] 96b7cbca73a9: Pull complete [2023-02-06T11:03:16.133Z] a7acece74701: Pull complete [2023-02-06T11:03:16.133Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T11:03:16.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T11:03:16.133Z] ---> db6d94c90886 [2023-02-06T11:03:16.133Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:03:19.964Z] Still waiting to schedule task [2023-02-06T11:03:19.964Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-06T11:03:22.742Z] ---> Running in c1d044472b0a [2023-02-06T11:03:22.742Z] Removing intermediate container c1d044472b0a [2023-02-06T11:03:22.742Z] ---> b6e40edc6ba5 [2023-02-06T11:03:22.742Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:03:23.000Z] ---> Running in fa5df3da4245 [2023-02-06T11:03:23.000Z] Removing intermediate container fa5df3da4245 [2023-02-06T11:03:23.000Z] ---> 079ba50e5a61 [2023-02-06T11:03:23.000Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:03:23.259Z] ---> Running in ee9da0197fec [2023-02-06T11:03:23.259Z] Removing intermediate container ee9da0197fec [2023-02-06T11:03:23.259Z] ---> d916a8dad215 [2023-02-06T11:03:23.259Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-06T11:03:23.259Z] ---> Running in c586bb7f824b [2023-02-06T11:03:23.826Z] Removing intermediate container c586bb7f824b [2023-02-06T11:03:23.826Z] ---> 91c1f9d97e24 [2023-02-06T11:03:23.826Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:03:24.084Z] ---> Running in 8c04a7ff4174 [2023-02-06T11:03:25.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:03:28.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:03:28.306Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T11:03:28.306Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T11:03:28.306Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T11:03:28.306Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T11:03:28.306Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:03:28.306Z] OK: 216 MiB in 55 packages [2023-02-06T11:03:30.220Z] Removing intermediate container 8c04a7ff4174 [2023-02-06T11:03:30.220Z] ---> b8b0bb866d7d [2023-02-06T11:03:30.220Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-06T11:03:30.220Z] ---> 827f30147261 [2023-02-06T11:03:30.220Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:03:30.220Z] ---> Running in c26ce0d165ff [2023-02-06T11:04:37.953Z] Removing intermediate container c26ce0d165ff [2023-02-06T11:04:37.953Z] ---> 4bbfe70c1f3b [2023-02-06T11:04:37.953Z] Step 10/12 : COPY . . [2023-02-06T11:04:37.953Z] ---> 535dc8722b5f [2023-02-06T11:04:37.953Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:04:37.953Z] ---> Running in d0a29787a06b [2023-02-06T11:04:37.953Z] Removing intermediate container d0a29787a06b [2023-02-06T11:04:37.953Z] ---> a91eb3c3d3af [2023-02-06T11:04:37.953Z] Step 12/12 : RUN $MAKE [2023-02-06T11:04:37.953Z] ---> Running in 1387617fc6a9 [2023-02-06T11:04:37.953Z] noop [2023-02-06T11:04:37.953Z] Removing intermediate container 1387617fc6a9 [2023-02-06T11:04:37.953Z] ---> 20352d627e36 [2023-02-06T11:04:37.953Z] Successfully built 20352d627e36 [2023-02-06T11:04:37.953Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:04:38.408Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T11:04:38.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:04:38.559Z] prd-ubuntu20.04-docker-8c-8g-4656 does not seem to be running inside a container [2023-02-06T11:04:38.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-335 -v /w/workspace/foundry_device-virtual-go_PR-335:/w/workspace/foundry_device-virtual-go_PR-335:rw,z -v /w/workspace/foundry_device-virtual-go_PR-335@tmp:/w/workspace/foundry_device-virtual-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T11:04:39.570Z] $ docker top 55f98947682d81834ee06678f65311adc5dead8f661ff998a061412882663aea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:04:39.975Z] + go version [2023-02-06T11:04:39.975Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T11:04:40.011Z] $ docker stop --time=1 55f98947682d81834ee06678f65311adc5dead8f661ff998a061412882663aea [2023-02-06T11:04:41.351Z] $ docker rm -f --volumes 55f98947682d81834ee06678f65311adc5dead8f661ff998a061412882663aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:04:42.053Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T11:04:42.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:04:42.196Z] prd-ubuntu20.04-docker-8c-8g-4656 does not seem to be running inside a container [2023-02-06T11:04:42.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-335 -v /w/workspace/foundry_device-virtual-go_PR-335:/w/workspace/foundry_device-virtual-go_PR-335:rw,z -v /w/workspace/foundry_device-virtual-go_PR-335@tmp:/w/workspace/foundry_device-virtual-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T11:04:43.059Z] $ docker top 4a561ece59594efdda7aa750076c1dbd5cbb03e7a9a90596a5eb2746672193cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:04:43.443Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-335 [Pipeline] fileExists [Pipeline] sh [2023-02-06T11:04:43.790Z] + make test [2023-02-06T11:04:43.790Z] go test ./... -coverprofile=coverage.out [2023-02-06T11:04:44.048Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-06T11:04:54.032Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-06T11:04:54.966Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2023-02-06T11:04:58.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4659 in /w/workspace/foundry_device-virtual-go_PR-335 [Pipeline] { [Pipeline] ws [2023-02-06T11:04:58.469Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-06T11:04:58.540Z] The recommended git tool is: git [2023-02-06T11:05:03.258Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-06T11:05:03.258Z] go vet ./... [2023-02-06T11:05:03.841Z] using credential edgex-jenkins-ssh [2023-02-06T11:05:03.857Z] Cloning the remote Git repository [2023-02-06T11:05:03.881Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:05:03.951Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-06T11:05:04.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:05:04.141Z] > git --version # timeout=10 [2023-02-06T11:05:04.167Z] > git --version # 'git version 2.25.1' [2023-02-06T11:05:04.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:05:04.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T11:05:05.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T11:05:05.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T11:05:05.784Z] ./bin/test-attribution-txt.sh [2023-02-06T11:05:05.784Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T11:05:05.784Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T11:05:05.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T11:05:05.854Z] $ docker stop --time=1 4a561ece59594efdda7aa750076c1dbd5cbb03e7a9a90596a5eb2746672193cd [2023-02-06T11:05:06.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-06T11:05:06.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T11:05:07.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-06T11:05:07.900Z] Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [2023-02-06T11:05:08.103Z] Merge succeeded, producing 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [2023-02-06T11:05:08.103Z] Checking out Revision 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 (PR-335) [2023-02-06T11:05:08.569Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-06T11:05:08.611Z] > git --version # timeout=10 [2023-02-06T11:05:08.624Z] > git --version # 'git version 2.25.1' [2023-02-06T11:05:08.641Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:05:07.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:05:07.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:05:07.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T11:05:07.906Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T11:05:07.923Z] > git checkout -f 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 # timeout=10 [2023-02-06T11:05:08.001Z] > git remote # timeout=10 [2023-02-06T11:05:08.017Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T11:05:08.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:05:08.050Z] > git merge da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 [2023-02-06T11:05:08.075Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T11:05:08.097Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T11:05:08.110Z] > git checkout -f 2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 # timeout=10 [2023-02-06T11:05:10.296Z] $ docker rm -f --volumes 4a561ece59594efdda7aa750076c1dbd5cbb03e7a9a90596a5eb2746672193cd [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:05:10.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T11:05:10.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-02-06T11:05:11.234Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T11:05:11.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T11:05:11.234Z] Dload Upload Total Spent Left Speed [2023-02-06T11:05:11.234Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [Pipeline] sh [2023-02-06T11:05:11.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T11:05:11.900Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T11:05:12.064Z] + ls -al . [2023-02-06T11:05:12.065Z] total 192 [2023-02-06T11:05:12.065Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 11:04 . [2023-02-06T11:05:12.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:02 .. [2023-02-06T11:05:12.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:04 .git [2023-02-06T11:05:12.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:02 .github [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:02 .gitignore [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:02 .golangci.yml [2023-02-06T11:05:12.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:03 .semver [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:02 Attribution.txt [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:02 CHANGELOG.md [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:02 Dockerfile [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:02 GOVERNANCE.md [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:02 Jenkinsfile [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:02 LICENSE [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:02 Makefile [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:02 OWNERS.md [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:02 README.md [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 11:03 VERSION [2023-02-06T11:05:12.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:02 bin [2023-02-06T11:05:12.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:02 cmd [2023-02-06T11:05:12.065Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:04 coverage.out [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 6 11:02 go.mod [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 6 11:02 go.sum [2023-02-06T11:05:12.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:02 internal [2023-02-06T11:05:12.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:02 snap [2023-02-06T11:05:12.065Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:12.253Z] + sudo tee /etc/docker/daemon.new [2023-02-06T11:05:12.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T11:05:12.253Z] { [2023-02-06T11:05:12.253Z] "registry-mirrors": [ [2023-02-06T11:05:12.253Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T11:05:12.253Z] ], [2023-02-06T11:05:12.253Z] "bip": "10.250.0.254/24", [2023-02-06T11:05:12.253Z] "hosts": [ [2023-02-06T11:05:12.253Z] "tcp://0.0.0.0:5555", [2023-02-06T11:05:12.253Z] "unix:///var/run/docker.sock" [2023-02-06T11:05:12.253Z] ], [2023-02-06T11:05:12.253Z] "mtu": 1458, [2023-02-06T11:05:12.253Z] "selinux-enabled": true, [2023-02-06T11:05:12.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T11:05:12.253Z] } [Pipeline] sh [2023-02-06T11:05:12.451Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 --label arch=amd64 --label version=0.0.0 . [2023-02-06T11:05:12.451Z] Sending build context to Docker daemon 23.4MB [2023-02-06T11:05:12.451Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:05:12.451Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-06T11:05:12.451Z] ---> 20352d627e36 [2023-02-06T11:05:12.451Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:05:12.604Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T11:05:12.963Z] + sudo service docker restart [2023-02-06T11:05:13.396Z] ---> Running in 13321fbea6ec [2023-02-06T11:05:13.655Z] Removing intermediate container 13321fbea6ec [2023-02-06T11:05:13.655Z] ---> 0c35d9f8b307 [2023-02-06T11:05:13.655Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:05:13.655Z] ---> Running in fdbc4481c74c [2023-02-06T11:05:13.914Z] Removing intermediate container fdbc4481c74c [2023-02-06T11:05:13.914Z] ---> 5ba1a24ea068 [2023-02-06T11:05:13.914Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:05:13.914Z] ---> Running in c3de189b7112 [2023-02-06T11:05:13.914Z] Removing intermediate container c3de189b7112 [2023-02-06T11:05:13.914Z] ---> e4ff923a3a6e [2023-02-06T11:05:13.914Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-06T11:05:14.178Z] ---> Running in fcf711e733aa [2023-02-06T11:05:14.436Z] Removing intermediate container fcf711e733aa [2023-02-06T11:05:14.436Z] ---> f264e2c8728f [2023-02-06T11:05:14.436Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:05:14.436Z] ---> Running in 3a34efa6a626 [2023-02-06T11:05:14.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:05:14.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:05:14.953Z] OK: 216 MiB in 55 packages [2023-02-06T11:05:15.522Z] Removing intermediate container 3a34efa6a626 [2023-02-06T11:05:15.522Z] ---> 056e837de0de [2023-02-06T11:05:15.522Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-06T11:05:15.522Z] ---> cd15e89cf65c [2023-02-06T11:05:15.522Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:05:15.522Z] ---> Running in 1bcb2cb49d5b [2023-02-06T11:05:17.450Z] Removing intermediate container 1bcb2cb49d5b [2023-02-06T11:05:17.450Z] ---> 289d6f09b205 [2023-02-06T11:05:17.450Z] Step 10/25 : COPY . . [2023-02-06T11:05:18.903Z] ---> c88a624d8692 [2023-02-06T11:05:18.903Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:05:18.903Z] ---> Running in 7628d3bb1b7c [2023-02-06T11:05:19.837Z] Removing intermediate container 7628d3bb1b7c [2023-02-06T11:05:19.837Z] ---> 74c4c533857c [2023-02-06T11:05:19.837Z] Step 12/25 : RUN $MAKE [2023-02-06T11:05:20.096Z] ---> Running in 26383101069d [2023-02-06T11:05:20.662Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:05:31.301Z] provisioning config files... [2023-02-06T11:05:31.332Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5681166214411245835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:05:31.715Z] ---> docker-login.sh [2023-02-06T11:05:31.715Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:05:31.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:05:32.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:05:32.260Z] Configure a credential helper to remove this warning. See [2023-02-06T11:05:32.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:05:32.260Z] [2023-02-06T11:05:32.260Z] Login Succeeded [2023-02-06T11:05:32.260Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:05:32.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:05:32.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:05:32.798Z] Configure a credential helper to remove this warning. See [2023-02-06T11:05:32.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:05:32.798Z] [2023-02-06T11:05:32.798Z] Login Succeeded [2023-02-06T11:05:32.798Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:05:32.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:05:33.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:05:33.070Z] Configure a credential helper to remove this warning. See [2023-02-06T11:05:33.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:05:33.070Z] [2023-02-06T11:05:33.070Z] Login Succeeded [2023-02-06T11:05:33.070Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:05:33.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:05:33.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:05:33.341Z] Configure a credential helper to remove this warning. See [2023-02-06T11:05:33.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:05:33.341Z] [2023-02-06T11:05:33.341Z] Login Succeeded [2023-02-06T11:05:33.341Z] docker.io [2023-02-06T11:05:33.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:05:33.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:05:33.880Z] Configure a credential helper to remove this warning. See [2023-02-06T11:05:33.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:05:33.880Z] [2023-02-06T11:05:33.880Z] Login Succeeded [2023-02-06T11:05:33.880Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:05:33.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T11:05:34.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:05:34.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:05:34.375Z] ========================================================= [2023-02-06T11:05:34.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T11:05:34.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:34.886Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T11:05:35.155Z] Sending build context to Docker daemon 11.83MB [2023-02-06T11:05:35.155Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:05:35.155Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T11:05:37.752Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T11:05:37.752Z] 9b18e9b68314: Pulling fs layer [2023-02-06T11:05:37.752Z] 35d82f9e3411: Pulling fs layer [2023-02-06T11:05:37.752Z] e16973657156: Pulling fs layer [2023-02-06T11:05:37.752Z] fc693d55d65f: Pulling fs layer [2023-02-06T11:05:37.752Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T11:05:37.752Z] dda99020689f: Pulling fs layer [2023-02-06T11:05:37.752Z] db1c61fa0a46: Pulling fs layer [2023-02-06T11:05:37.752Z] fc693d55d65f: Waiting [2023-02-06T11:05:37.752Z] 7e9fc2657dce: Waiting [2023-02-06T11:05:37.752Z] dda99020689f: Waiting [2023-02-06T11:05:37.752Z] 891c053d2c06: Pulling fs layer [2023-02-06T11:05:37.752Z] db1c61fa0a46: Waiting [2023-02-06T11:05:37.752Z] 891c053d2c06: Waiting [2023-02-06T11:05:37.752Z] e16973657156: Verifying Checksum [2023-02-06T11:05:37.752Z] e16973657156: Download complete [2023-02-06T11:05:37.752Z] 35d82f9e3411: Verifying Checksum [2023-02-06T11:05:37.752Z] 35d82f9e3411: Download complete [2023-02-06T11:05:37.752Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T11:05:37.752Z] 7e9fc2657dce: Download complete [2023-02-06T11:05:37.752Z] dda99020689f: Verifying Checksum [2023-02-06T11:05:37.752Z] dda99020689f: Download complete [2023-02-06T11:05:37.752Z] 9b18e9b68314: Download complete [2023-02-06T11:05:38.724Z] 9b18e9b68314: Pull complete [2023-02-06T11:05:38.724Z] 891c053d2c06: Verifying Checksum [2023-02-06T11:05:38.724Z] 891c053d2c06: Download complete [2023-02-06T11:05:39.361Z] 35d82f9e3411: Pull complete [2023-02-06T11:05:39.631Z] e16973657156: Pull complete [2023-02-06T11:05:40.218Z] db1c61fa0a46: Verifying Checksum [2023-02-06T11:05:40.218Z] db1c61fa0a46: Download complete [2023-02-06T11:05:40.487Z] fc693d55d65f: Download complete [2023-02-06T11:05:47.218Z] Removing intermediate container 26383101069d [2023-02-06T11:05:47.218Z] ---> 38205e86c9ca [2023-02-06T11:05:47.218Z] Step 13/25 : FROM alpine:3.16 [2023-02-06T11:05:47.218Z] 3.16: Pulling from library/alpine [2023-02-06T11:05:47.218Z] ca7dd9ec2225: Pulling fs layer [2023-02-06T11:05:47.218Z] ca7dd9ec2225: Verifying Checksum [2023-02-06T11:05:47.218Z] ca7dd9ec2225: Download complete [2023-02-06T11:05:47.218Z] ca7dd9ec2225: Pull complete [2023-02-06T11:05:47.218Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T11:05:47.218Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T11:05:47.218Z] ---> bfe296a52501 [2023-02-06T11:05:47.218Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-06T11:05:47.218Z] ---> Running in dba69d720cb8 [2023-02-06T11:05:47.218Z] Removing intermediate container dba69d720cb8 [2023-02-06T11:05:47.218Z] ---> 29f8c28bfbb3 [2023-02-06T11:05:47.218Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-06T11:05:47.218Z] ---> Running in c8f627907d9c [2023-02-06T11:05:47.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:05:47.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:05:47.218Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T11:05:47.218Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:05:47.218Z] OK: 6 MiB in 15 packages [2023-02-06T11:05:47.218Z] Removing intermediate container c8f627907d9c [2023-02-06T11:05:47.218Z] ---> 4f873b24b56e [2023-02-06T11:05:47.218Z] Step 16/25 : WORKDIR / [2023-02-06T11:05:47.218Z] ---> Running in 14e46afdef36 [2023-02-06T11:05:47.218Z] Removing intermediate container 14e46afdef36 [2023-02-06T11:05:47.218Z] ---> 7d69fe2c7067 [2023-02-06T11:05:47.218Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-06T11:05:47.218Z] ---> bba862a62dca [2023-02-06T11:05:47.218Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-06T11:05:47.218Z] ---> d6bb649d066c [2023-02-06T11:05:47.218Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-06T11:05:47.478Z] ---> ffaf233e4726 [2023-02-06T11:05:47.478Z] Step 20/25 : EXPOSE 59900 [2023-02-06T11:05:47.478Z] ---> Running in 1a3e7795926c [2023-02-06T11:05:47.478Z] Removing intermediate container 1a3e7795926c [2023-02-06T11:05:47.478Z] ---> 6aeba07c40a7 [2023-02-06T11:05:47.478Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-06T11:05:47.478Z] ---> Running in fdb430bdb7a1 [2023-02-06T11:05:47.736Z] Removing intermediate container fdb430bdb7a1 [2023-02-06T11:05:47.736Z] ---> 098953801a99 [2023-02-06T11:05:47.736Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T11:05:47.736Z] ---> Running in 54cb8bd078f2 [2023-02-06T11:05:47.736Z] Removing intermediate container 54cb8bd078f2 [2023-02-06T11:05:47.736Z] ---> 8478ed2952c1 [2023-02-06T11:05:47.736Z] Step 23/25 : LABEL arch=amd64 [2023-02-06T11:05:47.736Z] ---> Running in f29387711b2d [2023-02-06T11:05:47.736Z] Removing intermediate container f29387711b2d [2023-02-06T11:05:47.736Z] ---> f7b47caa9da5 [2023-02-06T11:05:47.736Z] Step 24/25 : LABEL git_sha=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [2023-02-06T11:05:47.736Z] ---> Running in ba914848b5e4 [2023-02-06T11:05:47.995Z] Removing intermediate container ba914848b5e4 [2023-02-06T11:05:47.995Z] ---> cac355fe3098 [2023-02-06T11:05:47.995Z] Step 25/25 : LABEL version=0.0.0 [2023-02-06T11:05:47.995Z] ---> Running in 11d8c1152a1b [2023-02-06T11:05:47.995Z] Removing intermediate container 11d8c1152a1b [2023-02-06T11:05:47.995Z] ---> ba08b10eb75e [2023-02-06T11:05:47.995Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T11:05:47.995Z] Successfully built ba08b10eb75e [2023-02-06T11:05:47.995Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:48.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:05:48.866Z] [2023-02-06T11:05:48.866Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:49.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:05:49.252Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T11:05:49.252Z] 5eb5b503b376: Pulling fs layer [2023-02-06T11:05:49.252Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T11:05:49.253Z] ec43610c2a17: Pulling fs layer [2023-02-06T11:05:49.253Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T11:05:49.253Z] 33b1e0a273af: Pulling fs layer [2023-02-06T11:05:49.253Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T11:05:49.253Z] 2f39f015ded8: Pulling fs layer [2023-02-06T11:05:49.253Z] 3a2ae6a8a46f: Waiting [2023-02-06T11:05:49.253Z] 33b1e0a273af: Waiting [2023-02-06T11:05:49.253Z] 2f39f015ded8: Waiting [2023-02-06T11:05:49.253Z] 5d3b04190fa2: Waiting [2023-02-06T11:05:49.519Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T11:05:49.519Z] 5c69ac0246d0: Download complete [2023-02-06T11:05:49.519Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-06T11:05:49.519Z] 3a2ae6a8a46f: Download complete [2023-02-06T11:05:49.519Z] 33b1e0a273af: Verifying Checksum [2023-02-06T11:05:49.519Z] 33b1e0a273af: Download complete [2023-02-06T11:05:49.789Z] 5d3b04190fa2: Download complete [2023-02-06T11:05:49.789Z] ec43610c2a17: Verifying Checksum [2023-02-06T11:05:49.790Z] ec43610c2a17: Download complete [2023-02-06T11:05:50.060Z] 5eb5b503b376: Verifying Checksum [2023-02-06T11:05:50.060Z] 5eb5b503b376: Download complete [2023-02-06T11:05:51.008Z] 2f39f015ded8: Download complete [2023-02-06T11:05:51.267Z] 5eb5b503b376: Pull complete [2023-02-06T11:05:51.524Z] 5c69ac0246d0: Pull complete [2023-02-06T11:05:52.091Z] ec43610c2a17: Pull complete [2023-02-06T11:05:52.348Z] 3a2ae6a8a46f: Pull complete [2023-02-06T11:05:52.915Z] 33b1e0a273af: Pull complete [2023-02-06T11:05:52.915Z] 5d3b04190fa2: Pull complete [2023-02-06T11:05:52.933Z] fc693d55d65f: Pull complete [2023-02-06T11:05:53.203Z] 7e9fc2657dce: Pull complete [2023-02-06T11:05:53.480Z] dda99020689f: Pull complete [2023-02-06T11:05:57.102Z] 2f39f015ded8: Pull complete [2023-02-06T11:05:57.360Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T11:05:57.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:05:57.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:05:57.574Z] prd-ubuntu20.04-docker-8c-8g-4656 does not seem to be running inside a container [2023-02-06T11:05:57.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-335 -v /w/workspace/foundry_device-virtual-go_PR-335:/w/workspace/foundry_device-virtual-go_PR-335:rw,z -v /w/workspace/foundry_device-virtual-go_PR-335@tmp:/w/workspace/foundry_device-virtual-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T11:06:00.166Z] db1c61fa0a46: Pull complete [2023-02-06T11:06:01.584Z] 891c053d2c06: Pull complete [2023-02-06T11:06:01.584Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T11:06:01.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T11:06:01.584Z] ---> f96f9c87975a [2023-02-06T11:06:01.584Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:06:03.528Z] ---> Running in 5498d9058079 [2023-02-06T11:06:03.796Z] Removing intermediate container 5498d9058079 [2023-02-06T11:06:03.796Z] ---> 167610c6f011 [2023-02-06T11:06:03.796Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:06:03.796Z] ---> Running in a0f8a762dcbc [2023-02-06T11:06:04.064Z] Removing intermediate container a0f8a762dcbc [2023-02-06T11:06:04.064Z] ---> e3fb5056bcc0 [2023-02-06T11:06:04.064Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:06:04.332Z] ---> Running in 087a8d26d2d6 [2023-02-06T11:06:04.602Z] Removing intermediate container 087a8d26d2d6 [2023-02-06T11:06:04.602Z] ---> 9993118e8c24 [2023-02-06T11:06:04.602Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-06T11:06:04.602Z] ---> Running in 73894d3b4471 [2023-02-06T11:06:04.871Z] Removing intermediate container 73894d3b4471 [2023-02-06T11:06:04.871Z] ---> 289d0f4d9e05 [2023-02-06T11:06:04.871Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:06:05.138Z] ---> Running in d39b59539a85 [2023-02-06T11:06:05.204Z] $ docker top eda6b5284d234542251ba9997032afd1db978706543eb78237e91ab4e0106ce8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:06:05.771Z] ---> job-cost.sh [2023-02-06T11:06:05.771Z] lf-activate-venv: SKIPPING [2023-02-06T11:06:05.771Z] INFO: No Stack... [2023-02-06T11:06:06.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:06:06.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:06:07.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T11:06:07.328Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T11:06:07.328Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T11:06:07.328Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T11:06:07.328Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T11:06:07.405Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T11:06:07.598Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:06:07.598Z] OK: 226 MiB in 55 packages [2023-02-06T11:06:07.724Z] + cat /w/workspace/foundry_device-virtual-go_PR-335/archives/cost.csv [2023-02-06T11:06:07.724Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T11:06:07.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [2023-02-06T11:06:07.766Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] did not exist. Created. [2023-02-06T11:06:07.766Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T11:06:08.146Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T11:06:08.193Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T11:06:08.227Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T11:06:08.314Z] $ docker stop --time=1 eda6b5284d234542251ba9997032afd1db978706543eb78237e91ab4e0106ce8 [2023-02-06T11:06:08.562Z] Removing intermediate container d39b59539a85 [2023-02-06T11:06:08.562Z] ---> 5565186854f8 [2023-02-06T11:06:08.562Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-06T11:06:09.147Z] ---> f1f36fba30e4 [2023-02-06T11:06:09.147Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:06:09.147Z] ---> Running in f447373f5b2a [2023-02-06T11:06:09.478Z] $ docker rm -f --volumes eda6b5284d234542251ba9997032afd1db978706543eb78237e91ab4e0106ce8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T11:07:17.080Z] Removing intermediate container f447373f5b2a [2023-02-06T11:07:17.080Z] ---> 643fc454736c [2023-02-06T11:07:17.080Z] Step 10/12 : COPY . . [2023-02-06T11:07:17.080Z] ---> f1ceff8e9f99 [2023-02-06T11:07:17.080Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:07:17.080Z] ---> Running in 8278bd9d08c7 [2023-02-06T11:07:17.080Z] Removing intermediate container 8278bd9d08c7 [2023-02-06T11:07:17.080Z] ---> 1ef4d09468fd [2023-02-06T11:07:17.080Z] Step 12/12 : RUN $MAKE [2023-02-06T11:07:17.080Z] ---> Running in e1d5ef5abab8 [2023-02-06T11:07:17.080Z] noop [2023-02-06T11:07:17.080Z] Removing intermediate container e1d5ef5abab8 [2023-02-06T11:07:17.080Z] ---> c678fd37230a [2023-02-06T11:07:17.080Z] Successfully built c678fd37230a [2023-02-06T11:07:17.080Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:07:17.556Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T11:07:17.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:07:17.829Z] prd-ubuntu20.04-docker-arm64-4c-16g-4659 does not seem to be running inside a container [2023-02-06T11:07:17.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-06T11:07:20.869Z] $ docker top 829ddccdd6df5bf7faa6ebea7b52b4c7a2c43a055fa68235339ea7f43c85615a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:07:21.722Z] + go version [2023-02-06T11:07:21.722Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T11:07:21.765Z] $ docker stop --time=1 829ddccdd6df5bf7faa6ebea7b52b4c7a2c43a055fa68235339ea7f43c85615a [2023-02-06T11:07:23.351Z] $ docker rm -f --volumes 829ddccdd6df5bf7faa6ebea7b52b4c7a2c43a055fa68235339ea7f43c85615a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:07:24.156Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T11:07:24.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:07:24.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-4659 does not seem to be running inside a container [2023-02-06T11:07:24.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-06T11:07:25.615Z] $ docker top 1a3117e7403c83de7e60203ce2d54991cab994245e3b1b0880adefe3fcdf866f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:07:26.154Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-06T11:07:26.538Z] + make test [2023-02-06T11:07:26.538Z] go test ./... -coverprofile=coverage.out [2023-02-06T11:07:28.486Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-06T11:08:50.114Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-06T11:08:50.114Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements [2023-02-06T11:08:50.114Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T11:08:50.114Z] go vet ./... [2023-02-06T11:09:12.194Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T11:09:12.194Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T11:09:12.194Z] ./bin/test-attribution-txt.sh [2023-02-06T11:09:12.194Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T11:09:12.194Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T11:09:12.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T11:09:12.279Z] $ docker stop --time=1 1a3117e7403c83de7e60203ce2d54991cab994245e3b1b0880adefe3fcdf866f [2023-02-06T11:09:14.052Z] $ docker rm -f --volumes 1a3117e7403c83de7e60203ce2d54991cab994245e3b1b0880adefe3fcdf866f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T11:09:15.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T11:09:15.102Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T11:09:15.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:09:16.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T11:09:16.568Z] + ls -al . [2023-02-06T11:09:16.568Z] total 188 [2023-02-06T11:09:16.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:07 . [2023-02-06T11:09:16.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:05 .. [2023-02-06T11:09:16.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:05 .git [2023-02-06T11:09:16.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:05 .github [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:05 .gitignore [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:05 .golangci.yml [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:05 Attribution.txt [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:05 CHANGELOG.md [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:05 Dockerfile [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:05 GOVERNANCE.md [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:05 Jenkinsfile [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:05 LICENSE [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:05 Makefile [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:05 OWNERS.md [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:05 README.md [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 11:03 VERSION [2023-02-06T11:09:16.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:05 bin [2023-02-06T11:09:16.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:05 cmd [2023-02-06T11:09:16.568Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:08 coverage.out [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 6 11:05 go.mod [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 6 11:05 go.sum [2023-02-06T11:09:16.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:05 internal [2023-02-06T11:09:16.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:05 snap [2023-02-06T11:09:16.568Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:09:17.001Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 --label arch=arm64 --label version=0.0.0 . [2023-02-06T11:09:17.590Z] Sending build context to Docker daemon 11.87MB [2023-02-06T11:09:17.590Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:09:17.590Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-06T11:09:17.590Z] ---> c678fd37230a [2023-02-06T11:09:17.590Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:09:17.859Z] ---> Running in 39e53fa89374 [2023-02-06T11:09:18.128Z] Removing intermediate container 39e53fa89374 [2023-02-06T11:09:18.128Z] ---> d6beb02b9529 [2023-02-06T11:09:18.128Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:09:18.128Z] ---> Running in 9bacc1b12f92 [2023-02-06T11:09:18.401Z] Removing intermediate container 9bacc1b12f92 [2023-02-06T11:09:18.401Z] ---> 9aecba90be71 [2023-02-06T11:09:18.401Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:09:18.670Z] ---> Running in 416b80627395 [2023-02-06T11:09:18.938Z] Removing intermediate container 416b80627395 [2023-02-06T11:09:18.938Z] ---> a16e5a665beb [2023-02-06T11:09:18.938Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-06T11:09:18.938Z] ---> Running in 6b8589bf53f4 [2023-02-06T11:09:19.218Z] Removing intermediate container 6b8589bf53f4 [2023-02-06T11:09:19.218Z] ---> 881846166b24 [2023-02-06T11:09:19.218Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:09:19.489Z] ---> Running in 5ac575df5c99 [2023-02-06T11:09:21.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:09:21.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:09:22.409Z] OK: 226 MiB in 55 packages [2023-02-06T11:09:23.366Z] Removing intermediate container 5ac575df5c99 [2023-02-06T11:09:23.366Z] ---> e9e07e4e8d52 [2023-02-06T11:09:23.366Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-06T11:09:23.951Z] ---> 97e63b25bccf [2023-02-06T11:09:23.951Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:09:23.951Z] ---> Running in 40146a453f43 [2023-02-06T11:09:27.287Z] Removing intermediate container 40146a453f43 [2023-02-06T11:09:27.287Z] ---> 57dcfb1ea3d8 [2023-02-06T11:09:27.287Z] Step 10/25 : COPY . . [2023-02-06T11:09:27.871Z] ---> 96e76d48a143 [2023-02-06T11:09:27.871Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:09:27.871Z] ---> Running in c53108242ee8 [2023-02-06T11:09:28.452Z] Removing intermediate container c53108242ee8 [2023-02-06T11:09:28.452Z] ---> e688dc4e86b0 [2023-02-06T11:09:28.452Z] Step 12/25 : RUN $MAKE [2023-02-06T11:09:28.452Z] ---> Running in f0b24686fe0a [2023-02-06T11:09:29.414Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-06T11:11:51.137Z] Removing intermediate container f0b24686fe0a [2023-02-06T11:11:51.137Z] ---> 17fc7db255b3 [2023-02-06T11:11:51.137Z] Step 13/25 : FROM alpine:3.16 [2023-02-06T11:11:51.137Z] 3.16: Pulling from library/alpine [2023-02-06T11:11:51.137Z] 6875df1f5354: Pulling fs layer [2023-02-06T11:11:51.137Z] 6875df1f5354: Verifying Checksum [2023-02-06T11:11:51.137Z] 6875df1f5354: Download complete [2023-02-06T11:11:51.137Z] 6875df1f5354: Pull complete [2023-02-06T11:11:51.137Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T11:11:51.137Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T11:11:51.137Z] ---> 2b4661558fb8 [2023-02-06T11:11:51.137Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-06T11:11:51.137Z] ---> Running in bfec02de7bae [2023-02-06T11:11:51.137Z] Removing intermediate container bfec02de7bae [2023-02-06T11:11:51.137Z] ---> 3977d36428f3 [2023-02-06T11:11:51.137Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-06T11:11:51.137Z] ---> Running in 821ba216e2a5 [2023-02-06T11:11:51.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:11:51.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:11:51.137Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T11:11:51.137Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:11:51.137Z] OK: 5 MiB in 15 packages [2023-02-06T11:11:51.403Z] Removing intermediate container 821ba216e2a5 [2023-02-06T11:11:51.403Z] ---> cdea3c0b5149 [2023-02-06T11:11:51.403Z] Step 16/25 : WORKDIR / [2023-02-06T11:11:51.673Z] ---> Running in 1a6601c2647e [2023-02-06T11:11:51.944Z] Removing intermediate container 1a6601c2647e [2023-02-06T11:11:51.944Z] ---> 87371c0be5da [2023-02-06T11:11:51.944Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-06T11:11:52.530Z] ---> c0d952c8670d [2023-02-06T11:11:52.530Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-06T11:11:53.117Z] ---> df3001c662f0 [2023-02-06T11:11:53.117Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-06T11:11:54.539Z] ---> 81ad345f90d4 [2023-02-06T11:11:54.539Z] Step 20/25 : EXPOSE 59900 [2023-02-06T11:11:54.539Z] ---> Running in 0e3edd184dc9 [2023-02-06T11:11:54.807Z] Removing intermediate container 0e3edd184dc9 [2023-02-06T11:11:54.807Z] ---> 0df083164271 [2023-02-06T11:11:54.807Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-06T11:11:54.807Z] ---> Running in 6560968d7814 [2023-02-06T11:11:55.076Z] Removing intermediate container 6560968d7814 [2023-02-06T11:11:55.076Z] ---> dad00173d730 [2023-02-06T11:11:55.076Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T11:11:55.352Z] ---> Running in e8f88fbc825a [2023-02-06T11:11:55.619Z] Removing intermediate container e8f88fbc825a [2023-02-06T11:11:55.619Z] ---> 713ffbef33ba [2023-02-06T11:11:55.619Z] Step 23/25 : LABEL arch=arm64 [2023-02-06T11:11:55.619Z] ---> Running in a4d855b88a9e [2023-02-06T11:11:55.886Z] Removing intermediate container a4d855b88a9e [2023-02-06T11:11:55.886Z] ---> c465beb70b64 [2023-02-06T11:11:55.886Z] Step 24/25 : LABEL git_sha=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [2023-02-06T11:11:55.886Z] ---> Running in d54341657c28 [2023-02-06T11:11:56.152Z] Removing intermediate container d54341657c28 [2023-02-06T11:11:56.152Z] ---> 1e7ac8c63f1d [2023-02-06T11:11:56.152Z] Step 25/25 : LABEL version=0.0.0 [2023-02-06T11:11:56.418Z] ---> Running in 3c5eba7435b3 [2023-02-06T11:11:56.684Z] Removing intermediate container 3c5eba7435b3 [2023-02-06T11:11:56.684Z] ---> 8f1d21cc098b [2023-02-06T11:11:56.684Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T11:11:56.684Z] Successfully built 8f1d21cc098b [2023-02-06T11:11:56.684Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:11:57.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:11:57.494Z] [2023-02-06T11:11:57.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:11:57.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:11:57.913Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T11:11:57.913Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T11:11:57.913Z] 04944245beec: Pulling fs layer [2023-02-06T11:11:57.913Z] 699f458cf7ca: Pulling fs layer [2023-02-06T11:11:57.913Z] 765212b225bb: Pulling fs layer [2023-02-06T11:11:57.913Z] f23df028b6ca: Pulling fs layer [2023-02-06T11:11:57.913Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T11:11:57.913Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T11:11:57.913Z] 765212b225bb: Waiting [2023-02-06T11:11:57.913Z] f23df028b6ca: Waiting [2023-02-06T11:11:57.913Z] d65c8cfc05b1: Waiting [2023-02-06T11:11:57.913Z] 2437ff75d9bd: Waiting [2023-02-06T11:11:58.181Z] 04944245beec: Verifying Checksum [2023-02-06T11:11:58.181Z] 04944245beec: Download complete [2023-02-06T11:11:58.181Z] 765212b225bb: Download complete [2023-02-06T11:11:58.181Z] f23df028b6ca: Download complete [2023-02-06T11:11:58.181Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T11:11:58.181Z] d65c8cfc05b1: Download complete [2023-02-06T11:11:58.449Z] 699f458cf7ca: Verifying Checksum [2023-02-06T11:11:58.449Z] 699f458cf7ca: Download complete [2023-02-06T11:11:58.717Z] 8998bd30e6a1: Download complete [2023-02-06T11:12:01.295Z] 2437ff75d9bd: Download complete [2023-02-06T11:12:02.253Z] 8998bd30e6a1: Pull complete [2023-02-06T11:12:02.833Z] 04944245beec: Pull complete [2023-02-06T11:12:03.791Z] 699f458cf7ca: Pull complete [2023-02-06T11:12:04.058Z] 765212b225bb: Pull complete [2023-02-06T11:12:05.015Z] f23df028b6ca: Pull complete [2023-02-06T11:12:05.015Z] d65c8cfc05b1: Pull complete [2023-02-06T11:12:20.031Z] 2437ff75d9bd: Pull complete [2023-02-06T11:12:20.031Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T11:12:20.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:12:20.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:12:20.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-4659 does not seem to be running inside a container [2023-02-06T11:12:20.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-06T11:12:23.197Z] $ docker top 2919e33fed684d08f8e11bfcf541e66c3551b73afc076f3403d8116e0d048718 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:23.770Z] ---> job-cost.sh [2023-02-06T11:12:24.038Z] lf-activate-venv: SKIPPING [2023-02-06T11:12:24.038Z] INFO: No Stack... [2023-02-06T11:12:24.305Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T11:12:25.272Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T11:12:25.622Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-02-06T11:12:25.622Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T11:12:25.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [2023-02-06T11:12:25.726Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] did not exist. Created. [2023-02-06T11:12:25.726Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T11:12:26.118Z] /w/workspace/device-virtual-go/1@tmp/durable-6b418a17/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T11:12:26.478Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T11:12:26.512Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T11:12:26.558Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T11:12:26.571Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T11:12:26.676Z] $ docker stop --time=1 2919e33fed684d08f8e11bfcf541e66c3551b73afc076f3403d8116e0d048718 [2023-02-06T11:12:28.209Z] $ docker rm -f --volumes 2919e33fed684d08f8e11bfcf541e66c3551b73afc076f3403d8116e0d048718 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-06T11:12:29.118Z] provisioning config files... [2023-02-06T11:12:29.125Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-335@tmp/config18271159406636919609tmp [Pipeline] { [Pipeline] sh [2023-02-06T11:12:29.464Z] + set +x [2023-02-06T11:12:29.464Z] + curl -s https://codecov.io/bash [2023-02-06T11:12:29.464Z] + bash -s -- [2023-02-06T11:12:29.464Z] [2023-02-06T11:12:29.464Z] _____ _ [2023-02-06T11:12:29.464Z] / ____| | | [2023-02-06T11:12:29.464Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T11:12:29.464Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T11:12:29.464Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T11:12:29.464Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T11:12:29.464Z] Bash-1.0.6 [2023-02-06T11:12:29.464Z] [2023-02-06T11:12:29.464Z] [2023-02-06T11:12:29.464Z] ==> git version 2.25.1 found [2023-02-06T11:12:29.464Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-06T11:12:29.464Z] Release-Date: 2020-01-08 [2023-02-06T11:12:29.464Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-06T11:12:29.464Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T11:12:29.464Z] ==> Jenkins CI detected. [2023-02-06T11:12:29.464Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-335 [2023-02-06T11:12:29.464Z] project root: . [2023-02-06T11:12:29.464Z] --> token set from env [2023-02-06T11:12:29.464Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T11:12:29.464Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T11:12:29.464Z] ==> Python coveragepy not found [2023-02-06T11:12:29.464Z] ==> Searching for coverage reports in: [2023-02-06T11:12:29.464Z] + . [2023-02-06T11:12:29.464Z] -> Found 1 reports [2023-02-06T11:12:29.464Z] ==> Detecting git/mercurial file structure [2023-02-06T11:12:29.464Z] ==> Reading reports [2023-02-06T11:12:29.464Z] + ./coverage.out bytes=44128 [2023-02-06T11:12:29.464Z] ==> Appending adjustments [2023-02-06T11:12:29.464Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T11:12:29.723Z] + Found adjustments [2023-02-06T11:12:29.723Z] ==> Gzipping contents [2023-02-06T11:12:29.723Z] 8.0K /tmp/codecov.2itSY8.gz [2023-02-06T11:12:29.723Z] ==> Uploading reports [2023-02-06T11:12:29.723Z] url: https://codecov.io [2023-02-06T11:12:29.723Z] query: branch=PR-335&commit=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=335&job=&cmd_args= [2023-02-06T11:12:29.723Z] -> Pinging Codecov [2023-02-06T11:12:29.723Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-335&commit=2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=335&job=&cmd_args= [2023-02-06T11:12:29.981Z] -> Uploading to [2023-02-06T11:12:29.981Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/5E52B4B073DB2E39498172D8E973AA87/2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2/97ae7006-f1c9-4287-8389-2d617f5d61a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T111229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=301f4c323b34de9341ac6110513a51c0ac93ef39aa29adb96752a1ddcb7b3351 [2023-02-06T11:12:29.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T11:12:29.981Z] Dload Upload Total Spent Left Speed [2023-02-06T11:12:30.240Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5471 0 0 100 5471 0 23890 --:--:-- --:--:-- --:--:-- 23890 [2023-02-06T11:12:30.240Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2c3ef28d86c0e147ed9152a4fe9cf1ea6c82dbe2 [Pipeline] } [2023-02-06T11:12:30.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-06T11:12:31.969Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-335/archives ] [2023-02-06T11:12:31.969Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-335/archives [2023-02-06T11:12:31.969Z] total 16 [2023-02-06T11:12:31.969Z] drwxr-xr-x 3 root root 4096 Feb 6 11:06 . [2023-02-06T11:12:31.969Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 11:06 .. [2023-02-06T11:12:31.969Z] drwxr-xr-x 2 root root 4096 Feb 6 11:06 cost [2023-02-06T11:12:31.969Z] -rw-r--r-- 1 root root 89 Feb 6 11:06 cost.csv [2023-02-06T11:12:31.969Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-335/archives [2023-02-06T11:12:31.969Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-335/archives [2023-02-06T11:12:31.969Z] total 16 [2023-02-06T11:12:31.969Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:06 . [2023-02-06T11:12:31.969Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 11:06 .. [2023-02-06T11:12:31.969Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 11:06 cost [2023-02-06T11:12:31.969Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 6 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:32.292Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:33.177Z] ---> package-listing.sh [2023-02-06T11:12:33.177Z] ++ facter osfamily [2023-02-06T11:12:33.177Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T11:12:33.436Z] + OS_FAMILY=debian [2023-02-06T11:12:33.436Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-335 [2023-02-06T11:12:33.436Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T11:12:33.436Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T11:12:33.436Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T11:12:33.436Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T11:12:33.436Z] + '[' /w/workspace/foundry_device-virtual-go_PR-335 ']' [2023-02-06T11:12:33.436Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T11:12:33.436Z] + case "${OS_FAMILY}" in [2023-02-06T11:12:33.436Z] + dpkg -l [2023-02-06T11:12:33.436Z] + grep '^ii' [2023-02-06T11:12:33.436Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T11:12:33.436Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T11:12:33.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T11:12:33.436Z] + '[' /w/workspace/foundry_device-virtual-go_PR-335 ']' [2023-02-06T11:12:33.436Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-335/archives/ [2023-02-06T11:12:33.436Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-335/archives/ [Pipeline] echo [2023-02-06T11:12:33.468Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T11:12:33.757Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:12:34.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:12:34.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:12:34.577Z] prd-ubuntu20.04-docker-8c-8g-4656 does not seem to be running inside a container [2023-02-06T11:12:34.620Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-335 -v /w/workspace/foundry_device-virtual-go_PR-335:/w/workspace/foundry_device-virtual-go_PR-335:rw,z -v /w/workspace/foundry_device-virtual-go_PR-335@tmp:/w/workspace/foundry_device-virtual-go_PR-335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T11:12:34.847Z] $ docker top 7d56897777680ab688bc63cfde6b996938de71850ca96dc64f415d00c3e8fa27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:12:35.272Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T11:12:35.577Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T11:12:35.890Z] + ls /var/log/sa-host [2023-02-06T11:12:35.890Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:12:36.020Z] provisioning config files... [2023-02-06T11:12:36.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-335@tmp/config6226975036675467180tmp [Pipeline] { [Pipeline] echo [2023-02-06T11:12:36.078Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:36.396Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T11:12:36.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:36.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T11:12:36.846Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:37.153Z] ---> sudo-logs.sh [2023-02-06T11:12:37.153Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T11:12:37.244Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:37.560Z] ---> job-cost.sh [2023-02-06T11:12:37.560Z] lf-activate-venv: SKIPPING [2023-02-06T11:12:37.560Z] DEBUG: total: 0.2199999988079071 [2023-02-06T11:12:37.560Z] INFO: Retrieving Stack Cost... [2023-02-06T11:12:38.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T11:12:38.388Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T11:12:38.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:12:38.740Z] ---> logs-deploy.sh [2023-02-06T11:12:38.740Z] lf-activate-venv: SKIPPING [2023-02-06T11:12:38.740Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-335/1 [2023-02-06T11:12:38.740Z] INFO: archiving workspace using pattern(s): [2023-02-06T11:12:39.677Z] Archives upload complete. [2023-02-06T11:12:39.677Z] INFO: archiving logs to Nexus