Pull request #269 opened 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 hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from fbc93726e92397df3d75a3a196ca5a825f704b99+7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 (83bea5195fd5ce7b53c239888b018dc4aaee616d) 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-ssh12710385186275184629.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-ssh10857860084176093234.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-269/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-269/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10994441516602778536.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-269/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16075031721401398894.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh2142307289119747838.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-269/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-269/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1951546477571681965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7802 in /w/workspace/foundry_device-virtual-go_PR-269 [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-269 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit fbc93726e92397df3d75a3a196ca5a825f704b99 Merge succeeded, producing fbc93726e92397df3d75a3a196ca5a825f704b99 Checking out Revision fbc93726e92397df3d75a3a196ca5a825f704b99 (PR-269) > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # 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 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 Commit message: "build(deps): Bump sdk and core-contracts to latest version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T07:19:08.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T07:19:08.713Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T07:19:08.837Z] ========================================================= [2022-03-17T07:19:08.837Z] EdgeX Global Pipelines Version Info [2022-03-17T07:19:08.837Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:19:09.762Z] ------------------- [2022-03-17T07:19:09.762Z] stable info: [2022-03-17T07:19:09.762Z] ------------------- [2022-03-17T07:19:09.762Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T07:19:09.762Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T07:19:09.762Z] Message: update stable to v1.0.221 [2022-03-17T07:19:10.336Z] ------------------- [2022-03-17T07:19:10.336Z] experimental info: [2022-03-17T07:19:10.336Z] ------------------- [2022-03-17T07:19:10.336Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T07:19:10.336Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T07:19:10.336Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T07:19:10.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-03-17T07:19:10.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-03-17T07:19:10.666Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T07:19:10.710Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T07:19:10.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T07:19:10.786Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T07:19:10.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T07:19:10.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T07:19:10.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T07:19:10.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T07:19:10.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T07:19:11.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-03-17T07:19:11.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T07:19:11.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T07:19:11.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T07:19:11.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T07:19:11.244Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T07:19:11.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T07:19:11.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T07:19:11.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T07:19:11.398Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T07:19:11.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T07:19:11.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T07:19:11.529Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T07:19:11.570Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T07:19:11.613Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T07:19:11.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo [2022-03-17T07:19:11.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo [2022-03-17T07:19:11.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo [2022-03-17T07:19:11.773Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo [2022-03-17T07:19:11.810Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fbc9372 [Pipeline] echo [2022-03-17T07:19:11.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T07:19:11.967Z] provisioning config files... [2022-03-17T07:19:11.981Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config9044142742191199368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:19:12.330Z] ---> docker-login.sh [2022-03-17T07:19:12.330Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:19:12.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:12.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:12.592Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:12.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:12.592Z] [2022-03-17T07:19:12.592Z] Login Succeeded [2022-03-17T07:19:12.592Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:19:12.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:12.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:12.856Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:12.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:12.856Z] [2022-03-17T07:19:12.856Z] Login Succeeded [2022-03-17T07:19:12.856Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:19:12.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:13.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:13.122Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:13.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:13.122Z] [2022-03-17T07:19:13.122Z] Login Succeeded [2022-03-17T07:19:13.122Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:19:13.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:13.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:13.122Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:13.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:13.122Z] [2022-03-17T07:19:13.122Z] Login Succeeded [2022-03-17T07:19:13.122Z] docker.io [2022-03-17T07:19:13.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:13.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:13.696Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:13.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:13.696Z] [2022-03-17T07:19:13.696Z] Login Succeeded [2022-03-17T07:19:13.696Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:19:13.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T07:19:14.315Z] + git rev-list -1 --merges fbc93726e92397df3d75a3a196ca5a825f704b99~1..fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo [2022-03-17T07:19:14.363Z] -----------> git rev-list -1 --merges fbc93726e92397df3d75a3a196ca5a825f704b99~1..fbc93726e92397df3d75a3a196ca5a825f704b99 fbc93726e92397df3d75a3a196ca5a825f704b99 [false] [Pipeline] sh [2022-03-17T07:19:14.684Z] + git log --format=format:%s -1 fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo [2022-03-17T07:19:14.716Z] ========================================================= [2022-03-17T07:19:14.716Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T07:19:14.716Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T07:19:15.169Z] + git log --format=format:%s -1 fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo [2022-03-17T07:19:15.205Z] [semverPrep] GIT_COMMIT: fbc93726e92397df3d75a3a196ca5a825f704b99, Commit Message: build(deps): Bump sdk and core-contracts to latest version [Pipeline] echo [2022-03-17T07:19:15.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T07:19:15.686Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T07:19:15.686Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T07:19:15.686Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T07:19:15.686Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T07:19:15.686Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T07:19:15.686Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T07:19:15.686Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:19:16.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:19:16.142Z] [2022-03-17T07:19:16.142Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:19:16.484Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:19:16.484Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T07:19:16.484Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T07:19:16.484Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T07:19:16.484Z] 4c7163046ea9: Pulling fs layer [2022-03-17T07:19:16.484Z] 0c2d73faf560: Pulling fs layer [2022-03-17T07:19:16.484Z] 0c2d73faf560: Waiting [2022-03-17T07:19:16.484Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T07:19:16.484Z] 3e5f54012d9b: Download complete [2022-03-17T07:19:16.484Z] a0d0a0d46f8b: Download complete [2022-03-17T07:19:16.484Z] 4c7163046ea9: Verifying Checksum [2022-03-17T07:19:16.484Z] 4c7163046ea9: Download complete [2022-03-17T07:19:16.484Z] 0c2d73faf560: Verifying Checksum [2022-03-17T07:19:16.484Z] 0c2d73faf560: Download complete [2022-03-17T07:19:16.746Z] a0d0a0d46f8b: Pull complete [2022-03-17T07:19:16.746Z] 3e5f54012d9b: Pull complete [2022-03-17T07:19:17.006Z] 4c7163046ea9: Pull complete [2022-03-17T07:19:17.267Z] 0c2d73faf560: Pull complete [2022-03-17T07:19:17.267Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T07:19:17.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:19:17.267Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T07:19:17.370Z] prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container [2022-03-17T07:19:17.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-17T07:19:18.137Z] $ docker top 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T07:19:18.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T07:19:18.327Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T07:19:18.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T07:19:18.489Z] $ docker exec 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent [2022-03-17T07:19:18.610Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBbgiP/agent.14 [2022-03-17T07:19:18.610Z] SSH_AGENT_PID=20 [2022-03-17T07:19:18.620Z] Running ssh-add (command line suppressed) [2022-03-17T07:19:18.747Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_1058561176296636792.key (/w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_1058561176296636792.key) [2022-03-17T07:19:18.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T07:19:19.089Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T07:19:19.121Z] $ docker exec --env ******** --env ******** 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent -k [2022-03-17T07:19:19.254Z] unset SSH_AUTH_SOCK; [2022-03-17T07:19:19.255Z] unset SSH_AGENT_PID; [2022-03-17T07:19:19.255Z] echo Agent pid 20 killed; [2022-03-17T07:19:19.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T07:19:19.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T07:19:19.350Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T07:19:19.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T07:19:19.494Z] $ docker exec 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent [2022-03-17T07:19:19.615Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoejhIa/agent.53 [2022-03-17T07:19:19.615Z] SSH_AGENT_PID=60 [2022-03-17T07:19:19.622Z] Running ssh-add (command line suppressed) [2022-03-17T07:19:19.760Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_7814486054205662683.key (/w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_7814486054205662683.key) [2022-03-17T07:19:19.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T07:19:20.099Z] + git semver init [2022-03-17T07:19:20.099Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T07:19:20.099Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-269/.git [2022-03-17T07:19:20.099Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-269 [2022-03-17T07:19:20.099Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T07:19:20.099Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T07:19:20.099Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T07:19:20.099Z] # $SEMVER_BRANCH = PR-269 [2022-03-17T07:19:20.099Z] # $SEMVER_TEMP = /tmp/semver-228796438 [2022-03-17T07:19:20.099Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-03-17T07:19:21.494Z] # '/tmp/semver-228796438' -> '/w/workspace/foundry_device-virtual-go_PR-269/.semver' [2022-03-17T07:19:21.494Z] # -> Force: false [2022-03-17T07:19:21.494Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-269/.semver [Pipeline] } [2022-03-17T07:19:21.525Z] $ docker exec --env ******** --env ******** 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent -k [2022-03-17T07:19:21.654Z] unset SSH_AUTH_SOCK; [2022-03-17T07:19:21.655Z] unset SSH_AGENT_PID; [2022-03-17T07:19:21.655Z] echo Agent pid 60 killed; [2022-03-17T07:19:21.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T07:19:22.085Z] + git semver [Pipeline] } [2022-03-17T07:19:22.119Z] $ docker stop --time=1 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 [2022-03-17T07:19:23.605Z] $ docker rm -f 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T07:19:24.032Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T07:19:24.328Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T07:19:24.348Z] [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-03-17T07:19:24.920Z] provisioning config files... [2022-03-17T07:19:24.931Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config3615435421548001623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:19:25.290Z] ---> docker-login.sh [2022-03-17T07:19:25.290Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:19:25.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:25.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:25.290Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:25.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:25.290Z] [2022-03-17T07:19:25.290Z] Login Succeeded [2022-03-17T07:19:25.290Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:19:25.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:25.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:25.557Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:25.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:25.557Z] [2022-03-17T07:19:25.557Z] Login Succeeded [2022-03-17T07:19:25.557Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:19:25.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:25.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:25.557Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:25.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:25.557Z] [2022-03-17T07:19:25.557Z] Login Succeeded [2022-03-17T07:19:25.557Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:19:25.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:25.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:25.820Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:25.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:25.820Z] [2022-03-17T07:19:25.820Z] Login Succeeded [2022-03-17T07:19:25.820Z] docker.io [2022-03-17T07:19:25.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:19:26.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:19:26.082Z] Configure a credential helper to remove this warning. See [2022-03-17T07:19:26.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:19:26.082Z] [2022-03-17T07:19:26.082Z] Login Succeeded [2022-03-17T07:19:26.082Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:19:26.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T07:19:26.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T07:19:26.348Z] ========================================================= [2022-03-17T07:19:26.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T07:19:26.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:19:26.758Z] + 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-03-17T07:19:26.758Z] Sending build context to Docker daemon 22.9MB [2022-03-17T07:19:26.758Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:19:26.758Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T07:19:27.026Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T07:19:27.026Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T07:19:27.026Z] 666ba61612fd: Pulling fs layer [2022-03-17T07:19:27.026Z] 8ed8ca486205: Pulling fs layer [2022-03-17T07:19:27.026Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T07:19:27.026Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T07:19:27.026Z] 640e595b4fbd: Pulling fs layer [2022-03-17T07:19:27.026Z] 763cafe07f6e: Pulling fs layer [2022-03-17T07:19:27.026Z] 0c0b528cf693: Pulling fs layer [2022-03-17T07:19:27.026Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T07:19:27.026Z] 763cafe07f6e: Waiting [2022-03-17T07:19:27.026Z] 4fe6c5a15a65: Waiting [2022-03-17T07:19:27.026Z] 0c0b528cf693: Waiting [2022-03-17T07:19:27.026Z] 22a0e8bec74d: Waiting [2022-03-17T07:19:27.026Z] 10935f4eaf8b: Waiting [2022-03-17T07:19:27.026Z] 8ed8ca486205: Verifying Checksum [2022-03-17T07:19:27.026Z] 8ed8ca486205: Download complete [2022-03-17T07:19:27.026Z] 666ba61612fd: Verifying Checksum [2022-03-17T07:19:27.026Z] 666ba61612fd: Download complete [2022-03-17T07:19:27.026Z] 22a0e8bec74d: Download complete [2022-03-17T07:19:27.026Z] 640e595b4fbd: Verifying Checksum [2022-03-17T07:19:27.026Z] 640e595b4fbd: Download complete [2022-03-17T07:19:27.026Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T07:19:27.026Z] 59bf1c3509f3: Download complete [2022-03-17T07:19:27.026Z] 763cafe07f6e: Verifying Checksum [2022-03-17T07:19:27.026Z] 763cafe07f6e: Download complete [2022-03-17T07:19:27.026Z] 0c0b528cf693: Verifying Checksum [2022-03-17T07:19:27.026Z] 0c0b528cf693: Download complete [2022-03-17T07:19:27.026Z] 59bf1c3509f3: Pull complete [2022-03-17T07:19:27.291Z] 666ba61612fd: Pull complete [2022-03-17T07:19:27.291Z] 8ed8ca486205: Pull complete [2022-03-17T07:19:27.556Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T07:19:27.556Z] 10935f4eaf8b: Download complete [2022-03-17T07:19:27.819Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T07:19:27.819Z] 4fe6c5a15a65: Download complete [2022-03-17T07:19:32.030Z] 4fe6c5a15a65: Pull complete [2022-03-17T07:19:32.030Z] 22a0e8bec74d: Pull complete [2022-03-17T07:19:32.030Z] 640e595b4fbd: Pull complete [2022-03-17T07:19:32.030Z] 763cafe07f6e: Pull complete [2022-03-17T07:19:32.030Z] 0c0b528cf693: Pull complete [2022-03-17T07:19:34.574Z] 10935f4eaf8b: Pull complete [2022-03-17T07:19:34.574Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T07:19:34.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T07:19:34.574Z] ---> 99d49a6021b9 [2022-03-17T07:19:34.574Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:19:36.488Z] ---> Running in 28999c76a841 [2022-03-17T07:19:36.488Z] Removing intermediate container 28999c76a841 [2022-03-17T07:19:36.488Z] ---> 1edfe478c658 [2022-03-17T07:19:36.488Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:19:36.488Z] ---> Running in 4bb8b90395e3 [2022-03-17T07:19:36.488Z] Removing intermediate container 4bb8b90395e3 [2022-03-17T07:19:36.488Z] ---> 219d261e604a [2022-03-17T07:19:36.488Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-17T07:19:36.488Z] ---> Running in 3354b001b098 [2022-03-17T07:19:36.488Z] Removing intermediate container 3354b001b098 [2022-03-17T07:19:36.488Z] ---> c317d9db5af7 [2022-03-17T07:19:36.488Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:19:36.488Z] ---> Running in 8e6232cb3749 [2022-03-17T07:19:37.059Z] Removing intermediate container 8e6232cb3749 [2022-03-17T07:19:37.059Z] ---> 8c5a14ddeaaf [2022-03-17T07:19:37.059Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:19:37.059Z] ---> Running in 9cdfa7db1b5a [2022-03-17T07:19:37.320Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:19:38.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:19:38.521Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T07:19:38.782Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T07:19:38.782Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T07:19:38.782Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T07:19:39.043Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T07:19:39.043Z] OK: 224 MiB in 56 packages [2022-03-17T07:19:39.305Z] Removing intermediate container 9cdfa7db1b5a [2022-03-17T07:19:39.305Z] ---> 068457682146 [2022-03-17T07:19:39.305Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-17T07:19:39.568Z] ---> f77878360e7a [2022-03-17T07:19:39.568Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:19:39.568Z] ---> Running in dbb4c1070de7 [2022-03-17T07:19:39.747Z] Still waiting to schedule task [2022-03-17T07:19:39.748Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-17T07:20:11.697Z] Removing intermediate container dbb4c1070de7 [2022-03-17T07:20:11.697Z] ---> b138a977326c [2022-03-17T07:20:11.697Z] Step 10/12 : COPY . . [2022-03-17T07:20:11.697Z] ---> f2eeedb6ee07 [2022-03-17T07:20:11.697Z] Step 11/12 : ARG MAKE='make build' [2022-03-17T07:20:11.697Z] ---> Running in d6ac3f6a7428 [2022-03-17T07:20:11.697Z] Removing intermediate container d6ac3f6a7428 [2022-03-17T07:20:11.697Z] ---> 7d6d5dde1e5d [2022-03-17T07:20:11.697Z] Step 12/12 : RUN $MAKE [2022-03-17T07:20:11.697Z] ---> Running in 66f966211dec [2022-03-17T07:20:11.697Z] noop [2022-03-17T07:20:11.697Z] Removing intermediate container 66f966211dec [2022-03-17T07:20:11.697Z] ---> 1506de02d16b [2022-03-17T07:20:11.697Z] Successfully built 1506de02d16b [2022-03-17T07:20:11.697Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:20:12.040Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T07:20:12.040Z] . [Pipeline] withDockerContainer [2022-03-17T07:20:12.140Z] prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container [2022-03-17T07:20:12.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** ci-base-image-x86_64 cat [2022-03-17T07:20:12.597Z] $ docker top 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T07:20:13.070Z] + go version [2022-03-17T07:20:13.070Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T07:20:13.136Z] $ docker stop --time=1 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 [2022-03-17T07:20:14.434Z] $ docker rm -f 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:20:15.142Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T07:20:15.142Z] . [Pipeline] withDockerContainer [2022-03-17T07:20:15.242Z] prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container [2022-03-17T07:20:15.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** ci-base-image-x86_64 cat [2022-03-17T07:20:15.712Z] $ docker top 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T07:20:16.167Z] + make test [2022-03-17T07:20:16.167Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T07:20:16.427Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-17T07:20:24.556Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-17T07:20:24.556Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.035s coverage: 65.7% of statements [2022-03-17T07:20:24.556Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T07:20:27.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T07:20:27.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T07:20:27.361Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T07:20:27.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T07:20:27.686Z] $ docker stop --time=1 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 [2022-03-17T07:20:29.335Z] $ docker rm -f 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T07:20:29.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T07:20:29.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T07:20:31.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T07:20:31.360Z] + ls -al . [2022-03-17T07:20:31.360Z] total 196 [2022-03-17T07:20:31.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:20 . [2022-03-17T07:20:31.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:19 .. [2022-03-17T07:20:31.360Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:19 .git [2022-03-17T07:20:31.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 .github [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:19 .gitignore [2022-03-17T07:20:31.360Z] drwx------ 3 jenkins jenkins 4096 Mar 17 07:19 .semver [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:19 Attribution.txt [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:19 CHANGELOG.md [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:19 Dockerfile [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:19 GOVERNANCE.md [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:19 Jenkinsfile [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:19 LICENSE [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:19 Makefile [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:19 OWNERS.md [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:19 README.md [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:19 VERSION [2022-03-17T07:20:31.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 bin [2022-03-17T07:20:31.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 cmd [2022-03-17T07:20:31.360Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:20 coverage.out [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:19 go.mod [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:19 go.sum [2022-03-17T07:20:31.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 internal [2022-03-17T07:20:31.360Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:20:31.738Z] + 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=fbc93726e92397df3d75a3a196ca5a825f704b99 --label arch=amd64 --label version=0.0.0 . [2022-03-17T07:20:31.738Z] Sending build context to Docker daemon 22.94MB [2022-03-17T07:20:31.738Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:20:31.738Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-17T07:20:31.738Z] ---> 1506de02d16b [2022-03-17T07:20:31.738Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:20:32.002Z] ---> Running in 394189790fea [2022-03-17T07:20:32.002Z] Removing intermediate container 394189790fea [2022-03-17T07:20:32.002Z] ---> c13eca3b7b44 [2022-03-17T07:20:32.002Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:20:32.002Z] ---> Running in 34360f883354 [2022-03-17T07:20:32.262Z] Removing intermediate container 34360f883354 [2022-03-17T07:20:32.262Z] ---> 410a7ec9c7eb [2022-03-17T07:20:32.262Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-17T07:20:32.262Z] ---> Running in a2924373292e [2022-03-17T07:20:32.263Z] Removing intermediate container a2924373292e [2022-03-17T07:20:32.263Z] ---> 541f7c5530c9 [2022-03-17T07:20:32.263Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:20:32.263Z] ---> Running in e49093bf2e25 [2022-03-17T07:20:32.832Z] Removing intermediate container e49093bf2e25 [2022-03-17T07:20:32.832Z] ---> c59b28f2aa1b [2022-03-17T07:20:32.832Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:20:33.093Z] ---> Running in 050a5af14b9c [2022-03-17T07:20:33.354Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:20:34.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:20:34.296Z] OK: 224 MiB in 56 packages [2022-03-17T07:20:34.869Z] Removing intermediate container 050a5af14b9c [2022-03-17T07:20:34.869Z] ---> c6a58731414f [2022-03-17T07:20:34.869Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-17T07:20:34.869Z] ---> 8d479ceea536 [2022-03-17T07:20:34.869Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:20:34.869Z] ---> Running in d3f230532fb9 [2022-03-17T07:20:35.813Z] Removing intermediate container d3f230532fb9 [2022-03-17T07:20:35.813Z] ---> 2d6b6e2ef20d [2022-03-17T07:20:35.813Z] Step 10/26 : COPY . . [2022-03-17T07:20:36.075Z] ---> ee9c5c5b2006 [2022-03-17T07:20:36.075Z] Step 11/26 : ARG MAKE='make build' [2022-03-17T07:20:36.075Z] ---> Running in ce4f78a9bcce [2022-03-17T07:20:36.337Z] Removing intermediate container ce4f78a9bcce [2022-03-17T07:20:36.337Z] ---> 252941c2645f [2022-03-17T07:20:36.337Z] Step 12/26 : RUN $MAKE [2022-03-17T07:20:36.337Z] ---> Running in 170cf34030a4 [2022-03-17T07:20:36.598Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2022-03-17T07:20:44.731Z] Removing intermediate container 170cf34030a4 [2022-03-17T07:20:44.731Z] ---> 0563d7dd7f7c [2022-03-17T07:20:44.731Z] Step 13/26 : FROM alpine:3.14 [2022-03-17T07:20:44.731Z] 3.14: Pulling from library/alpine [2022-03-17T07:20:44.731Z] 97518928ae5f: Pulling fs layer [2022-03-17T07:20:44.731Z] 97518928ae5f: Verifying Checksum [2022-03-17T07:20:44.731Z] 97518928ae5f: Download complete [2022-03-17T07:20:44.731Z] 97518928ae5f: Pull complete [2022-03-17T07:20:44.731Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T07:20:44.732Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T07:20:44.732Z] ---> 0a97eee8041e [2022-03-17T07:20:44.732Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-17T07:20:44.732Z] ---> Running in 431e2325ca58 [2022-03-17T07:20:44.993Z] Removing intermediate container 431e2325ca58 [2022-03-17T07:20:44.993Z] ---> a7bba6d728c4 [2022-03-17T07:20:44.993Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:20:44.993Z] ---> Running in 491b74f00098 [2022-03-17T07:20:45.568Z] Removing intermediate container 491b74f00098 [2022-03-17T07:20:45.568Z] ---> b1c13117a14c [2022-03-17T07:20:45.568Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T07:20:45.568Z] ---> Running in 4f25996e6015 [2022-03-17T07:20:45.829Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:20:46.769Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:20:47.031Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T07:20:47.031Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T07:20:47.031Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T07:20:47.295Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T07:20:47.295Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T07:20:47.556Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T07:20:47.556Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T07:20:47.556Z] OK: 8 MiB in 20 packages [2022-03-17T07:20:47.817Z] Removing intermediate container 4f25996e6015 [2022-03-17T07:20:47.817Z] ---> 6c1416532884 [2022-03-17T07:20:47.817Z] Step 17/26 : WORKDIR / [2022-03-17T07:20:48.079Z] ---> Running in f41f1ab71bae [2022-03-17T07:20:48.079Z] Removing intermediate container f41f1ab71bae [2022-03-17T07:20:48.079Z] ---> c31d5fa31218 [2022-03-17T07:20:48.079Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-17T07:20:48.338Z] ---> d0f947e57106 [2022-03-17T07:20:48.338Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-17T07:20:48.338Z] ---> 5a55f7c87e20 [2022-03-17T07:20:48.338Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-17T07:20:48.598Z] ---> f77d7d1d9182 [2022-03-17T07:20:48.598Z] Step 21/26 : EXPOSE 59900 [2022-03-17T07:20:48.861Z] ---> Running in 69acada7aff3 [2022-03-17T07:20:48.861Z] Removing intermediate container 69acada7aff3 [2022-03-17T07:20:48.861Z] ---> 96379c5f204c [2022-03-17T07:20:48.861Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-17T07:20:48.861Z] ---> Running in 0dfe7f94e3e2 [2022-03-17T07:20:48.861Z] Removing intermediate container 0dfe7f94e3e2 [2022-03-17T07:20:48.861Z] ---> 556adb00ee12 [2022-03-17T07:20:48.861Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T07:20:49.125Z] ---> Running in 9620e4affd03 [2022-03-17T07:20:49.125Z] Removing intermediate container 9620e4affd03 [2022-03-17T07:20:49.125Z] ---> 7f5fde1934ff [2022-03-17T07:20:49.125Z] Step 24/26 : LABEL arch=amd64 [2022-03-17T07:20:49.125Z] ---> Running in 76bdab8d5029 [2022-03-17T07:20:49.125Z] Removing intermediate container 76bdab8d5029 [2022-03-17T07:20:49.125Z] ---> 634571f6f370 [2022-03-17T07:20:49.125Z] Step 25/26 : LABEL git_sha=fbc93726e92397df3d75a3a196ca5a825f704b99 [2022-03-17T07:20:49.386Z] ---> Running in 8d8d07d08d70 [2022-03-17T07:20:49.386Z] Removing intermediate container 8d8d07d08d70 [2022-03-17T07:20:49.386Z] ---> 06e43483191b [2022-03-17T07:20:49.386Z] Step 26/26 : LABEL version=0.0.0 [2022-03-17T07:20:49.386Z] ---> Running in d660d068d8e4 [2022-03-17T07:20:49.386Z] Removing intermediate container d660d068d8e4 [2022-03-17T07:20:49.386Z] ---> d57c3fac2a22 [2022-03-17T07:20:49.386Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T07:20:49.647Z] Successfully built d57c3fac2a22 [2022-03-17T07:20:49.647Z] 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-03-17T07:20:50.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:20:50.374Z] [2022-03-17T07:20:50.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:20:50.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:20:50.718Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T07:20:50.718Z] 5eb5b503b376: Pulling fs layer [2022-03-17T07:20:50.718Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T07:20:50.718Z] ec43610c2a17: Pulling fs layer [2022-03-17T07:20:50.718Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T07:20:50.718Z] 33b1e0a273af: Pulling fs layer [2022-03-17T07:20:50.718Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T07:20:50.718Z] 2f39f015ded8: Pulling fs layer [2022-03-17T07:20:50.718Z] 33b1e0a273af: Waiting [2022-03-17T07:20:50.718Z] 2f39f015ded8: Waiting [2022-03-17T07:20:50.718Z] 5d3b04190fa2: Waiting [2022-03-17T07:20:50.718Z] 5c69ac0246d0: Download complete [2022-03-17T07:20:50.718Z] 3a2ae6a8a46f: Download complete [2022-03-17T07:20:50.718Z] 33b1e0a273af: Verifying Checksum [2022-03-17T07:20:50.718Z] 33b1e0a273af: Download complete [2022-03-17T07:20:50.718Z] ec43610c2a17: Verifying Checksum [2022-03-17T07:20:50.718Z] ec43610c2a17: Download complete [2022-03-17T07:20:50.718Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T07:20:50.718Z] 5d3b04190fa2: Download complete [2022-03-17T07:20:50.983Z] 5eb5b503b376: Verifying Checksum [2022-03-17T07:20:50.983Z] 5eb5b503b376: Download complete [2022-03-17T07:20:51.551Z] 2f39f015ded8: Download complete [2022-03-17T07:20:52.490Z] 5eb5b503b376: Pull complete [2022-03-17T07:20:52.490Z] 5c69ac0246d0: Pull complete [2022-03-17T07:20:53.062Z] ec43610c2a17: Pull complete [2022-03-17T07:20:53.062Z] 3a2ae6a8a46f: Pull complete [2022-03-17T07:20:53.322Z] 33b1e0a273af: Pull complete [2022-03-17T07:20:53.322Z] 5d3b04190fa2: Pull complete [2022-03-17T07:20:58.603Z] 2f39f015ded8: Pull complete [2022-03-17T07:20:58.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T07:20:58.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:20:58.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T07:20:58.702Z] prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container [2022-03-17T07:20:58.742Z] $ 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-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T07:21:00.491Z] $ docker top 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:21:00.982Z] ---> job-cost.sh [2022-03-17T07:21:00.982Z] lf-activate-venv: SKIPPING [2022-03-17T07:21:00.982Z] INFO: No Stack... [2022-03-17T07:21:01.243Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T07:21:01.816Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T07:21:02.134Z] + cat /w/workspace/foundry_device-virtual-go_PR-269/archives/cost.csv [2022-03-17T07:21:02.134Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T07:21:02.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [2022-03-17T07:21:02.178Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] did not exist. Created. [2022-03-17T07:21:02.178Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T07:21:02.571Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T07:21:02.620Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T07:21:02.651Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T07:21:02.733Z] $ docker stop --time=1 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b [2022-03-17T07:21:03.932Z] $ docker rm -f 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T07:23:08.238Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7803 in /w/workspace/foundry_device-virtual-go_PR-269 [Pipeline] { [Pipeline] ws [2022-03-17T07:23:08.282Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-03-17T07:23:08.710Z] The recommended git tool is: git [2022-03-17T07:23:15.349Z] using credential edgex-jenkins-ssh [2022-03-17T07:23:15.371Z] Cloning the remote Git repository [2022-03-17T07:23:15.456Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-03-17T07:23:15.598Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-03-17T07:23:15.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-03-17T07:23:15.752Z] > git --version # timeout=10 [2022-03-17T07:23:15.775Z] > git --version # 'git version 2.25.1' [2022-03-17T07:23:15.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T07:23:15.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T07:23:18.929Z] Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit fbc93726e92397df3d75a3a196ca5a825f704b99 [2022-03-17T07:23:18.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-03-17T07:23:18.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T07:23:18.236Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-03-17T07:23:18.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-03-17T07:23:18.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T07:23:18.324Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-17T07:23:18.952Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T07:23:18.973Z] > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 [2022-03-17T07:23:19.062Z] > git remote # timeout=10 [2022-03-17T07:23:19.091Z] > git config --get remote.origin.url # timeout=10 [2022-03-17T07:23:19.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T07:23:19.164Z] Merge succeeded, producing fbc93726e92397df3d75a3a196ca5a825f704b99 [2022-03-17T07:23:19.164Z] Checking out Revision fbc93726e92397df3d75a3a196ca5a825f704b99 (PR-269) [2022-03-17T07:23:19.123Z] > git merge 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 [2022-03-17T07:23:19.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-17T07:23:19.174Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T07:23:19.191Z] > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 [2022-03-17T07:23:23.455Z] Commit message: "build(deps): Bump sdk and core-contracts to latest version" [2022-03-17T07:23:23.527Z] > git --version # timeout=10 [2022-03-17T07:23:23.540Z] > git --version # 'git version 2.25.1' [2022-03-17T07:23:23.557Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T07:23:24.721Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T07:23:24.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T07:23:24.721Z] Dload Upload Total Spent Left Speed [2022-03-17T07:23:24.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh [2022-03-17T07:23:25.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T07:23:25.625Z] + sudo tee /etc/docker/daemon.new [2022-03-17T07:23:25.625Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T07:23:25.625Z] { [2022-03-17T07:23:25.625Z] "registry-mirrors": [ [2022-03-17T07:23:25.625Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T07:23:25.625Z] ], [2022-03-17T07:23:25.625Z] "bip": "10.250.0.254/24", [2022-03-17T07:23:25.625Z] "hosts": [ [2022-03-17T07:23:25.625Z] "tcp://0.0.0.0:5555", [2022-03-17T07:23:25.625Z] "unix:///var/run/docker.sock" [2022-03-17T07:23:25.625Z] ], [2022-03-17T07:23:25.625Z] "mtu": 1458, [2022-03-17T07:23:25.625Z] "selinux-enabled": true, [2022-03-17T07:23:25.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T07:23:25.625Z] } [Pipeline] sh [2022-03-17T07:23:25.979Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T07:23:26.343Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T07:23:45.125Z] provisioning config files... [2022-03-17T07:23:45.151Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8905582512539567587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:23:45.548Z] ---> docker-login.sh [2022-03-17T07:23:45.548Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:23:46.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:23:46.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:23:46.428Z] Configure a credential helper to remove this warning. See [2022-03-17T07:23:46.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:23:46.428Z] [2022-03-17T07:23:46.428Z] Login Succeeded [2022-03-17T07:23:46.428Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:23:46.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:23:46.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:23:46.989Z] Configure a credential helper to remove this warning. See [2022-03-17T07:23:46.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:23:46.989Z] [2022-03-17T07:23:46.989Z] Login Succeeded [2022-03-17T07:23:46.989Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:23:47.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:23:47.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:23:47.267Z] Configure a credential helper to remove this warning. See [2022-03-17T07:23:47.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:23:47.267Z] [2022-03-17T07:23:47.267Z] Login Succeeded [2022-03-17T07:23:47.267Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:23:47.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:23:47.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:23:47.877Z] Configure a credential helper to remove this warning. See [2022-03-17T07:23:47.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:23:47.877Z] [2022-03-17T07:23:47.877Z] Login Succeeded [2022-03-17T07:23:47.877Z] docker.io [2022-03-17T07:23:48.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:23:48.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:23:48.425Z] Configure a credential helper to remove this warning. See [2022-03-17T07:23:48.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:23:48.425Z] [2022-03-17T07:23:48.425Z] Login Succeeded [2022-03-17T07:23:48.699Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:23:48.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T07:23:49.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T07:23:49.147Z] ========================================================= [2022-03-17T07:23:49.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T07:23:49.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:23:49.596Z] + 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-03-17T07:23:49.877Z] Sending build context to Docker daemon 11.6MB [2022-03-17T07:23:50.158Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:23:50.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T07:23:50.158Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T07:23:50.158Z] 9b3977197b4f: Pulling fs layer [2022-03-17T07:23:50.158Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T07:23:50.158Z] 94645a83ff95: Pulling fs layer [2022-03-17T07:23:50.158Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T07:23:50.158Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T07:23:50.158Z] f7c0051592d6: Pulling fs layer [2022-03-17T07:23:50.158Z] a227ed2f7395: Pulling fs layer [2022-03-17T07:23:50.158Z] 7b1c46037f91: Pulling fs layer [2022-03-17T07:23:50.158Z] 3f3a8bcf1eab: Waiting [2022-03-17T07:23:50.158Z] f7c0051592d6: Waiting [2022-03-17T07:23:50.158Z] 0c92f367c5e7: Waiting [2022-03-17T07:23:50.158Z] a227ed2f7395: Waiting [2022-03-17T07:23:50.158Z] 7b1c46037f91: Waiting [2022-03-17T07:23:50.158Z] 94645a83ff95: Verifying Checksum [2022-03-17T07:23:50.158Z] 1a89e8eeedd5: Download complete [2022-03-17T07:23:50.158Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T07:23:50.158Z] 0c92f367c5e7: Download complete [2022-03-17T07:23:50.158Z] f7c0051592d6: Verifying Checksum [2022-03-17T07:23:50.158Z] f7c0051592d6: Download complete [2022-03-17T07:23:50.158Z] 9b3977197b4f: Verifying Checksum [2022-03-17T07:23:50.158Z] 9b3977197b4f: Download complete [2022-03-17T07:23:50.434Z] a227ed2f7395: Verifying Checksum [2022-03-17T07:23:50.434Z] a227ed2f7395: Download complete [2022-03-17T07:23:51.037Z] 9b3977197b4f: Pull complete [2022-03-17T07:23:51.638Z] 1a89e8eeedd5: Pull complete [2022-03-17T07:23:51.916Z] 94645a83ff95: Pull complete [2022-03-17T07:23:52.192Z] 7b1c46037f91: Verifying Checksum [2022-03-17T07:23:52.192Z] 7b1c46037f91: Download complete [2022-03-17T07:23:52.787Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T07:23:52.787Z] 3f3a8bcf1eab: Download complete [2022-03-17T07:24:05.201Z] 3f3a8bcf1eab: Pull complete [2022-03-17T07:24:05.201Z] 0c92f367c5e7: Pull complete [2022-03-17T07:24:05.476Z] f7c0051592d6: Pull complete [2022-03-17T07:24:05.752Z] a227ed2f7395: Pull complete [2022-03-17T07:24:12.566Z] 7b1c46037f91: Pull complete [2022-03-17T07:24:12.567Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T07:24:12.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T07:24:12.567Z] ---> f79e39bc4007 [2022-03-17T07:24:12.567Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:24:12.842Z] ---> Running in 39f128884414 [2022-03-17T07:24:13.119Z] Removing intermediate container 39f128884414 [2022-03-17T07:24:13.119Z] ---> 607be3341470 [2022-03-17T07:24:13.119Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:24:13.119Z] ---> Running in 6886ccd5acf9 [2022-03-17T07:24:13.394Z] Removing intermediate container 6886ccd5acf9 [2022-03-17T07:24:13.394Z] ---> b842cde8bc09 [2022-03-17T07:24:13.394Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-17T07:24:13.668Z] ---> Running in 54eabf93c589 [2022-03-17T07:24:13.943Z] Removing intermediate container 54eabf93c589 [2022-03-17T07:24:13.943Z] ---> c518f0f5fd12 [2022-03-17T07:24:13.943Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:24:13.943Z] ---> Running in 2185fd7a13e5 [2022-03-17T07:24:15.929Z] Removing intermediate container 2185fd7a13e5 [2022-03-17T07:24:15.929Z] ---> f64e5019cdbf [2022-03-17T07:24:15.929Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:24:15.929Z] ---> Running in 22c170683e9e [2022-03-17T07:24:16.908Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T07:24:17.507Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T07:24:18.491Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T07:24:18.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T07:24:18.764Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T07:24:18.764Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T07:24:19.039Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T07:24:19.039Z] OK: 224 MiB in 56 packages [2022-03-17T07:24:21.046Z] Removing intermediate container 22c170683e9e [2022-03-17T07:24:21.046Z] ---> e9d4e045d4cb [2022-03-17T07:24:21.046Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-17T07:24:22.500Z] ---> b93670d3a11a [2022-03-17T07:24:22.500Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:24:22.500Z] ---> Running in 0fd0b5ce367d [2022-03-17T07:25:44.343Z] Removing intermediate container 0fd0b5ce367d [2022-03-17T07:25:44.343Z] ---> 1ba2affc2b57 [2022-03-17T07:25:44.343Z] Step 10/12 : COPY . . [2022-03-17T07:25:44.343Z] ---> 237212015056 [2022-03-17T07:25:44.343Z] Step 11/12 : ARG MAKE='make build' [2022-03-17T07:25:44.343Z] ---> Running in 330517d45746 [2022-03-17T07:25:44.343Z] Removing intermediate container 330517d45746 [2022-03-17T07:25:44.343Z] ---> fd93b520987d [2022-03-17T07:25:44.343Z] Step 12/12 : RUN $MAKE [2022-03-17T07:25:44.343Z] ---> Running in 8018e662aa7b [2022-03-17T07:25:44.343Z] noop [2022-03-17T07:25:44.343Z] Removing intermediate container 8018e662aa7b [2022-03-17T07:25:44.343Z] ---> 469f54f822fc [2022-03-17T07:25:44.343Z] Successfully built 469f54f822fc [2022-03-17T07:25:44.343Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:25:44.713Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T07:25:44.713Z] . [Pipeline] withDockerContainer [2022-03-17T07:25:44.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container [2022-03-17T07:25:45.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T07:25:46.355Z] $ docker top 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T07:25:47.331Z] + go version [2022-03-17T07:25:47.331Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T07:25:47.364Z] $ docker stop --time=1 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c [2022-03-17T07:25:48.989Z] $ docker rm -f 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:25:49.873Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T07:25:49.873Z] . [Pipeline] withDockerContainer [2022-03-17T07:25:50.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container [2022-03-17T07:25:50.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T07:25:51.491Z] $ docker top 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T07:25:52.542Z] + make test [2022-03-17T07:25:52.542Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T07:25:53.999Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-17T07:26:41.039Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-17T07:26:42.480Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements [2022-03-17T07:26:43.076Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T07:27:01.415Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T07:27:01.415Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T07:27:01.415Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T07:27:02.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T07:27:02.930Z] $ docker stop --time=1 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 [2022-03-17T07:27:04.745Z] $ docker rm -f 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T07:27:05.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T07:27:05.715Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T07:27:06.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T07:27:06.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T07:27:07.183Z] + ls -al . [2022-03-17T07:27:07.183Z] total 192 [2022-03-17T07:27:07.183Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 07:27 . [2022-03-17T07:27:07.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:23 .. [2022-03-17T07:27:07.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:23 .git [2022-03-17T07:27:07.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:23 .github [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:23 .gitignore [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:23 Attribution.txt [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:23 CHANGELOG.md [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:23 Dockerfile [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:23 GOVERNANCE.md [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:23 Jenkinsfile [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:23 LICENSE [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:23 Makefile [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:23 OWNERS.md [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:23 README.md [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:19 VERSION [2022-03-17T07:27:07.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:23 bin [2022-03-17T07:27:07.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:23 cmd [2022-03-17T07:27:07.183Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:26 coverage.out [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:23 go.mod [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:23 go.sum [2022-03-17T07:27:07.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:23 internal [2022-03-17T07:27:07.183Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:27:07.561Z] + 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=fbc93726e92397df3d75a3a196ca5a825f704b99 --label arch=arm64 --label version=0.0.0 . [2022-03-17T07:27:08.163Z] Sending build context to Docker daemon 11.65MB [2022-03-17T07:27:08.163Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:27:08.163Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-17T07:27:08.163Z] ---> 469f54f822fc [2022-03-17T07:27:08.163Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:27:08.163Z] ---> Running in 191e505def9c [2022-03-17T07:27:08.437Z] Removing intermediate container 191e505def9c [2022-03-17T07:27:08.437Z] ---> 3c8424ce3e4f [2022-03-17T07:27:08.437Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:27:08.437Z] ---> Running in 3f27dcaeaf43 [2022-03-17T07:27:09.037Z] Removing intermediate container 3f27dcaeaf43 [2022-03-17T07:27:09.037Z] ---> 601a0929f163 [2022-03-17T07:27:09.037Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-17T07:27:09.037Z] ---> Running in a66959647be8 [2022-03-17T07:27:09.322Z] Removing intermediate container a66959647be8 [2022-03-17T07:27:09.322Z] ---> 554710a7b8d4 [2022-03-17T07:27:09.322Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:27:09.322Z] ---> Running in 363e2e3def03 [2022-03-17T07:27:11.305Z] Removing intermediate container 363e2e3def03 [2022-03-17T07:27:11.305Z] ---> 8f9d02db78da [2022-03-17T07:27:11.305Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:27:11.305Z] ---> Running in b790001fa3c0 [2022-03-17T07:27:12.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T07:27:12.898Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T07:27:13.892Z] OK: 224 MiB in 56 packages [2022-03-17T07:27:14.895Z] Removing intermediate container b790001fa3c0 [2022-03-17T07:27:14.895Z] ---> 237cd881be4b [2022-03-17T07:27:14.895Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-17T07:27:15.492Z] ---> 070fde33af0c [2022-03-17T07:27:15.492Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:27:15.492Z] ---> Running in 52819cb5168f [2022-03-17T07:27:18.113Z] Removing intermediate container 52819cb5168f [2022-03-17T07:27:18.113Z] ---> 10e0c53cd63e [2022-03-17T07:27:18.113Z] Step 10/26 : COPY . . [2022-03-17T07:27:18.714Z] ---> d543bcab246c [2022-03-17T07:27:18.714Z] Step 11/26 : ARG MAKE='make build' [2022-03-17T07:27:18.991Z] ---> Running in 0c71b912e18b [2022-03-17T07:27:19.266Z] Removing intermediate container 0c71b912e18b [2022-03-17T07:27:19.266Z] ---> fcf2de1577ec [2022-03-17T07:27:19.266Z] Step 12/26 : RUN $MAKE [2022-03-17T07:27:19.266Z] ---> Running in 53174424569d [2022-03-17T07:27:20.249Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2022-03-17T07:28:07.286Z] Removing intermediate container 53174424569d [2022-03-17T07:28:07.286Z] ---> a9867f548081 [2022-03-17T07:28:07.287Z] Step 13/26 : FROM alpine:3.14 [2022-03-17T07:28:07.287Z] 3.14: Pulling from library/alpine [2022-03-17T07:28:07.287Z] be307f383ecc: Pulling fs layer [2022-03-17T07:28:07.287Z] be307f383ecc: Verifying Checksum [2022-03-17T07:28:07.287Z] be307f383ecc: Download complete [2022-03-17T07:28:07.287Z] be307f383ecc: Pull complete [2022-03-17T07:28:07.287Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T07:28:07.287Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T07:28:07.287Z] ---> 5b8b7b635229 [2022-03-17T07:28:07.287Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-17T07:28:07.287Z] ---> Running in 08334f58d8b5 [2022-03-17T07:28:07.287Z] Removing intermediate container 08334f58d8b5 [2022-03-17T07:28:07.287Z] ---> 479deed2646e [2022-03-17T07:28:07.287Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:28:07.287Z] ---> Running in 072d6720671c [2022-03-17T07:28:07.287Z] Removing intermediate container 072d6720671c [2022-03-17T07:28:07.287Z] ---> 270963008455 [2022-03-17T07:28:07.287Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T07:28:07.287Z] ---> Running in 94b555bb72a5 [2022-03-17T07:28:07.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T07:28:07.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T07:28:07.559Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T07:28:07.559Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T07:28:07.559Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T07:28:07.830Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T07:28:07.830Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T07:28:07.830Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T07:28:08.108Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T07:28:08.108Z] OK: 8 MiB in 20 packages [2022-03-17T07:28:09.106Z] Removing intermediate container 94b555bb72a5 [2022-03-17T07:28:09.106Z] ---> 2de51739d8a8 [2022-03-17T07:28:09.106Z] Step 17/26 : WORKDIR / [2022-03-17T07:28:09.106Z] ---> Running in f5534a04e774 [2022-03-17T07:28:09.391Z] Removing intermediate container f5534a04e774 [2022-03-17T07:28:09.391Z] ---> 745905d16d28 [2022-03-17T07:28:09.391Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-17T07:28:09.989Z] ---> 28b33489c365 [2022-03-17T07:28:09.989Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-17T07:28:10.589Z] ---> a45cb3f9ce17 [2022-03-17T07:28:10.589Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-17T07:28:11.585Z] ---> ed2e32be4ec5 [2022-03-17T07:28:11.585Z] Step 21/26 : EXPOSE 59900 [2022-03-17T07:28:11.585Z] ---> Running in a4da608a8e01 [2022-03-17T07:28:11.861Z] Removing intermediate container a4da608a8e01 [2022-03-17T07:28:11.861Z] ---> 8d9b8a5da4f4 [2022-03-17T07:28:11.861Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-17T07:28:12.141Z] ---> Running in fe1ccd27a9ff [2022-03-17T07:28:12.416Z] Removing intermediate container fe1ccd27a9ff [2022-03-17T07:28:12.416Z] ---> f7476bec7af5 [2022-03-17T07:28:12.416Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T07:28:12.416Z] ---> Running in 408a637327a0 [2022-03-17T07:28:12.692Z] Removing intermediate container 408a637327a0 [2022-03-17T07:28:12.692Z] ---> b1d51e72dbe4 [2022-03-17T07:28:12.692Z] Step 24/26 : LABEL arch=arm64 [2022-03-17T07:28:12.967Z] ---> Running in 6fcc5ff6d156 [2022-03-17T07:28:13.242Z] Removing intermediate container 6fcc5ff6d156 [2022-03-17T07:28:13.242Z] ---> cadd2b9ffa92 [2022-03-17T07:28:13.242Z] Step 25/26 : LABEL git_sha=fbc93726e92397df3d75a3a196ca5a825f704b99 [2022-03-17T07:28:13.242Z] ---> Running in 83a08c0bf5bb [2022-03-17T07:28:13.517Z] Removing intermediate container 83a08c0bf5bb [2022-03-17T07:28:13.517Z] ---> 7a0c9775a717 [2022-03-17T07:28:13.517Z] Step 26/26 : LABEL version=0.0.0 [2022-03-17T07:28:13.517Z] ---> Running in 98d074e790d1 [2022-03-17T07:28:13.790Z] Removing intermediate container 98d074e790d1 [2022-03-17T07:28:13.790Z] ---> 4e2df267f495 [2022-03-17T07:28:13.790Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T07:28:14.064Z] Successfully built 4e2df267f495 [2022-03-17T07:28:14.064Z] 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-03-17T07:28:14.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T07:28:14.765Z] [2022-03-17T07:28:14.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:28:15.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T07:28:15.429Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T07:28:15.429Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T07:28:15.429Z] 04944245beec: Pulling fs layer [2022-03-17T07:28:15.429Z] 699f458cf7ca: Pulling fs layer [2022-03-17T07:28:15.429Z] 765212b225bb: Pulling fs layer [2022-03-17T07:28:15.429Z] f23df028b6ca: Pulling fs layer [2022-03-17T07:28:15.429Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T07:28:15.429Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T07:28:15.429Z] 765212b225bb: Waiting [2022-03-17T07:28:15.429Z] d65c8cfc05b1: Waiting [2022-03-17T07:28:15.429Z] 2437ff75d9bd: Waiting [2022-03-17T07:28:15.429Z] f23df028b6ca: Waiting [2022-03-17T07:28:15.429Z] 04944245beec: Verifying Checksum [2022-03-17T07:28:15.429Z] 04944245beec: Download complete [2022-03-17T07:28:15.429Z] 765212b225bb: Verifying Checksum [2022-03-17T07:28:15.429Z] 765212b225bb: Download complete [2022-03-17T07:28:15.429Z] f23df028b6ca: Verifying Checksum [2022-03-17T07:28:15.429Z] f23df028b6ca: Download complete [2022-03-17T07:28:15.429Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T07:28:15.429Z] d65c8cfc05b1: Download complete [2022-03-17T07:28:15.706Z] 699f458cf7ca: Verifying Checksum [2022-03-17T07:28:15.984Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T07:28:15.984Z] 8998bd30e6a1: Download complete [2022-03-17T07:28:18.618Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T07:28:18.618Z] 2437ff75d9bd: Download complete [2022-03-17T07:28:20.607Z] 8998bd30e6a1: Pull complete [2022-03-17T07:28:20.883Z] 04944245beec: Pull complete [2022-03-17T07:28:22.325Z] 699f458cf7ca: Pull complete [2022-03-17T07:28:22.600Z] 765212b225bb: Pull complete [2022-03-17T07:28:23.585Z] f23df028b6ca: Pull complete [2022-03-17T07:28:23.585Z] d65c8cfc05b1: Pull complete [2022-03-17T07:28:38.704Z] 2437ff75d9bd: Pull complete [2022-03-17T07:28:38.704Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T07:28:38.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T07:28:38.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T07:28:38.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container [2022-03-17T07:28:39.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-17T07:28:41.554Z] $ docker top ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:42.538Z] ---> job-cost.sh [2022-03-17T07:28:42.538Z] lf-activate-venv: SKIPPING [2022-03-17T07:28:42.538Z] INFO: No Stack... [2022-03-17T07:28:43.135Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T07:28:44.116Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T07:28:44.804Z] + + cut -d,cat -f6 [2022-03-17T07:28:44.804Z] /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-03-17T07:28:44.855Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [2022-03-17T07:28:44.860Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] did not exist. Created. [2022-03-17T07:28:44.860Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T07:28:45.613Z] /w/workspace/device-virtual-go/1@tmp/durable-b8f9196d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T07:28:46.319Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T07:28:46.353Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T07:28:46.396Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T07:28:46.409Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T07:28:46.485Z] $ docker stop --time=1 ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca [2022-03-17T07:28:48.065Z] $ docker rm -f ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca [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-03-17T07:28:49.207Z] provisioning config files... [2022-03-17T07:28:49.217Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config3714992916898278060tmp [Pipeline] { [Pipeline] sh [2022-03-17T07:28:49.547Z] + set +x [2022-03-17T07:28:49.547Z] + curl -s+ https://codecov.io/bash [2022-03-17T07:28:49.547Z] bash -s -- [2022-03-17T07:28:49.547Z] [2022-03-17T07:28:49.547Z] _____ _ [2022-03-17T07:28:49.547Z] / ____| | | [2022-03-17T07:28:49.547Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T07:28:49.547Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T07:28:49.547Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T07:28:49.547Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T07:28:49.547Z] Bash-1.0.6 [2022-03-17T07:28:49.547Z] [2022-03-17T07:28:49.547Z] [2022-03-17T07:28:49.547Z] ==> git version 2.25.1 found [2022-03-17T07:28:49.547Z] ==> 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-03-17T07:28:49.547Z] Release-Date: 2020-01-08 [2022-03-17T07:28:49.547Z] 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-03-17T07:28:49.547Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T07:28:49.547Z] ==> Jenkins CI detected. [2022-03-17T07:28:49.547Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-269 [2022-03-17T07:28:49.547Z] project root: . [2022-03-17T07:28:49.547Z] --> token set from env [2022-03-17T07:28:49.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T07:28:49.547Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T07:28:49.547Z] ==> Python coveragepy not found [2022-03-17T07:28:49.547Z] ==> Searching for coverage reports in: [2022-03-17T07:28:49.547Z] + . [2022-03-17T07:28:49.547Z] -> Found 1 reports [2022-03-17T07:28:49.547Z] ==> Detecting git/mercurial file structure [2022-03-17T07:28:49.547Z] ==> Reading reports [2022-03-17T07:28:49.807Z] + ./coverage.out bytes=44128 [2022-03-17T07:28:49.807Z] ==> Appending adjustments [2022-03-17T07:28:49.807Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T07:28:49.807Z] + Found adjustments [2022-03-17T07:28:49.807Z] ==> Gzipping contents [2022-03-17T07:28:49.807Z] 8.0K /tmp/codecov.hUgijH.gz [2022-03-17T07:28:49.807Z] ==> Uploading reports [2022-03-17T07:28:49.807Z] url: https://codecov.io [2022-03-17T07:28:49.807Z] query: branch=PR-269&commit=fbc93726e92397df3d75a3a196ca5a825f704b99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=269&job=&cmd_args= [2022-03-17T07:28:49.807Z] -> Pinging Codecov [2022-03-17T07:28:49.807Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-269&commit=fbc93726e92397df3d75a3a196ca5a825f704b99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=269&job=&cmd_args= [2022-03-17T07:28:50.068Z] -> Uploading to [2022-03-17T07:28:50.068Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/5E52B4B073DB2E39498172D8E973AA87/fbc93726e92397df3d75a3a196ca5a825f704b99/f5880b05-7680-4a5e-9cb3-9b590cf69b03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T072849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14c1b291306a4f05f14b32cf044db7be9586d3ca1513d9f8bf01074f9c117796 [2022-03-17T07:28:50.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T07:28:50.068Z] Dload Upload Total Spent Left Speed [2022-03-17T07:28:50.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5303 0 0 100 5303 0 22004 --:--:-- --:--:-- --:--:-- 22004 [2022-03-17T07:28:50.329Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] } [2022-03-17T07:28:50.356Z] 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-03-17T07:28:52.142Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-269/archives ] [2022-03-17T07:28:52.142Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-269/archives [2022-03-17T07:28:52.142Z] total 16 [2022-03-17T07:28:52.142Z] drwxr-xr-x 3 root root 4096 Mar 17 07:21 . [2022-03-17T07:28:52.142Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:21 .. [2022-03-17T07:28:52.142Z] drwxr-xr-x 2 root root 4096 Mar 17 07:21 cost [2022-03-17T07:28:52.142Z] -rw-r--r-- 1 root root 88 Mar 17 07:21 cost.csv [2022-03-17T07:28:52.142Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-269/archives [2022-03-17T07:28:52.142Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-269/archives [2022-03-17T07:28:52.142Z] total 16 [2022-03-17T07:28:52.142Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:21 . [2022-03-17T07:28:52.142Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:21 .. [2022-03-17T07:28:52.142Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:21 cost [2022-03-17T07:28:52.142Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 17 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:52.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:53.389Z] ---> package-listing.sh [2022-03-17T07:28:53.389Z] ++ facter osfamily [2022-03-17T07:28:53.389Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T07:28:53.650Z] + OS_FAMILY=debian [2022-03-17T07:28:53.650Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-269 [2022-03-17T07:28:53.650Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T07:28:53.650Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T07:28:53.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T07:28:53.650Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T07:28:53.650Z] + '[' /w/workspace/foundry_device-virtual-go_PR-269 ']' [2022-03-17T07:28:53.650Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T07:28:53.650Z] + case "${OS_FAMILY}" in [2022-03-17T07:28:53.650Z] + dpkg -l [2022-03-17T07:28:53.650Z] + grep '^ii' [2022-03-17T07:28:53.650Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T07:28:53.650Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T07:28:53.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T07:28:53.650Z] + '[' /w/workspace/foundry_device-virtual-go_PR-269 ']' [2022-03-17T07:28:53.650Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-269/archives/ [2022-03-17T07:28:53.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-269/archives/ [Pipeline] echo [2022-03-17T07:28:53.684Z] 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T07:28:53.984Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:28:54.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:28:54.575Z] . [Pipeline] withDockerContainer [2022-03-17T07:28:54.663Z] prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container [2022-03-17T07:28:54.699Z] $ 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-269/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-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-17T07:28:54.920Z] $ docker top 8e9c99a66a5c43b93084879e9ff06adbba15c41ba4f5328a2ed6cf3718aa2937 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T07:28:55.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T07:28:55.637Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T07:28:55.955Z] + ls /var/log/sa-host [2022-03-17T07:28:55.955Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T07:28:56.237Z] provisioning config files... [2022-03-17T07:28:56.248Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config4649979891001463738tmp [Pipeline] { [Pipeline] echo [2022-03-17T07:28:56.298Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:56.614Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T07:28:56.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:57.052Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T07:28:57.082Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:57.396Z] ---> sudo-logs.sh [2022-03-17T07:28:57.396Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T07:28:57.478Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:57.791Z] ---> job-cost.sh [2022-03-17T07:28:57.791Z] lf-activate-venv: SKIPPING [2022-03-17T07:28:57.791Z] DEBUG: total: 0.2199999988079071 [2022-03-17T07:28:57.791Z] INFO: Retrieving Stack Cost... [2022-03-17T07:28:58.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T07:28:58.622Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T07:28:58.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:28:58.974Z] ---> logs-deploy.sh [2022-03-17T07:28:58.974Z] lf-activate-venv: SKIPPING [2022-03-17T07:28:58.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-269/1 [2022-03-17T07:28:58.974Z] INFO: archiving workspace using pattern(s): [2022-03-17T07:28:59.917Z] Archives upload complete. [2022-03-17T07:28:59.917Z] INFO: archiving logs to Nexus