Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab35c68c7da578f7489f6019108ca23722e6e5b0 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-ssh13674507232612260769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7121739801305336925.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/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-ssh13690623184873172595.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13053724749057915772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/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-ssh15972154971201752673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10374 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ab35c68c7da578f7489f6019108ca23722e6e5b0 (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 ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 Commit message: "Merge pull request #272 from bnevis-i/version-bump" > git rev-list --no-walk c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:55:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:55:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:55:17 ========================================================= 01:55:17 EdgeX Global Pipelines Version Info 01:55:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:55:18 ------------------- 01:55:18 stable info: 01:55:18 ------------------- 01:55:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:55:18 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:55:18 Message: update stable to v1.0.221 01:55:19 ------------------- 01:55:19 experimental info: 01:55:19 ------------------- 01:55:19 Commited By: **** collab-it+edgex@linuxfoundation.org 01:55:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:55:19 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab35c68 [Pipeline] echo 01:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:19 provisioning config files... 01:55:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2583535416744512131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:20 ---> docker-login.sh 01:55:20 nexus3.edgexfoundry.org:10001 01:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:20 Configure a credential helper to remove this warning. See 01:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:20 01:55:20 Login Succeeded 01:55:20 nexus3.edgexfoundry.org:10002 01:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:20 Configure a credential helper to remove this warning. See 01:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:20 01:55:20 Login Succeeded 01:55:20 nexus3.edgexfoundry.org:10003 01:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:20 Configure a credential helper to remove this warning. See 01:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:20 01:55:20 Login Succeeded 01:55:20 nexus3.edgexfoundry.org:10004 01:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:20 Configure a credential helper to remove this warning. See 01:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:20 01:55:20 Login Succeeded 01:55:20 docker.io 01:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:21 Configure a credential helper to remove this warning. See 01:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:21 01:55:21 Login Succeeded 01:55:21 ---> docker-login.sh ends [Pipeline] } 01:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:55:21 + git rev-list -1 --merges ab35c68c7da578f7489f6019108ca23722e6e5b0~1..ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo 01:55:21 -----------> git rev-list -1 --merges ab35c68c7da578f7489f6019108ca23722e6e5b0~1..ab35c68c7da578f7489f6019108ca23722e6e5b0 ab35c68c7da578f7489f6019108ca23722e6e5b0 01:55:21 ab35c68c7da578f7489f6019108ca23722e6e5b0 [false] [Pipeline] sh 01:55:21 + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo 01:55:21 ========================================================= 01:55:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:55:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:22 + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] echo 01:55:22 [semverPrep] GIT_COMMIT: ab35c68c7da578f7489f6019108ca23722e6e5b0, Commit Message: Merge pull request #272 from bnevis-i/version-bump [Pipeline] echo 01:55:22 [semverPrep] This is not a build commit. [Pipeline] sh 01:55:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:55:22 + grep -v github /etc/ssh/ssh_known_hosts 01:55:22 + [ -e /tmp/ssh_known_hosts ] 01:55:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:55:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:55:22 + sudo tee -a /etc/ssh/ssh_known_hosts 01:55:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:23 01:55:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:55:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:23 latest: Pulling from edgex-devops/git-semver 01:55:23 a0d0a0d46f8b: Pulling fs layer 01:55:23 3e5f54012d9b: Pulling fs layer 01:55:23 4c7163046ea9: Pulling fs layer 01:55:23 0c2d73faf560: Pulling fs layer 01:55:23 0c2d73faf560: Waiting 01:55:23 3e5f54012d9b: Verifying Checksum 01:55:23 3e5f54012d9b: Download complete 01:55:23 a0d0a0d46f8b: Verifying Checksum 01:55:23 a0d0a0d46f8b: Download complete 01:55:23 0c2d73faf560: Verifying Checksum 01:55:23 0c2d73faf560: Download complete 01:55:23 4c7163046ea9: Verifying Checksum 01:55:23 4c7163046ea9: Download complete 01:55:23 a0d0a0d46f8b: Pull complete 01:55:23 3e5f54012d9b: Pull complete 01:55:23 4c7163046ea9: Pull complete 01:55:24 0c2d73faf560: Pull complete 01:55:24 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:55:24 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 01:55:24 $ 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 01:55:25 $ docker top 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:25 [ssh-agent] Looking for ssh-agent implementation... 01:55:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:25 $ docker exec 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent 01:55:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHbmfc/agent.14 01:55:25 SSH_AGENT_PID=20 01:55:25 Running ssh-add (command line suppressed) 01:55:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2518778359207841000.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2518778359207841000.key) 01:55:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:25 + git tag --points-at HEAD [Pipeline] } 01:55:25 $ docker exec --env ******** --env ******** 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent -k 01:55:25 unset SSH_AUTH_SOCK; 01:55:25 unset SSH_AGENT_PID; 01:55:25 echo Agent pid 20 killed; 01:55:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:55:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:25 [ssh-agent] Looking for ssh-agent implementation... 01:55:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:26 $ docker exec 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent 01:55:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPiHGCo/agent.52 01:55:26 SSH_AGENT_PID=59 01:55:26 Running ssh-add (command line suppressed) 01:55:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4468260638814105908.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4468260638814105908.key) 01:55:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:26 + git semver init 01:55:26 # -> Open(): unable to determine branch for HEAD 01:55:26 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 01:55:26 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 01:55:26 # $SEMVER_REMOTE_NAME = origin 01:55:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:55:26 # $SEMVER_USER_NAME = edgex-jenkins 01:55:26 # $SEMVER_BRANCH = main 01:55:26 # $SEMVER_TEMP = /tmp/semver-797863050 01:55:26 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 01:55:27 # '/tmp/semver-797863050' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 01:55:27 # -> Force: false 01:55:27 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 01:55:27 $ docker exec --env ******** --env ******** 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 ssh-agent -k 01:55:28 unset SSH_AUTH_SOCK; 01:55:28 unset SSH_AGENT_PID; 01:55:28 echo Agent pid 59 killed; 01:55:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:28 + git semver [Pipeline] } 01:55:28 $ docker stop --time=1 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 01:55:29 $ docker rm -f 09f7edf47dde8f4656683528193c435492a5c1e44e711e19d7031ceb3259ada2 [Pipeline] // withDockerContainer [Pipeline] sh 01:55:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:55:30 Stashed 1 file(s) [Pipeline] echo 01:55:30 [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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 01:55:30 provisioning config files... 01:55:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6551698669235113806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:30 ---> docker-login.sh 01:55:30 nexus3.edgexfoundry.org:10001 01:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:30 Configure a credential helper to remove this warning. See 01:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:30 01:55:30 Login Succeeded 01:55:30 nexus3.edgexfoundry.org:10002 01:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:31 Configure a credential helper to remove this warning. See 01:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:31 01:55:31 Login Succeeded 01:55:31 nexus3.edgexfoundry.org:10003 01:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:31 Configure a credential helper to remove this warning. See 01:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:31 01:55:31 Login Succeeded 01:55:31 nexus3.edgexfoundry.org:10004 01:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:31 Configure a credential helper to remove this warning. See 01:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:31 01:55:31 Login Succeeded 01:55:31 docker.io 01:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:31 Configure a credential helper to remove this warning. See 01:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:31 01:55:31 Login Succeeded 01:55:31 ---> docker-login.sh ends [Pipeline] } 01:55:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:55:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:55:31 ========================================================= 01:55:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:55:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:55:32 + 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 . 01:55:32 Sending build context to Docker daemon 22.85MB 01:55:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:55:32 Step 2/12 : FROM ${BASE} AS builder 01:55:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:55:32 59bf1c3509f3: Pulling fs layer 01:55:32 666ba61612fd: Pulling fs layer 01:55:32 8ed8ca486205: Pulling fs layer 01:55:32 4fe6c5a15a65: Pulling fs layer 01:55:32 22a0e8bec74d: Pulling fs layer 01:55:32 640e595b4fbd: Pulling fs layer 01:55:32 763cafe07f6e: Pulling fs layer 01:55:32 0c0b528cf693: Pulling fs layer 01:55:32 10935f4eaf8b: Pulling fs layer 01:55:32 4fe6c5a15a65: Waiting 01:55:32 22a0e8bec74d: Waiting 01:55:32 640e595b4fbd: Waiting 01:55:32 763cafe07f6e: Waiting 01:55:32 0c0b528cf693: Waiting 01:55:32 10935f4eaf8b: Waiting 01:55:32 666ba61612fd: Verifying Checksum 01:55:32 666ba61612fd: Download complete 01:55:32 8ed8ca486205: Verifying Checksum 01:55:32 8ed8ca486205: Download complete 01:55:32 22a0e8bec74d: Download complete 01:55:32 640e595b4fbd: Verifying Checksum 01:55:32 640e595b4fbd: Download complete 01:55:32 59bf1c3509f3: Verifying Checksum 01:55:32 59bf1c3509f3: Download complete 01:55:32 763cafe07f6e: Verifying Checksum 01:55:32 763cafe07f6e: Download complete 01:55:32 0c0b528cf693: Verifying Checksum 01:55:32 0c0b528cf693: Download complete 01:55:32 59bf1c3509f3: Pull complete 01:55:32 666ba61612fd: Pull complete 01:55:32 8ed8ca486205: Pull complete 01:55:32 10935f4eaf8b: Verifying Checksum 01:55:32 10935f4eaf8b: Download complete 01:55:32 4fe6c5a15a65: Verifying Checksum 01:55:32 4fe6c5a15a65: Download complete 01:55:37 4fe6c5a15a65: Pull complete 01:55:37 22a0e8bec74d: Pull complete 01:55:37 640e595b4fbd: Pull complete 01:55:37 763cafe07f6e: Pull complete 01:55:37 0c0b528cf693: Pull complete 01:55:39 10935f4eaf8b: Pull complete 01:55:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:55:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:55:39 ---> 99d49a6021b9 01:55:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:55:39 ---> Running in d2a93530b920 01:55:39 Removing intermediate container d2a93530b920 01:55:39 ---> ba2bcb4636c9 01:55:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:55:39 ---> Running in 6936be6317fa 01:55:40 Removing intermediate container 6936be6317fa 01:55:40 ---> a44eb0ec7dac 01:55:40 Step 5/12 : WORKDIR /device-virtual-go 01:55:40 ---> Running in 269d18396667 01:55:40 Removing intermediate container 269d18396667 01:55:40 ---> c5f526437e71 01:55:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:55:40 ---> Running in 139b7a0d75e3 01:55:40 Removing intermediate container 139b7a0d75e3 01:55:40 ---> 2af7dfef6d50 01:55:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:40 ---> Running in 4689736e933d 01:55:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:55:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:55:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:55:42 (2/4) Installing libedit (20210910.3.1-r0) 01:55:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:55:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:55:42 Executing busybox-1.34.1-r3.trigger 01:55:42 OK: 224 MiB in 56 packages 01:55:42 Removing intermediate container 4689736e933d 01:55:42 ---> 4f87684a017a 01:55:42 Step 8/12 : COPY go.mod vendor* ./ 01:55:43 ---> d72be362bf04 01:55:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:43 ---> Running in ce026c2a8a84 01:55:45 Still waiting to schedule task 01:55:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10373’ 01:56:01 Removing intermediate container ce026c2a8a84 01:56:01 ---> f72e2442c606 01:56:01 Step 10/12 : COPY . . 01:56:01 ---> 75998a537e9a 01:56:01 Step 11/12 : ARG MAKE='make build' 01:56:01 ---> Running in cd4c7848f8c3 01:56:01 Removing intermediate container cd4c7848f8c3 01:56:01 ---> 14170fa6e3d1 01:56:01 Step 12/12 : RUN $MAKE 01:56:01 ---> Running in 1b0f2921039d 01:56:01 noop 01:56:01 Removing intermediate container 1b0f2921039d 01:56:01 ---> 98627c63d90e 01:56:01 Successfully built 98627c63d90e 01:56:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:56:01 + docker inspect -f . ci-base-image-x86_64 01:56:01 . [Pipeline] withDockerContainer 01:56:01 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 01:56:02 $ 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 01:56:02 $ docker top 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:02 + go version 01:56:02 go version go1.17.6 linux/amd64 [Pipeline] } 01:56:02 $ docker stop --time=1 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d 01:56:04 $ docker rm -f 364e3055fafb66a69f9c85800409d739dc4f32e0b0fc29c81660d2e53efc984d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:56:04 + docker inspect -f . ci-base-image-x86_64 01:56:04 . [Pipeline] withDockerContainer 01:56:04 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 01:56:04 $ 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 01:56:05 $ docker top f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:56:05 + make test 01:56:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:56:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:56:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:56:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 01:56:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:56:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:56:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:56:18 ./bin/test-attribution-txt.sh [Pipeline] echo 01:56:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:56:18 $ docker stop --time=1 f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 01:56:20 $ docker rm -f f968c05192e106660b17b689b0c6a8e14150736dc5cc251bc7b696a9acc87593 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:56:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:56:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:56:22 + ls -al . 01:56:22 total 180 01:56:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:56 . 01:56:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:55 .. 01:56:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:55 .git 01:56:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:55 .github 01:56:22 -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 01:55 .gitignore 01:56:22 drwx------ 3 jenkins jenkins 4096 Apr 1 01:55 .semver 01:56:22 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 01:55 Attribution.txt 01:56:22 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 01:55 CHANGELOG.md 01:56:22 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 01:55 Dockerfile 01:56:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 01:55 GOVERNANCE.md 01:56:22 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 01:55 Jenkinsfile 01:56:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 01:55 LICENSE 01:56:22 -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 01:55 Makefile 01:56:22 -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 01:55 OWNERS.md 01:56:22 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 01:55 README.md 01:56:22 -rw-rw-r-- 1 jenkins jenkins 11 Apr 1 01:55 VERSION 01:56:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:55 bin 01:56:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:55 cmd 01:56:22 -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 01:56 coverage.out 01:56:22 -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 01:55 go.mod 01:56:22 -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 01:55 go.sum 01:56:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:55 internal 01:56:22 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 01:55 version.go [Pipeline] isUnix [Pipeline] sh 01:56:22 + 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=ab35c68c7da578f7489f6019108ca23722e6e5b0 --label arch=amd64 --label version=2.2.0-dev.8 . 01:56:22 Sending build context to Docker daemon 22.89MB 01:56:22 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:56:22 Step 2/26 : FROM ${BASE} AS builder 01:56:22 ---> 98627c63d90e 01:56:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:56:22 ---> Running in 8f28c5503da0 01:56:22 Removing intermediate container 8f28c5503da0 01:56:22 ---> 4367f8f5a10e 01:56:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:56:22 ---> Running in 002437f7f0c8 01:56:22 Removing intermediate container 002437f7f0c8 01:56:22 ---> 1fdcdbdd46ae 01:56:22 Step 5/26 : WORKDIR /device-virtual-go 01:56:22 ---> Running in 76d7f9865f74 01:56:22 Removing intermediate container 76d7f9865f74 01:56:22 ---> 38225aae7196 01:56:22 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:22 ---> Running in a900237f9d98 01:56:23 Removing intermediate container a900237f9d98 01:56:23 ---> e4594036db85 01:56:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:56:23 ---> Running in 998b12e434c1 01:56:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:56:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:56:25 OK: 224 MiB in 56 packages 01:56:25 Removing intermediate container 998b12e434c1 01:56:25 ---> e9fd29914edf 01:56:25 Step 8/26 : COPY go.mod vendor* ./ 01:56:25 ---> 7d73c121cbf9 01:56:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:25 ---> Running in f4737a013499 01:56:26 Removing intermediate container f4737a013499 01:56:26 ---> 9e0792a81269 01:56:26 Step 10/26 : COPY . . 01:56:26 ---> 61c66800e73b 01:56:26 Step 11/26 : ARG MAKE='make build' 01:56:26 ---> Running in d980a14527f4 01:56:26 Removing intermediate container d980a14527f4 01:56:26 ---> e7c7821387b7 01:56:26 Step 12/26 : RUN $MAKE 01:56:26 ---> Running in e57ac44f7cf6 01:56:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.8" -o cmd/device-virtual ./cmd 01:56:39 Removing intermediate container e57ac44f7cf6 01:56:39 ---> 4497d59aa7c2 01:56:39 Step 13/26 : FROM alpine:3.14 01:56:39 3.14: Pulling from library/alpine 01:56:39 cfab2db72209: Pulling fs layer 01:56:39 cfab2db72209: Verifying Checksum 01:56:39 cfab2db72209: Download complete 01:56:39 cfab2db72209: Pull complete 01:56:39 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 01:56:39 Status: Downloaded newer image for alpine:3.14 01:56:39 ---> 84b07dd2d1fd 01:56:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:56:40 ---> Running in 30697f7fac49 01:56:40 Removing intermediate container 30697f7fac49 01:56:40 ---> 9dd44e26ae2d 01:56:40 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:40 ---> Running in 0e185acf6d76 01:56:40 Removing intermediate container 0e185acf6d76 01:56:40 ---> d0691cb4ba5f 01:56:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:56:40 ---> Running in 7866b931bb7a 01:56:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:56:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:56:42 (1/6) Installing dumb-init (1.2.5-r1) 01:56:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:56:42 (3/6) Installing libsodium (1.0.18-r0) 01:56:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:56:42 (5/6) Installing libzmq (4.3.4-r0) 01:56:42 (6/6) Installing zeromq (4.3.4-r0) 01:56:42 Executing busybox-1.33.1-r6.trigger 01:56:42 OK: 8 MiB in 20 packages 01:56:42 Removing intermediate container 7866b931bb7a 01:56:42 ---> 68a9a9138f8e 01:56:42 Step 17/26 : WORKDIR / 01:56:42 ---> Running in 7b8c60a7425d 01:56:43 Removing intermediate container 7b8c60a7425d 01:56:43 ---> 046464f1fe0d 01:56:43 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:56:43 ---> 0e7032f79ab4 01:56:43 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:56:43 ---> c4fc54c6fc5c 01:56:43 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:56:43 ---> c43ede430f0d 01:56:43 Step 21/26 : EXPOSE 59900 01:56:43 ---> Running in a3558675ed89 01:56:43 Removing intermediate container a3558675ed89 01:56:43 ---> 41a974882ece 01:56:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:56:43 ---> Running in ba2df838b2a5 01:56:43 Removing intermediate container ba2df838b2a5 01:56:43 ---> eab95922b63a 01:56:43 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:56:43 ---> Running in effd493b4ef7 01:56:44 Removing intermediate container effd493b4ef7 01:56:44 ---> 53e61ac01700 01:56:44 Step 24/26 : LABEL arch=amd64 01:56:44 ---> Running in 6d31a689b841 01:56:44 Removing intermediate container 6d31a689b841 01:56:44 ---> b8fd63fd59e5 01:56:44 Step 25/26 : LABEL git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 01:56:44 ---> Running in f52b2ee9eeed 01:56:44 Removing intermediate container f52b2ee9eeed 01:56:44 ---> 566ebc8aa544 01:56:44 Step 26/26 : LABEL version=2.2.0-dev.8 01:56:44 ---> Running in b36e6d218746 01:56:44 Removing intermediate container b36e6d218746 01:56:44 ---> 3fcf00da2147 01:56:44 [Warning] One or more build-args [ARCH] were not consumed 01:56:44 Successfully built 3fcf00da2147 01:56:44 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:44 provisioning config files... 01:56:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2875248802593728099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:44 ---> docker-login.sh 01:56:44 nexus3.edgexfoundry.org:10001 01:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:44 Configure a credential helper to remove this warning. See 01:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:44 01:56:44 Login Succeeded 01:56:44 nexus3.edgexfoundry.org:10002 01:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:44 Configure a credential helper to remove this warning. See 01:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:44 01:56:44 Login Succeeded 01:56:44 nexus3.edgexfoundry.org:10003 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 nexus3.edgexfoundry.org:10004 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 docker.io 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 ---> docker-login.sh ends [Pipeline] } 01:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:45 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 01:56:45 ab35c68c7da578f7489f6019108ca23722e6e5b0 01:56:45 latest 01:56:45 2.2.0-dev.8 01:56:45 ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 01:56:45 main 01:56:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:56:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] isUnix [Pipeline] sh 01:56:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 01:56:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:46 11e9f5e0255e: Preparing 01:56:46 47333151b2f5: Preparing 01:56:46 db6aa3235bfb: Preparing 01:56:46 3249a3ad7e38: Preparing 01:56:46 a1dc810ce12c: Preparing 01:56:46 736164617a66: Preparing 01:56:46 736164617a66: Waiting 01:56:46 db6aa3235bfb: Pushed 01:56:46 47333151b2f5: Pushed 01:56:46 a1dc810ce12c: Pushed 01:56:46 736164617a66: Layer already exists 01:56:46 3249a3ad7e38: Pushed 01:56:48 11e9f5e0255e: Pushed 01:56:48 ab35c68c7da578f7489f6019108ca23722e6e5b0: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh 01:56:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 01:56:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 01:56:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:49 11e9f5e0255e: Preparing 01:56:49 47333151b2f5: Preparing 01:56:49 db6aa3235bfb: Preparing 01:56:49 3249a3ad7e38: Preparing 01:56:49 a1dc810ce12c: Preparing 01:56:49 736164617a66: Preparing 01:56:49 736164617a66: Waiting 01:56:49 a1dc810ce12c: Layer already exists 01:56:49 47333151b2f5: Layer already exists 01:56:49 3249a3ad7e38: Layer already exists 01:56:49 db6aa3235bfb: Layer already exists 01:56:49 11e9f5e0255e: Layer already exists 01:56:49 736164617a66: Layer already exists 01:56:49 latest: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh 01:56:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 01:56:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 01:56:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:49 11e9f5e0255e: Preparing 01:56:49 47333151b2f5: Preparing 01:56:49 db6aa3235bfb: Preparing 01:56:49 3249a3ad7e38: Preparing 01:56:49 a1dc810ce12c: Preparing 01:56:49 736164617a66: Preparing 01:56:49 736164617a66: Waiting 01:56:49 3249a3ad7e38: Layer already exists 01:56:49 db6aa3235bfb: Layer already exists 01:56:49 a1dc810ce12c: Layer already exists 01:56:49 11e9f5e0255e: Layer already exists 01:56:49 47333151b2f5: Layer already exists 01:56:49 736164617a66: Layer already exists 01:56:49 2.2.0-dev.8: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh 01:56:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 01:56:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 01:56:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:50 11e9f5e0255e: Preparing 01:56:50 47333151b2f5: Preparing 01:56:50 db6aa3235bfb: Preparing 01:56:50 3249a3ad7e38: Preparing 01:56:50 a1dc810ce12c: Preparing 01:56:50 736164617a66: Preparing 01:56:50 736164617a66: Waiting 01:56:50 a1dc810ce12c: Layer already exists 01:56:50 db6aa3235bfb: Layer already exists 01:56:50 11e9f5e0255e: Layer already exists 01:56:50 3249a3ad7e38: Layer already exists 01:56:50 47333151b2f5: Layer already exists 01:56:50 736164617a66: Layer already exists 01:56:50 ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] isUnix [Pipeline] sh 01:56:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 01:56:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 01:56:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:56:51 11e9f5e0255e: Preparing 01:56:51 47333151b2f5: Preparing 01:56:51 db6aa3235bfb: Preparing 01:56:51 3249a3ad7e38: Preparing 01:56:51 a1dc810ce12c: Preparing 01:56:51 736164617a66: Preparing 01:56:51 db6aa3235bfb: Layer already exists 01:56:51 11e9f5e0255e: Layer already exists 01:56:51 47333151b2f5: Layer already exists 01:56:51 3249a3ad7e38: Layer already exists 01:56:51 a1dc810ce12c: Layer already exists 01:56:51 736164617a66: Layer already exists 01:56:51 main: digest: sha256:ce994964026f6745d42e7a1d722cdd46ad22572a5901e05758629c00c740ba43 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:51 ===================================================== [Pipeline] echo 01:56:51 taggedImages: 01:56:51 - nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0 01:56:51 - nexus3.edgexfoundry.org:10004/device-virtual:latest 01:56:51 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.8 01:56:51 - nexus3.edgexfoundry.org:10004/device-virtual:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 01:56:51 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [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 01:56:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:51 01:56:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:56:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:51 latest: Pulling from edgex-lftools-log-publisher 01:56:51 5eb5b503b376: Pulling fs layer 01:56:51 5c69ac0246d0: Pulling fs layer 01:56:51 ec43610c2a17: Pulling fs layer 01:56:51 3a2ae6a8a46f: Pulling fs layer 01:56:51 33b1e0a273af: Pulling fs layer 01:56:51 5d3b04190fa2: Pulling fs layer 01:56:51 2f39f015ded8: Pulling fs layer 01:56:51 3a2ae6a8a46f: Waiting 01:56:51 33b1e0a273af: Waiting 01:56:51 5d3b04190fa2: Waiting 01:56:51 2f39f015ded8: Waiting 01:56:51 5c69ac0246d0: Verifying Checksum 01:56:51 5c69ac0246d0: Download complete 01:56:51 3a2ae6a8a46f: Verifying Checksum 01:56:51 3a2ae6a8a46f: Download complete 01:56:51 ec43610c2a17: Verifying Checksum 01:56:51 ec43610c2a17: Download complete 01:56:51 33b1e0a273af: Verifying Checksum 01:56:51 33b1e0a273af: Download complete 01:56:51 5d3b04190fa2: Verifying Checksum 01:56:51 5d3b04190fa2: Download complete 01:56:52 5eb5b503b376: Verifying Checksum 01:56:52 5eb5b503b376: Download complete 01:56:52 2f39f015ded8: Download complete 01:56:53 5eb5b503b376: Pull complete 01:56:53 5c69ac0246d0: Pull complete 01:56:53 ec43610c2a17: Pull complete 01:56:53 3a2ae6a8a46f: Pull complete 01:56:54 33b1e0a273af: Pull complete 01:56:54 5d3b04190fa2: Pull complete 01:56:58 2f39f015ded8: Pull complete 01:56:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:56:58 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 01:56:58 $ 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 01:57:00 $ docker top 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:00 ---> job-cost.sh 01:57:00 lf-activate-venv: SKIPPING 01:57:00 INFO: No Stack... 01:57:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:01 INFO: Archiving Costs [Pipeline] sh 01:57:01 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 01:57:01 + cut -d, -f6 [Pipeline] lock 01:57:01 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] 01:57:01 Resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] did not exist. Created. 01:57:01 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:57:01 + echo total: 0.2199999988079071 [Pipeline] stash 01:57:02 Stashed 1 file(s) [Pipeline] } 01:57:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 01:57:02 $ docker stop --time=1 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b 01:57:03 $ docker rm -f 64a055d245b1d7e3a2ed8a6f3ec83bb1606b3525b9fdebaf3cacbebd88c9303b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10375 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 01:59:21 Running in /w/workspace/device-virtual-go/24 [Pipeline] { [Pipeline] checkout 01:59:21 The recommended git tool is: git 01:59:29 using credential edgex-jenkins-ssh 01:59:29 Cloning the remote Git repository 01:59:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:59:29 > git init /w/workspace/device-virtual-go/24 # timeout=10 01:59:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:59:29 > git --version # timeout=10 01:59:29 > git --version # 'git version 2.25.1' 01:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:59:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:32 Avoid second fetch 01:59:32 Checking out Revision ab35c68c7da578f7489f6019108ca23722e6e5b0 (main) 01:59:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:59:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:32 > git config core.sparsecheckout # timeout=10 01:59:32 > git checkout -f ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 01:59:37 Commit message: "Merge pull request #272 from bnevis-i/version-bump" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:59:38 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:38 Dload Upload Total Spent Left Speed 01:59:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 41700 0 --:--:-- --:--:-- --:--:-- 41700 [Pipeline] sh 01:59:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:59:39 + sudo tee /etc/docker/daemon.new 01:59:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:59:39 { 01:59:39 "registry-mirrors": [ 01:59:39 "https://nexus3.edgexfoundry.org:10001" 01:59:39 ], 01:59:39 "bip": "10.250.0.254/24", 01:59:39 "hosts": [ 01:59:39 "tcp://0.0.0.0:5555", 01:59:39 "unix:///var/run/docker.sock" 01:59:39 ], 01:59:39 "mtu": 1458, 01:59:39 "selinux-enabled": true, 01:59:39 "seccomp-profile": "/etc/docker/seccomp.json" 01:59:39 } [Pipeline] sh 01:59:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:59:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:58 provisioning config files... 01:59:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/24@tmp/config8117358779807913335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:59 ---> docker-login.sh 01:59:59 nexus3.edgexfoundry.org:10001 01:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:00 Configure a credential helper to remove this warning. See 02:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:00 02:00:00 Login Succeeded 02:00:00 nexus3.edgexfoundry.org:10002 02:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:00 Configure a credential helper to remove this warning. See 02:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:00 02:00:00 Login Succeeded 02:00:00 nexus3.edgexfoundry.org:10003 02:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:00 Configure a credential helper to remove this warning. See 02:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:00 02:00:00 Login Succeeded 02:00:00 nexus3.edgexfoundry.org:10004 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 docker.io 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:02 Configure a credential helper to remove this warning. See 02:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:02 02:00:02 Login Succeeded 02:00:02 ---> docker-login.sh ends [Pipeline] } 02:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:02 ========================================================= 02:00:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:00:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:00:03 + 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 . 02:00:03 Sending build context to Docker daemon 11.55MB 02:00:03 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:00:03 Step 2/12 : FROM ${BASE} AS builder 02:00:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:00:03 9b3977197b4f: Pulling fs layer 02:00:03 1a89e8eeedd5: Pulling fs layer 02:00:03 94645a83ff95: Pulling fs layer 02:00:03 3f3a8bcf1eab: Pulling fs layer 02:00:03 0c92f367c5e7: Pulling fs layer 02:00:03 f7c0051592d6: Pulling fs layer 02:00:03 a227ed2f7395: Pulling fs layer 02:00:03 7b1c46037f91: Pulling fs layer 02:00:03 f7c0051592d6: Waiting 02:00:03 a227ed2f7395: Waiting 02:00:03 7b1c46037f91: Waiting 02:00:03 3f3a8bcf1eab: Waiting 02:00:03 0c92f367c5e7: Waiting 02:00:03 94645a83ff95: Verifying Checksum 02:00:03 94645a83ff95: Download complete 02:00:03 1a89e8eeedd5: Verifying Checksum 02:00:03 1a89e8eeedd5: Download complete 02:00:03 0c92f367c5e7: Download complete 02:00:03 f7c0051592d6: Verifying Checksum 02:00:03 f7c0051592d6: Download complete 02:00:04 9b3977197b4f: Verifying Checksum 02:00:04 9b3977197b4f: Download complete 02:00:04 a227ed2f7395: Verifying Checksum 02:00:04 a227ed2f7395: Download complete 02:00:04 9b3977197b4f: Pull complete 02:00:05 1a89e8eeedd5: Pull complete 02:00:05 94645a83ff95: Pull complete 02:00:05 7b1c46037f91: Verifying Checksum 02:00:05 7b1c46037f91: Download complete 02:00:06 3f3a8bcf1eab: Verifying Checksum 02:00:06 3f3a8bcf1eab: Download complete 02:00:19 3f3a8bcf1eab: Pull complete 02:00:19 0c92f367c5e7: Pull complete 02:00:19 f7c0051592d6: Pull complete 02:00:19 a227ed2f7395: Pull complete 02:00:26 7b1c46037f91: Pull complete 02:00:26 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:00:26 ---> f79e39bc4007 02:00:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:00:27 ---> Running in 7687f4f80246 02:00:27 Removing intermediate container 7687f4f80246 02:00:27 ---> e95c596b5552 02:00:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:00:27 ---> Running in affb434fb90a 02:00:28 Removing intermediate container affb434fb90a 02:00:28 ---> 270a0c88954e 02:00:28 Step 5/12 : WORKDIR /device-virtual-go 02:00:28 ---> Running in 43bb9d84752b 02:00:28 Removing intermediate container 43bb9d84752b 02:00:28 ---> f52caadc9ee7 02:00:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:28 ---> Running in 79fe920ec699 02:00:30 Removing intermediate container 79fe920ec699 02:00:30 ---> 561c6ca80d55 02:00:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:30 ---> Running in 0bf44eb2b781 02:00:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:00:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:00:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:00:33 (2/4) Installing libedit (20210910.3.1-r0) 02:00:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:00:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:00:33 Executing busybox-1.34.1-r3.trigger 02:00:33 OK: 224 MiB in 56 packages 02:00:34 Removing intermediate container 0bf44eb2b781 02:00:34 ---> ba83f1c61256 02:00:34 Step 8/12 : COPY go.mod vendor* ./ 02:00:35 ---> d7d9f199ed4c 02:00:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:35 ---> Running in 55cf140badee 02:01:22 Removing intermediate container 55cf140badee 02:01:22 ---> 384445dca51c 02:01:22 Step 10/12 : COPY . . 02:01:22 ---> 0ffcca47b0da 02:01:22 Step 11/12 : ARG MAKE='make build' 02:01:22 ---> Running in a58986a48fc3 02:01:22 Removing intermediate container a58986a48fc3 02:01:22 ---> 74b12d5b9f24 02:01:22 Step 12/12 : RUN $MAKE 02:01:22 ---> Running in 4b79c90cc2b1 02:01:23 noop 02:01:24 Removing intermediate container 4b79c90cc2b1 02:01:24 ---> 25654f58c62d 02:01:24 Successfully built 25654f58c62d 02:01:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:01:24 + docker inspect -f . ci-base-image-arm64 02:01:24 . [Pipeline] withDockerContainer 02:01:24 prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container 02:01:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:01:26 $ docker top 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:27 + go version 02:01:27 go version go1.17.6 linux/arm64 [Pipeline] } 02:01:27 $ docker stop --time=1 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 02:01:28 $ docker rm -f 6693702936f3bd2443e5a118a3e867317b2c61843a66b12a5fc67c6ec4be2a58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:01:29 + docker inspect -f . ci-base-image-arm64 02:01:29 . [Pipeline] withDockerContainer 02:01:29 prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container 02:01:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:01:30 $ docker top 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:01:31 + make test 02:01:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:01:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:02:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:02:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 65.7% of statements 02:02:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:03:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:03:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:03:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:03:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:03:17 $ docker stop --time=1 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 02:03:19 $ docker rm -f 37982dba61d1970ca6c7fa3d8fc04aa860b0c36f88053b1e47a5d50dcaaa8eb2 [Pipeline] // withDockerContainer [Pipeline] sh 02:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:20 Warning: overwriting stash ‘coverage-report’ 02:03:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:21 + ls -al . 02:03:21 total 176 02:03:21 drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 02:03 . 02:03:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 01:59 .. 02:03:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 01:59 .git 02:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:59 .github 02:03:21 -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 01:59 .gitignore 02:03:21 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 01:59 Attribution.txt 02:03:21 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 01:59 CHANGELOG.md 02:03:21 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 01:59 Dockerfile 02:03:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 01:59 GOVERNANCE.md 02:03:21 -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 01:59 Jenkinsfile 02:03:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 01:59 LICENSE 02:03:21 -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 01:59 Makefile 02:03:21 -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 01:59 OWNERS.md 02:03:21 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 01:59 README.md 02:03:21 -rw-rw-r-- 1 jenkins jenkins 11 Apr 1 01:55 VERSION 02:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 01:59 bin 02:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:59 cmd 02:03:21 -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 02:02 coverage.out 02:03:21 -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 01:59 go.mod 02:03:21 -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 01:59 go.sum 02:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 01:59 internal 02:03:21 -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 01:59 version.go [Pipeline] isUnix [Pipeline] sh 02:03:22 + 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=ab35c68c7da578f7489f6019108ca23722e6e5b0 --label arch=arm64 --label version=2.2.0-dev.8 . 02:03:22 Sending build context to Docker daemon 11.6MB 02:03:22 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:03:22 Step 2/26 : FROM ${BASE} AS builder 02:03:22 ---> 25654f58c62d 02:03:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:03:22 ---> Running in 77992af77085 02:03:22 Removing intermediate container 77992af77085 02:03:22 ---> c711ded406a0 02:03:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:03:22 ---> Running in e735dabac894 02:03:23 Removing intermediate container e735dabac894 02:03:23 ---> c964fefce748 02:03:23 Step 5/26 : WORKDIR /device-virtual-go 02:03:23 ---> Running in 81a7cba7c819 02:03:23 Removing intermediate container 81a7cba7c819 02:03:23 ---> e4340e913879 02:03:23 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:03:23 ---> Running in a4085da354b3 02:03:25 Removing intermediate container a4085da354b3 02:03:25 ---> 096bc10bc2a7 02:03:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:25 ---> Running in 04dd167856a9 02:03:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:03:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:03:28 OK: 224 MiB in 56 packages 02:03:28 Removing intermediate container 04dd167856a9 02:03:28 ---> 325f0759fb09 02:03:28 Step 8/26 : COPY go.mod vendor* ./ 02:03:29 ---> ece3b00fa529 02:03:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:29 ---> Running in 4e05c81f8472 02:03:31 Removing intermediate container 4e05c81f8472 02:03:31 ---> 082b49984945 02:03:31 Step 10/26 : COPY . . 02:03:32 ---> bf9b0bf6996a 02:03:32 Step 11/26 : ARG MAKE='make build' 02:03:32 ---> Running in f1f64b7d5ced 02:03:32 Removing intermediate container f1f64b7d5ced 02:03:32 ---> c6f230927d45 02:03:32 Step 12/26 : RUN $MAKE 02:03:32 ---> Running in b41f3792f229 02:03:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.8" -o cmd/device-virtual ./cmd 02:04:55 Removing intermediate container b41f3792f229 02:04:55 ---> d19ed5d28b29 02:04:55 Step 13/26 : FROM alpine:3.14 02:04:55 3.14: Pulling from library/alpine 02:04:55 810d54c7e01b: Pulling fs layer 02:04:55 810d54c7e01b: Verifying Checksum 02:04:55 810d54c7e01b: Download complete 02:04:55 810d54c7e01b: Pull complete 02:04:55 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 02:04:55 Status: Downloaded newer image for alpine:3.14 02:04:55 ---> cc3d11fa2d52 02:04:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:04:55 ---> Running in bb142cdedd0b 02:04:55 Removing intermediate container bb142cdedd0b 02:04:55 ---> fc964f4a8b7d 02:04:55 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:04:55 ---> Running in b48b73f38df1 02:04:55 Removing intermediate container b48b73f38df1 02:04:55 ---> fa7ee90ab8ee 02:04:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:04:55 ---> Running in dd3d6a0390f6 02:04:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:04:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:04:55 (1/6) Installing dumb-init (1.2.5-r1) 02:04:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:04:55 (3/6) Installing libsodium (1.0.18-r0) 02:04:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:04:55 (5/6) Installing libzmq (4.3.4-r0) 02:04:55 (6/6) Installing zeromq (4.3.4-r0) 02:04:55 Executing busybox-1.33.1-r6.trigger 02:04:55 OK: 8 MiB in 20 packages 02:04:55 Removing intermediate container dd3d6a0390f6 02:04:55 ---> 111ba6a963b6 02:04:55 Step 17/26 : WORKDIR / 02:04:55 ---> Running in 3200aab3d15f 02:04:55 Removing intermediate container 3200aab3d15f 02:04:55 ---> 8c7979105e64 02:04:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:04:55 ---> 586fb7d22428 02:04:55 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:04:55 ---> ab406b0da84b 02:04:55 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:04:56 ---> d9f980a8747e 02:04:56 Step 21/26 : EXPOSE 59900 02:04:56 ---> Running in 966718f83a24 02:04:56 Removing intermediate container 966718f83a24 02:04:56 ---> ea325fc313c2 02:04:56 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:04:57 ---> Running in f2b175680c22 02:04:57 Removing intermediate container f2b175680c22 02:04:57 ---> 09f56cbe2e61 02:04:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:04:57 ---> Running in b4d4944f5249 02:04:57 Removing intermediate container b4d4944f5249 02:04:57 ---> cf931009ee2f 02:04:57 Step 24/26 : LABEL arch=arm64 02:04:57 ---> Running in da3266ae5273 02:04:58 Removing intermediate container da3266ae5273 02:04:58 ---> e200d3000cb8 02:04:58 Step 25/26 : LABEL git_sha=ab35c68c7da578f7489f6019108ca23722e6e5b0 02:04:58 ---> Running in c89df53619f8 02:04:58 Removing intermediate container c89df53619f8 02:04:58 ---> 542f75cd63d8 02:04:58 Step 26/26 : LABEL version=2.2.0-dev.8 02:04:58 ---> Running in 269ce8f47db3 02:04:58 Removing intermediate container 269ce8f47db3 02:04:58 ---> 61278df5a5df 02:04:58 [Warning] One or more build-args [ARCH] were not consumed 02:04:58 Successfully built 61278df5a5df 02:04:58 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 02:04:58 provisioning config files... 02:04:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/24@tmp/config4709499364797051273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:59 ---> docker-login.sh 02:04:59 nexus3.edgexfoundry.org:10001 02:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:59 Configure a credential helper to remove this warning. See 02:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:59 02:04:59 Login Succeeded 02:04:59 nexus3.edgexfoundry.org:10002 02:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:00 Configure a credential helper to remove this warning. See 02:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:00 02:05:00 Login Succeeded 02:05:00 nexus3.edgexfoundry.org:10003 02:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:00 Configure a credential helper to remove this warning. See 02:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:00 02:05:00 Login Succeeded 02:05:00 nexus3.edgexfoundry.org:10004 02:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:01 Configure a credential helper to remove this warning. See 02:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:01 02:05:01 Login Succeeded 02:05:01 docker.io 02:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:02 Configure a credential helper to remove this warning. See 02:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:02 02:05:02 Login Succeeded 02:05:02 ---> docker-login.sh ends [Pipeline] } 02:05:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:05:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:02 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:05:02 ab35c68c7da578f7489f6019108ca23722e6e5b0 02:05:02 latest 02:05:02 2.2.0-dev.8 02:05:02 ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 02:05:02 main 02:05:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] isUnix [Pipeline] sh 02:05:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 02:05:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:05:02 d7e31f7501ea: Preparing 02:05:02 6e8a7623f0b3: Preparing 02:05:02 ccd021488f39: Preparing 02:05:02 ddb8f10b2948: Preparing 02:05:02 47dbf3f67614: Preparing 02:05:02 b94faa188151: Preparing 02:05:02 b94faa188151: Waiting 02:05:03 6e8a7623f0b3: Pushed 02:05:03 ccd021488f39: Pushed 02:05:03 47dbf3f67614: Pushed 02:05:03 b94faa188151: Layer already exists 02:05:03 ddb8f10b2948: Pushed 02:05:08 d7e31f7501ea: Pushed 02:05:08 ab35c68c7da578f7489f6019108ca23722e6e5b0: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:05:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:05:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:05:08 d7e31f7501ea: Preparing 02:05:08 6e8a7623f0b3: Preparing 02:05:08 ccd021488f39: Preparing 02:05:08 ddb8f10b2948: Preparing 02:05:08 47dbf3f67614: Preparing 02:05:08 b94faa188151: Preparing 02:05:08 b94faa188151: Waiting 02:05:08 ddb8f10b2948: Layer already exists 02:05:08 d7e31f7501ea: Layer already exists 02:05:08 6e8a7623f0b3: Layer already exists 02:05:08 47dbf3f67614: Layer already exists 02:05:08 ccd021488f39: Layer already exists 02:05:08 b94faa188151: Layer already exists 02:05:09 latest: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:05:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 02:05:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 02:05:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:05:09 d7e31f7501ea: Preparing 02:05:09 6e8a7623f0b3: Preparing 02:05:09 ccd021488f39: Preparing 02:05:09 ddb8f10b2948: Preparing 02:05:09 47dbf3f67614: Preparing 02:05:09 b94faa188151: Preparing 02:05:09 d7e31f7501ea: Layer already exists 02:05:09 ddb8f10b2948: Layer already exists 02:05:09 ccd021488f39: Layer already exists 02:05:09 47dbf3f67614: Layer already exists 02:05:09 6e8a7623f0b3: Layer already exists 02:05:09 b94faa188151: Layer already exists 02:05:10 2.2.0-dev.8: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:05:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 02:05:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 02:05:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:05:10 d7e31f7501ea: Preparing 02:05:10 6e8a7623f0b3: Preparing 02:05:10 ccd021488f39: Preparing 02:05:10 ddb8f10b2948: Preparing 02:05:10 47dbf3f67614: Preparing 02:05:10 b94faa188151: Preparing 02:05:10 b94faa188151: Waiting 02:05:10 ccd021488f39: Layer already exists 02:05:10 6e8a7623f0b3: Layer already exists 02:05:10 47dbf3f67614: Layer already exists 02:05:10 d7e31f7501ea: Layer already exists 02:05:10 ddb8f10b2948: Layer already exists 02:05:10 b94faa188151: Layer already exists 02:05:11 ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:05:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 02:05:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:05:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:05:11 d7e31f7501ea: Preparing 02:05:11 6e8a7623f0b3: Preparing 02:05:11 ccd021488f39: Preparing 02:05:11 ddb8f10b2948: Preparing 02:05:11 47dbf3f67614: Preparing 02:05:11 b94faa188151: Preparing 02:05:11 b94faa188151: Waiting 02:05:11 ddb8f10b2948: Layer already exists 02:05:11 6e8a7623f0b3: Layer already exists 02:05:11 47dbf3f67614: Layer already exists 02:05:11 ccd021488f39: Layer already exists 02:05:11 d7e31f7501ea: Layer already exists 02:05:11 b94faa188151: Layer already exists 02:05:12 main: digest: sha256:ba2734f5279ce3db1508e4c85080011f1ec5807c26c36d3eaa38103081b6fa00 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:05:12 ===================================================== [Pipeline] echo 02:05:12 taggedImages: 02:05:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0 02:05:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:05:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.8 02:05:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:ab35c68c7da578f7489f6019108ca23722e6e5b0-2.2.0-dev.8 02:05:12 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:12 02:05:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:05:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:13 arm64: Pulling from edgex-lftools-log-publisher 02:05:13 8998bd30e6a1: Pulling fs layer 02:05:13 04944245beec: Pulling fs layer 02:05:13 699f458cf7ca: Pulling fs layer 02:05:13 765212b225bb: Pulling fs layer 02:05:13 f23df028b6ca: Pulling fs layer 02:05:13 d65c8cfc05b1: Pulling fs layer 02:05:13 2437ff75d9bd: Pulling fs layer 02:05:13 f23df028b6ca: Waiting 02:05:13 d65c8cfc05b1: Waiting 02:05:13 2437ff75d9bd: Waiting 02:05:13 765212b225bb: Waiting 02:05:13 04944245beec: Verifying Checksum 02:05:13 04944245beec: Download complete 02:05:13 765212b225bb: Verifying Checksum 02:05:13 765212b225bb: Download complete 02:05:13 f23df028b6ca: Download complete 02:05:13 d65c8cfc05b1: Verifying Checksum 02:05:13 d65c8cfc05b1: Download complete 02:05:13 699f458cf7ca: Verifying Checksum 02:05:13 699f458cf7ca: Download complete 02:05:13 8998bd30e6a1: Verifying Checksum 02:05:13 8998bd30e6a1: Download complete 02:05:15 2437ff75d9bd: Verifying Checksum 02:05:15 2437ff75d9bd: Download complete 02:05:17 8998bd30e6a1: Pull complete 02:05:18 04944245beec: Pull complete 02:05:19 699f458cf7ca: Pull complete 02:05:19 765212b225bb: Pull complete 02:05:20 f23df028b6ca: Pull complete 02:05:21 d65c8cfc05b1: Pull complete 02:05:36 2437ff75d9bd: Pull complete 02:05:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:05:36 prd-ubuntu20.04-docker-arm64-4c-16g-10375 does not seem to be running inside a container 02:05:36 $ 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/24 -v /w/workspace/device-virtual-go/24:/w/workspace/device-virtual-go/24:rw,z -v /w/workspace/device-virtual-go/24@tmp:/w/workspace/device-virtual-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:05:39 $ docker top df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:39 ---> job-cost.sh 02:05:39 lf-activate-venv: SKIPPING 02:05:39 INFO: No Stack... 02:05:40 INFO: Retrieving Pricing Info for: v3-standard-4 02:05:41 INFO: Archiving Costs [Pipeline] sh 02:05:41 + cat /w/workspace/device-virtual-go/24/archives/cost.csv 02:05:41 + cut -d, -f6 [Pipeline] lock 02:05:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] 02:05:41 Resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] did not exist. Created. 02:05:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:42 /w/workspace/device-virtual-go/24@tmp/durable-9bf46879/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:05:43 + echo total: 0.10999999940395355 [Pipeline] stash 02:05:43 Warning: overwriting stash ‘stack-cost’ 02:05:43 Stashed 1 file(s) [Pipeline] } 02:05:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:43 $ docker stop --time=1 df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd 02:05:44 $ docker rm -f df88bd1ae4b8d37cbd452c0acd80dab8146430e59dc400e912b331fb11afb5fd [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 02:05:45 provisioning config files... 02:05:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3310836207888754244tmp [Pipeline] { [Pipeline] sh 02:05:45 + set +x 02:05:45 + curl -s https://codecov.io/bash 02:05:45 + bash -s -- 02:05:45 02:05:45 _____ _ 02:05:45 / ____| | | 02:05:45 | | ___ __| | ___ ___ _____ __ 02:05:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:45 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:45 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:45 Bash-1.0.6 02:05:45 02:05:45 02:05:45 ==> git version 2.25.1 found 02:05:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:05:45 Release-Date: 2020-01-08 02:05:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:05:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:05:45 ==> Jenkins CI detected. 02:05:45 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:05:45 project root: . 02:05:45 --> token set from env 02:05:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:45 ==> Running gcov in . (disable via -X gcov) 02:05:45 ==> Python coveragepy not found 02:05:45 ==> Searching for coverage reports in: 02:05:45 + . 02:05:45 -> Found 1 reports 02:05:45 ==> Detecting git/mercurial file structure 02:05:45 ==> Reading reports 02:05:45 + ./coverage.out bytes=44128 02:05:45 ==> Appending adjustments 02:05:45 https://docs.codecov.io/docs/fixing-reports 02:05:45 + Found adjustments 02:05:45 ==> Gzipping contents 02:05:45 8.0K /tmp/codecov.HNNA6p.gz 02:05:45 ==> Uploading reports 02:05:45 url: https://codecov.io 02:05:45 query: branch=main&commit=ab35c68c7da578f7489f6019108ca23722e6e5b0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:45 -> Pinging Codecov 02:05:45 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=ab35c68c7da578f7489f6019108ca23722e6e5b0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:46 -> Uploading to 02:05:46 https://storage.googleapis.com/codecov/v4/raw/2022-04-01/5E52B4B073DB2E39498172D8E973AA87/ab35c68c7da578f7489f6019108ca23722e6e5b0/7be896fb-2a57-46f9-9f08-91b2e527cf67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T020546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eae1170bf42d9e2f18dcfe3581e3877280a9b586228bb65d5011c874d8b39365 02:05:46 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:46 Dload Upload Total Spent Left Speed 02:05:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5293 0 0 100 5293 0 24059 --:--:-- --:--:-- --:--:-- 23950 100 5293 0 0 100 5293 0 22913 --:--:-- --:--:-- --:--:-- 22814 02:05:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] } 02:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:05:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:05:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:47 02:05:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:05:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:05:47 188c0c94c7c5: Pulling fs layer 02:05:47 0ef7d3d256c8: Pulling fs layer 02:05:47 de9db76c5a1d: Pulling fs layer 02:05:47 0eba1c9be4d2: Pulling fs layer 02:05:47 0d57e429df01: Pulling fs layer 02:05:47 4e4be7b47b0d: Pulling fs layer 02:05:47 e1f770b5df2f: Pulling fs layer 02:05:47 85a0685a4137: Pulling fs layer 02:05:47 0eba1c9be4d2: Waiting 02:05:47 0d57e429df01: Waiting 02:05:47 e1f770b5df2f: Waiting 02:05:47 85a0685a4137: Waiting 02:05:47 4e4be7b47b0d: Waiting 02:05:47 de9db76c5a1d: Verifying Checksum 02:05:47 de9db76c5a1d: Download complete 02:05:47 0ef7d3d256c8: Verifying Checksum 02:05:47 0ef7d3d256c8: Download complete 02:05:47 0d57e429df01: Verifying Checksum 02:05:47 0d57e429df01: Download complete 02:05:47 4e4be7b47b0d: Verifying Checksum 02:05:47 4e4be7b47b0d: Download complete 02:05:47 188c0c94c7c5: Verifying Checksum 02:05:47 188c0c94c7c5: Download complete 02:05:47 188c0c94c7c5: Pull complete 02:05:47 0ef7d3d256c8: Pull complete 02:05:47 e1f770b5df2f: Verifying Checksum 02:05:47 e1f770b5df2f: Download complete 02:05:47 de9db76c5a1d: Pull complete 02:05:48 0eba1c9be4d2: Verifying Checksum 02:05:48 0eba1c9be4d2: Download complete 02:05:48 85a0685a4137: Verifying Checksum 02:05:48 85a0685a4137: Download complete 02:05:51 0eba1c9be4d2: Pull complete 02:05:51 0d57e429df01: Pull complete 02:05:51 4e4be7b47b0d: Pull complete 02:05:51 e1f770b5df2f: Pull complete 02:05:55 85a0685a4137: Pull complete 02:05:55 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:05:55 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:05:55 $ 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 02:05:57 $ docker top 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 -eo pid,comm [Pipeline] { [Pipeline] echo 02:05:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:05:57 + set -o pipefail 02:05:57 + snyk monitor '--org=edgex-jenkins' 02:06:04 02:06:04 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:06:04 02:06:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/85dccb40-61c8-4984-b3a1-27101b409573 02:06:04 02:06:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:06:04 02:06:04 [Pipeline] } 02:06:04 $ docker stop --time=1 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 02:06:06 $ docker rm -f 3d7ac62300201e90904ef36dd48ae096c93f23e535989c08b8a77b41deeec102 [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 02:06:07 + git log --format=format:%s -1 ab35c68c7da578f7489f6019108ca23722e6e5b0 [Pipeline] sh 02:06:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:06:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:07 . [Pipeline] withDockerContainer 02:06:07 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:06:07 $ 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 02:06:08 $ docker top 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:08 [ssh-agent] Looking for ssh-agent implementation... 02:06:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:08 $ docker exec 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a ssh-agent 02:06:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlOCpaL/agent.14 02:06:08 SSH_AGENT_PID=20 02:06:08 Running ssh-add (command line suppressed) 02:06:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6041275550688716020.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6041275550688716020.key) 02:06:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:08 + git semver tag 02:06:08 # -> Open(): unable to determine branch for HEAD 02:06:08 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:06:08 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:06:08 # $SEMVER_REMOTE_NAME = origin 02:06:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:08 # $SEMVER_USER_NAME = edgex-jenkins 02:06:08 # $SEMVER_BRANCH = main 02:06:08 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:06:08 # ab35c68c7da578f7489f6019108ca23722e6e5b0 HEAD 02:06:08 # -> Force: false 02:06:08 # 5c2b880658a644149e687c6c20132dda32c3cf37 refs/tags/v2.2.0-dev.8 [Pipeline] } 02:06:08 $ docker exec --env ******** --env ******** 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a ssh-agent -k 02:06:09 unset SSH_AUTH_SOCK; 02:06:09 unset SSH_AGENT_PID; 02:06:09 echo Agent pid 20 killed; 02:06:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:09 + git semver [Pipeline] } 02:06:09 $ docker stop --time=1 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a 02:06:10 $ docker rm -f 4c1062051eb7a121ba3895833c735164d29003965270275ac2facdab0c14714a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:11 02:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:11 0.23.1-centos7: Pulling from edgex-lftools 02:06:11 ab5ef0e58194: Pulling fs layer 02:06:11 9712f1f96733: Pulling fs layer 02:06:11 63f879dbbcfc: Pulling fs layer 02:06:11 0d9ebad4ef96: Pulling fs layer 02:06:11 e9a5061849ea: Pulling fs layer 02:06:11 d747dcd14b5f: Pulling fs layer 02:06:11 2de7ff778b66: Pulling fs layer 02:06:11 e9a5061849ea: Waiting 02:06:11 d747dcd14b5f: Waiting 02:06:11 2de7ff778b66: Waiting 02:06:11 0d9ebad4ef96: Waiting 02:06:11 9712f1f96733: Download complete 02:06:11 63f879dbbcfc: Verifying Checksum 02:06:11 63f879dbbcfc: Download complete 02:06:11 e9a5061849ea: Verifying Checksum 02:06:11 e9a5061849ea: Download complete 02:06:11 d747dcd14b5f: Verifying Checksum 02:06:11 d747dcd14b5f: Download complete 02:06:11 0d9ebad4ef96: Verifying Checksum 02:06:11 0d9ebad4ef96: Download complete 02:06:11 ab5ef0e58194: Verifying Checksum 02:06:11 ab5ef0e58194: Download complete 02:06:11 2de7ff778b66: Verifying Checksum 02:06:11 2de7ff778b66: Download complete 02:06:14 ab5ef0e58194: Pull complete 02:06:14 9712f1f96733: Pull complete 02:06:15 63f879dbbcfc: Pull complete 02:06:18 0d9ebad4ef96: Pull complete 02:06:18 e9a5061849ea: Pull complete 02:06:18 d747dcd14b5f: Pull complete 02:06:19 2de7ff778b66: Pull complete 02:06:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:06:19 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:06:19 $ 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 02:06:22 $ docker top 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:06:22 provisioning config files... 02:06:22 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config753297017412645942tmp 02:06:22 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5688557502811570980tmp 02:06:22 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4374965756170699915tmp [Pipeline] { [Pipeline] echo 02:06:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:06:22 ---> sigul-configuration.sh 02:06:22 gpg: directory `/root/.gnupg' created 02:06:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:06:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:06:22 gpg: keyring `/root/.gnupg/secring.gpg' created 02:06:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:06:22 gpg: CAST5 encrypted data 02:06:22 gpg: encrypted with 1 passphrase 02:06:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:06:22 + mkdir /home/jenkins 02:06:22 + mkdir /home/jenkins/sigul [Pipeline] sh 02:06:23 + 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 02:06:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:06:23 ---> sigul-install.sh 02:06:23 Sigul already installed; skipping installation. [Pipeline] sh 02:06:23 + git tag --list 02:06:23 v1.0.0 02:06:23 v1.1.0 02:06:23 v1.1.1 02:06:23 v1.2.1 02:06:23 v1.2.2 02:06:23 v1.2.3 02:06:23 v1.3.0 02:06:23 v1.3.1 02:06:23 v2.0.0 02:06:23 v2.0.1-dev.1 02:06:23 v2.0.1-dev.10 02:06:23 v2.0.1-dev.11 02:06:23 v2.0.1-dev.12 02:06:23 v2.0.1-dev.13 02:06:23 v2.0.1-dev.14 02:06:23 v2.0.1-dev.15 02:06:23 v2.0.1-dev.2 02:06:23 v2.0.1-dev.3 02:06:23 v2.0.1-dev.4 02:06:23 v2.0.1-dev.5 02:06:23 v2.0.1-dev.6 02:06:23 v2.0.1-dev.7 02:06:23 v2.0.1-dev.8 02:06:23 v2.0.1-dev.9 02:06:23 v2.1.0 02:06:23 v2.2.0-dev.1 02:06:23 v2.2.0-dev.2 02:06:23 v2.2.0-dev.3 02:06:23 v2.2.0-dev.4 02:06:23 v2.2.0-dev.5 02:06:23 v2.2.0-dev.6 02:06:23 v2.2.0-dev.7 02:06:23 v2.2.0-dev.8 [Pipeline] sh 02:06:24 + lftools sign git-tag v2.2.0-dev.8 02:06:24 Signing Git tag with Sigul... 02:06:24 Signing v2.2.0-dev.8 [Pipeline] echo 02:06:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:06:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:06:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:06:25 $ docker stop --time=1 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd 02:06:26 $ docker rm -f 68af5e0d8605f21ce7ea069263df34cede2a886e9ef1de3e1991cbee6101a9fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:06:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:06:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:27 . [Pipeline] withDockerContainer 02:06:27 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:06:27 $ 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 02:06:28 $ docker top ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:28 [ssh-agent] Looking for ssh-agent implementation... 02:06:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:28 $ docker exec ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 ssh-agent 02:06:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNlAcnn/agent.14 02:06:28 SSH_AGENT_PID=21 02:06:28 Running ssh-add (command line suppressed) 02:06:28 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5081815682811365046.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5081815682811365046.key) 02:06:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:28 + git semver bump pre 02:06:28 # -> Open(): unable to determine branch for HEAD 02:06:28 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:06:28 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:06:28 # $SEMVER_REMOTE_NAME = origin 02:06:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:28 # $SEMVER_USER_NAME = edgex-jenkins 02:06:28 # $SEMVER_BRANCH = main 02:06:28 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:06:28 2.2.0-dev.9 [Pipeline] } 02:06:28 $ docker exec --env ******** --env ******** ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 ssh-agent -k 02:06:28 unset SSH_AUTH_SOCK; 02:06:28 unset SSH_AGENT_PID; 02:06:28 echo Agent pid 21 killed; 02:06:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:29 + git semver [Pipeline] } 02:06:29 $ docker stop --time=1 ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 02:06:30 $ docker rm -f ad9acc5672a232c93a8661dcf71a037bffd3b020e77a0c2373fc76cc3391fb62 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:06:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:31 . [Pipeline] withDockerContainer 02:06:31 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:06: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 02:06:31 $ docker top 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:31 [ssh-agent] Looking for ssh-agent implementation... 02:06:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:31 $ docker exec 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa ssh-agent 02:06:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPfJAde/agent.13 02:06:32 SSH_AGENT_PID=19 02:06:32 Running ssh-add (command line suppressed) 02:06:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2759324679259721808.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2759324679259721808.key) 02:06:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:32 + git semver push 02:06:32 # -> Open(): unable to determine branch for HEAD 02:06:32 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:06:32 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:06:32 # $SEMVER_REMOTE_NAME = origin 02:06:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:32 # $SEMVER_USER_NAME = edgex-jenkins 02:06:32 # $SEMVER_BRANCH = main 02:06:32 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 02:06:34 $ docker exec --env ******** --env ******** 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa ssh-agent -k 02:06:34 unset SSH_AUTH_SOCK; 02:06:34 unset SSH_AGENT_PID; 02:06:34 echo Agent pid 19 killed; 02:06:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:34 + git semver [Pipeline] } 02:06:34 $ docker stop --time=1 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa 02:06:36 $ docker rm -f 66d5d054cad48c2d8e1b2c9999a615f9998a80dc8df732d7f0658da7390a89aa [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 02:06:36 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:06:36 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:36 total 16 02:06:36 drwxr-xr-x 3 root root 4096 Apr 1 01:57 . 02:06:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 02:06 .. 02:06:36 drwxr-xr-x 2 root root 4096 Apr 1 01:57 cost 02:06:36 -rw-r--r-- 1 root root 87 Apr 1 01:57 cost.csv 02:06:36 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:36 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:36 total 16 02:06:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 01:57 . 02:06:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 02:06 .. 02:06:36 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 01:57 cost 02:06:36 -rw-r--r-- 1 jenkins jenkins 87 Apr 1 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:06:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:06:37 ---> package-listing.sh 02:06:37 ++ facter osfamily 02:06:37 ++ tr '[:upper:]' '[:lower:]' 02:06:37 + OS_FAMILY=debian 02:06:37 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:06:37 + START_PACKAGES=/tmp/packages_start.txt 02:06:37 + END_PACKAGES=/tmp/packages_end.txt 02:06:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:06:37 + PACKAGES=/tmp/packages_start.txt 02:06:37 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:06:37 + PACKAGES=/tmp/packages_end.txt 02:06:37 + case "${OS_FAMILY}" in 02:06:37 + dpkg -l 02:06:37 + grep '^ii' 02:06:38 + '[' -f /tmp/packages_start.txt ']' 02:06:38 + '[' -f /tmp/packages_end.txt ']' 02:06:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:06:38 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:06:38 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:06:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:06:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 02:06:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:39 . [Pipeline] withDockerContainer 02:06:39 prd-ubuntu20.04-docker-8c-8g-10374 does not seem to be running inside a container 02:06:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 02:06:39 $ docker top 8a14660d28cf6915af7ede34fa9fd1309a7aff2edb057f0e5699ed32754f12b8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:06:40 + mkdir -p /var/log/sysstat [Pipeline] sh 02:06:40 + ls /var/log/sa-host 02:06:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:40 provisioning config files... 02:06:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9165372523441019898tmp [Pipeline] { [Pipeline] echo 02:06:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:06:40 ---> create-netrc.sh [Pipeline] } 02:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:06:41 ---> python-tools-install.sh [Pipeline] echo 02:06:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:06:41 ---> sudo-logs.sh 02:06:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:06:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:06:41 ---> job-cost.sh 02:06:41 lf-activate-venv: SKIPPING 02:06:41 DEBUG: total: 0.2199999988079071 02:06:41 INFO: Retrieving Stack Cost... 02:06:42 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:42 INFO: Archiving Costs [Pipeline] echo 02:06:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:06:43 ---> logs-deploy.sh 02:06:43 lf-activate-venv: SKIPPING 02:06:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/24 02:06:43 INFO: archiving workspace using pattern(s): 02:06:43 Archives upload complete. 02:06:43 INFO: archiving logs to Nexus