Pull request #275 updated 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 jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834+351caebf32bba8e0fd88c5312046eae57dc27958 (f57c613d5624d828c42e160a1035dfeddd355ebd) 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-ssh18221524681702684139.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12105870043716633156.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-275/workspace@libs/edgex-global-pipelines/.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-275/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9761899152962507174.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh14326747083246691004.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-275/workspace@libs/lf-pipelines/.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-275/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11074902743284989632.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-11595 in /w/workspace/foundry_device-virtual-go_PR-275 [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-275 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 351caebf32bba8e0fd88c5312046eae57dc27958 into PR head commit 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 Merge succeeded, producing 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 Checking out Revision 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 (PR-275) > git config core.sparsecheckout # timeout=10 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # 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 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 Commit message: "feat: review comment to fix windows build and CGO" > git rev-list --no-walk 5ba56e1622a9d0d2bcc2a0f5d43f121ca7cbd17c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-08T17:23:57.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-08T17:23:57.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-08T17:23:57.152Z] ========================================================= [2022-04-08T17:23:57.152Z] EdgeX Global Pipelines Version Info [2022-04-08T17:23:57.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:23:57.947Z] ------------------- [2022-04-08T17:23:57.947Z] stable info: [2022-04-08T17:23:57.947Z] ------------------- [2022-04-08T17:23:57.947Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-08T17:23:57.947Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T17:23:57.947Z] Message: update stable to v1.0.221 [2022-04-08T17:23:58.524Z] ------------------- [2022-04-08T17:23:58.524Z] experimental info: [2022-04-08T17:23:58.524Z] ------------------- [2022-04-08T17:23:58.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-08T17:23:58.524Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T17:23:58.524Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-08T17:23:58.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-08T17:23:58.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-08T17:23:58.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-08T17:23:58.783Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-08T17:23:58.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-08T17:23:58.816Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-08T17:23:58.837Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-08T17:23:58.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-08T17:23:58.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-08T17:23:58.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-08T17:23:58.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-08T17:23:58.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-08T17:23:58.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-08T17:23:58.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-08T17:23:58.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T17:23:59.020Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T17:23:59.038Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T17:23:59.053Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T17:23:59.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-08T17:23:59.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-08T17:23:59.116Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-08T17:23:59.134Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-08T17:23:59.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-08T17:23:59.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-08T17:23:59.180Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-08T17:23:59.194Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-08T17:23:59.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo [2022-04-08T17:23:59.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo [2022-04-08T17:23:59.245Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo [2022-04-08T17:23:59.263Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo [2022-04-08T17:23:59.285Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 596e6c3 [Pipeline] echo [2022-04-08T17:23:59.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T17:23:59.359Z] provisioning config files... [2022-04-08T17:23:59.376Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1218019839345067342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:23:59.687Z] ---> docker-login.sh [2022-04-08T17:23:59.687Z] nexus3.edgexfoundry.org:10001 [2022-04-08T17:23:59.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:23:59.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:23:59.950Z] Configure a credential helper to remove this warning. See [2022-04-08T17:23:59.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:23:59.951Z] [2022-04-08T17:23:59.951Z] Login Succeeded [2022-04-08T17:24:00.212Z] nexus3.edgexfoundry.org:10002 [2022-04-08T17:24:00.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:00.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:00.212Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:00.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:00.212Z] [2022-04-08T17:24:00.212Z] Login Succeeded [2022-04-08T17:24:00.212Z] nexus3.edgexfoundry.org:10003 [2022-04-08T17:24:00.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:00.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:00.474Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:00.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:00.474Z] [2022-04-08T17:24:00.474Z] Login Succeeded [2022-04-08T17:24:00.474Z] nexus3.edgexfoundry.org:10004 [2022-04-08T17:24:00.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:00.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:00.474Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:00.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:00.474Z] [2022-04-08T17:24:00.474Z] Login Succeeded [2022-04-08T17:24:00.474Z] docker.io [2022-04-08T17:24:00.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:01.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:01.000Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:01.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:01.000Z] [2022-04-08T17:24:01.000Z] Login Succeeded [2022-04-08T17:24:01.000Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T17:24:01.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-08T17:24:01.394Z] + git rev-list -1 --merges 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834~1..596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo [2022-04-08T17:24:01.431Z] -----------> git rev-list -1 --merges 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834~1..596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [false] [Pipeline] sh [2022-04-08T17:24:01.736Z] + git log --format=format:%s -1 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo [2022-04-08T17:24:01.756Z] ========================================================= [2022-04-08T17:24:01.757Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T17:24:01.757Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T17:24:02.088Z] + git log --format=format:%s -1 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo [2022-04-08T17:24:02.102Z] [semverPrep] GIT_COMMIT: 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834, Commit Message: feat: review comment to fix windows build and CGO [Pipeline] echo [2022-04-08T17:24:02.114Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-08T17:24:02.542Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T17:24:02.542Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-08T17:24:02.542Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-08T17:24:02.542Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-08T17:24:02.542Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-08T17:24:02.542Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-08T17:24:02.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:24:02.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T17:24:02.961Z] [2022-04-08T17:24:02.961Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:24:03.266Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T17:24:03.266Z] latest: Pulling from edgex-devops/git-semver [2022-04-08T17:24:03.266Z] a0d0a0d46f8b: Pulling fs layer [2022-04-08T17:24:03.266Z] 3e5f54012d9b: Pulling fs layer [2022-04-08T17:24:03.266Z] 4c7163046ea9: Pulling fs layer [2022-04-08T17:24:03.266Z] 0c2d73faf560: Pulling fs layer [2022-04-08T17:24:03.266Z] 0c2d73faf560: Waiting [2022-04-08T17:24:03.266Z] 3e5f54012d9b: Download complete [2022-04-08T17:24:03.266Z] a0d0a0d46f8b: Verifying Checksum [2022-04-08T17:24:03.266Z] a0d0a0d46f8b: Download complete [2022-04-08T17:24:03.266Z] 0c2d73faf560: Download complete [2022-04-08T17:24:03.266Z] 4c7163046ea9: Verifying Checksum [2022-04-08T17:24:03.266Z] 4c7163046ea9: Download complete [2022-04-08T17:24:03.527Z] a0d0a0d46f8b: Pull complete [2022-04-08T17:24:03.527Z] 3e5f54012d9b: Pull complete [2022-04-08T17:24:03.789Z] 4c7163046ea9: Pull complete [2022-04-08T17:24:04.052Z] 0c2d73faf560: Pull complete [2022-04-08T17:24:04.052Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-08T17:24:04.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T17:24:04.052Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-08T17:24:04.140Z] prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container [2022-04-08T17:24:04.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-08T17:24:04.895Z] $ docker top 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T17:24:05.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T17:24:05.010Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T17:24:05.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T17:24:05.152Z] $ docker exec 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent [2022-04-08T17:24:05.274Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHiHAf/agent.14 [2022-04-08T17:24:05.274Z] SSH_AGENT_PID=20 [2022-04-08T17:24:05.286Z] Running ssh-add (command line suppressed) [2022-04-08T17:24:05.417Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_582284734420332081.key (/w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_582284734420332081.key) [2022-04-08T17:24:05.436Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T17:24:05.734Z] + git tag --points-at HEAD [Pipeline] } [2022-04-08T17:24:05.751Z] $ docker exec --env ******** --env ******** 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent -k [2022-04-08T17:24:05.875Z] unset SSH_AUTH_SOCK; [2022-04-08T17:24:05.876Z] unset SSH_AGENT_PID; [2022-04-08T17:24:05.876Z] echo Agent pid 20 killed; [2022-04-08T17:24:05.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-08T17:24:05.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T17:24:05.912Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T17:24:06.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T17:24:06.063Z] $ docker exec 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent [2022-04-08T17:24:06.178Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdeEhNk/agent.52 [2022-04-08T17:24:06.178Z] SSH_AGENT_PID=58 [2022-04-08T17:24:06.185Z] Running ssh-add (command line suppressed) [2022-04-08T17:24:06.322Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_7570281867939740444.key (/w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_7570281867939740444.key) [2022-04-08T17:24:06.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T17:24:06.627Z] + git semver init [2022-04-08T17:24:06.627Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T17:24:06.627Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-275/.git [2022-04-08T17:24:06.627Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-275 [2022-04-08T17:24:06.627Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T17:24:06.627Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T17:24:06.627Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T17:24:06.627Z] # $SEMVER_BRANCH = PR-275 [2022-04-08T17:24:06.627Z] # $SEMVER_TEMP = /tmp/semver-095468099 [2022-04-08T17:24:06.627Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-08T17:24:08.011Z] # '/tmp/semver-095468099' -> '/w/workspace/foundry_device-virtual-go_PR-275/.semver' [2022-04-08T17:24:08.011Z] # -> Force: false [2022-04-08T17:24:08.011Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-275/.semver [Pipeline] } [2022-04-08T17:24:08.024Z] $ docker exec --env ******** --env ******** 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent -k [2022-04-08T17:24:08.138Z] unset SSH_AUTH_SOCK; [2022-04-08T17:24:08.139Z] unset SSH_AGENT_PID; [2022-04-08T17:24:08.139Z] echo Agent pid 58 killed; [2022-04-08T17:24:08.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T17:24:08.477Z] + git semver [Pipeline] } [2022-04-08T17:24:08.495Z] $ docker stop --time=1 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 [2022-04-08T17:24:09.867Z] $ docker rm -f 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T17:24:10.231Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-08T17:24:10.495Z] Stashed 1 file(s) [Pipeline] echo [2022-04-08T17:24:10.501Z] [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-04-08T17:24:10.691Z] provisioning config files... [2022-04-08T17:24:10.703Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1047065183304234833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:24:11.011Z] ---> docker-login.sh [2022-04-08T17:24:11.011Z] nexus3.edgexfoundry.org:10001 [2022-04-08T17:24:11.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:11.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:11.011Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:11.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:11.011Z] [2022-04-08T17:24:11.011Z] Login Succeeded [2022-04-08T17:24:11.011Z] nexus3.edgexfoundry.org:10002 [2022-04-08T17:24:11.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:11.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:11.274Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:11.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:11.274Z] [2022-04-08T17:24:11.274Z] Login Succeeded [2022-04-08T17:24:11.274Z] nexus3.edgexfoundry.org:10003 [2022-04-08T17:24:11.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:11.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:11.274Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:11.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:11.274Z] [2022-04-08T17:24:11.274Z] Login Succeeded [2022-04-08T17:24:11.274Z] nexus3.edgexfoundry.org:10004 [2022-04-08T17:24:11.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:11.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:11.536Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:11.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:11.536Z] [2022-04-08T17:24:11.536Z] Login Succeeded [2022-04-08T17:24:11.536Z] docker.io [2022-04-08T17:24:11.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:24:11.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:24:11.799Z] Configure a credential helper to remove this warning. See [2022-04-08T17:24:11.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:24:11.799Z] [2022-04-08T17:24:11.799Z] Login Succeeded [2022-04-08T17:24:11.799Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T17:24:11.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T17:24:11.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T17:24:11.894Z] ========================================================= [2022-04-08T17:24:11.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-08T17:24:11.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:24:12.205Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-08T17:24:12.205Z] Sending build context to Docker daemon 22.9MB [2022-04-08T17:24:12.205Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T17:24:12.205Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T17:24:12.470Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-08T17:24:12.470Z] 59bf1c3509f3: Pulling fs layer [2022-04-08T17:24:12.470Z] 666ba61612fd: Pulling fs layer [2022-04-08T17:24:12.470Z] 8ed8ca486205: Pulling fs layer [2022-04-08T17:24:12.470Z] 4fe6c5a15a65: Pulling fs layer [2022-04-08T17:24:12.470Z] 22a0e8bec74d: Pulling fs layer [2022-04-08T17:24:12.470Z] 640e595b4fbd: Pulling fs layer [2022-04-08T17:24:12.470Z] 763cafe07f6e: Pulling fs layer [2022-04-08T17:24:12.470Z] 0c0b528cf693: Pulling fs layer [2022-04-08T17:24:12.470Z] 10935f4eaf8b: Pulling fs layer [2022-04-08T17:24:12.470Z] 763cafe07f6e: Waiting [2022-04-08T17:24:12.470Z] 4fe6c5a15a65: Waiting [2022-04-08T17:24:12.470Z] 0c0b528cf693: Waiting [2022-04-08T17:24:12.470Z] 10935f4eaf8b: Waiting [2022-04-08T17:24:12.470Z] 640e595b4fbd: Waiting [2022-04-08T17:24:12.470Z] 8ed8ca486205: Verifying Checksum [2022-04-08T17:24:12.470Z] 8ed8ca486205: Download complete [2022-04-08T17:24:12.470Z] 666ba61612fd: Download complete [2022-04-08T17:24:12.470Z] 22a0e8bec74d: Download complete [2022-04-08T17:24:12.470Z] 640e595b4fbd: Verifying Checksum [2022-04-08T17:24:12.470Z] 640e595b4fbd: Download complete [2022-04-08T17:24:12.470Z] 59bf1c3509f3: Verifying Checksum [2022-04-08T17:24:12.470Z] 59bf1c3509f3: Download complete [2022-04-08T17:24:12.470Z] 763cafe07f6e: Verifying Checksum [2022-04-08T17:24:12.470Z] 763cafe07f6e: Download complete [2022-04-08T17:24:12.470Z] 0c0b528cf693: Verifying Checksum [2022-04-08T17:24:12.470Z] 0c0b528cf693: Download complete [2022-04-08T17:24:12.470Z] 59bf1c3509f3: Pull complete [2022-04-08T17:24:12.734Z] 666ba61612fd: Pull complete [2022-04-08T17:24:12.734Z] 8ed8ca486205: Pull complete [2022-04-08T17:24:12.995Z] 10935f4eaf8b: Verifying Checksum [2022-04-08T17:24:12.995Z] 10935f4eaf8b: Download complete [2022-04-08T17:24:13.256Z] 4fe6c5a15a65: Download complete [2022-04-08T17:24:17.464Z] 4fe6c5a15a65: Pull complete [2022-04-08T17:24:17.464Z] 22a0e8bec74d: Pull complete [2022-04-08T17:24:17.464Z] 640e595b4fbd: Pull complete [2022-04-08T17:24:17.464Z] 763cafe07f6e: Pull complete [2022-04-08T17:24:17.725Z] 0c0b528cf693: Pull complete [2022-04-08T17:24:20.271Z] 10935f4eaf8b: Pull complete [2022-04-08T17:24:20.271Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-08T17:24:20.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-08T17:24:20.271Z] ---> 99d49a6021b9 [2022-04-08T17:24:20.271Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T17:24:21.665Z] ---> Running in 779b4b8be4ec [2022-04-08T17:24:21.665Z] Removing intermediate container 779b4b8be4ec [2022-04-08T17:24:21.665Z] ---> e0ececf151b7 [2022-04-08T17:24:21.665Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T17:24:21.665Z] ---> Running in 776f39b4da60 [2022-04-08T17:24:21.665Z] Removing intermediate container 776f39b4da60 [2022-04-08T17:24:21.665Z] ---> 4c090a1ba115 [2022-04-08T17:24:21.665Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-08T17:24:21.665Z] ---> Running in ca837119dcf9 [2022-04-08T17:24:21.665Z] Removing intermediate container ca837119dcf9 [2022-04-08T17:24:21.665Z] ---> 23577333843f [2022-04-08T17:24:21.665Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:24:21.665Z] ---> Running in 2c9a9fa476da [2022-04-08T17:24:22.241Z] Removing intermediate container 2c9a9fa476da [2022-04-08T17:24:22.241Z] ---> 48248490beab [2022-04-08T17:24:22.241Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T17:24:22.504Z] ---> Running in 87c1bd710612 [2022-04-08T17:24:22.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T17:24:23.707Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T17:24:23.967Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T17:24:23.967Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T17:24:23.967Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T17:24:24.229Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T17:24:24.229Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T17:24:24.229Z] OK: 224 MiB in 56 packages [2022-04-08T17:24:24.807Z] Removing intermediate container 87c1bd710612 [2022-04-08T17:24:24.807Z] ---> 7b7b33f78a8f [2022-04-08T17:24:24.807Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-08T17:24:24.807Z] ---> b2c6d5641cc2 [2022-04-08T17:24:24.807Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T17:24:24.807Z] ---> Running in 2ea1d537f6a6 [2022-04-08T17:24:25.634Z] Still waiting to schedule task [2022-04-08T17:24:25.635Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-08T17:24:42.948Z] Removing intermediate container 2ea1d537f6a6 [2022-04-08T17:24:42.948Z] ---> 27d511e60c21 [2022-04-08T17:24:42.948Z] Step 10/12 : COPY . . [2022-04-08T17:24:42.948Z] ---> 27484f91e154 [2022-04-08T17:24:42.948Z] Step 11/12 : ARG MAKE='make build' [2022-04-08T17:24:42.948Z] ---> Running in 37ed2500f011 [2022-04-08T17:24:42.948Z] Removing intermediate container 37ed2500f011 [2022-04-08T17:24:42.948Z] ---> bedff07d4039 [2022-04-08T17:24:42.948Z] Step 12/12 : RUN $MAKE [2022-04-08T17:24:42.948Z] ---> Running in 369ec498f91d [2022-04-08T17:24:42.948Z] noop [2022-04-08T17:24:42.948Z] Removing intermediate container 369ec498f91d [2022-04-08T17:24:42.948Z] ---> 773a004617c7 [2022-04-08T17:24:42.948Z] Successfully built 773a004617c7 [2022-04-08T17:24:42.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:24:43.255Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T17:24:43.255Z] . [Pipeline] withDockerContainer [2022-04-08T17:24:43.333Z] prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container [2022-04-08T17:24:43.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@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 ******** ci-base-image-x86_64 cat [2022-04-08T17:24:43.818Z] $ docker top 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T17:24:44.202Z] + go version [2022-04-08T17:24:44.202Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-08T17:24:44.217Z] $ docker stop --time=1 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac [2022-04-08T17:24:45.501Z] $ docker rm -f 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:24:45.946Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T17:24:45.946Z] . [Pipeline] withDockerContainer [2022-04-08T17:24:46.021Z] prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container [2022-04-08T17:24:46.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@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 ******** ci-base-image-x86_64 cat [2022-04-08T17:24:46.486Z] $ docker top c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T17:24:46.913Z] + make test [2022-04-08T17:24:46.913Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-08T17:24:47.202Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-08T17:24:57.242Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-08T17:24:57.242Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements [2022-04-08T17:25:03.821Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T17:25:08.022Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T17:25:08.022Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T17:25:08.022Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T17:25:08.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T17:25:08.309Z] $ docker stop --time=1 c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 [2022-04-08T17:25:10.142Z] $ docker rm -f c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T17:25:10.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T17:25:10.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-08T17:25:11.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T17:25:11.920Z] + ls -al . [2022-04-08T17:25:11.920Z] total 184 [2022-04-08T17:25:11.920Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:25 . [2022-04-08T17:25:11.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:23 .. [2022-04-08T17:25:11.920Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:23 .git [2022-04-08T17:25:11.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:23 .github [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 8 17:23 .gitignore [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 17:23 .golangci.yml [2022-04-08T17:25:11.920Z] drwx------ 3 jenkins jenkins 4096 Apr 8 17:24 .semver [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 8 17:23 Attribution.txt [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 8 17:23 CHANGELOG.md [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 8 17:23 Dockerfile [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 17:23 GOVERNANCE.md [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 8 17:23 Jenkinsfile [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 17:23 LICENSE [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 8 17:23 Makefile [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 8 17:23 OWNERS.md [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 8 17:23 README.md [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 17:24 VERSION [2022-04-08T17:25:11.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:23 bin [2022-04-08T17:25:11.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:23 cmd [2022-04-08T17:25:11.920Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 8 17:24 coverage.out [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 8 17:23 go.mod [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 8 17:23 go.sum [2022-04-08T17:25:11.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:23 internal [2022-04-08T17:25:11.920Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 8 17:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:25:12.251Z] + 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=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 --label arch=amd64 --label version=0.0.0 . [2022-04-08T17:25:12.251Z] Sending build context to Docker daemon 22.95MB [2022-04-08T17:25:12.251Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T17:25:12.251Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-08T17:25:12.251Z] ---> 773a004617c7 [2022-04-08T17:25:12.251Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T17:25:12.514Z] ---> Running in 69ac37615ac9 [2022-04-08T17:25:12.514Z] Removing intermediate container 69ac37615ac9 [2022-04-08T17:25:12.514Z] ---> ed727b51249b [2022-04-08T17:25:12.514Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T17:25:12.514Z] ---> Running in a1064175a085 [2022-04-08T17:25:12.775Z] Removing intermediate container a1064175a085 [2022-04-08T17:25:12.775Z] ---> 465a5205320d [2022-04-08T17:25:12.775Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-08T17:25:12.775Z] ---> Running in 67ea383752d6 [2022-04-08T17:25:12.775Z] Removing intermediate container 67ea383752d6 [2022-04-08T17:25:12.775Z] ---> e36758f88457 [2022-04-08T17:25:12.775Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:25:12.775Z] ---> Running in 14d681e6a1ae [2022-04-08T17:25:13.356Z] Removing intermediate container 14d681e6a1ae [2022-04-08T17:25:13.356Z] ---> 4b74e1937033 [2022-04-08T17:25:13.356Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T17:25:13.620Z] ---> Running in 022873154f4a [2022-04-08T17:25:13.881Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T17:25:14.822Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T17:25:15.097Z] OK: 224 MiB in 56 packages [2022-04-08T17:25:15.360Z] Removing intermediate container 022873154f4a [2022-04-08T17:25:15.360Z] ---> eec6b006f66f [2022-04-08T17:25:15.360Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-08T17:25:15.622Z] ---> a76a43b77ed2 [2022-04-08T17:25:15.622Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T17:25:15.622Z] ---> Running in 358d6fa277ae [2022-04-08T17:25:16.195Z] Removing intermediate container 358d6fa277ae [2022-04-08T17:25:16.195Z] ---> 7098b834cf0e [2022-04-08T17:25:16.195Z] Step 10/26 : COPY . . [2022-04-08T17:25:16.764Z] ---> c458ae87932b [2022-04-08T17:25:16.764Z] Step 11/26 : ARG MAKE='make build' [2022-04-08T17:25:16.764Z] ---> Running in f3d7c5ff50b9 [2022-04-08T17:25:17.024Z] Removing intermediate container f3d7c5ff50b9 [2022-04-08T17:25:17.024Z] ---> 78ab62e59afc [2022-04-08T17:25:17.024Z] Step 12/26 : RUN $MAKE [2022-04-08T17:25:17.024Z] ---> Running in 7844bb4db47c [2022-04-08T17:25:17.284Z] 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-04-08T17:25:39.246Z] Removing intermediate container 7844bb4db47c [2022-04-08T17:25:39.246Z] ---> 098a390bb432 [2022-04-08T17:25:39.246Z] Step 13/26 : FROM alpine:3.14 [2022-04-08T17:25:39.246Z] 3.14: Pulling from library/alpine [2022-04-08T17:25:39.246Z] 8663204ce13b: Pulling fs layer [2022-04-08T17:25:39.246Z] 8663204ce13b: Verifying Checksum [2022-04-08T17:25:39.246Z] 8663204ce13b: Download complete [2022-04-08T17:25:39.505Z] 8663204ce13b: Pull complete [2022-04-08T17:25:39.505Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T17:25:39.505Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T17:25:39.505Z] ---> e04c818066af [2022-04-08T17:25:39.505Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-08T17:25:39.505Z] ---> Running in 8539df3b45f4 [2022-04-08T17:25:39.766Z] Removing intermediate container 8539df3b45f4 [2022-04-08T17:25:39.766Z] ---> aa665d78a11e [2022-04-08T17:25:39.766Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:25:39.766Z] ---> Running in 576059005fa1 [2022-04-08T17:25:40.334Z] Removing intermediate container 576059005fa1 [2022-04-08T17:25:40.334Z] ---> da1191dd676f [2022-04-08T17:25:40.334Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T17:25:40.334Z] ---> Running in 1cc88c64b678 [2022-04-08T17:25:40.598Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-08T17:25:41.620Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-08T17:25:41.882Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T17:25:41.882Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T17:25:41.882Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T17:25:42.144Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T17:25:42.144Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T17:25:42.144Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T17:25:42.404Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T17:25:42.404Z] OK: 8 MiB in 20 packages [2022-04-08T17:25:42.664Z] Removing intermediate container 1cc88c64b678 [2022-04-08T17:25:42.664Z] ---> 77f6af7d02a8 [2022-04-08T17:25:42.664Z] Step 17/26 : WORKDIR / [2022-04-08T17:25:42.925Z] ---> Running in b406209b485d [2022-04-08T17:25:42.925Z] Removing intermediate container b406209b485d [2022-04-08T17:25:42.925Z] ---> 234861817931 [2022-04-08T17:25:42.925Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-08T17:25:42.925Z] ---> 819f866a11c0 [2022-04-08T17:25:42.925Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-08T17:25:43.186Z] ---> c1d2045093f6 [2022-04-08T17:25:43.186Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-08T17:25:43.755Z] ---> 0b8be37900cb [2022-04-08T17:25:43.755Z] Step 21/26 : EXPOSE 59900 [2022-04-08T17:25:44.017Z] ---> Running in 30368357b3e1 [2022-04-08T17:25:44.017Z] Removing intermediate container 30368357b3e1 [2022-04-08T17:25:44.017Z] ---> a3fb7ea28d79 [2022-04-08T17:25:44.017Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-08T17:25:44.017Z] ---> Running in f98087641f31 [2022-04-08T17:25:44.017Z] Removing intermediate container f98087641f31 [2022-04-08T17:25:44.017Z] ---> d33c52e79597 [2022-04-08T17:25:44.017Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-08T17:25:44.277Z] ---> Running in 987b79fca713 [2022-04-08T17:25:44.277Z] Removing intermediate container 987b79fca713 [2022-04-08T17:25:44.277Z] ---> 491f7fc6fe89 [2022-04-08T17:25:44.277Z] Step 24/26 : LABEL arch=amd64 [2022-04-08T17:25:44.277Z] ---> Running in f9d4cef4cc58 [2022-04-08T17:25:44.277Z] Removing intermediate container f9d4cef4cc58 [2022-04-08T17:25:44.277Z] ---> c043a7129655 [2022-04-08T17:25:44.277Z] Step 25/26 : LABEL git_sha=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [2022-04-08T17:25:44.537Z] ---> Running in 90808e1e3a5c [2022-04-08T17:25:44.537Z] Removing intermediate container 90808e1e3a5c [2022-04-08T17:25:44.537Z] ---> 3583f40d53de [2022-04-08T17:25:44.537Z] Step 26/26 : LABEL version=0.0.0 [2022-04-08T17:25:44.537Z] ---> Running in 73773ca55824 [2022-04-08T17:25:44.537Z] Removing intermediate container 73773ca55824 [2022-04-08T17:25:44.537Z] ---> ae1673d40cc3 [2022-04-08T17:25:44.537Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T17:25:44.798Z] Successfully built ae1673d40cc3 [2022-04-08T17:25:44.798Z] Successfully tagged device-virtual:latest [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] sh [2022-04-08T17:25:45.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T17:25:45.250Z] [2022-04-08T17:25:45.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:25:45.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T17:25:45.562Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-08T17:25:45.562Z] 5eb5b503b376: Pulling fs layer [2022-04-08T17:25:45.562Z] 5c69ac0246d0: Pulling fs layer [2022-04-08T17:25:45.562Z] ec43610c2a17: Pulling fs layer [2022-04-08T17:25:45.562Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-08T17:25:45.562Z] 33b1e0a273af: Pulling fs layer [2022-04-08T17:25:45.562Z] 5d3b04190fa2: Pulling fs layer [2022-04-08T17:25:45.562Z] 2f39f015ded8: Pulling fs layer [2022-04-08T17:25:45.562Z] 33b1e0a273af: Waiting [2022-04-08T17:25:45.562Z] 5d3b04190fa2: Waiting [2022-04-08T17:25:45.562Z] 3a2ae6a8a46f: Waiting [2022-04-08T17:25:45.562Z] 2f39f015ded8: Waiting [2022-04-08T17:25:45.562Z] 5c69ac0246d0: Verifying Checksum [2022-04-08T17:25:45.562Z] 5c69ac0246d0: Download complete [2022-04-08T17:25:45.562Z] 3a2ae6a8a46f: Download complete [2022-04-08T17:25:45.562Z] 33b1e0a273af: Verifying Checksum [2022-04-08T17:25:45.562Z] 33b1e0a273af: Download complete [2022-04-08T17:25:45.562Z] 5d3b04190fa2: Verifying Checksum [2022-04-08T17:25:45.562Z] 5d3b04190fa2: Download complete [2022-04-08T17:25:45.562Z] ec43610c2a17: Verifying Checksum [2022-04-08T17:25:45.562Z] ec43610c2a17: Download complete [2022-04-08T17:25:45.822Z] 5eb5b503b376: Verifying Checksum [2022-04-08T17:25:45.822Z] 5eb5b503b376: Download complete [2022-04-08T17:25:46.392Z] 2f39f015ded8: Verifying Checksum [2022-04-08T17:25:46.392Z] 2f39f015ded8: Download complete [2022-04-08T17:25:47.331Z] 5eb5b503b376: Pull complete [2022-04-08T17:25:47.331Z] 5c69ac0246d0: Pull complete [2022-04-08T17:25:47.901Z] ec43610c2a17: Pull complete [2022-04-08T17:25:47.901Z] 3a2ae6a8a46f: Pull complete [2022-04-08T17:25:48.162Z] 33b1e0a273af: Pull complete [2022-04-08T17:25:48.162Z] 5d3b04190fa2: Pull complete [2022-04-08T17:25:53.441Z] 2f39f015ded8: Pull complete [2022-04-08T17:25:53.441Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-08T17:25:53.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T17:25:53.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-08T17:25:53.506Z] prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container [2022-04-08T17:25:53.550Z] $ 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-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-08T17:25:55.336Z] $ docker top 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:25:55.770Z] ---> job-cost.sh [2022-04-08T17:25:55.771Z] lf-activate-venv: SKIPPING [2022-04-08T17:25:55.771Z] INFO: No Stack... [2022-04-08T17:25:56.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T17:25:56.526Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11596 in /w/workspace/foundry_device-virtual-go_PR-275 [Pipeline] { [Pipeline] ws [2022-04-08T17:25:56.540Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-04-08T17:25:56.599Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T17:25:56.773Z] The recommended git tool is: git [2022-04-08T17:25:56.897Z] + cat /w/workspace/foundry_device-virtual-go_PR-275/archives/cost.csv [2022-04-08T17:25:56.897Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T17:25:56.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [2022-04-08T17:25:56.917Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] did not exist. Created. [2022-04-08T17:25:56.917Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T17:25:57.223Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-08T17:25:57.248Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T17:25:57.256Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T17:25:57.275Z] $ docker stop --time=1 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c [2022-04-08T17:25:58.459Z] $ docker rm -f 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-08T17:26:04.261Z] using credential edgex-jenkins-ssh [2022-04-08T17:26:04.283Z] Cloning the remote Git repository [2022-04-08T17:26:04.353Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-08T17:26:04.431Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-04-08T17:26:04.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-08T17:26:04.540Z] > git --version # timeout=10 [2022-04-08T17:26:04.595Z] > git --version # 'git version 2.25.1' [2022-04-08T17:26:04.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T17:26:04.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T17:26:06.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-08T17:26:06.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T17:26:06.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-08T17:26:07.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-08T17:26:07.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T17:26:07.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-08T17:26:07.782Z] Merging remotes/origin/main commit 351caebf32bba8e0fd88c5312046eae57dc27958 into PR head commit 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [2022-04-08T17:26:08.032Z] Merge succeeded, producing 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [2022-04-08T17:26:08.033Z] Checking out Revision 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 (PR-275) [2022-04-08T17:26:07.808Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T17:26:07.829Z] > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 [2022-04-08T17:26:07.926Z] > git remote # timeout=10 [2022-04-08T17:26:07.953Z] > git config --get remote.origin.url # timeout=10 [2022-04-08T17:26:07.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T17:26:07.990Z] > git merge 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 [2022-04-08T17:26:08.015Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-08T17:26:08.045Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T17:26:08.070Z] > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 [2022-04-08T17:26:12.623Z] Commit message: "feat: review comment to fix windows build and CGO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T17:26:13.433Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-08T17:26:13.433Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T17:26:13.433Z] Dload Upload Total Spent Left Speed [2022-04-08T17:26:13.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 53107 0 --:--:-- --:--:-- --:--:-- 53107 [Pipeline] sh [2022-04-08T17:26:13.976Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-08T17:26:14.314Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-04-08T17:26:14.314Z] /etc/docker/daemon.json [2022-04-08T17:26:14.314Z] { [2022-04-08T17:26:14.314Z] "registry-mirrors": [ [2022-04-08T17:26:14.314Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-08T17:26:14.314Z] ], [2022-04-08T17:26:14.314Z] "bip": "10.250.0.254/24", [2022-04-08T17:26:14.314Z] "hosts": [ [2022-04-08T17:26:14.314Z] "tcp://0.0.0.0:5555", [2022-04-08T17:26:14.314Z] "unix:///var/run/docker.sock" [2022-04-08T17:26:14.314Z] ], [2022-04-08T17:26:14.314Z] "mtu": 1458, [2022-04-08T17:26:14.314Z] "selinux-enabled": true, [2022-04-08T17:26:14.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-08T17:26:14.314Z] } [Pipeline] sh [2022-04-08T17:26:14.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-08T17:26:15.016Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T17:26:33.366Z] provisioning config files... [2022-04-08T17:26:33.391Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3193128605184452493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:26:33.809Z] ---> docker-login.sh [2022-04-08T17:26:33.809Z] nexus3.edgexfoundry.org:10001 [2022-04-08T17:26:34.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:26:34.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:26:34.695Z] Configure a credential helper to remove this warning. See [2022-04-08T17:26:34.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:26:34.695Z] [2022-04-08T17:26:34.695Z] Login Succeeded [2022-04-08T17:26:34.695Z] nexus3.edgexfoundry.org:10002 [2022-04-08T17:26:35.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:26:35.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:26:35.295Z] Configure a credential helper to remove this warning. See [2022-04-08T17:26:35.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:26:35.295Z] [2022-04-08T17:26:35.295Z] Login Succeeded [2022-04-08T17:26:35.295Z] nexus3.edgexfoundry.org:10003 [2022-04-08T17:26:35.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:26:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:26:35.846Z] Configure a credential helper to remove this warning. See [2022-04-08T17:26:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:26:35.846Z] [2022-04-08T17:26:35.846Z] Login Succeeded [2022-04-08T17:26:35.846Z] nexus3.edgexfoundry.org:10004 [2022-04-08T17:26:36.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:26:36.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:26:36.130Z] Configure a credential helper to remove this warning. See [2022-04-08T17:26:36.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:26:36.130Z] [2022-04-08T17:26:36.130Z] Login Succeeded [2022-04-08T17:26:36.130Z] docker.io [2022-04-08T17:26:36.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T17:26:37.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T17:26:37.003Z] Configure a credential helper to remove this warning. See [2022-04-08T17:26:37.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T17:26:37.003Z] [2022-04-08T17:26:37.003Z] Login Succeeded [2022-04-08T17:26:37.003Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T17:26:37.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T17:26:37.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T17:26:37.505Z] ========================================================= [2022-04-08T17:26:37.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-08T17:26:37.505Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:26:37.860Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-08T17:26:38.144Z] Sending build context to Docker daemon 11.58MB [2022-04-08T17:26:38.420Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T17:26:38.420Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T17:26:38.420Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-08T17:26:38.420Z] 9b3977197b4f: Pulling fs layer [2022-04-08T17:26:38.420Z] 1a89e8eeedd5: Pulling fs layer [2022-04-08T17:26:38.420Z] 94645a83ff95: Pulling fs layer [2022-04-08T17:26:38.420Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-08T17:26:38.420Z] 0c92f367c5e7: Pulling fs layer [2022-04-08T17:26:38.420Z] f7c0051592d6: Pulling fs layer [2022-04-08T17:26:38.420Z] a227ed2f7395: Pulling fs layer [2022-04-08T17:26:38.420Z] 7b1c46037f91: Pulling fs layer [2022-04-08T17:26:38.420Z] 0c92f367c5e7: Waiting [2022-04-08T17:26:38.420Z] 3f3a8bcf1eab: Waiting [2022-04-08T17:26:38.420Z] f7c0051592d6: Waiting [2022-04-08T17:26:38.420Z] a227ed2f7395: Waiting [2022-04-08T17:26:38.420Z] 7b1c46037f91: Waiting [2022-04-08T17:26:38.420Z] 94645a83ff95: Verifying Checksum [2022-04-08T17:26:38.420Z] 94645a83ff95: Download complete [2022-04-08T17:26:38.420Z] 1a89e8eeedd5: Verifying Checksum [2022-04-08T17:26:38.420Z] 1a89e8eeedd5: Download complete [2022-04-08T17:26:38.420Z] 0c92f367c5e7: Verifying Checksum [2022-04-08T17:26:38.420Z] 0c92f367c5e7: Download complete [2022-04-08T17:26:38.699Z] f7c0051592d6: Verifying Checksum [2022-04-08T17:26:38.699Z] f7c0051592d6: Download complete [2022-04-08T17:26:38.699Z] 9b3977197b4f: Verifying Checksum [2022-04-08T17:26:38.699Z] a227ed2f7395: Verifying Checksum [2022-04-08T17:26:38.699Z] a227ed2f7395: Download complete [2022-04-08T17:26:39.303Z] 9b3977197b4f: Pull complete [2022-04-08T17:26:39.905Z] 1a89e8eeedd5: Pull complete [2022-04-08T17:26:40.178Z] 94645a83ff95: Pull complete [2022-04-08T17:26:40.776Z] 7b1c46037f91: Verifying Checksum [2022-04-08T17:26:40.776Z] 7b1c46037f91: Download complete [2022-04-08T17:26:41.050Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-08T17:26:41.050Z] 3f3a8bcf1eab: Download complete [2022-04-08T17:26:53.467Z] 3f3a8bcf1eab: Pull complete [2022-04-08T17:26:53.467Z] 0c92f367c5e7: Pull complete [2022-04-08T17:26:53.467Z] f7c0051592d6: Pull complete [2022-04-08T17:26:54.066Z] a227ed2f7395: Pull complete [2022-04-08T17:27:00.798Z] 7b1c46037f91: Pull complete [2022-04-08T17:27:00.798Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-08T17:27:00.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-08T17:27:00.798Z] ---> f79e39bc4007 [2022-04-08T17:27:00.798Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T17:27:00.798Z] ---> Running in 2604a9fadafc [2022-04-08T17:27:01.079Z] Removing intermediate container 2604a9fadafc [2022-04-08T17:27:01.079Z] ---> e8cd4c371f69 [2022-04-08T17:27:01.079Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T17:27:01.354Z] ---> Running in b53817238da7 [2022-04-08T17:27:01.627Z] Removing intermediate container b53817238da7 [2022-04-08T17:27:01.627Z] ---> a3177917404a [2022-04-08T17:27:01.627Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-08T17:27:01.627Z] ---> Running in e82ed041ca72 [2022-04-08T17:27:01.906Z] Removing intermediate container e82ed041ca72 [2022-04-08T17:27:01.906Z] ---> 5794badd2e5b [2022-04-08T17:27:01.906Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:27:01.906Z] ---> Running in 3dc2963afee5 [2022-04-08T17:27:03.898Z] Removing intermediate container 3dc2963afee5 [2022-04-08T17:27:03.898Z] ---> f8d8afea68b4 [2022-04-08T17:27:03.898Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T17:27:03.898Z] ---> Running in d0c8fb9dfb4b [2022-04-08T17:27:04.892Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T17:27:05.489Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T17:27:06.466Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T17:27:06.466Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T17:27:06.466Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T17:27:06.744Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T17:27:06.744Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T17:27:07.019Z] OK: 224 MiB in 56 packages [2022-04-08T17:27:08.014Z] Removing intermediate container d0c8fb9dfb4b [2022-04-08T17:27:08.014Z] ---> 1feee05a6921 [2022-04-08T17:27:08.014Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-08T17:27:08.292Z] ---> 250320656b84 [2022-04-08T17:27:08.292Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T17:27:08.292Z] ---> Running in 1d4eacf8b094 [2022-04-08T17:27:55.303Z] Removing intermediate container 1d4eacf8b094 [2022-04-08T17:27:55.303Z] ---> 56cb87530a35 [2022-04-08T17:27:55.303Z] Step 10/12 : COPY . . [2022-04-08T17:27:55.577Z] ---> dbecccb3729a [2022-04-08T17:27:55.577Z] Step 11/12 : ARG MAKE='make build' [2022-04-08T17:27:55.856Z] ---> Running in 89872784c3f3 [2022-04-08T17:27:56.130Z] Removing intermediate container 89872784c3f3 [2022-04-08T17:27:56.130Z] ---> 597cc9a7ec79 [2022-04-08T17:27:56.130Z] Step 12/12 : RUN $MAKE [2022-04-08T17:27:56.130Z] ---> Running in a032c209722e [2022-04-08T17:27:57.136Z] noop [2022-04-08T17:27:57.734Z] Removing intermediate container a032c209722e [2022-04-08T17:27:57.734Z] ---> d4676613335a [2022-04-08T17:27:57.734Z] Successfully built d4676613335a [2022-04-08T17:27:57.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:27:58.083Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T17:27:58.083Z] . [Pipeline] withDockerContainer [2022-04-08T17:27:58.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container [2022-04-08T17:27:58.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat [2022-04-08T17:27:59.705Z] $ docker top d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T17:28:00.625Z] + go version [2022-04-08T17:28:00.625Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-08T17:28:00.655Z] $ docker stop --time=1 d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 [2022-04-08T17:28:02.302Z] $ docker rm -f d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:28:02.913Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T17:28:02.913Z] . [Pipeline] withDockerContainer [2022-04-08T17:28:03.124Z] prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container [2022-04-08T17:28:03.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat [2022-04-08T17:28:04.464Z] $ docker top 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T17:28:05.376Z] + make test [2022-04-08T17:28:05.376Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-08T17:28:06.821Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-08T17:29:28.715Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-08T17:29:28.715Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements [2022-04-08T17:29:28.715Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-08T17:29:28.715Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T17:29:47.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T17:29:47.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T17:29:47.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T17:29:49.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T17:29:49.739Z] $ docker stop --time=1 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 [2022-04-08T17:29:51.484Z] $ docker rm -f 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T17:29:52.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T17:29:52.440Z] Warning: overwriting stash ‘coverage-report’ [2022-04-08T17:29:52.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T17:29:53.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T17:29:53.688Z] + ls -al . [2022-04-08T17:29:53.688Z] total 180 [2022-04-08T17:29:53.688Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 8 17:29 . [2022-04-08T17:29:53.688Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:26 .. [2022-04-08T17:29:53.688Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:26 .git [2022-04-08T17:29:53.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:26 .github [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 8 17:26 .gitignore [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 17:26 .golangci.yml [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 8 17:26 Attribution.txt [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 8 17:26 CHANGELOG.md [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 8 17:26 Dockerfile [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 17:26 GOVERNANCE.md [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 8 17:26 Jenkinsfile [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 17:26 LICENSE [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 8 17:26 Makefile [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 8 17:26 OWNERS.md [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 8 17:26 README.md [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 17:24 VERSION [2022-04-08T17:29:53.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:26 bin [2022-04-08T17:29:53.688Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:26 cmd [2022-04-08T17:29:53.688Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 8 17:29 coverage.out [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 8 17:26 go.mod [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 8 17:26 go.sum [2022-04-08T17:29:53.688Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:26 internal [2022-04-08T17:29:53.688Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 8 17:26 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:29:54.041Z] + 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=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 --label arch=arm64 --label version=0.0.0 . [2022-04-08T17:29:54.643Z] Sending build context to Docker daemon 11.63MB [2022-04-08T17:29:54.643Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T17:29:54.643Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-08T17:29:54.643Z] ---> d4676613335a [2022-04-08T17:29:54.643Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T17:29:54.643Z] ---> Running in 632784174bfb [2022-04-08T17:29:54.916Z] Removing intermediate container 632784174bfb [2022-04-08T17:29:54.917Z] ---> c39e345880e6 [2022-04-08T17:29:54.917Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T17:29:54.917Z] ---> Running in 58ee52ddb42e [2022-04-08T17:29:55.199Z] Removing intermediate container 58ee52ddb42e [2022-04-08T17:29:55.199Z] ---> 37903b3e9dfd [2022-04-08T17:29:55.199Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-08T17:29:55.476Z] ---> Running in 34ce595e1f23 [2022-04-08T17:29:55.749Z] Removing intermediate container 34ce595e1f23 [2022-04-08T17:29:55.749Z] ---> e5cfa182dc4a [2022-04-08T17:29:55.749Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:29:55.749Z] ---> Running in 26ab2efd2c1d [2022-04-08T17:29:57.727Z] Removing intermediate container 26ab2efd2c1d [2022-04-08T17:29:57.727Z] ---> 311e96945baa [2022-04-08T17:29:57.727Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T17:29:57.727Z] ---> Running in 5be6e7459ed0 [2022-04-08T17:29:58.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T17:29:59.304Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T17:30:00.281Z] OK: 224 MiB in 56 packages [2022-04-08T17:30:00.885Z] Removing intermediate container 5be6e7459ed0 [2022-04-08T17:30:00.885Z] ---> a1cc9d8ad568 [2022-04-08T17:30:00.885Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-08T17:30:01.485Z] ---> 218af3cee257 [2022-04-08T17:30:01.485Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T17:30:01.485Z] ---> Running in 5bbddf213b48 [2022-04-08T17:30:03.476Z] Removing intermediate container 5bbddf213b48 [2022-04-08T17:30:03.476Z] ---> bc995f6c62e7 [2022-04-08T17:30:03.476Z] Step 10/26 : COPY . . [2022-04-08T17:30:04.461Z] ---> a2ece67305cc [2022-04-08T17:30:04.461Z] Step 11/26 : ARG MAKE='make build' [2022-04-08T17:30:04.740Z] ---> Running in dcf2c571ea56 [2022-04-08T17:30:05.014Z] Removing intermediate container dcf2c571ea56 [2022-04-08T17:30:05.014Z] ---> 2041fab20b0a [2022-04-08T17:30:05.014Z] Step 12/26 : RUN $MAKE [2022-04-08T17:30:05.014Z] ---> Running in d1bc142b2ee6 [2022-04-08T17:30:06.003Z] 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-04-08T17:32:12.859Z] Removing intermediate container d1bc142b2ee6 [2022-04-08T17:32:12.859Z] ---> 6bcd819657a6 [2022-04-08T17:32:12.859Z] Step 13/26 : FROM alpine:3.14 [2022-04-08T17:32:12.859Z] 3.14: Pulling from library/alpine [2022-04-08T17:32:12.859Z] 455c02918c45: Pulling fs layer [2022-04-08T17:32:12.859Z] 455c02918c45: Verifying Checksum [2022-04-08T17:32:12.859Z] 455c02918c45: Download complete [2022-04-08T17:32:12.859Z] 455c02918c45: Pull complete [2022-04-08T17:32:12.859Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T17:32:12.859Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T17:32:12.859Z] ---> ac73e934f311 [2022-04-08T17:32:12.859Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-08T17:32:12.859Z] ---> Running in c02f0476d845 [2022-04-08T17:32:12.859Z] Removing intermediate container c02f0476d845 [2022-04-08T17:32:12.859Z] ---> 11348d0ded8a [2022-04-08T17:32:12.859Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T17:32:12.859Z] ---> Running in 76d19eb00c7f [2022-04-08T17:32:12.859Z] Removing intermediate container 76d19eb00c7f [2022-04-08T17:32:12.859Z] ---> 114fdbd3b967 [2022-04-08T17:32:12.859Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T17:32:12.859Z] ---> Running in e314a0f760f7 [2022-04-08T17:32:12.859Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-08T17:32:12.859Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-08T17:32:12.859Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T17:32:12.859Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T17:32:12.859Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T17:32:12.859Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T17:32:12.859Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T17:32:12.859Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T17:32:12.859Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T17:32:12.859Z] OK: 8 MiB in 20 packages [2022-04-08T17:32:12.859Z] Removing intermediate container e314a0f760f7 [2022-04-08T17:32:12.859Z] ---> 2cad2c36aac9 [2022-04-08T17:32:12.859Z] Step 17/26 : WORKDIR / [2022-04-08T17:32:12.859Z] ---> Running in 8b784c9328e7 [2022-04-08T17:32:12.859Z] Removing intermediate container 8b784c9328e7 [2022-04-08T17:32:12.859Z] ---> c585fdaa977d [2022-04-08T17:32:12.859Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-08T17:32:12.859Z] ---> 333dc6a5ab85 [2022-04-08T17:32:12.859Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-08T17:32:12.859Z] ---> eb0b5ab2a3d9 [2022-04-08T17:32:12.859Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-08T17:32:12.859Z] ---> 1ec8446113d0 [2022-04-08T17:32:12.859Z] Step 21/26 : EXPOSE 59900 [2022-04-08T17:32:12.859Z] ---> Running in 95114f3a9a56 [2022-04-08T17:32:12.859Z] Removing intermediate container 95114f3a9a56 [2022-04-08T17:32:12.859Z] ---> c4dacacf94d9 [2022-04-08T17:32:12.859Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-08T17:32:12.859Z] ---> Running in 0ddf7754a066 [2022-04-08T17:32:12.859Z] Removing intermediate container 0ddf7754a066 [2022-04-08T17:32:12.859Z] ---> 0b5bb36e20c6 [2022-04-08T17:32:12.859Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-08T17:32:12.859Z] ---> Running in 81bee816597e [2022-04-08T17:32:12.859Z] Removing intermediate container 81bee816597e [2022-04-08T17:32:12.859Z] ---> 7c8ac6e984b7 [2022-04-08T17:32:12.859Z] Step 24/26 : LABEL arch=arm64 [2022-04-08T17:32:12.859Z] ---> Running in 165317f8f142 [2022-04-08T17:32:12.859Z] Removing intermediate container 165317f8f142 [2022-04-08T17:32:12.859Z] ---> 13b3eaa7adbc [2022-04-08T17:32:12.859Z] Step 25/26 : LABEL git_sha=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [2022-04-08T17:32:12.859Z] ---> Running in f16d4cc42bc9 [2022-04-08T17:32:12.859Z] Removing intermediate container f16d4cc42bc9 [2022-04-08T17:32:12.859Z] ---> 9987214eacae [2022-04-08T17:32:12.859Z] Step 26/26 : LABEL version=0.0.0 [2022-04-08T17:32:12.859Z] ---> Running in 4fe9d68035db [2022-04-08T17:32:12.859Z] Removing intermediate container 4fe9d68035db [2022-04-08T17:32:12.859Z] ---> 122ad26b3183 [2022-04-08T17:32:12.859Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T17:32:12.859Z] Successfully built 122ad26b3183 [2022-04-08T17:32:12.859Z] Successfully tagged device-virtual-arm64:latest [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] sh [2022-04-08T17:32:13.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T17:32:13.326Z] [2022-04-08T17:32:13.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:32:13.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T17:32:13.957Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-08T17:32:13.957Z] 8998bd30e6a1: Pulling fs layer [2022-04-08T17:32:13.957Z] 04944245beec: Pulling fs layer [2022-04-08T17:32:13.957Z] 699f458cf7ca: Pulling fs layer [2022-04-08T17:32:13.957Z] 765212b225bb: Pulling fs layer [2022-04-08T17:32:13.957Z] f23df028b6ca: Pulling fs layer [2022-04-08T17:32:13.957Z] d65c8cfc05b1: Pulling fs layer [2022-04-08T17:32:13.957Z] 2437ff75d9bd: Pulling fs layer [2022-04-08T17:32:13.957Z] f23df028b6ca: Waiting [2022-04-08T17:32:13.957Z] d65c8cfc05b1: Waiting [2022-04-08T17:32:13.957Z] 2437ff75d9bd: Waiting [2022-04-08T17:32:13.957Z] 765212b225bb: Waiting [2022-04-08T17:32:13.957Z] 04944245beec: Download complete [2022-04-08T17:32:13.957Z] 765212b225bb: Verifying Checksum [2022-04-08T17:32:13.957Z] 765212b225bb: Download complete [2022-04-08T17:32:13.957Z] f23df028b6ca: Verifying Checksum [2022-04-08T17:32:13.957Z] f23df028b6ca: Download complete [2022-04-08T17:32:13.957Z] d65c8cfc05b1: Verifying Checksum [2022-04-08T17:32:13.957Z] d65c8cfc05b1: Download complete [2022-04-08T17:32:14.233Z] 699f458cf7ca: Verifying Checksum [2022-04-08T17:32:14.233Z] 699f458cf7ca: Download complete [2022-04-08T17:32:14.509Z] 8998bd30e6a1: Verifying Checksum [2022-04-08T17:32:14.509Z] 8998bd30e6a1: Download complete [2022-04-08T17:32:17.145Z] 2437ff75d9bd: Download complete [2022-04-08T17:32:19.144Z] 8998bd30e6a1: Pull complete [2022-04-08T17:32:19.422Z] 04944245beec: Pull complete [2022-04-08T17:32:20.863Z] 699f458cf7ca: Pull complete [2022-04-08T17:32:21.140Z] 765212b225bb: Pull complete [2022-04-08T17:32:22.125Z] f23df028b6ca: Pull complete [2022-04-08T17:32:22.125Z] d65c8cfc05b1: Pull complete [2022-04-08T17:32:37.240Z] 2437ff75d9bd: Pull complete [2022-04-08T17:32:37.240Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-08T17:32:37.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T17:32:37.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-08T17:32:37.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container [2022-04-08T17:32:37.563Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-08T17:32:40.042Z] $ docker top 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:40.969Z] ---> job-cost.sh [2022-04-08T17:32:40.969Z] lf-activate-venv: SKIPPING [2022-04-08T17:32:40.969Z] INFO: No Stack... [2022-04-08T17:32:41.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-08T17:32:42.163Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T17:32:42.836Z] + cut -d, -f6 [2022-04-08T17:32:42.836Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2022-04-08T17:32:42.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [2022-04-08T17:32:42.905Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] did not exist. Created. [2022-04-08T17:32:42.905Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T17:32:43.602Z] /w/workspace/device-virtual-go/2@tmp/durable-96bc1102/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-08T17:32:44.286Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-08T17:32:44.314Z] Warning: overwriting stash ‘stack-cost’ [2022-04-08T17:32:44.359Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T17:32:44.366Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T17:32:44.389Z] $ docker stop --time=1 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 [2022-04-08T17:32:45.863Z] $ docker rm -f 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 [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-04-08T17:32:46.427Z] provisioning config files... [2022-04-08T17:32:46.436Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config4444719598379232698tmp [Pipeline] { [Pipeline] sh [2022-04-08T17:32:46.735Z] + set +x [2022-04-08T17:32:46.735Z] + curl -s https://codecov.io/bash [2022-04-08T17:32:46.735Z] + bash -s -- [2022-04-08T17:32:46.735Z] [2022-04-08T17:32:46.735Z] _____ _ [2022-04-08T17:32:46.735Z] / ____| | | [2022-04-08T17:32:46.735Z] | | ___ __| | ___ ___ _____ __ [2022-04-08T17:32:46.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-08T17:32:46.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-08T17:32:46.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-08T17:32:46.735Z] Bash-1.0.6 [2022-04-08T17:32:46.735Z] [2022-04-08T17:32:46.735Z] [2022-04-08T17:32:46.735Z] ==> git version 2.25.1 found [2022-04-08T17:32:46.735Z] ==> 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-04-08T17:32:46.735Z] Release-Date: 2020-01-08 [2022-04-08T17:32:46.735Z] 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-04-08T17:32:46.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-08T17:32:46.735Z] ==> Jenkins CI detected. [2022-04-08T17:32:46.735Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-275 [2022-04-08T17:32:46.735Z] project root: . [2022-04-08T17:32:46.735Z] --> token set from env [2022-04-08T17:32:46.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-08T17:32:46.735Z] ==> Running gcov in . (disable via -X gcov) [2022-04-08T17:32:46.735Z] ==> Python coveragepy not found [2022-04-08T17:32:46.735Z] ==> Searching for coverage reports in: [2022-04-08T17:32:46.735Z] + . [2022-04-08T17:32:46.735Z] -> Found 1 reports [2022-04-08T17:32:46.735Z] ==> Detecting git/mercurial file structure [2022-04-08T17:32:46.735Z] ==> Reading reports [2022-04-08T17:32:46.735Z] + ./coverage.out bytes=44128 [2022-04-08T17:32:46.735Z] ==> Appending adjustments [2022-04-08T17:32:46.735Z] https://docs.codecov.io/docs/fixing-reports [2022-04-08T17:32:46.996Z] + Found adjustments [2022-04-08T17:32:46.996Z] ==> Gzipping contents [2022-04-08T17:32:46.996Z] 8.0K /tmp/codecov.GQXBo7.gz [2022-04-08T17:32:46.996Z] ==> Uploading reports [2022-04-08T17:32:46.996Z] url: https://codecov.io [2022-04-08T17:32:46.996Z] query: branch=PR-275&commit=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-275%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=275&job=&cmd_args= [2022-04-08T17:32:46.996Z] -> Pinging Codecov [2022-04-08T17:32:46.997Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-275&commit=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-275%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=275&job=&cmd_args= [2022-04-08T17:32:47.257Z] -> Uploading to [2022-04-08T17:32:47.257Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-08/5E52B4B073DB2E39498172D8E973AA87/596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834/8687b308-164b-446a-91b2-76face79aadc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T173247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71b329cfbd7d935ac36c07eaba222e5a9036d2e29733b8f4b4138b907634f8fc [2022-04-08T17:32:47.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T17:32:47.257Z] Dload Upload Total Spent Left Speed [2022-04-08T17:32:47.517Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5303 0 0 100 5303 0 19861 --:--:-- --:--:-- --:--:-- 19861 [2022-04-08T17:32:47.517Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] } [2022-04-08T17:32:47.525Z] 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-04-08T17:32:48.270Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-275/archives ] [2022-04-08T17:32:48.270Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-275/archives [2022-04-08T17:32:48.270Z] total 16 [2022-04-08T17:32:48.270Z] drwxr-xr-x 3 root root 4096 Apr 8 17:25 . [2022-04-08T17:32:48.270Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:25 .. [2022-04-08T17:32:48.270Z] drwxr-xr-x 2 root root 4096 Apr 8 17:25 cost [2022-04-08T17:32:48.270Z] -rw-r--r-- 1 root root 88 Apr 8 17:25 cost.csv [2022-04-08T17:32:48.270Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-275/archives [2022-04-08T17:32:48.270Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-275/archives [2022-04-08T17:32:48.270Z] total 16 [2022-04-08T17:32:48.270Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 17:25 . [2022-04-08T17:32:48.270Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:25 .. [2022-04-08T17:32:48.270Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 17:25 cost [2022-04-08T17:32:48.270Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 8 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:48.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:49.441Z] ---> package-listing.sh [2022-04-08T17:32:49.442Z] ++ facter osfamily [2022-04-08T17:32:49.442Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-08T17:32:49.702Z] + OS_FAMILY=debian [2022-04-08T17:32:49.702Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-275 [2022-04-08T17:32:49.702Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-08T17:32:49.702Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-08T17:32:49.702Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-08T17:32:49.702Z] + PACKAGES=/tmp/packages_start.txt [2022-04-08T17:32:49.702Z] + '[' /w/workspace/foundry_device-virtual-go_PR-275 ']' [2022-04-08T17:32:49.702Z] + PACKAGES=/tmp/packages_end.txt [2022-04-08T17:32:49.702Z] + case "${OS_FAMILY}" in [2022-04-08T17:32:49.702Z] + dpkg -l [2022-04-08T17:32:49.702Z] + grep '^ii' [2022-04-08T17:32:49.702Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-08T17:32:49.702Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-08T17:32:49.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-08T17:32:49.702Z] + '[' /w/workspace/foundry_device-virtual-go_PR-275 ']' [2022-04-08T17:32:49.702Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-275/archives/ [2022-04-08T17:32:49.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-275/archives/ [Pipeline] echo [2022-04-08T17:32:49.715Z] 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-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-08T17:32:49.997Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-08T17:32:50.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T17:32:50.565Z] . [Pipeline] withDockerContainer [2022-04-08T17:32:50.643Z] prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container [2022-04-08T17:32:50.680Z] $ 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-275/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-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@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-lftools-log-publisher:latest cat [2022-04-08T17:32:50.918Z] $ docker top 76b423605112e3d7442abfb266c1a534c81e3ab49adb03232711a6c13a96558d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T17:32:51.273Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-08T17:32:51.565Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-08T17:32:51.858Z] + ls /var/log/sa-host [2022-04-08T17:32:51.858Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T17:32:52.084Z] provisioning config files... [2022-04-08T17:32:52.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1592027298462618307tmp [Pipeline] { [Pipeline] echo [2022-04-08T17:32:52.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:52.393Z] ---> create-netrc.sh [Pipeline] } [2022-04-08T17:32:52.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:52.742Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-08T17:32:52.753Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:53.039Z] ---> sudo-logs.sh [2022-04-08T17:32:53.039Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-08T17:32:53.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:53.353Z] ---> job-cost.sh [2022-04-08T17:32:53.353Z] lf-activate-venv: SKIPPING [2022-04-08T17:32:53.353Z] DEBUG: total: 0.2199999988079071 [2022-04-08T17:32:53.353Z] INFO: Retrieving Stack Cost... [2022-04-08T17:32:53.924Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T17:32:54.184Z] INFO: Archiving Costs [Pipeline] echo [2022-04-08T17:32:54.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T17:32:54.483Z] ---> logs-deploy.sh [2022-04-08T17:32:54.483Z] lf-activate-venv: SKIPPING [2022-04-08T17:32:54.483Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-275/2 [2022-04-08T17:32:54.483Z] INFO: archiving workspace using pattern(s): [2022-04-08T17:32:55.429Z] Archives upload complete. [2022-04-08T17:32:55.429Z] INFO: archiving logs to Nexus