lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb+9528f76d0c83bd26f38fd0f12715516a47528699 (eda5096915f3a7391e20c27849c3955a1b835a51) 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-ssh7855689479440644546.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh18129405634555547857.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2287572585643811107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh959009233726156183.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16644326476777257193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19485’ Running on prd-ubuntu20.04-docker-8c-8g-19486 in /w/workspace/foundry_device-virtual-go_PR-294 [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-294 # 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 Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) > 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/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # 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 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" > git rev-list --no-walk cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T22:55:19.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T22:55:19.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T22:55:19.569Z] ========================================================= [2022-07-11T22:55:19.569Z] EdgeX Global Pipelines Version Info [2022-07-11T22:55:19.569Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:55:20.342Z] ------------------- [2022-07-11T22:55:20.342Z] stable info: [2022-07-11T22:55:20.342Z] ------------------- [2022-07-11T22:55:20.342Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T22:55:20.342Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-11T22:55:20.342Z] Message: update stable to v1.0.237 [2022-07-11T22:55:20.915Z] ------------------- [2022-07-11T22:55:20.915Z] experimental info: [2022-07-11T22:55:20.915Z] ------------------- [2022-07-11T22:55:20.915Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-11T22:55:20.915Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-11T22:55:20.915Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T22:55:21.099Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-07-11T22:55:21.108Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-07-11T22:55:21.116Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T22:55:21.124Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T22:55:21.131Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T22:55:21.140Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-11T22:55:21.149Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T22:55:21.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T22:55:21.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T22:55:21.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T22:55:21.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T22:55:21.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-07-11T22:55:21.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T22:55:21.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T22:55:21.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T22:55:21.253Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T22:55:21.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T22:55:21.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T22:55:21.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T22:55:21.302Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T22:55:21.313Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T22:55:21.327Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T22:55:21.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T22:55:21.351Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T22:55:21.361Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T22:55:21.372Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T22:55:21.383Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T22:55:21.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo [2022-07-11T22:55:21.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo [2022-07-11T22:55:21.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo [2022-07-11T22:55:21.440Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T22:55:21.451Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd58f92 [Pipeline] echo [2022-07-11T22:55:21.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T22:55:21.524Z] provisioning config files... [2022-07-11T22:55:21.540Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config387635115041651124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:55:21.844Z] ---> docker-login.sh [2022-07-11T22:55:21.844Z] nexus3.edgexfoundry.org:10001 [2022-07-11T22:55:22.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:22.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:22.106Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:22.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:22.106Z] [2022-07-11T22:55:22.106Z] Login Succeeded [2022-07-11T22:55:22.106Z] nexus3.edgexfoundry.org:10002 [2022-07-11T22:55:22.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:22.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:22.368Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:22.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:22.368Z] [2022-07-11T22:55:22.368Z] Login Succeeded [2022-07-11T22:55:22.368Z] nexus3.edgexfoundry.org:10003 [2022-07-11T22:55:22.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:22.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:22.368Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:22.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:22.368Z] [2022-07-11T22:55:22.368Z] Login Succeeded [2022-07-11T22:55:22.368Z] nexus3.edgexfoundry.org:10004 [2022-07-11T22:55:22.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:22.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:22.629Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:22.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:22.629Z] [2022-07-11T22:55:22.629Z] Login Succeeded [2022-07-11T22:55:22.629Z] docker.io [2022-07-11T22:55:22.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:23.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:23.202Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:23.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:23.202Z] [2022-07-11T22:55:23.202Z] Login Succeeded [2022-07-11T22:55:23.202Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T22:55:23.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T22:55:23.593Z] + git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T22:55:23.626Z] -----------> git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [false] [Pipeline] sh [2022-07-11T22:55:23.916Z] + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T22:55:23.929Z] ========================================================= [2022-07-11T22:55:23.929Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T22:55:23.929Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T22:55:24.260Z] + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T22:55:24.272Z] [semverPrep] GIT_COMMIT: cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo [2022-07-11T22:55:24.280Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T22:55:24.631Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T22:55:24.631Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T22:55:24.631Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T22:55:24.631Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T22:55:24.631Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T22:55:24.631Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T22:55:24.631Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:55:24.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:55:24.987Z] [2022-07-11T22:55:24.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:55:25.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:55:25.307Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T22:55:25.307Z] b85a868b505f: Pulling fs layer [2022-07-11T22:55:25.307Z] e2be974225ed: Pulling fs layer [2022-07-11T22:55:25.307Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T22:55:25.307Z] 988bab9f4d93: Pulling fs layer [2022-07-11T22:55:25.307Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T22:55:25.307Z] eaf3925da568: Pulling fs layer [2022-07-11T22:55:25.307Z] bab4dde63d76: Pulling fs layer [2022-07-11T22:55:25.307Z] bde34c3a00c8: Pulling fs layer [2022-07-11T22:55:25.307Z] b352a97aabf1: Pulling fs layer [2022-07-11T22:55:25.307Z] 4872d77fe225: Pulling fs layer [2022-07-11T22:55:25.307Z] 5851b861e8e6: Pulling fs layer [2022-07-11T22:55:25.307Z] 988bab9f4d93: Waiting [2022-07-11T22:55:25.307Z] 1469e6f7b9e6: Waiting [2022-07-11T22:55:25.307Z] eaf3925da568: Waiting [2022-07-11T22:55:25.307Z] bab4dde63d76: Waiting [2022-07-11T22:55:25.307Z] bde34c3a00c8: Waiting [2022-07-11T22:55:25.307Z] b352a97aabf1: Waiting [2022-07-11T22:55:25.307Z] 5851b861e8e6: Waiting [2022-07-11T22:55:25.307Z] 4872d77fe225: Waiting [2022-07-11T22:55:25.307Z] e2be974225ed: Verifying Checksum [2022-07-11T22:55:25.307Z] e2be974225ed: Download complete [2022-07-11T22:55:25.307Z] 988bab9f4d93: Verifying Checksum [2022-07-11T22:55:25.307Z] 988bab9f4d93: Download complete [2022-07-11T22:55:25.569Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T22:55:25.569Z] 1469e6f7b9e6: Download complete [2022-07-11T22:55:25.569Z] eaf3925da568: Verifying Checksum [2022-07-11T22:55:25.569Z] eaf3925da568: Download complete [2022-07-11T22:55:25.569Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T22:55:25.569Z] 339a4e72a1f5: Download complete [2022-07-11T22:55:25.569Z] bde34c3a00c8: Verifying Checksum [2022-07-11T22:55:25.569Z] bde34c3a00c8: Download complete [2022-07-11T22:55:25.569Z] b352a97aabf1: Verifying Checksum [2022-07-11T22:55:25.569Z] b352a97aabf1: Download complete [2022-07-11T22:55:25.569Z] 4872d77fe225: Verifying Checksum [2022-07-11T22:55:25.569Z] 4872d77fe225: Download complete [2022-07-11T22:55:25.569Z] 5851b861e8e6: Verifying Checksum [2022-07-11T22:55:25.569Z] 5851b861e8e6: Download complete [2022-07-11T22:55:25.569Z] b85a868b505f: Verifying Checksum [2022-07-11T22:55:25.569Z] b85a868b505f: Download complete [2022-07-11T22:55:25.839Z] bab4dde63d76: Verifying Checksum [2022-07-11T22:55:25.839Z] bab4dde63d76: Download complete [2022-07-11T22:55:27.229Z] b85a868b505f: Pull complete [2022-07-11T22:55:27.229Z] e2be974225ed: Pull complete [2022-07-11T22:55:27.803Z] 339a4e72a1f5: Pull complete [2022-07-11T22:55:27.803Z] 988bab9f4d93: Pull complete [2022-07-11T22:55:28.064Z] 1469e6f7b9e6: Pull complete [2022-07-11T22:55:28.064Z] eaf3925da568: Pull complete [2022-07-11T22:55:29.975Z] bab4dde63d76: Pull complete [2022-07-11T22:55:29.975Z] bde34c3a00c8: Pull complete [2022-07-11T22:55:30.237Z] b352a97aabf1: Pull complete [2022-07-11T22:55:30.237Z] 4872d77fe225: Pull complete [2022-07-11T22:55:30.498Z] 5851b861e8e6: Pull complete [2022-07-11T22:55:30.498Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T22:55:30.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T22:55:30.498Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:55:30.603Z] prd-ubuntu20.04-docker-8c-8g-19486 does not seem to be running inside a container [2022-07-11T22:55:30.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T22:55:32.234Z] $ docker top 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc -eo pid,comm [2022-07-11T22:55:32.307Z] 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). [2022-07-11T22:55:32.307Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T22:55:32.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T22:55:32.347Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T22:55:32.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T22:55:32.490Z] $ docker exec 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc ssh-agent [2022-07-11T22:55:32.613Z] SSH_AUTH_SOCK=/tmp/ssh-59FxFLRHW1IX/agent.34 [2022-07-11T22:55:32.613Z] SSH_AGENT_PID=41 [2022-07-11T22:55:32.619Z] Running ssh-add (command line suppressed) [2022-07-11T22:55:32.754Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_2042236520046294693.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_2042236520046294693.key) [2022-07-11T22:55:32.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T22:55:33.070Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T22:55:33.080Z] $ docker exec --env ******** --env ******** 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc ssh-agent -k [2022-07-11T22:55:33.192Z] unset SSH_AUTH_SOCK; [2022-07-11T22:55:33.192Z] unset SSH_AGENT_PID; [2022-07-11T22:55:33.192Z] echo Agent pid 41 killed; [2022-07-11T22:55:33.209Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T22:55:33.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T22:55:33.239Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T22:55:33.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T22:55:33.356Z] $ docker exec 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc ssh-agent [2022-07-11T22:55:33.478Z] SSH_AUTH_SOCK=/tmp/ssh-PO9KI6cy9ltS/agent.74 [2022-07-11T22:55:33.478Z] SSH_AGENT_PID=80 [2022-07-11T22:55:33.483Z] Running ssh-add (command line suppressed) [2022-07-11T22:55:33.582Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_3246156138377731626.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_3246156138377731626.key) [2022-07-11T22:55:33.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T22:55:33.890Z] + git semver init [2022-07-11T22:55:34.150Z] 2022-07-11 22:55:34,084 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T22:55:34.150Z] 2022-07-11 22:55:34,084 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-294/.semver [2022-07-11T22:55:34.150Z] 2022-07-11 22:55:34,084 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-294/.semver [2022-07-11T22:55:34.150Z] 2022-07-11 22:55:34,085 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-294/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-294, universal_newlines=False, shell=None, istream=None) [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,034 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-294/.git/info/exclude [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 with force:False [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,035 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,040 [execute] INFO git cat-file --batch-check [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,047 [execute] INFO git cat-file --batch [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T22:55:35.092Z] 2022-07-11 22:55:35,052 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 [2022-07-11T22:55:35.092Z] 0.0.0 [Pipeline] } [2022-07-11T22:55:35.101Z] $ docker exec --env ******** --env ******** 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc ssh-agent -k [2022-07-11T22:55:35.203Z] unset SSH_AUTH_SOCK; [2022-07-11T22:55:35.204Z] unset SSH_AGENT_PID; [2022-07-11T22:55:35.204Z] echo Agent pid 80 killed; [2022-07-11T22:55:35.217Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T22:55:35.534Z] + git semver [Pipeline] } [2022-07-11T22:55:35.811Z] $ docker stop --time=1 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc [2022-07-11T22:55:37.120Z] $ docker rm -f 98c8fa3c91cd453b85252966bcbdc030d65d160139b43b7d29fd220198169fdc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T22:55:37.477Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T22:55:37.741Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T22:55:37.744Z] [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 [2022-07-11T22:55:37.903Z] provisioning config files... [2022-07-11T22:55:37.914Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config6309353746268657455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:55:38.211Z] ---> docker-login.sh [2022-07-11T22:55:38.211Z] nexus3.edgexfoundry.org:10001 [2022-07-11T22:55:38.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:38.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:38.211Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:38.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:38.211Z] [2022-07-11T22:55:38.211Z] Login Succeeded [2022-07-11T22:55:38.211Z] nexus3.edgexfoundry.org:10002 [2022-07-11T22:55:38.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:38.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:38.472Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:38.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:38.472Z] [2022-07-11T22:55:38.472Z] Login Succeeded [2022-07-11T22:55:38.472Z] nexus3.edgexfoundry.org:10003 [2022-07-11T22:55:38.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:38.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:38.472Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:38.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:38.472Z] [2022-07-11T22:55:38.472Z] Login Succeeded [2022-07-11T22:55:38.472Z] nexus3.edgexfoundry.org:10004 [2022-07-11T22:55:38.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:38.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:38.732Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:38.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:38.732Z] [2022-07-11T22:55:38.732Z] Login Succeeded [2022-07-11T22:55:38.732Z] docker.io [2022-07-11T22:55:38.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:55:38.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:55:38.993Z] Configure a credential helper to remove this warning. See [2022-07-11T22:55:38.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:55:38.993Z] [2022-07-11T22:55:38.993Z] Login Succeeded [2022-07-11T22:55:38.993Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T22:55:39.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T22:55:39.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T22:55:39.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T22:55:39.091Z] ========================================================= [2022-07-11T22:55:39.091Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-11T22:55:39.091Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:55:39.402Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T22:55:39.403Z] Sending build context to Docker daemon 23.09MB [2022-07-11T22:55:39.403Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T22:55:39.403Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T22:55:39.665Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T22:55:39.665Z] 2408cc74d12b: Pulling fs layer [2022-07-11T22:55:39.665Z] ea60b727a1ce: Pulling fs layer [2022-07-11T22:55:39.665Z] 30c4a7721957: Pulling fs layer [2022-07-11T22:55:39.665Z] 370296b7ddb6: Pulling fs layer [2022-07-11T22:55:39.665Z] 7c6cee850709: Pulling fs layer [2022-07-11T22:55:39.665Z] 39a5fcdaea64: Pulling fs layer [2022-07-11T22:55:39.665Z] d94ebbe4e438: Pulling fs layer [2022-07-11T22:55:39.665Z] bcfd1f05c69d: Pulling fs layer [2022-07-11T22:55:39.665Z] 59ccb84bbe0f: Pulling fs layer [2022-07-11T22:55:39.665Z] d94ebbe4e438: Waiting [2022-07-11T22:55:39.665Z] 7c6cee850709: Waiting [2022-07-11T22:55:39.665Z] 39a5fcdaea64: Waiting [2022-07-11T22:55:39.665Z] 59ccb84bbe0f: Waiting [2022-07-11T22:55:39.665Z] bcfd1f05c69d: Waiting [2022-07-11T22:55:39.665Z] 30c4a7721957: Verifying Checksum [2022-07-11T22:55:39.665Z] 30c4a7721957: Download complete [2022-07-11T22:55:39.665Z] ea60b727a1ce: Verifying Checksum [2022-07-11T22:55:39.665Z] ea60b727a1ce: Download complete [2022-07-11T22:55:39.665Z] 7c6cee850709: Verifying Checksum [2022-07-11T22:55:39.665Z] 7c6cee850709: Download complete [2022-07-11T22:55:39.665Z] 39a5fcdaea64: Verifying Checksum [2022-07-11T22:55:39.665Z] 39a5fcdaea64: Download complete [2022-07-11T22:55:39.665Z] 2408cc74d12b: Verifying Checksum [2022-07-11T22:55:39.665Z] 2408cc74d12b: Download complete [2022-07-11T22:55:39.665Z] d94ebbe4e438: Verifying Checksum [2022-07-11T22:55:39.665Z] d94ebbe4e438: Download complete [2022-07-11T22:55:39.665Z] 2408cc74d12b: Pull complete [2022-07-11T22:55:39.932Z] ea60b727a1ce: Pull complete [2022-07-11T22:55:39.932Z] 30c4a7721957: Pull complete [2022-07-11T22:55:40.194Z] 59ccb84bbe0f: Verifying Checksum [2022-07-11T22:55:40.194Z] 59ccb84bbe0f: Download complete [2022-07-11T22:55:40.194Z] bcfd1f05c69d: Verifying Checksum [2022-07-11T22:55:40.194Z] bcfd1f05c69d: Download complete [2022-07-11T22:55:40.455Z] 370296b7ddb6: Download complete [2022-07-11T22:55:44.655Z] 370296b7ddb6: Pull complete [2022-07-11T22:55:44.655Z] 7c6cee850709: Pull complete [2022-07-11T22:55:44.655Z] 39a5fcdaea64: Pull complete [2022-07-11T22:55:44.655Z] d94ebbe4e438: Pull complete [2022-07-11T22:55:47.201Z] bcfd1f05c69d: Pull complete [2022-07-11T22:55:47.772Z] 59ccb84bbe0f: Pull complete [2022-07-11T22:55:47.772Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-11T22:55:47.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-11T22:55:47.772Z] ---> a4fb48ad2a94 [2022-07-11T22:55:47.772Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T22:55:49.685Z] ---> Running in b3f940435165 [2022-07-11T22:55:49.685Z] Removing intermediate container b3f940435165 [2022-07-11T22:55:49.685Z] ---> b0b3695c705a [2022-07-11T22:55:49.685Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T22:55:49.685Z] ---> Running in 28486a5eec99 [2022-07-11T22:55:49.685Z] Removing intermediate container 28486a5eec99 [2022-07-11T22:55:49.685Z] ---> e070765310f6 [2022-07-11T22:55:49.685Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T22:55:49.685Z] ---> Running in 1553874fb8cb [2022-07-11T22:55:49.944Z] Removing intermediate container 1553874fb8cb [2022-07-11T22:55:49.944Z] ---> af55daf0f762 [2022-07-11T22:55:49.944Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T22:55:49.944Z] ---> Running in 75addea21139 [2022-07-11T22:55:50.512Z] Removing intermediate container 75addea21139 [2022-07-11T22:55:50.512Z] ---> d7fbf8f96f25 [2022-07-11T22:55:50.512Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T22:55:50.512Z] ---> Running in 273215a66faa [2022-07-11T22:55:50.772Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T22:55:51.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T22:55:52.286Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T22:55:52.286Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T22:55:52.286Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T22:55:52.545Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T22:55:52.545Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T22:55:52.545Z] OK: 216 MiB in 55 packages [2022-07-11T22:55:52.860Z] Still waiting to schedule task [2022-07-11T22:55:52.861Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19479’ [2022-07-11T22:55:53.112Z] Removing intermediate container 273215a66faa [2022-07-11T22:55:53.112Z] ---> 70a575a99a60 [2022-07-11T22:55:53.112Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T22:55:53.112Z] ---> d5aa52bcb411 [2022-07-11T22:55:53.112Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T22:55:53.112Z] ---> Running in d05f9773ff68 [2022-07-11T22:56:08.010Z] Removing intermediate container d05f9773ff68 [2022-07-11T22:56:08.010Z] ---> 549fb7bb79ad [2022-07-11T22:56:08.010Z] Step 10/12 : COPY . . [2022-07-11T22:56:08.579Z] ---> 6a6e8ab507b9 [2022-07-11T22:56:08.579Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T22:56:08.579Z] ---> Running in 0b86d4b38772 [2022-07-11T22:56:08.579Z] Removing intermediate container 0b86d4b38772 [2022-07-11T22:56:08.579Z] ---> 8847af27ca94 [2022-07-11T22:56:08.579Z] Step 12/12 : RUN $MAKE [2022-07-11T22:56:08.579Z] ---> Running in d20b6ba3def9 [2022-07-11T22:56:08.841Z] noop [2022-07-11T22:56:09.100Z] Removing intermediate container d20b6ba3def9 [2022-07-11T22:56:09.100Z] ---> a63c98d095ff [2022-07-11T22:56:09.100Z] Successfully built a63c98d095ff [2022-07-11T22:56:09.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:56:09.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T22:56:09.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:56:09.495Z] prd-ubuntu20.04-docker-8c-8g-19486 does not seem to be running inside a container [2022-07-11T22:56:09.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T22:56:09.945Z] $ docker top 957cb921bbbc840eacd6a112e6a7084170a50bb67e90bf1f107c6bf878193f77 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T22:56:10.296Z] + go version [2022-07-11T22:56:10.296Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-11T22:56:10.311Z] $ docker stop --time=1 957cb921bbbc840eacd6a112e6a7084170a50bb67e90bf1f107c6bf878193f77 [2022-07-11T22:56:11.596Z] $ docker rm -f 957cb921bbbc840eacd6a112e6a7084170a50bb67e90bf1f107c6bf878193f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:56:11.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T22:56:11.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:56:12.093Z] prd-ubuntu20.04-docker-8c-8g-19486 does not seem to be running inside a container [2022-07-11T22:56:12.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T22:56:12.587Z] $ docker top 1a92da890b10d98e234ca28cfb4730a097895fdc9b4b129e3de1e4808894ed96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T22:56:12.936Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-294 [Pipeline] fileExists [Pipeline] sh [2022-07-11T22:56:13.230Z] + make test [2022-07-11T22:56:13.230Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T22:56:13.489Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T22:56:23.467Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T22:56:23.730Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements [2022-07-11T22:56:30.320Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-11T22:56:30.320Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T22:56:32.853Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T22:56:32.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T22:56:32.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T22:56:32.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T22:56:32.885Z] $ docker stop --time=1 1a92da890b10d98e234ca28cfb4730a097895fdc9b4b129e3de1e4808894ed96 [2022-07-11T22:56:34.735Z] $ docker rm -f 1a92da890b10d98e234ca28cfb4730a097895fdc9b4b129e3de1e4808894ed96 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T22:56:35.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T22:56:35.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T22:56:35.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T22:56:36.016Z] + ls -al . [2022-07-11T22:56:36.016Z] total 192 [2022-07-11T22:56:36.016Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 22:56 . [2022-07-11T22:56:36.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:55 .. [2022-07-11T22:56:36.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 22:56 .git [2022-07-11T22:56:36.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:55 .github [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 22:55 .gitignore [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 22:55 .golangci.yml [2022-07-11T22:56:36.016Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 22:55 .semver [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 22:55 Attribution.txt [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 22:55 CHANGELOG.md [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 1978 Jul 11 22:55 Dockerfile [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 22:55 GOVERNANCE.md [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 22:55 Jenkinsfile [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 22:55 LICENSE [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 22:55 Makefile [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 22:55 OWNERS.md [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 22:55 README.md [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 22:55 VERSION [2022-07-11T22:56:36.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:55 bin [2022-07-11T22:56:36.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:55 cmd [2022-07-11T22:56:36.016Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 22:56 coverage.out [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 22:55 go.mod [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 34837 Jul 11 22:55 go.sum [2022-07-11T22:56:36.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:55 internal [2022-07-11T22:56:36.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:55 snap [2022-07-11T22:56:36.016Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:56:36.339Z] + 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=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb --label arch=amd64 --label version=0.0.0 . [2022-07-11T22:56:36.339Z] Sending build context to Docker daemon 23.13MB [2022-07-11T22:56:36.339Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T22:56:36.339Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T22:56:36.339Z] ---> a63c98d095ff [2022-07-11T22:56:36.339Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T22:56:36.599Z] ---> Running in 75fe99bdfd27 [2022-07-11T22:56:36.859Z] Removing intermediate container 75fe99bdfd27 [2022-07-11T22:56:36.859Z] ---> 83514c96372d [2022-07-11T22:56:36.859Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T22:56:36.859Z] ---> Running in 5ded34486810 [2022-07-11T22:56:37.121Z] Removing intermediate container 5ded34486810 [2022-07-11T22:56:37.121Z] ---> 9388c4f10033 [2022-07-11T22:56:37.121Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-11T22:56:37.121Z] ---> Running in fd23b0faefbe [2022-07-11T22:56:37.383Z] Removing intermediate container fd23b0faefbe [2022-07-11T22:56:37.383Z] ---> d4991d51e66b [2022-07-11T22:56:37.383Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T22:56:37.383Z] ---> Running in f6b07694b7d5 [2022-07-11T22:56:37.951Z] Removing intermediate container f6b07694b7d5 [2022-07-11T22:56:37.951Z] ---> 005a7de7340b [2022-07-11T22:56:37.951Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T22:56:37.951Z] ---> Running in 9b064f9021b9 [2022-07-11T22:56:38.212Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T22:56:39.155Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T22:56:39.415Z] OK: 216 MiB in 55 packages [2022-07-11T22:56:39.677Z] Removing intermediate container 9b064f9021b9 [2022-07-11T22:56:39.677Z] ---> 40290b526211 [2022-07-11T22:56:39.677Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-11T22:56:39.937Z] ---> b936ab500a7f [2022-07-11T22:56:39.937Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T22:56:39.937Z] ---> Running in 292a3c598e56 [2022-07-11T22:56:40.877Z] Removing intermediate container 292a3c598e56 [2022-07-11T22:56:40.877Z] ---> 7a5d83dc3459 [2022-07-11T22:56:40.877Z] Step 10/26 : COPY . . [2022-07-11T22:56:41.144Z] ---> 670c492520d2 [2022-07-11T22:56:41.144Z] Step 11/26 : ARG MAKE='make build' [2022-07-11T22:56:41.144Z] ---> Running in 2bb8a49de712 [2022-07-11T22:56:41.404Z] Removing intermediate container 2bb8a49de712 [2022-07-11T22:56:41.404Z] ---> 4c2029033110 [2022-07-11T22:56:41.404Z] Step 12/26 : RUN $MAKE [2022-07-11T22:56:41.404Z] ---> Running in a1bab80bf935 [2022-07-11T22:56:41.664Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-07-11T22:57:03.604Z] Removing intermediate container a1bab80bf935 [2022-07-11T22:57:03.604Z] ---> 502c9b3e0474 [2022-07-11T22:57:03.604Z] Step 13/26 : FROM alpine:3.16 [2022-07-11T22:57:03.604Z] 3.16: Pulling from library/alpine [2022-07-11T22:57:03.604Z] 2408cc74d12b: Already exists [2022-07-11T22:57:03.604Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T22:57:03.604Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T22:57:03.604Z] ---> e66264b98777 [2022-07-11T22:57:03.604Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-11T22:57:03.604Z] ---> Running in 8266c3b77fd8 [2022-07-11T22:57:03.604Z] Removing intermediate container 8266c3b77fd8 [2022-07-11T22:57:03.604Z] ---> 8f6994f04568 [2022-07-11T22:57:03.604Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T22:57:03.604Z] ---> Running in 8a14be3a67de [2022-07-11T22:57:03.604Z] Removing intermediate container 8a14be3a67de [2022-07-11T22:57:03.604Z] ---> 62fbd193ce3d [2022-07-11T22:57:03.604Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T22:57:03.604Z] ---> Running in 174c4835558e [2022-07-11T22:57:03.604Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T22:57:04.176Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T22:57:04.438Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T22:57:04.698Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T22:57:04.698Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T22:57:04.959Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T22:57:04.959Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T22:57:04.959Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T22:57:05.220Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T22:57:05.220Z] OK: 8 MiB in 20 packages [2022-07-11T22:57:05.790Z] Removing intermediate container 174c4835558e [2022-07-11T22:57:05.790Z] ---> 4930443698bb [2022-07-11T22:57:05.790Z] Step 17/26 : WORKDIR / [2022-07-11T22:57:05.790Z] ---> Running in fe56e71e67ee [2022-07-11T22:57:05.790Z] Removing intermediate container fe56e71e67ee [2022-07-11T22:57:05.790Z] ---> 4a532717b7af [2022-07-11T22:57:05.790Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-11T22:57:06.050Z] ---> 5f1276b83c62 [2022-07-11T22:57:06.050Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-11T22:57:06.050Z] ---> b4c3cd7dc142 [2022-07-11T22:57:06.050Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-11T22:57:06.620Z] ---> 1c82af4f5910 [2022-07-11T22:57:06.620Z] Step 21/26 : EXPOSE 59900 [2022-07-11T22:57:06.879Z] ---> Running in ae13e23b2a2c [2022-07-11T22:57:06.879Z] Removing intermediate container ae13e23b2a2c [2022-07-11T22:57:06.879Z] ---> b89b5704ab40 [2022-07-11T22:57:06.879Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-11T22:57:06.879Z] ---> Running in d34052038161 [2022-07-11T22:57:06.879Z] Removing intermediate container d34052038161 [2022-07-11T22:57:06.879Z] ---> f52252eec48b [2022-07-11T22:57:06.879Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T22:57:07.138Z] ---> Running in 48f5f04e9603 [2022-07-11T22:57:07.138Z] Removing intermediate container 48f5f04e9603 [2022-07-11T22:57:07.138Z] ---> b8fea65ee53b [2022-07-11T22:57:07.138Z] Step 24/26 : LABEL arch=amd64 [2022-07-11T22:57:07.138Z] ---> Running in 0c1964b6d6e4 [2022-07-11T22:57:07.138Z] Removing intermediate container 0c1964b6d6e4 [2022-07-11T22:57:07.138Z] ---> f56eb7c7feb7 [2022-07-11T22:57:07.138Z] Step 25/26 : LABEL git_sha=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T22:57:07.398Z] ---> Running in 2a25296163f7 [2022-07-11T22:57:07.398Z] Removing intermediate container 2a25296163f7 [2022-07-11T22:57:07.398Z] ---> cdb7abf53f80 [2022-07-11T22:57:07.398Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T22:57:07.398Z] ---> Running in 7ade3d8fea2d [2022-07-11T22:57:07.660Z] Removing intermediate container 7ade3d8fea2d [2022-07-11T22:57:07.660Z] ---> a8909e6a9308 [2022-07-11T22:57:07.660Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T22:57:07.660Z] Successfully built a8909e6a9308 [2022-07-11T22:57:07.660Z] 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 [2022-07-11T22:57:08.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T22:57:08.126Z] [2022-07-11T22:57:08.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:57:08.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T22:57:08.432Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T22:57:08.432Z] 5eb5b503b376: Pulling fs layer [2022-07-11T22:57:08.432Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T22:57:08.432Z] ec43610c2a17: Pulling fs layer [2022-07-11T22:57:08.432Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T22:57:08.432Z] 33b1e0a273af: Pulling fs layer [2022-07-11T22:57:08.432Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T22:57:08.432Z] 2f39f015ded8: Pulling fs layer [2022-07-11T22:57:08.432Z] 33b1e0a273af: Waiting [2022-07-11T22:57:08.432Z] 3a2ae6a8a46f: Waiting [2022-07-11T22:57:08.432Z] 5d3b04190fa2: Waiting [2022-07-11T22:57:08.432Z] 2f39f015ded8: Waiting [2022-07-11T22:57:08.432Z] 5c69ac0246d0: Verifying Checksum [2022-07-11T22:57:08.432Z] 5c69ac0246d0: Download complete [2022-07-11T22:57:08.432Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T22:57:08.432Z] 3a2ae6a8a46f: Download complete [2022-07-11T22:57:08.432Z] 33b1e0a273af: Verifying Checksum [2022-07-11T22:57:08.432Z] 33b1e0a273af: Download complete [2022-07-11T22:57:08.432Z] ec43610c2a17: Verifying Checksum [2022-07-11T22:57:08.432Z] ec43610c2a17: Download complete [2022-07-11T22:57:08.432Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T22:57:08.432Z] 5d3b04190fa2: Download complete [2022-07-11T22:57:08.691Z] 5eb5b503b376: Download complete [2022-07-11T22:57:09.259Z] 2f39f015ded8: Verifying Checksum [2022-07-11T22:57:09.259Z] 2f39f015ded8: Download complete [2022-07-11T22:57:09.829Z] 5eb5b503b376: Pull complete [2022-07-11T22:57:10.088Z] 5c69ac0246d0: Pull complete [2022-07-11T22:57:10.659Z] ec43610c2a17: Pull complete [2022-07-11T22:57:10.659Z] 3a2ae6a8a46f: Pull complete [2022-07-11T22:57:10.918Z] 33b1e0a273af: Pull complete [2022-07-11T22:57:10.918Z] 5d3b04190fa2: Pull complete [2022-07-11T22:57:15.112Z] 2f39f015ded8: Pull complete [2022-07-11T22:57:15.112Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T22:57:15.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T22:57:15.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T22:57:15.204Z] prd-ubuntu20.04-docker-8c-8g-19486 does not seem to be running inside a container [2022-07-11T22:57:15.245Z] $ 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-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T22:57:16.870Z] $ docker top fe4eb46dc10c1f01bc47f62df50dddcf9871347cd4a5ed6333a24b270c691c09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:57:17.261Z] ---> job-cost.sh [2022-07-11T22:57:17.261Z] lf-activate-venv: SKIPPING [2022-07-11T22:57:17.261Z] INFO: No Stack... [2022-07-11T22:57:17.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T22:57:18.095Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T22:57:18.383Z] + cat /w/workspace/foundry_device-virtual-go_PR-294/archives/cost.csv [2022-07-11T22:57:18.383Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T22:57:18.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [2022-07-11T22:57:18.404Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] did not exist. Created. [2022-07-11T22:57:18.404Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T22:57:18.707Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T22:57:18.731Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T22:57:18.738Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T22:57:18.764Z] $ docker stop --time=1 fe4eb46dc10c1f01bc47f62df50dddcf9871347cd4a5ed6333a24b270c691c09 [2022-07-11T22:57:19.956Z] $ docker rm -f fe4eb46dc10c1f01bc47f62df50dddcf9871347cd4a5ed6333a24b270c691c09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T22:58:48.620Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19488 in /w/workspace/foundry_device-virtual-go_PR-294 [Pipeline] { [Pipeline] ws [2022-07-11T22:58:48.635Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2022-07-11T22:58:48.663Z] The recommended git tool is: git [2022-07-11T22:58:54.211Z] using credential edgex-jenkins-ssh [2022-07-11T22:58:54.230Z] Cloning the remote Git repository [2022-07-11T22:58:54.316Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T22:58:54.505Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2022-07-11T22:58:54.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T22:58:54.599Z] > git --version # timeout=10 [2022-07-11T22:58:54.622Z] > git --version # 'git version 2.25.1' [2022-07-11T22:58:54.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T22:58:54.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T22:58:57.262Z] Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T22:58:57.514Z] Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T22:58:57.515Z] Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) [2022-07-11T22:58:56.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T22:58:56.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T22:58:56.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T22:58:56.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T22:58:56.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T22:58:56.745Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T22:58:57.288Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T22:58:57.317Z] > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 [2022-07-11T22:58:57.414Z] > git remote # timeout=10 [2022-07-11T22:58:57.432Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T22:58:57.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T22:58:57.467Z] > git merge 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 [2022-07-11T22:58:57.494Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T22:58:57.526Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T22:58:57.543Z] > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 [2022-07-11T22:59:01.794Z] Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T22:59:02.828Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T22:59:02.828Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T22:59:02.828Z] Dload Upload Total Spent Left Speed [2022-07-11T22:59:02.828Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 94430 0 --:--:-- --:--:-- --:--:-- 95162 [Pipeline] sh [2022-07-11T22:59:03.575Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T22:59:03.914Z] + sudo tee /etc/docker/daemon.new [2022-07-11T22:59:03.914Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T22:59:03.914Z] { [2022-07-11T22:59:03.914Z] "registry-mirrors": [ [2022-07-11T22:59:03.914Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T22:59:03.914Z] ], [2022-07-11T22:59:03.914Z] "bip": "10.250.0.254/24", [2022-07-11T22:59:03.914Z] "hosts": [ [2022-07-11T22:59:03.914Z] "tcp://0.0.0.0:5555", [2022-07-11T22:59:03.914Z] "unix:///var/run/docker.sock" [2022-07-11T22:59:03.914Z] ], [2022-07-11T22:59:03.914Z] "mtu": 1458, [2022-07-11T22:59:03.914Z] "selinux-enabled": true, [2022-07-11T22:59:03.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T22:59:03.914Z] } [Pipeline] sh [2022-07-11T22:59:04.257Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T22:59:04.599Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T22:59:22.950Z] provisioning config files... [2022-07-11T22:59:22.977Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config6825393496682999527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T22:59:23.576Z] ---> docker-login.sh [2022-07-11T22:59:23.576Z] nexus3.edgexfoundry.org:10001 [2022-07-11T22:59:24.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:59:24.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:59:24.452Z] Configure a credential helper to remove this warning. See [2022-07-11T22:59:24.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:59:24.452Z] [2022-07-11T22:59:24.452Z] Login Succeeded [2022-07-11T22:59:24.452Z] nexus3.edgexfoundry.org:10002 [2022-07-11T22:59:25.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:59:25.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:59:25.054Z] Configure a credential helper to remove this warning. See [2022-07-11T22:59:25.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:59:25.054Z] [2022-07-11T22:59:25.054Z] Login Succeeded [2022-07-11T22:59:25.054Z] nexus3.edgexfoundry.org:10003 [2022-07-11T22:59:25.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:59:25.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:59:25.607Z] Configure a credential helper to remove this warning. See [2022-07-11T22:59:25.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:59:25.607Z] [2022-07-11T22:59:25.607Z] Login Succeeded [2022-07-11T22:59:25.607Z] nexus3.edgexfoundry.org:10004 [2022-07-11T22:59:25.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:59:25.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:59:25.883Z] Configure a credential helper to remove this warning. See [2022-07-11T22:59:25.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:59:25.883Z] [2022-07-11T22:59:25.883Z] Login Succeeded [2022-07-11T22:59:25.883Z] docker.io [2022-07-11T22:59:26.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T22:59:26.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T22:59:26.754Z] Configure a credential helper to remove this warning. See [2022-07-11T22:59:26.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T22:59:26.754Z] [2022-07-11T22:59:26.754Z] Login Succeeded [2022-07-11T22:59:26.754Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T22:59:26.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T22:59:27.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T22:59:27.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T22:59:27.096Z] ========================================================= [2022-07-11T22:59:27.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-11T22:59:27.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T22:59:27.454Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T22:59:27.730Z] Sending build context to Docker daemon 11.69MB [2022-07-11T22:59:28.009Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T22:59:28.009Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T22:59:28.009Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T22:59:28.009Z] b3c136eddcbf: Pulling fs layer [2022-07-11T22:59:28.009Z] c0a3192eca97: Pulling fs layer [2022-07-11T22:59:28.009Z] a050256f5b6f: Pulling fs layer [2022-07-11T22:59:28.009Z] 656be50a0ddc: Pulling fs layer [2022-07-11T22:59:28.009Z] 2bbca73fdf42: Pulling fs layer [2022-07-11T22:59:28.009Z] 46d945488cbd: Pulling fs layer [2022-07-11T22:59:28.009Z] 8a5474983e97: Pulling fs layer [2022-07-11T22:59:28.009Z] 329c88fbcd65: Pulling fs layer [2022-07-11T22:59:28.009Z] 656be50a0ddc: Waiting [2022-07-11T22:59:28.009Z] 2bbca73fdf42: Waiting [2022-07-11T22:59:28.009Z] 46d945488cbd: Waiting [2022-07-11T22:59:28.009Z] 8a5474983e97: Waiting [2022-07-11T22:59:28.009Z] 329c88fbcd65: Waiting [2022-07-11T22:59:28.009Z] a050256f5b6f: Download complete [2022-07-11T22:59:28.009Z] c0a3192eca97: Download complete [2022-07-11T22:59:28.009Z] 2bbca73fdf42: Verifying Checksum [2022-07-11T22:59:28.009Z] 2bbca73fdf42: Download complete [2022-07-11T22:59:28.294Z] 46d945488cbd: Verifying Checksum [2022-07-11T22:59:28.294Z] 46d945488cbd: Download complete [2022-07-11T22:59:28.294Z] b3c136eddcbf: Verifying Checksum [2022-07-11T22:59:29.286Z] b3c136eddcbf: Pull complete [2022-07-11T22:59:29.286Z] 329c88fbcd65: Verifying Checksum [2022-07-11T22:59:29.286Z] 329c88fbcd65: Download complete [2022-07-11T22:59:29.888Z] c0a3192eca97: Pull complete [2022-07-11T22:59:30.168Z] a050256f5b6f: Pull complete [2022-07-11T22:59:30.439Z] 8a5474983e97: Download complete [2022-07-11T22:59:31.032Z] 656be50a0ddc: Verifying Checksum [2022-07-11T22:59:31.032Z] 656be50a0ddc: Download complete [2022-07-11T22:59:43.435Z] 656be50a0ddc: Pull complete [2022-07-11T22:59:43.435Z] 2bbca73fdf42: Pull complete [2022-07-11T22:59:43.435Z] 46d945488cbd: Pull complete [2022-07-11T22:59:48.844Z] 8a5474983e97: Pull complete [2022-07-11T22:59:50.293Z] 329c88fbcd65: Pull complete [2022-07-11T22:59:50.293Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-11T22:59:50.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-11T22:59:50.293Z] ---> ff4287adb874 [2022-07-11T22:59:50.293Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T22:59:52.923Z] ---> Running in 8eb8571a09b8 [2022-07-11T22:59:53.199Z] Removing intermediate container 8eb8571a09b8 [2022-07-11T22:59:53.199Z] ---> f5ac5e346833 [2022-07-11T22:59:53.199Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T22:59:53.495Z] ---> Running in 2b4bb0362f64 [2022-07-11T22:59:53.767Z] Removing intermediate container 2b4bb0362f64 [2022-07-11T22:59:53.767Z] ---> 9ee4c5c3618f [2022-07-11T22:59:53.767Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T22:59:53.767Z] ---> Running in 078b42db3ca9 [2022-07-11T22:59:54.041Z] Removing intermediate container 078b42db3ca9 [2022-07-11T22:59:54.041Z] ---> ea935a00f6af [2022-07-11T22:59:54.041Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T22:59:54.314Z] ---> Running in a02fda341b5b [2022-07-11T22:59:56.295Z] Removing intermediate container a02fda341b5b [2022-07-11T22:59:56.295Z] ---> 0bdef0e61246 [2022-07-11T22:59:56.295Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T22:59:56.295Z] ---> Running in ab4c73f9f398 [2022-07-11T22:59:56.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T22:59:57.872Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T22:59:58.852Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T22:59:58.852Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T22:59:59.124Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T22:59:59.397Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T22:59:59.397Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T22:59:59.397Z] OK: 226 MiB in 55 packages [2022-07-11T23:00:00.399Z] Removing intermediate container ab4c73f9f398 [2022-07-11T23:00:00.399Z] ---> afd46fdefa01 [2022-07-11T23:00:00.399Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T23:00:00.998Z] ---> 75ab0eb70336 [2022-07-11T23:00:00.998Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T23:00:00.998Z] ---> Running in e9b5e05441a4 [2022-07-11T23:00:48.929Z] Removing intermediate container e9b5e05441a4 [2022-07-11T23:00:48.929Z] ---> 9807cf1f8eb7 [2022-07-11T23:00:48.929Z] Step 10/12 : COPY . . [2022-07-11T23:00:48.929Z] ---> e3a606268d8a [2022-07-11T23:00:48.929Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T23:00:48.929Z] ---> Running in e89364f2784a [2022-07-11T23:00:48.929Z] Removing intermediate container e89364f2784a [2022-07-11T23:00:48.929Z] ---> 343989b26a8d [2022-07-11T23:00:48.929Z] Step 12/12 : RUN $MAKE [2022-07-11T23:00:48.929Z] ---> Running in 78f138b3f908 [2022-07-11T23:00:50.377Z] noop [2022-07-11T23:00:50.653Z] Removing intermediate container 78f138b3f908 [2022-07-11T23:00:50.653Z] ---> e188ab1ae794 [2022-07-11T23:00:50.926Z] Successfully built e188ab1ae794 [2022-07-11T23:00:50.926Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T23:00:51.317Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T23:00:51.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T23:00:51.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-19488 does not seem to be running inside a container [2022-07-11T23:00:51.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T23:00:53.195Z] $ docker top 6a6ff79a7c12e14b50c1f0e0033bc084ff707a247d9b40a6a8f8dea1cfd1376a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T23:00:54.145Z] + go version [2022-07-11T23:00:54.145Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-11T23:00:54.174Z] $ docker stop --time=1 6a6ff79a7c12e14b50c1f0e0033bc084ff707a247d9b40a6a8f8dea1cfd1376a [2022-07-11T23:00:55.902Z] $ docker rm -f 6a6ff79a7c12e14b50c1f0e0033bc084ff707a247d9b40a6a8f8dea1cfd1376a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T23:00:56.581Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T23:00:56.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T23:00:56.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-19488 does not seem to be running inside a container [2022-07-11T23:00:56.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T23:00:58.292Z] $ docker top ea707ec9957856fa351c27e4f73468a7eb43ed0982abbc5a15d19d2869b7583e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T23:00:59.233Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh [2022-07-11T23:00:59.932Z] + make test [2022-07-11T23:00:59.932Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T23:01:01.378Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T23:02:23.228Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T23:02:25.206Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-07-11T23:02:25.477Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T23:02:25.477Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T23:02:47.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T23:02:47.682Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T23:02:47.682Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T23:02:47.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T23:02:47.721Z] $ docker stop --time=1 ea707ec9957856fa351c27e4f73468a7eb43ed0982abbc5a15d19d2869b7583e [2022-07-11T23:02:49.500Z] $ docker rm -f ea707ec9957856fa351c27e4f73468a7eb43ed0982abbc5a15d19d2869b7583e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T23:02:50.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T23:02:50.535Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T23:02:51.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T23:02:51.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T23:02:51.848Z] + ls -al . [2022-07-11T23:02:51.848Z] total 188 [2022-07-11T23:02:51.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 23:01 . [2022-07-11T23:02:51.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:58 .. [2022-07-11T23:02:51.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 22:59 .git [2022-07-11T23:02:51.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:58 .github [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 22:58 .gitignore [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 22:58 .golangci.yml [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 22:58 Attribution.txt [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 22:58 CHANGELOG.md [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 1978 Jul 11 22:58 Dockerfile [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 22:58 GOVERNANCE.md [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 22:58 Jenkinsfile [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 22:58 LICENSE [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 22:58 Makefile [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 22:58 OWNERS.md [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 22:58 README.md [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 22:55 VERSION [2022-07-11T23:02:51.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:58 bin [2022-07-11T23:02:51.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:58 cmd [2022-07-11T23:02:51.848Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 23:02 coverage.out [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 22:58 go.mod [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 34837 Jul 11 22:58 go.sum [2022-07-11T23:02:51.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:58 internal [2022-07-11T23:02:51.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:58 snap [2022-07-11T23:02:51.848Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T23:02:52.208Z] + 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=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb --label arch=arm64 --label version=0.0.0 . [2022-07-11T23:02:52.806Z] Sending build context to Docker daemon 11.74MB [2022-07-11T23:02:52.806Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T23:02:52.806Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T23:02:52.806Z] ---> e188ab1ae794 [2022-07-11T23:02:52.806Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T23:02:52.806Z] ---> Running in 08567ec2f55f [2022-07-11T23:02:53.080Z] Removing intermediate container 08567ec2f55f [2022-07-11T23:02:53.080Z] ---> 408a2cb55bd2 [2022-07-11T23:02:53.080Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T23:02:53.356Z] ---> Running in dbf50b0a6cf6 [2022-07-11T23:02:53.632Z] Removing intermediate container dbf50b0a6cf6 [2022-07-11T23:02:53.632Z] ---> 4e88041c9da4 [2022-07-11T23:02:53.632Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-11T23:02:53.632Z] ---> Running in 6b1808b7a3ae [2022-07-11T23:02:53.906Z] Removing intermediate container 6b1808b7a3ae [2022-07-11T23:02:53.906Z] ---> 21f4b0f13cca [2022-07-11T23:02:53.906Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T23:02:53.906Z] ---> Running in 6abbfd14d703 [2022-07-11T23:02:55.916Z] Removing intermediate container 6abbfd14d703 [2022-07-11T23:02:55.916Z] ---> 73262ec695a2 [2022-07-11T23:02:55.916Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T23:02:55.916Z] ---> Running in ac8d56e33a77 [2022-07-11T23:02:56.906Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T23:02:57.894Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T23:02:58.885Z] OK: 226 MiB in 55 packages [2022-07-11T23:02:59.490Z] Removing intermediate container ac8d56e33a77 [2022-07-11T23:02:59.490Z] ---> 76a4224c72a2 [2022-07-11T23:02:59.490Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-11T23:03:00.094Z] ---> 968aca8c9c1f [2022-07-11T23:03:00.095Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T23:03:00.095Z] ---> Running in 6506fe53fd3d [2022-07-11T23:03:02.087Z] Removing intermediate container 6506fe53fd3d [2022-07-11T23:03:02.087Z] ---> 57597b9188d0 [2022-07-11T23:03:02.087Z] Step 10/26 : COPY . . [2022-07-11T23:03:03.562Z] ---> 60f17e1801f1 [2022-07-11T23:03:03.562Z] Step 11/26 : ARG MAKE='make build' [2022-07-11T23:03:03.837Z] ---> Running in a43abf850f12 [2022-07-11T23:03:04.110Z] Removing intermediate container a43abf850f12 [2022-07-11T23:03:04.110Z] ---> 1cd9aa747f1c [2022-07-11T23:03:04.110Z] Step 12/26 : RUN $MAKE [2022-07-11T23:03:04.384Z] ---> Running in ebd99f38025c [2022-07-11T23:03:05.364Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-07-11T23:05:27.296Z] Removing intermediate container ebd99f38025c [2022-07-11T23:05:27.296Z] ---> 8d077c8716d1 [2022-07-11T23:05:27.296Z] Step 13/26 : FROM alpine:3.16 [2022-07-11T23:05:27.296Z] 3.16: Pulling from library/alpine [2022-07-11T23:05:27.296Z] b3c136eddcbf: Already exists [2022-07-11T23:05:27.296Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T23:05:27.296Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T23:05:27.296Z] ---> 6e30ab57aeee [2022-07-11T23:05:27.296Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-11T23:05:27.296Z] ---> Running in 99cfc3c52ede [2022-07-11T23:05:27.296Z] Removing intermediate container 99cfc3c52ede [2022-07-11T23:05:27.296Z] ---> 65c36058aaad [2022-07-11T23:05:27.296Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T23:05:27.296Z] ---> Running in e8aa8bfaaadf [2022-07-11T23:05:27.296Z] Removing intermediate container e8aa8bfaaadf [2022-07-11T23:05:27.296Z] ---> 0b3efd77362d [2022-07-11T23:05:27.296Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T23:05:27.296Z] ---> Running in 57bea2cbc77e [2022-07-11T23:05:27.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T23:05:27.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T23:05:27.296Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T23:05:27.296Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T23:05:27.296Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T23:05:27.296Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T23:05:27.296Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T23:05:27.296Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T23:05:27.297Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T23:05:27.297Z] OK: 8 MiB in 20 packages [2022-07-11T23:05:27.570Z] Removing intermediate container 57bea2cbc77e [2022-07-11T23:05:27.570Z] ---> 58e697395bd8 [2022-07-11T23:05:27.570Z] Step 17/26 : WORKDIR / [2022-07-11T23:05:27.570Z] ---> Running in 9add0fbd583c [2022-07-11T23:05:27.844Z] Removing intermediate container 9add0fbd583c [2022-07-11T23:05:27.844Z] ---> 151610612d45 [2022-07-11T23:05:27.844Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-11T23:05:28.437Z] ---> 7389972aa6b3 [2022-07-11T23:05:28.437Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-11T23:05:29.034Z] ---> c23db46c3c60 [2022-07-11T23:05:29.034Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-11T23:05:30.467Z] ---> f034e9af2cc4 [2022-07-11T23:05:30.467Z] Step 21/26 : EXPOSE 59900 [2022-07-11T23:05:30.467Z] ---> Running in 87ecf0c81f4d [2022-07-11T23:05:30.743Z] Removing intermediate container 87ecf0c81f4d [2022-07-11T23:05:30.743Z] ---> cc189b9e17f0 [2022-07-11T23:05:30.743Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-11T23:05:30.743Z] ---> Running in a9b26164464e [2022-07-11T23:05:31.016Z] Removing intermediate container a9b26164464e [2022-07-11T23:05:31.016Z] ---> c8d4575d3a1d [2022-07-11T23:05:31.016Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T23:05:31.016Z] ---> Running in 3252c2bf4238 [2022-07-11T23:05:31.631Z] Removing intermediate container 3252c2bf4238 [2022-07-11T23:05:31.631Z] ---> c4e9e830226c [2022-07-11T23:05:31.631Z] Step 24/26 : LABEL arch=arm64 [2022-07-11T23:05:31.631Z] ---> Running in 6af1a50a34de [2022-07-11T23:05:31.904Z] Removing intermediate container 6af1a50a34de [2022-07-11T23:05:31.904Z] ---> 302e976b58c0 [2022-07-11T23:05:31.904Z] Step 25/26 : LABEL git_sha=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T23:05:31.904Z] ---> Running in 2471b459e071 [2022-07-11T23:05:32.182Z] Removing intermediate container 2471b459e071 [2022-07-11T23:05:32.182Z] ---> b81b8134b4d9 [2022-07-11T23:05:32.182Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T23:05:32.182Z] ---> Running in 11454b5304c9 [2022-07-11T23:05:32.778Z] Removing intermediate container 11454b5304c9 [2022-07-11T23:05:32.778Z] ---> 2f068e73975f [2022-07-11T23:05:32.778Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T23:05:32.778Z] Successfully built 2f068e73975f [2022-07-11T23:05:32.778Z] 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 [2022-07-11T23:05:33.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T23:05:33.240Z] [2022-07-11T23:05:33.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T23:05:33.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T23:05:33.868Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T23:05:33.868Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T23:05:33.868Z] 04944245beec: Pulling fs layer [2022-07-11T23:05:33.868Z] 699f458cf7ca: Pulling fs layer [2022-07-11T23:05:33.868Z] 765212b225bb: Pulling fs layer [2022-07-11T23:05:33.868Z] f23df028b6ca: Pulling fs layer [2022-07-11T23:05:33.868Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T23:05:33.868Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T23:05:33.868Z] f23df028b6ca: Waiting [2022-07-11T23:05:33.868Z] d65c8cfc05b1: Waiting [2022-07-11T23:05:33.868Z] 2437ff75d9bd: Waiting [2022-07-11T23:05:33.868Z] 04944245beec: Verifying Checksum [2022-07-11T23:05:33.868Z] 04944245beec: Download complete [2022-07-11T23:05:33.868Z] 765212b225bb: Download complete [2022-07-11T23:05:33.868Z] f23df028b6ca: Download complete [2022-07-11T23:05:34.146Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T23:05:34.146Z] d65c8cfc05b1: Download complete [2022-07-11T23:05:34.146Z] 699f458cf7ca: Verifying Checksum [2022-07-11T23:05:34.419Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T23:05:34.419Z] 8998bd30e6a1: Download complete [2022-07-11T23:05:37.045Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T23:05:37.045Z] 2437ff75d9bd: Download complete [2022-07-11T23:05:38.480Z] 8998bd30e6a1: Pull complete [2022-07-11T23:05:39.077Z] 04944245beec: Pull complete [2022-07-11T23:05:40.514Z] 699f458cf7ca: Pull complete [2022-07-11T23:05:40.514Z] 765212b225bb: Pull complete [2022-07-11T23:05:41.496Z] f23df028b6ca: Pull complete [2022-07-11T23:05:41.496Z] d65c8cfc05b1: Pull complete [2022-07-11T23:05:56.583Z] 2437ff75d9bd: Pull complete [2022-07-11T23:05:56.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T23:05:56.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T23:05:56.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T23:05:56.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-19488 does not seem to be running inside a container [2022-07-11T23:05:56.938Z] $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T23:05:59.758Z] $ docker top 2c864373018799e3c763d1c1f755b60b1fbd1095b0e76ba2097fa945a2b00189 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:00.690Z] ---> job-cost.sh [2022-07-11T23:06:00.690Z] lf-activate-venv: SKIPPING [2022-07-11T23:06:00.690Z] INFO: No Stack... [2022-07-11T23:06:01.289Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T23:06:02.273Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T23:06:02.945Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2022-07-11T23:06:02.945Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T23:06:02.977Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [2022-07-11T23:06:02.983Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] did not exist. Created. [2022-07-11T23:06:02.983Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T23:06:03.674Z] /w/workspace/device-virtual-go/4@tmp/durable-f979091e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T23:06:04.367Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T23:06:04.396Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T23:06:04.447Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T23:06:04.454Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T23:06:04.475Z] $ docker stop --time=1 2c864373018799e3c763d1c1f755b60b1fbd1095b0e76ba2097fa945a2b00189 [2022-07-11T23:06:06.065Z] $ docker rm -f 2c864373018799e3c763d1c1f755b60b1fbd1095b0e76ba2097fa945a2b00189 [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 [2022-07-11T23:06:06.572Z] provisioning config files... [2022-07-11T23:06:06.580Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config7960942035943613879tmp [Pipeline] { [Pipeline] sh [2022-07-11T23:06:06.874Z] + set +x [2022-07-11T23:06:06.874Z] + curl -s https://codecov.io/bash [2022-07-11T23:06:06.874Z] + bash -s -- [2022-07-11T23:06:06.874Z] [2022-07-11T23:06:06.874Z] _____ _ [2022-07-11T23:06:06.874Z] / ____| | | [2022-07-11T23:06:06.874Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T23:06:06.874Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T23:06:06.874Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T23:06:06.874Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T23:06:06.874Z] Bash-1.0.6 [2022-07-11T23:06:06.874Z] [2022-07-11T23:06:06.874Z] [2022-07-11T23:06:06.874Z] ==> git version 2.25.1 found [2022-07-11T23:06:06.874Z] ==> 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 [2022-07-11T23:06:06.874Z] Release-Date: 2020-01-08 [2022-07-11T23:06:06.874Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-11T23:06:06.874Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T23:06:06.874Z] ==> Jenkins CI detected. [2022-07-11T23:06:06.874Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-294 [2022-07-11T23:06:06.874Z] project root: . [2022-07-11T23:06:06.874Z] --> token set from env [2022-07-11T23:06:06.874Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T23:06:06.874Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T23:06:06.874Z] ==> Python coveragepy not found [2022-07-11T23:06:06.874Z] ==> Searching for coverage reports in: [2022-07-11T23:06:06.874Z] + . [2022-07-11T23:06:06.874Z] -> Found 1 reports [2022-07-11T23:06:06.874Z] ==> Detecting git/mercurial file structure [2022-07-11T23:06:06.874Z] ==> Reading reports [2022-07-11T23:06:06.874Z] + ./coverage.out bytes=44128 [2022-07-11T23:06:06.874Z] ==> Appending adjustments [2022-07-11T23:06:06.874Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T23:06:07.134Z] + Found adjustments [2022-07-11T23:06:07.134Z] ==> Gzipping contents [2022-07-11T23:06:07.134Z] 8.0K /tmp/codecov.FHdq3H.gz [2022-07-11T23:06:07.134Z] ==> Uploading reports [2022-07-11T23:06:07.134Z] url: https://codecov.io [2022-07-11T23:06:07.134Z] query: branch=PR-294&commit=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-294%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=294&job=&cmd_args= [2022-07-11T23:06:07.134Z] -> Pinging Codecov [2022-07-11T23:06:07.134Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-294&commit=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-294%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=294&job=&cmd_args= [2022-07-11T23:06:07.395Z] -> Uploading to [2022-07-11T23:06:07.395Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/5E52B4B073DB2E39498172D8E973AA87/cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb/c04e1ce6-38ff-4a5a-b742-8ca7d2566d7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T230607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57f1f6d49fc367f3205851ac450008509bca22bf4cd4b31133248c39b686343b [2022-07-11T23:06:07.395Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T23:06:07.395Z] Dload Upload Total Spent Left Speed [2022-07-11T23:06:07.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5501 0 0 100 5501 0 22181 --:--:-- --:--:-- --:--:-- 22181 [2022-07-11T23:06:07.656Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] } [2022-07-11T23:06:07.664Z] 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 [2022-07-11T23:06:08.305Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-294/archives ] [2022-07-11T23:06:08.305Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T23:06:08.305Z] total 16 [2022-07-11T23:06:08.305Z] drwxr-xr-x 3 root root 4096 Jul 11 22:57 . [2022-07-11T23:06:08.305Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:57 .. [2022-07-11T23:06:08.305Z] drwxr-xr-x 2 root root 4096 Jul 11 22:57 cost [2022-07-11T23:06:08.305Z] -rw-r--r-- 1 root root 88 Jul 11 22:57 cost.csv [2022-07-11T23:06:08.305Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T23:06:08.305Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T23:06:08.305Z] total 16 [2022-07-11T23:06:08.305Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 22:57 . [2022-07-11T23:06:08.305Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:57 .. [2022-07-11T23:06:08.305Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 22:57 cost [2022-07-11T23:06:08.305Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 11 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:08.599Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:09.472Z] ---> package-listing.sh [2022-07-11T23:06:09.472Z] ++ facter osfamily [2022-07-11T23:06:09.472Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T23:06:09.734Z] + OS_FAMILY=debian [2022-07-11T23:06:09.734Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-294 [2022-07-11T23:06:09.734Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T23:06:09.734Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T23:06:09.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T23:06:09.734Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T23:06:09.734Z] + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' [2022-07-11T23:06:09.734Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T23:06:09.734Z] + case "${OS_FAMILY}" in [2022-07-11T23:06:09.734Z] + dpkg -l [2022-07-11T23:06:09.734Z] + grep '^ii' [2022-07-11T23:06:09.734Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T23:06:09.734Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T23:06:09.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T23:06:09.734Z] + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' [2022-07-11T23:06:09.734Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-294/archives/ [2022-07-11T23:06:09.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-294/archives/ [Pipeline] echo [2022-07-11T23:06:09.746Z] 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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T23:06:10.026Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T23:06:10.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T23:06:10.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T23:06:10.667Z] prd-ubuntu20.04-docker-8c-8g-19486 does not seem to be running inside a container [2022-07-11T23:06:10.702Z] $ 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-294/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-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T23:06:10.938Z] $ docker top ec8832ed251775fda61b0adfc598582c6986a0b6b3bfa90174f4db2dd7b86614 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T23:06:11.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T23:06:11.580Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T23:06:11.867Z] + ls /var/log/sa-host [2022-07-11T23:06:11.867Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T23:06:11.933Z] provisioning config files... [2022-07-11T23:06:11.941Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config5250386792597572149tmp [Pipeline] { [Pipeline] echo [2022-07-11T23:06:11.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:12.236Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T23:06:12.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:12.573Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T23:06:12.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:12.870Z] ---> sudo-logs.sh [2022-07-11T23:06:12.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T23:06:12.892Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:13.180Z] ---> job-cost.sh [2022-07-11T23:06:13.180Z] lf-activate-venv: SKIPPING [2022-07-11T23:06:13.180Z] DEBUG: total: 0.2199999988079071 [2022-07-11T23:06:13.180Z] INFO: Retrieving Stack Cost... [2022-07-11T23:06:13.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T23:06:14.010Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T23:06:14.020Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T23:06:14.305Z] ---> logs-deploy.sh [2022-07-11T23:06:14.305Z] lf-activate-venv: SKIPPING [2022-07-11T23:06:14.305Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-294/4 [2022-07-11T23:06:14.305Z] INFO: archiving workspace using pattern(s): [2022-07-11T23:06:15.244Z] Archives upload complete. [2022-07-11T23:06:15.244Z] INFO: archiving logs to Nexus