Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 351caebf32bba8e0fd88c5312046eae57dc27958 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-ssh17991198678078567879.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-ssh12052203348567112851.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-ssh409173904606389282.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-ssh7990707744591657699.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-ssh393436971543291599.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10766’ Running on prd-ubuntu20.04-docker-8c-8g-10770 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 351caebf32bba8e0fd88c5312046eae57dc27958 (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 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 Commit message: "Merge pull request #274 from jpwhitemn/enable-gosec-lint" > git rev-list --no-walk ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:08:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:08:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:08:50 ========================================================= 20:08:50 EdgeX Global Pipelines Version Info 20:08:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:08:51 ------------------- 20:08:51 stable info: 20:08:51 ------------------- 20:08:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:08:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:08:51 Message: update stable to v1.0.221 20:08:52 ------------------- 20:08:52 experimental info: 20:08:52 ------------------- 20:08:52 Commited By: **** collab-it+edgex@linuxfoundation.org 20:08:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:08:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 351caeb [Pipeline] echo 20:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:52 provisioning config files... 20:08:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8560251679020565757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:53 ---> docker-login.sh 20:08:53 nexus3.edgexfoundry.org:10001 20:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:53 Configure a credential helper to remove this warning. See 20:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:53 20:08:53 Login Succeeded 20:08:53 nexus3.edgexfoundry.org:10002 20:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:53 Configure a credential helper to remove this warning. See 20:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:53 20:08:53 Login Succeeded 20:08:53 nexus3.edgexfoundry.org:10003 20:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:53 Configure a credential helper to remove this warning. See 20:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:53 20:08:53 Login Succeeded 20:08:53 nexus3.edgexfoundry.org:10004 20:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:54 Configure a credential helper to remove this warning. See 20:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:54 20:08:54 Login Succeeded 20:08:54 docker.io 20:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:54 Configure a credential helper to remove this warning. See 20:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:54 20:08:54 Login Succeeded 20:08:54 ---> docker-login.sh ends [Pipeline] } 20:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:08:54 + git rev-list -1 --merges 351caebf32bba8e0fd88c5312046eae57dc27958~1..351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo 20:08:54 -----------> git rev-list -1 --merges 351caebf32bba8e0fd88c5312046eae57dc27958~1..351caebf32bba8e0fd88c5312046eae57dc27958 351caebf32bba8e0fd88c5312046eae57dc27958 20:08:54 351caebf32bba8e0fd88c5312046eae57dc27958 [false] [Pipeline] sh 20:08:55 + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo 20:08:55 ========================================================= 20:08:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:08:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:55 + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo 20:08:55 [semverPrep] GIT_COMMIT: 351caebf32bba8e0fd88c5312046eae57dc27958, Commit Message: Merge pull request #274 from jpwhitemn/enable-gosec-lint [Pipeline] echo 20:08:55 [semverPrep] This is not a build commit. [Pipeline] sh 20:08:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:08:55 + grep -v github /etc/ssh/ssh_known_hosts 20:08:55 + [ -e /tmp/ssh_known_hosts ] 20:08:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:08:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:08:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:08:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:56 20:08:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:08:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:56 latest: Pulling from edgex-devops/git-semver 20:08:56 a0d0a0d46f8b: Pulling fs layer 20:08:56 3e5f54012d9b: Pulling fs layer 20:08:56 4c7163046ea9: Pulling fs layer 20:08:56 0c2d73faf560: Pulling fs layer 20:08:56 0c2d73faf560: Waiting 20:08:56 3e5f54012d9b: Download complete 20:08:56 a0d0a0d46f8b: Verifying Checksum 20:08:56 a0d0a0d46f8b: Download complete 20:08:56 0c2d73faf560: Verifying Checksum 20:08:56 0c2d73faf560: Download complete 20:08:56 4c7163046ea9: Verifying Checksum 20:08:56 4c7163046ea9: Download complete 20:08:56 a0d0a0d46f8b: Pull complete 20:08:56 3e5f54012d9b: Pull complete 20:08:57 4c7163046ea9: Pull complete 20:08:57 0c2d73faf560: Pull complete 20:08:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:08:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:08:57 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:08:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:08:58 $ docker top 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:08:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:08:58 [ssh-agent] Looking for ssh-agent implementation... 20:08:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:08:58 $ docker exec 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent 20:08:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjgCAoo/agent.14 20:08:58 SSH_AGENT_PID=20 20:08:58 Running ssh-add (command line suppressed) 20:08:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7397911986640986082.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7397911986640986082.key) 20:08:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:08:58 + git tag --points-at HEAD [Pipeline] } 20:08:58 $ docker exec --env ******** --env ******** 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent -k 20:08:59 unset SSH_AUTH_SOCK; 20:08:59 unset SSH_AGENT_PID; 20:08:59 echo Agent pid 20 killed; 20:08:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:08:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:08:59 [ssh-agent] Looking for ssh-agent implementation... 20:08:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:08:59 $ docker exec 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent 20:08:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIliNH/agent.52 20:08:59 SSH_AGENT_PID=58 20:08:59 Running ssh-add (command line suppressed) 20:08:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3626825164431289035.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3626825164431289035.key) 20:08:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:08:59 + git semver init 20:08:59 # -> Open(): unable to determine branch for HEAD 20:08:59 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 20:08:59 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 20:08:59 # $SEMVER_REMOTE_NAME = origin 20:08:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:08:59 # $SEMVER_USER_NAME = edgex-jenkins 20:08:59 # $SEMVER_BRANCH = main 20:08:59 # $SEMVER_TEMP = /tmp/semver-089839626 20:08:59 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 20:09:01 # '/tmp/semver-089839626' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 20:09:01 # -> Force: false 20:09:01 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 20:09:01 $ docker exec --env ******** --env ******** 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent -k 20:09:01 unset SSH_AUTH_SOCK; 20:09:01 unset SSH_AGENT_PID; 20:09:01 echo Agent pid 58 killed; 20:09:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:01 + git semver [Pipeline] } 20:09:01 $ docker stop --time=1 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 20:09:03 $ docker rm -f 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:09:03 Stashed 1 file(s) [Pipeline] echo 20:09:03 [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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 20:09:03 provisioning config files... 20:09:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2769680730176159351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:04 ---> docker-login.sh 20:09:04 nexus3.edgexfoundry.org:10001 20:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:04 Configure a credential helper to remove this warning. See 20:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:04 20:09:04 Login Succeeded 20:09:04 nexus3.edgexfoundry.org:10002 20:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:04 Configure a credential helper to remove this warning. See 20:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:04 20:09:04 Login Succeeded 20:09:04 nexus3.edgexfoundry.org:10003 20:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:04 Configure a credential helper to remove this warning. See 20:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:04 20:09:04 Login Succeeded 20:09:04 nexus3.edgexfoundry.org:10004 20:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:04 Configure a credential helper to remove this warning. See 20:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:04 20:09:04 Login Succeeded 20:09:04 docker.io 20:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:04 Configure a credential helper to remove this warning. See 20:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:04 20:09:04 Login Succeeded 20:09:04 ---> docker-login.sh ends [Pipeline] } 20:09:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:09:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:04 ========================================================= 20:09:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:09:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:09:05 + 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 . 20:09:05 Sending build context to Docker daemon 22.87MB 20:09:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:09:05 Step 2/12 : FROM ${BASE} AS builder 20:09:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:09:05 59bf1c3509f3: Pulling fs layer 20:09:05 666ba61612fd: Pulling fs layer 20:09:05 8ed8ca486205: Pulling fs layer 20:09:05 4fe6c5a15a65: Pulling fs layer 20:09:05 22a0e8bec74d: Pulling fs layer 20:09:05 640e595b4fbd: Pulling fs layer 20:09:05 763cafe07f6e: Pulling fs layer 20:09:05 0c0b528cf693: Pulling fs layer 20:09:05 10935f4eaf8b: Pulling fs layer 20:09:05 4fe6c5a15a65: Waiting 20:09:05 763cafe07f6e: Waiting 20:09:05 640e595b4fbd: Waiting 20:09:05 0c0b528cf693: Waiting 20:09:05 10935f4eaf8b: Waiting 20:09:05 22a0e8bec74d: Waiting 20:09:05 8ed8ca486205: Verifying Checksum 20:09:05 8ed8ca486205: Download complete 20:09:05 666ba61612fd: Download complete 20:09:05 22a0e8bec74d: Verifying Checksum 20:09:05 22a0e8bec74d: Download complete 20:09:05 640e595b4fbd: Verifying Checksum 20:09:05 640e595b4fbd: Download complete 20:09:05 763cafe07f6e: Verifying Checksum 20:09:05 763cafe07f6e: Download complete 20:09:05 59bf1c3509f3: Download complete 20:09:05 0c0b528cf693: Verifying Checksum 20:09:05 0c0b528cf693: Download complete 20:09:05 59bf1c3509f3: Pull complete 20:09:05 666ba61612fd: Pull complete 20:09:05 8ed8ca486205: Pull complete 20:09:06 10935f4eaf8b: Verifying Checksum 20:09:06 10935f4eaf8b: Download complete 20:09:06 4fe6c5a15a65: Verifying Checksum 20:09:06 4fe6c5a15a65: Download complete 20:09:10 4fe6c5a15a65: Pull complete 20:09:10 22a0e8bec74d: Pull complete 20:09:10 640e595b4fbd: Pull complete 20:09:10 763cafe07f6e: Pull complete 20:09:10 0c0b528cf693: Pull complete 20:09:12 10935f4eaf8b: Pull complete 20:09:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:09:12 ---> 99d49a6021b9 20:09:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:13 ---> Running in 3f15aeedd18a 20:09:13 Removing intermediate container 3f15aeedd18a 20:09:13 ---> 47e607758846 20:09:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:09:13 ---> Running in 7eb52e110e58 20:09:13 Removing intermediate container 7eb52e110e58 20:09:13 ---> 2c0c99dc57ea 20:09:13 Step 5/12 : WORKDIR /device-virtual-go 20:09:13 ---> Running in 8da016607dd9 20:09:13 Removing intermediate container 8da016607dd9 20:09:13 ---> d0a6ce91ad57 20:09:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:14 ---> Running in fee3bc26b062 20:09:14 Removing intermediate container fee3bc26b062 20:09:14 ---> f94ba855d241 20:09:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:14 ---> Running in 84cfbd3331f2 20:09:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:09:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:09:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:09:16 (2/4) Installing libedit (20210910.3.1-r0) 20:09:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:09:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:09:16 Executing busybox-1.34.1-r3.trigger 20:09:16 OK: 224 MiB in 56 packages 20:09:16 Removing intermediate container 84cfbd3331f2 20:09:16 ---> 4a294b5cdfcf 20:09:16 Step 8/12 : COPY go.mod vendor* ./ 20:09:16 ---> 3fcde6940a44 20:09:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:16 ---> Running in 6ba1342c2601 20:09:18 Still waiting to schedule task 20:09:18 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ 20:09:31 Removing intermediate container 6ba1342c2601 20:09:31 ---> a57812ca66cd 20:09:31 Step 10/12 : COPY . . 20:09:31 ---> e71e2c254b46 20:09:31 Step 11/12 : ARG MAKE='make build' 20:09:31 ---> Running in 9d3c3a8fb129 20:09:31 Removing intermediate container 9d3c3a8fb129 20:09:31 ---> f42069e6ff2a 20:09:31 Step 12/12 : RUN $MAKE 20:09:31 ---> Running in a5de42d96135 20:09:31 noop 20:09:31 Removing intermediate container a5de42d96135 20:09:31 ---> dcbae656be7a 20:09:31 Successfully built dcbae656be7a 20:09:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:09:32 + docker inspect -f . ci-base-image-x86_64 20:09:32 . [Pipeline] withDockerContainer 20:09:32 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:09:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:09:32 $ docker top aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:32 + go version 20:09:32 go version go1.17.6 linux/amd64 [Pipeline] } 20:09:32 $ docker stop --time=1 aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 20:09:34 $ docker rm -f aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:09:34 + docker inspect -f . ci-base-image-x86_64 20:09:34 . [Pipeline] withDockerContainer 20:09:34 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:09:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:09:35 $ docker top 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:09:35 + make test 20:09:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:09:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:09:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:09:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 20:09:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:09:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:54 $ docker stop --time=1 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c 20:09:56 $ docker rm -f 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c [Pipeline] // withDockerContainer [Pipeline] sh 20:09:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:09:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:57 + ls -al . 20:09:57 total 184 20:09:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 . 20:09:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:08 .. 20:09:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:08 .git 20:09:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 .github 20:09:57 -rw-rw-r-- 1 jenkins jenkins 270 Apr 5 20:08 .gitignore 20:09:57 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:08 .golangci.yml 20:09:57 drwx------ 3 jenkins jenkins 4096 Apr 5 20:09 .semver 20:09:57 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 5 20:08 Attribution.txt 20:09:57 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 5 20:08 CHANGELOG.md 20:09:57 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 5 20:08 Dockerfile 20:09:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:08 GOVERNANCE.md 20:09:57 -rw-rw-r-- 1 jenkins jenkins 660 Apr 5 20:08 Jenkinsfile 20:09:57 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:08 LICENSE 20:09:57 -rw-rw-r-- 1 jenkins jenkins 1652 Apr 5 20:08 Makefile 20:09:57 -rw-rw-r-- 1 jenkins jenkins 623 Apr 5 20:08 OWNERS.md 20:09:57 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 5 20:08 README.md 20:09:57 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION 20:09:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 bin 20:09:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 cmd 20:09:57 -rw-r--r-- 1 jenkins jenkins 44128 Apr 5 20:09 coverage.out 20:09:57 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 5 20:08 go.mod 20:09:57 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 5 20:08 go.sum 20:09:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 internal 20:09:57 -rw-rw-r-- 1 jenkins jenkins 235 Apr 5 20:08 version.go [Pipeline] isUnix [Pipeline] sh 20:09:58 + 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=351caebf32bba8e0fd88c5312046eae57dc27958 --label arch=amd64 --label version=2.2.0-dev.9 . 20:09:58 Sending build context to Docker daemon 22.91MB 20:09:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:09:58 Step 2/26 : FROM ${BASE} AS builder 20:09:58 ---> dcbae656be7a 20:09:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:58 ---> Running in 64d4fb858cb6 20:09:58 Removing intermediate container 64d4fb858cb6 20:09:58 ---> 4362368b8b55 20:09:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:09:58 ---> Running in eaee4bfe94b8 20:09:58 Removing intermediate container eaee4bfe94b8 20:09:58 ---> b08187cc9e1b 20:09:58 Step 5/26 : WORKDIR /device-virtual-go 20:09:58 ---> Running in 25f88e78fa97 20:09:58 Removing intermediate container 25f88e78fa97 20:09:58 ---> 9a1e831890f7 20:09:58 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:58 ---> Running in c7f5842a486f 20:09:59 Removing intermediate container c7f5842a486f 20:09:59 ---> 2281a67d3ca1 20:09:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:59 ---> Running in 0f85c9298f4c 20:09:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:10:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:10:00 OK: 224 MiB in 56 packages 20:10:00 Removing intermediate container 0f85c9298f4c 20:10:00 ---> b9ab105f9fb6 20:10:00 Step 8/26 : COPY go.mod vendor* ./ 20:10:01 ---> 70b0c1c48d84 20:10:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:01 ---> Running in a6fe5ae2b3bb 20:10:01 Removing intermediate container a6fe5ae2b3bb 20:10:01 ---> 96473f50284a 20:10:01 Step 10/26 : COPY . . 20:10:02 ---> 6587f35630ba 20:10:02 Step 11/26 : ARG MAKE='make build' 20:10:02 ---> Running in f9803b99cd34 20:10:02 Removing intermediate container f9803b99cd34 20:10:02 ---> cfda228b82e1 20:10:02 Step 12/26 : RUN $MAKE 20:10:02 ---> Running in 934faeadf4d2 20:10:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.9" -o cmd/device-virtual ./cmd 20:10:14 Removing intermediate container 934faeadf4d2 20:10:14 ---> c14eb21fbc98 20:10:14 Step 13/26 : FROM alpine:3.14 20:10:14 3.14: Pulling from library/alpine 20:10:14 8663204ce13b: Pulling fs layer 20:10:14 8663204ce13b: Verifying Checksum 20:10:14 8663204ce13b: Download complete 20:10:14 8663204ce13b: Pull complete 20:10:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:10:14 Status: Downloaded newer image for alpine:3.14 20:10:14 ---> e04c818066af 20:10:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:10:14 ---> Running in e810104e2048 20:10:14 Removing intermediate container e810104e2048 20:10:14 ---> 797a6b61e219 20:10:14 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:14 ---> Running in b885038df2be 20:10:15 Removing intermediate container b885038df2be 20:10:15 ---> 4ce0f4d05c1a 20:10:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:10:15 ---> Running in 31b914ce3841 20:10:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:10:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:10:16 (1/6) Installing dumb-init (1.2.5-r1) 20:10:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:10:16 (3/6) Installing libsodium (1.0.18-r0) 20:10:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:10:17 (5/6) Installing libzmq (4.3.4-r0) 20:10:17 (6/6) Installing zeromq (4.3.4-r0) 20:10:17 Executing busybox-1.33.1-r7.trigger 20:10:17 OK: 8 MiB in 20 packages 20:10:17 Removing intermediate container 31b914ce3841 20:10:17 ---> e45db7a9678f 20:10:17 Step 17/26 : WORKDIR / 20:10:17 ---> Running in b200b6063745 20:10:17 Removing intermediate container b200b6063745 20:10:17 ---> 5fe7ee210d36 20:10:17 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:10:17 ---> 8d6236743edc 20:10:17 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:10:18 ---> fcf8b30ea960 20:10:18 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:10:18 ---> 03d0a6ea2f64 20:10:18 Step 21/26 : EXPOSE 59900 20:10:18 ---> Running in bbbdd04a5bbd 20:10:18 Removing intermediate container bbbdd04a5bbd 20:10:18 ---> 26f87bdd2db0 20:10:18 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:10:18 ---> Running in 08591737682c 20:10:18 Removing intermediate container 08591737682c 20:10:18 ---> 6862edcc2cfc 20:10:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:10:19 ---> Running in ce9bc82f9ff4 20:10:19 Removing intermediate container ce9bc82f9ff4 20:10:19 ---> e3321e05bf85 20:10:19 Step 24/26 : LABEL arch=amd64 20:10:19 ---> Running in fbf8efbba50d 20:10:19 Removing intermediate container fbf8efbba50d 20:10:19 ---> 55c3dff7f20f 20:10:19 Step 25/26 : LABEL git_sha=351caebf32bba8e0fd88c5312046eae57dc27958 20:10:19 ---> Running in 68f97216b2b9 20:10:19 Removing intermediate container 68f97216b2b9 20:10:19 ---> d47564814c1a 20:10:19 Step 26/26 : LABEL version=2.2.0-dev.9 20:10:19 ---> Running in c003ac03a856 20:10:19 Removing intermediate container c003ac03a856 20:10:19 ---> 802ed1eb1f29 20:10:19 [Warning] One or more build-args [ARCH] were not consumed 20:10:19 Successfully built 802ed1eb1f29 20:10:19 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:19 provisioning config files... 20:10:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1010319964131182315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:19 ---> docker-login.sh 20:10:19 nexus3.edgexfoundry.org:10001 20:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:19 Configure a credential helper to remove this warning. See 20:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:19 20:10:19 Login Succeeded 20:10:19 nexus3.edgexfoundry.org:10002 20:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:19 Configure a credential helper to remove this warning. See 20:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:19 20:10:19 Login Succeeded 20:10:19 nexus3.edgexfoundry.org:10003 20:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:19 Configure a credential helper to remove this warning. See 20:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:19 20:10:19 Login Succeeded 20:10:19 nexus3.edgexfoundry.org:10004 20:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:20 Configure a credential helper to remove this warning. See 20:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:20 20:10:20 Login Succeeded 20:10:20 docker.io 20:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:10:20 Configure a credential helper to remove this warning. See 20:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:10:20 20:10:20 Login Succeeded 20:10:20 ---> docker-login.sh ends [Pipeline] } 20:10:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:10:20 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 20:10:20 351caebf32bba8e0fd88c5312046eae57dc27958 20:10:20 latest 20:10:20 2.2.0-dev.9 20:10:20 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:10:20 main 20:10:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] isUnix [Pipeline] sh 20:10:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 20:10:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 20:10:21 2e91d22f3d73: Preparing 20:10:21 676fe2f34210: Preparing 20:10:21 e032828fc546: Preparing 20:10:21 fd10f32044fd: Preparing 20:10:21 51e05edcd4af: Preparing 20:10:21 b541d28bf3b4: Preparing 20:10:21 b541d28bf3b4: Waiting 20:10:21 51e05edcd4af: Pushed 20:10:21 676fe2f34210: Pushed 20:10:21 e032828fc546: Pushed 20:10:21 b541d28bf3b4: Layer already exists 20:10:21 fd10f32044fd: Pushed 20:10:23 2e91d22f3d73: Pushed 20:10:23 351caebf32bba8e0fd88c5312046eae57dc27958: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh 20:10:23 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 20:10:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 20:10:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 20:10:23 2e91d22f3d73: Preparing 20:10:23 676fe2f34210: Preparing 20:10:23 e032828fc546: Preparing 20:10:23 fd10f32044fd: Preparing 20:10:23 51e05edcd4af: Preparing 20:10:23 b541d28bf3b4: Preparing 20:10:23 b541d28bf3b4: Waiting 20:10:23 fd10f32044fd: Layer already exists 20:10:23 e032828fc546: Layer already exists 20:10:23 2e91d22f3d73: Layer already exists 20:10:23 51e05edcd4af: Layer already exists 20:10:23 676fe2f34210: Layer already exists 20:10:23 b541d28bf3b4: Layer already exists 20:10:23 latest: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh 20:10:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 20:10:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 20:10:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 20:10:24 2e91d22f3d73: Preparing 20:10:24 676fe2f34210: Preparing 20:10:24 e032828fc546: Preparing 20:10:24 fd10f32044fd: Preparing 20:10:24 51e05edcd4af: Preparing 20:10:24 b541d28bf3b4: Preparing 20:10:24 b541d28bf3b4: Waiting 20:10:24 676fe2f34210: Layer already exists 20:10:24 2e91d22f3d73: Layer already exists 20:10:24 51e05edcd4af: Layer already exists 20:10:24 fd10f32044fd: Layer already exists 20:10:24 e032828fc546: Layer already exists 20:10:24 b541d28bf3b4: Layer already exists 20:10:24 2.2.0-dev.9: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh 20:10:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 20:10:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 20:10:25 2e91d22f3d73: Preparing 20:10:25 676fe2f34210: Preparing 20:10:25 e032828fc546: Preparing 20:10:25 fd10f32044fd: Preparing 20:10:25 51e05edcd4af: Preparing 20:10:25 b541d28bf3b4: Preparing 20:10:25 b541d28bf3b4: Waiting 20:10:25 51e05edcd4af: Layer already exists 20:10:25 fd10f32044fd: Layer already exists 20:10:25 2e91d22f3d73: Layer already exists 20:10:25 676fe2f34210: Layer already exists 20:10:25 e032828fc546: Layer already exists 20:10:25 b541d28bf3b4: Layer already exists 20:10:25 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh 20:10:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 20:10:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 20:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 20:10:25 2e91d22f3d73: Preparing 20:10:25 676fe2f34210: Preparing 20:10:25 e032828fc546: Preparing 20:10:25 fd10f32044fd: Preparing 20:10:25 51e05edcd4af: Preparing 20:10:25 b541d28bf3b4: Preparing 20:10:25 b541d28bf3b4: Waiting 20:10:25 51e05edcd4af: Layer already exists 20:10:25 e032828fc546: Layer already exists 20:10:25 2e91d22f3d73: Layer already exists 20:10:25 fd10f32044fd: Layer already exists 20:10:25 676fe2f34210: Layer already exists 20:10:25 b541d28bf3b4: Layer already exists 20:10:25 main: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:10:25 ===================================================== [Pipeline] echo 20:10:25 taggedImages: 20:10:25 - nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 20:10:25 - nexus3.edgexfoundry.org:10004/device-virtual:latest 20:10:25 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 20:10:25 - nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:10:25 - 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 20:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:26 20:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:10:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:26 latest: Pulling from edgex-lftools-log-publisher 20:10:26 5eb5b503b376: Pulling fs layer 20:10:26 5c69ac0246d0: Pulling fs layer 20:10:26 ec43610c2a17: Pulling fs layer 20:10:26 3a2ae6a8a46f: Pulling fs layer 20:10:26 33b1e0a273af: Pulling fs layer 20:10:26 5d3b04190fa2: Pulling fs layer 20:10:26 2f39f015ded8: Pulling fs layer 20:10:26 33b1e0a273af: Waiting 20:10:26 5d3b04190fa2: Waiting 20:10:26 3a2ae6a8a46f: Waiting 20:10:26 2f39f015ded8: Waiting 20:10:26 5c69ac0246d0: Download complete 20:10:26 3a2ae6a8a46f: Verifying Checksum 20:10:26 3a2ae6a8a46f: Download complete 20:10:26 33b1e0a273af: Verifying Checksum 20:10:26 33b1e0a273af: Download complete 20:10:26 ec43610c2a17: Verifying Checksum 20:10:26 ec43610c2a17: Download complete 20:10:26 5d3b04190fa2: Download complete 20:10:26 5eb5b503b376: Verifying Checksum 20:10:26 5eb5b503b376: Download complete 20:10:27 2f39f015ded8: Verifying Checksum 20:10:27 2f39f015ded8: Download complete 20:10:27 5eb5b503b376: Pull complete 20:10:27 5c69ac0246d0: Pull complete 20:10:28 ec43610c2a17: Pull complete 20:10:28 3a2ae6a8a46f: Pull complete 20:10:28 33b1e0a273af: Pull complete 20:10:28 5d3b04190fa2: Pull complete 20:10:32 2f39f015ded8: Pull complete 20:10:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:10:32 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:10:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:34 $ docker top a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:35 ---> job-cost.sh 20:10:35 lf-activate-venv: SKIPPING 20:10:35 INFO: No Stack... 20:10:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:35 INFO: Archiving Costs [Pipeline] sh 20:10:36 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 20:10:36 + cut -d, -f6 [Pipeline] lock 20:10:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] 20:10:36 Resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] did not exist. Created. 20:10:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:10:36 Stashed 1 file(s) [Pipeline] } 20:10:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:36 $ docker stop --time=1 a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 20:10:37 $ docker rm -f a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:12:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10775 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 20:12:14 Running in /w/workspace/device-virtual-go/25 [Pipeline] { [Pipeline] checkout 20:12:14 The recommended git tool is: git 20:12:22 using credential edgex-jenkins-ssh 20:12:22 Cloning the remote Git repository 20:12:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:12:22 > git init /w/workspace/device-virtual-go/25 # timeout=10 20:12:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:12:22 > git --version # timeout=10 20:12:22 > git --version # 'git version 2.25.1' 20:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:25 Avoid second fetch 20:12:25 Checking out Revision 351caebf32bba8e0fd88c5312046eae57dc27958 (main) 20:12:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:12:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:25 > git config core.sparsecheckout # timeout=10 20:12:25 > git checkout -f 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 20:12:29 Commit message: "Merge pull request #274 from jpwhitemn/enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:12:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:30 Dload Upload Total Spent Left Speed 20:12:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 20:12:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:12:31 + sudo tee /etc/docker/daemon.new 20:12:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:12:31 { 20:12:31 "registry-mirrors": [ 20:12:31 "https://nexus3.edgexfoundry.org:10001" 20:12:31 ], 20:12:31 "bip": "10.250.0.254/24", 20:12:31 "hosts": [ 20:12:31 "tcp://0.0.0.0:5555", 20:12:31 "unix:///var/run/docker.sock" 20:12:31 ], 20:12:31 "mtu": 1458, 20:12:31 "selinux-enabled": true, 20:12:31 "seccomp-profile": "/etc/docker/seccomp.json" 20:12:31 } [Pipeline] sh 20:12:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:12:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:50 provisioning config files... 20:12:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/25@tmp/config1827452704800676286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:50 ---> docker-login.sh 20:12:50 nexus3.edgexfoundry.org:10001 20:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:52 Configure a credential helper to remove this warning. See 20:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:52 20:12:52 Login Succeeded 20:12:52 nexus3.edgexfoundry.org:10002 20:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:52 Configure a credential helper to remove this warning. See 20:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:52 20:12:52 Login Succeeded 20:12:52 nexus3.edgexfoundry.org:10003 20:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:53 Configure a credential helper to remove this warning. See 20:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:53 20:12:53 Login Succeeded 20:12:53 nexus3.edgexfoundry.org:10004 20:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:53 Configure a credential helper to remove this warning. See 20:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:53 20:12:53 Login Succeeded 20:12:53 docker.io 20:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:54 Configure a credential helper to remove this warning. See 20:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:54 20:12:54 Login Succeeded 20:12:54 ---> docker-login.sh ends [Pipeline] } 20:12:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:12:55 ========================================================= 20:12:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:12:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:12:55 + 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 . 20:12:56 Sending build context to Docker daemon 11.57MB 20:12:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:12:56 Step 2/12 : FROM ${BASE} AS builder 20:12:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:12:56 9b3977197b4f: Pulling fs layer 20:12:56 1a89e8eeedd5: Pulling fs layer 20:12:56 94645a83ff95: Pulling fs layer 20:12:56 3f3a8bcf1eab: Pulling fs layer 20:12:56 0c92f367c5e7: Pulling fs layer 20:12:56 f7c0051592d6: Pulling fs layer 20:12:56 a227ed2f7395: Pulling fs layer 20:12:56 7b1c46037f91: Pulling fs layer 20:12:56 f7c0051592d6: Waiting 20:12:56 a227ed2f7395: Waiting 20:12:56 3f3a8bcf1eab: Waiting 20:12:56 0c92f367c5e7: Waiting 20:12:56 7b1c46037f91: Waiting 20:12:56 94645a83ff95: Download complete 20:12:56 1a89e8eeedd5: Download complete 20:12:56 0c92f367c5e7: Verifying Checksum 20:12:56 0c92f367c5e7: Download complete 20:12:56 f7c0051592d6: Verifying Checksum 20:12:56 f7c0051592d6: Download complete 20:12:56 9b3977197b4f: Verifying Checksum 20:12:56 a227ed2f7395: Verifying Checksum 20:12:56 a227ed2f7395: Download complete 20:12:57 9b3977197b4f: Pull complete 20:12:58 1a89e8eeedd5: Pull complete 20:12:58 94645a83ff95: Pull complete 20:12:58 7b1c46037f91: Verifying Checksum 20:12:58 7b1c46037f91: Download complete 20:12:59 3f3a8bcf1eab: Verifying Checksum 20:12:59 3f3a8bcf1eab: Download complete 20:13:14 3f3a8bcf1eab: Pull complete 20:13:14 0c92f367c5e7: Pull complete 20:13:14 f7c0051592d6: Pull complete 20:13:14 a227ed2f7395: Pull complete 20:13:19 7b1c46037f91: Pull complete 20:13:19 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:13:19 ---> f79e39bc4007 20:13:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:13:21 ---> Running in e81087d3d24d 20:13:21 Removing intermediate container e81087d3d24d 20:13:21 ---> 55cca637b18a 20:13:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:13:22 ---> Running in 7191b9e05d4a 20:13:24 Removing intermediate container 7191b9e05d4a 20:13:24 ---> d945392599c3 20:13:24 Step 5/12 : WORKDIR /device-virtual-go 20:13:24 ---> Running in 49233a09cafe 20:13:25 Removing intermediate container 49233a09cafe 20:13:25 ---> 5388b55dc048 20:13:25 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:25 ---> Running in 2c16378960bc 20:13:27 Removing intermediate container 2c16378960bc 20:13:27 ---> e360ae6455fb 20:13:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:27 ---> Running in 0432a124a968 20:13:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:13:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:13:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:13:30 (2/4) Installing libedit (20210910.3.1-r0) 20:13:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:13:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:13:31 Executing busybox-1.34.1-r3.trigger 20:13:31 OK: 224 MiB in 56 packages 20:13:32 Removing intermediate container 0432a124a968 20:13:32 ---> 6891b5579ee7 20:13:32 Step 8/12 : COPY go.mod vendor* ./ 20:13:32 ---> f27dbf2a725d 20:13:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:32 ---> Running in 6d3a5cf18af2 20:14:29 Removing intermediate container 6d3a5cf18af2 20:14:29 ---> 72148ccfab9a 20:14:29 Step 10/12 : COPY . . 20:14:29 ---> 6a1315ee0c7a 20:14:29 Step 11/12 : ARG MAKE='make build' 20:14:29 ---> Running in 22dc234af824 20:14:29 Removing intermediate container 22dc234af824 20:14:29 ---> 49902ebe9a0d 20:14:29 Step 12/12 : RUN $MAKE 20:14:29 ---> Running in e97667cebd65 20:14:29 noop 20:14:29 Removing intermediate container e97667cebd65 20:14:29 ---> dde77b01126d 20:14:29 Successfully built dde77b01126d 20:14:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:14:29 + docker inspect -f . ci-base-image-arm64 20:14:29 . [Pipeline] withDockerContainer 20:14:29 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 20:14:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@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 20:14:31 $ docker top e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:32 + go version 20:14:32 go version go1.17.6 linux/arm64 [Pipeline] } 20:14:32 $ docker stop --time=1 e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f 20:14:34 $ docker rm -f e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:34 + docker inspect -f . ci-base-image-arm64 20:14:34 . [Pipeline] withDockerContainer 20:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 20:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@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 20:14:36 $ docker top d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:14:37 + make test 20:14:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:16:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:16:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.158s coverage: 65.7% of statements 20:16:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:16:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:16:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:16:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:16:48 ./bin/test-attribution-txt.sh [Pipeline] echo 20:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:16:48 $ docker stop --time=1 d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 20:16:50 $ docker rm -f d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:16:51 Warning: overwriting stash ‘coverage-report’ 20:16:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:16:53 + ls -al . 20:16:53 total 180 20:16:53 drwxrwxr-x 7 jenkins jenkins 4096 Apr 5 20:16 . 20:16:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:12 .. 20:16:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:12 .git 20:16:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:12 .github 20:16:53 -rw-rw-r-- 1 jenkins jenkins 270 Apr 5 20:12 .gitignore 20:16:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:12 .golangci.yml 20:16:53 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 5 20:12 Attribution.txt 20:16:53 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 5 20:12 CHANGELOG.md 20:16:53 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 5 20:12 Dockerfile 20:16:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:12 GOVERNANCE.md 20:16:53 -rw-rw-r-- 1 jenkins jenkins 660 Apr 5 20:12 Jenkinsfile 20:16:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:12 LICENSE 20:16:53 -rw-rw-r-- 1 jenkins jenkins 1652 Apr 5 20:12 Makefile 20:16:53 -rw-rw-r-- 1 jenkins jenkins 623 Apr 5 20:12 OWNERS.md 20:16:53 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 5 20:12 README.md 20:16:53 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION 20:16:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:12 bin 20:16:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:12 cmd 20:16:53 -rw-r--r-- 1 jenkins jenkins 44128 Apr 5 20:16 coverage.out 20:16:53 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 5 20:12 go.mod 20:16:53 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 5 20:12 go.sum 20:16:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:12 internal 20:16:53 -rw-rw-r-- 1 jenkins jenkins 235 Apr 5 20:12 version.go [Pipeline] isUnix [Pipeline] sh 20:16:53 + 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=351caebf32bba8e0fd88c5312046eae57dc27958 --label arch=arm64 --label version=2.2.0-dev.9 . 20:16:54 Sending build context to Docker daemon 11.61MB 20:16:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 20:16:54 Step 2/26 : FROM ${BASE} AS builder 20:16:54 ---> dde77b01126d 20:16:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:16:54 ---> Running in 7fcc34e4d963 20:16:54 Removing intermediate container 7fcc34e4d963 20:16:54 ---> ec829b2ac113 20:16:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:16:54 ---> Running in ea62e40f2c34 20:16:55 Removing intermediate container ea62e40f2c34 20:16:55 ---> f26128d7ff11 20:16:55 Step 5/26 : WORKDIR /device-virtual-go 20:16:55 ---> Running in 96a3c643c97f 20:16:55 Removing intermediate container 96a3c643c97f 20:16:55 ---> 10c29669175a 20:16:55 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:55 ---> Running in 4c383dd53802 20:16:57 Removing intermediate container 4c383dd53802 20:16:57 ---> 8f6d885efb63 20:16:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:57 ---> Running in 3d298104a73b 20:16:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:16:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:17:00 OK: 224 MiB in 56 packages 20:17:01 Removing intermediate container 3d298104a73b 20:17:01 ---> 9fec5a688e88 20:17:01 Step 8/26 : COPY go.mod vendor* ./ 20:17:01 ---> c11283d1b20b 20:17:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:01 ---> Running in 56da733f15d3 20:17:03 Removing intermediate container 56da733f15d3 20:17:03 ---> e46d5dfad994 20:17:03 Step 10/26 : COPY . . 20:17:05 ---> 87b713991b62 20:17:05 Step 11/26 : ARG MAKE='make build' 20:17:05 ---> Running in 5f552cfd6ff1 20:17:05 Removing intermediate container 5f552cfd6ff1 20:17:05 ---> c11ecf4f6cf3 20:17:05 Step 12/26 : RUN $MAKE 20:17:05 ---> Running in f9b94949db39 20:17:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.9" -o cmd/device-virtual ./cmd 20:18:28 Removing intermediate container f9b94949db39 20:18:28 ---> 11034660ade4 20:18:28 Step 13/26 : FROM alpine:3.14 20:18:28 3.14: Pulling from library/alpine 20:18:28 455c02918c45: Pulling fs layer 20:18:28 455c02918c45: Verifying Checksum 20:18:28 455c02918c45: Download complete 20:18:28 455c02918c45: Pull complete 20:18:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:18:28 Status: Downloaded newer image for alpine:3.14 20:18:28 ---> ac73e934f311 20:18:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:18:28 ---> Running in 0c899cbd7f13 20:18:28 Removing intermediate container 0c899cbd7f13 20:18:28 ---> 6b019408e462 20:18:28 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:28 ---> Running in 4a6037e61837 20:18:28 Removing intermediate container 4a6037e61837 20:18:28 ---> 9131fd5d7b35 20:18:28 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:18:29 ---> Running in 88dce4eedc76 20:18:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:18:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:18:31 (1/6) Installing dumb-init (1.2.5-r1) 20:18:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:18:31 (3/6) Installing libsodium (1.0.18-r0) 20:18:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:18:32 (5/6) Installing libzmq (4.3.4-r0) 20:18:32 (6/6) Installing zeromq (4.3.4-r0) 20:18:32 Executing busybox-1.33.1-r7.trigger 20:18:32 OK: 8 MiB in 20 packages 20:18:33 Removing intermediate container 88dce4eedc76 20:18:33 ---> c6069e3334e0 20:18:33 Step 17/26 : WORKDIR / 20:18:33 ---> Running in f6192e35d3a4 20:18:33 Removing intermediate container f6192e35d3a4 20:18:33 ---> f83600d0f335 20:18:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:18:34 ---> 590c7f6ae592 20:18:34 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:18:34 ---> ad913d53dd10 20:18:34 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:18:36 ---> 89aab1d054e0 20:18:36 Step 21/26 : EXPOSE 59900 20:18:36 ---> Running in 79c9c297b46d 20:18:36 Removing intermediate container 79c9c297b46d 20:18:36 ---> 2119708bf9ab 20:18:36 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:18:36 ---> Running in 598da4c31b86 20:18:37 Removing intermediate container 598da4c31b86 20:18:37 ---> c96d9b86b55e 20:18:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:18:37 ---> Running in e8b30a556513 20:18:37 Removing intermediate container e8b30a556513 20:18:37 ---> 9f3029587daa 20:18:37 Step 24/26 : LABEL arch=arm64 20:18:37 ---> Running in fd3867ddc042 20:18:38 Removing intermediate container fd3867ddc042 20:18:38 ---> 1ae01eda5152 20:18:38 Step 25/26 : LABEL git_sha=351caebf32bba8e0fd88c5312046eae57dc27958 20:18:38 ---> Running in 0cee47b8c806 20:18:38 Removing intermediate container 0cee47b8c806 20:18:38 ---> 791628031bde 20:18:38 Step 26/26 : LABEL version=2.2.0-dev.9 20:18:38 ---> Running in 7d557969c932 20:18:38 Removing intermediate container 7d557969c932 20:18:38 ---> 42d6ddf1da48 20:18:38 [Warning] One or more build-args [ARCH] were not consumed 20:18:38 Successfully built 42d6ddf1da48 20:18:38 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 20:18:39 provisioning config files... 20:18:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/25@tmp/config2805077067570983223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:39 ---> docker-login.sh 20:18:39 nexus3.edgexfoundry.org:10001 20:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:39 Configure a credential helper to remove this warning. See 20:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:39 20:18:39 Login Succeeded 20:18:39 nexus3.edgexfoundry.org:10002 20:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:40 Configure a credential helper to remove this warning. See 20:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:40 20:18:40 Login Succeeded 20:18:40 nexus3.edgexfoundry.org:10003 20:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:40 Configure a credential helper to remove this warning. See 20:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:40 20:18:40 Login Succeeded 20:18:40 nexus3.edgexfoundry.org:10004 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:41 Configure a credential helper to remove this warning. See 20:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:41 20:18:41 Login Succeeded 20:18:41 docker.io 20:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:42 Configure a credential helper to remove this warning. See 20:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:42 20:18:42 Login Succeeded 20:18:42 ---> docker-login.sh ends [Pipeline] } 20:18:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:18:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:42 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 20:18:42 351caebf32bba8e0fd88c5312046eae57dc27958 20:18:42 latest 20:18:42 2.2.0-dev.9 20:18:42 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:18:42 main 20:18:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:18:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] isUnix [Pipeline] sh 20:18:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 20:18:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 20:18:43 b26bf8c10b5d: Preparing 20:18:43 7d31640fc5af: Preparing 20:18:43 2bbce7f91a2b: Preparing 20:18:43 fac513a5a666: Preparing 20:18:43 0e348a395544: Preparing 20:18:43 f73e7dbfee58: Preparing 20:18:43 f73e7dbfee58: Waiting 20:18:43 7d31640fc5af: Pushed 20:18:43 2bbce7f91a2b: Pushed 20:18:43 0e348a395544: Pushed 20:18:43 f73e7dbfee58: Layer already exists 20:18:44 fac513a5a666: Pushed 20:18:48 b26bf8c10b5d: Pushed 20:18:48 351caebf32bba8e0fd88c5312046eae57dc27958: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh 20:18:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:18:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 20:18:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 20:18:49 b26bf8c10b5d: Preparing 20:18:49 7d31640fc5af: Preparing 20:18:49 2bbce7f91a2b: Preparing 20:18:49 fac513a5a666: Preparing 20:18:49 0e348a395544: Preparing 20:18:49 f73e7dbfee58: Preparing 20:18:49 f73e7dbfee58: Waiting 20:18:49 2bbce7f91a2b: Layer already exists 20:18:49 fac513a5a666: Layer already exists 20:18:49 7d31640fc5af: Layer already exists 20:18:49 0e348a395544: Layer already exists 20:18:49 b26bf8c10b5d: Layer already exists 20:18:49 f73e7dbfee58: Layer already exists 20:18:49 latest: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh 20:18:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 20:18:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 20:18:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 20:18:50 b26bf8c10b5d: Preparing 20:18:50 7d31640fc5af: Preparing 20:18:50 2bbce7f91a2b: Preparing 20:18:50 fac513a5a666: Preparing 20:18:50 0e348a395544: Preparing 20:18:50 f73e7dbfee58: Preparing 20:18:50 f73e7dbfee58: Waiting 20:18:50 7d31640fc5af: Layer already exists 20:18:50 2bbce7f91a2b: Layer already exists 20:18:50 b26bf8c10b5d: Layer already exists 20:18:50 fac513a5a666: Layer already exists 20:18:50 0e348a395544: Layer already exists 20:18:50 f73e7dbfee58: Layer already exists 20:18:50 2.2.0-dev.9: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh 20:18:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 20:18:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:18:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 20:18:51 b26bf8c10b5d: Preparing 20:18:51 7d31640fc5af: Preparing 20:18:51 2bbce7f91a2b: Preparing 20:18:51 fac513a5a666: Preparing 20:18:51 0e348a395544: Preparing 20:18:51 f73e7dbfee58: Preparing 20:18:51 f73e7dbfee58: Waiting 20:18:51 fac513a5a666: Layer already exists 20:18:51 b26bf8c10b5d: Layer already exists 20:18:51 7d31640fc5af: Layer already exists 20:18:51 2bbce7f91a2b: Layer already exists 20:18:51 0e348a395544: Layer already exists 20:18:51 f73e7dbfee58: Layer already exists 20:18:51 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh 20:18:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 20:18:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 20:18:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 20:18:52 b26bf8c10b5d: Preparing 20:18:52 7d31640fc5af: Preparing 20:18:52 2bbce7f91a2b: Preparing 20:18:52 fac513a5a666: Preparing 20:18:52 0e348a395544: Preparing 20:18:52 f73e7dbfee58: Preparing 20:18:52 f73e7dbfee58: Waiting 20:18:52 0e348a395544: Layer already exists 20:18:52 7d31640fc5af: Layer already exists 20:18:52 fac513a5a666: Layer already exists 20:18:52 b26bf8c10b5d: Layer already exists 20:18:52 2bbce7f91a2b: Layer already exists 20:18:52 f73e7dbfee58: Layer already exists 20:18:52 main: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:18:52 ===================================================== [Pipeline] echo 20:18:52 taggedImages: 20:18:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 20:18:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 20:18:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 20:18:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 20:18:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:18:52 20:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:18:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:18:53 arm64: Pulling from edgex-lftools-log-publisher 20:18:53 8998bd30e6a1: Pulling fs layer 20:18:53 04944245beec: Pulling fs layer 20:18:53 699f458cf7ca: Pulling fs layer 20:18:53 765212b225bb: Pulling fs layer 20:18:53 f23df028b6ca: Pulling fs layer 20:18:53 d65c8cfc05b1: Pulling fs layer 20:18:53 2437ff75d9bd: Pulling fs layer 20:18:53 765212b225bb: Waiting 20:18:53 2437ff75d9bd: Waiting 20:18:53 f23df028b6ca: Waiting 20:18:53 d65c8cfc05b1: Waiting 20:18:53 04944245beec: Verifying Checksum 20:18:53 04944245beec: Download complete 20:18:53 765212b225bb: Verifying Checksum 20:18:53 765212b225bb: Download complete 20:18:53 f23df028b6ca: Verifying Checksum 20:18:53 f23df028b6ca: Download complete 20:18:53 d65c8cfc05b1: Verifying Checksum 20:18:53 d65c8cfc05b1: Download complete 20:18:53 699f458cf7ca: Verifying Checksum 20:18:53 699f458cf7ca: Download complete 20:18:54 8998bd30e6a1: Verifying Checksum 20:18:54 8998bd30e6a1: Download complete 20:18:56 2437ff75d9bd: Verifying Checksum 20:18:56 2437ff75d9bd: Download complete 20:18:58 8998bd30e6a1: Pull complete 20:18:58 04944245beec: Pull complete 20:19:00 699f458cf7ca: Pull complete 20:19:00 765212b225bb: Pull complete 20:19:01 f23df028b6ca: Pull complete 20:19:01 d65c8cfc05b1: Pull complete 20:19:16 2437ff75d9bd: Pull complete 20:19:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:19:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:19:17 prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container 20:19:17 $ 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/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@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 20:19:19 $ docker top d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:20 ---> job-cost.sh 20:19:20 lf-activate-venv: SKIPPING 20:19:20 INFO: No Stack... 20:19:21 INFO: Retrieving Pricing Info for: v3-standard-4 20:19:22 INFO: Archiving Costs [Pipeline] sh 20:19:23 + cat /w/workspace/device-virtual-go/25/archives/cost.csv 20:19:23 + cut -d, -f6 [Pipeline] lock 20:19:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] 20:19:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] did not exist. Created. 20:19:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:23 /w/workspace/device-virtual-go/25@tmp/durable-e6ba73cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:19:24 + echo total: 0.10999999940395355 [Pipeline] stash 20:19:24 Warning: overwriting stash ‘stack-cost’ 20:19:24 Stashed 1 file(s) [Pipeline] } 20:19:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:24 $ docker stop --time=1 d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c 20:19:26 $ docker rm -f d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c [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 20:19:26 provisioning config files... 20:19:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8962840545297686979tmp [Pipeline] { [Pipeline] sh 20:19:27 + set +x 20:19:27 + curl -s https://codecov.io/bash 20:19:27 + bash -s -- 20:19:27 20:19:27 _____ _ 20:19:27 / ____| | | 20:19:27 | | ___ __| | ___ ___ _____ __ 20:19:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:19:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:19:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:19:27 Bash-1.0.6 20:19:27 20:19:27 20:19:27 ==> git version 2.25.1 found 20:19:27 ==> 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 20:19:27 Release-Date: 2020-01-08 20:19:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:19:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:19:27 ==> Jenkins CI detected. 20:19:27 current dir:  /w/workspace/exfoundry_device-virtual-go_main 20:19:27 project root: . 20:19:27 --> token set from env 20:19:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:19:27 ==> Running gcov in . (disable via -X gcov) 20:19:27 ==> Python coveragepy not found 20:19:27 ==> Searching for coverage reports in: 20:19:27 + . 20:19:27 -> Found 1 reports 20:19:27 ==> Detecting git/mercurial file structure 20:19:27 ==> Reading reports 20:19:27 + ./coverage.out bytes=44128 20:19:27 ==> Appending adjustments 20:19:27 https://docs.codecov.io/docs/fixing-reports 20:19:27 + Found adjustments 20:19:27 ==> Gzipping contents 20:19:27 8.0K /tmp/codecov.By7bEV.gz 20:19:27 ==> Uploading reports 20:19:27 url: https://codecov.io 20:19:27 query: branch=main&commit=351caebf32bba8e0fd88c5312046eae57dc27958&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:19:27 -> Pinging Codecov 20:19:27 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=351caebf32bba8e0fd88c5312046eae57dc27958&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:19:27 -> Uploading to 20:19:27 https://storage.googleapis.com/codecov/v4/raw/2022-04-05/5E52B4B073DB2E39498172D8E973AA87/351caebf32bba8e0fd88c5312046eae57dc27958/f80497de-9545-4a70-9901-97217d02f698.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201927Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40c61ed7a9b6acf86c502ac732ad5dc7033f051dc5ca596a916749b6b1f79ed0 20:19:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:19:27 Dload Upload Total Spent Left Speed 20:19:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5278 0 0 100 5278 0 26000 --:--:-- --:--:-- --:--:-- 26000 100 5278 0 0 100 5278 0 24435 --:--:-- --:--:-- --:--:-- 24322 20:19:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] } 20:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:19:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:19:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:19:28 20:19:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:19:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:19:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:19:28 188c0c94c7c5: Pulling fs layer 20:19:28 0ef7d3d256c8: Pulling fs layer 20:19:28 de9db76c5a1d: Pulling fs layer 20:19:28 0eba1c9be4d2: Pulling fs layer 20:19:28 0d57e429df01: Pulling fs layer 20:19:28 4e4be7b47b0d: Pulling fs layer 20:19:28 e1f770b5df2f: Pulling fs layer 20:19:28 85a0685a4137: Pulling fs layer 20:19:28 e1f770b5df2f: Waiting 20:19:28 85a0685a4137: Waiting 20:19:28 0d57e429df01: Waiting 20:19:28 4e4be7b47b0d: Waiting 20:19:28 0eba1c9be4d2: Waiting 20:19:28 de9db76c5a1d: Download complete 20:19:28 0ef7d3d256c8: Verifying Checksum 20:19:28 0ef7d3d256c8: Download complete 20:19:28 0d57e429df01: Verifying Checksum 20:19:28 0d57e429df01: Download complete 20:19:28 4e4be7b47b0d: Verifying Checksum 20:19:28 4e4be7b47b0d: Download complete 20:19:28 188c0c94c7c5: Download complete 20:19:28 e1f770b5df2f: Verifying Checksum 20:19:28 e1f770b5df2f: Download complete 20:19:28 188c0c94c7c5: Pull complete 20:19:28 0ef7d3d256c8: Pull complete 20:19:28 de9db76c5a1d: Pull complete 20:19:29 0eba1c9be4d2: Verifying Checksum 20:19:29 0eba1c9be4d2: Download complete 20:19:29 85a0685a4137: Verifying Checksum 20:19:29 85a0685a4137: Download complete 20:19:32 0eba1c9be4d2: Pull complete 20:19:32 0d57e429df01: Pull complete 20:19:32 4e4be7b47b0d: Pull complete 20:19:32 e1f770b5df2f: Pull complete 20:19:36 85a0685a4137: Pull complete 20:19:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:19:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:19:36 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:19:38 $ docker top a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 -eo pid,comm [Pipeline] { [Pipeline] echo 20:19:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:19:38 + set -o pipefail 20:19:38 + snyk monitor '--org=edgex-jenkins' 20:19:43 20:19:43 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 20:19:43 20:19:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9fdaa88a-4f0c-4283-a394-92a5c22f77b8 20:19:43 20:19:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:19:43 20:19:43 [Pipeline] } 20:19:43 $ docker stop --time=1 a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 20:19:45 $ docker rm -f a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 [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 20:19:46 + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] sh 20:19:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:19:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:19:47 . [Pipeline] withDockerContainer 20:19:47 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:19:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:19:47 $ docker top 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:19:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:19:47 [ssh-agent] Looking for ssh-agent implementation... 20:19:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:19:48 $ docker exec 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 ssh-agent 20:19:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHGiNmj/agent.13 20:19:48 SSH_AGENT_PID=20 20:19:48 Running ssh-add (command line suppressed) 20:19:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3631382552473964603.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3631382552473964603.key) 20:19:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:19:48 + git semver tag 20:19:48 # -> Open(): unable to determine branch for HEAD 20:19:48 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 20:19:48 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 20:19:48 # $SEMVER_REMOTE_NAME = origin 20:19:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:19:48 # $SEMVER_USER_NAME = edgex-jenkins 20:19:48 # $SEMVER_BRANCH = main 20:19:48 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 20:19:48 # 351caebf32bba8e0fd88c5312046eae57dc27958 HEAD 20:19:48 # -> Force: false 20:19:48 # 396bc8411f7446fa20b24995415b7d8caca42072 refs/tags/v2.2.0-dev.9 [Pipeline] } 20:19:48 $ docker exec --env ******** --env ******** 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 ssh-agent -k 20:19:48 unset SSH_AUTH_SOCK; 20:19:48 unset SSH_AGENT_PID; 20:19:48 echo Agent pid 20 killed; 20:19:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:19:49 + git semver [Pipeline] } 20:19:49 $ docker stop --time=1 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 20:19:50 $ docker rm -f 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:19:50 20:19:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:19:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:19:51 0.23.1-centos7: Pulling from edgex-lftools 20:19:51 ab5ef0e58194: Pulling fs layer 20:19:51 9712f1f96733: Pulling fs layer 20:19:51 63f879dbbcfc: Pulling fs layer 20:19:51 0d9ebad4ef96: Pulling fs layer 20:19:51 e9a5061849ea: Pulling fs layer 20:19:51 d747dcd14b5f: Pulling fs layer 20:19:51 2de7ff778b66: Pulling fs layer 20:19:51 d747dcd14b5f: Waiting 20:19:51 2de7ff778b66: Waiting 20:19:51 0d9ebad4ef96: Waiting 20:19:51 e9a5061849ea: Waiting 20:19:51 9712f1f96733: Verifying Checksum 20:19:51 9712f1f96733: Download complete 20:19:51 63f879dbbcfc: Download complete 20:19:51 e9a5061849ea: Verifying Checksum 20:19:51 e9a5061849ea: Download complete 20:19:51 d747dcd14b5f: Verifying Checksum 20:19:51 d747dcd14b5f: Download complete 20:19:51 0d9ebad4ef96: Verifying Checksum 20:19:51 0d9ebad4ef96: Download complete 20:19:51 ab5ef0e58194: Download complete 20:19:51 2de7ff778b66: Verifying Checksum 20:19:51 2de7ff778b66: Download complete 20:19:54 ab5ef0e58194: Pull complete 20:19:54 9712f1f96733: Pull complete 20:19:55 63f879dbbcfc: Pull complete 20:19:59 0d9ebad4ef96: Pull complete 20:19:59 e9a5061849ea: Pull complete 20:19:59 d747dcd14b5f: Pull complete 20:20:00 2de7ff778b66: Pull complete 20:20:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:20:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:20:00 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:20:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:20:02 $ docker top d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:20:02 provisioning config files... 20:20:02 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7763471205015303504tmp 20:20:02 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5144964185769842267tmp 20:20:02 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8098262642330440442tmp [Pipeline] { [Pipeline] echo 20:20:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:20:03 ---> sigul-configuration.sh 20:20:03 gpg: directory `/root/.gnupg' created 20:20:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:20:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:20:03 gpg: keyring `/root/.gnupg/secring.gpg' created 20:20:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:20:03 gpg: CAST5 encrypted data 20:20:03 gpg: encrypted with 1 passphrase 20:20:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:20:03 + mkdir /home/jenkins 20:20:03 + mkdir /home/jenkins/sigul [Pipeline] sh 20:20:03 + 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 20:20:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:20:03 ---> sigul-install.sh 20:20:03 Sigul already installed; skipping installation. [Pipeline] sh 20:20:04 + git tag --list 20:20:04 v1.0.0 20:20:04 v1.1.0 20:20:04 v1.1.1 20:20:04 v1.2.1 20:20:04 v1.2.2 20:20:04 v1.2.3 20:20:04 v1.3.0 20:20:04 v1.3.1 20:20:04 v2.0.0 20:20:04 v2.0.1-dev.1 20:20:04 v2.0.1-dev.10 20:20:04 v2.0.1-dev.11 20:20:04 v2.0.1-dev.12 20:20:04 v2.0.1-dev.13 20:20:04 v2.0.1-dev.14 20:20:04 v2.0.1-dev.15 20:20:04 v2.0.1-dev.2 20:20:04 v2.0.1-dev.3 20:20:04 v2.0.1-dev.4 20:20:04 v2.0.1-dev.5 20:20:04 v2.0.1-dev.6 20:20:04 v2.0.1-dev.7 20:20:04 v2.0.1-dev.8 20:20:04 v2.0.1-dev.9 20:20:04 v2.1.0 20:20:04 v2.2.0-dev.1 20:20:04 v2.2.0-dev.2 20:20:04 v2.2.0-dev.3 20:20:04 v2.2.0-dev.4 20:20:04 v2.2.0-dev.5 20:20:04 v2.2.0-dev.6 20:20:04 v2.2.0-dev.7 20:20:04 v2.2.0-dev.8 20:20:04 v2.2.0-dev.9 [Pipeline] sh 20:20:04 + lftools sign git-tag v2.2.0-dev.9 20:20:05 Signing Git tag with Sigul... 20:20:05 Signing v2.2.0-dev.9 [Pipeline] echo 20:20:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:20:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:20:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:20:05 $ docker stop --time=1 d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 20:20:06 $ docker rm -f d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:20:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:20:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:20:07 . [Pipeline] withDockerContainer 20:20:07 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:20:08 $ docker top 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:20:08 [ssh-agent] Looking for ssh-agent implementation... 20:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:20:08 $ docker exec 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c ssh-agent 20:20:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLEFKDe/agent.14 20:20:08 SSH_AGENT_PID=20 20:20:08 Running ssh-add (command line suppressed) 20:20:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2655895512401415733.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2655895512401415733.key) 20:20:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:20:08 + git semver bump pre 20:20:08 # -> Open(): unable to determine branch for HEAD 20:20:08 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 20:20:08 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 20:20:08 # $SEMVER_REMOTE_NAME = origin 20:20:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:20:08 # $SEMVER_USER_NAME = edgex-jenkins 20:20:08 # $SEMVER_BRANCH = main 20:20:08 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 20:20:08 2.2.0-dev.10 [Pipeline] } 20:20:08 $ docker exec --env ******** --env ******** 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c ssh-agent -k 20:20:08 unset SSH_AUTH_SOCK; 20:20:08 unset SSH_AGENT_PID; 20:20:08 echo Agent pid 20 killed; 20:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:20:09 + git semver [Pipeline] } 20:20:09 $ docker stop --time=1 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c 20:20:10 $ docker rm -f 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c [Pipeline] // withDockerContainer [Pipeline] sh 20:20:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:20:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:20:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:20:11 . [Pipeline] withDockerContainer 20:20:11 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:20:11 $ docker top db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:20:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:20:11 [ssh-agent] Looking for ssh-agent implementation... 20:20:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:20:11 $ docker exec db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b ssh-agent 20:20:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoocgIG/agent.14 20:20:12 SSH_AGENT_PID=20 20:20:12 Running ssh-add (command line suppressed) 20:20:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4584488541973829401.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4584488541973829401.key) 20:20:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:20:12 + git semver push 20:20:12 # -> Open(): unable to determine branch for HEAD 20:20:12 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 20:20:12 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 20:20:12 # $SEMVER_REMOTE_NAME = origin 20:20:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:20:12 # $SEMVER_USER_NAME = edgex-jenkins 20:20:12 # $SEMVER_BRANCH = main 20:20:12 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 20:20:14 $ docker exec --env ******** --env ******** db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b ssh-agent -k 20:20:14 unset SSH_AUTH_SOCK; 20:20:14 unset SSH_AGENT_PID; 20:20:14 echo Agent pid 20 killed; 20:20:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:20:14 + git semver [Pipeline] } 20:20:14 $ docker stop --time=1 db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b 20:20:16 $ docker rm -f db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b [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 20:20:16 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 20:20:16 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 20:20:16 total 16 20:20:16 drwxr-xr-x 3 root root 4096 Apr 5 20:10 . 20:20:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:20 .. 20:20:16 drwxr-xr-x 2 root root 4096 Apr 5 20:10 cost 20:20:16 -rw-r--r-- 1 root root 87 Apr 5 20:10 cost.csv 20:20:16 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 20:20:16 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 20:20:16 total 16 20:20:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:10 . 20:20:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:20 .. 20:20:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:10 cost 20:20:16 -rw-r--r-- 1 jenkins jenkins 87 Apr 5 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:20:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:20:17 ---> package-listing.sh 20:20:17 ++ facter osfamily 20:20:17 ++ tr '[:upper:]' '[:lower:]' 20:20:18 + OS_FAMILY=debian 20:20:18 + workspace=/w/workspace/exfoundry_device-virtual-go_main 20:20:18 + START_PACKAGES=/tmp/packages_start.txt 20:20:18 + END_PACKAGES=/tmp/packages_end.txt 20:20:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:20:18 + PACKAGES=/tmp/packages_start.txt 20:20:18 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 20:20:18 + PACKAGES=/tmp/packages_end.txt 20:20:18 + case "${OS_FAMILY}" in 20:20:18 + dpkg -l 20:20:18 + grep '^ii' 20:20:18 + '[' -f /tmp/packages_start.txt ']' 20:20:18 + '[' -f /tmp/packages_end.txt ']' 20:20:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:20:18 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 20:20:18 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 20:20:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 20:20:18 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 20:20:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:19 . [Pipeline] withDockerContainer 20:20:19 prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container 20:20:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:20:19 $ docker top 78bd5ac408da2a0b73d6d980e300d93198b73186d444071913b19d6321b74cf7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:19 + touch /tmp/pre-build-complete [Pipeline] sh 20:20:20 + mkdir -p /var/log/sysstat [Pipeline] sh 20:20:20 + ls /var/log/sa-host 20:20:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:20 provisioning config files... 20:20:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6636807970884578975tmp [Pipeline] { [Pipeline] echo 20:20:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:20:20 ---> create-netrc.sh [Pipeline] } 20:20:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:20:21 ---> python-tools-install.sh [Pipeline] echo 20:20:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:20:21 ---> sudo-logs.sh 20:20:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:20:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:20:21 ---> job-cost.sh 20:20:21 lf-activate-venv: SKIPPING 20:20:21 DEBUG: total: 0.2199999988079071 20:20:21 INFO: Retrieving Stack Cost... 20:20:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:22 INFO: Archiving Costs [Pipeline] echo 20:20:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:20:22 ---> logs-deploy.sh 20:20:22 lf-activate-venv: SKIPPING 20:20:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/25 20:20:22 INFO: archiving workspace using pattern(s): 20:20:23 Archives upload complete. 20:20:23 INFO: archiving logs to Nexus