Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 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-ssh10509483706883454714.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-ssh3493907984982776398.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-ssh13509319626564278411.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-ssh7166556792250543081.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-ssh3056207915298556542.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 Running on prd-ubuntu20.04-docker-8c-8g-19502 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 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c (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 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 Commit message: "Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23" > git rev-list --no-walk 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:56:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:56:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:56:21 ========================================================= 13:56:21 EdgeX Global Pipelines Version Info 13:56:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:56:21 ------------------- 13:56:21 stable info: 13:56:21 ------------------- 13:56:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:56:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:56:21 Message: update stable to v1.0.221 13:56:22 ------------------- 13:56:22 experimental info: 13:56:22 ------------------- 13:56:22 Commited By: **** collab-it+edgex@linuxfoundation.org 13:56:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:56:22 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:56:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bad5f78 [Pipeline] echo 13:56:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:56:23 provisioning config files... 13:56:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5425294334414567438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:23 ---> docker-login.sh 13:56:23 nexus3.edgexfoundry.org:10001 13:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:23 Configure a credential helper to remove this warning. See 13:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:23 13:56:23 Login Succeeded 13:56:23 nexus3.edgexfoundry.org:10002 13:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:24 Configure a credential helper to remove this warning. See 13:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:24 13:56:24 Login Succeeded 13:56:24 nexus3.edgexfoundry.org:10003 13:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:24 Configure a credential helper to remove this warning. See 13:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:24 13:56:24 Login Succeeded 13:56:24 nexus3.edgexfoundry.org:10004 13:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:24 Configure a credential helper to remove this warning. See 13:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:24 13:56:24 Login Succeeded 13:56:24 docker.io 13:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:24 Configure a credential helper to remove this warning. See 13:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:24 13:56:24 Login Succeeded 13:56:24 ---> docker-login.sh ends [Pipeline] } 13:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:56:25 + git rev-list -1 --merges bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c~1..bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo 13:56:25 -----------> git rev-list -1 --merges bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c~1..bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 13:56:25 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [false] [Pipeline] sh 13:56:25 + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo 13:56:25 ========================================================= 13:56:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:56:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:56:26 + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo 13:56:26 [semverPrep] GIT_COMMIT: bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c, Commit Message: Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23 [Pipeline] echo 13:56:26 [semverPrep] This is not a build commit. [Pipeline] sh 13:56:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:56:26 + grep -v github /etc/ssh/ssh_known_hosts 13:56:26 + [ -e /tmp/ssh_known_hosts ] 13:56:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:56:26 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:56:26 sudo tee -a /etc/ssh/ssh_known_hosts 13:56:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:56:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:56:27 13:56:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:56:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:56:27 latest: Pulling from edgex-devops/git-semver 13:56:27 a0d0a0d46f8b: Pulling fs layer 13:56:27 3e5f54012d9b: Pulling fs layer 13:56:27 4c7163046ea9: Pulling fs layer 13:56:27 0c2d73faf560: Pulling fs layer 13:56:27 0c2d73faf560: Waiting 13:56:27 3e5f54012d9b: Verifying Checksum 13:56:27 3e5f54012d9b: Download complete 13:56:27 a0d0a0d46f8b: Download complete 13:56:27 4c7163046ea9: Verifying Checksum 13:56:27 4c7163046ea9: Download complete 13:56:27 0c2d73faf560: Download complete 13:56:27 a0d0a0d46f8b: Pull complete 13:56:27 3e5f54012d9b: Pull complete 13:56:28 4c7163046ea9: Pull complete 13:56:28 0c2d73faf560: Pull complete 13:56:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:56:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:56:28 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 13:56:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:56:28 $ docker top a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:29 [ssh-agent] Looking for ssh-agent implementation... 13:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:29 $ docker exec a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent 13:56:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJneAFp/agent.16 13:56:29 SSH_AGENT_PID=23 13:56:29 Running ssh-add (command line suppressed) 13:56:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2523024391426144333.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2523024391426144333.key) 13:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:29 + git tag --points-at HEAD [Pipeline] } 13:56:29 $ docker exec --env ******** --env ******** a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent -k 13:56:29 unset SSH_AUTH_SOCK; 13:56:29 unset SSH_AGENT_PID; 13:56:29 echo Agent pid 23 killed; 13:56:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:29 [ssh-agent] Looking for ssh-agent implementation... 13:56:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:30 $ docker exec a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent 13:56:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGJJkkB/agent.55 13:56:30 SSH_AGENT_PID=61 13:56:30 Running ssh-add (command line suppressed) 13:56:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3264684353505829382.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3264684353505829382.key) 13:56:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:30 + git semver init 13:56:30 # -> Open(): unable to determine branch for HEAD 13:56:30 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 13:56:30 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 13:56:30 # $SEMVER_REMOTE_NAME = origin 13:56:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:56:30 # $SEMVER_USER_NAME = edgex-jenkins 13:56:30 # $SEMVER_BRANCH = main 13:56:30 # $SEMVER_TEMP = /tmp/semver-848087488 13:56:30 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 13:56:32 # '/tmp/semver-848087488' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 13:56:32 # -> Force: false 13:56:32 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 13:56:32 $ docker exec --env ******** --env ******** a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent -k 13:56:32 unset SSH_AUTH_SOCK; 13:56:32 unset SSH_AGENT_PID; 13:56:32 echo Agent pid 61 killed; 13:56:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:56:32 + git semver [Pipeline] } 13:56:32 $ docker stop --time=1 a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 13:56:33 $ docker rm -f a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 [Pipeline] // withDockerContainer [Pipeline] sh 13:56:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:56:34 Stashed 1 file(s) [Pipeline] echo 13:56:34 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 13:56:34 provisioning config files... 13:56:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1584455050163597231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:34 ---> docker-login.sh 13:56:34 nexus3.edgexfoundry.org:10001 13:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:34 Configure a credential helper to remove this warning. See 13:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:34 13:56:34 Login Succeeded 13:56:34 nexus3.edgexfoundry.org:10002 13:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:34 Configure a credential helper to remove this warning. See 13:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:34 13:56:34 Login Succeeded 13:56:34 nexus3.edgexfoundry.org:10003 13:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:35 Configure a credential helper to remove this warning. See 13:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:35 13:56:35 Login Succeeded 13:56:35 nexus3.edgexfoundry.org:10004 13:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:35 Configure a credential helper to remove this warning. See 13:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:35 13:56:35 Login Succeeded 13:56:35 docker.io 13:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:35 Configure a credential helper to remove this warning. See 13:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:35 13:56:35 Login Succeeded 13:56:35 ---> docker-login.sh ends [Pipeline] } 13:56:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:56:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:56:35 ========================================================= 13:56:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:56:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:56:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:56:36 Sending build context to Docker daemon 22.91MB 13:56:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:56:36 Step 2/12 : FROM ${BASE} AS builder 13:56:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:56:36 59bf1c3509f3: Pulling fs layer 13:56:36 666ba61612fd: Pulling fs layer 13:56:36 8ed8ca486205: Pulling fs layer 13:56:36 4fe6c5a15a65: Pulling fs layer 13:56:36 22a0e8bec74d: Pulling fs layer 13:56:36 640e595b4fbd: Pulling fs layer 13:56:36 763cafe07f6e: Pulling fs layer 13:56:36 0c0b528cf693: Pulling fs layer 13:56:36 10935f4eaf8b: Pulling fs layer 13:56:36 763cafe07f6e: Waiting 13:56:36 4fe6c5a15a65: Waiting 13:56:36 0c0b528cf693: Waiting 13:56:36 22a0e8bec74d: Waiting 13:56:36 640e595b4fbd: Waiting 13:56:36 10935f4eaf8b: Waiting 13:56:36 8ed8ca486205: Verifying Checksum 13:56:36 8ed8ca486205: Download complete 13:56:36 666ba61612fd: Download complete 13:56:36 22a0e8bec74d: Verifying Checksum 13:56:36 22a0e8bec74d: Download complete 13:56:36 59bf1c3509f3: Verifying Checksum 13:56:36 640e595b4fbd: Download complete 13:56:36 59bf1c3509f3: Download complete 13:56:36 763cafe07f6e: Verifying Checksum 13:56:36 763cafe07f6e: Download complete 13:56:36 0c0b528cf693: Verifying Checksum 13:56:36 0c0b528cf693: Download complete 13:56:36 59bf1c3509f3: Pull complete 13:56:36 666ba61612fd: Pull complete 13:56:36 8ed8ca486205: Pull complete 13:56:37 10935f4eaf8b: Verifying Checksum 13:56:37 10935f4eaf8b: Download complete 13:56:37 4fe6c5a15a65: Verifying Checksum 13:56:37 4fe6c5a15a65: Download complete 13:56:41 4fe6c5a15a65: Pull complete 13:56:41 22a0e8bec74d: Pull complete 13:56:41 640e595b4fbd: Pull complete 13:56:41 763cafe07f6e: Pull complete 13:56:41 0c0b528cf693: Pull complete 13:56:43 10935f4eaf8b: Pull complete 13:56:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 13:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:56:43 ---> 99d49a6021b9 13:56:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:56:44 ---> Running in 76e7c7551f0c 13:56:44 Removing intermediate container 76e7c7551f0c 13:56:44 ---> 5337f1eb2e10 13:56:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:56:44 ---> Running in 27c3bba5da90 13:56:44 Removing intermediate container 27c3bba5da90 13:56:44 ---> 61a8a713a2ef 13:56:44 Step 5/12 : WORKDIR /device-virtual-go 13:56:44 ---> Running in d582fa3e4421 13:56:45 Removing intermediate container d582fa3e4421 13:56:45 ---> 528e7967b765 13:56:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:56:45 ---> Running in b6be0223a0bd 13:56:45 Removing intermediate container b6be0223a0bd 13:56:45 ---> 2c2568a707f4 13:56:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:56:45 ---> Running in 3882e02f2257 13:56:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:56:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:56:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:56:47 (2/4) Installing libedit (20210910.3.1-r0) 13:56:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:56:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:56:47 Executing busybox-1.34.1-r3.trigger 13:56:47 OK: 224 MiB in 56 packages 13:56:47 Removing intermediate container 3882e02f2257 13:56:47 ---> 0403f4fb0b20 13:56:47 Step 8/12 : COPY go.mod vendor* ./ 13:56:48 ---> 7682905ceeca 13:56:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:56:48 ---> Running in e29323f6c428 13:56:49 Still waiting to schedule task 13:56:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:57:06 Removing intermediate container e29323f6c428 13:57:06 ---> 2677f6661590 13:57:06 Step 10/12 : COPY . . 13:57:06 ---> 68375ae0c153 13:57:06 Step 11/12 : ARG MAKE='make build' 13:57:06 ---> Running in c7b1401ad780 13:57:06 Removing intermediate container c7b1401ad780 13:57:06 ---> 8eb098ec1e3b 13:57:06 Step 12/12 : RUN $MAKE 13:57:06 ---> Running in 1fed2055cfae 13:57:06 noop 13:57:06 Removing intermediate container 1fed2055cfae 13:57:06 ---> 96427fd0d47b 13:57:06 Successfully built 96427fd0d47b 13:57:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:57:06 + docker inspect -f . ci-base-image-x86_64 13:57:06 . [Pipeline] withDockerContainer 13:57:06 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 13:57:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:57:07 $ docker top d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 -eo pid,comm [Pipeline] { [Pipeline] sh 13:57:07 + go version 13:57:07 go version go1.17.6 linux/amd64 [Pipeline] } 13:57:07 $ docker stop --time=1 d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 13:57:08 $ docker rm -f d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:57:09 + docker inspect -f . ci-base-image-x86_64 13:57:09 . [Pipeline] withDockerContainer 13:57:09 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 13:57:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:57:09 $ docker top b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:57:09 + make test 13:57:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:57:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:57:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:57:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 13:57:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:57:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:57:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:57:30 ./bin/test-attribution-txt.sh [Pipeline] echo 13:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:57:30 $ docker stop --time=1 b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b 13:57:32 $ docker rm -f b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b [Pipeline] // withDockerContainer [Pipeline] sh 13:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:57:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:57:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:57:33 + ls -al . 13:57:33 total 204 13:57:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:57 . 13:57:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 13:56 .. 13:57:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:56 .git 13:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:56 .github 13:57:33 -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 13:56 .gitignore 13:57:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 13:56 .golangci.yml 13:57:33 drwx------ 3 jenkins jenkins 4096 Apr 11 13:56 .semver 13:57:33 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 13:56 Attribution.txt 13:57:33 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 13:56 CHANGELOG.md 13:57:33 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 13:56 Dockerfile 13:57:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 13:56 GOVERNANCE.md 13:57:33 -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 13:56 Jenkinsfile 13:57:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 13:56 LICENSE 13:57:33 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 13:56 Makefile 13:57:33 -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 13:56 OWNERS.md 13:57:33 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 13:56 README.md 13:57:33 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 13:56 VERSION 13:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:56 bin 13:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:56 cmd 13:57:33 -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 13:57 coverage.out 13:57:33 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 13:56 go.mod 13:57:33 -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 13:56 go.sum 13:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:56 internal 13:57:33 -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 13:56 version.go [Pipeline] isUnix [Pipeline] sh 13:57:34 + 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c --label arch=amd64 --label version=2.2.0-dev.11 . 13:57:34 Sending build context to Docker daemon 22.95MB 13:57:34 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:57:34 Step 2/26 : FROM ${BASE} AS builder 13:57:34 ---> 96427fd0d47b 13:57:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:57:34 ---> Running in df9bfa29bb7a 13:57:34 Removing intermediate container df9bfa29bb7a 13:57:34 ---> 269f47db95a4 13:57:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:57:34 ---> Running in e8fa0fd23baa 13:57:34 Removing intermediate container e8fa0fd23baa 13:57:34 ---> 5052a3c4ac5e 13:57:34 Step 5/26 : WORKDIR /device-virtual-go 13:57:34 ---> Running in fccd851b012d 13:57:34 Removing intermediate container fccd851b012d 13:57:34 ---> 960fecc6108d 13:57:34 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:34 ---> Running in 629f626299fc 13:57:35 Removing intermediate container 629f626299fc 13:57:35 ---> e1b33c36cd53 13:57:35 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:35 ---> Running in bbb2aca447b5 13:57:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:57:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:57:36 OK: 224 MiB in 56 packages 13:57:36 Removing intermediate container bbb2aca447b5 13:57:36 ---> 523cb8b44581 13:57:36 Step 8/26 : COPY go.mod vendor* ./ 13:57:37 ---> 0ec580ba8d1f 13:57:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:37 ---> Running in 6461190b4b3a 13:57:37 Removing intermediate container 6461190b4b3a 13:57:37 ---> 465b5e0fcd6e 13:57:37 Step 10/26 : COPY . . 13:57:38 ---> b8fec5e89eaf 13:57:38 Step 11/26 : ARG MAKE='make build' 13:57:38 ---> Running in 6a9045482be3 13:57:38 Removing intermediate container 6a9045482be3 13:57:38 ---> 682f24f30f08 13:57:38 Step 12/26 : RUN $MAKE 13:57:38 ---> Running in 81b096b5e287 13:57:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:58:00 Removing intermediate container 81b096b5e287 13:58:00 ---> 3474f13b3112 13:58:00 Step 13/26 : FROM alpine:3.14 13:58:00 3.14: Pulling from library/alpine 13:58:00 8663204ce13b: Pulling fs layer 13:58:00 8663204ce13b: Verifying Checksum 13:58:00 8663204ce13b: Download complete 13:58:00 8663204ce13b: Pull complete 13:58:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:58:00 Status: Downloaded newer image for alpine:3.14 13:58:00 ---> e04c818066af 13:58:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:58:00 ---> Running in e55e2ccef46a 13:58:00 Removing intermediate container e55e2ccef46a 13:58:00 ---> 37417413d635 13:58:00 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:58:00 ---> Running in 546aa642f04a 13:58:00 Removing intermediate container 546aa642f04a 13:58:00 ---> aff69a1d5674 13:58:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:58:00 ---> Running in b8147500dc39 13:58:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:58:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:58:01 (1/6) Installing dumb-init (1.2.5-r1) 13:58:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:58:01 (3/6) Installing libsodium (1.0.18-r0) 13:58:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:58:02 (5/6) Installing libzmq (4.3.4-r0) 13:58:02 (6/6) Installing zeromq (4.3.4-r0) 13:58:02 Executing busybox-1.33.1-r7.trigger 13:58:02 OK: 8 MiB in 20 packages 13:58:02 Removing intermediate container b8147500dc39 13:58:02 ---> 718ef19725c5 13:58:02 Step 17/26 : WORKDIR / 13:58:02 ---> Running in 442600eaa965 13:58:03 Removing intermediate container 442600eaa965 13:58:03 ---> 17750fa0adfa 13:58:03 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:58:03 ---> 64c3dce8bc21 13:58:03 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:58:03 ---> 1fc7d53144a9 13:58:03 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:58:03 ---> fd543fc03694 13:58:03 Step 21/26 : EXPOSE 59900 13:58:03 ---> Running in 57c4879ddd0c 13:58:03 Removing intermediate container 57c4879ddd0c 13:58:03 ---> ecd2690e43ea 13:58:03 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:58:04 ---> Running in 6587530e8d66 13:58:04 Removing intermediate container 6587530e8d66 13:58:04 ---> 84724f9bab0c 13:58:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:58:04 ---> Running in 1d28c7d7a8ba 13:58:04 Removing intermediate container 1d28c7d7a8ba 13:58:04 ---> 3373686bb7ca 13:58:04 Step 24/26 : LABEL arch=amd64 13:58:04 ---> Running in b61c372492df 13:58:04 Removing intermediate container b61c372492df 13:58:04 ---> 9a88ec3c6cf6 13:58:04 Step 25/26 : LABEL git_sha=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 13:58:04 ---> Running in 48ff60135f4e 13:58:04 Removing intermediate container 48ff60135f4e 13:58:04 ---> 8dc234fd8f92 13:58:04 Step 26/26 : LABEL version=2.2.0-dev.11 13:58:04 ---> Running in 4495f76583b3 13:58:04 Removing intermediate container 4495f76583b3 13:58:04 ---> d5e3b3c021d8 13:58:04 [Warning] One or more build-args [ARCH] were not consumed 13:58:04 Successfully built d5e3b3c021d8 13:58:04 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:58:04 provisioning config files... 13:58:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1139480341705464875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:05 ---> docker-login.sh 13:58:05 nexus3.edgexfoundry.org:10001 13:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:05 Configure a credential helper to remove this warning. See 13:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:05 13:58:05 Login Succeeded 13:58:05 nexus3.edgexfoundry.org:10002 13:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:05 Configure a credential helper to remove this warning. See 13:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:05 13:58:05 Login Succeeded 13:58:05 nexus3.edgexfoundry.org:10003 13:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:05 Configure a credential helper to remove this warning. See 13:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:05 13:58:05 Login Succeeded 13:58:05 nexus3.edgexfoundry.org:10004 13:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:05 Configure a credential helper to remove this warning. See 13:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:05 13:58:05 Login Succeeded 13:58:05 docker.io 13:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:05 Configure a credential helper to remove this warning. See 13:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:05 13:58:05 Login Succeeded 13:58:05 ---> docker-login.sh ends [Pipeline] } 13:58:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:05 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:58:05 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 13:58:05 latest 13:58:05 2.2.0-dev.11 13:58:05 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 13:58:05 main 13:58:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:58:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] isUnix [Pipeline] sh 13:58:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 13:58:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:58:06 575e0303ae82: Preparing 13:58:06 846c7d8ee080: Preparing 13:58:06 ba0b4e495b65: Preparing 13:58:06 c89a4387fe57: Preparing 13:58:06 cad309a9affb: Preparing 13:58:06 b541d28bf3b4: Preparing 13:58:06 b541d28bf3b4: Waiting 13:58:06 ba0b4e495b65: Pushed 13:58:06 cad309a9affb: Pushed 13:58:06 846c7d8ee080: Pushed 13:58:06 b541d28bf3b4: Layer already exists 13:58:06 c89a4387fe57: Pushed 13:58:09 575e0303ae82: Pushed 13:58:09 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:58:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 13:58:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:58:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:58:09 575e0303ae82: Preparing 13:58:09 846c7d8ee080: Preparing 13:58:09 ba0b4e495b65: Preparing 13:58:09 c89a4387fe57: Preparing 13:58:09 cad309a9affb: Preparing 13:58:09 b541d28bf3b4: Preparing 13:58:09 b541d28bf3b4: Waiting 13:58:09 846c7d8ee080: Layer already exists 13:58:09 c89a4387fe57: Layer already exists 13:58:09 cad309a9affb: Layer already exists 13:58:09 575e0303ae82: Layer already exists 13:58:09 ba0b4e495b65: Layer already exists 13:58:09 b541d28bf3b4: Layer already exists 13:58:09 latest: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:58:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 13:58:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 13:58:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:58:10 575e0303ae82: Preparing 13:58:10 846c7d8ee080: Preparing 13:58:10 ba0b4e495b65: Preparing 13:58:10 c89a4387fe57: Preparing 13:58:10 cad309a9affb: Preparing 13:58:10 b541d28bf3b4: Preparing 13:58:10 b541d28bf3b4: Waiting 13:58:10 575e0303ae82: Layer already exists 13:58:10 ba0b4e495b65: Layer already exists 13:58:10 c89a4387fe57: Layer already exists 13:58:10 846c7d8ee080: Layer already exists 13:58:10 cad309a9affb: Layer already exists 13:58:10 b541d28bf3b4: Layer already exists 13:58:10 2.2.0-dev.11: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:58:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 13:58:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 13:58:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:58:11 575e0303ae82: Preparing 13:58:11 846c7d8ee080: Preparing 13:58:11 ba0b4e495b65: Preparing 13:58:11 c89a4387fe57: Preparing 13:58:11 cad309a9affb: Preparing 13:58:11 b541d28bf3b4: Preparing 13:58:11 b541d28bf3b4: Waiting 13:58:11 ba0b4e495b65: Layer already exists 13:58:11 575e0303ae82: Layer already exists 13:58:11 cad309a9affb: Layer already exists 13:58:11 c89a4387fe57: Layer already exists 13:58:11 846c7d8ee080: Layer already exists 13:58:11 b541d28bf3b4: Layer already exists 13:58:11 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh 13:58:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 13:58:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:58:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:58:11 575e0303ae82: Preparing 13:58:11 846c7d8ee080: Preparing 13:58:11 ba0b4e495b65: Preparing 13:58:11 c89a4387fe57: Preparing 13:58:11 cad309a9affb: Preparing 13:58:11 b541d28bf3b4: Preparing 13:58:11 b541d28bf3b4: Waiting 13:58:11 575e0303ae82: Layer already exists 13:58:11 ba0b4e495b65: Layer already exists 13:58:11 cad309a9affb: Layer already exists 13:58:11 c89a4387fe57: Layer already exists 13:58:11 846c7d8ee080: Layer already exists 13:58:11 b541d28bf3b4: Layer already exists 13:58:11 main: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:58:11 ===================================================== [Pipeline] echo 13:58:11 taggedImages: 13:58:11 - nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 13:58:11 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:58:11 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 13:58:11 - nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 13:58:11 - 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 13:58:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:12 13:58:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:58:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:12 latest: Pulling from edgex-lftools-log-publisher 13:58:12 5eb5b503b376: Pulling fs layer 13:58:12 5c69ac0246d0: Pulling fs layer 13:58:12 ec43610c2a17: Pulling fs layer 13:58:12 3a2ae6a8a46f: Pulling fs layer 13:58:12 33b1e0a273af: Pulling fs layer 13:58:12 5d3b04190fa2: Pulling fs layer 13:58:12 2f39f015ded8: Pulling fs layer 13:58:12 3a2ae6a8a46f: Waiting 13:58:12 33b1e0a273af: Waiting 13:58:12 2f39f015ded8: Waiting 13:58:12 5d3b04190fa2: Waiting 13:58:12 5c69ac0246d0: Download complete 13:58:12 3a2ae6a8a46f: Verifying Checksum 13:58:12 3a2ae6a8a46f: Download complete 13:58:12 33b1e0a273af: Verifying Checksum 13:58:12 33b1e0a273af: Download complete 13:58:12 5d3b04190fa2: Download complete 13:58:12 ec43610c2a17: Verifying Checksum 13:58:12 ec43610c2a17: Download complete 13:58:12 5eb5b503b376: Verifying Checksum 13:58:12 5eb5b503b376: Download complete 13:58:13 2f39f015ded8: Download complete 13:58:14 5eb5b503b376: Pull complete 13:58:14 5c69ac0246d0: Pull complete 13:58:14 ec43610c2a17: Pull complete 13:58:14 3a2ae6a8a46f: Pull complete 13:58:15 33b1e0a273af: Pull complete 13:58:15 5d3b04190fa2: Pull complete 13:58:19 2f39f015ded8: Pull complete 13:58:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:58:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:58:19 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 13:58:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:58:20 $ docker top ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:21 ---> job-cost.sh 13:58:21 lf-activate-venv: SKIPPING 13:58:21 INFO: No Stack... 13:58:21 INFO: Retrieving Pricing Info for: v3-standard-8 13:58:22 INFO: Archiving Costs [Pipeline] sh 13:58:22 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:58:22 + cut -d, -f6 [Pipeline] lock 13:58:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] 13:58:22 Resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] did not exist. Created. 13:58:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:58:22 + echo total: 0.2199999988079071 [Pipeline] stash 13:58:22 Stashed 1 file(s) [Pipeline] } 13:58:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 13:58:22 $ docker stop --time=1 ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 13:58:24 $ docker rm -f ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:58:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19503 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 13:58:26 Running in /w/workspace/device-virtual-go/27 [Pipeline] { [Pipeline] checkout 13:58:26 The recommended git tool is: git 13:58:34 using credential edgex-jenkins-ssh 13:58:34 Cloning the remote Git repository 13:58:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:58:34 > git init /w/workspace/device-virtual-go/27 # timeout=10 13:58:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:58:34 > git --version # timeout=10 13:58:34 > git --version # 'git version 2.25.1' 13:58:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:58:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:58:37 Avoid second fetch 13:58:37 Checking out Revision bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c (main) 13:58:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:58:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:58:37 > git config core.sparsecheckout # timeout=10 13:58:37 > git checkout -f bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 13:58:41 Commit message: "Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:58:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:58:42 % Total % Received % Xferd Average Speed Time Time Time Current 13:58:42 Dload Upload Total Spent Left Speed 13:58:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 43862 [Pipeline] sh 13:58:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:58:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:58:43 + sudo tee /etc/docker/daemon.new 13:58:43 { 13:58:43 "registry-mirrors": [ 13:58:43 "https://nexus3.edgexfoundry.org:10001" 13:58:43 ], 13:58:43 "bip": "10.250.0.254/24", 13:58:43 "hosts": [ 13:58:43 "tcp://0.0.0.0:5555", 13:58:43 "unix:///var/run/docker.sock" 13:58:43 ], 13:58:43 "mtu": 1458, 13:58:43 "selinux-enabled": true, 13:58:43 "seccomp-profile": "/etc/docker/seccomp.json" 13:58:43 } [Pipeline] sh 13:58:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:58:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:02 provisioning config files... 13:59:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config5029794575694232469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:59:03 ---> docker-login.sh 13:59:03 nexus3.edgexfoundry.org:10001 13:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:03 Configure a credential helper to remove this warning. See 13:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:03 13:59:03 Login Succeeded 13:59:03 nexus3.edgexfoundry.org:10002 13:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:04 Configure a credential helper to remove this warning. See 13:59:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:04 13:59:04 Login Succeeded 13:59:04 nexus3.edgexfoundry.org:10003 13:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:04 Configure a credential helper to remove this warning. See 13:59:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:04 13:59:04 Login Succeeded 13:59:04 nexus3.edgexfoundry.org:10004 13:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:05 Configure a credential helper to remove this warning. See 13:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:05 13:59:05 Login Succeeded 13:59:05 docker.io 13:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:59:06 Configure a credential helper to remove this warning. See 13:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:59:06 13:59:06 Login Succeeded 13:59:06 ---> docker-login.sh ends [Pipeline] } 13:59:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:59:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:59:06 ========================================================= 13:59:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:59:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:59:07 + 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 . 13:59:07 Sending build context to Docker daemon 11.59MB 13:59:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:59:07 Step 2/12 : FROM ${BASE} AS builder 13:59:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:59:07 9b3977197b4f: Pulling fs layer 13:59:07 1a89e8eeedd5: Pulling fs layer 13:59:07 94645a83ff95: Pulling fs layer 13:59:07 3f3a8bcf1eab: Pulling fs layer 13:59:07 0c92f367c5e7: Pulling fs layer 13:59:07 f7c0051592d6: Pulling fs layer 13:59:07 a227ed2f7395: Pulling fs layer 13:59:07 3f3a8bcf1eab: Waiting 13:59:07 0c92f367c5e7: Waiting 13:59:07 7b1c46037f91: Pulling fs layer 13:59:07 f7c0051592d6: Waiting 13:59:07 a227ed2f7395: Waiting 13:59:07 7b1c46037f91: Waiting 13:59:07 94645a83ff95: Download complete 13:59:07 1a89e8eeedd5: Download complete 13:59:07 0c92f367c5e7: Verifying Checksum 13:59:07 0c92f367c5e7: Download complete 13:59:07 f7c0051592d6: Download complete 13:59:07 9b3977197b4f: Verifying Checksum 13:59:07 9b3977197b4f: Download complete 13:59:07 a227ed2f7395: Verifying Checksum 13:59:07 a227ed2f7395: Download complete 13:59:08 9b3977197b4f: Pull complete 13:59:09 1a89e8eeedd5: Pull complete 13:59:09 94645a83ff95: Pull complete 13:59:09 7b1c46037f91: Verifying Checksum 13:59:09 7b1c46037f91: Download complete 13:59:10 3f3a8bcf1eab: Verifying Checksum 13:59:10 3f3a8bcf1eab: Download complete 13:59:22 3f3a8bcf1eab: Pull complete 13:59:22 0c92f367c5e7: Pull complete 13:59:22 f7c0051592d6: Pull complete 13:59:22 a227ed2f7395: Pull complete 13:59:29 7b1c46037f91: Pull complete 13:59:29 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 13:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:59:29 ---> f79e39bc4007 13:59:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:59:30 ---> Running in a387e78112ac 13:59:30 Removing intermediate container a387e78112ac 13:59:30 ---> 9548468ec289 13:59:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:59:30 ---> Running in ec19c149b658 13:59:31 Removing intermediate container ec19c149b658 13:59:31 ---> 21708653d269 13:59:31 Step 5/12 : WORKDIR /device-virtual-go 13:59:31 ---> Running in 356efb4a7a64 13:59:31 Removing intermediate container 356efb4a7a64 13:59:31 ---> c49e275014dc 13:59:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:59:31 ---> Running in fabf660e913b 13:59:33 Removing intermediate container fabf660e913b 13:59:33 ---> 9f7bcc7c6c1c 13:59:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:59:33 ---> Running in ad05c2b74e2a 13:59:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:59:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:59:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:59:36 (2/4) Installing libedit (20210910.3.1-r0) 13:59:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:59:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:59:36 Executing busybox-1.34.1-r3.trigger 13:59:36 OK: 224 MiB in 56 packages 13:59:37 Removing intermediate container ad05c2b74e2a 13:59:37 ---> 62bd1f21b262 13:59:37 Step 8/12 : COPY go.mod vendor* ./ 13:59:38 ---> 5ce39d33d1f2 13:59:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:59:38 ---> Running in 6ebc2288b46f 14:00:25 Removing intermediate container 6ebc2288b46f 14:00:25 ---> 8d86629edc6e 14:00:25 Step 10/12 : COPY . . 14:00:25 ---> d21dcebeae8d 14:00:25 Step 11/12 : ARG MAKE='make build' 14:00:25 ---> Running in 242d9b9051f0 14:00:25 Removing intermediate container 242d9b9051f0 14:00:25 ---> e0101c83722e 14:00:25 Step 12/12 : RUN $MAKE 14:00:25 ---> Running in 5eadf7b58526 14:00:25 noop 14:00:26 Removing intermediate container 5eadf7b58526 14:00:26 ---> 3bfabaf858b4 14:00:26 Successfully built 3bfabaf858b4 14:00:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:00:26 + docker inspect -f . ci-base-image-arm64 14:00:26 . [Pipeline] withDockerContainer 14:00:26 prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container 14:00:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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 14:00:28 $ docker top 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:29 + go version 14:00:29 go version go1.17.6 linux/arm64 [Pipeline] } 14:00:29 $ docker stop --time=1 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 14:00:30 $ docker rm -f 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:00:31 + docker inspect -f . ci-base-image-arm64 14:00:31 . [Pipeline] withDockerContainer 14:00:31 prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container 14:00:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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 14:00:32 $ docker top 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:00:33 + make test 14:00:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:00:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:01:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:01:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements 14:01:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:01:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:02:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:02:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:02:19 ./bin/test-attribution-txt.sh [Pipeline] echo 14:02:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:02:20 $ docker stop --time=1 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 14:02:22 $ docker rm -f 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 [Pipeline] // withDockerContainer [Pipeline] sh 14:02:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:02:23 Warning: overwriting stash ‘coverage-report’ 14:02:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:02:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:02:24 + ls -al . 14:02:24 total 200 14:02:24 drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 14:02 . 14:02:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 13:58 .. 14:02:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:58 .git 14:02:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:58 .github 14:02:24 -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 13:58 .gitignore 14:02:24 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 13:58 .golangci.yml 14:02:24 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 13:58 Attribution.txt 14:02:24 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 13:58 CHANGELOG.md 14:02:24 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 13:58 Dockerfile 14:02:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 13:58 GOVERNANCE.md 14:02:24 -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 13:58 Jenkinsfile 14:02:24 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 13:58 LICENSE 14:02:24 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 13:58 Makefile 14:02:24 -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 13:58 OWNERS.md 14:02:24 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 13:58 README.md 14:02:24 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 13:56 VERSION 14:02:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:58 bin 14:02:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:58 cmd 14:02:24 -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 14:01 coverage.out 14:02:24 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 13:58 go.mod 14:02:24 -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 13:58 go.sum 14:02:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:58 internal 14:02:24 -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 13:58 version.go [Pipeline] isUnix [Pipeline] sh 14:02:25 + 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c --label arch=arm64 --label version=2.2.0-dev.11 . 14:02:25 Sending build context to Docker daemon 11.64MB 14:02:25 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 14:02:25 Step 2/26 : FROM ${BASE} AS builder 14:02:25 ---> 3bfabaf858b4 14:02:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:02:25 ---> Running in a1c7ea8754a0 14:02:26 Removing intermediate container a1c7ea8754a0 14:02:26 ---> d008903beba2 14:02:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 14:02:26 ---> Running in 0318ad883f3f 14:02:26 Removing intermediate container 0318ad883f3f 14:02:26 ---> 97359543200b 14:02:26 Step 5/26 : WORKDIR /device-virtual-go 14:02:26 ---> Running in 92fe1d772ad5 14:02:26 Removing intermediate container 92fe1d772ad5 14:02:26 ---> 744b9dd8fb28 14:02:26 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:02:26 ---> Running in 0c0e595635d5 14:02:28 Removing intermediate container 0c0e595635d5 14:02:28 ---> e2b3e85b7f72 14:02:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:02:28 ---> Running in 0863651dc8a4 14:02:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:02:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:02:31 OK: 224 MiB in 56 packages 14:02:32 Removing intermediate container 0863651dc8a4 14:02:32 ---> 6060137316c2 14:02:32 Step 8/26 : COPY go.mod vendor* ./ 14:02:33 ---> 35b17f522edd 14:02:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:02:33 ---> Running in 8710f2b43166 14:02:35 Removing intermediate container 8710f2b43166 14:02:35 ---> 45fb3ecc8c4b 14:02:35 Step 10/26 : COPY . . 14:02:37 ---> 1424895fb554 14:02:37 Step 11/26 : ARG MAKE='make build' 14:02:37 ---> Running in 7e25d3133ecd 14:02:37 Removing intermediate container 7e25d3133ecd 14:02:37 ---> 28f1eb9c4092 14:02:37 Step 12/26 : RUN $MAKE 14:02:37 ---> Running in 3d6002c7e7d8 14:02:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 14:05:00 Removing intermediate container 3d6002c7e7d8 14:05:00 ---> 23fca01c60e3 14:05:00 Step 13/26 : FROM alpine:3.14 14:05:00 3.14: Pulling from library/alpine 14:05:00 455c02918c45: Pulling fs layer 14:05:00 455c02918c45: Download complete 14:05:00 455c02918c45: Pull complete 14:05:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:05:00 Status: Downloaded newer image for alpine:3.14 14:05:00 ---> ac73e934f311 14:05:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:05:00 ---> Running in 92e3c2163726 14:05:00 Removing intermediate container 92e3c2163726 14:05:00 ---> 68353b6469b6 14:05:00 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:05:00 ---> Running in de8fb91e5bae 14:05:00 Removing intermediate container de8fb91e5bae 14:05:00 ---> 900699ee9728 14:05:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:05:00 ---> Running in dfe3098a7afe 14:05:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:05:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:05:00 (1/6) Installing dumb-init (1.2.5-r1) 14:05:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:05:00 (3/6) Installing libsodium (1.0.18-r0) 14:05:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:05:00 (5/6) Installing libzmq (4.3.4-r0) 14:05:00 (6/6) Installing zeromq (4.3.4-r0) 14:05:00 Executing busybox-1.33.1-r7.trigger 14:05:00 OK: 8 MiB in 20 packages 14:05:00 Removing intermediate container dfe3098a7afe 14:05:00 ---> 72290ec721af 14:05:00 Step 17/26 : WORKDIR / 14:05:00 ---> Running in 1daf5dcc89af 14:05:00 Removing intermediate container 1daf5dcc89af 14:05:00 ---> c7d24e282d90 14:05:00 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:05:00 ---> 8bcc22bd5c6a 14:05:00 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 14:05:00 ---> 647e3f78df4f 14:05:00 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 14:05:00 ---> a573f2f12e60 14:05:00 Step 21/26 : EXPOSE 59900 14:05:00 ---> Running in 3b1a569e7066 14:05:00 Removing intermediate container 3b1a569e7066 14:05:00 ---> c641e570ad9c 14:05:00 Step 22/26 : ENTRYPOINT ["/device-virtual"] 14:05:00 ---> Running in 1fcdb2093c8a 14:05:00 Removing intermediate container 1fcdb2093c8a 14:05:00 ---> 19739ae69e14 14:05:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:05:00 ---> Running in 32844ef016f9 14:05:00 Removing intermediate container 32844ef016f9 14:05:00 ---> f0c9fd861929 14:05:00 Step 24/26 : LABEL arch=arm64 14:05:00 ---> Running in 6af61ca53c44 14:05:00 Removing intermediate container 6af61ca53c44 14:05:00 ---> 1694ab4bcde8 14:05:00 Step 25/26 : LABEL git_sha=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 14:05:00 ---> Running in 6b4d0dc2d86d 14:05:00 Removing intermediate container 6b4d0dc2d86d 14:05:00 ---> 712d5987562e 14:05:00 Step 26/26 : LABEL version=2.2.0-dev.11 14:05:01 ---> Running in 8c587175e355 14:05:01 Removing intermediate container 8c587175e355 14:05:01 ---> 1251096b43d6 14:05:01 [Warning] One or more build-args [ARCH] were not consumed 14:05:01 Successfully built 1251096b43d6 14:05:01 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 14:05:01 provisioning config files... 14:05:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config3827580472977389027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:02 ---> docker-login.sh 14:05:02 nexus3.edgexfoundry.org:10001 14:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:02 Configure a credential helper to remove this warning. See 14:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:02 14:05:02 Login Succeeded 14:05:02 nexus3.edgexfoundry.org:10002 14:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:02 Configure a credential helper to remove this warning. See 14:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:02 14:05:02 Login Succeeded 14:05:02 nexus3.edgexfoundry.org:10003 14:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:03 Configure a credential helper to remove this warning. See 14:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:03 14:05:03 Login Succeeded 14:05:03 nexus3.edgexfoundry.org:10004 14:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:04 Configure a credential helper to remove this warning. See 14:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:04 14:05:04 Login Succeeded 14:05:04 docker.io 14:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:04 Configure a credential helper to remove this warning. See 14:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:04 14:05:04 Login Succeeded 14:05:04 ---> docker-login.sh ends [Pipeline] } 14:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:05:04 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 14:05:04 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 14:05:04 latest 14:05:04 2.2.0-dev.11 14:05:04 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 14:05:04 main 14:05:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] isUnix [Pipeline] sh 14:05:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 14:05:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:05:05 0e1f77b59c5b: Preparing 14:05:05 c597ad2a8ecc: Preparing 14:05:05 d77a471e6069: Preparing 14:05:05 4abbedf45dfc: Preparing 14:05:05 6f6142462bd5: Preparing 14:05:05 f73e7dbfee58: Preparing 14:05:05 f73e7dbfee58: Waiting 14:05:05 6f6142462bd5: Pushed 14:05:05 d77a471e6069: Pushed 14:05:05 c597ad2a8ecc: Pushed 14:05:05 f73e7dbfee58: Layer already exists 14:05:06 4abbedf45dfc: Pushed 14:05:13 0e1f77b59c5b: Pushed 14:05:13 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh 14:05:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:05:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:05:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:05:14 0e1f77b59c5b: Preparing 14:05:14 c597ad2a8ecc: Preparing 14:05:14 d77a471e6069: Preparing 14:05:14 4abbedf45dfc: Preparing 14:05:14 6f6142462bd5: Preparing 14:05:14 f73e7dbfee58: Preparing 14:05:14 f73e7dbfee58: Waiting 14:05:14 d77a471e6069: Layer already exists 14:05:14 0e1f77b59c5b: Layer already exists 14:05:14 4abbedf45dfc: Layer already exists 14:05:14 6f6142462bd5: Layer already exists 14:05:14 c597ad2a8ecc: Layer already exists 14:05:14 f73e7dbfee58: Layer already exists 14:05:14 latest: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh 14:05:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 14:05:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 14:05:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:05:15 0e1f77b59c5b: Preparing 14:05:15 c597ad2a8ecc: Preparing 14:05:15 d77a471e6069: Preparing 14:05:15 4abbedf45dfc: Preparing 14:05:15 6f6142462bd5: Preparing 14:05:15 f73e7dbfee58: Preparing 14:05:15 f73e7dbfee58: Waiting 14:05:15 c597ad2a8ecc: Layer already exists 14:05:15 0e1f77b59c5b: Layer already exists 14:05:15 d77a471e6069: Layer already exists 14:05:15 6f6142462bd5: Layer already exists 14:05:15 4abbedf45dfc: Layer already exists 14:05:15 f73e7dbfee58: Layer already exists 14:05:15 2.2.0-dev.11: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh 14:05:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 14:05:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 14:05:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:05:15 0e1f77b59c5b: Preparing 14:05:15 c597ad2a8ecc: Preparing 14:05:15 d77a471e6069: Preparing 14:05:15 4abbedf45dfc: Preparing 14:05:15 6f6142462bd5: Preparing 14:05:15 f73e7dbfee58: Preparing 14:05:15 f73e7dbfee58: Waiting 14:05:15 6f6142462bd5: Layer already exists 14:05:15 d77a471e6069: Layer already exists 14:05:15 0e1f77b59c5b: Layer already exists 14:05:15 4abbedf45dfc: Layer already exists 14:05:15 c597ad2a8ecc: Layer already exists 14:05:15 f73e7dbfee58: Layer already exists 14:05:16 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh 14:05:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 14:05:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 14:05:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:05:16 0e1f77b59c5b: Preparing 14:05:16 c597ad2a8ecc: Preparing 14:05:16 d77a471e6069: Preparing 14:05:16 4abbedf45dfc: Preparing 14:05:16 6f6142462bd5: Preparing 14:05:16 f73e7dbfee58: Preparing 14:05:16 f73e7dbfee58: Waiting 14:05:16 4abbedf45dfc: Layer already exists 14:05:16 c597ad2a8ecc: Layer already exists 14:05:16 6f6142462bd5: Layer already exists 14:05:17 d77a471e6069: Layer already exists 14:05:17 0e1f77b59c5b: Layer already exists 14:05:17 f73e7dbfee58: Layer already exists 14:05:17 main: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:05:17 ===================================================== [Pipeline] echo 14:05:17 taggedImages: 14:05:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 14:05:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:05:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 14:05:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 14:05:17 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:17 14:05:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:18 arm64: Pulling from edgex-lftools-log-publisher 14:05:18 8998bd30e6a1: Pulling fs layer 14:05:18 04944245beec: Pulling fs layer 14:05:18 699f458cf7ca: Pulling fs layer 14:05:18 765212b225bb: Pulling fs layer 14:05:18 f23df028b6ca: Pulling fs layer 14:05:18 d65c8cfc05b1: Pulling fs layer 14:05:18 2437ff75d9bd: Pulling fs layer 14:05:18 f23df028b6ca: Waiting 14:05:18 d65c8cfc05b1: Waiting 14:05:18 2437ff75d9bd: Waiting 14:05:18 765212b225bb: Waiting 14:05:18 04944245beec: Verifying Checksum 14:05:18 04944245beec: Download complete 14:05:18 765212b225bb: Verifying Checksum 14:05:18 765212b225bb: Download complete 14:05:18 f23df028b6ca: Verifying Checksum 14:05:18 d65c8cfc05b1: Verifying Checksum 14:05:18 d65c8cfc05b1: Download complete 14:05:18 699f458cf7ca: Verifying Checksum 14:05:18 699f458cf7ca: Download complete 14:05:18 8998bd30e6a1: Verifying Checksum 14:05:18 8998bd30e6a1: Download complete 14:05:21 2437ff75d9bd: Verifying Checksum 14:05:21 2437ff75d9bd: Download complete 14:05:23 8998bd30e6a1: Pull complete 14:05:24 04944245beec: Pull complete 14:05:25 699f458cf7ca: Pull complete 14:05:25 765212b225bb: Pull complete 14:05:26 f23df028b6ca: Pull complete 14:05:27 d65c8cfc05b1: Pull complete 14:05:45 2437ff75d9bd: Pull complete 14:05:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:05:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:05:45 prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container 14:05:45 $ 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/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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 14:05:49 $ docker top a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:50 ---> job-cost.sh 14:05:50 lf-activate-venv: SKIPPING 14:05:50 INFO: No Stack... 14:05:50 INFO: Retrieving Pricing Info for: v3-standard-4 14:05:51 INFO: Archiving Costs [Pipeline] sh 14:05:52 + cut -d, -f6 14:05:52 + cat /w/workspace/device-virtual-go/27/archives/cost.csv [Pipeline] lock 14:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] 14:05:52 Resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] did not exist. Created. 14:05:52 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:05:52 /w/workspace/device-virtual-go/27@tmp/durable-daccb098/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:05:53 + echo total: 0.10999999940395355 [Pipeline] stash 14:05:53 Warning: overwriting stash ‘stack-cost’ 14:05:53 Stashed 1 file(s) [Pipeline] } 14:05:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 14:05:53 $ docker stop --time=1 a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 14:05:55 $ docker rm -f a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 [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 14:05:55 provisioning config files... 14:05:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4979790619962573217tmp [Pipeline] { [Pipeline] sh 14:05:56 + set +x 14:05:56 + + curl -s https://codecov.io/bash 14:05:56 bash -s -- 14:05:56 14:05:56 _____ _ 14:05:56 / ____| | | 14:05:56 | | ___ __| | ___ ___ _____ __ 14:05:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:05:56 | |___| (_) | (_| | __/ (_| (_) \ V / 14:05:56 \_____\___/ \__,_|\___|\___\___/ \_/ 14:05:56 Bash-1.0.6 14:05:56 14:05:56 14:05:56 ==> git version 2.25.1 found 14:05:56 ==> 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 14:05:56 Release-Date: 2020-01-08 14:05:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:05:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:05:56 ==> Jenkins CI detected. 14:05:56 current dir:  /w/workspace/exfoundry_device-virtual-go_main 14:05:56 project root: . 14:05:56 --> token set from env 14:05:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:05:56 ==> Running gcov in . (disable via -X gcov) 14:05:56 ==> Python coveragepy not found 14:05:56 ==> Searching for coverage reports in: 14:05:56 + . 14:05:56 -> Found 1 reports 14:05:56 ==> Detecting git/mercurial file structure 14:05:56 ==> Reading reports 14:05:56 + ./coverage.out bytes=44128 14:05:56 ==> Appending adjustments 14:05:56 https://docs.codecov.io/docs/fixing-reports 14:05:56 + Found adjustments 14:05:56 ==> Gzipping contents 14:05:56 8.0K /tmp/codecov.2kjXad.gz 14:05:56 ==> Uploading reports 14:05:56 url: https://codecov.io 14:05:56 query: branch=main&commit=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:05:56 -> Pinging Codecov 14:05:56 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:05:56 -> Uploading to 14:05:56 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/5E52B4B073DB2E39498172D8E973AA87/bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c/3fe04f13-4ea1-41fd-80d7-03e656bca8d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T140556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c86caf42febe29da96f7618405024ab7aaaad24dab8f807d573d25b3ef0937c 14:05:56 % Total % Received % Xferd Average Speed Time Time Time Current 14:05:56 Dload Upload Total Spent Left Speed 14:05:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5285 0 0 100 5285 0 19646 --:--:-- --:--:-- --:--:-- 19646 14:05:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] } 14:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:05:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:05:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:05:57 14:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:05:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:05:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:05:57 188c0c94c7c5: Pulling fs layer 14:05:57 0ef7d3d256c8: Pulling fs layer 14:05:57 de9db76c5a1d: Pulling fs layer 14:05:57 0eba1c9be4d2: Pulling fs layer 14:05:57 0d57e429df01: Pulling fs layer 14:05:57 4e4be7b47b0d: Pulling fs layer 14:05:57 e1f770b5df2f: Pulling fs layer 14:05:57 85a0685a4137: Pulling fs layer 14:05:57 e1f770b5df2f: Waiting 14:05:57 85a0685a4137: Waiting 14:05:57 4e4be7b47b0d: Waiting 14:05:57 0eba1c9be4d2: Waiting 14:05:57 0d57e429df01: Waiting 14:05:57 de9db76c5a1d: Verifying Checksum 14:05:57 de9db76c5a1d: Download complete 14:05:57 0ef7d3d256c8: Download complete 14:05:57 0d57e429df01: Verifying Checksum 14:05:57 0d57e429df01: Download complete 14:05:57 4e4be7b47b0d: Verifying Checksum 14:05:57 4e4be7b47b0d: Download complete 14:05:57 188c0c94c7c5: Verifying Checksum 14:05:57 188c0c94c7c5: Download complete 14:05:58 188c0c94c7c5: Pull complete 14:05:58 e1f770b5df2f: Verifying Checksum 14:05:58 e1f770b5df2f: Download complete 14:05:58 0ef7d3d256c8: Pull complete 14:05:58 de9db76c5a1d: Pull complete 14:05:58 0eba1c9be4d2: Download complete 14:05:58 85a0685a4137: Verifying Checksum 14:05:58 85a0685a4137: Download complete 14:06:02 0eba1c9be4d2: Pull complete 14:06:02 0d57e429df01: Pull complete 14:06:02 4e4be7b47b0d: Pull complete 14:06:02 e1f770b5df2f: Pull complete 14:06:05 85a0685a4137: Pull complete 14:06:05 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:06:05 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:06:07 $ docker top a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b -eo pid,comm [Pipeline] { [Pipeline] echo 14:06:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:06:07 + set -o pipefail 14:06:07 + snyk monitor '--org=edgex-jenkins' 14:06:13 14:06:13 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 14:06:13 14:06:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/0303b5f5-e668-4166-a94e-ab749cbb7311 14:06:13 14:06:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:06:13 14:06:13 [Pipeline] } 14:06:13 $ docker stop --time=1 a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b 14:06:15 $ docker rm -f a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b [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 14:06:16 + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] sh 14:06:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:06:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:16 . [Pipeline] withDockerContainer 14:06:16 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:06:17 $ docker top 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:17 [ssh-agent] Looking for ssh-agent implementation... 14:06:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:17 $ docker exec 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 ssh-agent 14:06:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMDGgA/agent.15 14:06:17 SSH_AGENT_PID=22 14:06:17 Running ssh-add (command line suppressed) 14:06:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1459668574866102723.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1459668574866102723.key) 14:06:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:18 + git semver tag 14:06:18 # -> Open(): unable to determine branch for HEAD 14:06:18 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 14:06:18 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 14:06:18 # $SEMVER_REMOTE_NAME = origin 14:06:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:18 # $SEMVER_USER_NAME = edgex-jenkins 14:06:18 # $SEMVER_BRANCH = main 14:06:18 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 14:06:18 # bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c HEAD 14:06:18 # -> Force: false 14:06:18 # c5ccec75f83dfbeebc0beac5b188e261376008f0 refs/tags/v2.2.0-dev.11 [Pipeline] } 14:06:18 $ docker exec --env ******** --env ******** 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 ssh-agent -k 14:06:18 unset SSH_AUTH_SOCK; 14:06:18 unset SSH_AGENT_PID; 14:06:18 echo Agent pid 22 killed; 14:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:18 + git semver [Pipeline] } 14:06:18 $ docker stop --time=1 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 14:06:19 $ docker rm -f 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:20 14:06:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:20 0.23.1-centos7: Pulling from edgex-lftools 14:06:20 ab5ef0e58194: Pulling fs layer 14:06:20 9712f1f96733: Pulling fs layer 14:06:20 63f879dbbcfc: Pulling fs layer 14:06:20 0d9ebad4ef96: Pulling fs layer 14:06:20 e9a5061849ea: Pulling fs layer 14:06:20 d747dcd14b5f: Pulling fs layer 14:06:20 2de7ff778b66: Pulling fs layer 14:06:20 e9a5061849ea: Waiting 14:06:20 d747dcd14b5f: Waiting 14:06:20 0d9ebad4ef96: Waiting 14:06:20 2de7ff778b66: Waiting 14:06:20 9712f1f96733: Verifying Checksum 14:06:20 9712f1f96733: Download complete 14:06:21 0d9ebad4ef96: Verifying Checksum 14:06:21 0d9ebad4ef96: Download complete 14:06:21 63f879dbbcfc: Verifying Checksum 14:06:21 63f879dbbcfc: Download complete 14:06:21 ab5ef0e58194: Verifying Checksum 14:06:21 ab5ef0e58194: Download complete 14:06:21 d747dcd14b5f: Verifying Checksum 14:06:21 d747dcd14b5f: Download complete 14:06:21 e9a5061849ea: Verifying Checksum 14:06:21 e9a5061849ea: Download complete 14:06:21 2de7ff778b66: Verifying Checksum 14:06:21 2de7ff778b66: Download complete 14:06:24 ab5ef0e58194: Pull complete 14:06:24 9712f1f96733: Pull complete 14:06:24 63f879dbbcfc: Pull complete 14:06:28 0d9ebad4ef96: Pull complete 14:06:28 e9a5061849ea: Pull complete 14:06:28 d747dcd14b5f: Pull complete 14:06:29 2de7ff778b66: Pull complete 14:06:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:06:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:06:29 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:06:31 $ docker top 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:06:32 provisioning config files... 14:06:32 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config266430914344661283tmp 14:06:32 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7013710257279748886tmp 14:06:32 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7153243986807556740tmp [Pipeline] { [Pipeline] echo 14:06:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:06:32 ---> sigul-configuration.sh 14:06:32 gpg: directory `/root/.gnupg' created 14:06:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:06:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:06:32 gpg: keyring `/root/.gnupg/secring.gpg' created 14:06:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:06:32 gpg: CAST5 encrypted data 14:06:32 gpg: encrypted with 1 passphrase 14:06:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:06:32 + mkdir /home/jenkins 14:06:32 + mkdir /home/jenkins/sigul [Pipeline] sh 14:06:32 + 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 14:06:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:06:33 ---> sigul-install.sh 14:06:33 Sigul already installed; skipping installation. [Pipeline] sh 14:06:33 + git tag --list 14:06:33 v1.0.0 14:06:33 v1.1.0 14:06:33 v1.1.1 14:06:33 v1.2.1 14:06:33 v1.2.2 14:06:33 v1.2.3 14:06:33 v1.3.0 14:06:33 v1.3.1 14:06:33 v2.0.0 14:06:33 v2.0.1-dev.1 14:06:33 v2.0.1-dev.10 14:06:33 v2.0.1-dev.11 14:06:33 v2.0.1-dev.12 14:06:33 v2.0.1-dev.13 14:06:33 v2.0.1-dev.14 14:06:33 v2.0.1-dev.15 14:06:33 v2.0.1-dev.2 14:06:33 v2.0.1-dev.3 14:06:33 v2.0.1-dev.4 14:06:33 v2.0.1-dev.5 14:06:33 v2.0.1-dev.6 14:06:33 v2.0.1-dev.7 14:06:33 v2.0.1-dev.8 14:06:33 v2.0.1-dev.9 14:06:33 v2.1.0 14:06:33 v2.2.0-dev.1 14:06:33 v2.2.0-dev.10 14:06:33 v2.2.0-dev.11 14:06:33 v2.2.0-dev.2 14:06:33 v2.2.0-dev.3 14:06:33 v2.2.0-dev.4 14:06:33 v2.2.0-dev.5 14:06:33 v2.2.0-dev.6 14:06:33 v2.2.0-dev.7 14:06:33 v2.2.0-dev.8 14:06:33 v2.2.0-dev.9 [Pipeline] sh 14:06:33 + lftools sign git-tag v2.2.0-dev.11 14:06:34 Signing Git tag with Sigul... 14:06:34 Signing v2.2.0-dev.11 [Pipeline] echo 14:06:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:06:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:06:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:06:35 $ docker stop --time=1 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 14:06:36 $ docker rm -f 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:06:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:06:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:37 . [Pipeline] withDockerContainer 14:06:37 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:06:37 $ docker top 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:37 [ssh-agent] Looking for ssh-agent implementation... 14:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:37 $ docker exec 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c ssh-agent 14:06:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBGGpaj/agent.13 14:06:37 SSH_AGENT_PID=19 14:06:37 Running ssh-add (command line suppressed) 14:06:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2137400752127010859.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2137400752127010859.key) 14:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:38 + git semver bump pre 14:06:38 # -> Open(): unable to determine branch for HEAD 14:06:38 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 14:06:38 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 14:06:38 # $SEMVER_REMOTE_NAME = origin 14:06:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:38 # $SEMVER_USER_NAME = edgex-jenkins 14:06:38 # $SEMVER_BRANCH = main 14:06:38 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 14:06:38 2.2.0-dev.12 [Pipeline] } 14:06:38 $ docker exec --env ******** --env ******** 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c ssh-agent -k 14:06:38 unset SSH_AUTH_SOCK; 14:06:38 unset SSH_AGENT_PID; 14:06:38 echo Agent pid 19 killed; 14:06:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:38 + git semver [Pipeline] } 14:06:38 $ docker stop --time=1 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c 14:06:40 $ docker rm -f 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c [Pipeline] // withDockerContainer [Pipeline] sh 14:06:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:06:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:06:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:06:40 . [Pipeline] withDockerContainer 14:06:40 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:06:41 $ docker top 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:41 [ssh-agent] Looking for ssh-agent implementation... 14:06:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:41 $ docker exec 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 ssh-agent 14:06:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaCjjcf/agent.13 14:06:41 SSH_AGENT_PID=20 14:06:41 Running ssh-add (command line suppressed) 14:06:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1956948450601147048.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1956948450601147048.key) 14:06:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:41 + git semver push 14:06:41 # -> Open(): unable to determine branch for HEAD 14:06:41 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 14:06:41 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 14:06:41 # $SEMVER_REMOTE_NAME = origin 14:06:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:06:41 # $SEMVER_USER_NAME = edgex-jenkins 14:06:41 # $SEMVER_BRANCH = main 14:06:41 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 14:06:43 $ docker exec --env ******** --env ******** 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 ssh-agent -k 14:06:43 unset SSH_AUTH_SOCK; 14:06:43 unset SSH_AGENT_PID; 14:06:43 echo Agent pid 20 killed; 14:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:44 + git semver [Pipeline] } 14:06:44 $ docker stop --time=1 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 14:06:45 $ docker rm -f 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 [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 14:06:46 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 14:06:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:06:46 total 16 14:06:46 drwxr-xr-x 3 root root 4096 Apr 11 13:58 . 14:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 14:06 .. 14:06:46 drwxr-xr-x 2 root root 4096 Apr 11 13:58 cost 14:06:46 -rw-r--r-- 1 root root 87 Apr 11 13:58 cost.csv 14:06:46 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 14:06:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:06:46 total 16 14:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 13:58 . 14:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 14:06 .. 14:06:46 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 13:58 cost 14:06:46 -rw-r--r-- 1 jenkins jenkins 87 Apr 11 13:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:06:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:06:47 ---> package-listing.sh 14:06:47 ++ facter osfamily 14:06:47 ++ tr '[:upper:]' '[:lower:]' 14:06:47 + OS_FAMILY=debian 14:06:47 + workspace=/w/workspace/exfoundry_device-virtual-go_main 14:06:47 + START_PACKAGES=/tmp/packages_start.txt 14:06:47 + END_PACKAGES=/tmp/packages_end.txt 14:06:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:06:47 + PACKAGES=/tmp/packages_start.txt 14:06:47 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:06:47 + PACKAGES=/tmp/packages_end.txt 14:06:47 + case "${OS_FAMILY}" in 14:06:47 + dpkg -l 14:06:47 + grep '^ii' 14:06:47 + '[' -f /tmp/packages_start.txt ']' 14:06:47 + '[' -f /tmp/packages_end.txt ']' 14:06:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:06:47 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:06:47 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 14:06:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 14:06:47 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 14:06:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:06:48 . [Pipeline] withDockerContainer 14:06:48 prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container 14:06:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:06:48 $ docker top 099c5186be1b738f375678c334b268849ab5ff3f7bf817280e549af611893e0e -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:49 + touch /tmp/pre-build-complete [Pipeline] sh 14:06:49 + mkdir -p /var/log/sysstat [Pipeline] sh 14:06:49 + ls /var/log/sa-host 14:06:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:49 provisioning config files... 14:06:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5317627102616054652tmp [Pipeline] { [Pipeline] echo 14:06:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:06:50 ---> create-netrc.sh [Pipeline] } 14:06:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:06:50 ---> python-tools-install.sh [Pipeline] echo 14:06:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:06:50 ---> sudo-logs.sh 14:06:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:06:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:06:51 ---> job-cost.sh 14:06:51 lf-activate-venv: SKIPPING 14:06:51 DEBUG: total: 0.2199999988079071 14:06:51 INFO: Retrieving Stack Cost... 14:06:51 INFO: Retrieving Pricing Info for: v3-standard-8 14:06:52 INFO: Archiving Costs [Pipeline] echo 14:06:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:06:52 ---> logs-deploy.sh 14:06:52 lf-activate-venv: SKIPPING 14:06:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/27 14:06:52 INFO: archiving workspace using pattern(s): 14:06:53 Archives upload complete. 14:06:53 INFO: archiving logs to Nexus