Pull request #274 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 jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 34a2cf4996402a54740b86045567596500a903e2+ab35c68c7da578f7489f6019108ca23722e6e5b0 (e0d74c442ea57a22a0a2847b70d87a1da9d77b97) 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-ssh18336089463538025357.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-ssh6969298827705072569.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-274/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-274/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11466281304814719460.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-274/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7778596452661704188.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-ssh12073870487931540393.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-274/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-274/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14471700135316626546.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-10673 in /w/workspace/foundry_device-virtual-go_PR-274 [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-274 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab35c68c7da578f7489f6019108ca23722e6e5b0 into PR head commit 34a2cf4996402a54740b86045567596500a903e2 Merge succeeded, producing 34a2cf4996402a54740b86045567596500a903e2 Checking out Revision 34a2cf4996402a54740b86045567596500a903e2 (PR-274) > git config core.sparsecheckout # timeout=10 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # 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 ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 Commit message: "feat: enable gosec and default linter set" 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-04-04T19:29:51.566Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T19:29:51.750Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T19:29:51.846Z] ========================================================= [2022-04-04T19:29:51.846Z] EdgeX Global Pipelines Version Info [2022-04-04T19:29:51.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:29:52.766Z] ------------------- [2022-04-04T19:29:52.766Z] stable info: [2022-04-04T19:29:52.766Z] ------------------- [2022-04-04T19:29:52.766Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T19:29:52.766Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T19:29:52.766Z] Message: update stable to v1.0.221 [2022-04-04T19:29:53.340Z] ------------------- [2022-04-04T19:29:53.340Z] experimental info: [2022-04-04T19:29:53.340Z] ------------------- [2022-04-04T19:29:53.340Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T19:29:53.340Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T19:29:53.340Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T19:29:53.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-04T19:29:53.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-04T19:29:53.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T19:29:53.682Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T19:29:53.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T19:29:53.763Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T19:29:53.809Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T19:29:53.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T19:29:53.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T19:29:53.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T19:29:54.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T19:29:54.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-04T19:29:54.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T19:29:54.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T19:29:54.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T19:29:54.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T19:29:54.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T19:29:54.315Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T19:29:54.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T19:29:54.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T19:29:54.444Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T19:29:54.481Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T19:29:54.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T19:29:54.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T19:29:54.595Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T19:29:54.636Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T19:29:54.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo [2022-04-04T19:29:54.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo [2022-04-04T19:29:54.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo [2022-04-04T19:29:54.802Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo [2022-04-04T19:29:54.839Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34a2cf4 [Pipeline] echo [2022-04-04T19:29:54.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T19:29:54.996Z] provisioning config files... [2022-04-04T19:29:55.012Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config6295011593024983107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:29:55.369Z] ---> docker-login.sh [2022-04-04T19:29:55.369Z] nexus3.edgexfoundry.org:10001 [2022-04-04T19:29:55.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:29:55.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:29:55.630Z] Configure a credential helper to remove this warning. See [2022-04-04T19:29:55.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:29:55.630Z] [2022-04-04T19:29:55.630Z] Login Succeeded [2022-04-04T19:29:55.630Z] nexus3.edgexfoundry.org:10002 [2022-04-04T19:29:55.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:29:55.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:29:55.892Z] Configure a credential helper to remove this warning. See [2022-04-04T19:29:55.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:29:55.892Z] [2022-04-04T19:29:55.892Z] Login Succeeded [2022-04-04T19:29:55.892Z] nexus3.edgexfoundry.org:10003 [2022-04-04T19:29:55.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:29:55.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:29:55.892Z] Configure a credential helper to remove this warning. See [2022-04-04T19:29:55.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:29:55.892Z] [2022-04-04T19:29:55.892Z] Login Succeeded [2022-04-04T19:29:55.892Z] nexus3.edgexfoundry.org:10004 [2022-04-04T19:29:56.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:29:56.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:29:56.152Z] Configure a credential helper to remove this warning. See [2022-04-04T19:29:56.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:29:56.152Z] [2022-04-04T19:29:56.152Z] Login Succeeded [2022-04-04T19:29:56.152Z] docker.io [2022-04-04T19:29:56.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:29:56.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:29:56.724Z] Configure a credential helper to remove this warning. See [2022-04-04T19:29:56.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:29:56.724Z] [2022-04-04T19:29:56.724Z] Login Succeeded [2022-04-04T19:29:56.724Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T19:29:56.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T19:29:57.430Z] + git rev-list -1 --merges 34a2cf4996402a54740b86045567596500a903e2~1..34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo [2022-04-04T19:29:57.478Z] -----------> git rev-list -1 --merges 34a2cf4996402a54740b86045567596500a903e2~1..34a2cf4996402a54740b86045567596500a903e2 34a2cf4996402a54740b86045567596500a903e2 [false] [Pipeline] sh [2022-04-04T19:29:57.786Z] + git log --format=format:%s -1 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo [2022-04-04T19:29:57.817Z] ========================================================= [2022-04-04T19:29:57.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T19:29:57.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T19:29:58.302Z] + git log --format=format:%s -1 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo [2022-04-04T19:29:58.334Z] [semverPrep] GIT_COMMIT: 34a2cf4996402a54740b86045567596500a903e2, Commit Message: feat: enable gosec and default linter set [Pipeline] echo [2022-04-04T19:29:58.361Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T19:29:58.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T19:29:58.819Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T19:29:58.819Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T19:29:58.819Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T19:29:58.819Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T19:29:58.819Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T19:29:58.819Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:29:59.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T19:29:59.273Z] [2022-04-04T19:29:59.273Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:29:59.624Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T19:29:59.624Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T19:29:59.624Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T19:29:59.624Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T19:29:59.624Z] 4c7163046ea9: Pulling fs layer [2022-04-04T19:29:59.624Z] 0c2d73faf560: Pulling fs layer [2022-04-04T19:29:59.624Z] 0c2d73faf560: Waiting [2022-04-04T19:29:59.624Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T19:29:59.624Z] 3e5f54012d9b: Download complete [2022-04-04T19:29:59.624Z] a0d0a0d46f8b: Download complete [2022-04-04T19:29:59.624Z] 4c7163046ea9: Verifying Checksum [2022-04-04T19:29:59.624Z] 4c7163046ea9: Download complete [2022-04-04T19:29:59.624Z] 0c2d73faf560: Verifying Checksum [2022-04-04T19:29:59.624Z] 0c2d73faf560: Download complete [2022-04-04T19:29:59.885Z] a0d0a0d46f8b: Pull complete [2022-04-04T19:29:59.885Z] 3e5f54012d9b: Pull complete [2022-04-04T19:30:00.458Z] 4c7163046ea9: Pull complete [2022-04-04T19:30:00.458Z] 0c2d73faf560: Pull complete [2022-04-04T19:30:00.458Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T19:30:00.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T19:30:00.458Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T19:30:00.568Z] prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container [2022-04-04T19:30:00.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T19:30:01.326Z] $ docker top c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T19:30:01.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T19:30:01.520Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T19:30:01.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T19:30:01.666Z] $ docker exec c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent [2022-04-04T19:30:01.795Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGkpoin/agent.14 [2022-04-04T19:30:01.795Z] SSH_AGENT_PID=20 [2022-04-04T19:30:01.803Z] Running ssh-add (command line suppressed) [2022-04-04T19:30:01.936Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7965045642160865905.key (/w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7965045642160865905.key) [2022-04-04T19:30:01.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T19:30:02.284Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T19:30:02.316Z] $ docker exec --env ******** --env ******** c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent -k [2022-04-04T19:30:02.447Z] unset SSH_AUTH_SOCK; [2022-04-04T19:30:02.447Z] unset SSH_AGENT_PID; [2022-04-04T19:30:02.448Z] echo Agent pid 20 killed; [2022-04-04T19:30:02.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T19:30:02.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T19:30:02.547Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T19:30:02.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T19:30:02.706Z] $ docker exec c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent [2022-04-04T19:30:02.835Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnhjokB/agent.53 [2022-04-04T19:30:02.835Z] SSH_AGENT_PID=59 [2022-04-04T19:30:02.841Z] Running ssh-add (command line suppressed) [2022-04-04T19:30:02.995Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7247019205242228719.key (/w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7247019205242228719.key) [2022-04-04T19:30:03.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T19:30:03.350Z] + git semver init [2022-04-04T19:30:03.350Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T19:30:03.350Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-274/.git [2022-04-04T19:30:03.350Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-274 [2022-04-04T19:30:03.350Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T19:30:03.350Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T19:30:03.350Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T19:30:03.350Z] # $SEMVER_BRANCH = PR-274 [2022-04-04T19:30:03.350Z] # $SEMVER_TEMP = /tmp/semver-043058228 [2022-04-04T19:30:03.350Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-04T19:30:04.743Z] # '/tmp/semver-043058228' -> '/w/workspace/foundry_device-virtual-go_PR-274/.semver' [2022-04-04T19:30:04.743Z] # -> Force: false [2022-04-04T19:30:04.743Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-274/.semver [Pipeline] } [2022-04-04T19:30:04.774Z] $ docker exec --env ******** --env ******** c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent -k [2022-04-04T19:30:04.886Z] unset SSH_AUTH_SOCK; [2022-04-04T19:30:04.887Z] unset SSH_AGENT_PID; [2022-04-04T19:30:04.887Z] echo Agent pid 59 killed; [2022-04-04T19:30:04.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T19:30:05.328Z] + git semver [Pipeline] } [2022-04-04T19:30:05.365Z] $ docker stop --time=1 c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 [2022-04-04T19:30:06.758Z] $ docker rm -f c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T19:30:07.186Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T19:30:07.514Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T19:30:07.532Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T19:30:08.134Z] provisioning config files... [2022-04-04T19:30:08.145Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config1493496528914175505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:30:08.495Z] ---> docker-login.sh [2022-04-04T19:30:08.495Z] nexus3.edgexfoundry.org:10001 [2022-04-04T19:30:08.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:30:08.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:30:08.495Z] Configure a credential helper to remove this warning. See [2022-04-04T19:30:08.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:30:08.495Z] [2022-04-04T19:30:08.495Z] Login Succeeded [2022-04-04T19:30:08.495Z] nexus3.edgexfoundry.org:10002 [2022-04-04T19:30:08.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:30:08.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:30:08.757Z] Configure a credential helper to remove this warning. See [2022-04-04T19:30:08.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:30:08.757Z] [2022-04-04T19:30:08.757Z] Login Succeeded [2022-04-04T19:30:08.757Z] nexus3.edgexfoundry.org:10003 [2022-04-04T19:30:08.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:30:08.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:30:08.757Z] Configure a credential helper to remove this warning. See [2022-04-04T19:30:08.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:30:08.757Z] [2022-04-04T19:30:08.757Z] Login Succeeded [2022-04-04T19:30:08.757Z] nexus3.edgexfoundry.org:10004 [2022-04-04T19:30:09.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:30:09.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:30:09.019Z] Configure a credential helper to remove this warning. See [2022-04-04T19:30:09.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:30:09.019Z] [2022-04-04T19:30:09.019Z] Login Succeeded [2022-04-04T19:30:09.019Z] docker.io [2022-04-04T19:30:09.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:30:09.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:30:09.280Z] Configure a credential helper to remove this warning. See [2022-04-04T19:30:09.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:30:09.280Z] [2022-04-04T19:30:09.280Z] Login Succeeded [2022-04-04T19:30:09.541Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T19:30:09.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T19:30:09.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T19:30:09.798Z] ========================================================= [2022-04-04T19:30:09.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T19:30:09.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:30:10.221Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T19:30:10.221Z] Sending build context to Docker daemon 22.91MB [2022-04-04T19:30:10.221Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T19:30:10.221Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T19:30:10.483Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T19:30:10.483Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T19:30:10.483Z] 666ba61612fd: Pulling fs layer [2022-04-04T19:30:10.483Z] 8ed8ca486205: Pulling fs layer [2022-04-04T19:30:10.483Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T19:30:10.483Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T19:30:10.483Z] 640e595b4fbd: Pulling fs layer [2022-04-04T19:30:10.483Z] 763cafe07f6e: Pulling fs layer [2022-04-04T19:30:10.483Z] 0c0b528cf693: Pulling fs layer [2022-04-04T19:30:10.483Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T19:30:10.483Z] 22a0e8bec74d: Waiting [2022-04-04T19:30:10.483Z] 640e595b4fbd: Waiting [2022-04-04T19:30:10.483Z] 10935f4eaf8b: Waiting [2022-04-04T19:30:10.483Z] 763cafe07f6e: Waiting [2022-04-04T19:30:10.483Z] 0c0b528cf693: Waiting [2022-04-04T19:30:10.483Z] 4fe6c5a15a65: Waiting [2022-04-04T19:30:10.483Z] 8ed8ca486205: Verifying Checksum [2022-04-04T19:30:10.483Z] 8ed8ca486205: Download complete [2022-04-04T19:30:10.483Z] 666ba61612fd: Verifying Checksum [2022-04-04T19:30:10.483Z] 666ba61612fd: Download complete [2022-04-04T19:30:10.483Z] 22a0e8bec74d: Download complete [2022-04-04T19:30:10.483Z] 640e595b4fbd: Verifying Checksum [2022-04-04T19:30:10.483Z] 640e595b4fbd: Download complete [2022-04-04T19:30:10.483Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T19:30:10.483Z] 59bf1c3509f3: Download complete [2022-04-04T19:30:10.483Z] 763cafe07f6e: Verifying Checksum [2022-04-04T19:30:10.483Z] 763cafe07f6e: Download complete [2022-04-04T19:30:10.483Z] 0c0b528cf693: Verifying Checksum [2022-04-04T19:30:10.483Z] 0c0b528cf693: Download complete [2022-04-04T19:30:10.744Z] 59bf1c3509f3: Pull complete [2022-04-04T19:30:10.744Z] 666ba61612fd: Pull complete [2022-04-04T19:30:10.744Z] 8ed8ca486205: Pull complete [2022-04-04T19:30:11.004Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T19:30:11.004Z] 10935f4eaf8b: Download complete [2022-04-04T19:30:11.264Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T19:30:11.264Z] 4fe6c5a15a65: Download complete [2022-04-04T19:30:15.457Z] 4fe6c5a15a65: Pull complete [2022-04-04T19:30:15.457Z] 22a0e8bec74d: Pull complete [2022-04-04T19:30:15.457Z] 640e595b4fbd: Pull complete [2022-04-04T19:30:15.457Z] 763cafe07f6e: Pull complete [2022-04-04T19:30:15.457Z] 0c0b528cf693: Pull complete [2022-04-04T19:30:18.010Z] 10935f4eaf8b: Pull complete [2022-04-04T19:30:18.010Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T19:30:18.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T19:30:18.010Z] ---> 99d49a6021b9 [2022-04-04T19:30:18.010Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T19:30:19.413Z] ---> Running in 1240a404edc9 [2022-04-04T19:30:19.413Z] Removing intermediate container 1240a404edc9 [2022-04-04T19:30:19.413Z] ---> 88e47e315606 [2022-04-04T19:30:19.413Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T19:30:19.413Z] ---> Running in bc87a8e32bf0 [2022-04-04T19:30:19.413Z] Removing intermediate container bc87a8e32bf0 [2022-04-04T19:30:19.413Z] ---> eb23b45c7510 [2022-04-04T19:30:19.413Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-04T19:30:19.413Z] ---> Running in 944dbaf1544d [2022-04-04T19:30:19.413Z] Removing intermediate container 944dbaf1544d [2022-04-04T19:30:19.413Z] ---> 637ebd07c3b6 [2022-04-04T19:30:19.413Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:30:19.674Z] ---> Running in b0e9e969e12d [2022-04-04T19:30:20.246Z] Removing intermediate container b0e9e969e12d [2022-04-04T19:30:20.246Z] ---> c863d8e73056 [2022-04-04T19:30:20.246Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T19:30:20.246Z] ---> Running in ea535434f645 [2022-04-04T19:30:20.508Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T19:30:21.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T19:30:21.714Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T19:30:21.714Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T19:30:21.714Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T19:30:21.974Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T19:30:21.974Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T19:30:21.974Z] OK: 224 MiB in 56 packages [2022-04-04T19:30:22.546Z] Removing intermediate container ea535434f645 [2022-04-04T19:30:22.546Z] ---> 29f0d37f2586 [2022-04-04T19:30:22.546Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T19:30:22.546Z] ---> ba3731c399cd [2022-04-04T19:30:22.546Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T19:30:22.546Z] ---> Running in fdd1d51be441 [2022-04-04T19:30:22.957Z] Still waiting to schedule task [2022-04-04T19:30:22.957Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-04T19:30:37.453Z] Removing intermediate container fdd1d51be441 [2022-04-04T19:30:37.454Z] ---> 52a5352470fd [2022-04-04T19:30:37.454Z] Step 10/12 : COPY . . [2022-04-04T19:30:37.454Z] ---> 07fa3b58d360 [2022-04-04T19:30:37.454Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T19:30:37.454Z] ---> Running in 76a1536ee3fd [2022-04-04T19:30:37.454Z] Removing intermediate container 76a1536ee3fd [2022-04-04T19:30:37.454Z] ---> ec05cb7cfbb8 [2022-04-04T19:30:37.454Z] Step 12/12 : RUN $MAKE [2022-04-04T19:30:37.454Z] ---> Running in d1c9160774a4 [2022-04-04T19:30:37.454Z] noop [2022-04-04T19:30:37.454Z] Removing intermediate container d1c9160774a4 [2022-04-04T19:30:37.454Z] ---> 1de73f38fc79 [2022-04-04T19:30:37.454Z] Successfully built 1de73f38fc79 [2022-04-04T19:30:37.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:30:37.813Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T19:30:37.814Z] . [Pipeline] withDockerContainer [2022-04-04T19:30:37.923Z] prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container [2022-04-04T19:30:37.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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-x86_64 cat [2022-04-04T19:30:38.393Z] $ docker top f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T19:30:38.808Z] + go version [2022-04-04T19:30:38.808Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T19:30:38.843Z] $ docker stop --time=1 f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 [2022-04-04T19:30:40.139Z] $ docker rm -f f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:30:40.810Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T19:30:40.810Z] . [Pipeline] withDockerContainer [2022-04-04T19:30:40.905Z] prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container [2022-04-04T19:30:40.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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-x86_64 cat [2022-04-04T19:30:41.354Z] $ docker top 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T19:30:41.815Z] + make test [2022-04-04T19:30:41.815Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T19:30:42.077Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-04T19:30:52.071Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-04T19:30:52.071Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-04-04T19:31:00.198Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T19:31:02.731Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T19:31:02.731Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T19:31:02.731Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T19:31:03.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T19:31:03.368Z] $ docker stop --time=1 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 [2022-04-04T19:31:05.041Z] $ docker rm -f 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T19:31:05.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T19:31:05.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T19:31:06.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T19:31:07.208Z] + ls -al . [2022-04-04T19:31:07.209Z] total 184 [2022-04-04T19:31:07.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:31 . [2022-04-04T19:31:07.209Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 19:29 .. [2022-04-04T19:31:07.209Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:29 .git [2022-04-04T19:31:07.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:29 .github [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 4 19:29 .gitignore [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 19:29 .golangci.yml [2022-04-04T19:31:07.209Z] drwx------ 3 jenkins jenkins 4096 Apr 4 19:30 .semver [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 4 19:29 Attribution.txt [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 4 19:29 CHANGELOG.md [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 4 19:29 Dockerfile [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 19:29 GOVERNANCE.md [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 4 19:29 Jenkinsfile [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 19:29 LICENSE [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 1652 Apr 4 19:29 Makefile [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 4 19:29 OWNERS.md [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 4 19:29 README.md [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 19:30 VERSION [2022-04-04T19:31:07.209Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:29 bin [2022-04-04T19:31:07.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:29 cmd [2022-04-04T19:31:07.209Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 4 19:30 coverage.out [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 4 19:29 go.mod [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 4 19:29 go.sum [2022-04-04T19:31:07.209Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:29 internal [2022-04-04T19:31:07.209Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 4 19:29 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:31:07.539Z] + 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=34a2cf4996402a54740b86045567596500a903e2 --label arch=amd64 --label version=0.0.0 . [2022-04-04T19:31:07.539Z] Sending build context to Docker daemon 22.96MB [2022-04-04T19:31:07.539Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T19:31:07.539Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-04T19:31:07.539Z] ---> 1de73f38fc79 [2022-04-04T19:31:07.539Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T19:31:07.806Z] ---> Running in ab578cc80331 [2022-04-04T19:31:07.806Z] Removing intermediate container ab578cc80331 [2022-04-04T19:31:07.806Z] ---> 8ceb85d05400 [2022-04-04T19:31:07.806Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T19:31:07.806Z] ---> Running in 7bf1317bb9b5 [2022-04-04T19:31:08.066Z] Removing intermediate container 7bf1317bb9b5 [2022-04-04T19:31:08.066Z] ---> 1680c55452d6 [2022-04-04T19:31:08.066Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-04T19:31:08.066Z] ---> Running in ac895a945900 [2022-04-04T19:31:08.066Z] Removing intermediate container ac895a945900 [2022-04-04T19:31:08.066Z] ---> 9896ffd3f536 [2022-04-04T19:31:08.066Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:31:08.066Z] ---> Running in e9fca1fc8b3b [2022-04-04T19:31:08.638Z] Removing intermediate container e9fca1fc8b3b [2022-04-04T19:31:08.638Z] ---> 1993b753787c [2022-04-04T19:31:08.638Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T19:31:08.638Z] ---> Running in 2eebf4528d17 [2022-04-04T19:31:08.898Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T19:31:09.838Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T19:31:10.099Z] OK: 224 MiB in 56 packages [2022-04-04T19:31:10.361Z] Removing intermediate container 2eebf4528d17 [2022-04-04T19:31:10.361Z] ---> 4fe6a91bf94f [2022-04-04T19:31:10.361Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-04T19:31:10.620Z] ---> 13d478fcd63c [2022-04-04T19:31:10.620Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T19:31:10.620Z] ---> Running in 18eed305404a [2022-04-04T19:31:11.189Z] Removing intermediate container 18eed305404a [2022-04-04T19:31:11.189Z] ---> 5b5090cc26eb [2022-04-04T19:31:11.189Z] Step 10/26 : COPY . . [2022-04-04T19:31:11.759Z] ---> 954dddb41a81 [2022-04-04T19:31:11.759Z] Step 11/26 : ARG MAKE='make build' [2022-04-04T19:31:11.759Z] ---> Running in 3323a4df67dd [2022-04-04T19:31:12.022Z] Removing intermediate container 3323a4df67dd [2022-04-04T19:31:12.022Z] ---> c7c861dea3d3 [2022-04-04T19:31:12.022Z] Step 12/26 : RUN $MAKE [2022-04-04T19:31:12.022Z] ---> Running in 606b5c79634e [2022-04-04T19:31:12.290Z] 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-04-04T19:31:24.509Z] Removing intermediate container 606b5c79634e [2022-04-04T19:31:24.509Z] ---> c49ee103d65a [2022-04-04T19:31:24.509Z] Step 13/26 : FROM alpine:3.14 [2022-04-04T19:31:24.770Z] 3.14: Pulling from library/alpine [2022-04-04T19:31:25.031Z] cfab2db72209: Pulling fs layer [2022-04-04T19:31:25.031Z] cfab2db72209: Verifying Checksum [2022-04-04T19:31:25.031Z] cfab2db72209: Download complete [2022-04-04T19:31:25.290Z] cfab2db72209: Pull complete [2022-04-04T19:31:25.290Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T19:31:25.290Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T19:31:25.290Z] ---> 84b07dd2d1fd [2022-04-04T19:31:25.290Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-04T19:31:25.290Z] ---> Running in 269dd7dfd618 [2022-04-04T19:31:25.550Z] Removing intermediate container 269dd7dfd618 [2022-04-04T19:31:25.550Z] ---> cc034751d278 [2022-04-04T19:31:25.550Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:31:25.550Z] ---> Running in c94d3c526863 [2022-04-04T19:31:26.119Z] Removing intermediate container c94d3c526863 [2022-04-04T19:31:26.119Z] ---> 477ec1f79820 [2022-04-04T19:31:26.119Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T19:31:26.119Z] ---> Running in e3b41d26cf9f [2022-04-04T19:31:26.380Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-04T19:31:27.323Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-04T19:31:27.584Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T19:31:27.584Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T19:31:27.584Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T19:31:27.845Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T19:31:27.845Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T19:31:27.845Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T19:31:28.106Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T19:31:28.106Z] OK: 8 MiB in 20 packages [2022-04-04T19:31:28.367Z] Removing intermediate container e3b41d26cf9f [2022-04-04T19:31:28.367Z] ---> ca969c39004e [2022-04-04T19:31:28.367Z] Step 17/26 : WORKDIR / [2022-04-04T19:31:28.367Z] ---> Running in e5aabd7df140 [2022-04-04T19:31:28.628Z] Removing intermediate container e5aabd7df140 [2022-04-04T19:31:28.628Z] ---> f3987a24a1c5 [2022-04-04T19:31:28.628Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-04T19:31:28.628Z] ---> 8cb42b771806 [2022-04-04T19:31:28.628Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-04T19:31:28.888Z] ---> d55ad2459dc9 [2022-04-04T19:31:28.888Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-04T19:31:29.459Z] ---> 8adc4d4c8cd2 [2022-04-04T19:31:29.459Z] Step 21/26 : EXPOSE 59900 [2022-04-04T19:31:29.459Z] ---> Running in c72618eb80a0 [2022-04-04T19:31:29.459Z] Removing intermediate container c72618eb80a0 [2022-04-04T19:31:29.459Z] ---> 124c4f192dfe [2022-04-04T19:31:29.459Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-04T19:31:29.459Z] ---> Running in b59ea0428613 [2022-04-04T19:31:29.727Z] Removing intermediate container b59ea0428613 [2022-04-04T19:31:29.727Z] ---> 5a16d5bdf893 [2022-04-04T19:31:29.727Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T19:31:29.727Z] ---> Running in c85e21e85a49 [2022-04-04T19:31:29.727Z] Removing intermediate container c85e21e85a49 [2022-04-04T19:31:29.727Z] ---> 7bf31fdbde2f [2022-04-04T19:31:29.727Z] Step 24/26 : LABEL arch=amd64 [2022-04-04T19:31:29.727Z] ---> Running in b97601e10632 [2022-04-04T19:31:29.727Z] Removing intermediate container b97601e10632 [2022-04-04T19:31:29.727Z] ---> 0ea83e8c9d06 [2022-04-04T19:31:29.727Z] Step 25/26 : LABEL git_sha=34a2cf4996402a54740b86045567596500a903e2 [2022-04-04T19:31:29.987Z] ---> Running in a8c8d03abe04 [2022-04-04T19:31:29.987Z] Removing intermediate container a8c8d03abe04 [2022-04-04T19:31:29.987Z] ---> 691712f0f183 [2022-04-04T19:31:29.987Z] Step 26/26 : LABEL version=0.0.0 [2022-04-04T19:31:29.987Z] ---> Running in d10d2cc73d88 [2022-04-04T19:31:29.987Z] Removing intermediate container d10d2cc73d88 [2022-04-04T19:31:29.987Z] ---> 42f2aaea413f [2022-04-04T19:31:29.987Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T19:31:29.987Z] Successfully built 42f2aaea413f [2022-04-04T19:31:29.987Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:31:30.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T19:31:30.734Z] [2022-04-04T19:31:30.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:31:31.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T19:31:31.078Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T19:31:31.078Z] 5eb5b503b376: Pulling fs layer [2022-04-04T19:31:31.078Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T19:31:31.078Z] ec43610c2a17: Pulling fs layer [2022-04-04T19:31:31.078Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T19:31:31.078Z] 33b1e0a273af: Pulling fs layer [2022-04-04T19:31:31.078Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T19:31:31.078Z] 2f39f015ded8: Pulling fs layer [2022-04-04T19:31:31.078Z] 3a2ae6a8a46f: Waiting [2022-04-04T19:31:31.078Z] 33b1e0a273af: Waiting [2022-04-04T19:31:31.078Z] 5d3b04190fa2: Waiting [2022-04-04T19:31:31.078Z] 2f39f015ded8: Waiting [2022-04-04T19:31:31.078Z] 5c69ac0246d0: Download complete [2022-04-04T19:31:31.078Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-04T19:31:31.078Z] 3a2ae6a8a46f: Download complete [2022-04-04T19:31:31.078Z] 33b1e0a273af: Verifying Checksum [2022-04-04T19:31:31.078Z] 33b1e0a273af: Download complete [2022-04-04T19:31:31.078Z] ec43610c2a17: Verifying Checksum [2022-04-04T19:31:31.078Z] ec43610c2a17: Download complete [2022-04-04T19:31:31.078Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T19:31:31.078Z] 5d3b04190fa2: Download complete [2022-04-04T19:31:31.338Z] 5eb5b503b376: Verifying Checksum [2022-04-04T19:31:31.338Z] 5eb5b503b376: Download complete [2022-04-04T19:31:31.906Z] 2f39f015ded8: Download complete [2022-04-04T19:31:32.843Z] 5eb5b503b376: Pull complete [2022-04-04T19:31:32.843Z] 5c69ac0246d0: Pull complete [2022-04-04T19:31:33.412Z] ec43610c2a17: Pull complete [2022-04-04T19:31:33.412Z] 3a2ae6a8a46f: Pull complete [2022-04-04T19:31:33.672Z] 33b1e0a273af: Pull complete [2022-04-04T19:31:33.672Z] 5d3b04190fa2: Pull complete [2022-04-04T19:31:38.954Z] 2f39f015ded8: Pull complete [2022-04-04T19:31:38.954Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T19:31:38.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T19:31:38.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T19:31:39.048Z] prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container [2022-04-04T19:31:39.088Z] $ 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-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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:latest cat [2022-04-04T19:31:40.511Z] $ docker top 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:31:41.029Z] ---> job-cost.sh [2022-04-04T19:31:41.029Z] lf-activate-venv: SKIPPING [2022-04-04T19:31:41.029Z] INFO: No Stack... [2022-04-04T19:31:41.668Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T19:31:41.944Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T19:31:42.293Z] + cat /w/workspace/foundry_device-virtual-go_PR-274/archives/cost.csv [2022-04-04T19:31:42.293Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T19:31:42.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [2022-04-04T19:31:42.338Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] did not exist. Created. [2022-04-04T19:31:42.338Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T19:31:42.737Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T19:31:42.787Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T19:31:42.813Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T19:31:42.898Z] $ docker stop --time=1 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 [2022-04-04T19:31:44.098Z] $ docker rm -f 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T19:33:31.054Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10674 in /w/workspace/foundry_device-virtual-go_PR-274 [Pipeline] { [Pipeline] ws [2022-04-04T19:33:31.098Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T19:33:31.930Z] The recommended git tool is: git [2022-04-04T19:33:40.150Z] using credential edgex-jenkins-ssh [2022-04-04T19:33:40.168Z] Cloning the remote Git repository [2022-04-04T19:33:40.255Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-04T19:33:40.342Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-04-04T19:33:40.542Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-04T19:33:40.543Z] > git --version # timeout=10 [2022-04-04T19:33:40.618Z] > git --version # 'git version 2.25.1' [2022-04-04T19:33:40.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T19:33:40.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T19:33:43.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-04T19:33:43.126Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T19:33:43.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-04T19:33:43.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-04T19:33:43.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T19:33:43.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T19:33:43.830Z] Merging remotes/origin/main commit ab35c68c7da578f7489f6019108ca23722e6e5b0 into PR head commit 34a2cf4996402a54740b86045567596500a903e2 [2022-04-04T19:33:44.073Z] Merge succeeded, producing 34a2cf4996402a54740b86045567596500a903e2 [2022-04-04T19:33:44.074Z] Checking out Revision 34a2cf4996402a54740b86045567596500a903e2 (PR-274) [2022-04-04T19:33:43.853Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T19:33:43.875Z] > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 [2022-04-04T19:33:43.972Z] > git remote # timeout=10 [2022-04-04T19:33:43.992Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T19:33:44.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T19:33:44.032Z] > git merge ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 [2022-04-04T19:33:44.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T19:33:44.082Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T19:33:44.095Z] > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 [2022-04-04T19:33:48.326Z] Commit message: "feat: enable gosec and default linter set" [2022-04-04T19:33:48.389Z] > git --version # timeout=10 [2022-04-04T19:33:48.402Z] > git --version # 'git version 2.25.1' [2022-04-04T19:33:48.414Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T19:33:49.473Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T19:33:49.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T19:33:49.473Z] Dload Upload Total Spent Left Speed [2022-04-04T19:33:49.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46081 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh [2022-04-04T19:33:50.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T19:33:50.431Z] + sudo tee /etc/docker/daemon.new [2022-04-04T19:33:50.431Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T19:33:50.431Z] { [2022-04-04T19:33:50.431Z] "registry-mirrors": [ [2022-04-04T19:33:50.431Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T19:33:50.431Z] ], [2022-04-04T19:33:50.431Z] "bip": "10.250.0.254/24", [2022-04-04T19:33:50.431Z] "hosts": [ [2022-04-04T19:33:50.431Z] "tcp://0.0.0.0:5555", [2022-04-04T19:33:50.431Z] "unix:///var/run/docker.sock" [2022-04-04T19:33:50.431Z] ], [2022-04-04T19:33:50.431Z] "mtu": 1458, [2022-04-04T19:33:50.431Z] "selinux-enabled": true, [2022-04-04T19:33:50.431Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T19:33:50.431Z] } [Pipeline] sh [2022-04-04T19:33:50.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T19:33:51.310Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T19:34:09.712Z] provisioning config files... [2022-04-04T19:34:09.737Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config953708620727368268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:34:10.316Z] ---> docker-login.sh [2022-04-04T19:34:10.316Z] nexus3.edgexfoundry.org:10001 [2022-04-04T19:34:10.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:34:11.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:34:11.192Z] Configure a credential helper to remove this warning. See [2022-04-04T19:34:11.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:34:11.192Z] [2022-04-04T19:34:11.192Z] Login Succeeded [2022-04-04T19:34:11.192Z] nexus3.edgexfoundry.org:10002 [2022-04-04T19:34:11.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:34:11.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:34:11.744Z] Configure a credential helper to remove this warning. See [2022-04-04T19:34:11.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:34:11.744Z] [2022-04-04T19:34:11.744Z] Login Succeeded [2022-04-04T19:34:11.744Z] nexus3.edgexfoundry.org:10003 [2022-04-04T19:34:12.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:34:12.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:34:12.296Z] Configure a credential helper to remove this warning. See [2022-04-04T19:34:12.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:34:12.296Z] [2022-04-04T19:34:12.296Z] Login Succeeded [2022-04-04T19:34:12.296Z] nexus3.edgexfoundry.org:10004 [2022-04-04T19:34:12.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:34:12.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:34:12.844Z] Configure a credential helper to remove this warning. See [2022-04-04T19:34:12.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:34:12.844Z] [2022-04-04T19:34:12.844Z] Login Succeeded [2022-04-04T19:34:12.844Z] docker.io [2022-04-04T19:34:13.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T19:34:13.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T19:34:13.717Z] Configure a credential helper to remove this warning. See [2022-04-04T19:34:13.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T19:34:13.717Z] [2022-04-04T19:34:13.717Z] Login Succeeded [2022-04-04T19:34:13.717Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T19:34:13.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T19:34:14.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T19:34:14.179Z] ========================================================= [2022-04-04T19:34:14.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T19:34:14.179Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:34:14.626Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T19:34:15.233Z] Sending build context to Docker daemon 11.61MB [2022-04-04T19:34:15.233Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T19:34:15.233Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T19:34:15.233Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T19:34:15.233Z] 9b3977197b4f: Pulling fs layer [2022-04-04T19:34:15.233Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T19:34:15.233Z] 94645a83ff95: Pulling fs layer [2022-04-04T19:34:15.233Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T19:34:15.233Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T19:34:15.233Z] f7c0051592d6: Pulling fs layer [2022-04-04T19:34:15.233Z] a227ed2f7395: Pulling fs layer [2022-04-04T19:34:15.233Z] 7b1c46037f91: Pulling fs layer [2022-04-04T19:34:15.233Z] 3f3a8bcf1eab: Waiting [2022-04-04T19:34:15.233Z] f7c0051592d6: Waiting [2022-04-04T19:34:15.233Z] 0c92f367c5e7: Waiting [2022-04-04T19:34:15.233Z] a227ed2f7395: Waiting [2022-04-04T19:34:15.233Z] 94645a83ff95: Download complete [2022-04-04T19:34:15.233Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T19:34:15.233Z] 1a89e8eeedd5: Download complete [2022-04-04T19:34:15.517Z] 0c92f367c5e7: Download complete [2022-04-04T19:34:15.517Z] f7c0051592d6: Verifying Checksum [2022-04-04T19:34:15.517Z] f7c0051592d6: Download complete [2022-04-04T19:34:15.517Z] 9b3977197b4f: Verifying Checksum [2022-04-04T19:34:15.517Z] 9b3977197b4f: Download complete [2022-04-04T19:34:15.517Z] a227ed2f7395: Verifying Checksum [2022-04-04T19:34:15.517Z] a227ed2f7395: Download complete [2022-04-04T19:34:16.125Z] 9b3977197b4f: Pull complete [2022-04-04T19:34:16.730Z] 1a89e8eeedd5: Pull complete [2022-04-04T19:34:17.007Z] 94645a83ff95: Pull complete [2022-04-04T19:34:17.612Z] 7b1c46037f91: Verifying Checksum [2022-04-04T19:34:17.612Z] 7b1c46037f91: Download complete [2022-04-04T19:34:18.213Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T19:34:18.213Z] 3f3a8bcf1eab: Download complete [2022-04-04T19:34:30.633Z] 3f3a8bcf1eab: Pull complete [2022-04-04T19:34:30.633Z] 0c92f367c5e7: Pull complete [2022-04-04T19:34:30.633Z] f7c0051592d6: Pull complete [2022-04-04T19:34:30.633Z] a227ed2f7395: Pull complete [2022-04-04T19:34:37.353Z] 7b1c46037f91: Pull complete [2022-04-04T19:34:37.353Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T19:34:37.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T19:34:37.353Z] ---> f79e39bc4007 [2022-04-04T19:34:37.353Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T19:34:38.347Z] ---> Running in b287dbe87878 [2022-04-04T19:34:38.623Z] Removing intermediate container b287dbe87878 [2022-04-04T19:34:38.623Z] ---> 5039975e7a4f [2022-04-04T19:34:38.623Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T19:34:38.623Z] ---> Running in b105e3b1e08f [2022-04-04T19:34:38.902Z] Removing intermediate container b105e3b1e08f [2022-04-04T19:34:38.902Z] ---> a86d0721cb2f [2022-04-04T19:34:38.902Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-04T19:34:39.181Z] ---> Running in ba828a264003 [2022-04-04T19:34:39.456Z] Removing intermediate container ba828a264003 [2022-04-04T19:34:39.456Z] ---> 36862965ff3f [2022-04-04T19:34:39.456Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:34:39.456Z] ---> Running in 63dacee16ff8 [2022-04-04T19:34:41.458Z] Removing intermediate container 63dacee16ff8 [2022-04-04T19:34:41.458Z] ---> 8d5e0a74843f [2022-04-04T19:34:41.458Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T19:34:41.458Z] ---> Running in b255b4d58982 [2022-04-04T19:34:42.441Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T19:34:43.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T19:34:44.019Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T19:34:44.019Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T19:34:44.019Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T19:34:44.303Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T19:34:44.303Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T19:34:44.582Z] OK: 224 MiB in 56 packages [2022-04-04T19:34:46.567Z] Removing intermediate container b255b4d58982 [2022-04-04T19:34:46.567Z] ---> 4a23eb889aca [2022-04-04T19:34:46.567Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T19:34:48.005Z] ---> 952ce136ca95 [2022-04-04T19:34:48.005Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T19:34:48.005Z] ---> Running in 018dbfe2bc85 [2022-04-04T19:35:35.020Z] Removing intermediate container 018dbfe2bc85 [2022-04-04T19:35:35.020Z] ---> 8af3ea4055ad [2022-04-04T19:35:35.020Z] Step 10/12 : COPY . . [2022-04-04T19:35:35.020Z] ---> 909355fe92a6 [2022-04-04T19:35:35.020Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T19:35:35.020Z] ---> Running in 2ce4f6885dde [2022-04-04T19:35:35.020Z] Removing intermediate container 2ce4f6885dde [2022-04-04T19:35:35.020Z] ---> 43d146a3865c [2022-04-04T19:35:35.020Z] Step 12/12 : RUN $MAKE [2022-04-04T19:35:35.020Z] ---> Running in 5355355de602 [2022-04-04T19:35:35.628Z] noop [2022-04-04T19:35:36.227Z] Removing intermediate container 5355355de602 [2022-04-04T19:35:36.227Z] ---> f29d5e486ba4 [2022-04-04T19:35:36.227Z] Successfully built f29d5e486ba4 [2022-04-04T19:35:36.227Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:35:36.605Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T19:35:36.605Z] . [Pipeline] withDockerContainer [2022-04-04T19:35:36.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container [2022-04-04T19:35:36.922Z] $ 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-04-04T19:35:38.203Z] $ docker top 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T19:35:39.148Z] + go version [2022-04-04T19:35:39.148Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T19:35:39.187Z] $ docker stop --time=1 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e [2022-04-04T19:35:40.818Z] $ docker rm -f 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:35:41.678Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T19:35:41.678Z] . [Pipeline] withDockerContainer [2022-04-04T19:35:41.927Z] prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container [2022-04-04T19:35:42.010Z] $ 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-04-04T19:35:43.267Z] $ docker top 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T19:35:44.249Z] + make test [2022-04-04T19:35:44.249Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T19:35:45.705Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-04T19:37:07.535Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-04T19:37:07.535Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-04-04T19:37:07.535Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-04T19:37:07.535Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T19:37:25.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T19:37:25.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T19:37:25.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T19:37:26.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T19:37:26.274Z] $ docker stop --time=1 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a [2022-04-04T19:37:28.061Z] $ docker rm -f 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T19:37:29.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T19:37:29.094Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T19:37:29.556Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T19:37:30.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T19:37:30.519Z] + ls -al . [2022-04-04T19:37:30.519Z] total 180 [2022-04-04T19:37:30.519Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 4 19:37 . [2022-04-04T19:37:30.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 19:33 .. [2022-04-04T19:37:30.519Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:33 .git [2022-04-04T19:37:30.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:33 .github [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 4 19:33 .gitignore [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 19:33 .golangci.yml [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 4 19:33 Attribution.txt [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 4 19:33 CHANGELOG.md [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 4 19:33 Dockerfile [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 19:33 GOVERNANCE.md [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 4 19:33 Jenkinsfile [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 19:33 LICENSE [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 1652 Apr 4 19:33 Makefile [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 4 19:33 OWNERS.md [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 4 19:33 README.md [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 19:30 VERSION [2022-04-04T19:37:30.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:33 bin [2022-04-04T19:37:30.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:33 cmd [2022-04-04T19:37:30.519Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 4 19:36 coverage.out [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 4 19:33 go.mod [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 4 19:33 go.sum [2022-04-04T19:37:30.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:33 internal [2022-04-04T19:37:30.519Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 4 19:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:37:30.880Z] + 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=34a2cf4996402a54740b86045567596500a903e2 --label arch=arm64 --label version=0.0.0 . [2022-04-04T19:37:31.154Z] Sending build context to Docker daemon 11.65MB [2022-04-04T19:37:31.428Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T19:37:31.428Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-04T19:37:31.428Z] ---> f29d5e486ba4 [2022-04-04T19:37:31.428Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T19:37:31.428Z] ---> Running in e5607695e331 [2022-04-04T19:37:31.711Z] Removing intermediate container e5607695e331 [2022-04-04T19:37:31.711Z] ---> a7db95749960 [2022-04-04T19:37:31.711Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T19:37:31.711Z] ---> Running in 2a3b25dc6d14 [2022-04-04T19:37:32.319Z] Removing intermediate container 2a3b25dc6d14 [2022-04-04T19:37:32.320Z] ---> 7ec7cff6b4f8 [2022-04-04T19:37:32.320Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-04T19:37:32.320Z] ---> Running in 9a096b357f24 [2022-04-04T19:37:32.598Z] Removing intermediate container 9a096b357f24 [2022-04-04T19:37:32.599Z] ---> c14acb2f0a71 [2022-04-04T19:37:32.599Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:37:32.599Z] ---> Running in 07664ad7cc2d [2022-04-04T19:37:34.579Z] Removing intermediate container 07664ad7cc2d [2022-04-04T19:37:34.579Z] ---> 71d3bdc4b71d [2022-04-04T19:37:34.579Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T19:37:34.579Z] ---> Running in e8cddff610ab [2022-04-04T19:37:35.555Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T19:37:36.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T19:37:37.130Z] OK: 224 MiB in 56 packages [2022-04-04T19:37:37.744Z] Removing intermediate container e8cddff610ab [2022-04-04T19:37:37.744Z] ---> 16481b23709c [2022-04-04T19:37:37.744Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-04T19:37:38.343Z] ---> 58f8206d30ec [2022-04-04T19:37:38.343Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T19:37:38.343Z] ---> Running in 3bcce8dcb625 [2022-04-04T19:37:40.337Z] Removing intermediate container 3bcce8dcb625 [2022-04-04T19:37:40.337Z] ---> 64422eb546e0 [2022-04-04T19:37:40.337Z] Step 10/26 : COPY . . [2022-04-04T19:37:41.774Z] ---> 620a1c6abce1 [2022-04-04T19:37:41.774Z] Step 11/26 : ARG MAKE='make build' [2022-04-04T19:37:41.774Z] ---> Running in 80e8e9190330 [2022-04-04T19:37:41.774Z] Removing intermediate container 80e8e9190330 [2022-04-04T19:37:41.774Z] ---> a11d5b99dc17 [2022-04-04T19:37:41.774Z] Step 12/26 : RUN $MAKE [2022-04-04T19:37:42.059Z] ---> Running in ab6a00b93c5e [2022-04-04T19:37:43.053Z] 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-04-04T19:39:04.914Z] Removing intermediate container ab6a00b93c5e [2022-04-04T19:39:04.914Z] ---> 118872375e2b [2022-04-04T19:39:04.914Z] Step 13/26 : FROM alpine:3.14 [2022-04-04T19:39:04.914Z] 3.14: Pulling from library/alpine [2022-04-04T19:39:04.914Z] 810d54c7e01b: Pulling fs layer [2022-04-04T19:39:04.914Z] 810d54c7e01b: Download complete [2022-04-04T19:39:04.914Z] 810d54c7e01b: Pull complete [2022-04-04T19:39:04.914Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T19:39:04.914Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T19:39:04.914Z] ---> cc3d11fa2d52 [2022-04-04T19:39:04.914Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-04T19:39:04.914Z] ---> Running in 61822c70dd14 [2022-04-04T19:39:04.914Z] Removing intermediate container 61822c70dd14 [2022-04-04T19:39:04.914Z] ---> 4a89d7acdb67 [2022-04-04T19:39:04.914Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T19:39:04.914Z] ---> Running in 5cde44106a0f [2022-04-04T19:39:04.914Z] Removing intermediate container 5cde44106a0f [2022-04-04T19:39:04.914Z] ---> d4da799fff36 [2022-04-04T19:39:04.914Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T19:39:04.914Z] ---> Running in e77a4d60800c [2022-04-04T19:39:04.914Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-04T19:39:04.914Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-04T19:39:04.914Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T19:39:04.914Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T19:39:04.914Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T19:39:04.914Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T19:39:04.914Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T19:39:04.914Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T19:39:04.914Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T19:39:04.914Z] OK: 8 MiB in 20 packages [2022-04-04T19:39:04.914Z] Removing intermediate container e77a4d60800c [2022-04-04T19:39:04.914Z] ---> 1856f5f92ec6 [2022-04-04T19:39:04.914Z] Step 17/26 : WORKDIR / [2022-04-04T19:39:04.914Z] ---> Running in 182bad5b7e38 [2022-04-04T19:39:04.914Z] Removing intermediate container 182bad5b7e38 [2022-04-04T19:39:04.914Z] ---> 165f0d1ead3e [2022-04-04T19:39:04.914Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-04T19:39:04.914Z] ---> 89275d33c50f [2022-04-04T19:39:04.914Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-04T19:39:04.914Z] ---> d1a65f3a7c14 [2022-04-04T19:39:04.914Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-04T19:39:04.914Z] ---> e3a19ec1b352 [2022-04-04T19:39:04.914Z] Step 21/26 : EXPOSE 59900 [2022-04-04T19:39:04.914Z] ---> Running in 4458d4f4895f [2022-04-04T19:39:04.914Z] Removing intermediate container 4458d4f4895f [2022-04-04T19:39:04.914Z] ---> 66143fd6a995 [2022-04-04T19:39:04.914Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-04T19:39:04.914Z] ---> Running in 4afeed099fc0 [2022-04-04T19:39:04.914Z] Removing intermediate container 4afeed099fc0 [2022-04-04T19:39:04.914Z] ---> a03ee08e51e5 [2022-04-04T19:39:04.914Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T19:39:04.914Z] ---> Running in 18c4cfd5b2a0 [2022-04-04T19:39:04.914Z] Removing intermediate container 18c4cfd5b2a0 [2022-04-04T19:39:04.914Z] ---> b99e587cd7bb [2022-04-04T19:39:04.914Z] Step 24/26 : LABEL arch=arm64 [2022-04-04T19:39:04.914Z] ---> Running in 44975c9128bf [2022-04-04T19:39:04.914Z] Removing intermediate container 44975c9128bf [2022-04-04T19:39:04.914Z] ---> 0c227c4aa4a3 [2022-04-04T19:39:04.914Z] Step 25/26 : LABEL git_sha=34a2cf4996402a54740b86045567596500a903e2 [2022-04-04T19:39:04.914Z] ---> Running in 28a94650f5ae [2022-04-04T19:39:05.191Z] Removing intermediate container 28a94650f5ae [2022-04-04T19:39:05.191Z] ---> be8993b12c53 [2022-04-04T19:39:05.191Z] Step 26/26 : LABEL version=0.0.0 [2022-04-04T19:39:05.191Z] ---> Running in 8c255acf0560 [2022-04-04T19:39:05.466Z] Removing intermediate container 8c255acf0560 [2022-04-04T19:39:05.466Z] ---> 3561fcefd8f0 [2022-04-04T19:39:05.466Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T19:39:05.466Z] Successfully built 3561fcefd8f0 [2022-04-04T19:39:05.466Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:39:06.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T19:39:06.479Z] [2022-04-04T19:39:06.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:39:06.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T19:39:07.137Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T19:39:07.137Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T19:39:07.137Z] 04944245beec: Pulling fs layer [2022-04-04T19:39:07.137Z] 699f458cf7ca: Pulling fs layer [2022-04-04T19:39:07.137Z] 765212b225bb: Pulling fs layer [2022-04-04T19:39:07.137Z] f23df028b6ca: Pulling fs layer [2022-04-04T19:39:07.137Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T19:39:07.137Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T19:39:07.137Z] f23df028b6ca: Waiting [2022-04-04T19:39:07.137Z] d65c8cfc05b1: Waiting [2022-04-04T19:39:07.137Z] 765212b225bb: Waiting [2022-04-04T19:39:07.137Z] 2437ff75d9bd: Waiting [2022-04-04T19:39:07.137Z] 04944245beec: Verifying Checksum [2022-04-04T19:39:07.137Z] 04944245beec: Download complete [2022-04-04T19:39:07.137Z] 765212b225bb: Verifying Checksum [2022-04-04T19:39:07.137Z] 765212b225bb: Download complete [2022-04-04T19:39:07.137Z] f23df028b6ca: Download complete [2022-04-04T19:39:07.137Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T19:39:07.137Z] d65c8cfc05b1: Download complete [2022-04-04T19:39:07.421Z] 699f458cf7ca: Verifying Checksum [2022-04-04T19:39:07.421Z] 699f458cf7ca: Download complete [2022-04-04T19:39:07.706Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T19:39:07.706Z] 8998bd30e6a1: Download complete [2022-04-04T19:39:10.332Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T19:39:10.332Z] 2437ff75d9bd: Download complete [2022-04-04T19:39:12.329Z] 8998bd30e6a1: Pull complete [2022-04-04T19:39:12.603Z] 04944245beec: Pull complete [2022-04-04T19:39:14.041Z] 699f458cf7ca: Pull complete [2022-04-04T19:39:14.316Z] 765212b225bb: Pull complete [2022-04-04T19:39:14.915Z] f23df028b6ca: Pull complete [2022-04-04T19:39:15.191Z] d65c8cfc05b1: Pull complete [2022-04-04T19:39:30.280Z] 2437ff75d9bd: Pull complete [2022-04-04T19:39:30.280Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T19:39:30.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T19:39:30.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T19:39:30.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container [2022-04-04T19:39:30.612Z] $ 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-04-04T19:39:33.259Z] $ docker top e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:34.256Z] ---> job-cost.sh [2022-04-04T19:39:34.256Z] lf-activate-venv: SKIPPING [2022-04-04T19:39:34.256Z] INFO: No Stack... [2022-04-04T19:39:34.852Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T19:39:35.825Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T19:39:36.521Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-04-04T19:39:36.521Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T19:39:36.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [2022-04-04T19:39:36.607Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] did not exist. Created. [2022-04-04T19:39:36.607Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T19:39:37.359Z] /w/workspace/device-virtual-go/1@tmp/durable-73fe4da1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T19:39:38.061Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T19:39:38.094Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T19:39:38.142Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T19:39:38.160Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T19:39:38.248Z] $ docker stop --time=1 e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 [2022-04-04T19:39:39.763Z] $ docker rm -f e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-04T19:39:40.826Z] provisioning config files... [2022-04-04T19:39:40.834Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config7395593973387783946tmp [Pipeline] { [Pipeline] sh [2022-04-04T19:39:41.175Z] + set +x [2022-04-04T19:39:41.175Z] + + curl -s https://codecov.io/bash [2022-04-04T19:39:41.175Z] bash -s -- [2022-04-04T19:39:41.175Z] [2022-04-04T19:39:41.175Z] _____ _ [2022-04-04T19:39:41.175Z] / ____| | | [2022-04-04T19:39:41.175Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T19:39:41.175Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T19:39:41.175Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T19:39:41.175Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T19:39:41.175Z] Bash-1.0.6 [2022-04-04T19:39:41.175Z] [2022-04-04T19:39:41.175Z] [2022-04-04T19:39:41.175Z] ==> git version 2.25.1 found [2022-04-04T19:39:41.175Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-04T19:39:41.175Z] Release-Date: 2020-01-08 [2022-04-04T19:39:41.175Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-04T19:39:41.175Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T19:39:41.175Z] ==> Jenkins CI detected. [2022-04-04T19:39:41.175Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-274 [2022-04-04T19:39:41.175Z] project root: . [2022-04-04T19:39:41.175Z] --> token set from env [2022-04-04T19:39:41.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T19:39:41.175Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T19:39:41.175Z] ==> Python coveragepy not found [2022-04-04T19:39:41.175Z] ==> Searching for coverage reports in: [2022-04-04T19:39:41.175Z] + . [2022-04-04T19:39:41.175Z] -> Found 1 reports [2022-04-04T19:39:41.175Z] ==> Detecting git/mercurial file structure [2022-04-04T19:39:41.436Z] ==> Reading reports [2022-04-04T19:39:41.436Z] + ./coverage.out bytes=44128 [2022-04-04T19:39:41.436Z] ==> Appending adjustments [2022-04-04T19:39:41.436Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T19:39:41.436Z] + Found adjustments [2022-04-04T19:39:41.436Z] ==> Gzipping contents [2022-04-04T19:39:41.436Z] 8.0K /tmp/codecov.08Mryh.gz [2022-04-04T19:39:41.436Z] ==> Uploading reports [2022-04-04T19:39:41.436Z] url: https://codecov.io [2022-04-04T19:39:41.436Z] query: branch=PR-274&commit=34a2cf4996402a54740b86045567596500a903e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=274&job=&cmd_args= [2022-04-04T19:39:41.436Z] -> Pinging Codecov [2022-04-04T19:39:41.436Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-274&commit=34a2cf4996402a54740b86045567596500a903e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=274&job=&cmd_args= [2022-04-04T19:39:41.696Z] -> Uploading to [2022-04-04T19:39:41.696Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/5E52B4B073DB2E39498172D8E973AA87/34a2cf4996402a54740b86045567596500a903e2/d1f58c99-2d40-444b-8f00-1bfee895bb84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T193941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f533a1f1385dd68ec4dc21bc741513abacc746b11020f5323c61bec6a4803f0 [2022-04-04T19:39:41.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T19:39:41.696Z] Dload Upload Total Spent Left Speed [2022-04-04T19:39:41.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5299 0 0 100 5299 0 19061 --:--:-- --:--:-- --:--:-- 18992 [2022-04-04T19:39:41.957Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/34a2cf4996402a54740b86045567596500a903e2 [Pipeline] } [2022-04-04T19:39:41.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-04T19:39:43.682Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-274/archives ] [2022-04-04T19:39:43.683Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-274/archives [2022-04-04T19:39:43.683Z] total 16 [2022-04-04T19:39:43.683Z] drwxr-xr-x 3 root root 4096 Apr 4 19:31 . [2022-04-04T19:39:43.683Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 19:31 .. [2022-04-04T19:39:43.683Z] drwxr-xr-x 2 root root 4096 Apr 4 19:31 cost [2022-04-04T19:39:43.683Z] -rw-r--r-- 1 root root 88 Apr 4 19:31 cost.csv [2022-04-04T19:39:43.683Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-274/archives [2022-04-04T19:39:43.683Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-274/archives [2022-04-04T19:39:43.683Z] total 16 [2022-04-04T19:39:43.683Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 19:31 . [2022-04-04T19:39:43.683Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 19:31 .. [2022-04-04T19:39:43.683Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 19:31 cost [2022-04-04T19:39:43.683Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 4 19:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:44.010Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:44.915Z] ---> package-listing.sh [2022-04-04T19:39:44.915Z] ++ facter osfamily [2022-04-04T19:39:44.915Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T19:39:45.175Z] + OS_FAMILY=debian [2022-04-04T19:39:45.175Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-274 [2022-04-04T19:39:45.175Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T19:39:45.175Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T19:39:45.175Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T19:39:45.175Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T19:39:45.175Z] + '[' /w/workspace/foundry_device-virtual-go_PR-274 ']' [2022-04-04T19:39:45.175Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T19:39:45.175Z] + case "${OS_FAMILY}" in [2022-04-04T19:39:45.175Z] + dpkg -l [2022-04-04T19:39:45.175Z] + grep '^ii' [2022-04-04T19:39:45.175Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T19:39:45.175Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T19:39:45.175Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T19:39:45.175Z] + '[' /w/workspace/foundry_device-virtual-go_PR-274 ']' [2022-04-04T19:39:45.175Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-274/archives/ [2022-04-04T19:39:45.175Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-274/archives/ [Pipeline] echo [2022-04-04T19:39:45.210Z] 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-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T19:39:45.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T19:39:46.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T19:39:46.105Z] . [Pipeline] withDockerContainer [2022-04-04T19:39:46.187Z] prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container [2022-04-04T19:39:46.225Z] $ 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-274/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-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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-04-04T19:39:46.452Z] $ docker top 52dacf76ee06e3b96178f4cb25b7b470f3a45f4bdc733cb0ad36947a72c7eacb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T19:39:46.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T19:39:47.158Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T19:39:47.472Z] + ls /var/log/sa-host [2022-04-04T19:39:47.472Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T19:39:47.755Z] provisioning config files... [2022-04-04T19:39:47.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config2407886390415062762tmp [Pipeline] { [Pipeline] echo [2022-04-04T19:39:47.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:48.203Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T19:39:48.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:48.638Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T19:39:48.667Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:48.979Z] ---> sudo-logs.sh [2022-04-04T19:39:48.980Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T19:39:49.059Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:49.371Z] ---> job-cost.sh [2022-04-04T19:39:49.371Z] lf-activate-venv: SKIPPING [2022-04-04T19:39:49.371Z] DEBUG: total: 0.2199999988079071 [2022-04-04T19:39:49.371Z] INFO: Retrieving Stack Cost... [2022-04-04T19:39:49.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T19:39:50.208Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T19:39:50.243Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T19:39:50.558Z] ---> logs-deploy.sh [2022-04-04T19:39:50.558Z] lf-activate-venv: SKIPPING [2022-04-04T19:39:50.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-274/1 [2022-04-04T19:39:50.558Z] INFO: archiving workspace using pattern(s): [2022-04-04T19:39:51.504Z] Archives upload complete. [2022-04-04T19:39:51.504Z] INFO: archiving logs to Nexus