Pull request #375 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b+5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 (fe81d1aafe1c5f7538c773604c1251deaaadc4d1) 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-ssh10472707669580323598.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9700851286546025466.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-375/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-375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14064361270220253924.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-375/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7978767306940728749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16733549665267067361.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-375/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-375/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2616354835126764115.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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-6992 in /w/workspace/foundry_device-virtual-go_PR-375 [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-375 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 into PR head commit 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b Merge succeeded, producing 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b Checking out Revision 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b (PR-375) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b # 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 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b # timeout=10 [Pipeline] timeout [2023-04-06T11:58:34.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T11:58:34.440Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T11:58:34.553Z] ========================================================= [2023-04-06T11:58:34.553Z] EdgeX Global Pipelines Version Info [2023-04-06T11:58:34.553Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T11:58:35.352Z] ------------------- [2023-04-06T11:58:35.352Z] stable info: [2023-04-06T11:58:35.352Z] ------------------- [2023-04-06T11:58:35.352Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T11:58:35.352Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T11:58:35.352Z] Message: update stable to v1.0.245 [2023-04-06T11:58:35.925Z] ------------------- [2023-04-06T11:58:35.925Z] experimental info: [2023-04-06T11:58:35.925Z] ------------------- [2023-04-06T11:58:35.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T11:58:35.925Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T11:58:35.925Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T11:58:36.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-06T11:58:36.334Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-06T11:58:36.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T11:58:36.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T11:58:36.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T11:58:36.502Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-06T11:58:36.540Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-06T11:58:36.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-06T11:58:36.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-06T11:58:36.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T11:58:36.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T11:58:36.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-06T11:58:36.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T11:58:36.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T11:58:36.868Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T11:58:36.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T11:58:36.952Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T11:58:36.996Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T11:58:37.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T11:58:37.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T11:58:37.118Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-06T11:58:37.159Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-06T11:58:37.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-06T11:58:37.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-06T11:58:37.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-06T11:58:37.320Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T11:58:37.358Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-06T11:58:37.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-375 [Pipeline] echo [2023-04-06T11:58:37.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-375 [Pipeline] echo [2023-04-06T11:58:37.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-375 [Pipeline] echo [2023-04-06T11:58:37.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [Pipeline] echo [2023-04-06T11:58:37.571Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53553fb [Pipeline] echo [2023-04-06T11:58:37.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T11:58:37.743Z] provisioning config files... [2023-04-06T11:58:37.761Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-375@tmp/config5153198344811185698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T11:58:38.104Z] ---> docker-login.sh [2023-04-06T11:58:38.104Z] nexus3.edgexfoundry.org:10001 [2023-04-06T11:58:38.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:38.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:38.365Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:38.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:38.365Z] [2023-04-06T11:58:38.365Z] Login Succeeded [2023-04-06T11:58:38.365Z] nexus3.edgexfoundry.org:10002 [2023-04-06T11:58:38.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:38.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:38.625Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:38.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:38.625Z] [2023-04-06T11:58:38.625Z] Login Succeeded [2023-04-06T11:58:38.625Z] nexus3.edgexfoundry.org:10003 [2023-04-06T11:58:38.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:38.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:38.625Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:38.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:38.625Z] [2023-04-06T11:58:38.625Z] Login Succeeded [2023-04-06T11:58:38.625Z] nexus3.edgexfoundry.org:10004 [2023-04-06T11:58:38.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:38.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:38.889Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:38.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:38.889Z] [2023-04-06T11:58:38.889Z] Login Succeeded [2023-04-06T11:58:38.889Z] docker.io [2023-04-06T11:58:38.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:39.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:39.150Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:39.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:39.150Z] [2023-04-06T11:58:39.150Z] Login Succeeded [2023-04-06T11:58:39.150Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T11:58:39.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-06T11:58:39.813Z] + git rev-list -1 --merges 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b~1..53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [Pipeline] echo [2023-04-06T11:58:39.872Z] -----------> git rev-list -1 --merges 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b~1..53553fbfdb85d8aac7c429367c899f6fcbb3ab3b 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [false] [Pipeline] sh [2023-04-06T11:58:40.178Z] + git log --format=format:%s -1 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [Pipeline] echo [2023-04-06T11:58:40.211Z] ========================================================= [2023-04-06T11:58:40.211Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T11:58:40.211Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T11:58:40.640Z] + git log --format=format:%s -1 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [Pipeline] echo [2023-04-06T11:58:40.666Z] [semverPrep] GIT_COMMIT: 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-06T11:58:40.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-06T11:58:41.072Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T11:58:41.072Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T11:58:41.072Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T11:58:41.072Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T11:58:41.072Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T11:58:41.072Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T11:58:41.072Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T11:58:41.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T11:58:41.571Z] [2023-04-06T11:58:41.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T11:58:41.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T11:58:41.939Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T11:58:41.939Z] b85a868b505f: Pulling fs layer [2023-04-06T11:58:41.939Z] e2be974225ed: Pulling fs layer [2023-04-06T11:58:41.939Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T11:58:41.939Z] 988bab9f4d93: Pulling fs layer [2023-04-06T11:58:41.939Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T11:58:41.939Z] eaf3925da568: Pulling fs layer [2023-04-06T11:58:41.939Z] bab4dde63d76: Pulling fs layer [2023-04-06T11:58:41.939Z] bde34c3a00c8: Pulling fs layer [2023-04-06T11:58:41.939Z] b352a97aabf1: Pulling fs layer [2023-04-06T11:58:41.939Z] 4872d77fe225: Pulling fs layer [2023-04-06T11:58:41.939Z] 5851b861e8e6: Pulling fs layer [2023-04-06T11:58:41.939Z] 988bab9f4d93: Waiting [2023-04-06T11:58:41.939Z] 1469e6f7b9e6: Waiting [2023-04-06T11:58:41.939Z] eaf3925da568: Waiting [2023-04-06T11:58:41.939Z] b352a97aabf1: Waiting [2023-04-06T11:58:41.939Z] 4872d77fe225: Waiting [2023-04-06T11:58:41.939Z] bab4dde63d76: Waiting [2023-04-06T11:58:41.939Z] bde34c3a00c8: Waiting [2023-04-06T11:58:41.939Z] 5851b861e8e6: Waiting [2023-04-06T11:58:41.939Z] 988bab9f4d93: Verifying Checksum [2023-04-06T11:58:41.939Z] 988bab9f4d93: Download complete [2023-04-06T11:58:41.939Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T11:58:41.939Z] 1469e6f7b9e6: Download complete [2023-04-06T11:58:41.939Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T11:58:41.939Z] 339a4e72a1f5: Download complete [2023-04-06T11:58:42.198Z] eaf3925da568: Verifying Checksum [2023-04-06T11:58:42.198Z] eaf3925da568: Download complete [2023-04-06T11:58:42.198Z] bde34c3a00c8: Download complete [2023-04-06T11:58:42.198Z] b352a97aabf1: Verifying Checksum [2023-04-06T11:58:42.198Z] b352a97aabf1: Download complete [2023-04-06T11:58:42.198Z] 4872d77fe225: Verifying Checksum [2023-04-06T11:58:42.198Z] 4872d77fe225: Download complete [2023-04-06T11:58:42.198Z] 5851b861e8e6: Verifying Checksum [2023-04-06T11:58:42.198Z] 5851b861e8e6: Download complete [2023-04-06T11:58:42.198Z] b85a868b505f: Verifying Checksum [2023-04-06T11:58:42.198Z] b85a868b505f: Download complete [2023-04-06T11:58:42.456Z] bab4dde63d76: Verifying Checksum [2023-04-06T11:58:42.456Z] bab4dde63d76: Download complete [2023-04-06T11:58:43.390Z] b85a868b505f: Pull complete [2023-04-06T11:58:43.648Z] e2be974225ed: Pull complete [2023-04-06T11:58:44.216Z] 339a4e72a1f5: Pull complete [2023-04-06T11:58:44.216Z] 988bab9f4d93: Pull complete [2023-04-06T11:58:44.793Z] 1469e6f7b9e6: Pull complete [2023-04-06T11:58:44.793Z] eaf3925da568: Pull complete [2023-04-06T11:58:46.694Z] bab4dde63d76: Pull complete [2023-04-06T11:58:46.694Z] bde34c3a00c8: Pull complete [2023-04-06T11:58:46.694Z] b352a97aabf1: Pull complete [2023-04-06T11:58:46.694Z] 4872d77fe225: Pull complete [2023-04-06T11:58:46.694Z] 5851b861e8e6: Pull complete [2023-04-06T11:58:46.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T11:58:46.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T11:58:46.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T11:58:47.189Z] prd-ubuntu20.04-docker-8c-8g-6992 does not seem to be running inside a container [2023-04-06T11:58:47.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-375 -v /w/workspace/foundry_device-virtual-go_PR-375:/w/workspace/foundry_device-virtual-go_PR-375:rw,z -v /w/workspace/foundry_device-virtual-go_PR-375@tmp:/w/workspace/foundry_device-virtual-go_PR-375@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-04-06T11:58:49.519Z] $ docker top d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 -eo pid,comm [2023-04-06T11:58:49.573Z] 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-04-06T11:58:49.573Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T11:58:49.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T11:58:49.691Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T11:58:49.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T11:58:49.818Z] $ docker exec d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 ssh-agent [2023-04-06T11:58:49.922Z] SSH_AUTH_SOCK=/tmp/ssh-tVhnvWGznjIB/agent.33 [2023-04-06T11:58:49.922Z] SSH_AGENT_PID=39 [2023-04-06T11:58:49.930Z] Running ssh-add (command line suppressed) [2023-04-06T11:58:50.035Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-375@tmp/private_key_1586533615062587624.key (/w/workspace/foundry_device-virtual-go_PR-375@tmp/private_key_1586533615062587624.key) [2023-04-06T11:58:50.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T11:58:50.375Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T11:58:50.406Z] $ docker exec --env ******** --env ******** d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 ssh-agent -k [2023-04-06T11:58:50.510Z] unset SSH_AUTH_SOCK; [2023-04-06T11:58:50.511Z] unset SSH_AGENT_PID; [2023-04-06T11:58:50.511Z] echo Agent pid 39 killed; [2023-04-06T11:58:50.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T11:58:50.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T11:58:50.597Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T11:58:50.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T11:58:50.707Z] $ docker exec d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 ssh-agent [2023-04-06T11:58:50.802Z] SSH_AUTH_SOCK=/tmp/ssh-Ruojwxfs4rEL/agent.72 [2023-04-06T11:58:50.802Z] SSH_AGENT_PID=78 [2023-04-06T11:58:50.806Z] Running ssh-add (command line suppressed) [2023-04-06T11:58:50.911Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-375@tmp/private_key_1363611562560589809.key (/w/workspace/foundry_device-virtual-go_PR-375@tmp/private_key_1363611562560589809.key) [2023-04-06T11:58:50.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T11:58:51.245Z] + git semver init [2023-04-06T11:58:51.505Z] 2023-04-06 11:58:51,419 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T11:58:51.505Z] 2023-04-06 11:58:51,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-375/.semver [2023-04-06T11:58:51.505Z] 2023-04-06 11:58:51,421 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-375/.semver [2023-04-06T11:58:51.505Z] 2023-04-06 11:58:51,421 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-375/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-375, universal_newlines=False, shell=None, istream=None) [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,472 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-375/.git/info/exclude [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-375/.semver/PR-375 with force:False [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,473 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-375/.semver/PR-375 [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,478 [execute] INFO git cat-file --batch-check [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,484 [execute] INFO git cat-file --batch [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T11:58:52.887Z] 2023-04-06 11:58:52,488 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-375/.semver/PR-375 [2023-04-06T11:58:52.887Z] 0.0.0 [Pipeline] } [2023-04-06T11:58:52.919Z] $ docker exec --env ******** --env ******** d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 ssh-agent -k [2023-04-06T11:58:53.026Z] unset SSH_AUTH_SOCK; [2023-04-06T11:58:53.026Z] unset SSH_AGENT_PID; [2023-04-06T11:58:53.026Z] echo Agent pid 78 killed; [2023-04-06T11:58:53.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T11:58:53.452Z] + git semver [Pipeline] } [2023-04-06T11:58:53.735Z] $ docker stop --time=1 d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 [2023-04-06T11:58:55.036Z] $ docker rm -f --volumes d24a7c03dc6c932c537edd8e87b59b9427ba5337ac2e6d6540013acc03aa2819 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T11:58:55.423Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T11:58:55.665Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T11:58:55.680Z] [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-04-06T11:58:56.233Z] provisioning config files... [2023-04-06T11:58:56.242Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-375@tmp/config2904121085269086592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T11:58:56.583Z] ---> docker-login.sh [2023-04-06T11:58:56.583Z] nexus3.edgexfoundry.org:10001 [2023-04-06T11:58:56.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:56.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:56.583Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:56.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:56.583Z] [2023-04-06T11:58:56.583Z] Login Succeeded [2023-04-06T11:58:56.583Z] nexus3.edgexfoundry.org:10002 [2023-04-06T11:58:56.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:56.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:56.583Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:56.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:56.583Z] [2023-04-06T11:58:56.583Z] Login Succeeded [2023-04-06T11:58:56.583Z] nexus3.edgexfoundry.org:10003 [2023-04-06T11:58:56.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:56.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:56.842Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:56.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:56.842Z] [2023-04-06T11:58:56.842Z] Login Succeeded [2023-04-06T11:58:56.842Z] nexus3.edgexfoundry.org:10004 [2023-04-06T11:58:56.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:56.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:56.842Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:56.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:56.842Z] [2023-04-06T11:58:56.842Z] Login Succeeded [2023-04-06T11:58:56.842Z] docker.io [2023-04-06T11:58:56.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T11:58:57.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T11:58:57.102Z] Configure a credential helper to remove this warning. See [2023-04-06T11:58:57.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T11:58:57.102Z] [2023-04-06T11:58:57.102Z] Login Succeeded [2023-04-06T11:58:57.102Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T11:58:57.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T11:58:57.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T11:58:57.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T11:58:57.395Z] ========================================================= [2023-04-06T11:58:57.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-06T11:58:57.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T11:58:57.867Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T11:58:57.867Z] Sending build context to Docker daemon 23.52MB [2023-04-06T11:58:57.867Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T11:58:57.867Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-06T11:58:58.126Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-06T11:58:58.126Z] 63b65145d645: Pulling fs layer [2023-04-06T11:58:58.127Z] a2d21d5440eb: Pulling fs layer [2023-04-06T11:58:58.127Z] 935e6c44a52c: Pulling fs layer [2023-04-06T11:58:58.127Z] 94cc34f8dd06: Pulling fs layer [2023-04-06T11:58:58.127Z] 30dea6a524f1: Pulling fs layer [2023-04-06T11:58:58.127Z] a2aff8979fd8: Pulling fs layer [2023-04-06T11:58:58.127Z] 6808be2612f2: Pulling fs layer [2023-04-06T11:58:58.127Z] f25807f1079a: Pulling fs layer [2023-04-06T11:58:58.127Z] 94cc34f8dd06: Waiting [2023-04-06T11:58:58.127Z] 30dea6a524f1: Waiting [2023-04-06T11:58:58.127Z] 6808be2612f2: Waiting [2023-04-06T11:58:58.127Z] a2aff8979fd8: Waiting [2023-04-06T11:58:58.127Z] f25807f1079a: Waiting [2023-04-06T11:58:58.127Z] a2d21d5440eb: Verifying Checksum [2023-04-06T11:58:58.127Z] a2d21d5440eb: Download complete [2023-04-06T11:58:58.127Z] 94cc34f8dd06: Verifying Checksum [2023-04-06T11:58:58.127Z] 94cc34f8dd06: Download complete [2023-04-06T11:58:58.127Z] 30dea6a524f1: Verifying Checksum [2023-04-06T11:58:58.127Z] 30dea6a524f1: Download complete [2023-04-06T11:58:58.127Z] 63b65145d645: Verifying Checksum [2023-04-06T11:58:58.127Z] 63b65145d645: Download complete [2023-04-06T11:58:58.127Z] a2aff8979fd8: Verifying Checksum [2023-04-06T11:58:58.127Z] a2aff8979fd8: Download complete [2023-04-06T11:58:58.386Z] 63b65145d645: Pull complete [2023-04-06T11:58:58.386Z] a2d21d5440eb: Pull complete [2023-04-06T11:58:58.645Z] f25807f1079a: Verifying Checksum [2023-04-06T11:58:58.645Z] f25807f1079a: Download complete [2023-04-06T11:58:58.645Z] 935e6c44a52c: Verifying Checksum [2023-04-06T11:58:58.645Z] 935e6c44a52c: Download complete [2023-04-06T11:58:58.903Z] 6808be2612f2: Verifying Checksum [2023-04-06T11:58:58.903Z] 6808be2612f2: Download complete [2023-04-06T11:59:02.189Z] 935e6c44a52c: Pull complete [2023-04-06T11:59:02.189Z] 94cc34f8dd06: Pull complete [2023-04-06T11:59:02.189Z] 30dea6a524f1: Pull complete [2023-04-06T11:59:02.189Z] a2aff8979fd8: Pull complete [2023-04-06T11:59:04.087Z] 6808be2612f2: Pull complete [2023-04-06T11:59:04.653Z] f25807f1079a: Pull complete [2023-04-06T11:59:04.653Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-06T11:59:04.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-06T11:59:04.653Z] ---> 3b553350e43f [2023-04-06T11:59:04.653Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T11:59:08.843Z] ---> Running in e33b5fcaa96e [2023-04-06T11:59:08.843Z] Removing intermediate container e33b5fcaa96e [2023-04-06T11:59:08.843Z] ---> d6464580f371 [2023-04-06T11:59:08.843Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T11:59:08.843Z] ---> Running in 1a195c9f58b5 [2023-04-06T11:59:08.843Z] Removing intermediate container 1a195c9f58b5 [2023-04-06T11:59:08.843Z] ---> e6fac21f0be8 [2023-04-06T11:59:08.843Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-06T11:59:08.843Z] ---> Running in 6f4868e5967c [2023-04-06T11:59:08.843Z] Removing intermediate container 6f4868e5967c [2023-04-06T11:59:08.843Z] ---> 8f3801557d22 [2023-04-06T11:59:08.843Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-06T11:59:08.843Z] ---> Running in 71c4886672c0 [2023-04-06T11:59:08.843Z] Removing intermediate container 71c4886672c0 [2023-04-06T11:59:08.843Z] ---> 81fceabd2e67 [2023-04-06T11:59:08.843Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T11:59:08.843Z] ---> Running in b932d6b01f11 [2023-04-06T11:59:08.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T11:59:09.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T11:59:09.367Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-06T11:59:09.367Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-06T11:59:09.367Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-06T11:59:09.367Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-06T11:59:09.367Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T11:59:09.367Z] OK: 269 MiB in 57 packages [2023-04-06T11:59:09.939Z] Removing intermediate container b932d6b01f11 [2023-04-06T11:59:09.939Z] ---> 366f9caa0964 [2023-04-06T11:59:09.939Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-06T11:59:10.198Z] ---> 4701d7c6b02d [2023-04-06T11:59:10.198Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T11:59:10.198Z] ---> Running in 2bd5fc0430be [2023-04-06T11:59:11.071Z] Still waiting to schedule task [2023-04-06T11:59:11.072Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T11:59:48.935Z] Removing intermediate container 2bd5fc0430be [2023-04-06T11:59:48.935Z] ---> 9f34bac88bf8 [2023-04-06T11:59:48.935Z] Step 10/12 : COPY . . [2023-04-06T11:59:48.935Z] ---> 07724ae74d45 [2023-04-06T11:59:48.935Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T11:59:48.935Z] ---> Running in d3d8c1f3271f [2023-04-06T11:59:48.935Z] Removing intermediate container d3d8c1f3271f [2023-04-06T11:59:48.935Z] ---> 67a85a4fab22 [2023-04-06T11:59:48.935Z] Step 12/12 : RUN $MAKE [2023-04-06T11:59:48.935Z] ---> Running in db9d1e835c1c [2023-04-06T11:59:48.935Z] noop [2023-04-06T11:59:48.935Z] Removing intermediate container db9d1e835c1c [2023-04-06T11:59:48.935Z] ---> 3c40a93fec2f [2023-04-06T11:59:48.935Z] Successfully built 3c40a93fec2f [2023-04-06T11:59:48.935Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T11:59:49.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T11:59:49.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T11:59:49.526Z] prd-ubuntu20.04-docker-8c-8g-6992 does not seem to be running inside a container [2023-04-06T11:59:49.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-375 -v /w/workspace/foundry_device-virtual-go_PR-375:/w/workspace/foundry_device-virtual-go_PR-375:rw,z -v /w/workspace/foundry_device-virtual-go_PR-375@tmp:/w/workspace/foundry_device-virtual-go_PR-375@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-04-06T11:59:49.884Z] $ docker top 98323dd1ccc6e7ad614a1f3fb7ff50529dede69b89ee24eb4403fb788468a2bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T11:59:50.268Z] + go version [2023-04-06T11:59:50.269Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-06T11:59:50.307Z] $ docker stop --time=1 98323dd1ccc6e7ad614a1f3fb7ff50529dede69b89ee24eb4403fb788468a2bc [2023-04-06T11:59:51.576Z] $ docker rm -f --volumes 98323dd1ccc6e7ad614a1f3fb7ff50529dede69b89ee24eb4403fb788468a2bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T11:59:52.270Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T11:59:52.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T11:59:52.416Z] prd-ubuntu20.04-docker-8c-8g-6992 does not seem to be running inside a container [2023-04-06T11:59:52.451Z] $ 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-375 -v /w/workspace/foundry_device-virtual-go_PR-375:/w/workspace/foundry_device-virtual-go_PR-375:rw,z -v /w/workspace/foundry_device-virtual-go_PR-375@tmp:/w/workspace/foundry_device-virtual-go_PR-375@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-04-06T11:59:52.805Z] $ docker top e5547b860007b4becfcc79e5c943cbf55acb9626eb2b43e8dfd5d133e4f61532 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T11:59:53.190Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-375 [Pipeline] fileExists [Pipeline] sh [2023-04-06T11:59:53.548Z] + make test [2023-04-06T11:59:53.548Z] go test ./... -coverprofile=coverage.out [2023-04-06T11:59:57.734Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-06T12:00:07.696Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-06T12:00:07.696Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 59.5% of statements [2023-04-06T12:00:11.872Z] go vet ./... [2023-04-06T12:00:15.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T12:00:15.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T12:00:15.149Z] ./bin/test-attribution-txt.sh [2023-04-06T12:00:15.149Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T12:00:15.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T12:00:15.221Z] $ docker stop --time=1 e5547b860007b4becfcc79e5c943cbf55acb9626eb2b43e8dfd5d133e4f61532 [2023-04-06T12:00:18.478Z] $ docker rm -f --volumes e5547b860007b4becfcc79e5c943cbf55acb9626eb2b43e8dfd5d133e4f61532 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T12:00:19.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T12:00:19.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-06T12:00:19.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T12:00:20.051Z] + ls -al . [2023-04-06T12:00:20.051Z] total 192 [2023-04-06T12:00:20.051Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 11:59 . [2023-04-06T12:00:20.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 11:58 .. [2023-04-06T12:00:20.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 11:58 .git [2023-04-06T12:00:20.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 11:58 .github [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 6 11:58 .gitignore [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 11:58 .golangci.yml [2023-04-06T12:00:20.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 11:58 .semver [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 6 11:58 Attribution.txt [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 6 11:58 CHANGELOG.md [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 6 11:58 Dockerfile [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 11:58 GOVERNANCE.md [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 6 11:58 Jenkinsfile [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 11:58 LICENSE [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 6 11:58 Makefile [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 6 11:58 OWNERS.md [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 6 11:58 README.md [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 11:58 VERSION [2023-04-06T12:00:20.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 11:58 bin [2023-04-06T12:00:20.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 11:58 cmd [2023-04-06T12:00:20.051Z] -rw-r--r-- 1 jenkins jenkins 42791 Apr 6 12:00 coverage.out [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 6 11:58 go.mod [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 6 11:58 go.sum [2023-04-06T12:00:20.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 11:58 internal [2023-04-06T12:00:20.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 11:58 snap [2023-04-06T12:00:20.051Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 6 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:00:20.658Z] + 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=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b --label arch=amd64 --label version=0.0.0 . [2023-04-06T12:00:20.658Z] Sending build context to Docker daemon 23.57MB [2023-04-06T12:00:20.658Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T12:00:20.658Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-06T12:00:20.658Z] ---> 3c40a93fec2f [2023-04-06T12:00:20.658Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T12:00:20.927Z] ---> Running in 9cb59d9f9a0c [2023-04-06T12:00:20.927Z] Removing intermediate container 9cb59d9f9a0c [2023-04-06T12:00:20.927Z] ---> 655bcad4d781 [2023-04-06T12:00:20.927Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T12:00:20.927Z] ---> Running in b406e41dd799 [2023-04-06T12:00:20.927Z] Removing intermediate container b406e41dd799 [2023-04-06T12:00:20.927Z] ---> ce20fdf293c4 [2023-04-06T12:00:20.927Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-06T12:00:21.204Z] ---> Running in dd1e2fba3f13 [2023-04-06T12:00:21.204Z] Removing intermediate container dd1e2fba3f13 [2023-04-06T12:00:21.204Z] ---> 50051033c8fd [2023-04-06T12:00:21.204Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-06T12:00:21.204Z] ---> Running in bd9f2b9e6783 [2023-04-06T12:00:21.484Z] Removing intermediate container bd9f2b9e6783 [2023-04-06T12:00:21.484Z] ---> 04fd7a9e48d5 [2023-04-06T12:00:21.484Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T12:00:21.484Z] ---> Running in d95c61aaf35c [2023-04-06T12:00:22.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T12:00:22.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T12:00:22.340Z] OK: 269 MiB in 57 packages [2023-04-06T12:00:22.908Z] Removing intermediate container d95c61aaf35c [2023-04-06T12:00:22.908Z] ---> b7dc360a655c [2023-04-06T12:00:22.908Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-06T12:00:22.908Z] ---> 833d40aa4566 [2023-04-06T12:00:22.908Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T12:00:22.908Z] ---> Running in 13bc56ad959e [2023-04-06T12:00:23.843Z] Removing intermediate container 13bc56ad959e [2023-04-06T12:00:23.843Z] ---> 4bdc1b88ac78 [2023-04-06T12:00:23.843Z] Step 10/25 : COPY . . [2023-04-06T12:00:24.413Z] ---> cb060bd9d9df [2023-04-06T12:00:24.413Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T12:00:24.413Z] ---> Running in cd45ea0dea40 [2023-04-06T12:00:24.680Z] Removing intermediate container cd45ea0dea40 [2023-04-06T12:00:24.680Z] ---> b85384debc83 [2023-04-06T12:00:24.680Z] Step 12/25 : RUN $MAKE [2023-04-06T12:00:24.680Z] ---> Running in a15eb516d326 [2023-04-06T12:00:24.942Z] 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-04-06T12:00:43.014Z] Removing intermediate container a15eb516d326 [2023-04-06T12:00:43.014Z] ---> 22a3aa8007be [2023-04-06T12:00:43.014Z] Step 13/25 : FROM alpine:3.17 [2023-04-06T12:00:43.014Z] 3.17: Pulling from library/alpine [2023-04-06T12:00:43.014Z] f56be85fc22e: Pulling fs layer [2023-04-06T12:00:43.014Z] f56be85fc22e: Download complete [2023-04-06T12:00:43.014Z] f56be85fc22e: Pull complete [2023-04-06T12:00:43.014Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T12:00:43.014Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T12:00:43.014Z] ---> 9ed4aefc74f6 [2023-04-06T12:00:43.014Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-06T12:00:43.014Z] ---> Running in bf23c5ac44b6 [2023-04-06T12:00:43.014Z] Removing intermediate container bf23c5ac44b6 [2023-04-06T12:00:43.014Z] ---> bd7fceaeadf4 [2023-04-06T12:00:43.014Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-06T12:00:43.014Z] ---> Running in 4b6a32395c91 [2023-04-06T12:00:43.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T12:00:43.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T12:00:43.276Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T12:00:43.276Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T12:00:43.276Z] OK: 7 MiB in 16 packages [2023-04-06T12:00:43.535Z] Removing intermediate container 4b6a32395c91 [2023-04-06T12:00:43.535Z] ---> 670d2a71577c [2023-04-06T12:00:43.535Z] Step 16/25 : WORKDIR / [2023-04-06T12:00:43.535Z] ---> Running in db7f16430d84 [2023-04-06T12:00:43.796Z] Removing intermediate container db7f16430d84 [2023-04-06T12:00:43.796Z] ---> 746f905641a0 [2023-04-06T12:00:43.796Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-06T12:00:43.796Z] ---> 4f2b89862bda [2023-04-06T12:00:43.796Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-06T12:00:43.796Z] ---> 2f9a5f807d7e [2023-04-06T12:00:43.796Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-06T12:00:44.733Z] ---> c7a7ee1f21e9 [2023-04-06T12:00:44.733Z] Step 20/25 : EXPOSE 59900 [2023-04-06T12:00:44.733Z] ---> Running in b7b90c47f4ac [2023-04-06T12:00:44.733Z] Removing intermediate container b7b90c47f4ac [2023-04-06T12:00:44.733Z] ---> 9ebba72947df [2023-04-06T12:00:44.733Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-06T12:00:44.733Z] ---> Running in af246f1535c3 [2023-04-06T12:00:44.733Z] Removing intermediate container af246f1535c3 [2023-04-06T12:00:44.733Z] ---> df8a61433d95 [2023-04-06T12:00:44.733Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T12:00:44.733Z] ---> Running in 3d2284536ab8 [2023-04-06T12:00:44.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6993 in /w/workspace/foundry_device-virtual-go_PR-375 [Pipeline] { [Pipeline] ws [2023-04-06T12:00:44.857Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-04-06T12:00:44.937Z] The recommended git tool is: git [2023-04-06T12:00:44.999Z] Removing intermediate container 3d2284536ab8 [2023-04-06T12:00:44.999Z] ---> 97e97f9a8991 [2023-04-06T12:00:44.999Z] Step 23/25 : LABEL arch=amd64 [2023-04-06T12:00:44.999Z] ---> Running in c921ec8cf8db [2023-04-06T12:00:44.999Z] Removing intermediate container c921ec8cf8db [2023-04-06T12:00:44.999Z] ---> ee04cd3dec19 [2023-04-06T12:00:44.999Z] Step 24/25 : LABEL git_sha=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [2023-04-06T12:00:44.999Z] ---> Running in a241f0eb0d8e [2023-04-06T12:00:44.999Z] Removing intermediate container a241f0eb0d8e [2023-04-06T12:00:44.999Z] ---> bea8517c3e8b [2023-04-06T12:00:44.999Z] Step 25/25 : LABEL version=0.0.0 [2023-04-06T12:00:45.259Z] ---> Running in b414b35c0195 [2023-04-06T12:00:45.259Z] Removing intermediate container b414b35c0195 [2023-04-06T12:00:45.259Z] ---> 9a98168f431c [2023-04-06T12:00:45.259Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T12:00:45.259Z] Successfully built 9a98168f431c [2023-04-06T12:00:45.259Z] 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-04-06T12:00:46.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T12:00:46.131Z] [2023-04-06T12:00:46.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:00:46.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T12:00:46.516Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T12:00:46.516Z] 5eb5b503b376: Pulling fs layer [2023-04-06T12:00:46.516Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T12:00:46.516Z] ec43610c2a17: Pulling fs layer [2023-04-06T12:00:46.516Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T12:00:46.516Z] 33b1e0a273af: Pulling fs layer [2023-04-06T12:00:46.516Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T12:00:46.516Z] 2f39f015ded8: Pulling fs layer [2023-04-06T12:00:46.516Z] 33b1e0a273af: Waiting [2023-04-06T12:00:46.516Z] 5d3b04190fa2: Waiting [2023-04-06T12:00:46.516Z] 2f39f015ded8: Waiting [2023-04-06T12:00:46.516Z] 3a2ae6a8a46f: Waiting [2023-04-06T12:00:46.516Z] 5c69ac0246d0: Download complete [2023-04-06T12:00:46.516Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-06T12:00:46.516Z] 3a2ae6a8a46f: Download complete [2023-04-06T12:00:46.516Z] 33b1e0a273af: Verifying Checksum [2023-04-06T12:00:46.516Z] 33b1e0a273af: Download complete [2023-04-06T12:00:46.516Z] ec43610c2a17: Verifying Checksum [2023-04-06T12:00:46.516Z] ec43610c2a17: Download complete [2023-04-06T12:00:46.516Z] 5d3b04190fa2: Verifying Checksum [2023-04-06T12:00:46.516Z] 5d3b04190fa2: Download complete [2023-04-06T12:00:46.779Z] 5eb5b503b376: Verifying Checksum [2023-04-06T12:00:46.779Z] 5eb5b503b376: Download complete [2023-04-06T12:00:47.344Z] 2f39f015ded8: Verifying Checksum [2023-04-06T12:00:47.344Z] 2f39f015ded8: Download complete [2023-04-06T12:00:47.913Z] 5eb5b503b376: Pull complete [2023-04-06T12:00:47.913Z] 5c69ac0246d0: Pull complete [2023-04-06T12:00:48.480Z] ec43610c2a17: Pull complete [2023-04-06T12:00:48.480Z] 3a2ae6a8a46f: Pull complete [2023-04-06T12:00:48.740Z] 33b1e0a273af: Pull complete [2023-04-06T12:00:48.740Z] 5d3b04190fa2: Pull complete [2023-04-06T12:00:51.466Z] using credential edgex-jenkins-ssh [2023-04-06T12:00:51.483Z] Cloning the remote Git repository [2023-04-06T12:00:51.526Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-06T12:00:51.613Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-04-06T12:00:51.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-06T12:00:51.741Z] > git --version # timeout=10 [2023-04-06T12:00:51.760Z] > git --version # 'git version 2.25.1' [2023-04-06T12:00:51.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T12:00:51.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T12:00:52.926Z] 2f39f015ded8: Pull complete [2023-04-06T12:00:52.926Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T12:00:52.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T12:00:52.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T12:00:53.164Z] prd-ubuntu20.04-docker-8c-8g-6992 does not seem to be running inside a container [2023-04-06T12:00:53.197Z] $ 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-375 -v /w/workspace/foundry_device-virtual-go_PR-375:/w/workspace/foundry_device-virtual-go_PR-375:rw,z -v /w/workspace/foundry_device-virtual-go_PR-375@tmp:/w/workspace/foundry_device-virtual-go_PR-375@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-04-06T12:00:53.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-06T12:00:53.816Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T12:00:55.115Z] Merging remotes/origin/main commit 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 into PR head commit 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [2023-04-06T12:00:55.360Z] Merge succeeded, producing 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [2023-04-06T12:00:55.360Z] Checking out Revision 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b (PR-375) [2023-04-06T12:00:54.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-06T12:00:54.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-06T12:00:54.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T12:00:54.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T12:00:55.133Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T12:00:55.202Z] > git checkout -f 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b # timeout=10 [2023-04-06T12:00:55.276Z] > git remote # timeout=10 [2023-04-06T12:00:55.292Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T12:00:55.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T12:00:55.321Z] > git merge 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 [2023-04-06T12:00:55.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T12:00:55.369Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T12:00:55.380Z] > git checkout -f 53553fbfdb85d8aac7c429367c899f6fcbb3ab3b # timeout=10 [2023-04-06T12:00:55.782Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-06T12:00:55.828Z] > git --version # timeout=10 [2023-04-06T12:00:55.838Z] > git --version # 'git version 2.25.1' [2023-04-06T12:00:55.852Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T12:00:56.097Z] $ docker top 99d93f8462f688083ac324683bb9668e2c4cf52c65286ff4eb735d902eaaa97b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:00:56.423Z] [2023-04-06T12:00:56.423Z] GitHub has been notified of this commit’s build result [2023-04-06T12:00:56.423Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-04-06T12:00:56.558Z] ---> job-cost.sh [2023-04-06T12:00:56.558Z] lf-activate-venv: SKIPPING [2023-04-06T12:00:56.558Z] INFO: No Stack... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T12:00:56.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T12:00:57.138Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T12:00:57.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T12:00:57.138Z] Dload Upload Total Spent Left Speed [2023-04-06T12:00:57.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98084 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [2023-04-06T12:00:57.383Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-04-06T12:00:57.699Z] + cat /w/workspace/foundry_device-virtual-go_PR-375/archives/cost.csv [2023-04-06T12:00:57.699Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T12:00:57.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [2023-04-06T12:00:57.753Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] did not exist. Created. [2023-04-06T12:00:57.753Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [Pipeline] { [2023-04-06T12:00:57.796Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-04-06T12:00:58.205Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T12:00:58.205Z] + sudo tee /etc/docker/daemon.new [2023-04-06T12:00:58.205Z] { [2023-04-06T12:00:58.205Z] "registry-mirrors": [ [2023-04-06T12:00:58.205Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T12:00:58.205Z] ], [2023-04-06T12:00:58.205Z] "bip": "10.250.0.254/24", [2023-04-06T12:00:58.205Z] "hosts": [ [2023-04-06T12:00:58.205Z] "tcp://0.0.0.0:5555", [2023-04-06T12:00:58.205Z] "unix:///var/run/docker.sock" [2023-04-06T12:00:58.205Z] ], [2023-04-06T12:00:58.205Z] "mtu": 1458, [2023-04-06T12:00:58.205Z] "selinux-enabled": true, [2023-04-06T12:00:58.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T12:00:58.205Z] } [Pipeline] sh [2023-04-06T12:00:58.240Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T12:00:58.366Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T12:00:58.398Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T12:00:58.509Z] $ docker stop --time=1 99d93f8462f688083ac324683bb9668e2c4cf52c65286ff4eb735d902eaaa97b [2023-04-06T12:00:58.546Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-04-06T12:00:59.647Z] $ docker rm -f --volumes 99d93f8462f688083ac324683bb9668e2c4cf52c65286ff4eb735d902eaaa97b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T12:01:00.085Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T12:01:22.234Z] provisioning config files... [2023-04-06T12:01:22.260Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5253245119095963409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:01:22.651Z] ---> docker-login.sh [2023-04-06T12:01:22.651Z] nexus3.edgexfoundry.org:10001 [2023-04-06T12:01:23.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T12:01:23.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T12:01:23.236Z] Configure a credential helper to remove this warning. See [2023-04-06T12:01:23.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T12:01:23.236Z] [2023-04-06T12:01:23.236Z] Login Succeeded [2023-04-06T12:01:23.236Z] nexus3.edgexfoundry.org:10002 [2023-04-06T12:01:23.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T12:01:23.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T12:01:23.503Z] Configure a credential helper to remove this warning. See [2023-04-06T12:01:23.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T12:01:23.503Z] [2023-04-06T12:01:23.503Z] Login Succeeded [2023-04-06T12:01:23.503Z] nexus3.edgexfoundry.org:10003 [2023-04-06T12:01:23.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T12:01:24.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T12:01:24.039Z] Configure a credential helper to remove this warning. See [2023-04-06T12:01:24.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T12:01:24.040Z] [2023-04-06T12:01:24.040Z] Login Succeeded [2023-04-06T12:01:24.040Z] nexus3.edgexfoundry.org:10004 [2023-04-06T12:01:24.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T12:01:24.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T12:01:24.307Z] Configure a credential helper to remove this warning. See [2023-04-06T12:01:24.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T12:01:24.307Z] [2023-04-06T12:01:24.307Z] Login Succeeded [2023-04-06T12:01:24.307Z] docker.io [2023-04-06T12:01:24.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T12:01:24.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T12:01:24.841Z] Configure a credential helper to remove this warning. See [2023-04-06T12:01:24.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T12:01:24.841Z] [2023-04-06T12:01:24.841Z] Login Succeeded [2023-04-06T12:01:24.841Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T12:01:24.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T12:01:25.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T12:01:25.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T12:01:25.301Z] ========================================================= [2023-04-06T12:01:25.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-06T12:01:25.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:01:25.826Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T12:01:26.093Z] Sending build context to Docker daemon 11.92MB [2023-04-06T12:01:26.093Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T12:01:26.093Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-06T12:01:26.363Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-06T12:01:26.363Z] af6eaf76a39c: Pulling fs layer [2023-04-06T12:01:26.363Z] 55522c791124: Pulling fs layer [2023-04-06T12:01:26.363Z] ce5c4a1c91eb: Pulling fs layer [2023-04-06T12:01:26.363Z] 169dfbe0d373: Pulling fs layer [2023-04-06T12:01:26.363Z] e1ff8fa3b103: Pulling fs layer [2023-04-06T12:01:26.363Z] 52ebb69f0ebf: Pulling fs layer [2023-04-06T12:01:26.363Z] 5abe8eddf0d5: Pulling fs layer [2023-04-06T12:01:26.363Z] 169dfbe0d373: Waiting [2023-04-06T12:01:26.363Z] e1ff8fa3b103: Waiting [2023-04-06T12:01:26.363Z] 52ebb69f0ebf: Waiting [2023-04-06T12:01:26.363Z] 5abe8eddf0d5: Waiting [2023-04-06T12:01:26.363Z] 55522c791124: Verifying Checksum [2023-04-06T12:01:26.363Z] 55522c791124: Download complete [2023-04-06T12:01:26.363Z] 169dfbe0d373: Verifying Checksum [2023-04-06T12:01:26.363Z] 169dfbe0d373: Download complete [2023-04-06T12:01:26.363Z] e1ff8fa3b103: Verifying Checksum [2023-04-06T12:01:26.363Z] e1ff8fa3b103: Download complete [2023-04-06T12:01:26.363Z] af6eaf76a39c: Verifying Checksum [2023-04-06T12:01:27.334Z] af6eaf76a39c: Pull complete [2023-04-06T12:01:27.335Z] 5abe8eddf0d5: Verifying Checksum [2023-04-06T12:01:27.335Z] 5abe8eddf0d5: Download complete [2023-04-06T12:01:27.938Z] 55522c791124: Pull complete [2023-04-06T12:01:28.896Z] 52ebb69f0ebf: Download complete [2023-04-06T12:01:28.896Z] ce5c4a1c91eb: Verifying Checksum [2023-04-06T12:01:28.896Z] ce5c4a1c91eb: Download complete [2023-04-06T12:01:39.024Z] ce5c4a1c91eb: Pull complete [2023-04-06T12:01:39.024Z] 169dfbe0d373: Pull complete [2023-04-06T12:01:39.024Z] e1ff8fa3b103: Pull complete [2023-04-06T12:01:45.709Z] 52ebb69f0ebf: Pull complete [2023-04-06T12:01:46.673Z] 5abe8eddf0d5: Pull complete [2023-04-06T12:01:46.673Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-06T12:01:46.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-06T12:01:46.673Z] ---> 6cb57ee374ae [2023-04-06T12:01:46.673Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T12:01:48.621Z] ---> Running in d89600d93026 [2023-04-06T12:01:48.621Z] Removing intermediate container d89600d93026 [2023-04-06T12:01:48.621Z] ---> 6231916bfaf6 [2023-04-06T12:01:48.621Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T12:01:48.892Z] ---> Running in 2fe1e73cdd33 [2023-04-06T12:01:49.158Z] Removing intermediate container 2fe1e73cdd33 [2023-04-06T12:01:49.158Z] ---> 3640cc9724ae [2023-04-06T12:01:49.158Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-06T12:01:49.158Z] ---> Running in 5df7a408a520 [2023-04-06T12:01:49.426Z] Removing intermediate container 5df7a408a520 [2023-04-06T12:01:49.426Z] ---> 3bd31525dbb7 [2023-04-06T12:01:49.426Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-06T12:01:49.426Z] ---> Running in 6c414d05bc04 [2023-04-06T12:01:50.006Z] Removing intermediate container 6c414d05bc04 [2023-04-06T12:01:50.006Z] ---> 29053a0b97b1 [2023-04-06T12:01:50.006Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T12:01:50.006Z] ---> Running in 7d1e909733c1 [2023-04-06T12:01:50.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T12:01:51.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T12:01:52.508Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-06T12:01:52.508Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-06T12:01:52.508Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-06T12:01:52.508Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-06T12:01:52.508Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T12:01:52.508Z] OK: 268 MiB in 57 packages [2023-04-06T12:01:53.485Z] Removing intermediate container 7d1e909733c1 [2023-04-06T12:01:53.485Z] ---> 78098436ece2 [2023-04-06T12:01:53.485Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-06T12:01:54.070Z] ---> 698ca8d6bdc6 [2023-04-06T12:01:54.070Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T12:01:54.338Z] ---> Running in 7b84115e807e [2023-04-06T12:03:02.237Z] Removing intermediate container 7b84115e807e [2023-04-06T12:03:02.237Z] ---> 42b8843b77cd [2023-04-06T12:03:02.237Z] Step 10/12 : COPY . . [2023-04-06T12:03:02.237Z] ---> e08ccc9a1f8c [2023-04-06T12:03:02.237Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T12:03:02.237Z] ---> Running in 508b2aec673c [2023-04-06T12:03:02.237Z] Removing intermediate container 508b2aec673c [2023-04-06T12:03:02.237Z] ---> 1cd781849d85 [2023-04-06T12:03:02.237Z] Step 12/12 : RUN $MAKE [2023-04-06T12:03:02.237Z] ---> Running in 8686e7cbf067 [2023-04-06T12:03:02.237Z] noop [2023-04-06T12:03:02.237Z] Removing intermediate container 8686e7cbf067 [2023-04-06T12:03:02.237Z] ---> 1a00e8e04a50 [2023-04-06T12:03:02.237Z] Successfully built 1a00e8e04a50 [2023-04-06T12:03:02.237Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:03:02.717Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T12:03:02.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T12:03:02.982Z] prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container [2023-04-06T12:03:03.043Z] $ 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-04-06T12:03:04.147Z] $ docker top dc5c9eb67fd54751172a5301133833d86a2c4469655fa110d541b0f84aab58fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T12:03:05.000Z] + go version [2023-04-06T12:03:05.000Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-06T12:03:05.042Z] $ docker stop --time=1 dc5c9eb67fd54751172a5301133833d86a2c4469655fa110d541b0f84aab58fc [2023-04-06T12:03:06.629Z] $ docker rm -f --volumes dc5c9eb67fd54751172a5301133833d86a2c4469655fa110d541b0f84aab58fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:03:07.498Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T12:03:07.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T12:03:07.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container [2023-04-06T12:03:07.808Z] $ 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-04-06T12:03:08.835Z] $ docker top 7eaf7391b1aa83a20728e68840535ddefed74ced9af2c55094f28ae3df59ff3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T12:03:09.363Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-06T12:03:09.763Z] + make test [2023-04-06T12:03:09.763Z] go test ./... -coverprofile=coverage.out [2023-04-06T12:03:41.995Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-06T12:05:33.682Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-04-06T12:05:33.682Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.228s coverage: 59.3% of statements [2023-04-06T12:05:33.682Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-06T12:05:33.682Z] go vet ./... [2023-04-06T12:06:00.396Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T12:06:00.396Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T12:06:00.396Z] ./bin/test-attribution-txt.sh [2023-04-06T12:06:00.396Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-06T12:06:00.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T12:06:00.467Z] $ docker stop --time=1 7eaf7391b1aa83a20728e68840535ddefed74ced9af2c55094f28ae3df59ff3f [2023-04-06T12:06:02.501Z] $ docker rm -f --volumes 7eaf7391b1aa83a20728e68840535ddefed74ced9af2c55094f28ae3df59ff3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T12:06:03.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T12:06:03.770Z] Warning: overwriting stash ‘coverage-report’ [2023-04-06T12:06:04.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T12:06:04.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T12:06:05.160Z] + ls -al . [2023-04-06T12:06:05.160Z] total 188 [2023-04-06T12:06:05.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 12:03 . [2023-04-06T12:06:05.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 12:00 .. [2023-04-06T12:06:05.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 12:00 .git [2023-04-06T12:06:05.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 12:00 .github [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 337 Apr 6 12:00 .gitignore [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 12:00 .golangci.yml [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 8641 Apr 6 12:00 Attribution.txt [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 11367 Apr 6 12:00 CHANGELOG.md [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 1646 Apr 6 12:00 Dockerfile [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 12:00 GOVERNANCE.md [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 6 12:00 Jenkinsfile [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 12:00 LICENSE [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 1696 Apr 6 12:00 Makefile [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 6 12:00 OWNERS.md [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 3578 Apr 6 12:00 README.md [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 11:58 VERSION [2023-04-06T12:06:05.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 12:00 bin [2023-04-06T12:06:05.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 12:00 cmd [2023-04-06T12:06:05.160Z] -rw-r--r-- 1 jenkins jenkins 42791 Apr 6 12:05 coverage.out [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 3209 Apr 6 12:00 go.mod [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 31219 Apr 6 12:00 go.sum [2023-04-06T12:06:05.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 12:00 internal [2023-04-06T12:06:05.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 12:00 snap [2023-04-06T12:06:05.160Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 6 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:06:05.572Z] + 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=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b --label arch=arm64 --label version=0.0.0 . [2023-04-06T12:06:06.532Z] Sending build context to Docker daemon 11.96MB [2023-04-06T12:06:06.532Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T12:06:06.532Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-06T12:06:06.532Z] ---> 1a00e8e04a50 [2023-04-06T12:06:06.532Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-06T12:06:06.532Z] ---> Running in 1b4699cac581 [2023-04-06T12:06:06.798Z] Removing intermediate container 1b4699cac581 [2023-04-06T12:06:06.799Z] ---> 7e7e69c25f67 [2023-04-06T12:06:06.799Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-06T12:06:07.071Z] ---> Running in 6746d5857a3e [2023-04-06T12:06:07.337Z] Removing intermediate container 6746d5857a3e [2023-04-06T12:06:07.337Z] ---> 01960233cb2d [2023-04-06T12:06:07.337Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-04-06T12:06:07.337Z] ---> Running in 698627dd4d7e [2023-04-06T12:06:07.617Z] Removing intermediate container 698627dd4d7e [2023-04-06T12:06:07.617Z] ---> 94fbb8b9286d [2023-04-06T12:06:07.617Z] Step 6/25 : WORKDIR /device-virtual-go [2023-04-06T12:06:07.882Z] ---> Running in 8174795e18a0 [2023-04-06T12:06:08.148Z] Removing intermediate container 8174795e18a0 [2023-04-06T12:06:08.148Z] ---> c8dd3b8d699c [2023-04-06T12:06:08.148Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-06T12:06:08.148Z] ---> Running in 82cb5a89b0ba [2023-04-06T12:06:09.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T12:06:09.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T12:06:11.112Z] OK: 268 MiB in 57 packages [2023-04-06T12:06:11.695Z] Removing intermediate container 82cb5a89b0ba [2023-04-06T12:06:11.696Z] ---> facf48959315 [2023-04-06T12:06:11.696Z] Step 8/25 : COPY go.mod vendor* ./ [2023-04-06T12:06:11.962Z] ---> 1b3c331ad2ae [2023-04-06T12:06:11.962Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T12:06:12.237Z] ---> Running in 4449281cbf8c [2023-04-06T12:06:14.816Z] Removing intermediate container 4449281cbf8c [2023-04-06T12:06:14.816Z] ---> 4f7c54e12789 [2023-04-06T12:06:14.816Z] Step 10/25 : COPY . . [2023-04-06T12:06:15.398Z] ---> 818e12b20dde [2023-04-06T12:06:15.398Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-06T12:06:15.398Z] ---> Running in c1885b6cb6f0 [2023-04-06T12:06:15.664Z] Removing intermediate container c1885b6cb6f0 [2023-04-06T12:06:15.665Z] ---> 61ecb41047c1 [2023-04-06T12:06:15.665Z] Step 12/25 : RUN $MAKE [2023-04-06T12:06:15.931Z] ---> Running in 93a9c2f90a56 [2023-04-06T12:06:16.891Z] 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-04-06T12:08:24.225Z] Removing intermediate container 93a9c2f90a56 [2023-04-06T12:08:24.225Z] ---> 40cbe3052724 [2023-04-06T12:08:24.225Z] Step 13/25 : FROM alpine:3.17 [2023-04-06T12:08:24.225Z] 3.17: Pulling from library/alpine [2023-04-06T12:08:24.225Z] c41833b44d91: Pulling fs layer [2023-04-06T12:08:24.225Z] c41833b44d91: Verifying Checksum [2023-04-06T12:08:24.225Z] c41833b44d91: Download complete [2023-04-06T12:08:24.225Z] c41833b44d91: Pull complete [2023-04-06T12:08:24.225Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T12:08:24.225Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T12:08:24.225Z] ---> 51e60588ff2c [2023-04-06T12:08:24.225Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-04-06T12:08:24.225Z] ---> Running in fa6888b9643f [2023-04-06T12:08:24.225Z] Removing intermediate container fa6888b9643f [2023-04-06T12:08:24.225Z] ---> 54c2a81b7af2 [2023-04-06T12:08:24.225Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-04-06T12:08:24.225Z] ---> Running in d78b4fe56847 [2023-04-06T12:08:24.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T12:08:24.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T12:08:24.815Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-06T12:08:24.815Z] Executing busybox-1.35.0-r29.trigger [2023-04-06T12:08:24.815Z] OK: 8 MiB in 16 packages [2023-04-06T12:08:26.770Z] Removing intermediate container d78b4fe56847 [2023-04-06T12:08:26.770Z] ---> 328fc3441ec0 [2023-04-06T12:08:26.770Z] Step 16/25 : WORKDIR / [2023-04-06T12:08:26.770Z] ---> Running in 0772a2dde2fd [2023-04-06T12:08:27.040Z] Removing intermediate container 0772a2dde2fd [2023-04-06T12:08:27.040Z] ---> 9ff61346ae78 [2023-04-06T12:08:27.040Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-04-06T12:08:27.624Z] ---> 676045596c1d [2023-04-06T12:08:27.624Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-04-06T12:08:28.209Z] ---> cbb560bad7f8 [2023-04-06T12:08:28.209Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-04-06T12:08:29.667Z] ---> 30cd1136a7cf [2023-04-06T12:08:29.667Z] Step 20/25 : EXPOSE 59900 [2023-04-06T12:08:29.667Z] ---> Running in 6837a7efdc44 [2023-04-06T12:08:29.667Z] Removing intermediate container 6837a7efdc44 [2023-04-06T12:08:29.667Z] ---> 469c4952adaa [2023-04-06T12:08:29.667Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-04-06T12:08:29.938Z] ---> Running in 53048746a676 [2023-04-06T12:08:30.207Z] Removing intermediate container 53048746a676 [2023-04-06T12:08:30.207Z] ---> 6a75f99e964e [2023-04-06T12:08:30.207Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T12:08:30.207Z] ---> Running in aaa7f28ca56f [2023-04-06T12:08:30.474Z] Removing intermediate container aaa7f28ca56f [2023-04-06T12:08:30.474Z] ---> 7c23cbe6ee04 [2023-04-06T12:08:30.474Z] Step 23/25 : LABEL arch=arm64 [2023-04-06T12:08:30.474Z] ---> Running in 93a22caf3820 [2023-04-06T12:08:30.747Z] Removing intermediate container 93a22caf3820 [2023-04-06T12:08:30.747Z] ---> 04601c69b9aa [2023-04-06T12:08:30.747Z] Step 24/25 : LABEL git_sha=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [2023-04-06T12:08:31.013Z] ---> Running in 1cbee17be574 [2023-04-06T12:08:31.281Z] Removing intermediate container 1cbee17be574 [2023-04-06T12:08:31.281Z] ---> 26a0d4dfc7bf [2023-04-06T12:08:31.281Z] Step 25/25 : LABEL version=0.0.0 [2023-04-06T12:08:31.281Z] ---> Running in bd17d98cad82 [2023-04-06T12:08:31.548Z] Removing intermediate container bd17d98cad82 [2023-04-06T12:08:31.548Z] ---> d78a01b5db5d [2023-04-06T12:08:31.548Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T12:08:31.548Z] Successfully built d78a01b5db5d [2023-04-06T12:08:31.548Z] 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-04-06T12:08:32.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T12:08:32.360Z] [2023-04-06T12:08:32.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:08:32.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T12:08:32.787Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T12:08:32.787Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T12:08:32.787Z] 04944245beec: Pulling fs layer [2023-04-06T12:08:32.787Z] 699f458cf7ca: Pulling fs layer [2023-04-06T12:08:32.787Z] 765212b225bb: Pulling fs layer [2023-04-06T12:08:32.787Z] f23df028b6ca: Pulling fs layer [2023-04-06T12:08:32.787Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T12:08:32.787Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T12:08:32.787Z] 765212b225bb: Waiting [2023-04-06T12:08:32.787Z] f23df028b6ca: Waiting [2023-04-06T12:08:32.787Z] d65c8cfc05b1: Waiting [2023-04-06T12:08:32.787Z] 2437ff75d9bd: Waiting [2023-04-06T12:08:33.057Z] 04944245beec: Verifying Checksum [2023-04-06T12:08:33.057Z] 04944245beec: Download complete [2023-04-06T12:08:33.057Z] 765212b225bb: Verifying Checksum [2023-04-06T12:08:33.057Z] 765212b225bb: Download complete [2023-04-06T12:08:33.057Z] f23df028b6ca: Verifying Checksum [2023-04-06T12:08:33.057Z] f23df028b6ca: Download complete [2023-04-06T12:08:33.057Z] d65c8cfc05b1: Verifying Checksum [2023-04-06T12:08:33.057Z] d65c8cfc05b1: Download complete [2023-04-06T12:08:33.057Z] 699f458cf7ca: Verifying Checksum [2023-04-06T12:08:33.057Z] 699f458cf7ca: Download complete [2023-04-06T12:08:33.643Z] 8998bd30e6a1: Verifying Checksum [2023-04-06T12:08:33.643Z] 8998bd30e6a1: Download complete [2023-04-06T12:08:35.589Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T12:08:35.589Z] 2437ff75d9bd: Download complete [2023-04-06T12:08:37.533Z] 8998bd30e6a1: Pull complete [2023-04-06T12:08:39.476Z] 04944245beec: Pull complete [2023-04-06T12:08:40.438Z] 699f458cf7ca: Pull complete [2023-04-06T12:08:40.705Z] 765212b225bb: Pull complete [2023-04-06T12:08:41.290Z] f23df028b6ca: Pull complete [2023-04-06T12:08:41.558Z] d65c8cfc05b1: Pull complete [2023-04-06T12:08:56.569Z] 2437ff75d9bd: Pull complete [2023-04-06T12:08:56.569Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T12:08:56.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T12:08:56.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T12:08:56.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-6993 does not seem to be running inside a container [2023-04-06T12:08:56.935Z] $ 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-04-06T12:08:59.345Z] $ docker top 3bb346d24504b61ad509565a55397ff78ca636e7d5a00b149fcced988cc07dc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:00.238Z] ---> job-cost.sh [2023-04-06T12:09:00.238Z] lf-activate-venv: SKIPPING [2023-04-06T12:09:00.238Z] INFO: No Stack... [2023-04-06T12:09:00.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T12:09:01.462Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T12:09:01.801Z] + cut -d, -f6 [2023-04-06T12:09:01.801Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-04-06T12:09:02.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [2023-04-06T12:09:02.118Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] did not exist. Created. [2023-04-06T12:09:02.119Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T12:09:02.529Z] /w/workspace/device-virtual-go/1@tmp/durable-4d6bfe01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T12:09:02.884Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T12:09:02.919Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T12:09:02.967Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T12:09:02.983Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T12:09:03.049Z] $ docker stop --time=1 3bb346d24504b61ad509565a55397ff78ca636e7d5a00b149fcced988cc07dc5 [2023-04-06T12:09:04.636Z] $ docker rm -f --volumes 3bb346d24504b61ad509565a55397ff78ca636e7d5a00b149fcced988cc07dc5 [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-04-06T12:09:05.639Z] provisioning config files... [2023-04-06T12:09:05.646Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-375@tmp/config7011129595351063831tmp [Pipeline] { [Pipeline] sh [2023-04-06T12:09:05.985Z] + set +x [2023-04-06T12:09:05.986Z] + curl -s https://codecov.io/bash [2023-04-06T12:09:05.986Z] + bash -s -- [2023-04-06T12:09:05.986Z] [2023-04-06T12:09:05.986Z] _____ _ [2023-04-06T12:09:05.986Z] / ____| | | [2023-04-06T12:09:05.986Z] | | ___ __| | ___ ___ _____ __ [2023-04-06T12:09:05.986Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-06T12:09:05.986Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-06T12:09:05.986Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-06T12:09:05.986Z] Bash-1.0.6 [2023-04-06T12:09:05.986Z] [2023-04-06T12:09:05.986Z] [2023-04-06T12:09:05.986Z] ==> git version 2.25.1 found [2023-04-06T12:09:05.986Z] ==> 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-04-06T12:09:05.986Z] Release-Date: 2020-01-08 [2023-04-06T12:09:05.986Z] 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-04-06T12:09:05.986Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-06T12:09:05.986Z] ==> Jenkins CI detected. [2023-04-06T12:09:05.986Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-375 [2023-04-06T12:09:05.986Z] project root: . [2023-04-06T12:09:05.986Z] --> token set from env [2023-04-06T12:09:05.986Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-06T12:09:05.986Z] ==> Running gcov in . (disable via -X gcov) [2023-04-06T12:09:05.986Z] ==> Python coveragepy not found [2023-04-06T12:09:05.986Z] ==> Searching for coverage reports in: [2023-04-06T12:09:05.986Z] + . [2023-04-06T12:09:05.986Z] -> Found 1 reports [2023-04-06T12:09:05.986Z] ==> Detecting git/mercurial file structure [2023-04-06T12:09:06.244Z] ==> Reading reports [2023-04-06T12:09:06.244Z] + ./coverage.out bytes=42791 [2023-04-06T12:09:06.244Z] ==> Appending adjustments [2023-04-06T12:09:06.244Z] https://docs.codecov.io/docs/fixing-reports [2023-04-06T12:09:06.244Z] + Found adjustments [2023-04-06T12:09:06.244Z] ==> Gzipping contents [2023-04-06T12:09:06.244Z] 8.0K /tmp/codecov.Hd6PkV.gz [2023-04-06T12:09:06.244Z] ==> Uploading reports [2023-04-06T12:09:06.244Z] url: https://codecov.io [2023-04-06T12:09:06.244Z] query: branch=PR-375&commit=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=375&job=&cmd_args= [2023-04-06T12:09:06.244Z] -> Pinging Codecov [2023-04-06T12:09:06.244Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-375&commit=53553fbfdb85d8aac7c429367c899f6fcbb3ab3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=375&job=&cmd_args= [2023-04-06T12:09:06.503Z] -> Uploading to [2023-04-06T12:09:06.503Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-06/5E52B4B073DB2E39498172D8E973AA87/53553fbfdb85d8aac7c429367c899f6fcbb3ab3b/29459edd-3d18-4b51-b797-ed554ca0dd9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T120906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2e3bb3b441b618cd9333b6489db57496e3ecd8a1363f1c0ba181940b55a8dad [2023-04-06T12:09:06.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T12:09:06.503Z] Dload Upload Total Spent Left Speed [2023-04-06T12:09:06.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5177 0 0 100 5177 0 17549 --:--:-- --:--:-- --:--:-- 17549 [2023-04-06T12:09:06.761Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/53553fbfdb85d8aac7c429367c899f6fcbb3ab3b [Pipeline] } [2023-04-06T12:09:06.790Z] 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-04-06T12:09:08.489Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-375/archives ] [2023-04-06T12:09:08.490Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-375/archives [2023-04-06T12:09:08.490Z] total 16 [2023-04-06T12:09:08.490Z] drwxr-xr-x 3 root root 4096 Apr 6 12:00 . [2023-04-06T12:09:08.490Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 12:00 .. [2023-04-06T12:09:08.490Z] drwxr-xr-x 2 root root 4096 Apr 6 12:00 cost [2023-04-06T12:09:08.490Z] -rw-r--r-- 1 root root 89 Apr 6 12:00 cost.csv [2023-04-06T12:09:08.490Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-375/archives [2023-04-06T12:09:08.490Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-375/archives [2023-04-06T12:09:08.490Z] total 16 [2023-04-06T12:09:08.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 12:00 . [2023-04-06T12:09:08.490Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 12:00 .. [2023-04-06T12:09:08.490Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 12:00 cost [2023-04-06T12:09:08.490Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 6 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:08.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:09.705Z] ---> package-listing.sh [2023-04-06T12:09:09.705Z] ++ facter osfamily [2023-04-06T12:09:09.705Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T12:09:09.963Z] + OS_FAMILY=debian [2023-04-06T12:09:09.963Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-375 [2023-04-06T12:09:09.963Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T12:09:09.963Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T12:09:09.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T12:09:09.963Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T12:09:09.963Z] + '[' /w/workspace/foundry_device-virtual-go_PR-375 ']' [2023-04-06T12:09:09.963Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T12:09:09.963Z] + case "${OS_FAMILY}" in [2023-04-06T12:09:09.963Z] + dpkg -l [2023-04-06T12:09:09.963Z] + grep '^ii' [2023-04-06T12:09:09.963Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T12:09:09.963Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T12:09:09.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T12:09:09.963Z] + '[' /w/workspace/foundry_device-virtual-go_PR-375 ']' [2023-04-06T12:09:09.963Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-375/archives/ [2023-04-06T12:09:09.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-375/archives/ [Pipeline] echo [2023-04-06T12:09:10.000Z] 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-375/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T12:09:10.288Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T12:09:10.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T12:09:10.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T12:09:11.058Z] prd-ubuntu20.04-docker-8c-8g-6992 does not seem to be running inside a container [2023-04-06T12:09:11.090Z] $ 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-375/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-375 -v /w/workspace/foundry_device-virtual-go_PR-375:/w/workspace/foundry_device-virtual-go_PR-375:rw,z -v /w/workspace/foundry_device-virtual-go_PR-375@tmp:/w/workspace/foundry_device-virtual-go_PR-375@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-04-06T12:09:11.344Z] $ docker top 1c98166ee05fa5c78a1b387294bd70338adb4f753080df7249586ba818909726 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T12:09:11.740Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T12:09:12.050Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T12:09:12.361Z] + ls /var/log/sa-host [2023-04-06T12:09:12.361Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T12:09:12.566Z] provisioning config files... [2023-04-06T12:09:12.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-375@tmp/config9062151002015167418tmp [Pipeline] { [Pipeline] echo [2023-04-06T12:09:12.629Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:12.937Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T12:09:12.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:13.356Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T12:09:13.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:13.694Z] ---> sudo-logs.sh [2023-04-06T12:09:13.694Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T12:09:13.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:14.081Z] ---> job-cost.sh [2023-04-06T12:09:14.081Z] lf-activate-venv: SKIPPING [2023-04-06T12:09:14.081Z] DEBUG: total: 0.2199999988079071 [2023-04-06T12:09:14.081Z] INFO: Retrieving Stack Cost... [2023-04-06T12:09:14.648Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T12:09:14.907Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T12:09:14.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T12:09:15.253Z] ---> logs-deploy.sh [2023-04-06T12:09:15.253Z] lf-activate-venv: SKIPPING [2023-04-06T12:09:15.253Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-375/1 [2023-04-06T12:09:15.253Z] INFO: archiving workspace using pattern(s): [2023-04-06T12:09:16.190Z] Archives upload complete. [2023-04-06T12:09:16.190Z] INFO: archiving logs to Nexus