Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92eeb058ea4423f52907451924a865deb70e0eda 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-ssh16451018510045626351.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-ssh14360194644007744459.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-ssh7453397149876957903.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-ssh18412276711440710761.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-ssh16281121513941040129.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 ‘prd-ubuntu20.04-docker-8c-8g-11750’ Running on prd-ubuntu20.04-docker-8c-8g-11753 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 92eeb058ea4423f52907451924a865deb70e0eda (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 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 Commit message: "Merge pull request #275 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:01:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:01:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:01:35 ========================================================= 05:01:35 EdgeX Global Pipelines Version Info 05:01:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:01:36 ------------------- 05:01:36 stable info: 05:01:36 ------------------- 05:01:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:01:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:01:36 Message: update stable to v1.0.221 05:01:36 ------------------- 05:01:36 experimental info: 05:01:36 ------------------- 05:01:36 Commited By: **** collab-it+edgex@linuxfoundation.org 05:01:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:01:36 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:01:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92eeb05 [Pipeline] echo 05:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:37 provisioning config files... 05:01:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3790390078555781898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:37 ---> docker-login.sh 05:01:37 nexus3.edgexfoundry.org:10001 05:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:37 Configure a credential helper to remove this warning. See 05:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:37 05:01:37 Login Succeeded 05:01:37 nexus3.edgexfoundry.org:10002 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 nexus3.edgexfoundry.org:10003 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 nexus3.edgexfoundry.org:10004 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 docker.io 05:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:38 Configure a credential helper to remove this warning. See 05:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:38 05:01:38 Login Succeeded 05:01:38 ---> docker-login.sh ends [Pipeline] } 05:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:01:39 + git rev-list -1 --merges 92eeb058ea4423f52907451924a865deb70e0eda~1..92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo 05:01:39 -----------> git rev-list -1 --merges 92eeb058ea4423f52907451924a865deb70e0eda~1..92eeb058ea4423f52907451924a865deb70e0eda 92eeb058ea4423f52907451924a865deb70e0eda 05:01:39 92eeb058ea4423f52907451924a865deb70e0eda [false] [Pipeline] sh 05:01:39 + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo 05:01:39 ========================================================= 05:01:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:01:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:40 + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo 05:01:40 [semverPrep] GIT_COMMIT: 92eeb058ea4423f52907451924a865deb70e0eda, Commit Message: Merge pull request #275 from jpwhitemn/enable-security-hardening [Pipeline] echo 05:01:40 [semverPrep] This is not a build commit. [Pipeline] sh 05:01:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:01:40 + grep -v github /etc/ssh/ssh_known_hosts 05:01:40 + [ -e /tmp/ssh_known_hosts ] 05:01:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:01:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:01:40 + sudo tee -a /etc/ssh/ssh_known_hosts 05:01:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:40 05:01:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:01:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:41 latest: Pulling from edgex-devops/git-semver 05:01:41 a0d0a0d46f8b: Pulling fs layer 05:01:41 3e5f54012d9b: Pulling fs layer 05:01:41 4c7163046ea9: Pulling fs layer 05:01:41 0c2d73faf560: Pulling fs layer 05:01:41 0c2d73faf560: Waiting 05:01:41 3e5f54012d9b: Download complete 05:01:41 a0d0a0d46f8b: Verifying Checksum 05:01:41 a0d0a0d46f8b: Download complete 05:01:41 0c2d73faf560: Verifying Checksum 05:01:41 4c7163046ea9: Verifying Checksum 05:01:41 a0d0a0d46f8b: Pull complete 05:01:41 3e5f54012d9b: Pull complete 05:01:41 4c7163046ea9: Pull complete 05:01:42 0c2d73faf560: Pull complete 05:01:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:01:42 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:01:42 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:01:42 $ docker top cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:42 [ssh-agent] Looking for ssh-agent implementation... 05:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:43 $ docker exec cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent 05:01:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkkJHan/agent.13 05:01:43 SSH_AGENT_PID=20 05:01:43 Running ssh-add (command line suppressed) 05:01:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7019510917109090507.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7019510917109090507.key) 05:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:43 + git tag --points-at HEAD [Pipeline] } 05:01:43 $ docker exec --env ******** --env ******** cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent -k 05:01:43 unset SSH_AUTH_SOCK; 05:01:43 unset SSH_AGENT_PID; 05:01:43 echo Agent pid 20 killed; 05:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:43 [ssh-agent] Looking for ssh-agent implementation... 05:01:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:44 $ docker exec cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent 05:01:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEoagiI/agent.52 05:01:44 SSH_AGENT_PID=59 05:01:44 Running ssh-add (command line suppressed) 05:01:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7101480969366511175.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7101480969366511175.key) 05:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:44 + git semver init 05:01:44 # -> Open(): unable to determine branch for HEAD 05:01:44 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 05:01:44 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 05:01:44 # $SEMVER_REMOTE_NAME = origin 05:01:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:01:44 # $SEMVER_USER_NAME = edgex-jenkins 05:01:44 # $SEMVER_BRANCH = main 05:01:44 # $SEMVER_TEMP = /tmp/semver-419907455 05:01:44 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:01:46 # '/tmp/semver-419907455' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 05:01:46 # -> Force: false 05:01:46 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 05:01:46 $ docker exec --env ******** --env ******** cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent -k 05:01:46 unset SSH_AUTH_SOCK; 05:01:46 unset SSH_AGENT_PID; 05:01:46 echo Agent pid 59 killed; 05:01:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:46 + git semver [Pipeline] } 05:01:46 $ docker stop --time=1 cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa 05:01:47 $ docker rm -f cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa [Pipeline] // withDockerContainer [Pipeline] sh 05:01:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:01:48 Stashed 1 file(s) [Pipeline] echo 05:01:48 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 05:01:48 provisioning config files... 05:01:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1693459010944534771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:48 ---> docker-login.sh 05:01:48 nexus3.edgexfoundry.org:10001 05:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:48 Configure a credential helper to remove this warning. See 05:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:48 05:01:48 Login Succeeded 05:01:48 nexus3.edgexfoundry.org:10002 05:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:49 Configure a credential helper to remove this warning. See 05:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:49 05:01:49 Login Succeeded 05:01:49 nexus3.edgexfoundry.org:10003 05:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:49 Configure a credential helper to remove this warning. See 05:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:49 05:01:49 Login Succeeded 05:01:49 nexus3.edgexfoundry.org:10004 05:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:49 Configure a credential helper to remove this warning. See 05:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:49 05:01:49 Login Succeeded 05:01:49 docker.io 05:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:49 Configure a credential helper to remove this warning. See 05:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:49 05:01:49 Login Succeeded 05:01:49 ---> docker-login.sh ends [Pipeline] } 05:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:49 ========================================================= 05:01:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:01:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:01:50 + 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 . 05:01:50 Sending build context to Docker daemon 22.88MB 05:01:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:01:50 Step 2/12 : FROM ${BASE} AS builder 05:01:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:01:50 59bf1c3509f3: Pulling fs layer 05:01:50 666ba61612fd: Pulling fs layer 05:01:50 8ed8ca486205: Pulling fs layer 05:01:50 4fe6c5a15a65: Pulling fs layer 05:01:50 22a0e8bec74d: Pulling fs layer 05:01:50 640e595b4fbd: Pulling fs layer 05:01:50 763cafe07f6e: Pulling fs layer 05:01:50 0c0b528cf693: Pulling fs layer 05:01:50 10935f4eaf8b: Pulling fs layer 05:01:50 22a0e8bec74d: Waiting 05:01:50 640e595b4fbd: Waiting 05:01:50 763cafe07f6e: Waiting 05:01:50 0c0b528cf693: Waiting 05:01:50 10935f4eaf8b: Waiting 05:01:50 4fe6c5a15a65: Waiting 05:01:50 8ed8ca486205: Verifying Checksum 05:01:50 8ed8ca486205: Download complete 05:01:50 666ba61612fd: Verifying Checksum 05:01:50 666ba61612fd: Download complete 05:01:50 22a0e8bec74d: Download complete 05:01:50 640e595b4fbd: Verifying Checksum 05:01:50 640e595b4fbd: Download complete 05:01:50 59bf1c3509f3: Verifying Checksum 05:01:50 763cafe07f6e: Verifying Checksum 05:01:50 763cafe07f6e: Download complete 05:01:50 0c0b528cf693: Verifying Checksum 05:01:50 0c0b528cf693: Download complete 05:01:50 59bf1c3509f3: Pull complete 05:01:50 666ba61612fd: Pull complete 05:01:50 8ed8ca486205: Pull complete 05:01:50 4fe6c5a15a65: Verifying Checksum 05:01:50 4fe6c5a15a65: Download complete 05:01:50 10935f4eaf8b: Verifying Checksum 05:01:50 10935f4eaf8b: Download complete 05:01:55 4fe6c5a15a65: Pull complete 05:01:55 22a0e8bec74d: Pull complete 05:01:55 640e595b4fbd: Pull complete 05:01:55 763cafe07f6e: Pull complete 05:01:55 0c0b528cf693: Pull complete 05:01:57 10935f4eaf8b: Pull complete 05:01:57 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:01:57 ---> 99d49a6021b9 05:01:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:01:59 ---> Running in 7093131d1690 05:01:59 Removing intermediate container 7093131d1690 05:01:59 ---> 60d4f82a8db0 05:01:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:01:59 ---> Running in 28dfa2fbe0bd 05:01:59 Removing intermediate container 28dfa2fbe0bd 05:01:59 ---> 28d1e22ade83 05:01:59 Step 5/12 : WORKDIR /device-virtual-go 05:01:59 ---> Running in 38f71e211c6c 05:01:59 Removing intermediate container 38f71e211c6c 05:01:59 ---> b637e70e1c63 05:01:59 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:59 ---> Running in 140884f3d52c 05:01:59 Removing intermediate container 140884f3d52c 05:01:59 ---> c7b534d83cec 05:01:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:00 ---> Running in 799be4b151f8 05:02:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:02:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:02:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:02:01 (2/4) Installing libedit (20210910.3.1-r0) 05:02:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:02:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:02:01 Executing busybox-1.34.1-r3.trigger 05:02:01 OK: 224 MiB in 56 packages 05:02:02 Removing intermediate container 799be4b151f8 05:02:02 ---> 3a1b0f056c3f 05:02:02 Step 8/12 : COPY go.mod vendor* ./ 05:02:02 ---> dbef53e602a4 05:02:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:02 ---> Running in 7b7f5bb73d9a 05:02:03 Still waiting to schedule task 05:02:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11751’ 05:02:17 Removing intermediate container 7b7f5bb73d9a 05:02:17 ---> c9d31da29763 05:02:17 Step 10/12 : COPY . . 05:02:17 ---> 51d4bc9ad375 05:02:17 Step 11/12 : ARG MAKE='make build' 05:02:17 ---> Running in a86b724f1897 05:02:17 Removing intermediate container a86b724f1897 05:02:17 ---> 940f43b8502b 05:02:17 Step 12/12 : RUN $MAKE 05:02:17 ---> Running in 3f331cf570ec 05:02:17 noop 05:02:17 Removing intermediate container 3f331cf570ec 05:02:17 ---> f78dd78a4c11 05:02:17 Successfully built f78dd78a4c11 05:02:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:02:17 + docker inspect -f . ci-base-image-x86_64 05:02:17 . [Pipeline] withDockerContainer 05:02:17 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:02:17 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:02:18 $ docker top b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:18 + go version 05:02:18 go version go1.17.6 linux/amd64 [Pipeline] } 05:02:18 $ docker stop --time=1 b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b 05:02:19 $ docker rm -f b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:02:20 + docker inspect -f . ci-base-image-x86_64 05:02:20 . [Pipeline] withDockerContainer 05:02:20 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:02:20 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:02:20 $ docker top 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:02:21 + make test 05:02:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:02:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:02:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:02:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 05:02:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:02:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:39 ./bin/test-attribution-txt.sh [Pipeline] echo 05:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:39 $ docker stop --time=1 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 05:02:41 $ docker rm -f 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:43 + ls -al . 05:02:43 total 184 05:02:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:02 . 05:02:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:01 .. 05:02:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:01 .git 05:02:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 .github 05:02:43 -rw-rw-r-- 1 jenkins jenkins 270 Apr 10 05:01 .gitignore 05:02:43 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:01 .golangci.yml 05:02:43 drwx------ 3 jenkins jenkins 4096 Apr 10 05:01 .semver 05:02:43 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 10 05:01 Attribution.txt 05:02:43 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 10 05:01 CHANGELOG.md 05:02:43 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 10 05:01 Dockerfile 05:02:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:01 GOVERNANCE.md 05:02:43 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 05:01 Jenkinsfile 05:02:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:01 LICENSE 05:02:43 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 10 05:01 Makefile 05:02:43 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 05:01 OWNERS.md 05:02:43 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 10 05:01 README.md 05:02:43 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:01 VERSION 05:02:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 bin 05:02:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:01 cmd 05:02:43 -rw-r--r-- 1 jenkins jenkins 44128 Apr 10 05:02 coverage.out 05:02:43 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 10 05:01 go.mod 05:02:43 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 10 05:01 go.sum 05:02:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:01 internal 05:02:43 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:02:43 + 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=92eeb058ea4423f52907451924a865deb70e0eda --label arch=amd64 --label version=2.2.0-dev.10 . 05:02:43 Sending build context to Docker daemon 22.93MB 05:02:43 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:02:43 Step 2/26 : FROM ${BASE} AS builder 05:02:43 ---> f78dd78a4c11 05:02:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:02:43 ---> Running in 82ba13f89c71 05:02:43 Removing intermediate container 82ba13f89c71 05:02:43 ---> 8132aabc7576 05:02:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:02:43 ---> Running in 9852df3da61d 05:02:43 Removing intermediate container 9852df3da61d 05:02:43 ---> 789d770ad9ac 05:02:43 Step 5/26 : WORKDIR /device-virtual-go 05:02:43 ---> Running in 7f3750bdeb2b 05:02:43 Removing intermediate container 7f3750bdeb2b 05:02:43 ---> 36ff82a0156f 05:02:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:43 ---> Running in 566731dd72b2 05:02:44 Removing intermediate container 566731dd72b2 05:02:44 ---> 1e55df79a39d 05:02:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:44 ---> Running in 780334af37f6 05:02:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:02:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:02:45 OK: 224 MiB in 56 packages 05:02:46 Removing intermediate container 780334af37f6 05:02:46 ---> 9a573524eafe 05:02:46 Step 8/26 : COPY go.mod vendor* ./ 05:02:46 ---> 0cb1e5f38b75 05:02:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:46 ---> Running in 47fca9b8d0ca 05:02:47 Removing intermediate container 47fca9b8d0ca 05:02:47 ---> 25ae2bffd1a8 05:02:47 Step 10/26 : COPY . . 05:02:47 ---> 710b67e2849f 05:02:47 Step 11/26 : ARG MAKE='make build' 05:02:47 ---> Running in bde9210c7dae 05:02:47 Removing intermediate container bde9210c7dae 05:02:47 ---> 9347ac07e45e 05:02:47 Step 12/26 : RUN $MAKE 05:02:47 ---> Running in 3912d42b050c 05:02:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 05:03:09 Removing intermediate container 3912d42b050c 05:03:09 ---> f5aa3a74d227 05:03:09 Step 13/26 : FROM alpine:3.14 05:03:09 3.14: Pulling from library/alpine 05:03:09 8663204ce13b: Pulling fs layer 05:03:09 8663204ce13b: Verifying Checksum 05:03:09 8663204ce13b: Download complete 05:03:09 8663204ce13b: Pull complete 05:03:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:03:09 Status: Downloaded newer image for alpine:3.14 05:03:09 ---> e04c818066af 05:03:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:03:09 ---> Running in 7a558bff0ddb 05:03:09 Removing intermediate container 7a558bff0ddb 05:03:09 ---> cb8b0a2f5d98 05:03:09 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:09 ---> Running in dd4e6ab01345 05:03:09 Removing intermediate container dd4e6ab01345 05:03:09 ---> 3047cb860a43 05:03:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:03:09 ---> Running in 420b8ad76d5e 05:03:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:03:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:03:10 (1/6) Installing dumb-init (1.2.5-r1) 05:03:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:03:10 (3/6) Installing libsodium (1.0.18-r0) 05:03:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:03:10 (5/6) Installing libzmq (4.3.4-r0) 05:03:10 (6/6) Installing zeromq (4.3.4-r0) 05:03:11 Executing busybox-1.33.1-r7.trigger 05:03:11 OK: 8 MiB in 20 packages 05:03:11 Removing intermediate container 420b8ad76d5e 05:03:11 ---> 1436e1c582e6 05:03:11 Step 17/26 : WORKDIR / 05:03:11 ---> Running in ffc3bebd655a 05:03:11 Removing intermediate container ffc3bebd655a 05:03:11 ---> b21f81da99a7 05:03:11 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:03:11 ---> 9df9ff14024f 05:03:11 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:03:11 ---> fcf97ca6d93d 05:03:11 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:03:12 ---> f53cf79140db 05:03:12 Step 21/26 : EXPOSE 59900 05:03:12 ---> Running in ea8a757dedfe 05:03:12 Removing intermediate container ea8a757dedfe 05:03:12 ---> d4f57479e749 05:03:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:03:12 ---> Running in 8d9ea63ada87 05:03:12 Removing intermediate container 8d9ea63ada87 05:03:12 ---> 15339b3a2f6e 05:03:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:03:12 ---> Running in 88f8af6887c3 05:03:12 Removing intermediate container 88f8af6887c3 05:03:12 ---> db45eb361c4a 05:03:12 Step 24/26 : LABEL arch=amd64 05:03:12 ---> Running in e538982e943c 05:03:12 Removing intermediate container e538982e943c 05:03:12 ---> 595949064baf 05:03:12 Step 25/26 : LABEL git_sha=92eeb058ea4423f52907451924a865deb70e0eda 05:03:12 ---> Running in 2b7e4824f066 05:03:13 Removing intermediate container 2b7e4824f066 05:03:13 ---> 573e17117d8e 05:03:13 Step 26/26 : LABEL version=2.2.0-dev.10 05:03:13 ---> Running in 10602dfa08eb 05:03:13 Removing intermediate container 10602dfa08eb 05:03:13 ---> bbb49e4d09e7 05:03:13 [Warning] One or more build-args [ARCH] were not consumed 05:03:13 Successfully built bbb49e4d09e7 05:03:13 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:13 provisioning config files... 05:03:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4562601800036444750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:13 ---> docker-login.sh 05:03:13 nexus3.edgexfoundry.org:10001 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 nexus3.edgexfoundry.org:10002 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 nexus3.edgexfoundry.org:10003 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 nexus3.edgexfoundry.org:10004 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:13 Configure a credential helper to remove this warning. See 05:03:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:13 05:03:13 Login Succeeded 05:03:13 docker.io 05:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:14 Configure a credential helper to remove this warning. See 05:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:14 05:03:14 Login Succeeded 05:03:14 ---> docker-login.sh ends [Pipeline] } 05:03:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:14 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 05:03:14 92eeb058ea4423f52907451924a865deb70e0eda 05:03:14 latest 05:03:14 2.2.0-dev.10 05:03:14 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:03:14 main 05:03:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] isUnix [Pipeline] sh 05:03:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda 05:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:03:14 b479516df37b: Preparing 05:03:14 59f6af169331: Preparing 05:03:14 4bae4b32029d: Preparing 05:03:14 53eca1aec34a: Preparing 05:03:14 360f9b181891: Preparing 05:03:14 b541d28bf3b4: Preparing 05:03:14 b541d28bf3b4: Waiting 05:03:14 4bae4b32029d: Pushed 05:03:14 360f9b181891: Pushed 05:03:14 59f6af169331: Pushed 05:03:14 b541d28bf3b4: Layer already exists 05:03:15 53eca1aec34a: Pushed 05:03:17 b479516df37b: Pushed 05:03:17 92eeb058ea4423f52907451924a865deb70e0eda: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:03:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 05:03:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 05:03:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:03:18 b479516df37b: Preparing 05:03:18 59f6af169331: Preparing 05:03:18 4bae4b32029d: Preparing 05:03:18 53eca1aec34a: Preparing 05:03:18 360f9b181891: Preparing 05:03:18 b541d28bf3b4: Preparing 05:03:18 b541d28bf3b4: Waiting 05:03:18 59f6af169331: Layer already exists 05:03:18 b479516df37b: Layer already exists 05:03:18 4bae4b32029d: Layer already exists 05:03:18 360f9b181891: Layer already exists 05:03:18 53eca1aec34a: Layer already exists 05:03:18 b541d28bf3b4: Layer already exists 05:03:18 latest: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:03:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:03:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 05:03:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:03:18 b479516df37b: Preparing 05:03:18 59f6af169331: Preparing 05:03:18 4bae4b32029d: Preparing 05:03:18 53eca1aec34a: Preparing 05:03:18 360f9b181891: Preparing 05:03:18 b541d28bf3b4: Preparing 05:03:18 b541d28bf3b4: Waiting 05:03:18 b479516df37b: Layer already exists 05:03:18 360f9b181891: Layer already exists 05:03:18 4bae4b32029d: Layer already exists 05:03:18 59f6af169331: Layer already exists 05:03:18 53eca1aec34a: Layer already exists 05:03:18 b541d28bf3b4: Layer already exists 05:03:18 2.2.0-dev.10: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:03:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:03:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:03:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:03:19 b479516df37b: Preparing 05:03:19 59f6af169331: Preparing 05:03:19 4bae4b32029d: Preparing 05:03:19 53eca1aec34a: Preparing 05:03:19 360f9b181891: Preparing 05:03:19 b541d28bf3b4: Preparing 05:03:19 b541d28bf3b4: Waiting 05:03:19 59f6af169331: Layer already exists 05:03:19 360f9b181891: Layer already exists 05:03:19 4bae4b32029d: Layer already exists 05:03:19 b479516df37b: Layer already exists 05:03:19 53eca1aec34a: Layer already exists 05:03:19 b541d28bf3b4: Layer already exists 05:03:19 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:03:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 05:03:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 05:03:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:03:20 b479516df37b: Preparing 05:03:20 59f6af169331: Preparing 05:03:20 4bae4b32029d: Preparing 05:03:20 53eca1aec34a: Preparing 05:03:20 360f9b181891: Preparing 05:03:20 b541d28bf3b4: Preparing 05:03:20 b541d28bf3b4: Waiting 05:03:20 360f9b181891: Layer already exists 05:03:20 53eca1aec34a: Layer already exists 05:03:20 4bae4b32029d: Layer already exists 05:03:20 59f6af169331: Layer already exists 05:03:20 b479516df37b: Layer already exists 05:03:20 b541d28bf3b4: Layer already exists 05:03:20 main: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:03:20 ===================================================== [Pipeline] echo 05:03:20 taggedImages: 05:03:20 - nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda 05:03:20 - nexus3.edgexfoundry.org:10004/device-virtual:latest 05:03:20 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 05:03:20 - nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:03:20 - 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 05:03:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:20 05:03:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:03:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:20 latest: Pulling from edgex-lftools-log-publisher 05:03:20 5eb5b503b376: Pulling fs layer 05:03:20 5c69ac0246d0: Pulling fs layer 05:03:20 ec43610c2a17: Pulling fs layer 05:03:20 3a2ae6a8a46f: Pulling fs layer 05:03:20 33b1e0a273af: Pulling fs layer 05:03:20 5d3b04190fa2: Pulling fs layer 05:03:20 2f39f015ded8: Pulling fs layer 05:03:20 5d3b04190fa2: Waiting 05:03:20 2f39f015ded8: Waiting 05:03:20 3a2ae6a8a46f: Waiting 05:03:20 5c69ac0246d0: Verifying Checksum 05:03:20 5c69ac0246d0: Download complete 05:03:20 3a2ae6a8a46f: Verifying Checksum 05:03:20 3a2ae6a8a46f: Download complete 05:03:20 33b1e0a273af: Verifying Checksum 05:03:20 33b1e0a273af: Download complete 05:03:20 5d3b04190fa2: Verifying Checksum 05:03:20 5d3b04190fa2: Download complete 05:03:21 ec43610c2a17: Verifying Checksum 05:03:21 ec43610c2a17: Download complete 05:03:21 5eb5b503b376: Verifying Checksum 05:03:21 5eb5b503b376: Download complete 05:03:21 2f39f015ded8: Download complete 05:03:22 5eb5b503b376: Pull complete 05:03:22 5c69ac0246d0: Pull complete 05:03:22 ec43610c2a17: Pull complete 05:03:23 3a2ae6a8a46f: Pull complete 05:03:23 33b1e0a273af: Pull complete 05:03:23 5d3b04190fa2: Pull complete 05:03:27 2f39f015ded8: Pull complete 05:03:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:03:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:03:27 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:03:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:03:29 $ docker top 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:29 ---> job-cost.sh 05:03:29 lf-activate-venv: SKIPPING 05:03:29 INFO: No Stack... 05:03:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:30 INFO: Archiving Costs [Pipeline] sh 05:03:30 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 05:03:30 + cut -d, -f6 [Pipeline] lock 05:03:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] 05:03:30 Resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] did not exist. Created. 05:03:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:30 + echo total: 0.2199999988079071 [Pipeline] stash 05:03:30 Stashed 1 file(s) [Pipeline] } 05:03:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:30 $ docker stop --time=1 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 05:03:32 $ docker rm -f 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11757 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 05:05:10 Running in /w/workspace/device-virtual-go/26 [Pipeline] { [Pipeline] checkout 05:05:11 The recommended git tool is: git 05:05:19 using credential edgex-jenkins-ssh 05:05:19 Cloning the remote Git repository 05:05:19 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:05:19 > git init /w/workspace/device-virtual-go/26 # timeout=10 05:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:05:19 > git --version # timeout=10 05:05:19 > git --version # 'git version 2.25.1' 05:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:22 Avoid second fetch 05:05:22 Checking out Revision 92eeb058ea4423f52907451924a865deb70e0eda (main) 05:05:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:05:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:05:22 > git config core.sparsecheckout # timeout=10 05:05:22 > git checkout -f 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 05:05:27 Commit message: "Merge pull request #275 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:28 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:28 Dload Upload Total Spent Left Speed 05:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 05:05:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:29 + sudo tee /etc/docker/daemon.new 05:05:29 { 05:05:29 "registry-mirrors": [ 05:05:29 "https://nexus3.edgexfoundry.org:10001" 05:05:29 ], 05:05:29 "bip": "10.250.0.254/24", 05:05:29 "hosts": [ 05:05:29 "tcp://0.0.0.0:5555", 05:05:29 "unix:///var/run/docker.sock" 05:05:29 ], 05:05:29 "mtu": 1458, 05:05:29 "selinux-enabled": true, 05:05:29 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:29 } [Pipeline] sh 05:05:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:48 provisioning config files... 05:05:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/26@tmp/config6165114507318870771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:48 ---> docker-login.sh 05:05:48 nexus3.edgexfoundry.org:10001 05:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:49 Configure a credential helper to remove this warning. See 05:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:49 05:05:49 Login Succeeded 05:05:49 nexus3.edgexfoundry.org:10002 05:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:50 Configure a credential helper to remove this warning. See 05:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:50 05:05:50 Login Succeeded 05:05:50 nexus3.edgexfoundry.org:10003 05:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:50 Configure a credential helper to remove this warning. See 05:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:50 05:05:50 Login Succeeded 05:05:50 nexus3.edgexfoundry.org:10004 05:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:50 Configure a credential helper to remove this warning. See 05:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:50 05:05:50 Login Succeeded 05:05:50 docker.io 05:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:52 Configure a credential helper to remove this warning. See 05:05:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:52 05:05:52 Login Succeeded 05:05:52 ---> docker-login.sh ends [Pipeline] } 05:05:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:52 ========================================================= 05:05:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:05:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:05:53 Sending build context to Docker daemon 11.57MB 05:05:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:05:53 Step 2/12 : FROM ${BASE} AS builder 05:05:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:05:53 9b3977197b4f: Pulling fs layer 05:05:53 1a89e8eeedd5: Pulling fs layer 05:05:53 94645a83ff95: Pulling fs layer 05:05:53 3f3a8bcf1eab: Pulling fs layer 05:05:53 0c92f367c5e7: Pulling fs layer 05:05:53 f7c0051592d6: Pulling fs layer 05:05:53 3f3a8bcf1eab: Waiting 05:05:53 0c92f367c5e7: Waiting 05:05:53 a227ed2f7395: Pulling fs layer 05:05:53 7b1c46037f91: Pulling fs layer 05:05:53 f7c0051592d6: Waiting 05:05:53 a227ed2f7395: Waiting 05:05:53 7b1c46037f91: Waiting 05:05:53 94645a83ff95: Verifying Checksum 05:05:53 94645a83ff95: Download complete 05:05:53 1a89e8eeedd5: Verifying Checksum 05:05:53 1a89e8eeedd5: Download complete 05:05:53 0c92f367c5e7: Verifying Checksum 05:05:53 0c92f367c5e7: Download complete 05:05:53 f7c0051592d6: Verifying Checksum 05:05:53 f7c0051592d6: Download complete 05:05:53 9b3977197b4f: Verifying Checksum 05:05:53 9b3977197b4f: Download complete 05:05:53 a227ed2f7395: Verifying Checksum 05:05:53 a227ed2f7395: Download complete 05:05:54 9b3977197b4f: Pull complete 05:05:55 1a89e8eeedd5: Pull complete 05:05:55 94645a83ff95: Pull complete 05:05:55 7b1c46037f91: Verifying Checksum 05:05:55 7b1c46037f91: Download complete 05:05:56 3f3a8bcf1eab: Verifying Checksum 05:05:56 3f3a8bcf1eab: Download complete 05:06:09 3f3a8bcf1eab: Pull complete 05:06:09 0c92f367c5e7: Pull complete 05:06:09 f7c0051592d6: Pull complete 05:06:10 a227ed2f7395: Pull complete 05:06:16 7b1c46037f91: Pull complete 05:06:16 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:06:16 ---> f79e39bc4007 05:06:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:06:17 ---> Running in b1dae385653b 05:06:17 Removing intermediate container b1dae385653b 05:06:17 ---> 467cd129650e 05:06:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:06:17 ---> Running in e73e021e49b8 05:06:17 Removing intermediate container e73e021e49b8 05:06:17 ---> 39e2d58a53cd 05:06:17 Step 5/12 : WORKDIR /device-virtual-go 05:06:17 ---> Running in a7a815909a2a 05:06:18 Removing intermediate container a7a815909a2a 05:06:18 ---> ebb323c16dbf 05:06:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:18 ---> Running in 840182b00b93 05:06:20 Removing intermediate container 840182b00b93 05:06:20 ---> d9e877fdb316 05:06:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:06:20 ---> Running in fdc6947006f1 05:06:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:06:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:06:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:06:23 (2/4) Installing libedit (20210910.3.1-r0) 05:06:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:06:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:06:23 Executing busybox-1.34.1-r3.trigger 05:06:23 OK: 224 MiB in 56 packages 05:06:24 Removing intermediate container fdc6947006f1 05:06:24 ---> deaf2d4372a0 05:06:24 Step 8/12 : COPY go.mod vendor* ./ 05:06:24 ---> 77a9fe216615 05:06:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:24 ---> Running in 4a5a0bbaf4d4 05:07:11 Removing intermediate container 4a5a0bbaf4d4 05:07:11 ---> 7d347e9afbef 05:07:11 Step 10/12 : COPY . . 05:07:11 ---> ced9209447e9 05:07:11 Step 11/12 : ARG MAKE='make build' 05:07:11 ---> Running in f9bfbfa697d3 05:07:11 Removing intermediate container f9bfbfa697d3 05:07:11 ---> b46a74f697cd 05:07:11 Step 12/12 : RUN $MAKE 05:07:11 ---> Running in f411e858b26f 05:07:13 noop 05:07:13 Removing intermediate container f411e858b26f 05:07:13 ---> 9e58d9c80520 05:07:13 Successfully built 9e58d9c80520 05:07:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:07:14 + docker inspect -f . ci-base-image-arm64 05:07:14 . [Pipeline] withDockerContainer 05:07:14 prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container 05:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@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 05:07:16 $ docker top 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:17 + go version 05:07:17 go version go1.17.6 linux/arm64 [Pipeline] } 05:07:17 $ docker stop --time=1 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f 05:07:18 $ docker rm -f 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:19 + docker inspect -f . ci-base-image-arm64 05:07:19 . [Pipeline] withDockerContainer 05:07:19 prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container 05:07:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@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 05:07:21 $ docker top 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:07:22 + make test 05:07:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:07:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:09:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:09:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.156s coverage: 65.7% of statements 05:09:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:28 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:28 $ docker stop --time=1 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed 05:09:29 $ docker rm -f 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed [Pipeline] // withDockerContainer [Pipeline] sh 05:09:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:30 Warning: overwriting stash ‘coverage-report’ 05:09:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:32 + ls -al . 05:09:32 total 180 05:09:32 drwxrwxr-x 7 jenkins jenkins 4096 Apr 10 05:09 . 05:09:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 .. 05:09:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:05 .git 05:09:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 .github 05:09:32 -rw-rw-r-- 1 jenkins jenkins 270 Apr 10 05:05 .gitignore 05:09:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:05 .golangci.yml 05:09:32 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 10 05:05 Attribution.txt 05:09:32 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 10 05:05 CHANGELOG.md 05:09:32 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 10 05:05 Dockerfile 05:09:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:05 GOVERNANCE.md 05:09:32 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 05:05 Jenkinsfile 05:09:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:05 LICENSE 05:09:32 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 10 05:05 Makefile 05:09:32 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 05:05 OWNERS.md 05:09:32 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 10 05:05 README.md 05:09:32 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:01 VERSION 05:09:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 bin 05:09:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 cmd 05:09:32 -rw-r--r-- 1 jenkins jenkins 44128 Apr 10 05:08 coverage.out 05:09:32 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 10 05:05 go.mod 05:09:32 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 10 05:05 go.sum 05:09:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 internal 05:09:32 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 05:05 version.go [Pipeline] isUnix [Pipeline] sh 05:09:32 + 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=92eeb058ea4423f52907451924a865deb70e0eda --label arch=arm64 --label version=2.2.0-dev.10 . 05:09:32 Sending build context to Docker daemon 11.61MB 05:09:33 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:09:33 Step 2/26 : FROM ${BASE} AS builder 05:09:33 ---> 9e58d9c80520 05:09:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:09:33 ---> Running in 1dd3603457e3 05:09:33 Removing intermediate container 1dd3603457e3 05:09:33 ---> 1d73c851b09b 05:09:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:09:33 ---> Running in 4229809b82dd 05:09:33 Removing intermediate container 4229809b82dd 05:09:33 ---> 97fda8d1f443 05:09:33 Step 5/26 : WORKDIR /device-virtual-go 05:09:33 ---> Running in 032a3d5e05a2 05:09:34 Removing intermediate container 032a3d5e05a2 05:09:34 ---> fb2e8e04f361 05:09:34 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:34 ---> Running in 3f63bdda88f7 05:09:36 Removing intermediate container 3f63bdda88f7 05:09:36 ---> ecdaad776e64 05:09:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:36 ---> Running in 3be8ad12afce 05:09:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:09:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:09:38 OK: 224 MiB in 56 packages 05:09:39 Removing intermediate container 3be8ad12afce 05:09:39 ---> 04d775723494 05:09:39 Step 8/26 : COPY go.mod vendor* ./ 05:09:40 ---> e459ca88595f 05:09:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:40 ---> Running in 2594dda46f50 05:09:42 Removing intermediate container 2594dda46f50 05:09:42 ---> 2b0e0ee95e8a 05:09:42 Step 10/26 : COPY . . 05:09:43 ---> ce58dc460f1a 05:09:43 Step 11/26 : ARG MAKE='make build' 05:09:43 ---> Running in 1f64033a6c1f 05:09:43 Removing intermediate container 1f64033a6c1f 05:09:43 ---> 069e4384b0aa 05:09:43 Step 12/26 : RUN $MAKE 05:09:43 ---> Running in 9332705c1bfc 05:09:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 05:12:06 Removing intermediate container 9332705c1bfc 05:12:06 ---> 29c433313dce 05:12:06 Step 13/26 : FROM alpine:3.14 05:12:06 3.14: Pulling from library/alpine 05:12:06 455c02918c45: Pulling fs layer 05:12:06 455c02918c45: Pull complete 05:12:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:12:06 Status: Downloaded newer image for alpine:3.14 05:12:06 ---> ac73e934f311 05:12:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:12:06 ---> Running in 44793ecafd50 05:12:06 Removing intermediate container 44793ecafd50 05:12:06 ---> 94f6020d400d 05:12:06 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:06 ---> Running in e28ad038130e 05:12:06 Removing intermediate container e28ad038130e 05:12:06 ---> 14e45ba35b5c 05:12:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:12:06 ---> Running in 685a04b36fc2 05:12:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:12:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:12:06 (1/6) Installing dumb-init (1.2.5-r1) 05:12:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:12:06 (3/6) Installing libsodium (1.0.18-r0) 05:12:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:12:06 (5/6) Installing libzmq (4.3.4-r0) 05:12:06 (6/6) Installing zeromq (4.3.4-r0) 05:12:06 Executing busybox-1.33.1-r7.trigger 05:12:06 OK: 8 MiB in 20 packages 05:12:06 Removing intermediate container 685a04b36fc2 05:12:06 ---> 4c82a3398610 05:12:06 Step 17/26 : WORKDIR / 05:12:06 ---> Running in 3dc4899e5bbc 05:12:06 Removing intermediate container 3dc4899e5bbc 05:12:06 ---> c3d2d02ef2f1 05:12:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:12:06 ---> 2050f7a88fa6 05:12:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:12:07 ---> 6a682096b977 05:12:07 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:12:09 ---> d4f7e2cff62a 05:12:09 Step 21/26 : EXPOSE 59900 05:12:09 ---> Running in b368296ce75b 05:12:09 Removing intermediate container b368296ce75b 05:12:09 ---> 74a9e80b346f 05:12:09 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:12:09 ---> Running in 8fdf3044c392 05:12:10 Removing intermediate container 8fdf3044c392 05:12:10 ---> 858d27bc4dbe 05:12:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:10 ---> Running in 4768363cbbb3 05:12:10 Removing intermediate container 4768363cbbb3 05:12:10 ---> 515a309d7536 05:12:10 Step 24/26 : LABEL arch=arm64 05:12:10 ---> Running in a5864a4093c8 05:12:10 Removing intermediate container a5864a4093c8 05:12:10 ---> ff108f6e8264 05:12:10 Step 25/26 : LABEL git_sha=92eeb058ea4423f52907451924a865deb70e0eda 05:12:10 ---> Running in fdc94e1c1f81 05:12:11 Removing intermediate container fdc94e1c1f81 05:12:11 ---> 949c3437667d 05:12:11 Step 26/26 : LABEL version=2.2.0-dev.10 05:12:11 ---> Running in 6d506541cdc7 05:12:11 Removing intermediate container 6d506541cdc7 05:12:11 ---> 75cafd3989a5 05:12:11 [Warning] One or more build-args [ARCH] were not consumed 05:12:11 Successfully built 75cafd3989a5 05:12:11 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 05:12:11 provisioning config files... 05:12:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/26@tmp/config7303054673302069907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:11 ---> docker-login.sh 05:12:11 nexus3.edgexfoundry.org:10001 05:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:12 Configure a credential helper to remove this warning. See 05:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:12 05:12:12 Login Succeeded 05:12:12 nexus3.edgexfoundry.org:10002 05:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:12 Configure a credential helper to remove this warning. See 05:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:12 05:12:12 Login Succeeded 05:12:12 nexus3.edgexfoundry.org:10003 05:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:13 Configure a credential helper to remove this warning. See 05:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:13 05:12:13 Login Succeeded 05:12:13 nexus3.edgexfoundry.org:10004 05:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:13 Configure a credential helper to remove this warning. See 05:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:13 05:12:13 Login Succeeded 05:12:13 docker.io 05:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:14 Configure a credential helper to remove this warning. See 05:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:14 05:12:14 Login Succeeded 05:12:14 ---> docker-login.sh ends [Pipeline] } 05:12:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:12:14 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 05:12:14 92eeb058ea4423f52907451924a865deb70e0eda 05:12:14 latest 05:12:14 2.2.0-dev.10 05:12:14 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:12:14 main 05:12:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:12:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] isUnix [Pipeline] sh 05:12:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda 05:12:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:12:15 0252e4f29cc6: Preparing 05:12:15 b58bff912548: Preparing 05:12:15 453f23e77807: Preparing 05:12:15 34be73efd542: Preparing 05:12:15 014b20783886: Preparing 05:12:15 f73e7dbfee58: Preparing 05:12:15 f73e7dbfee58: Waiting 05:12:15 453f23e77807: Pushed 05:12:15 b58bff912548: Pushed 05:12:15 014b20783886: Pushed 05:12:15 f73e7dbfee58: Layer already exists 05:12:16 34be73efd542: Pushed 05:12:21 0252e4f29cc6: Pushed 05:12:22 92eeb058ea4423f52907451924a865deb70e0eda: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh 05:12:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:12:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:12:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:12:22 0252e4f29cc6: Preparing 05:12:22 b58bff912548: Preparing 05:12:22 453f23e77807: Preparing 05:12:22 34be73efd542: Preparing 05:12:22 014b20783886: Preparing 05:12:22 f73e7dbfee58: Preparing 05:12:22 f73e7dbfee58: Waiting 05:12:22 453f23e77807: Layer already exists 05:12:22 0252e4f29cc6: Layer already exists 05:12:22 b58bff912548: Layer already exists 05:12:22 34be73efd542: Layer already exists 05:12:22 014b20783886: Layer already exists 05:12:23 f73e7dbfee58: Layer already exists 05:12:23 latest: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh 05:12:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:12:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 05:12:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:12:23 0252e4f29cc6: Preparing 05:12:23 b58bff912548: Preparing 05:12:23 453f23e77807: Preparing 05:12:23 34be73efd542: Preparing 05:12:23 014b20783886: Preparing 05:12:23 f73e7dbfee58: Preparing 05:12:23 f73e7dbfee58: Waiting 05:12:23 453f23e77807: Layer already exists 05:12:23 0252e4f29cc6: Layer already exists 05:12:23 b58bff912548: Layer already exists 05:12:23 34be73efd542: Layer already exists 05:12:23 014b20783886: Layer already exists 05:12:23 f73e7dbfee58: Layer already exists 05:12:24 2.2.0-dev.10: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh 05:12:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:12:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:12:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:12:24 0252e4f29cc6: Preparing 05:12:24 b58bff912548: Preparing 05:12:24 453f23e77807: Preparing 05:12:24 34be73efd542: Preparing 05:12:24 014b20783886: Preparing 05:12:24 f73e7dbfee58: Preparing 05:12:24 f73e7dbfee58: Waiting 05:12:24 014b20783886: Layer already exists 05:12:24 34be73efd542: Layer already exists 05:12:24 b58bff912548: Layer already exists 05:12:24 0252e4f29cc6: Layer already exists 05:12:24 453f23e77807: Layer already exists 05:12:25 f73e7dbfee58: Layer already exists 05:12:25 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh 05:12:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 05:12:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 05:12:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:12:25 0252e4f29cc6: Preparing 05:12:25 b58bff912548: Preparing 05:12:25 453f23e77807: Preparing 05:12:25 34be73efd542: Preparing 05:12:25 014b20783886: Preparing 05:12:25 f73e7dbfee58: Preparing 05:12:25 f73e7dbfee58: Waiting 05:12:25 453f23e77807: Layer already exists 05:12:25 0252e4f29cc6: Layer already exists 05:12:25 b58bff912548: Layer already exists 05:12:25 014b20783886: Layer already exists 05:12:25 34be73efd542: Layer already exists 05:12:26 f73e7dbfee58: Layer already exists 05:12:26 main: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:12:26 ===================================================== [Pipeline] echo 05:12:26 taggedImages: 05:12:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda 05:12:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:12:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 05:12:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 05:12:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:26 05:12:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:27 arm64: Pulling from edgex-lftools-log-publisher 05:12:27 8998bd30e6a1: Pulling fs layer 05:12:27 04944245beec: Pulling fs layer 05:12:27 699f458cf7ca: Pulling fs layer 05:12:27 765212b225bb: Pulling fs layer 05:12:27 f23df028b6ca: Pulling fs layer 05:12:27 d65c8cfc05b1: Pulling fs layer 05:12:27 2437ff75d9bd: Pulling fs layer 05:12:27 f23df028b6ca: Waiting 05:12:27 d65c8cfc05b1: Waiting 05:12:27 2437ff75d9bd: Waiting 05:12:27 765212b225bb: Waiting 05:12:27 04944245beec: Verifying Checksum 05:12:27 04944245beec: Download complete 05:12:27 765212b225bb: Verifying Checksum 05:12:27 765212b225bb: Download complete 05:12:27 f23df028b6ca: Verifying Checksum 05:12:27 f23df028b6ca: Download complete 05:12:27 d65c8cfc05b1: Verifying Checksum 05:12:27 d65c8cfc05b1: Download complete 05:12:27 699f458cf7ca: Verifying Checksum 05:12:27 699f458cf7ca: Download complete 05:12:27 8998bd30e6a1: Download complete 05:12:30 2437ff75d9bd: Verifying Checksum 05:12:30 2437ff75d9bd: Download complete 05:12:31 8998bd30e6a1: Pull complete 05:12:32 04944245beec: Pull complete 05:12:33 699f458cf7ca: Pull complete 05:12:34 765212b225bb: Pull complete 05:12:34 f23df028b6ca: Pull complete 05:12:35 d65c8cfc05b1: Pull complete 05:12:50 2437ff75d9bd: Pull complete 05:12:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:12:50 prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container 05:12:50 $ 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/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@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 05:12:53 $ docker top 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:54 ---> job-cost.sh 05:12:54 lf-activate-venv: SKIPPING 05:12:54 INFO: No Stack... 05:12:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:12:55 INFO: Archiving Costs [Pipeline] sh 05:12:56 + cat /w/workspace/device-virtual-go/26/archives/cost.csv 05:12:56 + cut -d, -f6 [Pipeline] lock 05:12:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] 05:12:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] did not exist. Created. 05:12:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:56 /w/workspace/device-virtual-go/26@tmp/durable-aa53029e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:12:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:12:57 Warning: overwriting stash ‘stack-cost’ 05:12:57 Stashed 1 file(s) [Pipeline] } 05:12:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 05:12:57 $ docker stop --time=1 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe 05:12:59 $ docker rm -f 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe [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 05:12:59 provisioning config files... 05:12:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7250501542744839207tmp [Pipeline] { [Pipeline] sh 05:13:00 + set +x 05:13:00 + + bashcurl -s -s -- https://codecov.io/bash 05:13:00 05:13:00 05:13:00 _____ _ 05:13:00 / ____| | | 05:13:00 | | ___ __| | ___ ___ _____ __ 05:13:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:00 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:00 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:00 Bash-1.0.6 05:13:00 05:13:00 05:13:00 ==> git version 2.25.1 found 05:13:00 ==> 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 05:13:00 Release-Date: 2020-01-08 05:13:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:13:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:00 ==> Jenkins CI detected. 05:13:00 current dir:  /w/workspace/exfoundry_device-virtual-go_main 05:13:00 project root: . 05:13:00 --> token set from env 05:13:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:00 ==> Running gcov in . (disable via -X gcov) 05:13:00 ==> Python coveragepy not found 05:13:00 ==> Searching for coverage reports in: 05:13:00 + . 05:13:00 -> Found 1 reports 05:13:00 ==> Detecting git/mercurial file structure 05:13:00 ==> Reading reports 05:13:00 + ./coverage.out bytes=44128 05:13:00 ==> Appending adjustments 05:13:00 https://docs.codecov.io/docs/fixing-reports 05:13:00 + Found adjustments 05:13:00 ==> Gzipping contents 05:13:00 8.0K /tmp/codecov.O89LH8.gz 05:13:00 ==> Uploading reports 05:13:00 url: https://codecov.io 05:13:00 query: branch=main&commit=92eeb058ea4423f52907451924a865deb70e0eda&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:13:00 -> Pinging Codecov 05:13:00 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=92eeb058ea4423f52907451924a865deb70e0eda&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:13:00 -> Uploading to 05:13:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/5E52B4B073DB2E39498172D8E973AA87/92eeb058ea4423f52907451924a865deb70e0eda/1ddbd57e-69c5-4998-89ce-f82394f96257.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T051300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea28fa001c335d1302612aa9d5264b2130182c85cc9180f94afb0fe2b296d4e0 05:13:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:00 Dload Upload Total Spent Left Speed 05:13:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5308 0 0 100 5308 0 26277 --:--:-- --:--:-- --:--:-- 26277 05:13:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] } 05:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:13:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:13:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:13:01 05:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:13:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:13:01 188c0c94c7c5: Pulling fs layer 05:13:01 0ef7d3d256c8: Pulling fs layer 05:13:01 de9db76c5a1d: Pulling fs layer 05:13:01 0eba1c9be4d2: Pulling fs layer 05:13:01 0d57e429df01: Pulling fs layer 05:13:01 4e4be7b47b0d: Pulling fs layer 05:13:01 e1f770b5df2f: Pulling fs layer 05:13:01 85a0685a4137: Pulling fs layer 05:13:01 0d57e429df01: Waiting 05:13:01 4e4be7b47b0d: Waiting 05:13:01 e1f770b5df2f: Waiting 05:13:01 85a0685a4137: Waiting 05:13:01 0eba1c9be4d2: Waiting 05:13:01 de9db76c5a1d: Download complete 05:13:01 0ef7d3d256c8: Download complete 05:13:01 0d57e429df01: Verifying Checksum 05:13:01 0d57e429df01: Download complete 05:13:01 4e4be7b47b0d: Verifying Checksum 05:13:01 4e4be7b47b0d: Download complete 05:13:01 188c0c94c7c5: Verifying Checksum 05:13:01 188c0c94c7c5: Download complete 05:13:01 188c0c94c7c5: Pull complete 05:13:01 0ef7d3d256c8: Pull complete 05:13:01 e1f770b5df2f: Download complete 05:13:02 de9db76c5a1d: Pull complete 05:13:02 0eba1c9be4d2: Verifying Checksum 05:13:02 0eba1c9be4d2: Download complete 05:13:02 85a0685a4137: Verifying Checksum 05:13:02 85a0685a4137: Download complete 05:13:05 0eba1c9be4d2: Pull complete 05:13:05 0d57e429df01: Pull complete 05:13:05 4e4be7b47b0d: Pull complete 05:13:06 e1f770b5df2f: Pull complete 05:13:09 85a0685a4137: Pull complete 05:13:09 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:13:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:13:09 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:13:11 $ docker top afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd -eo pid,comm [Pipeline] { [Pipeline] echo 05:13:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:13:12 + set -o pipefail 05:13:12 + snyk monitor '--org=edgex-jenkins' 05:13:18 05:13:18 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 05:13:18 05:13:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/108ce7b7-6c22-4a7c-a0fc-bd9e1fca9d51 05:13:18 05:13:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:13:18 05:13:19 [Pipeline] } 05:13:19 $ docker stop --time=1 afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd 05:13:21 $ docker rm -f afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd [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 05:13:22 + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] sh 05:13:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:13:22 . [Pipeline] withDockerContainer 05:13:23 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:13:23 $ docker top 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:23 [ssh-agent] Looking for ssh-agent implementation... 05:13:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:23 $ docker exec 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 ssh-agent 05:13:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPMEdcc/agent.13 05:13:23 SSH_AGENT_PID=19 05:13:23 Running ssh-add (command line suppressed) 05:13:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_673541730421086303.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_673541730421086303.key) 05:13:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:24 + git semver tag 05:13:24 # -> Open(): unable to determine branch for HEAD 05:13:24 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 05:13:24 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 05:13:24 # $SEMVER_REMOTE_NAME = origin 05:13:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:13:24 # $SEMVER_USER_NAME = edgex-jenkins 05:13:24 # $SEMVER_BRANCH = main 05:13:24 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 05:13:24 # 92eeb058ea4423f52907451924a865deb70e0eda HEAD 05:13:24 # -> Force: false 05:13:24 # 53c0a93b6ff01ab52fc61fbd1c87eefa7d36cb15 refs/tags/v2.2.0-dev.10 [Pipeline] } 05:13:24 $ docker exec --env ******** --env ******** 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 ssh-agent -k 05:13:24 unset SSH_AUTH_SOCK; 05:13:24 unset SSH_AGENT_PID; 05:13:24 echo Agent pid 19 killed; 05:13:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:24 + git semver [Pipeline] } 05:13:24 $ docker stop --time=1 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 05:13:26 $ docker rm -f 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:26 05:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:26 0.23.1-centos7: Pulling from edgex-lftools 05:13:26 ab5ef0e58194: Pulling fs layer 05:13:26 9712f1f96733: Pulling fs layer 05:13:26 63f879dbbcfc: Pulling fs layer 05:13:26 0d9ebad4ef96: Pulling fs layer 05:13:26 e9a5061849ea: Pulling fs layer 05:13:26 d747dcd14b5f: Pulling fs layer 05:13:26 2de7ff778b66: Pulling fs layer 05:13:26 0d9ebad4ef96: Waiting 05:13:26 e9a5061849ea: Waiting 05:13:26 d747dcd14b5f: Waiting 05:13:26 2de7ff778b66: Waiting 05:13:26 9712f1f96733: Verifying Checksum 05:13:26 9712f1f96733: Download complete 05:13:27 63f879dbbcfc: Verifying Checksum 05:13:27 63f879dbbcfc: Download complete 05:13:27 0d9ebad4ef96: Verifying Checksum 05:13:27 0d9ebad4ef96: Download complete 05:13:27 d747dcd14b5f: Verifying Checksum 05:13:27 d747dcd14b5f: Download complete 05:13:27 ab5ef0e58194: Verifying Checksum 05:13:27 ab5ef0e58194: Download complete 05:13:27 e9a5061849ea: Verifying Checksum 05:13:27 e9a5061849ea: Download complete 05:13:27 2de7ff778b66: Verifying Checksum 05:13:27 2de7ff778b66: Download complete 05:13:29 ab5ef0e58194: Pull complete 05:13:29 9712f1f96733: Pull complete 05:13:30 63f879dbbcfc: Pull complete 05:13:34 0d9ebad4ef96: Pull complete 05:13:34 e9a5061849ea: Pull complete 05:13:34 d747dcd14b5f: Pull complete 05:13:35 2de7ff778b66: Pull complete 05:13:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:13:35 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:13:38 $ docker top bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:13:38 provisioning config files... 05:13:38 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1786499042620112335tmp 05:13:38 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7268007547101608669tmp 05:13:38 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4406313787125881267tmp [Pipeline] { [Pipeline] echo 05:13:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:13:38 ---> sigul-configuration.sh 05:13:38 gpg: directory `/root/.gnupg' created 05:13:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:13:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:13:38 gpg: keyring `/root/.gnupg/secring.gpg' created 05:13:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:13:38 gpg: CAST5 encrypted data 05:13:38 gpg: encrypted with 1 passphrase 05:13:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:13:39 + mkdir /home/jenkins 05:13:39 + mkdir /home/jenkins/sigul [Pipeline] sh 05:13:39 + 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 05:13:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:13:39 ---> sigul-install.sh 05:13:39 Sigul already installed; skipping installation. [Pipeline] sh 05:13:40 + git tag --list 05:13:40 v1.0.0 05:13:40 v1.1.0 05:13:40 v1.1.1 05:13:40 v1.2.1 05:13:40 v1.2.2 05:13:40 v1.2.3 05:13:40 v1.3.0 05:13:40 v1.3.1 05:13:40 v2.0.0 05:13:40 v2.0.1-dev.1 05:13:40 v2.0.1-dev.10 05:13:40 v2.0.1-dev.11 05:13:40 v2.0.1-dev.12 05:13:40 v2.0.1-dev.13 05:13:40 v2.0.1-dev.14 05:13:40 v2.0.1-dev.15 05:13:40 v2.0.1-dev.2 05:13:40 v2.0.1-dev.3 05:13:40 v2.0.1-dev.4 05:13:40 v2.0.1-dev.5 05:13:40 v2.0.1-dev.6 05:13:40 v2.0.1-dev.7 05:13:40 v2.0.1-dev.8 05:13:40 v2.0.1-dev.9 05:13:40 v2.1.0 05:13:40 v2.2.0-dev.1 05:13:40 v2.2.0-dev.10 05:13:40 v2.2.0-dev.2 05:13:40 v2.2.0-dev.3 05:13:40 v2.2.0-dev.4 05:13:40 v2.2.0-dev.5 05:13:40 v2.2.0-dev.6 05:13:40 v2.2.0-dev.7 05:13:40 v2.2.0-dev.8 05:13:40 v2.2.0-dev.9 [Pipeline] sh 05:13:40 + lftools sign git-tag v2.2.0-dev.10 05:13:40 Signing Git tag with Sigul... 05:13:40 Signing v2.2.0-dev.10 [Pipeline] echo 05:13:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:13:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:13:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:13:41 $ docker stop --time=1 bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 05:13:42 $ docker rm -f bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:13:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:13:43 . [Pipeline] withDockerContainer 05:13:43 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:13:43 $ docker top 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:44 [ssh-agent] Looking for ssh-agent implementation... 05:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:44 $ docker exec 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf ssh-agent 05:13:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOiEJF/agent.14 05:13:44 SSH_AGENT_PID=21 05:13:44 Running ssh-add (command line suppressed) 05:13:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_772926938601573664.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_772926938601573664.key) 05:13:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:44 + git semver bump pre 05:13:44 # -> Open(): unable to determine branch for HEAD 05:13:44 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 05:13:44 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 05:13:44 # $SEMVER_REMOTE_NAME = origin 05:13:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:13:44 # $SEMVER_USER_NAME = edgex-jenkins 05:13:44 # $SEMVER_BRANCH = main 05:13:44 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 05:13:44 2.2.0-dev.11 [Pipeline] } 05:13:44 $ docker exec --env ******** --env ******** 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf ssh-agent -k 05:13:44 unset SSH_AUTH_SOCK; 05:13:44 unset SSH_AGENT_PID; 05:13:44 echo Agent pid 21 killed; 05:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:45 + git semver [Pipeline] } 05:13:45 $ docker stop --time=1 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf 05:13:46 $ docker rm -f 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf [Pipeline] // withDockerContainer [Pipeline] sh 05:13:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:13:47 . [Pipeline] withDockerContainer 05:13:47 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:47 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:13:47 $ docker top e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:47 [ssh-agent] Looking for ssh-agent implementation... 05:13:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:47 $ docker exec e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 ssh-agent 05:13:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhJOOlm/agent.15 05:13:47 SSH_AGENT_PID=22 05:13:47 Running ssh-add (command line suppressed) 05:13:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1561801420695295204.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1561801420695295204.key) 05:13:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:48 + git semver push 05:13:48 # -> Open(): unable to determine branch for HEAD 05:13:48 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 05:13:48 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 05:13:48 # $SEMVER_REMOTE_NAME = origin 05:13:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:13:48 # $SEMVER_USER_NAME = edgex-jenkins 05:13:48 # $SEMVER_BRANCH = main 05:13:48 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 05:13:50 $ docker exec --env ******** --env ******** e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 ssh-agent -k 05:13:50 unset SSH_AUTH_SOCK; 05:13:50 unset SSH_AGENT_PID; 05:13:50 echo Agent pid 22 killed; 05:13:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:50 + git semver [Pipeline] } 05:13:50 $ docker stop --time=1 e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 05:13:52 $ docker rm -f e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 [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 05:13:52 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 05:13:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:13:52 total 16 05:13:52 drwxr-xr-x 3 root root 4096 Apr 10 05:03 . 05:13:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:13 .. 05:13:52 drwxr-xr-x 2 root root 4096 Apr 10 05:03 cost 05:13:52 -rw-r--r-- 1 root root 87 Apr 10 05:03 cost.csv 05:13:52 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 05:13:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:13:52 total 16 05:13:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:03 . 05:13:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:13 .. 05:13:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:03 cost 05:13:52 -rw-r--r-- 1 jenkins jenkins 87 Apr 10 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:53 ---> package-listing.sh 05:13:53 ++ facter osfamily 05:13:53 ++ tr '[:upper:]' '[:lower:]' 05:13:54 + OS_FAMILY=debian 05:13:54 + workspace=/w/workspace/exfoundry_device-virtual-go_main 05:13:54 + START_PACKAGES=/tmp/packages_start.txt 05:13:54 + END_PACKAGES=/tmp/packages_end.txt 05:13:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:54 + PACKAGES=/tmp/packages_start.txt 05:13:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:13:54 + PACKAGES=/tmp/packages_end.txt 05:13:54 + case "${OS_FAMILY}" in 05:13:54 + dpkg -l 05:13:54 + grep '^ii' 05:13:54 + '[' -f /tmp/packages_start.txt ']' 05:13:54 + '[' -f /tmp/packages_end.txt ']' 05:13:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:13:54 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 05:13:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 05:13:54 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 05:13:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:54 . [Pipeline] withDockerContainer 05:13:55 prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container 05:13:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:55 $ docker top 3d4f0fb7f636d220039bab34b9da634f7c6dbd4cdcb5ef58f4afddbccc119de7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:55 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:56 + ls /var/log/sa-host 05:13:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:56 provisioning config files... 05:13:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5083687755283249940tmp [Pipeline] { [Pipeline] echo 05:13:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:56 ---> create-netrc.sh [Pipeline] } 05:13:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:57 ---> python-tools-install.sh [Pipeline] echo 05:13:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:57 ---> sudo-logs.sh 05:13:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:57 ---> job-cost.sh 05:13:57 lf-activate-venv: SKIPPING 05:13:57 DEBUG: total: 0.2199999988079071 05:13:57 INFO: Retrieving Stack Cost... 05:13:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:58 INFO: Archiving Costs [Pipeline] echo 05:13:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:58 ---> logs-deploy.sh 05:13:58 lf-activate-venv: SKIPPING 05:13:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/26 05:13:58 INFO: archiving workspace using pattern(s): 05:13:59 Archives upload complete. 05:13:59 INFO: archiving logs to Nexus