Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 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-ssh6570132961543814869.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-ssh15796661736247517596.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7074581041491242259.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 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-ssh15375833032641599782.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5331911310918842213.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4248 in /w/workspace/exfoundry_device-virtual-go_main [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/exfoundry_device-virtual-go_main # 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/exfoundry_device-virtual-go_main@tmp/jenkins-gitclient-ssh5928408518834039975.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 Commit message: "perf(app): Use maps instead of in-RAM SQL DB (#260) (#261)" > git rev-list --no-walk d36d4eb5d49c50cebb55fcc728bec397aa4f388e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:13:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:13:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:13:21 ========================================================= 06:13:21 EdgeX Global Pipelines Version Info 06:13:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:13:23 ------------------- 06:13:23 stable info: 06:13:23 ------------------- 06:13:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:13:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:13:23 Message: update stable to v1.0.219 06:13:23 ------------------- 06:13:23 experimental info: 06:13:23 ------------------- 06:13:23 Commited By: **** collab-it+edgex@linuxfoundation.org 06:13:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:13:23 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:13:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f10fc8 [Pipeline] echo 06:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:24 provisioning config files... 06:13:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config155287360487782105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:24 ---> docker-login.sh 06:13:24 nexus3.edgexfoundry.org:10001 06:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:24 Configure a credential helper to remove this warning. See 06:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:24 06:13:24 Login Succeeded 06:13:24 nexus3.edgexfoundry.org:10002 06:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:24 Configure a credential helper to remove this warning. See 06:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:24 06:13:24 Login Succeeded 06:13:24 nexus3.edgexfoundry.org:10003 06:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:24 Configure a credential helper to remove this warning. See 06:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:24 06:13:24 Login Succeeded 06:13:24 nexus3.edgexfoundry.org:10004 06:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:25 Configure a credential helper to remove this warning. See 06:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:25 06:13:25 Login Succeeded 06:13:25 docker.io 06:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:25 Configure a credential helper to remove this warning. See 06:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:25 06:13:25 Login Succeeded 06:13:25 ---> docker-login.sh ends [Pipeline] } 06:13:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:13:25 + git rev-list -1 --merges 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963~1..7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] echo 06:13:25 -----------> git rev-list -1 --merges 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963~1..7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [false] [Pipeline] sh 06:13:26 + git log --format=format:%s -1 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] echo 06:13:26 ========================================================= 06:13:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:13:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:26 + git log --format=format:%s -1 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] echo 06:13:26 [semverPrep] GIT_COMMIT: 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963, Commit Message: perf(app): Use maps instead of in-RAM SQL DB (#260) (#261) [Pipeline] echo 06:13:26 [semverPrep] This is not a build commit. [Pipeline] sh 06:13:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:13:26 + grep -v github /etc/ssh/ssh_known_hosts 06:13:26 + '[' -e /tmp/ssh_known_hosts ']' 06:13:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:13:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 06:13:26 + sudo tee -a /etc/ssh/ssh_known_hosts 06:13:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:13:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:27 06:13:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:13:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:27 latest: Pulling from edgex-devops/git-semver 06:13:27 a0d0a0d46f8b: Pulling fs layer 06:13:27 3e5f54012d9b: Pulling fs layer 06:13:27 4c7163046ea9: Pulling fs layer 06:13:27 0c2d73faf560: Pulling fs layer 06:13:27 0c2d73faf560: Waiting 06:13:27 3e5f54012d9b: Verifying Checksum 06:13:27 3e5f54012d9b: Download complete 06:13:27 a0d0a0d46f8b: Verifying Checksum 06:13:27 a0d0a0d46f8b: Download complete 06:13:27 4c7163046ea9: Verifying Checksum 06:13:27 4c7163046ea9: Download complete 06:13:27 0c2d73faf560: Verifying Checksum 06:13:27 0c2d73faf560: Download complete 06:13:27 a0d0a0d46f8b: Pull complete 06:13:27 3e5f54012d9b: Pull complete 06:13:28 4c7163046ea9: Pull complete 06:13:28 0c2d73faf560: Pull complete 06:13:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:13:28 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:13:29 $ docker top 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:13:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:29 [ssh-agent] Looking for ssh-agent implementation... 06:13:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:29 $ docker exec 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 ssh-agent 06:13:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOOmBkK/agent.13 06:13:29 SSH_AGENT_PID=19 06:13:29 Running ssh-add (command line suppressed) 06:13:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3983056520599731096.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3983056520599731096.key) 06:13:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:29 + git tag --points-at HEAD [Pipeline] } 06:13:29 $ docker exec --env ******** --env ******** 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 ssh-agent -k 06:13:30 unset SSH_AUTH_SOCK; 06:13:30 unset SSH_AGENT_PID; 06:13:30 echo Agent pid 19 killed; 06:13:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:13:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:30 [ssh-agent] Looking for ssh-agent implementation... 06:13:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:30 $ docker exec 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 ssh-agent 06:13:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpdneaN/agent.53 06:13:30 SSH_AGENT_PID=60 06:13:30 Running ssh-add (command line suppressed) 06:13:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4412620269848349203.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4412620269848349203.key) 06:13:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:30 + git semver init 06:13:30 # -> Open(): unable to determine branch for HEAD 06:13:30 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 06:13:30 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 06:13:30 # $SEMVER_REMOTE_NAME = origin 06:13:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:13:30 # $SEMVER_USER_NAME = edgex-jenkins 06:13:30 # $SEMVER_BRANCH = main 06:13:30 # $SEMVER_TEMP = /tmp/semver-345012523 06:13:30 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:13:32 # '/tmp/semver-345012523' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 06:13:32 # -> Force: false 06:13:32 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 06:13:32 $ docker exec --env ******** --env ******** 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 ssh-agent -k 06:13:32 unset SSH_AUTH_SOCK; 06:13:32 unset SSH_AGENT_PID; 06:13:32 echo Agent pid 60 killed; 06:13:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:32 + git semver [Pipeline] } 06:13:32 $ docker stop --time=1 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 06:13:33 $ docker rm -f 6e5bc6689d7b4ddd766a9d432474eab2ff0e200dbf8d51da1c4d10c2222c6314 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:13:34 Stashed 1 file(s) [Pipeline] echo 06:13:34 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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 06:13:34 provisioning config files... 06:13:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config648191556477816863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:34 ---> docker-login.sh 06:13:34 nexus3.edgexfoundry.org:10001 06:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:34 Configure a credential helper to remove this warning. See 06:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:34 06:13:34 Login Succeeded 06:13:34 nexus3.edgexfoundry.org:10002 06:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:34 Configure a credential helper to remove this warning. See 06:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:34 06:13:34 Login Succeeded 06:13:34 nexus3.edgexfoundry.org:10003 06:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:35 Configure a credential helper to remove this warning. See 06:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:35 06:13:35 Login Succeeded 06:13:35 nexus3.edgexfoundry.org:10004 06:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:35 Configure a credential helper to remove this warning. See 06:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:35 06:13:35 Login Succeeded 06:13:35 docker.io 06:13:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:35 Configure a credential helper to remove this warning. See 06:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:35 06:13:35 Login Succeeded 06:13:35 ---> docker-login.sh ends [Pipeline] } 06:13:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:35 ========================================================= 06:13:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:13:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:13:36 + 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 . 06:13:36 Sending build context to Docker daemon 22.83MB 06:13:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:13:36 Step 2/12 : FROM ${BASE} AS builder 06:13:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:13:36 59bf1c3509f3: Pulling fs layer 06:13:36 666ba61612fd: Pulling fs layer 06:13:36 8ed8ca486205: Pulling fs layer 06:13:36 4fe6c5a15a65: Pulling fs layer 06:13:36 22a0e8bec74d: Pulling fs layer 06:13:36 f965cba54748: Pulling fs layer 06:13:36 861ffc35075e: Pulling fs layer 06:13:36 4b385c91608e: Pulling fs layer 06:13:36 560528eb2ebb: Pulling fs layer 06:13:36 4fe6c5a15a65: Waiting 06:13:36 22a0e8bec74d: Waiting 06:13:36 f965cba54748: Waiting 06:13:36 861ffc35075e: Waiting 06:13:36 4b385c91608e: Waiting 06:13:36 560528eb2ebb: Waiting 06:13:36 8ed8ca486205: Verifying Checksum 06:13:36 8ed8ca486205: Download complete 06:13:36 666ba61612fd: Verifying Checksum 06:13:36 666ba61612fd: Download complete 06:13:36 22a0e8bec74d: Verifying Checksum 06:13:36 22a0e8bec74d: Download complete 06:13:36 f965cba54748: Verifying Checksum 06:13:36 f965cba54748: Download complete 06:13:36 59bf1c3509f3: Verifying Checksum 06:13:36 59bf1c3509f3: Download complete 06:13:36 861ffc35075e: Verifying Checksum 06:13:36 861ffc35075e: Download complete 06:13:36 4b385c91608e: Verifying Checksum 06:13:36 4b385c91608e: Download complete 06:13:36 59bf1c3509f3: Pull complete 06:13:36 4fe6c5a15a65: Verifying Checksum 06:13:36 4fe6c5a15a65: Download complete 06:13:36 560528eb2ebb: Verifying Checksum 06:13:36 560528eb2ebb: Download complete 06:13:37 666ba61612fd: Pull complete 06:13:37 8ed8ca486205: Pull complete 06:13:41 4fe6c5a15a65: Pull complete 06:13:41 22a0e8bec74d: Pull complete 06:13:41 f965cba54748: Pull complete 06:13:41 861ffc35075e: Pull complete 06:13:41 4b385c91608e: Pull complete 06:13:45 560528eb2ebb: Pull complete 06:13:45 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 06:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:13:45 ---> dd4a08f94e63 06:13:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:13:46 ---> Running in 0ce3dcb3c71e 06:13:46 Removing intermediate container 0ce3dcb3c71e 06:13:46 ---> c3f5f4866802 06:13:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:13:46 ---> Running in c2ad068498ab 06:13:46 Removing intermediate container c2ad068498ab 06:13:46 ---> 179838cc0b2f 06:13:46 Step 5/12 : WORKDIR /device-virtual-go 06:13:46 ---> Running in 1f18a3d7c290 06:13:46 Removing intermediate container 1f18a3d7c290 06:13:46 ---> 01ca3d4ce109 06:13:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:46 ---> Running in cf4c0289fe70 06:13:46 Removing intermediate container cf4c0289fe70 06:13:46 ---> e707f2befac0 06:13:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:46 ---> Running in 3e00f0e479ee 06:13:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:13:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:13:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:13:48 (2/4) Installing libedit (20210910.3.1-r0) 06:13:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:13:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:13:48 Executing busybox-1.34.1-r3.trigger 06:13:48 OK: 224 MiB in 56 packages 06:13:49 Removing intermediate container 3e00f0e479ee 06:13:49 ---> deec0320d2fb 06:13:49 Step 8/12 : COPY go.mod vendor* ./ 06:13:49 ---> caa57ea7dd2b 06:13:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:49 ---> Running in 4d746b777b62 06:13:49 Still waiting to schedule task 06:13:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:14:36 Removing intermediate container 4d746b777b62 06:14:36 ---> e5fa43049162 06:14:36 Step 10/12 : COPY . . 06:14:36 ---> e14cf6d64f6e 06:14:36 Step 11/12 : ARG MAKE='make build' 06:14:36 ---> Running in 36860515ef13 06:14:36 Removing intermediate container 36860515ef13 06:14:36 ---> 4c30daa7cb6e 06:14:36 Step 12/12 : RUN $MAKE 06:14:36 ---> Running in fbe0d7ed229d 06:14:36 noop 06:14:36 Removing intermediate container fbe0d7ed229d 06:14:36 ---> fc27c8dc9a40 06:14:36 Successfully built fc27c8dc9a40 06:14:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:14:36 + docker inspect -f . ci-base-image-x86_64 06:14:36 . [Pipeline] withDockerContainer 06:14:36 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:14:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 06:14:36 $ docker top 6d98a02ec2ac04b47d99751f6714c45d7ba88b10a790f06ee6a019086f55d470 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:37 + go version 06:14:37 go version go1.17.6 linux/amd64 [Pipeline] } 06:14:37 $ docker stop --time=1 6d98a02ec2ac04b47d99751f6714c45d7ba88b10a790f06ee6a019086f55d470 06:14:38 $ docker rm -f 6d98a02ec2ac04b47d99751f6714c45d7ba88b10a790f06ee6a019086f55d470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:38 + docker inspect -f . ci-base-image-x86_64 06:14:38 . [Pipeline] withDockerContainer 06:14:38 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:14:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat 06:14:39 $ docker top c9d7b6a85bd088d2eb86d5d25dc29a14f6a132bbf7c57079d24d60b54a4f1eec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:14:39 + make test 06:14:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:14:40 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:14:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:14:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.026s coverage: 65.7% of statements 06:14:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:14:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:14:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:14:58 ./bin/test-attribution-txt.sh [Pipeline] echo 06:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:14:58 $ docker stop --time=1 c9d7b6a85bd088d2eb86d5d25dc29a14f6a132bbf7c57079d24d60b54a4f1eec 06:15:00 $ docker rm -f c9d7b6a85bd088d2eb86d5d25dc29a14f6a132bbf7c57079d24d60b54a4f1eec [Pipeline] // withDockerContainer [Pipeline] sh 06:15:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:15:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:15:02 + ls -al . 06:15:02 total 168 06:15:02 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 30 06:14 . 06:15:02 drwxrwxr-x. 4 jenkins jenkins 112 Jan 30 06:13 .. 06:15:02 -rw-rw-r--. 1 jenkins jenkins 6514 Jan 30 06:13 Attribution.txt 06:15:02 drwxrwxr-x. 2 jenkins jenkins 37 Jan 30 06:13 bin 06:15:02 -rw-rw-r--. 1 jenkins jenkins 6349 Jan 30 06:13 CHANGELOG.md 06:15:02 drwxrwxr-x. 3 jenkins jenkins 32 Jan 30 06:13 cmd 06:15:02 -rw-r--r--. 1 jenkins jenkins 44128 Jan 30 06:14 coverage.out 06:15:02 -rw-rw-r--. 1 jenkins jenkins 1974 Jan 30 06:13 Dockerfile 06:15:02 drwxrwxr-x. 8 jenkins jenkins 162 Jan 30 06:13 .git 06:15:02 drwxrwxr-x. 2 jenkins jenkins 103 Jan 30 06:13 .github 06:15:02 -rw-rw-r--. 1 jenkins jenkins 270 Jan 30 06:13 .gitignore 06:15:02 -rw-rw-r--. 1 jenkins jenkins 2733 Jan 30 06:13 go.mod 06:15:02 -rw-rw-r--. 1 jenkins jenkins 49169 Jan 30 06:13 go.sum 06:15:02 -rw-rw-r--. 1 jenkins jenkins 677 Jan 30 06:13 GOVERNANCE.md 06:15:02 drwxrwxr-x. 3 jenkins jenkins 20 Jan 30 06:13 internal 06:15:02 -rw-rw-r--. 1 jenkins jenkins 660 Jan 30 06:13 Jenkinsfile 06:15:02 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 30 06:13 LICENSE 06:15:02 -rw-rw-r--. 1 jenkins jenkins 1157 Jan 30 06:13 Makefile 06:15:02 -rw-rw-r--. 1 jenkins jenkins 623 Jan 30 06:13 OWNERS.md 06:15:02 -rw-rw-r--. 1 jenkins jenkins 2914 Jan 30 06:13 README.md 06:15:02 drwx------. 3 jenkins jenkins 57 Jan 30 06:13 .semver 06:15:02 -rw-rw-r--. 1 jenkins jenkins 11 Jan 30 06:13 VERSION 06:15:02 -rw-rw-r--. 1 jenkins jenkins 235 Jan 30 06:13 version.go [Pipeline] isUnix [Pipeline] sh 06:15:02 + 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=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 --label arch=amd64 --label version=2.2.0-dev.6 . 06:15:02 Sending build context to Docker daemon 22.88MB 06:15:02 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:15:02 Step 2/26 : FROM ${BASE} AS builder 06:15:02 ---> fc27c8dc9a40 06:15:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:15:02 ---> Running in 64d38e7431ed 06:15:02 Removing intermediate container 64d38e7431ed 06:15:02 ---> ed2489e4da43 06:15:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:15:02 ---> Running in a9532f35d7d2 06:15:02 Removing intermediate container a9532f35d7d2 06:15:02 ---> 824b1b3bf5ed 06:15:02 Step 5/26 : WORKDIR /device-virtual-go 06:15:02 ---> Running in 89aa21bd6614 06:15:02 Removing intermediate container 89aa21bd6614 06:15:02 ---> 738dbeb9519c 06:15:02 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:02 ---> Running in cdd1ca0cc1a4 06:15:03 Removing intermediate container cdd1ca0cc1a4 06:15:03 ---> 753ef8594341 06:15:03 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:03 ---> Running in 38e2faacb5de 06:15:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:15:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:15:04 OK: 224 MiB in 56 packages 06:15:05 Removing intermediate container 38e2faacb5de 06:15:05 ---> b5e4588439e6 06:15:05 Step 8/26 : COPY go.mod vendor* ./ 06:15:05 ---> 32e60d33f2fa 06:15:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:05 ---> Running in 3471195dd8a1 06:15:05 Removing intermediate container 3471195dd8a1 06:15:05 ---> 4015161cc72a 06:15:05 Step 10/26 : COPY . . 06:15:06 ---> 3033026fc1cd 06:15:06 Step 11/26 : ARG MAKE='make build' 06:15:06 ---> Running in 6b2441a658d3 06:15:06 Removing intermediate container 6b2441a658d3 06:15:06 ---> 74d1d32351cf 06:15:06 Step 12/26 : RUN $MAKE 06:15:06 ---> Running in d63199450814 06:15:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.6" -o cmd/device-virtual ./cmd 06:15:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4249 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 06:15:17 Running in /w/workspace/device-virtual-go/22 [Pipeline] { [Pipeline] checkout 06:15:18 The recommended git tool is: git 06:15:19 Removing intermediate container d63199450814 06:15:19 ---> 1c75866f2511 06:15:19 Step 13/26 : FROM alpine:3.14 06:15:19 3.14: Pulling from library/alpine 06:15:19 97518928ae5f: Pulling fs layer 06:15:19 97518928ae5f: Verifying Checksum 06:15:19 97518928ae5f: Download complete 06:15:20 97518928ae5f: Pull complete 06:15:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:15:20 Status: Downloaded newer image for alpine:3.14 06:15:20 ---> 0a97eee8041e 06:15:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:15:20 ---> Running in 0c7830c1f9f9 06:15:20 Removing intermediate container 0c7830c1f9f9 06:15:20 ---> 951da9e39e48 06:15:20 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:20 ---> Running in 4631d5a8e289 06:15:20 Removing intermediate container 4631d5a8e289 06:15:20 ---> ee23b6a5ccd8 06:15:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:15:20 ---> Running in b1dba94a77c0 06:15:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:15:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:15:22 (1/6) Installing dumb-init (1.2.5-r1) 06:15:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:15:22 (3/6) Installing libsodium (1.0.18-r0) 06:15:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:15:22 using credential edgex-jenkins-ssh 06:15:22 Cloning the remote Git repository 06:15:22 (5/6) Installing libzmq (4.3.4-r0) 06:15:22 (6/6) Installing zeromq (4.3.4-r0) 06:15:22 Executing busybox-1.33.1-r6.trigger 06:15:22 OK: 8 MiB in 20 packages 06:15:22 Removing intermediate container b1dba94a77c0 06:15:22 ---> 292a831dacfd 06:15:22 Step 17/26 : WORKDIR / 06:15:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:15:22 > git init /w/workspace/device-virtual-go/22 # timeout=10 06:15:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:15:22 > git --version # timeout=10 06:15:22 > git --version # 'git version 2.17.1' 06:15:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:23 ---> Running in 95a20878cacc 06:15:23 Removing intermediate container 95a20878cacc 06:15:23 ---> c81fa945c73b 06:15:23 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:15:23 ---> ad85cb60dc8e 06:15:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:15:23 ---> 54c69de87269 06:15:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:15:23 ---> b81c612acc52 06:15:23 Step 21/26 : EXPOSE 59900 06:15:23 ---> Running in 53b4f2366083 06:15:23 Removing intermediate container 53b4f2366083 06:15:23 ---> 9cb4814469df 06:15:23 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:15:23 ---> Running in 04605d16fb0c 06:15:23 Removing intermediate container 04605d16fb0c 06:15:23 ---> 2408ac815648 06:15:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:15:23 ---> Running in d02d0adcc6cc 06:15:24 Removing intermediate container d02d0adcc6cc 06:15:24 ---> a89496c4926a 06:15:24 Step 24/26 : LABEL arch=amd64 06:15:24 ---> Running in cba4b5405070 06:15:24 Removing intermediate container cba4b5405070 06:15:24 ---> ff7e9a70023e 06:15:24 Step 25/26 : LABEL git_sha=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:15:24 ---> Running in 4439bf5ba30e 06:15:24 Removing intermediate container 4439bf5ba30e 06:15:24 ---> 4fe57ae09a71 06:15:24 Step 26/26 : LABEL version=2.2.0-dev.6 06:15:24 ---> Running in 9790f70adf0d 06:15:24 Removing intermediate container 9790f70adf0d 06:15:24 ---> cd668ec37ebc 06:15:24 [Warning] One or more build-args [ARCH] were not consumed 06:15:24 Successfully built cd668ec37ebc 06:15:24 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:24 provisioning config files... 06:15:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1108147165498742809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:24 ---> docker-login.sh 06:15:24 nexus3.edgexfoundry.org:10001 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10002 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 Avoid second fetch 06:15:24 Checking out Revision 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 (main) 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 nexus3.edgexfoundry.org:10003 06:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 nexus3.edgexfoundry.org:10004 06:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 docker.io 06:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:15:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:24 > git config core.sparsecheckout # timeout=10 06:15:24 > git checkout -f 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 ---> docker-login.sh ends [Pipeline] } 06:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:25 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 06:15:25 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:15:25 latest 06:15:25 2.2.0-dev.6 06:15:25 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:15:25 main 06:15:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] isUnix [Pipeline] sh 06:15:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:15:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:15:26 34a51dbe9d9f: Preparing 06:15:26 2ee539322bb0: Preparing 06:15:26 2ae66c71122b: Preparing 06:15:26 0cc638d65502: Preparing 06:15:26 4e3c24d00825: Preparing 06:15:26 1a058d5342cc: Preparing 06:15:26 1a058d5342cc: Waiting 06:15:26 4e3c24d00825: Pushed 06:15:26 2ae66c71122b: Pushed 06:15:26 1a058d5342cc: Layer already exists 06:15:26 2ee539322bb0: Pushed 06:15:26 0cc638d65502: Pushed 06:15:27 34a51dbe9d9f: Pushed 06:15:27 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963: digest: sha256:b26b9fdd7c63fe375c0a2433f70e5975c91331729614e95db921456bd2467fbd size: 1573 [Pipeline] isUnix [Pipeline] sh 06:15:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 06:15:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 06:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:15:28 34a51dbe9d9f: Preparing 06:15:28 2ee539322bb0: Preparing 06:15:28 2ae66c71122b: Preparing 06:15:28 0cc638d65502: Preparing 06:15:28 4e3c24d00825: Preparing 06:15:28 1a058d5342cc: Preparing 06:15:28 1a058d5342cc: Waiting 06:15:28 0cc638d65502: Layer already exists 06:15:28 2ae66c71122b: Layer already exists 06:15:28 34a51dbe9d9f: Layer already exists 06:15:28 2ee539322bb0: Layer already exists 06:15:28 4e3c24d00825: Layer already exists 06:15:28 1a058d5342cc: Layer already exists 06:15:28 latest: digest: sha256:b26b9fdd7c63fe375c0a2433f70e5975c91331729614e95db921456bd2467fbd size: 1573 [Pipeline] isUnix [Pipeline] sh 06:15:28 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 06:15:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.6 06:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:15:28 34a51dbe9d9f: Preparing 06:15:28 2ee539322bb0: Preparing 06:15:28 2ae66c71122b: Preparing 06:15:28 0cc638d65502: Preparing 06:15:28 4e3c24d00825: Preparing 06:15:28 1a058d5342cc: Preparing 06:15:28 1a058d5342cc: Waiting 06:15:28 34a51dbe9d9f: Layer already exists 06:15:28 2ee539322bb0: Layer already exists 06:15:28 0cc638d65502: Layer already exists 06:15:28 4e3c24d00825: Layer already exists 06:15:28 2ae66c71122b: Layer already exists 06:15:28 1a058d5342cc: Layer already exists 06:15:28 2.2.0-dev.6: digest: sha256:b26b9fdd7c63fe375c0a2433f70e5975c91331729614e95db921456bd2467fbd size: 1573 [Pipeline] isUnix [Pipeline] sh 06:15:29 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 06:15:29 Commit message: "perf(app): Use maps instead of in-RAM SQL DB (#260) (#261)" 06:15:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:15:29 34a51dbe9d9f: Preparing 06:15:29 2ee539322bb0: Preparing 06:15:29 2ae66c71122b: Preparing 06:15:29 0cc638d65502: Preparing 06:15:29 4e3c24d00825: Preparing 06:15:29 1a058d5342cc: Preparing 06:15:29 1a058d5342cc: Waiting 06:15:29 34a51dbe9d9f: Layer already exists 06:15:29 2ee539322bb0: Layer already exists 06:15:29 4e3c24d00825: Layer already exists 06:15:29 0cc638d65502: Layer already exists 06:15:29 2ae66c71122b: Layer already exists 06:15:29 1a058d5342cc: Layer already exists 06:15:29 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6: digest: sha256:b26b9fdd7c63fe375c0a2433f70e5975c91331729614e95db921456bd2467fbd size: 1573 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:29 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 06:15:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 06:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:15:29 34a51dbe9d9f: Preparing 06:15:29 2ee539322bb0: Preparing 06:15:29 2ae66c71122b: Preparing 06:15:29 0cc638d65502: Preparing 06:15:29 4e3c24d00825: Preparing 06:15:29 1a058d5342cc: Preparing 06:15:29 1a058d5342cc: Waiting 06:15:29 2ae66c71122b: Layer already exists 06:15:29 4e3c24d00825: Layer already exists 06:15:29 0cc638d65502: Layer already exists 06:15:29 34a51dbe9d9f: Layer already exists 06:15:29 2ee539322bb0: Layer already exists 06:15:29 1a058d5342cc: Layer already exists 06:15:29 main: digest: sha256:b26b9fdd7c63fe375c0a2433f70e5975c91331729614e95db921456bd2467fbd size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:30 ===================================================== [Pipeline] echo 06:15:30 taggedImages: 06:15:30 - nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:15:30 - nexus3.edgexfoundry.org:10004/device-virtual:latest 06:15:30 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.6 06:15:30 - nexus3.edgexfoundry.org:10004/device-virtual:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:15:30 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } 06:15:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:15:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:30 Dload Upload Total Spent Left Speed 06:15:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] // script [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 [Pipeline] sh 06:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:30 06:15:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:15:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:15:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:30 latest: Pulling from edgex-lftools-log-publisher 06:15:30 b4d181a07f80: Pulling fs layer 06:15:30 a1111a8f2ec3: Pulling fs layer 06:15:30 ed53099fbce6: Pulling fs layer 06:15:30 dc539afda2c1: Pulling fs layer 06:15:30 77bc0d833cb6: Pulling fs layer 06:15:30 9065ff56babe: Pulling fs layer 06:15:30 d287ab97295c: Pulling fs layer 06:15:30 dc539afda2c1: Waiting 06:15:30 77bc0d833cb6: Waiting 06:15:30 9065ff56babe: Waiting 06:15:30 d287ab97295c: Waiting 06:15:30 a1111a8f2ec3: Verifying Checksum 06:15:30 a1111a8f2ec3: Download complete 06:15:30 dc539afda2c1: Download complete 06:15:30 ed53099fbce6: Verifying Checksum 06:15:30 ed53099fbce6: Download complete 06:15:30 + sudo tee /etc/docker/daemon.new 06:15:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:15:30 { 06:15:30 "registry-mirrors": [ 06:15:30 "https://nexus3.edgexfoundry.org:10001" 06:15:30 ], 06:15:30 "bip": "10.250.0.254/24", 06:15:30 "hosts": [ 06:15:30 "tcp://0.0.0.0:5555", 06:15:30 "unix:///var/run/docker.sock" 06:15:30 ], 06:15:30 "mtu": 1458, 06:15:30 "selinux-enabled": true, 06:15:30 "seccomp-profile": "/etc/docker/seccomp.json" 06:15:30 } [Pipeline] sh 06:15:30 9065ff56babe: Verifying Checksum 06:15:30 9065ff56babe: Download complete 06:15:30 77bc0d833cb6: Verifying Checksum 06:15:30 77bc0d833cb6: Download complete 06:15:30 b4d181a07f80: Verifying Checksum 06:15:30 b4d181a07f80: Download complete 06:15:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:15:31 d287ab97295c: Verifying Checksum 06:15:31 d287ab97295c: Download complete 06:15:31 + sudo service docker restart 06:15:32 b4d181a07f80: Pull complete 06:15:32 a1111a8f2ec3: Pull complete 06:15:33 ed53099fbce6: Pull complete 06:15:33 dc539afda2c1: Pull complete 06:15:33 77bc0d833cb6: Pull complete 06:15:33 9065ff56babe: Pull complete 06:15:38 d287ab97295c: Pull complete 06:15:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:15:38 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:15:38 $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:15:41 $ docker top 89c6af5c84a5fa13cba40a4d8a1f95fd4c0d75ccb6bc37f06edf6b91fd538f9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:41 ---> job-cost.sh 06:15:41 lf-activate-venv: SKIPPING 06:15:41 INFO: No Stack... 06:15:41 INFO: Retrieving Pricing Info for: v3-standard-2 06:15:42 INFO: Archiving Costs [Pipeline] sh 06:15:42 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 06:15:42 + cut -d, -f6 [Pipeline] lock 06:15:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] 06:15:42 Resource [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] did not exist. Created. 06:15:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:42 + echo total: 0.05999999865889549 [Pipeline] stash 06:15:43 Stashed 1 file(s) [Pipeline] } 06:15:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:43 $ docker stop --time=1 89c6af5c84a5fa13cba40a4d8a1f95fd4c0d75ccb6bc37f06edf6b91fd538f9d 06:15:44 $ docker rm -f 89c6af5c84a5fa13cba40a4d8a1f95fd4c0d75ccb6bc37f06edf6b91fd538f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:49 provisioning config files... 06:15:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/22@tmp/config5451721965599334098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:50 ---> docker-login.sh 06:15:50 nexus3.edgexfoundry.org:10001 06:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:50 Configure a credential helper to remove this warning. See 06:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:50 06:15:50 Login Succeeded 06:15:50 nexus3.edgexfoundry.org:10002 06:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:51 Configure a credential helper to remove this warning. See 06:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:51 06:15:51 Login Succeeded 06:15:51 nexus3.edgexfoundry.org:10003 06:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:51 Configure a credential helper to remove this warning. See 06:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:51 06:15:51 Login Succeeded 06:15:51 nexus3.edgexfoundry.org:10004 06:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:52 Configure a credential helper to remove this warning. See 06:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:52 06:15:52 Login Succeeded 06:15:52 docker.io 06:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:52 Configure a credential helper to remove this warning. See 06:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:52 06:15:52 Login Succeeded 06:15:52 ---> docker-login.sh ends [Pipeline] } 06:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:53 ========================================================= 06:15:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:15:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:15:53 + 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 . 06:15:53 Sending build context to Docker daemon 11.55MB 06:15:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:15:53 Step 2/12 : FROM ${BASE} AS builder 06:15:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:15:54 9b3977197b4f: Pulling fs layer 06:15:54 1a89e8eeedd5: Pulling fs layer 06:15:54 94645a83ff95: Pulling fs layer 06:15:54 3f3a8bcf1eab: Pulling fs layer 06:15:54 0c92f367c5e7: Pulling fs layer 06:15:54 4b8299f9d1f4: Pulling fs layer 06:15:54 9a6b49a46696: Pulling fs layer 06:15:54 cf05db05a679: Pulling fs layer 06:15:54 3f3a8bcf1eab: Waiting 06:15:54 0c92f367c5e7: Waiting 06:15:54 4b8299f9d1f4: Waiting 06:15:54 9a6b49a46696: Waiting 06:15:54 cf05db05a679: Waiting 06:15:54 94645a83ff95: Download complete 06:15:54 1a89e8eeedd5: Verifying Checksum 06:15:54 1a89e8eeedd5: Download complete 06:15:54 0c92f367c5e7: Verifying Checksum 06:15:54 0c92f367c5e7: Download complete 06:15:54 4b8299f9d1f4: Verifying Checksum 06:15:54 4b8299f9d1f4: Download complete 06:15:54 9b3977197b4f: Verifying Checksum 06:15:54 9b3977197b4f: Download complete 06:15:54 9a6b49a46696: Verifying Checksum 06:15:54 9a6b49a46696: Download complete 06:15:55 9b3977197b4f: Pull complete 06:15:55 1a89e8eeedd5: Pull complete 06:15:56 94645a83ff95: Pull complete 06:15:56 cf05db05a679: Verifying Checksum 06:15:56 cf05db05a679: Download complete 06:15:56 3f3a8bcf1eab: Verifying Checksum 06:15:56 3f3a8bcf1eab: Download complete 06:16:09 3f3a8bcf1eab: Pull complete 06:16:09 0c92f367c5e7: Pull complete 06:16:09 4b8299f9d1f4: Pull complete 06:16:09 9a6b49a46696: Pull complete 06:16:14 cf05db05a679: Pull complete 06:16:14 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 06:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:16:14 ---> 0ccda1f7e2ee 06:16:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:16:15 ---> Running in eed3ff729e7b 06:16:16 Removing intermediate container eed3ff729e7b 06:16:16 ---> c2e1f65893eb 06:16:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:16:16 ---> Running in 6183d597e1e7 06:16:16 Removing intermediate container 6183d597e1e7 06:16:16 ---> 91772e157fa3 06:16:16 Step 5/12 : WORKDIR /device-virtual-go 06:16:16 ---> Running in c20165c870d0 06:16:17 Removing intermediate container c20165c870d0 06:16:17 ---> 6e58991cf173 06:16:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:17 ---> Running in c5236cec2c91 06:16:19 Removing intermediate container c5236cec2c91 06:16:19 ---> 128aa55deabb 06:16:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:19 ---> Running in 3a76dafa6bbf 06:16:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:16:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:16:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:16:21 (2/4) Installing libedit (20210910.3.1-r0) 06:16:22 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:16:22 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:16:22 Executing busybox-1.34.1-r3.trigger 06:16:22 OK: 224 MiB in 56 packages 06:16:23 Removing intermediate container 3a76dafa6bbf 06:16:23 ---> 3f22e0e48f50 06:16:23 Step 8/12 : COPY go.mod vendor* ./ 06:16:23 ---> 477e49899b55 06:16:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:23 ---> Running in 295a0461e0cc 06:17:45 Removing intermediate container 295a0461e0cc 06:17:45 ---> b16b6bfed4b1 06:17:45 Step 10/12 : COPY . . 06:17:45 ---> cb0c0b9bb24e 06:17:45 Step 11/12 : ARG MAKE='make build' 06:17:45 ---> Running in 5d392ac8abc2 06:17:45 Removing intermediate container 5d392ac8abc2 06:17:45 ---> b0108ca4f580 06:17:45 Step 12/12 : RUN $MAKE 06:17:45 ---> Running in c7b4f60fd1a7 06:17:45 noop 06:17:45 Removing intermediate container c7b4f60fd1a7 06:17:45 ---> 0dae0bbf459b 06:17:45 Successfully built 0dae0bbf459b 06:17:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:17:46 + docker inspect -f . ci-base-image-arm64 06:17:46 . [Pipeline] withDockerContainer 06:17:46 prd-ubuntu18.04-docker-arm64-4c-16g-4249 does not seem to be running inside a container 06:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/22 -v /w/workspace/device-virtual-go/22:/w/workspace/device-virtual-go/22:rw,z -v /w/workspace/device-virtual-go/22@tmp:/w/workspace/device-virtual-go/22@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 ******** ci-base-image-arm64 cat 06:17:47 $ docker top ac0087d075e954ad895a46412f681b164d8ef2c0046581148881e509ede3e69e -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:48 + go version 06:17:48 go version go1.17.6 linux/arm64 [Pipeline] } 06:17:48 $ docker stop --time=1 ac0087d075e954ad895a46412f681b164d8ef2c0046581148881e509ede3e69e 06:17:50 $ docker rm -f ac0087d075e954ad895a46412f681b164d8ef2c0046581148881e509ede3e69e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:50 + docker inspect -f . ci-base-image-arm64 06:17:50 . [Pipeline] withDockerContainer 06:17:50 prd-ubuntu18.04-docker-arm64-4c-16g-4249 does not seem to be running inside a container 06:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/22 -v /w/workspace/device-virtual-go/22:/w/workspace/device-virtual-go/22:rw,z -v /w/workspace/device-virtual-go/22@tmp:/w/workspace/device-virtual-go/22@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 ******** ci-base-image-arm64 cat 06:17:52 $ docker top bec3f626c2e099014d14e57555d1b85a58b30de05b59fb0786bfe5283cd722f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:17:53 + make test 06:17:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:17:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:18:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:18:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.111s coverage: 65.7% of statements 06:18:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:18:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:18:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:18:58 $ docker stop --time=1 bec3f626c2e099014d14e57555d1b85a58b30de05b59fb0786bfe5283cd722f5 06:19:00 $ docker rm -f bec3f626c2e099014d14e57555d1b85a58b30de05b59fb0786bfe5283cd722f5 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:19:00 Warning: overwriting stash ‘coverage-report’ 06:19:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:02 + ls -al . 06:19:02 total 192 06:19:02 drwxrwxr-x 7 jenkins jenkins 4096 Jan 30 06:18 . 06:19:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 06:15 .. 06:19:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 06:15 .git 06:19:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 06:15 .github 06:19:02 -rw-rw-r-- 1 jenkins jenkins 270 Jan 30 06:15 .gitignore 06:19:02 -rw-rw-r-- 1 jenkins jenkins 6514 Jan 30 06:15 Attribution.txt 06:19:02 -rw-rw-r-- 1 jenkins jenkins 6349 Jan 30 06:15 CHANGELOG.md 06:19:02 -rw-rw-r-- 1 jenkins jenkins 1974 Jan 30 06:15 Dockerfile 06:19:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 06:15 GOVERNANCE.md 06:19:02 -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 06:15 Jenkinsfile 06:19:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 06:15 LICENSE 06:19:02 -rw-rw-r-- 1 jenkins jenkins 1157 Jan 30 06:15 Makefile 06:19:02 -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 06:15 OWNERS.md 06:19:02 -rw-rw-r-- 1 jenkins jenkins 2914 Jan 30 06:15 README.md 06:19:02 -rw-rw-r-- 1 jenkins jenkins 11 Jan 30 06:13 VERSION 06:19:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 06:15 bin 06:19:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 06:15 cmd 06:19:02 -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 06:18 coverage.out 06:19:02 -rw-rw-r-- 1 jenkins jenkins 2733 Jan 30 06:15 go.mod 06:19:02 -rw-rw-r-- 1 jenkins jenkins 49169 Jan 30 06:15 go.sum 06:19:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 06:15 internal 06:19:02 -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:19:02 + 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=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 --label arch=arm64 --label version=2.2.0-dev.6 . 06:19:02 Sending build context to Docker daemon 11.6MB 06:19:03 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:19:03 Step 2/26 : FROM ${BASE} AS builder 06:19:03 ---> 0dae0bbf459b 06:19:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:19:03 ---> Running in cee85553c526 06:19:03 Removing intermediate container cee85553c526 06:19:03 ---> 4293b5b1e3d1 06:19:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:19:03 ---> Running in a56f42deba6c 06:19:03 Removing intermediate container a56f42deba6c 06:19:03 ---> 65f85c3f1c47 06:19:03 Step 5/26 : WORKDIR /device-virtual-go 06:19:03 ---> Running in 7b975ce4d4af 06:19:04 Removing intermediate container 7b975ce4d4af 06:19:04 ---> 3adaf8bbd046 06:19:04 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:04 ---> Running in f959cbbe3257 06:19:05 Removing intermediate container f959cbbe3257 06:19:05 ---> b4e9284c38b1 06:19:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:19:06 ---> Running in 56ee7df63e9b 06:19:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:19:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:19:08 OK: 224 MiB in 56 packages 06:19:09 Removing intermediate container 56ee7df63e9b 06:19:09 ---> 4cbef14443a6 06:19:09 Step 8/26 : COPY go.mod vendor* ./ 06:19:10 ---> 398e393c62d7 06:19:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:10 ---> Running in b1647bb4b02a 06:19:12 Removing intermediate container b1647bb4b02a 06:19:12 ---> bbec2a413709 06:19:12 Step 10/26 : COPY . . 06:19:13 ---> b6e1d4041cfd 06:19:13 Step 11/26 : ARG MAKE='make build' 06:19:13 ---> Running in 040a0ce98267 06:19:13 Removing intermediate container 040a0ce98267 06:19:13 ---> 3ef2d13f96d1 06:19:13 Step 12/26 : RUN $MAKE 06:19:13 ---> Running in 175ca035ce75 06:19:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.6" -o cmd/device-virtual ./cmd 06:19:53 Removing intermediate container 175ca035ce75 06:19:53 ---> bd7b18ff7141 06:19:53 Step 13/26 : FROM alpine:3.14 06:19:53 3.14: Pulling from library/alpine 06:19:53 be307f383ecc: Pulling fs layer 06:19:53 be307f383ecc: Download complete 06:19:53 be307f383ecc: Pull complete 06:19:53 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:19:53 Status: Downloaded newer image for alpine:3.14 06:19:53 ---> 5b8b7b635229 06:19:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:19:53 ---> Running in 63ab57c149c2 06:19:53 Removing intermediate container 63ab57c149c2 06:19:53 ---> 956888989910 06:19:53 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:53 ---> Running in 04f44f5474ce 06:19:55 Removing intermediate container 04f44f5474ce 06:19:55 ---> 1dd7b17ed516 06:19:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:19:55 ---> Running in 1acb8b0036bf 06:19:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:19:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:19:57 (1/6) Installing dumb-init (1.2.5-r1) 06:19:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:19:58 (3/6) Installing libsodium (1.0.18-r0) 06:19:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:19:58 (5/6) Installing libzmq (4.3.4-r0) 06:19:58 (6/6) Installing zeromq (4.3.4-r0) 06:19:58 Executing busybox-1.33.1-r6.trigger 06:19:58 OK: 8 MiB in 20 packages 06:19:59 Removing intermediate container 1acb8b0036bf 06:19:59 ---> f3366fee0fdd 06:19:59 Step 17/26 : WORKDIR / 06:19:59 ---> Running in e5c60fb51cf3 06:19:59 Removing intermediate container e5c60fb51cf3 06:19:59 ---> d41112fe9d0b 06:19:59 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:20:00 ---> c9f74422473e 06:20:00 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:20:00 ---> c7967bb5e00f 06:20:00 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:20:01 ---> 5fe9595affd9 06:20:01 Step 21/26 : EXPOSE 59900 06:20:01 ---> Running in 063918040e79 06:20:02 Removing intermediate container 063918040e79 06:20:02 ---> d687617040c6 06:20:02 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:20:02 ---> Running in 1efe7779c707 06:20:02 Removing intermediate container 1efe7779c707 06:20:02 ---> d46d45e157d4 06:20:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:20:02 ---> Running in c8133637226f 06:20:02 Removing intermediate container c8133637226f 06:20:02 ---> cd93c3b63176 06:20:02 Step 24/26 : LABEL arch=arm64 06:20:03 ---> Running in 9ab003ed07ad 06:20:03 Removing intermediate container 9ab003ed07ad 06:20:03 ---> cec624fc8b7c 06:20:03 Step 25/26 : LABEL git_sha=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:20:03 ---> Running in 7752ca1004dc 06:20:03 Removing intermediate container 7752ca1004dc 06:20:03 ---> 7008c79ac43c 06:20:03 Step 26/26 : LABEL version=2.2.0-dev.6 06:20:04 ---> Running in e5bb2e1ccd3a 06:20:04 Removing intermediate container e5bb2e1ccd3a 06:20:04 ---> 7680811813d3 06:20:04 [Warning] One or more build-args [ARCH] were not consumed 06:20:04 Successfully built 7680811813d3 06:20:04 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:04 provisioning config files... 06:20:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/22@tmp/config7090558721765002554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:04 ---> docker-login.sh 06:20:04 nexus3.edgexfoundry.org:10001 06:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:05 Configure a credential helper to remove this warning. See 06:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:05 06:20:05 Login Succeeded 06:20:05 nexus3.edgexfoundry.org:10002 06:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:05 Configure a credential helper to remove this warning. See 06:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:05 06:20:05 Login Succeeded 06:20:05 nexus3.edgexfoundry.org:10003 06:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:05 Configure a credential helper to remove this warning. See 06:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:05 06:20:05 Login Succeeded 06:20:05 nexus3.edgexfoundry.org:10004 06:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:06 Configure a credential helper to remove this warning. See 06:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:06 06:20:06 Login Succeeded 06:20:06 docker.io 06:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:06 Configure a credential helper to remove this warning. See 06:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:06 06:20:06 Login Succeeded 06:20:06 ---> docker-login.sh ends [Pipeline] } 06:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:20:07 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 06:20:07 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:20:07 latest 06:20:07 2.2.0-dev.6 06:20:07 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:20:07 main 06:20:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] isUnix [Pipeline] sh 06:20:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:20:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:07 a60d5cd09639: Preparing 06:20:07 35326b0f3588: Preparing 06:20:07 879864fda7c0: Preparing 06:20:07 aaaf615e7685: Preparing 06:20:07 fb5f7d5f227e: Preparing 06:20:07 62170e181a92: Preparing 06:20:07 62170e181a92: Waiting 06:20:08 879864fda7c0: Pushed 06:20:08 35326b0f3588: Pushed 06:20:08 fb5f7d5f227e: Pushed 06:20:08 62170e181a92: Layer already exists 06:20:08 aaaf615e7685: Pushed 06:20:10 a60d5cd09639: Pushed 06:20:10 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963: digest: sha256:c21926fe17b9138150672cbcdf5b342f6fdd38544df725447c717572790f4942 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:20:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:20:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:20:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:11 a60d5cd09639: Preparing 06:20:11 35326b0f3588: Preparing 06:20:11 879864fda7c0: Preparing 06:20:11 aaaf615e7685: Preparing 06:20:11 fb5f7d5f227e: Preparing 06:20:11 62170e181a92: Preparing 06:20:11 62170e181a92: Waiting 06:20:11 a60d5cd09639: Layer already exists 06:20:11 35326b0f3588: Layer already exists 06:20:11 879864fda7c0: Layer already exists 06:20:11 aaaf615e7685: Layer already exists 06:20:11 fb5f7d5f227e: Layer already exists 06:20:11 62170e181a92: Layer already exists 06:20:11 latest: digest: sha256:c21926fe17b9138150672cbcdf5b342f6fdd38544df725447c717572790f4942 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:20:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 06:20:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.6 06:20:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:12 a60d5cd09639: Preparing 06:20:12 35326b0f3588: Preparing 06:20:12 879864fda7c0: Preparing 06:20:12 aaaf615e7685: Preparing 06:20:12 fb5f7d5f227e: Preparing 06:20:12 62170e181a92: Preparing 06:20:12 62170e181a92: Waiting 06:20:12 fb5f7d5f227e: Layer already exists 06:20:12 aaaf615e7685: Layer already exists 06:20:12 35326b0f3588: Layer already exists 06:20:12 a60d5cd09639: Layer already exists 06:20:12 879864fda7c0: Layer already exists 06:20:12 62170e181a92: Layer already exists 06:20:12 2.2.0-dev.6: digest: sha256:c21926fe17b9138150672cbcdf5b342f6fdd38544df725447c717572790f4942 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:20:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 06:20:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:20:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:13 a60d5cd09639: Preparing 06:20:13 35326b0f3588: Preparing 06:20:13 879864fda7c0: Preparing 06:20:13 aaaf615e7685: Preparing 06:20:13 fb5f7d5f227e: Preparing 06:20:13 62170e181a92: Preparing 06:20:13 62170e181a92: Waiting 06:20:13 35326b0f3588: Layer already exists 06:20:13 fb5f7d5f227e: Layer already exists 06:20:13 879864fda7c0: Layer already exists 06:20:13 a60d5cd09639: Layer already exists 06:20:13 aaaf615e7685: Layer already exists 06:20:13 62170e181a92: Layer already exists 06:20:13 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6: digest: sha256:c21926fe17b9138150672cbcdf5b342f6fdd38544df725447c717572790f4942 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:20:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 06:20:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 06:20:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:14 a60d5cd09639: Preparing 06:20:14 35326b0f3588: Preparing 06:20:14 879864fda7c0: Preparing 06:20:14 aaaf615e7685: Preparing 06:20:14 fb5f7d5f227e: Preparing 06:20:14 62170e181a92: Preparing 06:20:14 62170e181a92: Waiting 06:20:14 879864fda7c0: Layer already exists 06:20:14 a60d5cd09639: Layer already exists 06:20:14 aaaf615e7685: Layer already exists 06:20:14 35326b0f3588: Layer already exists 06:20:14 fb5f7d5f227e: Layer already exists 06:20:14 62170e181a92: Layer already exists 06:20:14 main: digest: sha256:c21926fe17b9138150672cbcdf5b342f6fdd38544df725447c717572790f4942 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:14 ===================================================== [Pipeline] echo 06:20:14 taggedImages: 06:20:14 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 06:20:14 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:20:14 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.6 06:20:14 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f10fc8ede43ab0a1e02c0d4ad73e0798a225963-2.2.0-dev.6 06:20:14 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:14 06:20:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:20:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:15 arm64: Pulling from edgex-lftools-log-publisher 06:20:15 448f6bf000e3: Pulling fs layer 06:20:15 f757da607395: Pulling fs layer 06:20:15 05883995daec: Pulling fs layer 06:20:15 8603b9c90790: Pulling fs layer 06:20:15 1560dd03e051: Pulling fs layer 06:20:15 27f5ce0e4adf: Pulling fs layer 06:20:15 c2d8d7efcc4b: Pulling fs layer 06:20:15 1560dd03e051: Waiting 06:20:15 27f5ce0e4adf: Waiting 06:20:15 c2d8d7efcc4b: Waiting 06:20:15 8603b9c90790: Waiting 06:20:15 f757da607395: Verifying Checksum 06:20:15 f757da607395: Download complete 06:20:15 8603b9c90790: Verifying Checksum 06:20:15 8603b9c90790: Download complete 06:20:15 1560dd03e051: Verifying Checksum 06:20:15 1560dd03e051: Download complete 06:20:15 27f5ce0e4adf: Verifying Checksum 06:20:15 27f5ce0e4adf: Download complete 06:20:15 05883995daec: Verifying Checksum 06:20:15 05883995daec: Download complete 06:20:15 448f6bf000e3: Download complete 06:20:18 c2d8d7efcc4b: Verifying Checksum 06:20:18 c2d8d7efcc4b: Download complete 06:20:19 448f6bf000e3: Pull complete 06:20:20 f757da607395: Pull complete 06:20:21 05883995daec: Pull complete 06:20:21 8603b9c90790: Pull complete 06:20:22 1560dd03e051: Pull complete 06:20:22 27f5ce0e4adf: Pull complete 06:20:37 c2d8d7efcc4b: Pull complete 06:20:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:20:38 prd-ubuntu18.04-docker-arm64-4c-16g-4249 does not seem to be running inside a container 06:20:38 $ 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/22 -v /w/workspace/device-virtual-go/22:/w/workspace/device-virtual-go/22:rw,z -v /w/workspace/device-virtual-go/22@tmp:/w/workspace/device-virtual-go/22@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:20:40 $ docker top 3a4cc8a9110f21030b846c11aee82f2591727157921f6fefe0b8337ef8911fda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:41 ---> job-cost.sh 06:20:41 lf-activate-venv: SKIPPING 06:20:41 INFO: No Stack... 06:20:41 INFO: Retrieving Pricing Info for: v3-standard-4 06:20:42 INFO: Archiving Costs [Pipeline] sh 06:20:43 + cut -d, -f6 06:20:43 + cat /w/workspace/device-virtual-go/22/archives/cost.csv [Pipeline] lock 06:20:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] 06:20:43 Resource [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] did not exist. Created. 06:20:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:43 /w/workspace/device-virtual-go/22@tmp/durable-4321e8a4/script.sh: 1: /w/workspace/device-virtual-go/22@tmp/durable-4321e8a4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:20:44 + echo total: 0.10999999940395355 [Pipeline] stash 06:20:44 Warning: overwriting stash ‘stack-cost’ 06:20:44 Stashed 1 file(s) [Pipeline] } 06:20:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:44 $ docker stop --time=1 3a4cc8a9110f21030b846c11aee82f2591727157921f6fefe0b8337ef8911fda 06:20:46 $ docker rm -f 3a4cc8a9110f21030b846c11aee82f2591727157921f6fefe0b8337ef8911fda [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 06:20:46 provisioning config files... 06:20:46 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3324340544331399381tmp [Pipeline] { [Pipeline] sh 06:20:46 + set +x 06:20:46 + curl -s https://codecov.io/bash 06:20:46 + bash -s -- 06:20:46 06:20:46 _____ _ 06:20:46 / ____| | | 06:20:46 | | ___ __| | ___ ___ _____ __ 06:20:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:46 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:46 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:46 Bash-1.0.6 06:20:46 06:20:46 06:20:46 ==> git version 2.24.4 found 06:20:46 ==> 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 06:20:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:20:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:20:46 ==> Jenkins CI detected. 06:20:46 current dir:  /w/workspace/exfoundry_device-virtual-go_main 06:20:46 project root: . 06:20:46 --> token set from env 06:20:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:47 ==> Running gcov in . (disable via -X gcov) 06:20:47 ==> Python coveragepy not found 06:20:47 ==> Searching for coverage reports in: 06:20:47 + . 06:20:47 -> Found 1 reports 06:20:47 ==> Detecting git/mercurial file structure 06:20:47 ==> Reading reports 06:20:47 + ./coverage.out bytes=44128 06:20:47 ==> Appending adjustments 06:20:47 https://docs.codecov.io/docs/fixing-reports 06:20:47 + Found adjustments 06:20:47 ==> Gzipping contents 06:20:47 8.0K /tmp/codecov.8oGmKm.gz 06:20:47 ==> Uploading reports 06:20:47 url: https://codecov.io 06:20:47 query: branch=main&commit=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:47 -> Pinging Codecov 06:20:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=7f10fc8ede43ab0a1e02c0d4ad73e0798a225963&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:47 -> Uploading to 06:20:47 https://storage.googleapis.com/codecov/v4/raw/2022-01-30/5E52B4B073DB2E39498172D8E973AA87/7f10fc8ede43ab0a1e02c0d4ad73e0798a225963/99dcc3e9-510e-4a39-b91c-8b7a181cfa0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220130T062047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0c1d97710b19f963118d586ee474b9b1b6b95c55f6a718ddf72cb14a6564da 06:20:47 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:47 Dload Upload Total Spent Left Speed 06:20:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5323 0 0 100 5323 0 15579 --:--:-- --:--:-- --:--:-- 15609 06:20:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] } 06:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:20:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:20:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:48 06:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:20:48 188c0c94c7c5: Pulling fs layer 06:20:48 0ef7d3d256c8: Pulling fs layer 06:20:48 de9db76c5a1d: Pulling fs layer 06:20:48 0eba1c9be4d2: Pulling fs layer 06:20:48 0d57e429df01: Pulling fs layer 06:20:48 4e4be7b47b0d: Pulling fs layer 06:20:48 e1f770b5df2f: Pulling fs layer 06:20:48 85a0685a4137: Pulling fs layer 06:20:48 0eba1c9be4d2: Waiting 06:20:48 0d57e429df01: Waiting 06:20:48 4e4be7b47b0d: Waiting 06:20:48 e1f770b5df2f: Waiting 06:20:48 85a0685a4137: Waiting 06:20:48 de9db76c5a1d: Verifying Checksum 06:20:48 de9db76c5a1d: Download complete 06:20:48 0ef7d3d256c8: Verifying Checksum 06:20:48 0ef7d3d256c8: Download complete 06:20:48 0d57e429df01: Verifying Checksum 06:20:48 0d57e429df01: Download complete 06:20:48 4e4be7b47b0d: Verifying Checksum 06:20:48 4e4be7b47b0d: Download complete 06:20:48 188c0c94c7c5: Verifying Checksum 06:20:48 188c0c94c7c5: Download complete 06:20:49 e1f770b5df2f: Verifying Checksum 06:20:49 e1f770b5df2f: Download complete 06:20:49 188c0c94c7c5: Pull complete 06:20:49 0ef7d3d256c8: Pull complete 06:20:49 0eba1c9be4d2: Verifying Checksum 06:20:49 0eba1c9be4d2: Download complete 06:20:49 de9db76c5a1d: Pull complete 06:20:49 85a0685a4137: Verifying Checksum 06:20:49 85a0685a4137: Download complete 06:20:53 0eba1c9be4d2: Pull complete 06:20:53 0d57e429df01: Pull complete 06:20:53 4e4be7b47b0d: Pull complete 06:20:53 e1f770b5df2f: Pull complete 06:20:58 85a0685a4137: Pull complete 06:20:58 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:20:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:20:58 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:21:00 $ docker top 00697b1279a0be4d3cc9f7c7be06bb2cf8fc0dbdb0074fca41c120b5f2c7225b -eo pid,comm [Pipeline] { [Pipeline] echo 06:21:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:21:00 + set -o pipefail 06:21:00 + snyk monitor '--org=edgex-jenkins' 06:21:06 06:21:06 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 06:21:06 06:21:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/aaba525a-a5bc-48a3-8ef4-485b8fd816b6 06:21:06 06:21:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:21:06 06:21:06 [Pipeline] } 06:21:06 $ docker stop --time=1 00697b1279a0be4d3cc9f7c7be06bb2cf8fc0dbdb0074fca41c120b5f2c7225b 06:21:08 $ docker rm -f 00697b1279a0be4d3cc9f7c7be06bb2cf8fc0dbdb0074fca41c120b5f2c7225b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:09 + git log --format=format:%s -1 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 [Pipeline] sh 06:21:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:21:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:09 . [Pipeline] withDockerContainer 06:21:09 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:21:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:21:10 $ docker top e4a1cb4713a6f5d2195a7308131cf84f2b7f2cba09b4db33974f606afbcf5fc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:10 [ssh-agent] Looking for ssh-agent implementation... 06:21:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:10 $ docker exec e4a1cb4713a6f5d2195a7308131cf84f2b7f2cba09b4db33974f606afbcf5fc7 ssh-agent 06:21:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNNonoK/agent.14 06:21:10 SSH_AGENT_PID=20 06:21:10 Running ssh-add (command line suppressed) 06:21:10 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5181793530984710666.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5181793530984710666.key) 06:21:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:10 + git semver tag 06:21:10 # -> Open(): unable to determine branch for HEAD 06:21:10 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 06:21:10 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 06:21:10 # $SEMVER_REMOTE_NAME = origin 06:21:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:21:10 # $SEMVER_USER_NAME = edgex-jenkins 06:21:10 # $SEMVER_BRANCH = main 06:21:10 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 06:21:10 # 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 HEAD 06:21:10 # -> Force: false 06:21:10 # b962b97b7b2a96af40998d16dfd2d82a724e54fd refs/tags/v2.2.0-dev.6 [Pipeline] } 06:21:10 $ docker exec --env ******** --env ******** e4a1cb4713a6f5d2195a7308131cf84f2b7f2cba09b4db33974f606afbcf5fc7 ssh-agent -k 06:21:10 unset SSH_AUTH_SOCK; 06:21:10 unset SSH_AGENT_PID; 06:21:10 echo Agent pid 20 killed; 06:21:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:11 + git semver [Pipeline] } 06:21:11 $ docker stop --time=1 e4a1cb4713a6f5d2195a7308131cf84f2b7f2cba09b4db33974f606afbcf5fc7 06:21:12 $ docker rm -f e4a1cb4713a6f5d2195a7308131cf84f2b7f2cba09b4db33974f606afbcf5fc7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:21:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:12 06:21:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:21:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:13 0.23.1-centos7: Pulling from edgex-lftools 06:21:13 ab5ef0e58194: Pulling fs layer 06:21:13 9712f1f96733: Pulling fs layer 06:21:13 63f879dbbcfc: Pulling fs layer 06:21:13 0d9ebad4ef96: Pulling fs layer 06:21:13 e9a5061849ea: Pulling fs layer 06:21:13 d747dcd14b5f: Pulling fs layer 06:21:13 2de7ff778b66: Pulling fs layer 06:21:13 e9a5061849ea: Waiting 06:21:13 d747dcd14b5f: Waiting 06:21:13 2de7ff778b66: Waiting 06:21:13 0d9ebad4ef96: Waiting 06:21:13 9712f1f96733: Verifying Checksum 06:21:13 9712f1f96733: Download complete 06:21:13 63f879dbbcfc: Verifying Checksum 06:21:13 63f879dbbcfc: Download complete 06:21:13 0d9ebad4ef96: Verifying Checksum 06:21:13 0d9ebad4ef96: Download complete 06:21:13 d747dcd14b5f: Verifying Checksum 06:21:13 d747dcd14b5f: Download complete 06:21:13 e9a5061849ea: Verifying Checksum 06:21:13 e9a5061849ea: Download complete 06:21:13 ab5ef0e58194: Verifying Checksum 06:21:13 ab5ef0e58194: Download complete 06:21:13 2de7ff778b66: Verifying Checksum 06:21:13 2de7ff778b66: Download complete 06:21:17 ab5ef0e58194: Pull complete 06:21:17 9712f1f96733: Pull complete 06:21:17 63f879dbbcfc: Pull complete 06:21:21 0d9ebad4ef96: Pull complete 06:21:21 e9a5061849ea: Pull complete 06:21:21 d747dcd14b5f: Pull complete 06:21:23 2de7ff778b66: Pull complete 06:21:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:21:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:21:23 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:21:26 $ docker top b621d8245327d77780acea9acc1b605d6d4560f94e065b27914914d92baa072a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:21:26 provisioning config files... 06:21:26 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7495650098789088362tmp 06:21:26 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4542505467797486845tmp 06:21:26 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8727234735597074561tmp [Pipeline] { [Pipeline] echo 06:21:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:21:27 ---> sigul-configuration.sh 06:21:27 gpg: directory `/root/.gnupg' created 06:21:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:21:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:21:27 gpg: keyring `/root/.gnupg/secring.gpg' created 06:21:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:21:27 gpg: CAST5 encrypted data 06:21:27 gpg: encrypted with 1 passphrase 06:21:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:21:27 + mkdir /home/jenkins 06:21:27 + mkdir /home/jenkins/sigul [Pipeline] sh 06:21:27 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:21:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:28 ---> sigul-install.sh 06:21:28 Sigul already installed; skipping installation. [Pipeline] sh 06:21:28 + git tag --list 06:21:28 v1.0.0 06:21:28 v1.1.0 06:21:28 v1.1.1 06:21:28 v1.2.1 06:21:28 v1.2.2 06:21:28 v1.2.3 06:21:28 v1.3.0 06:21:28 v1.3.1 06:21:28 v2.0.0 06:21:28 v2.0.1-dev.1 06:21:28 v2.0.1-dev.10 06:21:28 v2.0.1-dev.11 06:21:28 v2.0.1-dev.12 06:21:28 v2.0.1-dev.13 06:21:28 v2.0.1-dev.14 06:21:28 v2.0.1-dev.15 06:21:28 v2.0.1-dev.2 06:21:28 v2.0.1-dev.3 06:21:28 v2.0.1-dev.4 06:21:28 v2.0.1-dev.5 06:21:28 v2.0.1-dev.6 06:21:28 v2.0.1-dev.7 06:21:28 v2.0.1-dev.8 06:21:28 v2.0.1-dev.9 06:21:28 v2.1.0 06:21:28 v2.2.0-dev.1 06:21:28 v2.2.0-dev.2 06:21:28 v2.2.0-dev.3 06:21:28 v2.2.0-dev.4 06:21:28 v2.2.0-dev.5 06:21:28 v2.2.0-dev.6 [Pipeline] sh 06:21:28 + lftools sign git-tag v2.2.0-dev.6 06:21:29 Signing Git tag with Sigul... 06:21:29 Signing v2.2.0-dev.6 [Pipeline] echo 06:21:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:21:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:21:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:21:29 $ docker stop --time=1 b621d8245327d77780acea9acc1b605d6d4560f94e065b27914914d92baa072a 06:21:31 $ docker rm -f b621d8245327d77780acea9acc1b605d6d4560f94e065b27914914d92baa072a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:21:31 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:21:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:31 . [Pipeline] withDockerContainer 06:21:31 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:21:32 $ docker top f1c2ce0fab61eccc2a3a7d9832968e0e11ed41737b134e6f9a8972c5f0121a18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:32 [ssh-agent] Looking for ssh-agent implementation... 06:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:32 $ docker exec f1c2ce0fab61eccc2a3a7d9832968e0e11ed41737b134e6f9a8972c5f0121a18 ssh-agent 06:21:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgcHMdK/agent.13 06:21:32 SSH_AGENT_PID=19 06:21:32 Running ssh-add (command line suppressed) 06:21:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5500511970282882325.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5500511970282882325.key) 06:21:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:33 + git semver bump pre 06:21:33 # -> Open(): unable to determine branch for HEAD 06:21:33 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 06:21:33 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 06:21:33 # $SEMVER_REMOTE_NAME = origin 06:21:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:21:33 # $SEMVER_USER_NAME = edgex-jenkins 06:21:33 # $SEMVER_BRANCH = main 06:21:33 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 06:21:33 2.2.0-dev.7 [Pipeline] } 06:21:33 $ docker exec --env ******** --env ******** f1c2ce0fab61eccc2a3a7d9832968e0e11ed41737b134e6f9a8972c5f0121a18 ssh-agent -k 06:21:33 unset SSH_AUTH_SOCK; 06:21:33 unset SSH_AGENT_PID; 06:21:33 echo Agent pid 19 killed; 06:21:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:33 + git semver [Pipeline] } 06:21:33 $ docker stop --time=1 f1c2ce0fab61eccc2a3a7d9832968e0e11ed41737b134e6f9a8972c5f0121a18 06:21:34 $ docker rm -f f1c2ce0fab61eccc2a3a7d9832968e0e11ed41737b134e6f9a8972c5f0121a18 [Pipeline] // withDockerContainer [Pipeline] sh 06:21:35 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:21:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:21:35 . [Pipeline] withDockerContainer 06:21:35 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:21:35 $ docker top d2076ee1ebda7f00bd5e06622d07f2363cb2bedd631f5c51417a2f1466a34fd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:21:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:21:35 [ssh-agent] Looking for ssh-agent implementation... 06:21:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:21:36 $ docker exec d2076ee1ebda7f00bd5e06622d07f2363cb2bedd631f5c51417a2f1466a34fd5 ssh-agent 06:21:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCjHEaP/agent.13 06:21:36 SSH_AGENT_PID=19 06:21:36 Running ssh-add (command line suppressed) 06:21:36 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1024005440293251019.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1024005440293251019.key) 06:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:21:36 + git semver push 06:21:36 # -> Open(): unable to determine branch for HEAD 06:21:36 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 06:21:36 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 06:21:36 # $SEMVER_REMOTE_NAME = origin 06:21:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:21:36 # $SEMVER_USER_NAME = edgex-jenkins 06:21:36 # $SEMVER_BRANCH = main 06:21:36 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 06:21:38 $ docker exec --env ******** --env ******** d2076ee1ebda7f00bd5e06622d07f2363cb2bedd631f5c51417a2f1466a34fd5 ssh-agent -k 06:21:38 unset SSH_AUTH_SOCK; 06:21:38 unset SSH_AGENT_PID; 06:21:38 echo Agent pid 19 killed; 06:21:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:38 + git semver [Pipeline] } 06:21:38 $ docker stop --time=1 d2076ee1ebda7f00bd5e06622d07f2363cb2bedd631f5c51417a2f1466a34fd5 06:21:40 $ docker rm -f d2076ee1ebda7f00bd5e06622d07f2363cb2bedd631f5c51417a2f1466a34fd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 06:21:40 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' 06:21:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:21:40 total 8 06:21:40 drwxr-xr-x. 3 root root 34 Jan 30 06:15 . 06:21:40 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 30 06:21 .. 06:21:40 drwxr-xr-x. 2 root root 6 Jan 30 06:15 cost 06:21:40 -rw-r--r--. 1 root root 87 Jan 30 06:15 cost.csv 06:21:40 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 06:21:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:21:40 total 8 06:21:40 drwxr-xr-x. 3 jenkins jenkins 34 Jan 30 06:15 . 06:21:40 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 30 06:21 .. 06:21:40 drwxr-xr-x. 2 jenkins jenkins 6 Jan 30 06:15 cost 06:21:40 -rw-r--r--. 1 jenkins jenkins 87 Jan 30 06:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> package-listing.sh 06:21:41 ++ facter osfamily 06:21:41 ++ tr '[:upper:]' '[:lower:]' 06:21:41 + OS_FAMILY=redhat 06:21:41 + workspace=/w/workspace/exfoundry_device-virtual-go_main 06:21:41 + START_PACKAGES=/tmp/packages_start.txt 06:21:41 + END_PACKAGES=/tmp/packages_end.txt 06:21:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:41 + PACKAGES=/tmp/packages_start.txt 06:21:41 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:21:41 + PACKAGES=/tmp/packages_end.txt 06:21:41 + case "${OS_FAMILY}" in 06:21:41 + rpm -qa 06:21:41 + sort 06:21:42 + '[' -f /tmp/packages_start.txt ']' 06:21:42 + '[' -f /tmp/packages_end.txt ']' 06:21:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:21:42 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 06:21:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 06:21:42 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:43 . [Pipeline] withDockerContainer 06:21:43 prd-centos7-docker-4c-2g-4248 does not seem to be running inside a container 06:21:43 $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:43 $ docker top 0953d11cbfc298f00803385d4617d91164a97cde2313f94360dbdee7fa327ab3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:44 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:44 + ls /var/log/sa-host 06:21:44 + sadf -c /var/log/sa-host/sa17 06:21:44 file_magic: OK 06:21:44 HZ: Using current value: 100 06:21:44 file_header: OK 06:21:44 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 06:21:44 Statistics: 06:21:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:44 File successfully converted to sysstat format version 12.0.3 06:21:44 + sadf -c /var/log/sa-host/sa30 06:21:44 file_magic: OK 06:21:44 HZ: Using current value: 100 06:21:44 file_header: OK 06:21:44 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 06:21:44 Statistics: 06:21:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:44 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:44 provisioning config files... 06:21:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5662436180160767405tmp [Pipeline] { [Pipeline] echo 06:21:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:45 ---> create-netrc.sh [Pipeline] } 06:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:45 ---> python-tools-install.sh [Pipeline] echo 06:21:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:45 ---> sudo-logs.sh 06:21:45 Archiving 'sudo' log.. 06:21:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-4248.novalocal: Name or service not known 06:21:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-4248.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:21:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:46 ---> job-cost.sh 06:21:46 lf-activate-venv: SKIPPING 06:21:46 DEBUG: total: 0.05999999865889549 06:21:46 INFO: Retrieving Stack Cost... 06:21:46 INFO: Retrieving Pricing Info for: v3-standard-2 06:21:46 INFO: Archiving Costs [Pipeline] echo 06:21:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:47 ---> logs-deploy.sh 06:21:47 lf-activate-venv: SKIPPING 06:21:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/22 06:21:47 INFO: archiving workspace using pattern(s): 06:21:47 Archives upload complete. 06:21:48 INFO: archiving logs to Nexus