Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 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-ssh246385939416593290.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-ssh12723365859169923684.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-ssh13543664003642319092.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-ssh2959142020525524353.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-ssh17009487693854874353.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-7812 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 Commit message: "Merge pull request #269 from hahattan/bump-go-mods" > git rev-list --no-walk 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:56:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:51 ========================================================= 07:56:51 EdgeX Global Pipelines Version Info 07:56:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:52 ------------------- 07:56:52 stable info: 07:56:52 ------------------- 07:56:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:56:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:56:52 Message: update stable to v1.0.221 07:56:52 ------------------- 07:56:52 experimental info: 07:56:52 ------------------- 07:56:52 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:56:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c03aa7c [Pipeline] echo 07:56:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:53 provisioning config files... 07:56:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7023378324132643700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:53 ---> docker-login.sh 07:56:53 nexus3.edgexfoundry.org:10001 07:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:54 Configure a credential helper to remove this warning. See 07:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:54 07:56:54 Login Succeeded 07:56:54 nexus3.edgexfoundry.org:10002 07:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:54 Configure a credential helper to remove this warning. See 07:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:54 07:56:54 Login Succeeded 07:56:54 nexus3.edgexfoundry.org:10003 07:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:54 Configure a credential helper to remove this warning. See 07:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:54 07:56:54 Login Succeeded 07:56:54 nexus3.edgexfoundry.org:10004 07:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:54 Configure a credential helper to remove this warning. See 07:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:54 07:56:54 Login Succeeded 07:56:54 docker.io 07:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:55 Configure a credential helper to remove this warning. See 07:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:55 07:56:55 Login Succeeded 07:56:55 ---> docker-login.sh ends [Pipeline] } 07:56:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:56:55 + git rev-list -1 --merges c03aa7c74cee4c24f0ea21a2b880bc2767aae84f~1..c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo 07:56:55 -----------> git rev-list -1 --merges c03aa7c74cee4c24f0ea21a2b880bc2767aae84f~1..c03aa7c74cee4c24f0ea21a2b880bc2767aae84f c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 07:56:55 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [false] [Pipeline] sh 07:56:55 + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo 07:56:56 ========================================================= 07:56:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:56:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:56 + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo 07:56:56 [semverPrep] GIT_COMMIT: c03aa7c74cee4c24f0ea21a2b880bc2767aae84f, Commit Message: Merge pull request #269 from hahattan/bump-go-mods [Pipeline] echo 07:56:56 [semverPrep] This is not a build commit. [Pipeline] sh 07:56:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:56 + grep -v github /etc/ssh/ssh_known_hosts 07:56:56 + [ -e /tmp/ssh_known_hosts ] 07:56:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:56:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:56:56 + sudo tee -a /etc/ssh/ssh_known_hosts 07:56:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:56:57 07:56:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:56:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:56:57 latest: Pulling from edgex-devops/git-semver 07:56:57 a0d0a0d46f8b: Pulling fs layer 07:56:57 3e5f54012d9b: Pulling fs layer 07:56:57 4c7163046ea9: Pulling fs layer 07:56:57 0c2d73faf560: Pulling fs layer 07:56:57 0c2d73faf560: Waiting 07:56:57 3e5f54012d9b: Download complete 07:56:57 a0d0a0d46f8b: Download complete 07:56:57 0c2d73faf560: Verifying Checksum 07:56:57 0c2d73faf560: Download complete 07:56:57 4c7163046ea9: Verifying Checksum 07:56:57 4c7163046ea9: Download complete 07:56:57 a0d0a0d46f8b: Pull complete 07:56:57 3e5f54012d9b: Pull complete 07:56:57 4c7163046ea9: Pull complete 07:56:58 0c2d73faf560: Pull complete 07:56:58 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:56:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:56:58 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 07:56:58 $ 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 07:56:58 $ docker top a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:59 [ssh-agent] Looking for ssh-agent implementation... 07:56:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:59 $ docker exec a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent 07:56:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDJehM/agent.14 07:56:59 SSH_AGENT_PID=21 07:56:59 Running ssh-add (command line suppressed) 07:56:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435236778559336964.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435236778559336964.key) 07:56:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:59 + git tag --points-at HEAD [Pipeline] } 07:56:59 $ docker exec --env ******** --env ******** a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent -k 07:56:59 unset SSH_AUTH_SOCK; 07:56:59 unset SSH_AGENT_PID; 07:56:59 echo Agent pid 21 killed; 07:56:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:56:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:59 [ssh-agent] Looking for ssh-agent implementation... 07:57:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:00 $ docker exec a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent 07:57:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlGnmGh/agent.54 07:57:00 SSH_AGENT_PID=60 07:57:00 Running ssh-add (command line suppressed) 07:57:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7229489341503141293.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7229489341503141293.key) 07:57:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:00 + git semver init 07:57:00 # -> Open(): unable to determine branch for HEAD 07:57:00 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 07:57:00 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 07:57:00 # $SEMVER_REMOTE_NAME = origin 07:57:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:57:00 # $SEMVER_USER_NAME = edgex-jenkins 07:57:00 # $SEMVER_BRANCH = main 07:57:00 # $SEMVER_TEMP = /tmp/semver-691896483 07:57:00 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:57:02 # '/tmp/semver-691896483' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 07:57:02 # -> Force: false 07:57:02 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 07:57:02 $ docker exec --env ******** --env ******** a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent -k 07:57:02 unset SSH_AUTH_SOCK; 07:57:02 unset SSH_AGENT_PID; 07:57:02 echo Agent pid 60 killed; 07:57:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:02 + git semver [Pipeline] } 07:57:02 $ docker stop --time=1 a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 07:57:03 $ docker rm -f a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:57:04 Stashed 1 file(s) [Pipeline] echo 07:57:04 [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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 07:57:04 provisioning config files... 07:57:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8108164976872041750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:05 ---> docker-login.sh 07:57:05 nexus3.edgexfoundry.org:10001 07:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:05 Configure a credential helper to remove this warning. See 07:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:05 07:57:05 Login Succeeded 07:57:05 nexus3.edgexfoundry.org:10002 07:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:05 Configure a credential helper to remove this warning. See 07:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:05 07:57:05 Login Succeeded 07:57:05 nexus3.edgexfoundry.org:10003 07:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:05 Configure a credential helper to remove this warning. See 07:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:05 07:57:05 Login Succeeded 07:57:05 nexus3.edgexfoundry.org:10004 07:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:05 Configure a credential helper to remove this warning. See 07:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:05 07:57:05 Login Succeeded 07:57:05 docker.io 07:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:05 Configure a credential helper to remove this warning. See 07:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:05 07:57:05 Login Succeeded 07:57:05 ---> docker-login.sh ends [Pipeline] } 07:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:57:05 ========================================================= 07:57:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:57:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:57:06 + 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 . 07:57:06 Sending build context to Docker daemon 22.85MB 07:57:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:57:06 Step 2/12 : FROM ${BASE} AS builder 07:57:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:57:06 59bf1c3509f3: Pulling fs layer 07:57:06 666ba61612fd: Pulling fs layer 07:57:06 8ed8ca486205: Pulling fs layer 07:57:06 4fe6c5a15a65: Pulling fs layer 07:57:06 22a0e8bec74d: Pulling fs layer 07:57:06 640e595b4fbd: Pulling fs layer 07:57:06 763cafe07f6e: Pulling fs layer 07:57:06 0c0b528cf693: Pulling fs layer 07:57:06 10935f4eaf8b: Pulling fs layer 07:57:06 4fe6c5a15a65: Waiting 07:57:06 22a0e8bec74d: Waiting 07:57:06 640e595b4fbd: Waiting 07:57:06 763cafe07f6e: Waiting 07:57:06 0c0b528cf693: Waiting 07:57:06 10935f4eaf8b: Waiting 07:57:06 8ed8ca486205: Verifying Checksum 07:57:06 8ed8ca486205: Download complete 07:57:06 666ba61612fd: Verifying Checksum 07:57:06 22a0e8bec74d: Verifying Checksum 07:57:06 22a0e8bec74d: Download complete 07:57:06 640e595b4fbd: Verifying Checksum 07:57:06 640e595b4fbd: Download complete 07:57:06 59bf1c3509f3: Verifying Checksum 07:57:06 59bf1c3509f3: Download complete 07:57:06 763cafe07f6e: Verifying Checksum 07:57:06 763cafe07f6e: Download complete 07:57:06 0c0b528cf693: Verifying Checksum 07:57:06 0c0b528cf693: Download complete 07:57:06 59bf1c3509f3: Pull complete 07:57:06 666ba61612fd: Pull complete 07:57:06 8ed8ca486205: Pull complete 07:57:07 10935f4eaf8b: Verifying Checksum 07:57:07 10935f4eaf8b: Download complete 07:57:07 4fe6c5a15a65: Verifying Checksum 07:57:07 4fe6c5a15a65: Download complete 07:57:11 4fe6c5a15a65: Pull complete 07:57:11 22a0e8bec74d: Pull complete 07:57:11 640e595b4fbd: Pull complete 07:57:11 763cafe07f6e: Pull complete 07:57:11 0c0b528cf693: Pull complete 07:57:14 10935f4eaf8b: Pull complete 07:57:14 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:57:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:57:14 ---> 99d49a6021b9 07:57:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:57:16 ---> Running in ba64f1386d5d 07:57:16 Removing intermediate container ba64f1386d5d 07:57:16 ---> b50efa20264b 07:57:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:57:16 ---> Running in 7a212fefbbb4 07:57:16 Removing intermediate container 7a212fefbbb4 07:57:16 ---> c03c7282d137 07:57:16 Step 5/12 : WORKDIR /device-virtual-go 07:57:16 ---> Running in 65318680d195 07:57:16 Removing intermediate container 65318680d195 07:57:16 ---> a32f82079064 07:57:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:57:16 ---> Running in 68d6354f0682 07:57:17 Removing intermediate container 68d6354f0682 07:57:17 ---> 1b4e3e83af81 07:57:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:57:17 ---> Running in a41358b31398 07:57:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:57:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:57:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:57:18 (2/4) Installing libedit (20210910.3.1-r0) 07:57:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:57:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:57:18 Executing busybox-1.34.1-r3.trigger 07:57:18 OK: 224 MiB in 56 packages 07:57:19 Removing intermediate container a41358b31398 07:57:19 ---> fed22c2a8628 07:57:19 Step 8/12 : COPY go.mod vendor* ./ 07:57:19 ---> c3b81cb35ddf 07:57:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:19 ---> Running in efeee7485188 07:57:19 Still waiting to schedule task 07:57:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:57:46 Removing intermediate container efeee7485188 07:57:46 ---> ed6b55d914fe 07:57:46 Step 10/12 : COPY . . 07:57:46 ---> 349e449f039f 07:57:46 Step 11/12 : ARG MAKE='make build' 07:57:46 ---> Running in cba94e27c208 07:57:46 Removing intermediate container cba94e27c208 07:57:46 ---> a7b484cbb263 07:57:46 Step 12/12 : RUN $MAKE 07:57:46 ---> Running in ab74cb716cab 07:57:46 noop 07:57:46 Removing intermediate container ab74cb716cab 07:57:46 ---> 23224f63fea2 07:57:46 Successfully built 23224f63fea2 07:57:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:57:46 + docker inspect -f . ci-base-image-x86_64 07:57:46 . [Pipeline] withDockerContainer 07:57:46 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 07:57:46 $ 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 07:57:47 $ docker top a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:47 + go version 07:57:47 go version go1.17.6 linux/amd64 [Pipeline] } 07:57:47 $ docker stop --time=1 a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e 07:57:48 $ docker rm -f a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:57:49 + docker inspect -f . ci-base-image-x86_64 07:57:49 . [Pipeline] withDockerContainer 07:57:49 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 07:57:49 $ 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 07:57:49 $ docker top 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:57:50 + make test 07:57:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:57:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:57:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:57:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 07:57:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:58:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:58:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:58:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:58:01 $ docker stop --time=1 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a 07:58:02 $ docker rm -f 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a [Pipeline] // withDockerContainer [Pipeline] sh 07:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:58:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:04 + ls -al . 07:58:04 total 196 07:58:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:58 . 07:58:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:56 .. 07:58:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:56 .git 07:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:56 .github 07:58:04 -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:56 .gitignore 07:58:04 drwx------ 3 jenkins jenkins 4096 Mar 17 07:57 .semver 07:58:04 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:56 Attribution.txt 07:58:04 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:56 CHANGELOG.md 07:58:04 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:56 Dockerfile 07:58:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:56 GOVERNANCE.md 07:58:04 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:56 Jenkinsfile 07:58:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:56 LICENSE 07:58:04 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:56 Makefile 07:58:04 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:56 OWNERS.md 07:58:04 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:56 README.md 07:58:04 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 07:57 VERSION 07:58:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:56 bin 07:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:56 cmd 07:58:04 -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:57 coverage.out 07:58:04 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:56 go.mod 07:58:04 -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:56 go.sum 07:58:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:56 internal 07:58:04 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:56 version.go [Pipeline] isUnix [Pipeline] sh 07:58:04 + 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=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f --label arch=amd64 --label version=2.2.0-dev.7 . 07:58:04 Sending build context to Docker daemon 22.9MB 07:58:04 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:58:04 Step 2/26 : FROM ${BASE} AS builder 07:58:04 ---> 23224f63fea2 07:58:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:58:04 ---> Running in c14d576ccd51 07:58:04 Removing intermediate container c14d576ccd51 07:58:04 ---> d373ecff9a79 07:58:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:58:04 ---> Running in ccdb2d2d331c 07:58:05 Removing intermediate container ccdb2d2d331c 07:58:05 ---> 263f492933ff 07:58:05 Step 5/26 : WORKDIR /device-virtual-go 07:58:05 ---> Running in 0731026b2cf8 07:58:05 Removing intermediate container 0731026b2cf8 07:58:05 ---> 89e96631560f 07:58:05 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:05 ---> Running in 32742f4d411a 07:58:05 Removing intermediate container 32742f4d411a 07:58:05 ---> 2c7b499632b6 07:58:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:05 ---> Running in 56944979f411 07:58:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:58:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:58:06 OK: 224 MiB in 56 packages 07:58:07 Removing intermediate container 56944979f411 07:58:07 ---> 87808fef4dd9 07:58:07 Step 8/26 : COPY go.mod vendor* ./ 07:58:07 ---> 42cdebac34b6 07:58:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:07 ---> Running in 3ca6daa6b00d 07:58:08 Removing intermediate container 3ca6daa6b00d 07:58:08 ---> c6f36b266634 07:58:08 Step 10/26 : COPY . . 07:58:08 ---> d01fdd9bbb06 07:58:08 Step 11/26 : ARG MAKE='make build' 07:58:08 ---> Running in 61b66cd415ea 07:58:09 Removing intermediate container 61b66cd415ea 07:58:09 ---> 04671318d2a7 07:58:09 Step 12/26 : RUN $MAKE 07:58:09 ---> Running in 6e1e851f39e7 07:58:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.7" -o cmd/device-virtual ./cmd 07:58:17 Removing intermediate container 6e1e851f39e7 07:58:17 ---> 91c17f5dcf9a 07:58:17 Step 13/26 : FROM alpine:3.14 07:58:17 3.14: Pulling from library/alpine 07:58:17 97518928ae5f: Pulling fs layer 07:58:17 97518928ae5f: Verifying Checksum 07:58:17 97518928ae5f: Download complete 07:58:17 97518928ae5f: Pull complete 07:58:17 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:58:17 Status: Downloaded newer image for alpine:3.14 07:58:17 ---> 0a97eee8041e 07:58:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:58:18 ---> Running in ff67f3f04844 07:58:18 Removing intermediate container ff67f3f04844 07:58:18 ---> c97143176017 07:58:18 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:18 ---> Running in 9c4038be9f70 07:58:18 Removing intermediate container 9c4038be9f70 07:58:18 ---> 3971106c3eca 07:58:18 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:58:19 ---> Running in e68be3e59476 07:58:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:58:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:58:20 (1/6) Installing dumb-init (1.2.5-r1) 07:58:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:58:20 (3/6) Installing libsodium (1.0.18-r0) 07:58:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:58:20 (5/6) Installing libzmq (4.3.4-r0) 07:58:20 (6/6) Installing zeromq (4.3.4-r0) 07:58:21 Executing busybox-1.33.1-r6.trigger 07:58:21 OK: 8 MiB in 20 packages 07:58:21 Removing intermediate container e68be3e59476 07:58:21 ---> 1b3052cb3313 07:58:21 Step 17/26 : WORKDIR / 07:58:21 ---> Running in f71eee952bba 07:58:21 Removing intermediate container f71eee952bba 07:58:21 ---> f41b9cb78a5a 07:58:21 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:58:21 ---> 223ac1642a9d 07:58:21 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:58:21 ---> bfbd1debc85d 07:58:21 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:58:22 ---> 6616b3861e13 07:58:22 Step 21/26 : EXPOSE 59900 07:58:22 ---> Running in be61fd388505 07:58:22 Removing intermediate container be61fd388505 07:58:22 ---> 915a52c62e3a 07:58:22 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:58:22 ---> Running in 83ddb4ac85c6 07:58:22 Removing intermediate container 83ddb4ac85c6 07:58:22 ---> 2674e4e26b39 07:58:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:58:22 ---> Running in 605754dc0b31 07:58:22 Removing intermediate container 605754dc0b31 07:58:22 ---> e80fff11da27 07:58:22 Step 24/26 : LABEL arch=amd64 07:58:22 ---> Running in 84f28e9fcadb 07:58:22 Removing intermediate container 84f28e9fcadb 07:58:22 ---> 1842955ed1b4 07:58:22 Step 25/26 : LABEL git_sha=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 07:58:22 ---> Running in 395e48c9a489 07:58:22 Removing intermediate container 395e48c9a489 07:58:22 ---> 55b8ba3f61db 07:58:22 Step 26/26 : LABEL version=2.2.0-dev.7 07:58:22 ---> Running in 3327e35c7106 07:58:22 Removing intermediate container 3327e35c7106 07:58:22 ---> 15fbe408f1ae 07:58:22 [Warning] One or more build-args [ARCH] were not consumed 07:58:22 Successfully built 15fbe408f1ae 07:58:22 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:23 provisioning config files... 07:58:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config680314036562745081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:23 ---> docker-login.sh 07:58:23 nexus3.edgexfoundry.org:10001 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10002 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10003 07:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:23 Configure a credential helper to remove this warning. See 07:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:23 07:58:23 Login Succeeded 07:58:23 nexus3.edgexfoundry.org:10004 07:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:24 Configure a credential helper to remove this warning. See 07:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:24 07:58:24 Login Succeeded 07:58:24 docker.io 07:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:24 Configure a credential helper to remove this warning. See 07:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:24 07:58:24 Login Succeeded 07:58:24 ---> docker-login.sh ends [Pipeline] } 07:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:58:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:24 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:58:24 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 07:58:24 latest 07:58:24 2.2.0-dev.7 07:58:24 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 07:58:24 main 07:58:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:58:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] isUnix [Pipeline] sh 07:58:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 07:58:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:58:25 bebcdd50710f: Preparing 07:58:25 b41a458617ce: Preparing 07:58:25 5de9128443d5: Preparing 07:58:25 bec2000e4242: Preparing 07:58:25 132455c670ef: Preparing 07:58:25 1a058d5342cc: Preparing 07:58:25 1a058d5342cc: Waiting 07:58:25 132455c670ef: Pushed 07:58:25 5de9128443d5: Pushed 07:58:25 b41a458617ce: Pushed 07:58:25 1a058d5342cc: Layer already exists 07:58:25 bec2000e4242: Pushed 07:58:26 bebcdd50710f: Pushed 07:58:26 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh 07:58:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 07:58:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 07:58:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:58:27 bebcdd50710f: Preparing 07:58:27 b41a458617ce: Preparing 07:58:27 5de9128443d5: Preparing 07:58:27 bec2000e4242: Preparing 07:58:27 132455c670ef: Preparing 07:58:27 1a058d5342cc: Preparing 07:58:27 1a058d5342cc: Waiting 07:58:27 132455c670ef: Layer already exists 07:58:27 bec2000e4242: Layer already exists 07:58:27 bebcdd50710f: Layer already exists 07:58:27 b41a458617ce: Layer already exists 07:58:27 5de9128443d5: Layer already exists 07:58:27 1a058d5342cc: Layer already exists 07:58:27 latest: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh 07:58:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 07:58:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 07:58:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:58:27 bebcdd50710f: Preparing 07:58:27 b41a458617ce: Preparing 07:58:27 5de9128443d5: Preparing 07:58:27 bec2000e4242: Preparing 07:58:27 132455c670ef: Preparing 07:58:27 1a058d5342cc: Preparing 07:58:27 1a058d5342cc: Waiting 07:58:27 b41a458617ce: Layer already exists 07:58:27 5de9128443d5: Layer already exists 07:58:27 bec2000e4242: Layer already exists 07:58:27 bebcdd50710f: Layer already exists 07:58:27 132455c670ef: Layer already exists 07:58:27 1a058d5342cc: Layer already exists 07:58:27 2.2.0-dev.7: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh 07:58:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 07:58:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 07:58:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:58:28 bebcdd50710f: Preparing 07:58:28 b41a458617ce: Preparing 07:58:28 5de9128443d5: Preparing 07:58:28 bec2000e4242: Preparing 07:58:28 132455c670ef: Preparing 07:58:28 1a058d5342cc: Preparing 07:58:28 1a058d5342cc: Waiting 07:58:28 bec2000e4242: Layer already exists 07:58:28 bebcdd50710f: Layer already exists 07:58:28 b41a458617ce: Layer already exists 07:58:28 5de9128443d5: Layer already exists 07:58:28 132455c670ef: Layer already exists 07:58:28 1a058d5342cc: Layer already exists 07:58:28 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh 07:58:28 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 07:58:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 07:58:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:58:28 bebcdd50710f: Preparing 07:58:28 b41a458617ce: Preparing 07:58:28 5de9128443d5: Preparing 07:58:28 bec2000e4242: Preparing 07:58:28 132455c670ef: Preparing 07:58:28 1a058d5342cc: Preparing 07:58:28 1a058d5342cc: Waiting 07:58:28 bebcdd50710f: Layer already exists 07:58:28 bec2000e4242: Layer already exists 07:58:28 5de9128443d5: Layer already exists 07:58:28 132455c670ef: Layer already exists 07:58:28 b41a458617ce: Layer already exists 07:58:28 1a058d5342cc: Layer already exists 07:58:28 main: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:58:28 ===================================================== [Pipeline] echo 07:58:28 taggedImages: 07:58:28 - nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 07:58:28 - nexus3.edgexfoundry.org:10004/device-virtual:latest 07:58:28 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 07:58:28 - nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 07:58:28 - 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 07:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:29 07:58:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:58:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:29 latest: Pulling from edgex-lftools-log-publisher 07:58:29 5eb5b503b376: Pulling fs layer 07:58:29 5c69ac0246d0: Pulling fs layer 07:58:29 ec43610c2a17: Pulling fs layer 07:58:29 3a2ae6a8a46f: Pulling fs layer 07:58:29 33b1e0a273af: Pulling fs layer 07:58:29 5d3b04190fa2: Pulling fs layer 07:58:29 2f39f015ded8: Pulling fs layer 07:58:29 3a2ae6a8a46f: Waiting 07:58:29 33b1e0a273af: Waiting 07:58:29 5d3b04190fa2: Waiting 07:58:29 2f39f015ded8: Waiting 07:58:29 5c69ac0246d0: Download complete 07:58:29 3a2ae6a8a46f: Verifying Checksum 07:58:29 3a2ae6a8a46f: Download complete 07:58:29 33b1e0a273af: Verifying Checksum 07:58:29 33b1e0a273af: Download complete 07:58:29 5d3b04190fa2: Verifying Checksum 07:58:29 ec43610c2a17: Verifying Checksum 07:58:29 ec43610c2a17: Download complete 07:58:29 5eb5b503b376: Download complete 07:58:30 2f39f015ded8: Verifying Checksum 07:58:30 2f39f015ded8: Download complete 07:58:31 5eb5b503b376: Pull complete 07:58:31 5c69ac0246d0: Pull complete 07:58:31 ec43610c2a17: Pull complete 07:58:31 3a2ae6a8a46f: Pull complete 07:58:31 33b1e0a273af: Pull complete 07:58:31 5d3b04190fa2: Pull complete 07:58:36 2f39f015ded8: Pull complete 07:58:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:58:36 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 07:58: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/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 07:58:38 $ docker top 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:38 ---> job-cost.sh 07:58:38 lf-activate-venv: SKIPPING 07:58:38 INFO: No Stack... 07:58:38 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:39 INFO: Archiving Costs [Pipeline] sh 07:58:39 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 07:58:39 + cut -d, -f6 [Pipeline] lock 07:58:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] 07:58:39 Resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] did not exist. Created. 07:58:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:58:39 + echo total: 0.2199999988079071 [Pipeline] stash 07:58:40 Stashed 1 file(s) [Pipeline] } 07:58:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 07:58:40 $ docker stop --time=1 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a 07:58:41 $ docker rm -f 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:00:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7813 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:00:57 Running in /w/workspace/device-virtual-go/23 [Pipeline] { [Pipeline] checkout 08:00:57 The recommended git tool is: git 08:01:04 using credential edgex-jenkins-ssh 08:01:04 Cloning the remote Git repository 08:01:04 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:01:04 > git init /w/workspace/device-virtual-go/23 # timeout=10 08:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:01:04 > git --version # timeout=10 08:01:04 > git --version # 'git version 2.25.1' 08:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:07 Avoid second fetch 08:01:07 Checking out Revision c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (main) 08:01:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:01:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:07 > git config core.sparsecheckout # timeout=10 08:01:07 > git checkout -f c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 08:01:12 Commit message: "Merge pull request #269 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:01:13 % Total % Received % Xferd Average Speed Time Time Time Current 08:01:13 Dload Upload Total Spent Left Speed 08:01:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh 08:01:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:01:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:01:14 + sudo tee /etc/docker/daemon.new 08:01:14 { 08:01:14 "registry-mirrors": [ 08:01:14 "https://nexus3.edgexfoundry.org:10001" 08:01:14 ], 08:01:14 "bip": "10.250.0.254/24", 08:01:14 "hosts": [ 08:01:14 "tcp://0.0.0.0:5555", 08:01:14 "unix:///var/run/docker.sock" 08:01:14 ], 08:01:14 "mtu": 1458, 08:01:14 "selinux-enabled": true, 08:01:14 "seccomp-profile": "/etc/docker/seccomp.json" 08:01:14 } [Pipeline] sh 08:01:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:01:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:33 provisioning config files... 08:01:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/23@tmp/config8034870585511390916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:33 ---> docker-login.sh 08:01:33 nexus3.edgexfoundry.org:10001 08:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:34 Configure a credential helper to remove this warning. See 08:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:34 08:01:34 Login Succeeded 08:01:34 nexus3.edgexfoundry.org:10002 08:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:35 Configure a credential helper to remove this warning. See 08:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:35 08:01:35 Login Succeeded 08:01:35 nexus3.edgexfoundry.org:10003 08:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:35 Configure a credential helper to remove this warning. See 08:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:35 08:01:35 Login Succeeded 08:01:35 nexus3.edgexfoundry.org:10004 08:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:36 Configure a credential helper to remove this warning. See 08:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:36 08:01:36 Login Succeeded 08:01:36 docker.io 08:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:37 Configure a credential helper to remove this warning. See 08:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:37 08:01:37 Login Succeeded 08:01:37 ---> docker-login.sh ends [Pipeline] } 08:01:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:37 ========================================================= 08:01:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:01:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:01:37 + 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 . 08:01:38 Sending build context to Docker daemon 11.56MB 08:01:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:01:38 Step 2/12 : FROM ${BASE} AS builder 08:01:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:01:38 9b3977197b4f: Pulling fs layer 08:01:38 1a89e8eeedd5: Pulling fs layer 08:01:38 94645a83ff95: Pulling fs layer 08:01:38 3f3a8bcf1eab: Pulling fs layer 08:01:38 0c92f367c5e7: Pulling fs layer 08:01:38 f7c0051592d6: Pulling fs layer 08:01:38 a227ed2f7395: Pulling fs layer 08:01:38 7b1c46037f91: Pulling fs layer 08:01:38 f7c0051592d6: Waiting 08:01:38 a227ed2f7395: Waiting 08:01:38 7b1c46037f91: Waiting 08:01:38 3f3a8bcf1eab: Waiting 08:01:38 0c92f367c5e7: Waiting 08:01:38 94645a83ff95: Verifying Checksum 08:01:38 94645a83ff95: Download complete 08:01:38 0c92f367c5e7: Download complete 08:01:38 f7c0051592d6: Verifying Checksum 08:01:38 f7c0051592d6: Download complete 08:01:38 9b3977197b4f: Verifying Checksum 08:01:38 9b3977197b4f: Download complete 08:01:38 a227ed2f7395: Verifying Checksum 08:01:38 a227ed2f7395: Download complete 08:01:39 9b3977197b4f: Pull complete 08:01:39 1a89e8eeedd5: Pull complete 08:01:40 94645a83ff95: Pull complete 08:01:40 7b1c46037f91: Verifying Checksum 08:01:40 7b1c46037f91: Download complete 08:01:41 3f3a8bcf1eab: Verifying Checksum 08:01:41 3f3a8bcf1eab: Download complete 08:01:53 3f3a8bcf1eab: Pull complete 08:01:53 0c92f367c5e7: Pull complete 08:01:53 f7c0051592d6: Pull complete 08:01:53 a227ed2f7395: Pull complete 08:02:00 7b1c46037f91: Pull complete 08:02:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:02:00 ---> f79e39bc4007 08:02:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:02:01 ---> Running in 9d59b340aaf0 08:02:01 Removing intermediate container 9d59b340aaf0 08:02:01 ---> 69650ad57129 08:02:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:02:01 ---> Running in 65cea58b1e74 08:02:02 Removing intermediate container 65cea58b1e74 08:02:02 ---> 801be7cfb289 08:02:02 Step 5/12 : WORKDIR /device-virtual-go 08:02:02 ---> Running in c574fc24c65c 08:02:02 Removing intermediate container c574fc24c65c 08:02:02 ---> 9f7534aba978 08:02:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:02:02 ---> Running in 12381c9427bd 08:02:04 Removing intermediate container 12381c9427bd 08:02:04 ---> 24c0cbcadec8 08:02:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:02:04 ---> Running in d3628b70a8c4 08:02:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:02:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:02:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:02:07 (2/4) Installing libedit (20210910.3.1-r0) 08:02:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:02:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:02:07 Executing busybox-1.34.1-r3.trigger 08:02:07 OK: 224 MiB in 56 packages 08:02:08 Removing intermediate container d3628b70a8c4 08:02:08 ---> cfc0ccced0b7 08:02:08 Step 8/12 : COPY go.mod vendor* ./ 08:02:08 ---> 4c777ce04fd7 08:02:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:02:09 ---> Running in 624f83b9fc0d 08:03:31 Removing intermediate container 624f83b9fc0d 08:03:31 ---> 2b4802c7b707 08:03:31 Step 10/12 : COPY . . 08:03:31 ---> df425d247eec 08:03:31 Step 11/12 : ARG MAKE='make build' 08:03:31 ---> Running in c18c0e9c2918 08:03:31 Removing intermediate container c18c0e9c2918 08:03:31 ---> b13ef40e0415 08:03:31 Step 12/12 : RUN $MAKE 08:03:31 ---> Running in dc1ea4cdb6ab 08:03:31 noop 08:03:31 Removing intermediate container dc1ea4cdb6ab 08:03:31 ---> a7a2b4311702 08:03:31 Successfully built a7a2b4311702 08:03:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:03:31 + docker inspect -f . ci-base-image-arm64 08:03:31 . [Pipeline] withDockerContainer 08:03:31 prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container 08:03:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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 08:03:33 $ docker top f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 -eo pid,comm [Pipeline] { [Pipeline] sh 08:03:34 + go version 08:03:34 go version go1.17.6 linux/arm64 [Pipeline] } 08:03:34 $ docker stop --time=1 f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 08:03:35 $ docker rm -f f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:03:36 + docker inspect -f . ci-base-image-arm64 08:03:36 . [Pipeline] withDockerContainer 08:03:36 prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container 08:03:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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 08:03:38 $ docker top cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:03:39 + make test 08:03:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:03:40 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:04:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:04:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements 08:04:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:04:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:04:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:04:46 ./bin/test-attribution-txt.sh [Pipeline] echo 08:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:04:48 $ docker stop --time=1 cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 08:04:49 $ docker rm -f cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:50 Warning: overwriting stash ‘coverage-report’ 08:04:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:51 + ls -al . 08:04:51 total 192 08:04:51 drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 08:04 . 08:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:01 .. 08:04:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 08:01 .git 08:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:01 .github 08:04:51 -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 08:01 .gitignore 08:04:51 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 08:01 Attribution.txt 08:04:51 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 08:01 CHANGELOG.md 08:04:51 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 08:01 Dockerfile 08:04:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 08:01 GOVERNANCE.md 08:04:51 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 08:01 Jenkinsfile 08:04:51 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 08:01 LICENSE 08:04:51 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 08:01 Makefile 08:04:51 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 08:01 OWNERS.md 08:04:51 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 08:01 README.md 08:04:51 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 07:57 VERSION 08:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:01 bin 08:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:01 cmd 08:04:51 -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 08:04 coverage.out 08:04:51 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 08:01 go.mod 08:04:51 -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 08:01 go.sum 08:04:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:01 internal 08:04:51 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 08:01 version.go [Pipeline] isUnix [Pipeline] sh 08:04:52 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f --label arch=arm64 --label version=2.2.0-dev.7 . 08:04:52 Sending build context to Docker daemon 11.6MB 08:04:52 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 08:04:52 Step 2/26 : FROM ${BASE} AS builder 08:04:52 ---> a7a2b4311702 08:04:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:04:52 ---> Running in f3eeb9e4ea75 08:04:53 Removing intermediate container f3eeb9e4ea75 08:04:53 ---> d24903a6302d 08:04:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:04:53 ---> Running in 474da5a97b5e 08:04:53 Removing intermediate container 474da5a97b5e 08:04:53 ---> 2ab510306659 08:04:53 Step 5/26 : WORKDIR /device-virtual-go 08:04:53 ---> Running in 9575b42d6936 08:04:54 Removing intermediate container 9575b42d6936 08:04:54 ---> 6365cb61f103 08:04:54 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:54 ---> Running in 1939511948d3 08:04:56 Removing intermediate container 1939511948d3 08:04:56 ---> d8e87ab51e94 08:04:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:56 ---> Running in bbd399068058 08:04:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:04:58 OK: 224 MiB in 56 packages 08:04:59 Removing intermediate container bbd399068058 08:04:59 ---> 045b1447916a 08:04:59 Step 8/26 : COPY go.mod vendor* ./ 08:04:59 ---> f6a5f79f5a50 08:04:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:59 ---> Running in a00791b4d75b 08:05:02 Removing intermediate container a00791b4d75b 08:05:02 ---> 5a7336aa974c 08:05:02 Step 10/26 : COPY . . 08:05:03 ---> ee0917a9aa9e 08:05:03 Step 11/26 : ARG MAKE='make build' 08:05:03 ---> Running in 97256e2ff7a5 08:05:03 Removing intermediate container 97256e2ff7a5 08:05:03 ---> c8da521fabfa 08:05:03 Step 12/26 : RUN $MAKE 08:05:03 ---> Running in 7e9e367ede83 08:05:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.7" -o cmd/device-virtual ./cmd 08:05:43 Removing intermediate container 7e9e367ede83 08:05:43 ---> a301b527108c 08:05:43 Step 13/26 : FROM alpine:3.14 08:05:44 3.14: Pulling from library/alpine 08:05:44 be307f383ecc: Pulling fs layer 08:05:44 be307f383ecc: Verifying Checksum 08:05:44 be307f383ecc: Download complete 08:05:45 be307f383ecc: Pull complete 08:05:45 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 08:05:45 Status: Downloaded newer image for alpine:3.14 08:05:45 ---> 5b8b7b635229 08:05:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:05:45 ---> Running in ad03ead7e1e0 08:05:45 Removing intermediate container ad03ead7e1e0 08:05:45 ---> c7efdcec4478 08:05:45 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:45 ---> Running in a8f3aeeb742d 08:05:47 Removing intermediate container a8f3aeeb742d 08:05:47 ---> 523b603979b2 08:05:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:05:47 ---> Running in add3ad42461c 08:05:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:05:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:05:49 (1/6) Installing dumb-init (1.2.5-r1) 08:05:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:05:49 (3/6) Installing libsodium (1.0.18-r0) 08:05:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:05:50 (5/6) Installing libzmq (4.3.4-r0) 08:05:50 (6/6) Installing zeromq (4.3.4-r0) 08:05:50 Executing busybox-1.33.1-r6.trigger 08:05:50 OK: 8 MiB in 20 packages 08:05:51 Removing intermediate container add3ad42461c 08:05:51 ---> 9b1057705768 08:05:51 Step 17/26 : WORKDIR / 08:05:51 ---> Running in 81b918483067 08:05:51 Removing intermediate container 81b918483067 08:05:51 ---> df7602bead0d 08:05:51 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:05:52 ---> f00be688f79f 08:05:52 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:05:52 ---> 4c21ee2d648a 08:05:52 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:05:53 ---> 90c540b9238b 08:05:53 Step 21/26 : EXPOSE 59900 08:05:53 ---> Running in 393573b0d269 08:05:53 Removing intermediate container 393573b0d269 08:05:53 ---> 5f18a77df62a 08:05:53 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:05:53 ---> Running in 9e2b4d5ca30e 08:05:54 Removing intermediate container 9e2b4d5ca30e 08:05:54 ---> 2bd06d99f330 08:05:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:05:54 ---> Running in bdb3ad5eeefa 08:05:54 Removing intermediate container bdb3ad5eeefa 08:05:54 ---> 8334886a8e03 08:05:54 Step 24/26 : LABEL arch=arm64 08:05:54 ---> Running in c17ef6f1b163 08:05:54 Removing intermediate container c17ef6f1b163 08:05:54 ---> 6a6ea7be221f 08:05:54 Step 25/26 : LABEL git_sha=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 08:05:54 ---> Running in 746a0f90acb2 08:05:55 Removing intermediate container 746a0f90acb2 08:05:55 ---> 78aa0e3234a8 08:05:55 Step 26/26 : LABEL version=2.2.0-dev.7 08:05:55 ---> Running in f206071c353a 08:05:55 Removing intermediate container f206071c353a 08:05:55 ---> c28b35484a96 08:05:55 [Warning] One or more build-args [ARCH] were not consumed 08:05:55 Successfully built c28b35484a96 08:05:55 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 08:05:55 provisioning config files... 08:05:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/23@tmp/config254177301727023531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:56 ---> docker-login.sh 08:05:56 nexus3.edgexfoundry.org:10001 08:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:56 Configure a credential helper to remove this warning. See 08:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:56 08:05:56 Login Succeeded 08:05:56 nexus3.edgexfoundry.org:10002 08:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:56 Configure a credential helper to remove this warning. See 08:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:56 08:05:56 Login Succeeded 08:05:56 nexus3.edgexfoundry.org:10003 08:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:57 Configure a credential helper to remove this warning. See 08:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:57 08:05:57 Login Succeeded 08:05:57 nexus3.edgexfoundry.org:10004 08:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:57 Configure a credential helper to remove this warning. See 08:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:57 08:05:57 Login Succeeded 08:05:57 docker.io 08:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:58 Configure a credential helper to remove this warning. See 08:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:58 08:05:58 Login Succeeded 08:05:58 ---> docker-login.sh ends [Pipeline] } 08:05:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:05:58 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:05:58 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 08:05:58 latest 08:05:58 2.2.0-dev.7 08:05:58 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 08:05:58 main 08:05:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:05:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] isUnix [Pipeline] sh 08:05:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 08:05:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:05:59 f5724a2b7853: Preparing 08:05:59 32d957db04df: Preparing 08:05:59 79eef7af4bf2: Preparing 08:05:59 cd0949f08344: Preparing 08:05:59 6c5381f63790: Preparing 08:05:59 62170e181a92: Preparing 08:05:59 62170e181a92: Waiting 08:05:59 6c5381f63790: Pushed 08:05:59 32d957db04df: Pushed 08:05:59 79eef7af4bf2: Pushed 08:05:59 62170e181a92: Layer already exists 08:06:00 cd0949f08344: Pushed 08:06:02 f5724a2b7853: Pushed 08:06:02 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:06:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:06:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:06:03 f5724a2b7853: Preparing 08:06:03 32d957db04df: Preparing 08:06:03 79eef7af4bf2: Preparing 08:06:03 cd0949f08344: Preparing 08:06:03 6c5381f63790: Preparing 08:06:03 62170e181a92: Preparing 08:06:03 62170e181a92: Waiting 08:06:03 79eef7af4bf2: Layer already exists 08:06:03 32d957db04df: Layer already exists 08:06:03 6c5381f63790: Layer already exists 08:06:03 cd0949f08344: Layer already exists 08:06:03 f5724a2b7853: Layer already exists 08:06:03 62170e181a92: Layer already exists 08:06:03 latest: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:06:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 08:06:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 08:06:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:06:04 f5724a2b7853: Preparing 08:06:04 32d957db04df: Preparing 08:06:04 79eef7af4bf2: Preparing 08:06:04 cd0949f08344: Preparing 08:06:04 6c5381f63790: Preparing 08:06:04 62170e181a92: Preparing 08:06:04 62170e181a92: Waiting 08:06:04 32d957db04df: Layer already exists 08:06:04 6c5381f63790: Layer already exists 08:06:04 cd0949f08344: Layer already exists 08:06:04 79eef7af4bf2: Layer already exists 08:06:04 f5724a2b7853: Layer already exists 08:06:04 62170e181a92: Layer already exists 08:06:04 2.2.0-dev.7: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:06:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 08:06:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 08:06:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:06:05 f5724a2b7853: Preparing 08:06:05 32d957db04df: Preparing 08:06:05 79eef7af4bf2: Preparing 08:06:05 cd0949f08344: Preparing 08:06:05 6c5381f63790: Preparing 08:06:05 62170e181a92: Preparing 08:06:05 62170e181a92: Waiting 08:06:05 cd0949f08344: Layer already exists 08:06:05 32d957db04df: Layer already exists 08:06:05 79eef7af4bf2: Layer already exists 08:06:05 f5724a2b7853: Layer already exists 08:06:05 6c5381f63790: Layer already exists 08:06:05 62170e181a92: Layer already exists 08:06:05 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh 08:06:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 08:06:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 08:06:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:06:06 f5724a2b7853: Preparing 08:06:06 32d957db04df: Preparing 08:06:06 79eef7af4bf2: Preparing 08:06:06 cd0949f08344: Preparing 08:06:06 6c5381f63790: Preparing 08:06:06 62170e181a92: Preparing 08:06:06 62170e181a92: Waiting 08:06:06 6c5381f63790: Layer already exists 08:06:06 cd0949f08344: Layer already exists 08:06:06 32d957db04df: Layer already exists 08:06:06 f5724a2b7853: Layer already exists 08:06:06 79eef7af4bf2: Layer already exists 08:06:06 62170e181a92: Layer already exists 08:06:06 main: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:06:06 ===================================================== [Pipeline] echo 08:06:06 taggedImages: 08:06:06 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 08:06:06 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:06:06 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 08:06:06 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 08:06:06 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:06 08:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:07 arm64: Pulling from edgex-lftools-log-publisher 08:06:07 8998bd30e6a1: Pulling fs layer 08:06:07 04944245beec: Pulling fs layer 08:06:07 699f458cf7ca: Pulling fs layer 08:06:07 765212b225bb: Pulling fs layer 08:06:07 f23df028b6ca: Pulling fs layer 08:06:07 d65c8cfc05b1: Pulling fs layer 08:06:07 2437ff75d9bd: Pulling fs layer 08:06:07 765212b225bb: Waiting 08:06:07 f23df028b6ca: Waiting 08:06:07 d65c8cfc05b1: Waiting 08:06:07 2437ff75d9bd: Waiting 08:06:07 04944245beec: Verifying Checksum 08:06:07 04944245beec: Download complete 08:06:07 765212b225bb: Download complete 08:06:07 f23df028b6ca: Verifying Checksum 08:06:07 f23df028b6ca: Download complete 08:06:07 d65c8cfc05b1: Verifying Checksum 08:06:07 d65c8cfc05b1: Download complete 08:06:07 699f458cf7ca: Verifying Checksum 08:06:07 699f458cf7ca: Download complete 08:06:08 8998bd30e6a1: Verifying Checksum 08:06:08 8998bd30e6a1: Download complete 08:06:10 2437ff75d9bd: Verifying Checksum 08:06:10 2437ff75d9bd: Download complete 08:06:12 8998bd30e6a1: Pull complete 08:06:12 04944245beec: Pull complete 08:06:14 699f458cf7ca: Pull complete 08:06:14 765212b225bb: Pull complete 08:06:15 f23df028b6ca: Pull complete 08:06:15 d65c8cfc05b1: Pull complete 08:06:30 2437ff75d9bd: Pull complete 08:06:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:06:30 prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container 08:06:30 $ 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/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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 08:06:33 $ docker top 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:34 ---> job-cost.sh 08:06:34 lf-activate-venv: SKIPPING 08:06:34 INFO: No Stack... 08:06:34 INFO: Retrieving Pricing Info for: v3-standard-4 08:06:35 INFO: Archiving Costs [Pipeline] sh 08:06:36 + cat /w/workspace/device-virtual-go/23/archives/cost.csv 08:06:36 + cut -d, -f6 [Pipeline] lock 08:06:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] 08:06:36 Resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] did not exist. Created. 08:06:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:36 /w/workspace/device-virtual-go/23@tmp/durable-5b0486d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:06:37 + echo total: 0.10999999940395355 [Pipeline] stash 08:06:37 Warning: overwriting stash ‘stack-cost’ 08:06:37 Stashed 1 file(s) [Pipeline] } 08:06:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:37 $ docker stop --time=1 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 08:06:39 $ docker rm -f 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 [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 08:06:39 provisioning config files... 08:06:39 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5930550398083706418tmp [Pipeline] { [Pipeline] sh 08:06:40 + set +x 08:06:40 + curl -s https://codecov.io/bash 08:06:40 + bash -s -- 08:06:40 08:06:40 _____ _ 08:06:40 / ____| | | 08:06:40 | | ___ __| | ___ ___ _____ __ 08:06:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:06:40 | |___| (_) | (_| | __/ (_| (_) \ V / 08:06:40 \_____\___/ \__,_|\___|\___\___/ \_/ 08:06:40 Bash-1.0.6 08:06:40 08:06:40 08:06:40 ==> git version 2.25.1 found 08:06:40 ==> 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 08:06:40 Release-Date: 2020-01-08 08:06:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:06:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:06:40 ==> Jenkins CI detected. 08:06:40 current dir:  /w/workspace/exfoundry_device-virtual-go_main 08:06:40 project root: . 08:06:40 --> token set from env 08:06:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:06:40 ==> Running gcov in . (disable via -X gcov) 08:06:40 ==> Python coveragepy not found 08:06:40 ==> Searching for coverage reports in: 08:06:40 + . 08:06:40 -> Found 1 reports 08:06:40 ==> Detecting git/mercurial file structure 08:06:40 ==> Reading reports 08:06:40 + ./coverage.out bytes=44128 08:06:40 ==> Appending adjustments 08:06:40 https://docs.codecov.io/docs/fixing-reports 08:06:40 + Found adjustments 08:06:40 ==> Gzipping contents 08:06:40 8.0K /tmp/codecov.D5dMJh.gz 08:06:40 ==> Uploading reports 08:06:40 url: https://codecov.io 08:06:40 query: branch=main&commit=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:40 -> Pinging Codecov 08:06:40 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=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:40 -> Uploading to 08:06:40 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/5E52B4B073DB2E39498172D8E973AA87/c03aa7c74cee4c24f0ea21a2b880bc2767aae84f/18c9d3fe-599b-4b96-bfec-81b453d3be86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T080640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ae88c6aac6e5d5e17d67fdd64026d8d9c1e1264de711882da9749069ec297f5 08:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:40 Dload Upload Total Spent Left Speed 08:06:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5300 0 0 100 5300 0 26237 --:--:-- --:--:-- --:--:-- 26108 100 5300 0 0 100 5300 0 18088 --:--:-- --:--:-- --:--:-- 18027 08:06:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] } 08:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:06:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:06:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:41 08:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:06:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:06:41 188c0c94c7c5: Pulling fs layer 08:06:41 0ef7d3d256c8: Pulling fs layer 08:06:41 de9db76c5a1d: Pulling fs layer 08:06:41 0eba1c9be4d2: Pulling fs layer 08:06:41 0d57e429df01: Pulling fs layer 08:06:41 4e4be7b47b0d: Pulling fs layer 08:06:41 e1f770b5df2f: Pulling fs layer 08:06:41 0eba1c9be4d2: Waiting 08:06:41 0d57e429df01: Waiting 08:06:41 4e4be7b47b0d: Waiting 08:06:41 e1f770b5df2f: Waiting 08:06:41 85a0685a4137: Pulling fs layer 08:06:41 85a0685a4137: Waiting 08:06:41 de9db76c5a1d: Verifying Checksum 08:06:41 de9db76c5a1d: Download complete 08:06:41 0ef7d3d256c8: Verifying Checksum 08:06:41 0ef7d3d256c8: Download complete 08:06:41 0d57e429df01: Verifying Checksum 08:06:41 0d57e429df01: Download complete 08:06:41 4e4be7b47b0d: Verifying Checksum 08:06:41 4e4be7b47b0d: Download complete 08:06:41 188c0c94c7c5: Download complete 08:06:41 e1f770b5df2f: Verifying Checksum 08:06:41 e1f770b5df2f: Download complete 08:06:41 188c0c94c7c5: Pull complete 08:06:41 0ef7d3d256c8: Pull complete 08:06:42 de9db76c5a1d: Pull complete 08:06:42 0eba1c9be4d2: Verifying Checksum 08:06:42 0eba1c9be4d2: Download complete 08:06:42 85a0685a4137: Verifying Checksum 08:06:42 85a0685a4137: Download complete 08:06:46 0eba1c9be4d2: Pull complete 08:06:46 0d57e429df01: Pull complete 08:06:46 4e4be7b47b0d: Pull complete 08:06:46 e1f770b5df2f: Pull complete 08:06:49 85a0685a4137: Pull complete 08:06:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:06:50 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:06:50 $ 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 08:06:52 $ docker top 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca -eo pid,comm [Pipeline] { [Pipeline] echo 08:06:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:06:52 + set -o pipefail 08:06:52 + snyk monitor '--org=edgex-jenkins' 08:06:57 08:06:57 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 08:06:57 08:06:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/707fff68-3fa6-4358-a62b-7420d857e69b 08:06:57 08:06:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:06:57 08:06:57 [Pipeline] } 08:06:57 $ docker stop --time=1 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca 08:06:58 $ docker rm -f 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca [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 08:06:59 + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] sh 08:06:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:06:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:59 . [Pipeline] withDockerContainer 08:07:00 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:07:00 $ 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 08:07:00 $ docker top 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:00 [ssh-agent] Looking for ssh-agent implementation... 08:07:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:00 $ docker exec 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 ssh-agent 08:07:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOlLPMA/agent.14 08:07:00 SSH_AGENT_PID=21 08:07:00 Running ssh-add (command line suppressed) 08:07:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7763649264249151534.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7763649264249151534.key) 08:07:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:01 + git semver tag 08:07:01 # -> Open(): unable to determine branch for HEAD 08:07:01 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 08:07:01 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 08:07:01 # $SEMVER_REMOTE_NAME = origin 08:07:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:01 # $SEMVER_USER_NAME = edgex-jenkins 08:07:01 # $SEMVER_BRANCH = main 08:07:01 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 08:07:01 # c03aa7c74cee4c24f0ea21a2b880bc2767aae84f HEAD 08:07:01 # -> Force: false 08:07:01 # 18e1c76fe1b073ea0cae31053bde17f2f14ca474 refs/tags/v2.2.0-dev.7 [Pipeline] } 08:07:01 $ docker exec --env ******** --env ******** 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 ssh-agent -k 08:07:01 unset SSH_AUTH_SOCK; 08:07:01 unset SSH_AGENT_PID; 08:07:01 echo Agent pid 21 killed; 08:07:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:01 + git semver [Pipeline] } 08:07:01 $ docker stop --time=1 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 08:07:03 $ docker rm -f 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:03 08:07:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:07:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:03 0.23.1-centos7: Pulling from edgex-lftools 08:07:03 ab5ef0e58194: Pulling fs layer 08:07:03 9712f1f96733: Pulling fs layer 08:07:03 63f879dbbcfc: Pulling fs layer 08:07:03 0d9ebad4ef96: Pulling fs layer 08:07:03 e9a5061849ea: Pulling fs layer 08:07:03 d747dcd14b5f: Pulling fs layer 08:07:03 2de7ff778b66: Pulling fs layer 08:07:03 d747dcd14b5f: Waiting 08:07:03 e9a5061849ea: Waiting 08:07:03 0d9ebad4ef96: Waiting 08:07:03 9712f1f96733: Verifying Checksum 08:07:03 9712f1f96733: Download complete 08:07:04 63f879dbbcfc: Verifying Checksum 08:07:04 63f879dbbcfc: Download complete 08:07:04 e9a5061849ea: Verifying Checksum 08:07:04 e9a5061849ea: Download complete 08:07:04 d747dcd14b5f: Verifying Checksum 08:07:04 d747dcd14b5f: Download complete 08:07:04 0d9ebad4ef96: Verifying Checksum 08:07:04 0d9ebad4ef96: Download complete 08:07:04 ab5ef0e58194: Download complete 08:07:04 2de7ff778b66: Verifying Checksum 08:07:04 2de7ff778b66: Download complete 08:07:07 ab5ef0e58194: Pull complete 08:07:07 9712f1f96733: Pull complete 08:07:07 63f879dbbcfc: Pull complete 08:07:12 0d9ebad4ef96: Pull complete 08:07:12 e9a5061849ea: Pull complete 08:07:12 d747dcd14b5f: Pull complete 08:07:13 2de7ff778b66: Pull complete 08:07:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:07:13 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:07:13 $ 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 08:07:15 $ docker top b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:07:15 provisioning config files... 08:07:15 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5343258475780132602tmp 08:07:15 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config973737069178060991tmp 08:07:15 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config637413674083179247tmp [Pipeline] { [Pipeline] echo 08:07:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:07:15 ---> sigul-configuration.sh 08:07:15 gpg: directory `/root/.gnupg' created 08:07:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:07:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:07:15 gpg: keyring `/root/.gnupg/secring.gpg' created 08:07:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:07:15 gpg: CAST5 encrypted data 08:07:15 gpg: encrypted with 1 passphrase 08:07:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:07:16 + mkdir /home/jenkins 08:07:16 + mkdir /home/jenkins/sigul [Pipeline] sh 08:07:16 + 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 08:07:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:07:16 ---> sigul-install.sh 08:07:16 Sigul already installed; skipping installation. [Pipeline] sh 08:07:16 + git tag --list 08:07:16 v1.0.0 08:07:16 v1.1.0 08:07:16 v1.1.1 08:07:16 v1.2.1 08:07:16 v1.2.2 08:07:16 v1.2.3 08:07:16 v1.3.0 08:07:16 v1.3.1 08:07:16 v2.0.0 08:07:16 v2.0.1-dev.1 08:07:16 v2.0.1-dev.10 08:07:16 v2.0.1-dev.11 08:07:16 v2.0.1-dev.12 08:07:16 v2.0.1-dev.13 08:07:16 v2.0.1-dev.14 08:07:16 v2.0.1-dev.15 08:07:16 v2.0.1-dev.2 08:07:16 v2.0.1-dev.3 08:07:16 v2.0.1-dev.4 08:07:16 v2.0.1-dev.5 08:07:16 v2.0.1-dev.6 08:07:16 v2.0.1-dev.7 08:07:16 v2.0.1-dev.8 08:07:16 v2.0.1-dev.9 08:07:16 v2.1.0 08:07:16 v2.2.0-dev.1 08:07:16 v2.2.0-dev.2 08:07:16 v2.2.0-dev.3 08:07:16 v2.2.0-dev.4 08:07:16 v2.2.0-dev.5 08:07:16 v2.2.0-dev.6 08:07:16 v2.2.0-dev.7 [Pipeline] sh 08:07:17 + lftools sign git-tag v2.2.0-dev.7 08:07:17 Signing Git tag with Sigul... 08:07:17 Signing v2.2.0-dev.7 [Pipeline] echo 08:07:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:07:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:07:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:07:18 $ docker stop --time=1 b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 08:07:19 $ docker rm -f b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:07:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:07:20 . [Pipeline] withDockerContainer 08:07:20 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:07:20 $ 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 08:07:20 $ docker top 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:20 [ssh-agent] Looking for ssh-agent implementation... 08:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:21 $ docker exec 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 ssh-agent 08:07:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXneijgc/agent.15 08:07:21 SSH_AGENT_PID=22 08:07:21 Running ssh-add (command line suppressed) 08:07:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2634024840811344872.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2634024840811344872.key) 08:07:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:21 + git semver bump pre 08:07:21 # -> Open(): unable to determine branch for HEAD 08:07:21 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 08:07:21 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 08:07:21 # $SEMVER_REMOTE_NAME = origin 08:07:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:21 # $SEMVER_USER_NAME = edgex-jenkins 08:07:21 # $SEMVER_BRANCH = main 08:07:21 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 08:07:21 2.2.0-dev.8 [Pipeline] } 08:07:21 $ docker exec --env ******** --env ******** 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 ssh-agent -k 08:07:21 unset SSH_AUTH_SOCK; 08:07:21 unset SSH_AGENT_PID; 08:07:21 echo Agent pid 22 killed; 08:07:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:21 + git semver [Pipeline] } 08:07:22 $ docker stop --time=1 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 08:07:23 $ docker rm -f 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:07:23 . [Pipeline] withDockerContainer 08:07:24 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:07: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:07:24 $ docker top c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:24 [ssh-agent] Looking for ssh-agent implementation... 08:07:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:24 $ docker exec c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e ssh-agent 08:07:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhMGeKj/agent.13 08:07:24 SSH_AGENT_PID=20 08:07:24 Running ssh-add (command line suppressed) 08:07:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747710849218041192.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747710849218041192.key) 08:07:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:25 + git semver push 08:07:25 # -> Open(): unable to determine branch for HEAD 08:07:25 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 08:07:25 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 08:07:25 # $SEMVER_REMOTE_NAME = origin 08:07:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:25 # $SEMVER_USER_NAME = edgex-jenkins 08:07:25 # $SEMVER_BRANCH = main 08:07:25 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 08:07:26 $ docker exec --env ******** --env ******** c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e ssh-agent -k 08:07:26 unset SSH_AUTH_SOCK; 08:07:26 unset SSH_AGENT_PID; 08:07:26 echo Agent pid 20 killed; 08:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:27 + git semver [Pipeline] } 08:07:27 $ docker stop --time=1 c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e 08:07:28 $ docker rm -f c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e [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 08:07:28 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 08:07:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:07:28 total 16 08:07:28 drwxr-xr-x 3 root root 4096 Mar 17 07:58 . 08:07:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 08:07 .. 08:07:28 drwxr-xr-x 2 root root 4096 Mar 17 07:58 cost 08:07:28 -rw-r--r-- 1 root root 87 Mar 17 07:58 cost.csv 08:07:28 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 08:07:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:07:28 total 16 08:07:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:58 . 08:07:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 08:07 .. 08:07:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:58 cost 08:07:28 -rw-r--r-- 1 jenkins jenkins 87 Mar 17 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:30 ---> package-listing.sh 08:07:30 ++ facter osfamily 08:07:30 ++ tr '[:upper:]' '[:lower:]' 08:07:30 + OS_FAMILY=debian 08:07:30 + workspace=/w/workspace/exfoundry_device-virtual-go_main 08:07:30 + START_PACKAGES=/tmp/packages_start.txt 08:07:30 + END_PACKAGES=/tmp/packages_end.txt 08:07:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:30 + PACKAGES=/tmp/packages_start.txt 08:07:30 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:07:30 + PACKAGES=/tmp/packages_end.txt 08:07:30 + case "${OS_FAMILY}" in 08:07:30 + dpkg -l 08:07:30 + grep '^ii' 08:07:30 + '[' -f /tmp/packages_start.txt ']' 08:07:30 + '[' -f /tmp/packages_end.txt ']' 08:07:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:30 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:07:30 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 08:07:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 08:07:30 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 08:07:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:07:31 . [Pipeline] withDockerContainer 08:07:31 prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container 08:07:31 $ 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 08:07:31 $ docker top b8040f6a618d981f581c41d8813d16c5bab1c16bb2020b3891b0ff32d7f03e04 -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:31 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:32 + mkdir -p /var/log/sysstat [Pipeline] sh 08:07:32 + ls /var/log/sa-host 08:07:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:32 provisioning config files... 08:07:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3143672463835234526tmp [Pipeline] { [Pipeline] echo 08:07:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:32 ---> create-netrc.sh [Pipeline] } 08:07:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:07:33 ---> python-tools-install.sh [Pipeline] echo 08:07:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:33 ---> sudo-logs.sh 08:07:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:07:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:33 ---> job-cost.sh 08:07:33 lf-activate-venv: SKIPPING 08:07:33 DEBUG: total: 0.2199999988079071 08:07:33 INFO: Retrieving Stack Cost... 08:07:34 INFO: Retrieving Pricing Info for: v3-standard-8 08:07:34 INFO: Archiving Costs [Pipeline] echo 08:07:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:35 ---> logs-deploy.sh 08:07:35 lf-activate-venv: SKIPPING 08:07:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/23 08:07:35 INFO: archiving workspace using pattern(s): 08:07:35 Archives upload complete. 08:07:35 INFO: archiving logs to Nexus