Pull request #259 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 ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 257b1e495fe946f4878731cc5fbd29aae59cff64+6e418388a8703d5229e379f4d284fa8e853be613 (ddaaf4fb248ab17842ead8794a1aebc040e66426) 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-ssh18006355661349836591.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh1616904053192203862.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-259/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-259/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5597073625553782984.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-259/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10839478149347782014.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh2764681517745100304.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-259/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-259/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7143818011317143511.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2265 in /w/workspace/foundry_device-virtual-go_PR-259 [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-259 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/foundry_device-virtual-go_PR-259@tmp/jenkins-gitclient-ssh7790657541873450346.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6e418388a8703d5229e379f4d284fa8e853be613 into PR head commit 257b1e495fe946f4878731cc5fbd29aae59cff64 Merge succeeded, producing 257b1e495fe946f4878731cc5fbd29aae59cff64 Checking out Revision 257b1e495fe946f4878731cc5fbd29aae59cff64 (PR-259) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-259@tmp/jenkins-gitclient-ssh1801700243122873190.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 257b1e495fe946f4878731cc5fbd29aae59cff64 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/foundry_device-virtual-go_PR-259@tmp/jenkins-gitclient-ssh6650369277775017269.key > git merge 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 257b1e495fe946f4878731cc5fbd29aae59cff64 # timeout=10 Commit message: "ci: gomod changes related for Go 1.17" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:51 ========================================================= 18:05:51 EdgeX Global Pipelines Version Info 18:05:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:53 ------------------- 18:05:53 stable info: 18:05:53 ------------------- 18:05:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:05:53 Message: update stable to v1.0.219 18:05:53 ------------------- 18:05:53 experimental info: 18:05:53 ------------------- 18:05:53 Commited By: **** collab-it+edgex@linuxfoundation.org 18:05:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:05:53 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-259 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-259 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-259 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 257b1e495fe946f4878731cc5fbd29aae59cff64 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 257b1e4 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:55 provisioning config files... 18:05:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-259@tmp/config1656020093294135942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:55 ---> docker-login.sh 18:05:55 nexus3.edgexfoundry.org:10001 18:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:55 Configure a credential helper to remove this warning. See 18:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:55 18:05:55 Login Succeeded 18:05:55 nexus3.edgexfoundry.org:10002 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 nexus3.edgexfoundry.org:10003 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 nexus3.edgexfoundry.org:10004 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 docker.io 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 ---> docker-login.sh ends [Pipeline] } 18:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:05:57 + git rev-list -1 --merges 257b1e495fe946f4878731cc5fbd29aae59cff64~1..257b1e495fe946f4878731cc5fbd29aae59cff64 [Pipeline] echo 18:05:57 -----------> git rev-list -1 --merges 257b1e495fe946f4878731cc5fbd29aae59cff64~1..257b1e495fe946f4878731cc5fbd29aae59cff64 257b1e495fe946f4878731cc5fbd29aae59cff64 [false] [Pipeline] sh 18:05:57 + git log --format=format:%s -1 257b1e495fe946f4878731cc5fbd29aae59cff64 [Pipeline] echo 18:05:57 ========================================================= 18:05:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:05:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:58 + git log --format=format:%s -1 257b1e495fe946f4878731cc5fbd29aae59cff64 [Pipeline] echo 18:05:58 [semverPrep] GIT_COMMIT: 257b1e495fe946f4878731cc5fbd29aae59cff64, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo 18:05:58 [semverPrep] This is not a build commit. [Pipeline] sh 18:05:58 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:05:58 + grep -v github /etc/ssh/ssh_known_hosts 18:05:58 + '[' -e /tmp/ssh_known_hosts ']' 18:05:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:05:58 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:05:58 + sudo tee -a /etc/ssh/ssh_known_hosts 18:05:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:05:59 18:05:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:05:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:05:59 latest: Pulling from edgex-devops/git-semver 18:05:59 a0d0a0d46f8b: Pulling fs layer 18:05:59 3e5f54012d9b: Pulling fs layer 18:05:59 4c7163046ea9: Pulling fs layer 18:05:59 0c2d73faf560: Pulling fs layer 18:05:59 0c2d73faf560: Waiting 18:05:59 3e5f54012d9b: Verifying Checksum 18:05:59 3e5f54012d9b: Download complete 18:05:59 a0d0a0d46f8b: Verifying Checksum 18:05:59 a0d0a0d46f8b: Download complete 18:05:59 0c2d73faf560: Verifying Checksum 18:05:59 0c2d73faf560: Download complete 18:05:59 4c7163046ea9: Verifying Checksum 18:05:59 4c7163046ea9: Download complete 18:05:59 a0d0a0d46f8b: Pull complete 18:05:59 3e5f54012d9b: Pull complete 18:05:59 4c7163046ea9: Pull complete 18:06:00 0c2d73faf560: Pull complete 18:06:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:06:00 prd-centos7-docker-4c-2g-2265 does not seem to be running inside a container 18:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-259 -v /w/workspace/foundry_device-virtual-go_PR-259:/w/workspace/foundry_device-virtual-go_PR-259:rw,z -v /w/workspace/foundry_device-virtual-go_PR-259@tmp:/w/workspace/foundry_device-virtual-go_PR-259@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 18:06:00 $ docker top 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:01 [ssh-agent] Looking for ssh-agent implementation... 18:06:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:01 $ docker exec 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 ssh-agent 18:06:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMpHOME/agent.13 18:06:01 SSH_AGENT_PID=19 18:06:01 Running ssh-add (command line suppressed) 18:06:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-259@tmp/private_key_8218274301449883273.key (/w/workspace/foundry_device-virtual-go_PR-259@tmp/private_key_8218274301449883273.key) 18:06:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:01 + git tag --points-at HEAD [Pipeline] } 18:06:01 $ docker exec --env ******** --env ******** 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 ssh-agent -k 18:06:01 unset SSH_AUTH_SOCK; 18:06:01 unset SSH_AGENT_PID; 18:06:01 echo Agent pid 19 killed; 18:06:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:01 [ssh-agent] Looking for ssh-agent implementation... 18:06:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:02 $ docker exec 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 ssh-agent 18:06:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaCeiNI/agent.55 18:06:02 SSH_AGENT_PID=61 18:06:02 Running ssh-add (command line suppressed) 18:06:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-259@tmp/private_key_2085269711848117656.key (/w/workspace/foundry_device-virtual-go_PR-259@tmp/private_key_2085269711848117656.key) 18:06:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:02 + git semver init 18:06:02 # -> Open(): unable to determine branch for HEAD 18:06:02 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-259/.git 18:06:02 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-259 18:06:02 # $SEMVER_REMOTE_NAME = origin 18:06:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:06:02 # $SEMVER_USER_NAME = edgex-jenkins 18:06:02 # $SEMVER_BRANCH = PR-259 18:06:02 # $SEMVER_TEMP = /tmp/semver-941669225 18:06:02 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 18:06:04 # '/tmp/semver-941669225' -> '/w/workspace/foundry_device-virtual-go_PR-259/.semver' 18:06:04 # -> Force: false 18:06:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-259/.semver [Pipeline] } 18:06:04 $ docker exec --env ******** --env ******** 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 ssh-agent -k 18:06:04 unset SSH_AUTH_SOCK; 18:06:04 unset SSH_AGENT_PID; 18:06:04 echo Agent pid 61 killed; 18:06:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:05 + git semver [Pipeline] } 18:06:05 $ docker stop --time=1 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 18:06:06 $ docker rm -f 433f0d10366999c5dfe0a39a11fa5002d5783831cf991db9725c7f6a53e815a3 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:07 Stashed 1 file(s) [Pipeline] echo 18:06:07 [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 18:06:07 provisioning config files... 18:06:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-259@tmp/config7501020827488102054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:08 ---> docker-login.sh 18:06:08 nexus3.edgexfoundry.org:10001 18:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:08 Configure a credential helper to remove this warning. See 18:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:08 18:06:08 Login Succeeded 18:06:08 nexus3.edgexfoundry.org:10002 18:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:08 Configure a credential helper to remove this warning. See 18:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:08 18:06:08 Login Succeeded 18:06:08 nexus3.edgexfoundry.org:10003 18:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:08 Configure a credential helper to remove this warning. See 18:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:08 18:06:08 Login Succeeded 18:06:08 nexus3.edgexfoundry.org:10004 18:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:08 Configure a credential helper to remove this warning. See 18:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:08 18:06:08 Login Succeeded 18:06:08 docker.io 18:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:08 Configure a credential helper to remove this warning. See 18:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:08 18:06:08 Login Succeeded 18:06:08 ---> docker-login.sh ends [Pipeline] } 18:06:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:09 ========================================================= 18:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:06:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:06:09 + 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 . 18:06:09 Sending build context to Docker daemon 22.84MB 18:06:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:06:09 Step 2/12 : FROM ${BASE} AS builder 18:06:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:09 59bf1c3509f3: Pulling fs layer 18:06:09 666ba61612fd: Pulling fs layer 18:06:09 8ed8ca486205: Pulling fs layer 18:06:09 4fe6c5a15a65: Pulling fs layer 18:06:09 22a0e8bec74d: Pulling fs layer 18:06:09 f965cba54748: Pulling fs layer 18:06:09 861ffc35075e: Pulling fs layer 18:06:09 4b385c91608e: Pulling fs layer 18:06:09 560528eb2ebb: Pulling fs layer 18:06:09 4fe6c5a15a65: Waiting 18:06:09 22a0e8bec74d: Waiting 18:06:09 f965cba54748: Waiting 18:06:09 861ffc35075e: Waiting 18:06:09 4b385c91608e: Waiting 18:06:09 560528eb2ebb: Waiting 18:06:09 8ed8ca486205: Download complete 18:06:09 666ba61612fd: Download complete 18:06:09 22a0e8bec74d: Verifying Checksum 18:06:09 22a0e8bec74d: Download complete 18:06:09 f965cba54748: Verifying Checksum 18:06:09 f965cba54748: Download complete 18:06:09 861ffc35075e: Verifying Checksum 18:06:09 861ffc35075e: Download complete 18:06:09 59bf1c3509f3: Verifying Checksum 18:06:09 59bf1c3509f3: Download complete 18:06:09 4b385c91608e: Verifying Checksum 18:06:09 4b385c91608e: Download complete 18:06:10 59bf1c3509f3: Pull complete 18:06:10 666ba61612fd: Pull complete 18:06:10 8ed8ca486205: Pull complete 18:06:10 4fe6c5a15a65: Verifying Checksum 18:06:10 4fe6c5a15a65: Download complete 18:06:10 560528eb2ebb: Verifying Checksum 18:06:10 560528eb2ebb: Download complete 18:06:14 4fe6c5a15a65: Pull complete 18:06:14 22a0e8bec74d: Pull complete 18:06:14 f965cba54748: Pull complete 18:06:14 861ffc35075e: Pull complete 18:06:14 4b385c91608e: Pull complete 18:06:16 560528eb2ebb: Pull complete 18:06:16 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:06:16 ---> dd4a08f94e63 18:06:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:06:18 ---> Running in c07343784934 18:06:18 Removing intermediate container c07343784934 18:06:18 ---> 0e3bfd3a7cb5 18:06:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:06:18 ---> Running in 3788bbab3bb7 18:06:18 Removing intermediate container 3788bbab3bb7 18:06:18 ---> 2f336a1804e5 18:06:18 Step 5/12 : WORKDIR /device-virtual-go 18:06:18 ---> Running in 2c9ed02d60f5 18:06:18 Removing intermediate container 2c9ed02d60f5 18:06:18 ---> d57d1d553b53 18:06:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:18 ---> Running in eb9317316d05 18:06:19 Removing intermediate container eb9317316d05 18:06:19 ---> 2c872932e169 18:06:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:19 ---> Running in c40fff14d5ca 18:06:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:06:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:06:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:06:20 (2/4) Installing libedit (20210910.3.1-r0) 18:06:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:06:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:06:20 Executing busybox-1.34.1-r3.trigger 18:06:20 OK: 224 MiB in 56 packages 18:06:21 Removing intermediate container c40fff14d5ca 18:06:21 ---> 4634565cc156 18:06:21 Step 8/12 : COPY go.mod vendor* ./ 18:06:21 ---> 9f2d15dd765e 18:06:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:21 ---> Running in e15f1c470ea3 18:06:22 Still waiting to schedule task 18:06:22 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 18:06:22 ‘prd-ubuntu18.04-docker-8c-8g-2259’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 18:06:22 ‘prd-ubuntu18.04-docker-8c-8g-2268’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 18:06:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2267’ is offline 18:06:48 Removing intermediate container e15f1c470ea3 18:06:48 ---> e1e405b6f4b9 18:06:48 Step 10/12 : COPY . . 18:06:48 ---> 1cf564dc69bb 18:06:48 Step 11/12 : ARG MAKE='make build' 18:06:48 ---> Running in b4a576f8e6a4 18:06:48 Removing intermediate container b4a576f8e6a4 18:06:48 ---> dc5a3dfca9f2 18:06:48 Step 12/12 : RUN $MAKE 18:06:48 ---> Running in fe0cd1541a4e 18:06:48 noop 18:06:48 Removing intermediate container fe0cd1541a4e 18:06:48 ---> 354355243bd9 18:06:48 Successfully built 354355243bd9 18:06:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:06:48 + docker inspect -f . ci-base-image-x86_64 18:06:48 . [Pipeline] withDockerContainer 18:06:48 prd-centos7-docker-4c-2g-2265 does not seem to be running inside a container 18:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-259 -v /w/workspace/foundry_device-virtual-go_PR-259:/w/workspace/foundry_device-virtual-go_PR-259:rw,z -v /w/workspace/foundry_device-virtual-go_PR-259@tmp:/w/workspace/foundry_device-virtual-go_PR-259@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 18:06:48 $ docker top baa5a70d071c47f64474770355f1ba4f1346803290473495880d87768244db6f -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:49 + go version 18:06:49 go version go1.17.6 linux/amd64 [Pipeline] } 18:06:49 $ docker stop --time=1 baa5a70d071c47f64474770355f1ba4f1346803290473495880d87768244db6f 18:06:50 $ docker rm -f baa5a70d071c47f64474770355f1ba4f1346803290473495880d87768244db6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:51 + docker inspect -f . ci-base-image-x86_64 18:06:51 . [Pipeline] withDockerContainer 18:06:51 prd-centos7-docker-4c-2g-2265 does not seem to be running inside a container 18:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-259 -v /w/workspace/foundry_device-virtual-go_PR-259:/w/workspace/foundry_device-virtual-go_PR-259:rw,z -v /w/workspace/foundry_device-virtual-go_PR-259@tmp:/w/workspace/foundry_device-virtual-go_PR-259@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 18:06:51 $ docker top ed7f115668b6315c3b9e549e0220e75f70d640c3a7331aa9c9320b5c5bbccf5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:06:52 + make test 18:06:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:06:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:07:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:07:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.199s coverage: 64.6% of statements 18:07:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:07:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:15 ./bin/test-attribution-txt.sh [Pipeline] echo 18:07:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:16 $ docker stop --time=1 ed7f115668b6315c3b9e549e0220e75f70d640c3a7331aa9c9320b5c5bbccf5a 18:07:18 $ docker rm -f ed7f115668b6315c3b9e549e0220e75f70d640c3a7331aa9c9320b5c5bbccf5a [Pipeline] // withDockerContainer [Pipeline] sh 18:07:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:19 + ls -al . 18:07:19 total 176 18:07:19 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 18:07 . 18:07:19 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:05 .. 18:07:19 -rw-rw-r--. 1 jenkins jenkins 8449 Jan 20 18:05 Attribution.txt 18:07:19 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:05 bin 18:07:19 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 20 18:05 CHANGELOG.md 18:07:19 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:05 cmd 18:07:19 -rw-r--r--. 1 jenkins jenkins 46339 Jan 20 18:07 coverage.out 18:07:19 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 20 18:05 Dockerfile 18:07:19 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:05 .git 18:07:19 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:05 .github 18:07:19 -rw-rw-r--. 1 jenkins jenkins 270 Jan 20 18:05 .gitignore 18:07:19 -rw-rw-r--. 1 jenkins jenkins 3319 Jan 20 18:05 go.mod 18:07:19 -rw-rw-r--. 1 jenkins jenkins 52323 Jan 20 18:05 go.sum 18:07:19 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:05 GOVERNANCE.md 18:07:19 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:05 internal 18:07:19 -rw-rw-r--. 1 jenkins jenkins 660 Jan 20 18:05 Jenkinsfile 18:07:19 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:05 LICENSE 18:07:19 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 20 18:05 Makefile 18:07:19 -rw-rw-r--. 1 jenkins jenkins 623 Jan 20 18:05 OWNERS.md 18:07:19 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 20 18:05 README.md 18:07:19 drwx------. 3 jenkins jenkins 71 Jan 20 18:06 .semver 18:07:19 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:06 VERSION 18:07:19 -rw-rw-r--. 1 jenkins jenkins 235 Jan 20 18:05 version.go [Pipeline] isUnix [Pipeline] sh 18:07:20 + 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=257b1e495fe946f4878731cc5fbd29aae59cff64 --label arch=amd64 --label version=0.0.0 . 18:07:20 Sending build context to Docker daemon 22.89MB 18:07:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 18:07:20 Step 2/26 : FROM ${BASE} AS builder 18:07:20 ---> 354355243bd9 18:07:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:07:20 ---> Running in f6e58d2f7ea0 18:07:20 Removing intermediate container f6e58d2f7ea0 18:07:20 ---> 315167c4ff3c 18:07:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:07:20 ---> Running in ca418a434cd0 18:07:20 Removing intermediate container ca418a434cd0 18:07:20 ---> bc7908680c77 18:07:20 Step 5/26 : WORKDIR /device-virtual-go 18:07:20 ---> Running in 8c552878acf8 18:07:20 Removing intermediate container 8c552878acf8 18:07:20 ---> dc16169d9927 18:07:20 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:20 ---> Running in 6e94fa5c86c8 18:07:20 Removing intermediate container 6e94fa5c86c8 18:07:20 ---> 2c4d50429c21 18:07:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:20 ---> Running in bab39ac33b15 18:07:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:07:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:07:22 OK: 224 MiB in 56 packages 18:07:22 Removing intermediate container bab39ac33b15 18:07:22 ---> 87af2c0b3068 18:07:22 Step 8/26 : COPY go.mod vendor* ./ 18:07:22 ---> 5a0bb213f441 18:07:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:22 ---> Running in 85c3eeb7959f 18:07:23 Removing intermediate container 85c3eeb7959f 18:07:23 ---> e97a4851ee3b 18:07:23 Step 10/26 : COPY . . 18:07:23 ---> c18679b0ace9 18:07:23 Step 11/26 : ARG MAKE='make build' 18:07:23 ---> Running in c8b4ec2da990 18:07:23 Removing intermediate container c8b4ec2da990 18:07:23 ---> 7d93fe55539e 18:07:23 Step 12/26 : RUN $MAKE 18:07:23 ---> Running in 3c384171f55b 18:07:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:07:42 Removing intermediate container 3c384171f55b 18:07:42 ---> f1af0c52cdf4 18:07:42 Step 13/26 : FROM alpine:3.14 18:07:42 3.14: Pulling from library/alpine 18:07:42 97518928ae5f: Pulling fs layer 18:07:42 97518928ae5f: Verifying Checksum 18:07:42 97518928ae5f: Download complete 18:07:42 97518928ae5f: Pull complete 18:07:42 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:07:42 Status: Downloaded newer image for alpine:3.14 18:07:42 ---> 0a97eee8041e 18:07:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:07:42 ---> Running in 8875d461c0b9 18:07:42 Removing intermediate container 8875d461c0b9 18:07:42 ---> 20d9a980a24e 18:07:42 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:42 ---> Running in f9a1c2000ef3 18:07:42 Removing intermediate container f9a1c2000ef3 18:07:42 ---> 61d8ac488a0c 18:07:42 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:07:42 ---> Running in 05dee9cb87dc 18:07:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:07:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:07:43 (1/6) Installing dumb-init (1.2.5-r1) 18:07:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:07:43 (3/6) Installing libsodium (1.0.18-r0) 18:07:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:07:43 (5/6) Installing libzmq (4.3.4-r0) 18:07:43 (6/6) Installing zeromq (4.3.4-r0) 18:07:43 Executing busybox-1.33.1-r6.trigger 18:07:43 OK: 8 MiB in 20 packages 18:07:44 Removing intermediate container 05dee9cb87dc 18:07:44 ---> 5c1d62cfb223 18:07:44 Step 17/26 : WORKDIR / 18:07:44 ---> Running in 1182738dc3ba 18:07:44 Removing intermediate container 1182738dc3ba 18:07:44 ---> be11d1bf43ec 18:07:44 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:07:44 ---> 6becc49e615b 18:07:44 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:07:44 ---> efb0ece4f15f 18:07:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:07:44 ---> feabdae0dc6a 18:07:44 Step 21/26 : EXPOSE 59900 18:07:44 ---> Running in c97a2704aaf1 18:07:44 Removing intermediate container c97a2704aaf1 18:07:44 ---> 9e61bf5ac569 18:07:44 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:07:44 ---> Running in ef323fc41767 18:07:44 Removing intermediate container ef323fc41767 18:07:44 ---> 569f75282770 18:07:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:07:44 ---> Running in 24af10c3ff0a 18:07:45 Removing intermediate container 24af10c3ff0a 18:07:45 ---> e40b24852091 18:07:45 Step 24/26 : LABEL arch=amd64 18:07:45 ---> Running in e4836f23d971 18:07:45 Removing intermediate container e4836f23d971 18:07:45 ---> c450f2a25f7f 18:07:45 Step 25/26 : LABEL git_sha=257b1e495fe946f4878731cc5fbd29aae59cff64 18:07:45 ---> Running in db6827ce211d 18:07:45 Removing intermediate container db6827ce211d 18:07:45 ---> 15bb3aa57cde 18:07:45 Step 26/26 : LABEL version=0.0.0 18:07:45 ---> Running in a1691e0862e8 18:07:45 Removing intermediate container a1691e0862e8 18:07:45 ---> b9bfe3117f7e 18:07:45 [Warning] One or more build-args [ARCH] were not consumed 18:07:45 Successfully built b9bfe3117f7e 18:07:45 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 18:07:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:46 18:07:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:07:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:46 latest: Pulling from edgex-lftools-log-publisher 18:07:46 b4d181a07f80: Pulling fs layer 18:07:46 a1111a8f2ec3: Pulling fs layer 18:07:46 ed53099fbce6: Pulling fs layer 18:07:46 dc539afda2c1: Pulling fs layer 18:07:46 77bc0d833cb6: Pulling fs layer 18:07:46 9065ff56babe: Pulling fs layer 18:07:46 d287ab97295c: Pulling fs layer 18:07:46 dc539afda2c1: Waiting 18:07:46 77bc0d833cb6: Waiting 18:07:46 9065ff56babe: Waiting 18:07:46 d287ab97295c: Waiting 18:07:46 a1111a8f2ec3: Verifying Checksum 18:07:46 a1111a8f2ec3: Download complete 18:07:46 dc539afda2c1: Verifying Checksum 18:07:46 dc539afda2c1: Download complete 18:07:46 ed53099fbce6: Verifying Checksum 18:07:46 ed53099fbce6: Download complete 18:07:47 9065ff56babe: Verifying Checksum 18:07:47 9065ff56babe: Download complete 18:07:47 77bc0d833cb6: Verifying Checksum 18:07:47 77bc0d833cb6: Download complete 18:07:47 b4d181a07f80: Download complete 18:07:47 d287ab97295c: Verifying Checksum 18:07:47 d287ab97295c: Download complete 18:07:48 b4d181a07f80: Pull complete 18:07:48 a1111a8f2ec3: Pull complete 18:07:49 ed53099fbce6: Pull complete 18:07:49 dc539afda2c1: Pull complete 18:07:49 77bc0d833cb6: Pull complete 18:07:49 9065ff56babe: Pull complete 18:07:53 d287ab97295c: Pull complete 18:07:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:07:54 prd-centos7-docker-4c-2g-2265 does not seem to be running inside a container 18:07:54 $ 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-259 -v /w/workspace/foundry_device-virtual-go_PR-259:/w/workspace/foundry_device-virtual-go_PR-259:rw,z -v /w/workspace/foundry_device-virtual-go_PR-259@tmp:/w/workspace/foundry_device-virtual-go_PR-259@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 18:07:56 $ docker top d8cd0040fa1efbe8e62b93275b216e05bd180ae9b0fbdf6a6a7b9e77336bc296 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:56 ---> job-cost.sh 18:07:56 lf-activate-venv: SKIPPING 18:07:56 INFO: No Stack... 18:07:57 INFO: Retrieving Pricing Info for: v3-standard-2 18:07:57 INFO: Archiving Costs [Pipeline] sh 18:07:57 + cat /w/workspace/foundry_device-virtual-go_PR-259/archives/cost.csv 18:07:57 + cut -d, -f6 [Pipeline] lock 18:07:57 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] 18:07:57 Resource [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] did not exist. Created. 18:07:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:58 + echo total: 0.05999999865889549 [Pipeline] stash 18:07:58 Stashed 1 file(s) [Pipeline] } 18:07:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:58 $ docker stop --time=1 d8cd0040fa1efbe8e62b93275b216e05bd180ae9b0fbdf6a6a7b9e77336bc296 18:07:59 $ docker rm -f d8cd0040fa1efbe8e62b93275b216e05bd180ae9b0fbdf6a6a7b9e77336bc296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:08:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2274 in /w/workspace/foundry_device-virtual-go_PR-259 [Pipeline] { [Pipeline] ws 18:08:33 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:08:33 The recommended git tool is: git 18:08:39 using credential edgex-jenkins-ssh 18:08:39 Cloning the remote Git repository 18:08:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:08:39 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:08:39 > git --version # timeout=10 18:08:39 > git --version # 'git version 2.17.1' 18:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:08:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:08:42 Merging remotes/origin/main commit 6e418388a8703d5229e379f4d284fa8e853be613 into PR head commit 257b1e495fe946f4878731cc5fbd29aae59cff64 18:08:43 Merge succeeded, producing 257b1e495fe946f4878731cc5fbd29aae59cff64 18:08:43 Checking out Revision 257b1e495fe946f4878731cc5fbd29aae59cff64 (PR-259) 18:08:42 > git config core.sparsecheckout # timeout=10 18:08:42 > git checkout -f 257b1e495fe946f4878731cc5fbd29aae59cff64 # timeout=10 18:08:43 > git remote # timeout=10 18:08:43 > git config --get remote.origin.url # timeout=10 18:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:43 > git merge 6e418388a8703d5229e379f4d284fa8e853be613 # timeout=10 18:08:43 > git rev-parse HEAD^{commit} # timeout=10 18:08:43 > git config core.sparsecheckout # timeout=10 18:08:43 > git checkout -f 257b1e495fe946f4878731cc5fbd29aae59cff64 # timeout=10 18:08:47 Commit message: "ci: gomod changes related for Go 1.17" 18:08:47 > git --version # timeout=10 18:08:47 > git --version # 'git version 2.17.1' 18:08:47 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:08:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:08:48 % Total % Received % Xferd Average Speed Time Time Time Current 18:08:48 Dload Upload Total Spent Left Speed 18:08:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 18:08:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:08:49 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 18:08:49 18:08:49 { 18:08:49 "registry-mirrors": [ 18:08:49 "https://nexus3.edgexfoundry.org:10001" 18:08:49 ], 18:08:49 "bip": "10.250.0.254/24", 18:08:49 "hosts": [ 18:08:49 "tcp://0.0.0.0:5555", 18:08:49 "unix:///var/run/docker.sock" 18:08:49 ], 18:08:49 "mtu": 1458, 18:08:49 "selinux-enabled": true, 18:08:49 "seccomp-profile": "/etc/docker/seccomp.json" 18:08:49 } [Pipeline] sh 18:08:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:08:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:09 provisioning config files... 18:09:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7214838145424753998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:09 ---> docker-login.sh 18:09:09 nexus3.edgexfoundry.org:10001 18:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:10 Configure a credential helper to remove this warning. See 18:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:10 18:09:10 Login Succeeded 18:09:10 nexus3.edgexfoundry.org:10002 18:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:10 Configure a credential helper to remove this warning. See 18:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:10 18:09:10 Login Succeeded 18:09:10 nexus3.edgexfoundry.org:10003 18:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:11 Configure a credential helper to remove this warning. See 18:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:11 18:09:11 Login Succeeded 18:09:11 nexus3.edgexfoundry.org:10004 18:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:12 Configure a credential helper to remove this warning. See 18:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:12 18:09:12 Login Succeeded 18:09:12 docker.io 18:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:13 Configure a credential helper to remove this warning. See 18:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:13 18:09:13 Login Succeeded 18:09:13 ---> docker-login.sh ends [Pipeline] } 18:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:13 ========================================================= 18:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:09:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:09:14 + 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 . 18:09:14 Sending build context to Docker daemon 11.56MB 18:09:14 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:09:14 Step 2/12 : FROM ${BASE} AS builder 18:09:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:09:14 9b3977197b4f: Pulling fs layer 18:09:14 1a89e8eeedd5: Pulling fs layer 18:09:14 94645a83ff95: Pulling fs layer 18:09:14 3f3a8bcf1eab: Pulling fs layer 18:09:14 0c92f367c5e7: Pulling fs layer 18:09:14 4b8299f9d1f4: Pulling fs layer 18:09:14 9a6b49a46696: Pulling fs layer 18:09:14 cf05db05a679: Pulling fs layer 18:09:14 3f3a8bcf1eab: Waiting 18:09:14 0c92f367c5e7: Waiting 18:09:14 4b8299f9d1f4: Waiting 18:09:14 9a6b49a46696: Waiting 18:09:14 cf05db05a679: Waiting 18:09:14 94645a83ff95: Verifying Checksum 18:09:14 94645a83ff95: Download complete 18:09:15 1a89e8eeedd5: Verifying Checksum 18:09:15 1a89e8eeedd5: Download complete 18:09:15 0c92f367c5e7: Verifying Checksum 18:09:15 0c92f367c5e7: Download complete 18:09:15 4b8299f9d1f4: Verifying Checksum 18:09:15 4b8299f9d1f4: Download complete 18:09:15 9b3977197b4f: Download complete 18:09:15 9a6b49a46696: Verifying Checksum 18:09:15 9a6b49a46696: Download complete 18:09:15 9b3977197b4f: Pull complete 18:09:16 1a89e8eeedd5: Pull complete 18:09:16 94645a83ff95: Pull complete 18:09:16 cf05db05a679: Verifying Checksum 18:09:16 cf05db05a679: Download complete 18:09:17 3f3a8bcf1eab: Verifying Checksum 18:09:17 3f3a8bcf1eab: Download complete 18:09:29 3f3a8bcf1eab: Pull complete 18:09:29 0c92f367c5e7: Pull complete 18:09:29 4b8299f9d1f4: Pull complete 18:09:30 9a6b49a46696: Pull complete 18:09:37 cf05db05a679: Pull complete 18:09:37 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:09:37 ---> 0ccda1f7e2ee 18:09:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:09:37 ---> Running in 515c0aca4cae 18:09:37 Removing intermediate container 515c0aca4cae 18:09:37 ---> 15b3998a1bbb 18:09:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:09:37 ---> Running in 00b7aefb8fbe 18:09:37 Removing intermediate container 00b7aefb8fbe 18:09:37 ---> 926b8ed1ae79 18:09:37 Step 5/12 : WORKDIR /device-virtual-go 18:09:38 ---> Running in 8afa62542ba3 18:09:38 Removing intermediate container 8afa62542ba3 18:09:38 ---> 47988b823dce 18:09:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:38 ---> Running in a5dd7870e651 18:09:40 Removing intermediate container a5dd7870e651 18:09:40 ---> e9e3b70401d8 18:09:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:40 ---> Running in 50b3d820fc3d 18:09:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:09:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:09:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:09:43 (2/4) Installing libedit (20210910.3.1-r0) 18:09:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:09:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:09:44 Executing busybox-1.34.1-r3.trigger 18:09:44 OK: 224 MiB in 56 packages 18:09:45 Removing intermediate container 50b3d820fc3d 18:09:45 ---> 7e7859959304 18:09:45 Step 8/12 : COPY go.mod vendor* ./ 18:09:45 ---> 6d265d07ff34 18:09:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:46 ---> Running in 8110f549b568 18:11:07 Removing intermediate container 8110f549b568 18:11:07 ---> 451fb5828c40 18:11:07 Step 10/12 : COPY . . 18:11:07 ---> 429dda260b3b 18:11:07 Step 11/12 : ARG MAKE='make build' 18:11:07 ---> Running in 4a9c8fec5bd6 18:11:07 Removing intermediate container 4a9c8fec5bd6 18:11:07 ---> 4499de38970e 18:11:07 Step 12/12 : RUN $MAKE 18:11:07 ---> Running in ed1697d46e89 18:11:07 noop 18:11:07 Removing intermediate container ed1697d46e89 18:11:07 ---> b883c03bcac6 18:11:07 Successfully built b883c03bcac6 18:11:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:11:08 + docker inspect -f . ci-base-image-arm64 18:11:08 . [Pipeline] withDockerContainer 18:11:08 prd-ubuntu18.04-docker-arm64-4c-16g-2274 does not seem to be running inside a container 18:11:08 $ 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 ******** ci-base-image-arm64 cat 18:11:09 $ docker top 4534c3934b020d617cbb82575a568b06f14d7f718b14f7835754985ed54e13b9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:10 + go version 18:11:10 go version go1.17.6 linux/arm64 [Pipeline] } 18:11:10 $ docker stop --time=1 4534c3934b020d617cbb82575a568b06f14d7f718b14f7835754985ed54e13b9 18:11:12 $ docker rm -f 4534c3934b020d617cbb82575a568b06f14d7f718b14f7835754985ed54e13b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:11:13 + docker inspect -f . ci-base-image-arm64 18:11:13 . [Pipeline] withDockerContainer 18:11:13 prd-ubuntu18.04-docker-arm64-4c-16g-2274 does not seem to be running inside a container 18:11:13 $ 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 ******** ci-base-image-arm64 cat 18:11:15 $ docker top 03cdada87062bbdd928a23cd5f98008723df74974a3104e117ebb8f2ff9b2633 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:11:16 + make test 18:11:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:11:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:12:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:12:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.840s coverage: 64.6% of statements 18:12:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:12:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:12:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:12:47 ./bin/test-attribution-txt.sh [Pipeline] echo 18:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:12:47 $ docker stop --time=1 03cdada87062bbdd928a23cd5f98008723df74974a3104e117ebb8f2ff9b2633 18:12:49 $ docker rm -f 03cdada87062bbdd928a23cd5f98008723df74974a3104e117ebb8f2ff9b2633 [Pipeline] // withDockerContainer [Pipeline] sh 18:12:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:12:50 Warning: overwriting stash ‘coverage-report’ 18:12:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:12:51 + ls -al . 18:12:51 total 200 18:12:51 drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 18:12 . 18:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:08 .. 18:12:51 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:08 .git 18:12:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:08 .github 18:12:51 -rw-rw-r-- 1 jenkins jenkins 270 Jan 20 18:08 .gitignore 18:12:51 -rw-rw-r-- 1 jenkins jenkins 8449 Jan 20 18:08 Attribution.txt 18:12:51 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 20 18:08 CHANGELOG.md 18:12:51 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 20 18:08 Dockerfile 18:12:51 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:08 GOVERNANCE.md 18:12:51 -rw-rw-r-- 1 jenkins jenkins 660 Jan 20 18:08 Jenkinsfile 18:12:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:08 LICENSE 18:12:51 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 20 18:08 Makefile 18:12:51 -rw-rw-r-- 1 jenkins jenkins 623 Jan 20 18:08 OWNERS.md 18:12:51 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 20 18:08 README.md 18:12:51 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:06 VERSION 18:12:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:08 bin 18:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:08 cmd 18:12:51 -rw-r--r-- 1 jenkins jenkins 46339 Jan 20 18:12 coverage.out 18:12:51 -rw-rw-r-- 1 jenkins jenkins 3319 Jan 20 18:08 go.mod 18:12:51 -rw-rw-r-- 1 jenkins jenkins 52323 Jan 20 18:08 go.sum 18:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:08 internal 18:12:51 -rw-rw-r-- 1 jenkins jenkins 235 Jan 20 18:08 version.go [Pipeline] isUnix [Pipeline] sh 18:12:52 + 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=257b1e495fe946f4878731cc5fbd29aae59cff64 --label arch=arm64 --label version=0.0.0 . 18:12:52 Sending build context to Docker daemon 11.61MB 18:12:52 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 18:12:52 Step 2/26 : FROM ${BASE} AS builder 18:12:52 ---> b883c03bcac6 18:12:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:12:52 ---> Running in d67fec357d20 18:12:53 Removing intermediate container d67fec357d20 18:12:53 ---> 68e2cbc25fb0 18:12:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:12:53 ---> Running in 3493a65c8dba 18:12:53 Removing intermediate container 3493a65c8dba 18:12:53 ---> 9ba36c8c680b 18:12:53 Step 5/26 : WORKDIR /device-virtual-go 18:12:54 ---> Running in 059dce2bc4b8 18:12:54 Removing intermediate container 059dce2bc4b8 18:12:54 ---> a58834fc21d0 18:12:54 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:12:54 ---> Running in 98b39d3caa79 18:12:56 Removing intermediate container 98b39d3caa79 18:12:56 ---> e5aecb2dd77c 18:12:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:56 ---> Running in 07db749c014a 18:12:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:12:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:12:59 OK: 224 MiB in 56 packages 18:13:00 Removing intermediate container 07db749c014a 18:13:00 ---> b82a22767bcd 18:13:00 Step 8/26 : COPY go.mod vendor* ./ 18:13:00 ---> 2ecf01f39556 18:13:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:00 ---> Running in 4a5f06dcd200 18:13:03 Removing intermediate container 4a5f06dcd200 18:13:03 ---> 385b5f70400d 18:13:03 Step 10/26 : COPY . . 18:13:04 ---> 296dd174acda 18:13:04 Step 11/26 : ARG MAKE='make build' 18:13:04 ---> Running in 36a73f9baeda 18:13:05 Removing intermediate container 36a73f9baeda 18:13:05 ---> fcbff13ef8d2 18:13:05 Step 12/26 : RUN $MAKE 18:13:05 ---> Running in 51c1f741e1e8 18:13:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 18:14:14 Removing intermediate container 51c1f741e1e8 18:14:14 ---> d9ebeb614a03 18:14:14 Step 13/26 : FROM alpine:3.14 18:14:14 3.14: Pulling from library/alpine 18:14:14 be307f383ecc: Pulling fs layer 18:14:14 be307f383ecc: Verifying Checksum 18:14:14 be307f383ecc: Download complete 18:14:14 be307f383ecc: Pull complete 18:14:14 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:14:14 Status: Downloaded newer image for alpine:3.14 18:14:14 ---> 5b8b7b635229 18:14:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:14:14 ---> Running in c693dfb87ac4 18:14:15 Removing intermediate container c693dfb87ac4 18:14:15 ---> bab947312fc6 18:14:15 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:15 ---> Running in 447b02cb1a23 18:14:17 Removing intermediate container 447b02cb1a23 18:14:17 ---> 5ba76cbfac14 18:14:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:14:17 ---> Running in c3f8404c5e16 18:14:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:14:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:14:20 (1/6) Installing dumb-init (1.2.5-r1) 18:14:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:14:20 (3/6) Installing libsodium (1.0.18-r0) 18:14:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:14:20 (5/6) Installing libzmq (4.3.4-r0) 18:14:20 (6/6) Installing zeromq (4.3.4-r0) 18:14:20 Executing busybox-1.33.1-r6.trigger 18:14:20 OK: 8 MiB in 20 packages 18:14:21 Removing intermediate container c3f8404c5e16 18:14:21 ---> 93944725ac29 18:14:21 Step 17/26 : WORKDIR / 18:14:22 ---> Running in b27696b58a83 18:14:22 Removing intermediate container b27696b58a83 18:14:22 ---> 3128e8f5bb2a 18:14:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:14:23 ---> 0333e8792b22 18:14:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:14:23 ---> 8bb6fdb00b1d 18:14:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:14:25 ---> c70806779f68 18:14:25 Step 21/26 : EXPOSE 59900 18:14:25 ---> Running in 55530e795a99 18:14:25 Removing intermediate container 55530e795a99 18:14:25 ---> 2e70392f7f0b 18:14:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:14:25 ---> Running in 29f3509f3dca 18:14:26 Removing intermediate container 29f3509f3dca 18:14:26 ---> 99820c627849 18:14:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:14:26 ---> Running in f24d1814b110 18:14:26 Removing intermediate container f24d1814b110 18:14:26 ---> 383bbda5cb56 18:14:26 Step 24/26 : LABEL arch=arm64 18:14:27 ---> Running in 43d8c812874e 18:14:27 Removing intermediate container 43d8c812874e 18:14:27 ---> 605c91050a00 18:14:27 Step 25/26 : LABEL git_sha=257b1e495fe946f4878731cc5fbd29aae59cff64 18:14:27 ---> Running in 45759959fa96 18:14:28 Removing intermediate container 45759959fa96 18:14:28 ---> 7d1fec5c33cb 18:14:28 Step 26/26 : LABEL version=0.0.0 18:14:29 ---> Running in 72dbf5bd9431 18:14:30 Removing intermediate container 72dbf5bd9431 18:14:30 ---> 2005e8fb925e 18:14:30 [Warning] One or more build-args [ARCH] were not consumed 18:14:30 Successfully built 2005e8fb925e 18:14:30 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 18:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:31 18:14:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:14:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:31 arm64: Pulling from edgex-lftools-log-publisher 18:14:31 448f6bf000e3: Pulling fs layer 18:14:31 f757da607395: Pulling fs layer 18:14:31 05883995daec: Pulling fs layer 18:14:31 8603b9c90790: Pulling fs layer 18:14:31 1560dd03e051: Pulling fs layer 18:14:31 27f5ce0e4adf: Pulling fs layer 18:14:31 c2d8d7efcc4b: Pulling fs layer 18:14:31 1560dd03e051: Waiting 18:14:31 27f5ce0e4adf: Waiting 18:14:31 8603b9c90790: Waiting 18:14:31 c2d8d7efcc4b: Waiting 18:14:31 f757da607395: Verifying Checksum 18:14:31 f757da607395: Download complete 18:14:31 8603b9c90790: Download complete 18:14:31 1560dd03e051: Verifying Checksum 18:14:31 1560dd03e051: Download complete 18:14:31 27f5ce0e4adf: Verifying Checksum 18:14:31 27f5ce0e4adf: Download complete 18:14:31 05883995daec: Verifying Checksum 18:14:32 448f6bf000e3: Verifying Checksum 18:14:32 448f6bf000e3: Download complete 18:14:34 c2d8d7efcc4b: Verifying Checksum 18:14:34 c2d8d7efcc4b: Download complete 18:14:36 448f6bf000e3: Pull complete 18:14:36 f757da607395: Pull complete 18:14:37 05883995daec: Pull complete 18:14:38 8603b9c90790: Pull complete 18:14:39 1560dd03e051: Pull complete 18:14:39 27f5ce0e4adf: Pull complete 18:14:54 c2d8d7efcc4b: Pull complete 18:14:54 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:14:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:14:54 prd-ubuntu18.04-docker-arm64-4c-16g-2274 does not seem to be running inside a container 18:14:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:14:58 $ docker top 593c5febc1b822890b577312ee570ab280befd68e5ed9e153682892b55f01a03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:59 ---> job-cost.sh 18:14:59 lf-activate-venv: SKIPPING 18:14:59 INFO: No Stack... 18:15:00 INFO: Retrieving Pricing Info for: v3-standard-4 18:15:00 INFO: Archiving Costs [Pipeline] sh 18:15:01 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 18:15:01 + cut -d, -f6 [Pipeline] lock 18:15:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] 18:15:01 Resource [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] did not exist. Created. 18:15:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:15:02 /w/workspace/device-virtual-go/1@tmp/durable-f3900a20/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-f3900a20/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:15:03 + echo total: 0.10999999940395355 [Pipeline] stash 18:15:03 Warning: overwriting stash ‘stack-cost’ 18:15:03 Stashed 1 file(s) [Pipeline] } 18:15:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:15:03 $ docker stop --time=1 593c5febc1b822890b577312ee570ab280befd68e5ed9e153682892b55f01a03 18:15:04 $ docker rm -f 593c5febc1b822890b577312ee570ab280befd68e5ed9e153682892b55f01a03 [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 18:15:05 provisioning config files... 18:15:05 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-259@tmp/config798308213136414936tmp [Pipeline] { [Pipeline] sh 18:15:06 + set +x 18:15:06 + curl -s https://codecov.io/bash 18:15:06 + bash -s -- 18:15:06 18:15:06 _____ _ 18:15:06 / ____| | | 18:15:06 | | ___ __| | ___ ___ _____ __ 18:15:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:15:06 | |___| (_) | (_| | __/ (_| (_) \ V / 18:15:06 \_____\___/ \__,_|\___|\___\___/ \_/ 18:15:06 Bash-1.0.6 18:15:06 18:15:06 18:15:06 ==> git version 2.24.4 found 18:15:06 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:15:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:15:06 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:15:06 ==> Jenkins CI detected. 18:15:06 current dir:  /w/workspace/foundry_device-virtual-go_PR-259 18:15:06 project root: . 18:15:06 --> token set from env 18:15:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:15:06 ==> Running gcov in . (disable via -X gcov) 18:15:06 ==> Python coveragepy not found 18:15:06 ==> Searching for coverage reports in: 18:15:06 + . 18:15:06 -> Found 1 reports 18:15:06 ==> Detecting git/mercurial file structure 18:15:06 ==> Reading reports 18:15:06 + ./coverage.out bytes=46339 18:15:06 ==> Appending adjustments 18:15:06 https://docs.codecov.io/docs/fixing-reports 18:15:06 + Found adjustments 18:15:06 ==> Gzipping contents 18:15:06 8.0K /tmp/codecov.1sxMjy.gz 18:15:06 ==> Uploading reports 18:15:06 url: https://codecov.io 18:15:06 query: branch=PR-259&commit=257b1e495fe946f4878731cc5fbd29aae59cff64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-259%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=259&job=&cmd_args= 18:15:06 -> Pinging Codecov 18:15:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-259&commit=257b1e495fe946f4878731cc5fbd29aae59cff64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-259%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=259&job=&cmd_args= 18:15:06 -> Uploading to 18:15:06 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/5E52B4B073DB2E39498172D8E973AA87/257b1e495fe946f4878731cc5fbd29aae59cff64/3efbe5c6-558b-4065-bdc9-fb4c4f96810d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T181506Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e94662f27a1c282d655c22868e55c3101a98573ca113b71332049beeb2a07996 18:15:06 % Total % Received % Xferd Average Speed Time Time Time Current 18:15:06 Dload Upload Total Spent Left Speed 18:15:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5472 0 0 100 5472 0 19896 --:--:-- --:--:-- --:--:-- 19970 18:15:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/257b1e495fe946f4878731cc5fbd29aae59cff64 [Pipeline] } 18:15:07 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 18:15:08 + '[' -d /w/workspace/foundry_device-virtual-go_PR-259/archives ']' 18:15:08 + ls -al /w/workspace/foundry_device-virtual-go_PR-259/archives 18:15:08 total 8 18:15:08 drwxr-xr-x. 3 root root 34 Jan 20 18:07 . 18:15:08 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:07 .. 18:15:08 drwxr-xr-x. 2 root root 6 Jan 20 18:07 cost 18:15:08 -rw-r--r--. 1 root root 88 Jan 20 18:07 cost.csv 18:15:08 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-259/archives 18:15:08 + ls -al /w/workspace/foundry_device-virtual-go_PR-259/archives 18:15:08 total 8 18:15:08 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:07 . 18:15:08 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:07 .. 18:15:08 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:07 cost 18:15:08 -rw-r--r--. 1 jenkins jenkins 88 Jan 20 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:15:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:15:09 ---> package-listing.sh 18:15:09 ++ facter osfamily 18:15:09 ++ tr '[:upper:]' '[:lower:]' 18:15:10 + OS_FAMILY=redhat 18:15:10 + workspace=/w/workspace/foundry_device-virtual-go_PR-259 18:15:10 + START_PACKAGES=/tmp/packages_start.txt 18:15:10 + END_PACKAGES=/tmp/packages_end.txt 18:15:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:15:10 + PACKAGES=/tmp/packages_start.txt 18:15:10 + '[' /w/workspace/foundry_device-virtual-go_PR-259 ']' 18:15:10 + PACKAGES=/tmp/packages_end.txt 18:15:10 + case "${OS_FAMILY}" in 18:15:10 + sort 18:15:10 + rpm -qa 18:15:10 + '[' -f /tmp/packages_start.txt ']' 18:15:10 + '[' -f /tmp/packages_end.txt ']' 18:15:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:15:11 + '[' /w/workspace/foundry_device-virtual-go_PR-259 ']' 18:15:11 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-259/archives/ 18:15:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-259/archives/ [Pipeline] echo 18:15:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:15:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:11 . [Pipeline] withDockerContainer 18:15:12 prd-centos7-docker-4c-2g-2265 does not seem to be running inside a container 18:15:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-259/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-259 -v /w/workspace/foundry_device-virtual-go_PR-259:/w/workspace/foundry_device-virtual-go_PR-259:rw,z -v /w/workspace/foundry_device-virtual-go_PR-259@tmp:/w/workspace/foundry_device-virtual-go_PR-259@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 18:15:12 $ docker top f0348eafddd83ca6ec9aa2b05be66b215d58bc65d5aad5e15401377641bc29a8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:15:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:15:13 + ls /var/log/sa-host 18:15:13 + sadf -c /var/log/sa-host/sa17 18:15:13 file_magic: OK 18:15:13 HZ: Using current value: 100 18:15:13 file_header: OK 18:15:13 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:15:13 Statistics: 18:15:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:15:13 File successfully converted to sysstat format version 12.0.3 18:15:13 + sadf -c /var/log/sa-host/sa20 18:15:13 file_magic: OK 18:15:13 HZ: Using current value: 100 18:15:13 file_header: OK 18:15:13 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:15:13 Statistics: 18:15:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:15:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:13 provisioning config files... 18:15:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-259@tmp/config3476939830457733741tmp [Pipeline] { [Pipeline] echo 18:15:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:15:13 ---> create-netrc.sh [Pipeline] } 18:15:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:15:14 ---> python-tools-install.sh [Pipeline] echo 18:15:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:15:14 ---> sudo-logs.sh 18:15:14 Archiving 'sudo' log.. 18:15:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-2265.novalocal: Name or service not known 18:15:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-2265.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:15:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:15:15 ---> job-cost.sh 18:15:15 lf-activate-venv: SKIPPING 18:15:15 DEBUG: total: 0.05999999865889549 18:15:15 INFO: Retrieving Stack Cost... 18:15:15 INFO: Retrieving Pricing Info for: v3-standard-2 18:15:15 INFO: Archiving Costs [Pipeline] echo 18:15:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:15:16 ---> logs-deploy.sh 18:15:16 lf-activate-venv: SKIPPING 18:15:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-259/1 18:15:16 INFO: archiving workspace using pattern(s): 18:15:16 Archives upload complete. 18:15:16 INFO: archiving logs to Nexus