Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 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-ssh13906653293750279151.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-ssh13811132194789732095.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-ssh2705769560739978262.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-ssh983717836852092711.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-ssh7739842739676330935.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21438 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 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 (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 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 Commit message: "Merge pull request #278 from bnevis-i/delayed-start-configuration" > git rev-list --no-walk 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:05:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:05:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:05:14 ========================================================= 02:05:14 EdgeX Global Pipelines Version Info 02:05:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:05:14 ------------------- 02:05:14 stable info: 02:05:14 ------------------- 02:05:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:14 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:05:14 Message: update stable to v1.0.221 02:05:15 ------------------- 02:05:15 experimental info: 02:05:15 ------------------- 02:05:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:05:15 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 02:05:15 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4820715 [Pipeline] echo 02:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:16 provisioning config files... 02:05:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2284847883427028722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:16 ---> docker-login.sh 02:05:16 nexus3.edgexfoundry.org:10001 02:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:16 Configure a credential helper to remove this warning. See 02:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:16 02:05:16 Login Succeeded 02:05:16 nexus3.edgexfoundry.org:10002 02:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:16 Configure a credential helper to remove this warning. See 02:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:16 02:05:16 Login Succeeded 02:05:16 nexus3.edgexfoundry.org:10003 02:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:16 Configure a credential helper to remove this warning. See 02:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:16 02:05:16 Login Succeeded 02:05:16 nexus3.edgexfoundry.org:10004 02:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:17 Configure a credential helper to remove this warning. See 02:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:17 02:05:17 Login Succeeded 02:05:17 docker.io 02:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:17 Configure a credential helper to remove this warning. See 02:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:17 02:05:17 Login Succeeded 02:05:17 ---> docker-login.sh ends [Pipeline] } 02:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:05:17 + git rev-list -1 --merges 48207151525d36e6c5eb15a94183c6d9f8ae1ac7~1..48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] echo 02:05:17 -----------> git rev-list -1 --merges 48207151525d36e6c5eb15a94183c6d9f8ae1ac7~1..48207151525d36e6c5eb15a94183c6d9f8ae1ac7 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:05:17 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [false] [Pipeline] sh 02:05:18 + git log --format=format:%s -1 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] echo 02:05:18 ========================================================= 02:05:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:05:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:18 + git log --format=format:%s -1 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] echo 02:05:18 [semverPrep] GIT_COMMIT: 48207151525d36e6c5eb15a94183c6d9f8ae1ac7, Commit Message: Merge pull request #278 from bnevis-i/delayed-start-configuration [Pipeline] echo 02:05:18 [semverPrep] This is not a build commit. [Pipeline] sh 02:05:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:19 + grep -v github /etc/ssh/ssh_known_hosts 02:05:19 + [ -e /tmp/ssh_known_hosts ] 02:05:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:05:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:05:19 + sudo tee -a /etc/ssh/ssh_known_hosts 02:05:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:05:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:19 02:05:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:05:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:19 latest: Pulling from edgex-devops/git-semver 02:05:19 a0d0a0d46f8b: Pulling fs layer 02:05:19 3e5f54012d9b: Pulling fs layer 02:05:19 4c7163046ea9: Pulling fs layer 02:05:19 0c2d73faf560: Pulling fs layer 02:05:19 0c2d73faf560: Waiting 02:05:19 3e5f54012d9b: Download complete 02:05:19 a0d0a0d46f8b: Verifying Checksum 02:05:19 a0d0a0d46f8b: Download complete 02:05:19 0c2d73faf560: Verifying Checksum 02:05:19 0c2d73faf560: Download complete 02:05:19 4c7163046ea9: Verifying Checksum 02:05:19 4c7163046ea9: Download complete 02:05:19 a0d0a0d46f8b: Pull complete 02:05:19 3e5f54012d9b: Pull complete 02:05:20 4c7163046ea9: Pull complete 02:05:20 0c2d73faf560: Pull complete 02:05:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:05:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:05:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:05:20 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:05:21 $ docker top 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:21 [ssh-agent] Looking for ssh-agent implementation... 02:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:21 $ docker exec 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 ssh-agent 02:05:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBIebb/agent.12 02:05:21 SSH_AGENT_PID=18 02:05:21 Running ssh-add (command line suppressed) 02:05:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1299528597041622399.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1299528597041622399.key) 02:05:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:22 + git tag --points-at HEAD [Pipeline] } 02:05:22 $ docker exec --env ******** --env ******** 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 ssh-agent -k 02:05:22 unset SSH_AUTH_SOCK; 02:05:22 unset SSH_AGENT_PID; 02:05:22 echo Agent pid 18 killed; 02:05:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:05:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:22 [ssh-agent] Looking for ssh-agent implementation... 02:05:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:22 $ docker exec 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 ssh-agent 02:05:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaKaMfn/agent.51 02:05:22 SSH_AGENT_PID=57 02:05:22 Running ssh-add (command line suppressed) 02:05:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_843879672888963403.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_843879672888963403.key) 02:05:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:22 + git semver init 02:05:22 # -> Open(): unable to determine branch for HEAD 02:05:22 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:05:22 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:05:22 # $SEMVER_REMOTE_NAME = origin 02:05:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:05:22 # $SEMVER_USER_NAME = edgex-jenkins 02:05:22 # $SEMVER_BRANCH = main 02:05:22 # $SEMVER_TEMP = /tmp/semver-944558496 02:05:22 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:05:24 # '/tmp/semver-944558496' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 02:05:24 # -> Force: false 02:05:24 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 02:05:24 $ docker exec --env ******** --env ******** 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 ssh-agent -k 02:05:24 unset SSH_AUTH_SOCK; 02:05:24 unset SSH_AGENT_PID; 02:05:24 echo Agent pid 57 killed; 02:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:24 + git semver [Pipeline] } 02:05:24 $ docker stop --time=1 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 02:05:26 $ docker rm -f 17d040e0d4739340c4d2c61d4895c071fd76a24c0cfc032e5890ebec0c9f8d62 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:05:26 Stashed 1 file(s) [Pipeline] echo 02:05:26 [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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 02:05:26 provisioning config files... 02:05:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3904213831967643857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:27 ---> docker-login.sh 02:05:27 nexus3.edgexfoundry.org:10001 02:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:27 Configure a credential helper to remove this warning. See 02:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:27 02:05:27 Login Succeeded 02:05:27 nexus3.edgexfoundry.org:10002 02:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:27 Configure a credential helper to remove this warning. See 02:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:27 02:05:27 Login Succeeded 02:05:27 nexus3.edgexfoundry.org:10003 02:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:27 Configure a credential helper to remove this warning. See 02:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:27 02:05:27 Login Succeeded 02:05:27 nexus3.edgexfoundry.org:10004 02:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:27 Configure a credential helper to remove this warning. See 02:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:27 02:05:27 Login Succeeded 02:05:27 docker.io 02:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:28 Configure a credential helper to remove this warning. See 02:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:28 02:05:28 Login Succeeded 02:05:28 ---> docker-login.sh ends [Pipeline] } 02:05:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:28 ========================================================= 02:05:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:05:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:05:28 + 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 . 02:05:28 Sending build context to Docker daemon 22.92MB 02:05:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:05:28 Step 2/12 : FROM ${BASE} AS builder 02:05:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:05:28 59bf1c3509f3: Pulling fs layer 02:05:28 666ba61612fd: Pulling fs layer 02:05:28 8ed8ca486205: Pulling fs layer 02:05:28 4fe6c5a15a65: Pulling fs layer 02:05:28 22a0e8bec74d: Pulling fs layer 02:05:28 640e595b4fbd: Pulling fs layer 02:05:28 763cafe07f6e: Pulling fs layer 02:05:28 0c0b528cf693: Pulling fs layer 02:05:28 10935f4eaf8b: Pulling fs layer 02:05:28 4fe6c5a15a65: Waiting 02:05:28 22a0e8bec74d: Waiting 02:05:28 640e595b4fbd: Waiting 02:05:28 763cafe07f6e: Waiting 02:05:28 0c0b528cf693: Waiting 02:05:28 10935f4eaf8b: Waiting 02:05:28 8ed8ca486205: Download complete 02:05:28 666ba61612fd: Download complete 02:05:28 22a0e8bec74d: Download complete 02:05:28 640e595b4fbd: Download complete 02:05:28 59bf1c3509f3: Verifying Checksum 02:05:28 59bf1c3509f3: Download complete 02:05:28 0c0b528cf693: Verifying Checksum 02:05:28 59bf1c3509f3: Pull complete 02:05:28 666ba61612fd: Pull complete 02:05:28 8ed8ca486205: Pull complete 02:05:29 10935f4eaf8b: Verifying Checksum 02:05:29 10935f4eaf8b: Download complete 02:05:29 4fe6c5a15a65: Verifying Checksum 02:05:29 4fe6c5a15a65: Download complete 02:05:33 4fe6c5a15a65: Pull complete 02:05:33 22a0e8bec74d: Pull complete 02:05:33 640e595b4fbd: Pull complete 02:05:33 763cafe07f6e: Pull complete 02:05:33 0c0b528cf693: Pull complete 02:05:35 10935f4eaf8b: Pull complete 02:05:35 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:05:35 ---> 99d49a6021b9 02:05:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:05:37 ---> Running in 35f65b5b2522 02:05:37 Removing intermediate container 35f65b5b2522 02:05:37 ---> 6cbff1325851 02:05:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:05:37 ---> Running in e2c8eebc637d 02:05:37 Removing intermediate container e2c8eebc637d 02:05:37 ---> d93a882f1bc8 02:05:37 Step 5/12 : WORKDIR /device-virtual-go 02:05:37 ---> Running in 4de1f3dfc36a 02:05:37 Removing intermediate container 4de1f3dfc36a 02:05:37 ---> c84df55f017e 02:05:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:05:37 ---> Running in 1fb7bcda2d70 02:05:38 Removing intermediate container 1fb7bcda2d70 02:05:38 ---> 18320cde238d 02:05:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:05:38 ---> Running in 8f151fb4fe27 02:05:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:05:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:05:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:05:39 (2/4) Installing libedit (20210910.3.1-r0) 02:05:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:05:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:05:40 Executing busybox-1.34.1-r3.trigger 02:05:40 OK: 224 MiB in 56 packages 02:05:40 Removing intermediate container 8f151fb4fe27 02:05:40 ---> d46ddaa8195b 02:05:40 Step 8/12 : COPY go.mod vendor* ./ 02:05:40 ---> 33b6fc5494f1 02:05:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:41 ---> Running in 4717d2c031a9 02:05:41 Still waiting to schedule task 02:05:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21436’ 02:05:59 Removing intermediate container 4717d2c031a9 02:05:59 ---> f173e6579ce2 02:05:59 Step 10/12 : COPY . . 02:05:59 ---> 9212ca5ad793 02:05:59 Step 11/12 : ARG MAKE='make build' 02:05:59 ---> Running in e53bd9448d61 02:05:59 Removing intermediate container e53bd9448d61 02:05:59 ---> 98b199f8355b 02:05:59 Step 12/12 : RUN $MAKE 02:05:59 ---> Running in a83754eb898f 02:05:59 noop 02:05:59 Removing intermediate container a83754eb898f 02:05:59 ---> cbd21b5b5540 02:05:59 Successfully built cbd21b5b5540 02:05:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:05:59 + docker inspect -f . ci-base-image-x86_64 02:05:59 . [Pipeline] withDockerContainer 02:05:59 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:05:59 $ 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 02:06:00 $ docker top 95e62f92e1400378202cf37f5c4bbd969fbb9dcdbb24a30d21b3f6e34cbbce0f -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:00 + go version 02:06:00 go version go1.17.6 linux/amd64 [Pipeline] } 02:06:00 $ docker stop --time=1 95e62f92e1400378202cf37f5c4bbd969fbb9dcdbb24a30d21b3f6e34cbbce0f 02:06:01 $ docker rm -f 95e62f92e1400378202cf37f5c4bbd969fbb9dcdbb24a30d21b3f6e34cbbce0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:06:02 + docker inspect -f . ci-base-image-x86_64 02:06:02 . [Pipeline] withDockerContainer 02:06:02 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:06:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:06:02 $ docker top c6e9d75302aedfeed1ae8f82acf4d9b2d735e9c4f1731ca5dd5f5953bb1d4c5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:06:03 + make test 02:06:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:06:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:06:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:06:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 02:06:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:06:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:23 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:06:23 $ docker stop --time=1 c6e9d75302aedfeed1ae8f82acf4d9b2d735e9c4f1731ca5dd5f5953bb1d4c5a 02:06:24 $ docker rm -f c6e9d75302aedfeed1ae8f82acf4d9b2d735e9c4f1731ca5dd5f5953bb1d4c5a [Pipeline] // withDockerContainer [Pipeline] sh 02:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:06:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:26 + ls -al . 02:06:26 total 204 02:06:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:06 . 02:06:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:05 .. 02:06:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:05 .git 02:06:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:05 .github 02:06:26 -rw-rw-r-- 1 jenkins jenkins 270 Apr 20 02:05 .gitignore 02:06:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 02:05 .golangci.yml 02:06:26 drwx------ 3 jenkins jenkins 4096 Apr 20 02:05 .semver 02:06:26 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 20 02:05 Attribution.txt 02:06:26 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 20 02:05 CHANGELOG.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 20 02:05 Dockerfile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 02:05 GOVERNANCE.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 660 Apr 20 02:05 Jenkinsfile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 02:05 LICENSE 02:06:26 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 20 02:05 Makefile 02:06:26 -rw-rw-r-- 1 jenkins jenkins 623 Apr 20 02:05 OWNERS.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 20 02:05 README.md 02:06:26 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 02:05 VERSION 02:06:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:05 bin 02:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 02:05 cmd 02:06:26 -rw-r--r-- 1 jenkins jenkins 44128 Apr 20 02:06 coverage.out 02:06:26 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 20 02:05 go.mod 02:06:26 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 20 02:05 go.sum 02:06:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 02:05 internal 02:06:26 -rw-rw-r-- 1 jenkins jenkins 235 Apr 20 02:05 version.go [Pipeline] isUnix [Pipeline] sh 02:06:27 + 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=48207151525d36e6c5eb15a94183c6d9f8ae1ac7 --label arch=amd64 --label version=2.2.0-dev.13 . 02:06:27 Sending build context to Docker daemon 22.97MB 02:06:27 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:06:27 Step 2/26 : FROM ${BASE} AS builder 02:06:27 ---> cbd21b5b5540 02:06:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:06:27 ---> Running in 7432da56018c 02:06:27 Removing intermediate container 7432da56018c 02:06:27 ---> 90a4c4a78dbb 02:06:27 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:06:27 ---> Running in c4af35773bf7 02:06:27 Removing intermediate container c4af35773bf7 02:06:27 ---> 50a4da55f7de 02:06:27 Step 5/26 : WORKDIR /device-virtual-go 02:06:27 ---> Running in c092559f4f8b 02:06:27 Removing intermediate container c092559f4f8b 02:06:27 ---> 8e834d408471 02:06:27 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:06:27 ---> Running in 011b8bbe6225 02:06:28 Removing intermediate container 011b8bbe6225 02:06:28 ---> 24bd684e7a1a 02:06:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:28 ---> Running in 155197312e67 02:06:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:06:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:06:29 OK: 224 MiB in 56 packages 02:06:29 Removing intermediate container 155197312e67 02:06:29 ---> 00f819bfb24c 02:06:29 Step 8/26 : COPY go.mod vendor* ./ 02:06:30 ---> bb9f14a888bd 02:06:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:30 ---> Running in e7d654079dc1 02:06:31 Removing intermediate container e7d654079dc1 02:06:31 ---> 82b691d08670 02:06:31 Step 10/26 : COPY . . 02:06:31 ---> 906e3cf02eed 02:06:31 Step 11/26 : ARG MAKE='make build' 02:06:31 ---> Running in 833fbcde27c2 02:06:31 Removing intermediate container 833fbcde27c2 02:06:31 ---> 63a7ae1cea44 02:06:31 Step 12/26 : RUN $MAKE 02:06:31 ---> Running in a7a57eae36ad 02:06:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 02:06:53 Removing intermediate container a7a57eae36ad 02:06:53 ---> 8a91b90c13be 02:06:53 Step 13/26 : FROM alpine:3.14 02:06:53 3.14: Pulling from library/alpine 02:06:53 8663204ce13b: Pulling fs layer 02:06:53 8663204ce13b: Verifying Checksum 02:06:53 8663204ce13b: Download complete 02:06:53 8663204ce13b: Pull complete 02:06:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:06:53 Status: Downloaded newer image for alpine:3.14 02:06:53 ---> e04c818066af 02:06:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:06:53 ---> Running in 30eaeb33a442 02:06:53 Removing intermediate container 30eaeb33a442 02:06:53 ---> b189d7124416 02:06:53 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:06:53 ---> Running in b8d89ef6f4a4 02:06:53 Removing intermediate container b8d89ef6f4a4 02:06:53 ---> b365555966b8 02:06:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:06:53 ---> Running in cb7b81833e0d 02:06:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:06:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:06:53 (1/6) Installing dumb-init (1.2.5-r1) 02:06:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:06:53 (3/6) Installing libsodium (1.0.18-r0) 02:06:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:06:54 (5/6) Installing libzmq (4.3.4-r0) 02:06:54 (6/6) Installing zeromq (4.3.4-r0) 02:06:54 Executing busybox-1.33.1-r7.trigger 02:06:54 OK: 8 MiB in 20 packages 02:06:54 Removing intermediate container cb7b81833e0d 02:06:54 ---> 4a0d37d23ba9 02:06:54 Step 17/26 : WORKDIR / 02:06:54 ---> Running in 3c7a7211c451 02:06:54 Removing intermediate container 3c7a7211c451 02:06:54 ---> 9265960f9cb4 02:06:54 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:06:54 ---> 812a7da325c2 02:06:54 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:06:54 ---> d46409f3f66c 02:06:54 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:06:55 ---> 9a96bf99b4eb 02:06:55 Step 21/26 : EXPOSE 59900 02:06:55 ---> Running in 386d48ed6993 02:06:55 Removing intermediate container 386d48ed6993 02:06:55 ---> 586029f7eefe 02:06:55 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:06:55 ---> Running in 5f8a31bd377b 02:06:55 Removing intermediate container 5f8a31bd377b 02:06:55 ---> 781a1d75b5ce 02:06:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:06:55 ---> Running in 1c2369239a66 02:06:55 Removing intermediate container 1c2369239a66 02:06:55 ---> de6d793cf355 02:06:55 Step 24/26 : LABEL arch=amd64 02:06:55 ---> Running in d06e485c1545 02:06:56 Removing intermediate container d06e485c1545 02:06:56 ---> 60c491fc33cf 02:06:56 Step 25/26 : LABEL git_sha=48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:06:56 ---> Running in e840a8e6ae52 02:06:56 Removing intermediate container e840a8e6ae52 02:06:56 ---> 141089ec2b4d 02:06:56 Step 26/26 : LABEL version=2.2.0-dev.13 02:06:56 ---> Running in c1fb7c60e98b 02:06:56 Removing intermediate container c1fb7c60e98b 02:06:56 ---> 2e2b2b4ca8bb 02:06:56 [Warning] One or more build-args [ARCH] were not consumed 02:06:56 Successfully built 2e2b2b4ca8bb 02:06:56 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:56 provisioning config files... 02:06:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9210352802427750901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:56 ---> docker-login.sh 02:06:56 nexus3.edgexfoundry.org:10001 02:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:56 Configure a credential helper to remove this warning. See 02:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:56 02:06:56 Login Succeeded 02:06:56 nexus3.edgexfoundry.org:10002 02:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:57 Configure a credential helper to remove this warning. See 02:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:57 02:06:57 Login Succeeded 02:06:57 nexus3.edgexfoundry.org:10003 02:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:57 Configure a credential helper to remove this warning. See 02:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:57 02:06:57 Login Succeeded 02:06:57 nexus3.edgexfoundry.org:10004 02:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:57 Configure a credential helper to remove this warning. See 02:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:57 02:06:57 Login Succeeded 02:06:57 docker.io 02:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:57 Configure a credential helper to remove this warning. See 02:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:57 02:06:57 Login Succeeded 02:06:57 ---> docker-login.sh ends [Pipeline] } 02:06:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:06:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:57 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:06:57 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:06:57 latest 02:06:57 2.2.0-dev.13 02:06:57 48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:06:57 main 02:06:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:06:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] isUnix [Pipeline] sh 02:06:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:06:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:06:58 7aa98ff8a83f: Preparing 02:06:58 5d84f62acbae: Preparing 02:06:58 a841557d5cd4: Preparing 02:06:58 bbe61464c505: Preparing 02:06:58 3357c4df57a3: Preparing 02:06:58 b541d28bf3b4: Preparing 02:06:58 b541d28bf3b4: Waiting 02:06:58 5d84f62acbae: Pushed 02:06:58 3357c4df57a3: Pushed 02:06:58 a841557d5cd4: Pushed 02:06:58 b541d28bf3b4: Layer already exists 02:06:58 bbe61464c505: Pushed 02:07:01 7aa98ff8a83f: Pushed 02:07:01 48207151525d36e6c5eb15a94183c6d9f8ae1ac7: digest: sha256:92486a2fc219a7a6efe85d3068dcf9381c7e08d4c24c793d2be0fd82a0b25f23 size: 1574 [Pipeline] isUnix [Pipeline] sh 02:07:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 02:07:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:07:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:07:01 7aa98ff8a83f: Preparing 02:07:01 5d84f62acbae: Preparing 02:07:01 a841557d5cd4: Preparing 02:07:01 bbe61464c505: Preparing 02:07:01 3357c4df57a3: Preparing 02:07:01 b541d28bf3b4: Preparing 02:07:01 b541d28bf3b4: Waiting 02:07:01 7aa98ff8a83f: Layer already exists 02:07:01 bbe61464c505: Layer already exists 02:07:01 5d84f62acbae: Layer already exists 02:07:01 3357c4df57a3: Layer already exists 02:07:01 a841557d5cd4: Layer already exists 02:07:01 b541d28bf3b4: Layer already exists 02:07:01 latest: digest: sha256:92486a2fc219a7a6efe85d3068dcf9381c7e08d4c24c793d2be0fd82a0b25f23 size: 1574 [Pipeline] isUnix [Pipeline] sh 02:07:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:07:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.13 02:07:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:07:02 7aa98ff8a83f: Preparing 02:07:02 5d84f62acbae: Preparing 02:07:02 a841557d5cd4: Preparing 02:07:02 bbe61464c505: Preparing 02:07:02 3357c4df57a3: Preparing 02:07:02 b541d28bf3b4: Preparing 02:07:02 b541d28bf3b4: Waiting 02:07:02 a841557d5cd4: Layer already exists 02:07:02 bbe61464c505: Layer already exists 02:07:02 5d84f62acbae: Layer already exists 02:07:02 3357c4df57a3: Layer already exists 02:07:02 7aa98ff8a83f: Layer already exists 02:07:02 b541d28bf3b4: Layer already exists 02:07:02 2.2.0-dev.13: digest: sha256:92486a2fc219a7a6efe85d3068dcf9381c7e08d4c24c793d2be0fd82a0b25f23 size: 1574 [Pipeline] isUnix [Pipeline] sh 02:07:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:07:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:07:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:07:02 7aa98ff8a83f: Preparing 02:07:02 5d84f62acbae: Preparing 02:07:02 a841557d5cd4: Preparing 02:07:02 bbe61464c505: Preparing 02:07:02 3357c4df57a3: Preparing 02:07:02 b541d28bf3b4: Preparing 02:07:02 b541d28bf3b4: Waiting 02:07:02 5d84f62acbae: Layer already exists 02:07:02 bbe61464c505: Layer already exists 02:07:02 a841557d5cd4: Layer already exists 02:07:02 3357c4df57a3: Layer already exists 02:07:02 7aa98ff8a83f: Layer already exists 02:07:02 b541d28bf3b4: Layer already exists 02:07:02 48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13: digest: sha256:92486a2fc219a7a6efe85d3068dcf9381c7e08d4c24c793d2be0fd82a0b25f23 size: 1574 [Pipeline] isUnix [Pipeline] sh 02:07:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 02:07:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:07:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:07:03 7aa98ff8a83f: Preparing 02:07:03 5d84f62acbae: Preparing 02:07:03 a841557d5cd4: Preparing 02:07:03 bbe61464c505: Preparing 02:07:03 3357c4df57a3: Preparing 02:07:03 b541d28bf3b4: Preparing 02:07:03 b541d28bf3b4: Waiting 02:07:03 bbe61464c505: Layer already exists 02:07:03 a841557d5cd4: Layer already exists 02:07:03 7aa98ff8a83f: Layer already exists 02:07:03 3357c4df57a3: Layer already exists 02:07:03 5d84f62acbae: Layer already exists 02:07:03 b541d28bf3b4: Layer already exists 02:07:03 main: digest: sha256:92486a2fc219a7a6efe85d3068dcf9381c7e08d4c24c793d2be0fd82a0b25f23 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:07:03 ===================================================== [Pipeline] echo 02:07:03 taggedImages: 02:07:03 - nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:07:03 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:07:03 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.13 02:07:03 - nexus3.edgexfoundry.org:10004/device-virtual:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:07:03 - 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 02:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:03 02:07:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:07:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:04 latest: Pulling from edgex-lftools-log-publisher 02:07:04 5eb5b503b376: Pulling fs layer 02:07:04 5c69ac0246d0: Pulling fs layer 02:07:04 ec43610c2a17: Pulling fs layer 02:07:04 3a2ae6a8a46f: Pulling fs layer 02:07:04 33b1e0a273af: Pulling fs layer 02:07:04 5d3b04190fa2: Pulling fs layer 02:07:04 2f39f015ded8: Pulling fs layer 02:07:04 33b1e0a273af: Waiting 02:07:04 5d3b04190fa2: Waiting 02:07:04 2f39f015ded8: Waiting 02:07:04 5c69ac0246d0: Verifying Checksum 02:07:04 5c69ac0246d0: Download complete 02:07:04 3a2ae6a8a46f: Verifying Checksum 02:07:04 3a2ae6a8a46f: Download complete 02:07:04 33b1e0a273af: Verifying Checksum 02:07:04 33b1e0a273af: Download complete 02:07:04 5d3b04190fa2: Download complete 02:07:04 ec43610c2a17: Verifying Checksum 02:07:04 ec43610c2a17: Download complete 02:07:04 5eb5b503b376: Verifying Checksum 02:07:04 5eb5b503b376: Download complete 02:07:05 2f39f015ded8: Download complete 02:07:05 5eb5b503b376: Pull complete 02:07:05 5c69ac0246d0: Pull complete 02:07:06 ec43610c2a17: Pull complete 02:07:06 3a2ae6a8a46f: Pull complete 02:07:06 33b1e0a273af: Pull complete 02:07:06 5d3b04190fa2: Pull complete 02:07:10 2f39f015ded8: Pull complete 02:07:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:07:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:07:11 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:07:11 $ 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 02:07:12 $ docker top 1d47e4b04fe66389099fef877668ce0add93396c443900bfb4344ed7db533d2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:13 ---> job-cost.sh 02:07:13 lf-activate-venv: SKIPPING 02:07:13 INFO: No Stack... 02:07:13 INFO: Retrieving Pricing Info for: v3-standard-8 02:07:14 INFO: Archiving Costs [Pipeline] sh 02:07:14 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:07:14 + cut -d, -f6 [Pipeline] lock 02:07:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] 02:07:14 Resource [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] did not exist. Created. 02:07:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:07:14 + echo total: 0.2199999988079071 [Pipeline] stash 02:07:14 Stashed 1 file(s) [Pipeline] } 02:07:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 02:07:14 $ docker stop --time=1 1d47e4b04fe66389099fef877668ce0add93396c443900bfb4344ed7db533d2f 02:07:15 $ docker rm -f 1d47e4b04fe66389099fef877668ce0add93396c443900bfb4344ed7db533d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:09:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21439 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:09:22 Running in /w/workspace/device-virtual-go/29 [Pipeline] { [Pipeline] checkout 02:09:23 The recommended git tool is: git 02:09:30 using credential edgex-jenkins-ssh 02:09:30 Cloning the remote Git repository 02:09:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:09:30 > git init /w/workspace/device-virtual-go/29 # timeout=10 02:09:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:09:31 > git --version # timeout=10 02:09:31 > git --version # 'git version 2.25.1' 02:09:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:09:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:09:33 Avoid second fetch 02:09:33 Checking out Revision 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 (main) 02:09:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:09:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:09:33 > git config core.sparsecheckout # timeout=10 02:09:33 > git checkout -f 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 02:09:38 Commit message: "Merge pull request #278 from bnevis-i/delayed-start-configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:09:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:09:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:09:39 Dload Upload Total Spent Left Speed 02:09:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 36552 0 --:--:-- --:--:-- --:--:-- 36440 [Pipeline] sh 02:09:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:09:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:09:40 + sudo tee /etc/docker/daemon.new 02:09:40 { 02:09:40 "registry-mirrors": [ 02:09:40 "https://nexus3.edgexfoundry.org:10001" 02:09:40 ], 02:09:40 "bip": "10.250.0.254/24", 02:09:40 "hosts": [ 02:09:40 "tcp://0.0.0.0:5555", 02:09:40 "unix:///var/run/docker.sock" 02:09:40 ], 02:09:40 "mtu": 1458, 02:09:40 "selinux-enabled": true, 02:09:40 "seccomp-profile": "/etc/docker/seccomp.json" 02:09:40 } [Pipeline] sh 02:09:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:09:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:09:59 provisioning config files... 02:09:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/29@tmp/config893798646712504893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:59 ---> docker-login.sh 02:09:59 nexus3.edgexfoundry.org:10001 02:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:00 Configure a credential helper to remove this warning. See 02:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:00 02:10:00 Login Succeeded 02:10:00 nexus3.edgexfoundry.org:10002 02:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:01 Configure a credential helper to remove this warning. See 02:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:01 02:10:01 Login Succeeded 02:10:01 nexus3.edgexfoundry.org:10003 02:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:01 Configure a credential helper to remove this warning. See 02:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:01 02:10:01 Login Succeeded 02:10:01 nexus3.edgexfoundry.org:10004 02:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:02 Configure a credential helper to remove this warning. See 02:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:02 02:10:02 Login Succeeded 02:10:02 docker.io 02:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:02 Configure a credential helper to remove this warning. See 02:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:02 02:10:02 Login Succeeded 02:10:02 ---> docker-login.sh ends [Pipeline] } 02:10:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:10:03 ========================================================= 02:10:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:10:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:10:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:10:04 Sending build context to Docker daemon 11.6MB 02:10:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:10:04 Step 2/12 : FROM ${BASE} AS builder 02:10:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:10:04 9b3977197b4f: Pulling fs layer 02:10:04 1a89e8eeedd5: Pulling fs layer 02:10:04 94645a83ff95: Pulling fs layer 02:10:04 3f3a8bcf1eab: Pulling fs layer 02:10:04 0c92f367c5e7: Pulling fs layer 02:10:04 f7c0051592d6: Pulling fs layer 02:10:04 a227ed2f7395: Pulling fs layer 02:10:04 7b1c46037f91: Pulling fs layer 02:10:04 3f3a8bcf1eab: Waiting 02:10:04 0c92f367c5e7: Waiting 02:10:04 f7c0051592d6: Waiting 02:10:04 a227ed2f7395: Waiting 02:10:04 7b1c46037f91: Waiting 02:10:04 94645a83ff95: Verifying Checksum 02:10:04 94645a83ff95: Download complete 02:10:04 1a89e8eeedd5: Verifying Checksum 02:10:04 1a89e8eeedd5: Download complete 02:10:04 0c92f367c5e7: Verifying Checksum 02:10:04 0c92f367c5e7: Download complete 02:10:04 f7c0051592d6: Verifying Checksum 02:10:04 f7c0051592d6: Download complete 02:10:04 9b3977197b4f: Verifying Checksum 02:10:04 9b3977197b4f: Download complete 02:10:04 a227ed2f7395: Verifying Checksum 02:10:04 a227ed2f7395: Download complete 02:10:05 9b3977197b4f: Pull complete 02:10:05 1a89e8eeedd5: Pull complete 02:10:06 94645a83ff95: Pull complete 02:10:06 7b1c46037f91: Verifying Checksum 02:10:06 7b1c46037f91: Download complete 02:10:07 3f3a8bcf1eab: Verifying Checksum 02:10:07 3f3a8bcf1eab: Download complete 02:10:19 3f3a8bcf1eab: Pull complete 02:10:19 0c92f367c5e7: Pull complete 02:10:19 f7c0051592d6: Pull complete 02:10:20 a227ed2f7395: Pull complete 02:10:26 7b1c46037f91: Pull complete 02:10:26 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:10:26 ---> f79e39bc4007 02:10:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:10:27 ---> Running in 8c0520f470fa 02:10:27 Removing intermediate container 8c0520f470fa 02:10:27 ---> 87e4e1a89462 02:10:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:10:27 ---> Running in 1dd531c56939 02:10:27 Removing intermediate container 1dd531c56939 02:10:27 ---> 6eb8390f5db3 02:10:27 Step 5/12 : WORKDIR /device-virtual-go 02:10:27 ---> Running in 0cce5b2d7d42 02:10:28 Removing intermediate container 0cce5b2d7d42 02:10:28 ---> 7fbefa6e5a1c 02:10:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:28 ---> Running in 53fd0df53bcf 02:10:30 Removing intermediate container 53fd0df53bcf 02:10:30 ---> 0f5ec16289c8 02:10:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:10:30 ---> Running in 74d1a3aad057 02:10:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:10:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:10:33 (2/4) Installing libedit (20210910.3.1-r0) 02:10:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:10:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:10:33 Executing busybox-1.34.1-r3.trigger 02:10:33 OK: 224 MiB in 56 packages 02:10:34 Removing intermediate container 74d1a3aad057 02:10:34 ---> d3c05fd64ce9 02:10:34 Step 8/12 : COPY go.mod vendor* ./ 02:10:34 ---> e7fd8fb5a3e8 02:10:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:34 ---> Running in f067aaca4c22 02:11:21 Removing intermediate container f067aaca4c22 02:11:21 ---> ec8923dc68a2 02:11:21 Step 10/12 : COPY . . 02:11:21 ---> f4cf5ddc2969 02:11:21 Step 11/12 : ARG MAKE='make build' 02:11:22 ---> Running in 83d2629c907b 02:11:22 Removing intermediate container 83d2629c907b 02:11:22 ---> 2afa6ef7dcfb 02:11:22 Step 12/12 : RUN $MAKE 02:11:22 ---> Running in 734c17c21cf5 02:11:23 noop 02:11:24 Removing intermediate container 734c17c21cf5 02:11:24 ---> 22b274fa0d8b 02:11:24 Successfully built 22b274fa0d8b 02:11:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:11:24 + docker inspect -f . ci-base-image-arm64 02:11:24 . [Pipeline] withDockerContainer 02:11:24 prd-ubuntu20.04-docker-arm64-4c-16g-21439 does not seem to be running inside a container 02:11:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/29 -v /w/workspace/device-virtual-go/29:/w/workspace/device-virtual-go/29:rw,z -v /w/workspace/device-virtual-go/29@tmp:/w/workspace/device-virtual-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:11:26 $ docker top ccc1fdf260d1e44689ec7572f039159b92e15f09d5c6896be98efaf5a0238efa -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:27 + go version 02:11:27 go version go1.17.6 linux/arm64 [Pipeline] } 02:11:27 $ docker stop --time=1 ccc1fdf260d1e44689ec7572f039159b92e15f09d5c6896be98efaf5a0238efa 02:11:28 $ docker rm -f ccc1fdf260d1e44689ec7572f039159b92e15f09d5c6896be98efaf5a0238efa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:11:29 + docker inspect -f . ci-base-image-arm64 02:11:29 . [Pipeline] withDockerContainer 02:11:29 prd-ubuntu20.04-docker-arm64-4c-16g-21439 does not seem to be running inside a container 02:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/29 -v /w/workspace/device-virtual-go/29:/w/workspace/device-virtual-go/29:rw,z -v /w/workspace/device-virtual-go/29@tmp:/w/workspace/device-virtual-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:11:31 $ docker top d23e106ef773b7ad7e6af3222f6255a559dfc3eec4f742289c56e3a34c706a9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:11:31 + make test 02:11:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:11:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:12:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:12:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 02:12:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:12:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:13:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:13:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:13:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:13:17 $ docker stop --time=1 d23e106ef773b7ad7e6af3222f6255a559dfc3eec4f742289c56e3a34c706a9d 02:13:19 $ docker rm -f d23e106ef773b7ad7e6af3222f6255a559dfc3eec4f742289c56e3a34c706a9d [Pipeline] // withDockerContainer [Pipeline] sh 02:13:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:13:20 Warning: overwriting stash ‘coverage-report’ 02:13:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:13:21 + ls -al . 02:13:21 total 200 02:13:21 drwxrwxr-x 7 jenkins jenkins 4096 Apr 20 02:13 . 02:13:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 02:09 .. 02:13:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 02:09 .git 02:13:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:09 .github 02:13:21 -rw-rw-r-- 1 jenkins jenkins 270 Apr 20 02:09 .gitignore 02:13:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 02:09 .golangci.yml 02:13:21 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 20 02:09 Attribution.txt 02:13:21 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 20 02:09 CHANGELOG.md 02:13:21 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 20 02:09 Dockerfile 02:13:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 02:09 GOVERNANCE.md 02:13:21 -rw-rw-r-- 1 jenkins jenkins 660 Apr 20 02:09 Jenkinsfile 02:13:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 02:09 LICENSE 02:13:21 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 20 02:09 Makefile 02:13:21 -rw-rw-r-- 1 jenkins jenkins 623 Apr 20 02:09 OWNERS.md 02:13:21 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 20 02:09 README.md 02:13:21 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 02:05 VERSION 02:13:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 02:09 bin 02:13:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 02:09 cmd 02:13:21 -rw-r--r-- 1 jenkins jenkins 44128 Apr 20 02:12 coverage.out 02:13:21 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 20 02:09 go.mod 02:13:21 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 20 02:09 go.sum 02:13:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 02:09 internal 02:13:21 -rw-rw-r-- 1 jenkins jenkins 235 Apr 20 02:09 version.go [Pipeline] isUnix [Pipeline] sh 02:13:22 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=48207151525d36e6c5eb15a94183c6d9f8ae1ac7 --label arch=arm64 --label version=2.2.0-dev.13 . 02:13:22 Sending build context to Docker daemon 11.64MB 02:13:22 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:13:22 Step 2/26 : FROM ${BASE} AS builder 02:13:22 ---> 22b274fa0d8b 02:13:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:13:22 ---> Running in e26bc0793e27 02:13:22 Removing intermediate container e26bc0793e27 02:13:22 ---> 6186769e0cce 02:13:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:13:22 ---> Running in ffef142daf26 02:13:23 Removing intermediate container ffef142daf26 02:13:23 ---> 5c18ff9dae53 02:13:23 Step 5/26 : WORKDIR /device-virtual-go 02:13:23 ---> Running in ee8a0f1fec44 02:13:23 Removing intermediate container ee8a0f1fec44 02:13:23 ---> 607b953af41c 02:13:23 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:13:23 ---> Running in 5d9e183853ea 02:13:25 Removing intermediate container 5d9e183853ea 02:13:25 ---> a49926f0d183 02:13:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:13:25 ---> Running in cbf53eae0e22 02:13:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:13:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:13:28 OK: 224 MiB in 56 packages 02:13:28 Removing intermediate container cbf53eae0e22 02:13:28 ---> b945b11e59cf 02:13:28 Step 8/26 : COPY go.mod vendor* ./ 02:13:29 ---> cd6616092dcf 02:13:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:29 ---> Running in cc13dc85644c 02:13:31 Removing intermediate container cc13dc85644c 02:13:31 ---> 71faa46f415e 02:13:31 Step 10/26 : COPY . . 02:13:32 ---> 419d048554bf 02:13:32 Step 11/26 : ARG MAKE='make build' 02:13:32 ---> Running in af0fb5e4943e 02:13:32 Removing intermediate container af0fb5e4943e 02:13:32 ---> 3284d56b8de1 02:13:32 Step 12/26 : RUN $MAKE 02:13:32 ---> Running in bd5efdbfaebc 02:13:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 02:15:40 Removing intermediate container bd5efdbfaebc 02:15:40 ---> 41091e4e3ec2 02:15:40 Step 13/26 : FROM alpine:3.14 02:15:40 3.14: Pulling from library/alpine 02:15:40 455c02918c45: Pulling fs layer 02:15:40 455c02918c45: Download complete 02:15:40 455c02918c45: Pull complete 02:15:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:15:40 Status: Downloaded newer image for alpine:3.14 02:15:40 ---> ac73e934f311 02:15:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:15:40 ---> Running in 9f067fd824a3 02:15:40 Removing intermediate container 9f067fd824a3 02:15:40 ---> 4b320c363aee 02:15:40 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:15:40 ---> Running in 527a12653a98 02:15:40 Removing intermediate container 527a12653a98 02:15:40 ---> c6be65f5c98d 02:15:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:15:40 ---> Running in dff95f9a8ef4 02:15:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:15:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:15:40 (1/6) Installing dumb-init (1.2.5-r1) 02:15:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:15:40 (3/6) Installing libsodium (1.0.18-r0) 02:15:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:15:40 (5/6) Installing libzmq (4.3.4-r0) 02:15:40 (6/6) Installing zeromq (4.3.4-r0) 02:15:40 Executing busybox-1.33.1-r7.trigger 02:15:40 OK: 8 MiB in 20 packages 02:15:40 Removing intermediate container dff95f9a8ef4 02:15:40 ---> a0d0559f997a 02:15:40 Step 17/26 : WORKDIR / 02:15:40 ---> Running in 717132e1aa91 02:15:40 Removing intermediate container 717132e1aa91 02:15:40 ---> 5dfc6b67db6f 02:15:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:15:40 ---> 36720012e50f 02:15:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:15:40 ---> be4dca54c142 02:15:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:15:40 ---> fb284a6d321e 02:15:40 Step 21/26 : EXPOSE 59900 02:15:40 ---> Running in ab7e343cbe06 02:15:40 Removing intermediate container ab7e343cbe06 02:15:40 ---> c5953b9991ff 02:15:40 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:15:40 ---> Running in 5a884ec8f784 02:15:40 Removing intermediate container 5a884ec8f784 02:15:40 ---> 72cc21005d1a 02:15:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:15:40 ---> Running in dfc3eb18cab6 02:15:40 Removing intermediate container dfc3eb18cab6 02:15:40 ---> 2548205e6d6a 02:15:40 Step 24/26 : LABEL arch=arm64 02:15:40 ---> Running in 52e148710ae3 02:15:40 Removing intermediate container 52e148710ae3 02:15:40 ---> 799a8342037f 02:15:40 Step 25/26 : LABEL git_sha=48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:15:40 ---> Running in 541c8bf7d61e 02:15:40 Removing intermediate container 541c8bf7d61e 02:15:40 ---> d1371d4dc679 02:15:40 Step 26/26 : LABEL version=2.2.0-dev.13 02:15:40 ---> Running in 4b8f154aa9f3 02:15:40 Removing intermediate container 4b8f154aa9f3 02:15:40 ---> 05f40e137d50 02:15:40 [Warning] One or more build-args [ARCH] were not consumed 02:15:40 Successfully built 05f40e137d50 02:15:40 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:40 provisioning config files... 02:15:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/29@tmp/config2673712131921124624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:41 ---> docker-login.sh 02:15:41 nexus3.edgexfoundry.org:10001 02:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:41 Configure a credential helper to remove this warning. See 02:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:41 02:15:41 Login Succeeded 02:15:41 nexus3.edgexfoundry.org:10002 02:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:41 Configure a credential helper to remove this warning. See 02:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:41 02:15:41 Login Succeeded 02:15:41 nexus3.edgexfoundry.org:10003 02:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:42 Configure a credential helper to remove this warning. See 02:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:42 02:15:42 Login Succeeded 02:15:42 nexus3.edgexfoundry.org:10004 02:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:42 Configure a credential helper to remove this warning. See 02:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:42 02:15:42 Login Succeeded 02:15:42 docker.io 02:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:43 Configure a credential helper to remove this warning. See 02:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:43 02:15:43 Login Succeeded 02:15:43 ---> docker-login.sh ends [Pipeline] } 02:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:43 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:15:43 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:15:43 latest 02:15:43 2.2.0-dev.13 02:15:43 48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:15:43 main 02:15:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:15:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] isUnix [Pipeline] sh 02:15:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:15:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:15:44 11ed45348c75: Preparing 02:15:44 404791112949: Preparing 02:15:44 cd9ac8dae136: Preparing 02:15:44 c9d11e08967d: Preparing 02:15:44 746ab1eb305d: Preparing 02:15:44 f73e7dbfee58: Preparing 02:15:44 f73e7dbfee58: Waiting 02:15:44 404791112949: Pushed 02:15:44 746ab1eb305d: Pushed 02:15:44 cd9ac8dae136: Pushed 02:15:44 f73e7dbfee58: Layer already exists 02:15:45 c9d11e08967d: Pushed 02:15:50 11ed45348c75: Pushed 02:15:50 48207151525d36e6c5eb15a94183c6d9f8ae1ac7: digest: sha256:f7c98f830e1433ffa3440a369935ebefc7c56aaa4c2b3de05fa916e375b426f7 size: 1573 [Pipeline] isUnix [Pipeline] sh 02:15:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:15:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:15:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:15:51 11ed45348c75: Preparing 02:15:51 404791112949: Preparing 02:15:51 cd9ac8dae136: Preparing 02:15:51 c9d11e08967d: Preparing 02:15:51 746ab1eb305d: Preparing 02:15:51 f73e7dbfee58: Preparing 02:15:51 f73e7dbfee58: Waiting 02:15:51 cd9ac8dae136: Layer already exists 02:15:51 746ab1eb305d: Layer already exists 02:15:51 11ed45348c75: Layer already exists 02:15:51 c9d11e08967d: Layer already exists 02:15:51 404791112949: Layer already exists 02:15:51 f73e7dbfee58: Layer already exists 02:15:51 latest: digest: sha256:f7c98f830e1433ffa3440a369935ebefc7c56aaa4c2b3de05fa916e375b426f7 size: 1573 [Pipeline] isUnix [Pipeline] sh 02:15:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:15:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.13 02:15:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:15:52 11ed45348c75: Preparing 02:15:52 404791112949: Preparing 02:15:52 cd9ac8dae136: Preparing 02:15:52 c9d11e08967d: Preparing 02:15:52 746ab1eb305d: Preparing 02:15:52 f73e7dbfee58: Preparing 02:15:52 11ed45348c75: Layer already exists 02:15:52 c9d11e08967d: Layer already exists 02:15:52 cd9ac8dae136: Layer already exists 02:15:52 404791112949: Layer already exists 02:15:52 746ab1eb305d: Layer already exists 02:15:52 f73e7dbfee58: Layer already exists 02:15:52 2.2.0-dev.13: digest: sha256:f7c98f830e1433ffa3440a369935ebefc7c56aaa4c2b3de05fa916e375b426f7 size: 1573 [Pipeline] isUnix [Pipeline] sh 02:15:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:15:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:15:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:15:53 11ed45348c75: Preparing 02:15:53 404791112949: Preparing 02:15:53 cd9ac8dae136: Preparing 02:15:53 c9d11e08967d: Preparing 02:15:53 746ab1eb305d: Preparing 02:15:53 f73e7dbfee58: Preparing 02:15:53 f73e7dbfee58: Waiting 02:15:53 c9d11e08967d: Layer already exists 02:15:53 404791112949: Layer already exists 02:15:53 746ab1eb305d: Layer already exists 02:15:53 11ed45348c75: Layer already exists 02:15:53 cd9ac8dae136: Layer already exists 02:15:53 f73e7dbfee58: Layer already exists 02:15:53 48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13: digest: sha256:f7c98f830e1433ffa3440a369935ebefc7c56aaa4c2b3de05fa916e375b426f7 size: 1573 [Pipeline] isUnix [Pipeline] sh 02:15:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 02:15:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:15:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:15:53 11ed45348c75: Preparing 02:15:53 404791112949: Preparing 02:15:53 cd9ac8dae136: Preparing 02:15:53 c9d11e08967d: Preparing 02:15:53 746ab1eb305d: Preparing 02:15:53 f73e7dbfee58: Preparing 02:15:53 f73e7dbfee58: Waiting 02:15:53 cd9ac8dae136: Layer already exists 02:15:53 c9d11e08967d: Layer already exists 02:15:53 746ab1eb305d: Layer already exists 02:15:53 404791112949: Layer already exists 02:15:53 11ed45348c75: Layer already exists 02:15:53 f73e7dbfee58: Layer already exists 02:15:54 main: digest: sha256:f7c98f830e1433ffa3440a369935ebefc7c56aaa4c2b3de05fa916e375b426f7 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:54 ===================================================== [Pipeline] echo 02:15:54 taggedImages: 02:15:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7 02:15:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:15:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.13 02:15:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:48207151525d36e6c5eb15a94183c6d9f8ae1ac7-2.2.0-dev.13 02:15:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:15:54 02:15:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:15:55 arm64: Pulling from edgex-lftools-log-publisher 02:15:55 8998bd30e6a1: Pulling fs layer 02:15:55 04944245beec: Pulling fs layer 02:15:55 699f458cf7ca: Pulling fs layer 02:15:55 765212b225bb: Pulling fs layer 02:15:55 f23df028b6ca: Pulling fs layer 02:15:55 d65c8cfc05b1: Pulling fs layer 02:15:55 2437ff75d9bd: Pulling fs layer 02:15:55 765212b225bb: Waiting 02:15:55 f23df028b6ca: Waiting 02:15:55 2437ff75d9bd: Waiting 02:15:55 d65c8cfc05b1: Waiting 02:15:55 04944245beec: Verifying Checksum 02:15:55 04944245beec: Download complete 02:15:55 765212b225bb: Verifying Checksum 02:15:55 765212b225bb: Download complete 02:15:55 f23df028b6ca: Verifying Checksum 02:15:55 f23df028b6ca: Download complete 02:15:55 d65c8cfc05b1: Verifying Checksum 02:15:55 d65c8cfc05b1: Download complete 02:15:55 699f458cf7ca: Verifying Checksum 02:15:55 699f458cf7ca: Download complete 02:15:55 8998bd30e6a1: Verifying Checksum 02:15:55 8998bd30e6a1: Download complete 02:15:58 2437ff75d9bd: Verifying Checksum 02:15:58 2437ff75d9bd: Download complete 02:16:00 8998bd30e6a1: Pull complete 02:16:00 04944245beec: Pull complete 02:16:02 699f458cf7ca: Pull complete 02:16:02 765212b225bb: Pull complete 02:16:03 f23df028b6ca: Pull complete 02:16:03 d65c8cfc05b1: Pull complete 02:16:18 2437ff75d9bd: Pull complete 02:16:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:16:18 prd-ubuntu20.04-docker-arm64-4c-16g-21439 does not seem to be running inside a container 02:16:18 $ 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/29 -v /w/workspace/device-virtual-go/29:/w/workspace/device-virtual-go/29:rw,z -v /w/workspace/device-virtual-go/29@tmp:/w/workspace/device-virtual-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:16:21 $ docker top c8c3ae4e3ca607e57e565feb6838fcc322db10f076093d66e3fddc29f8d0d3e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:22 ---> job-cost.sh 02:16:22 lf-activate-venv: SKIPPING 02:16:22 INFO: No Stack... 02:16:22 INFO: Retrieving Pricing Info for: v3-standard-4 02:16:23 INFO: Archiving Costs [Pipeline] sh 02:16:24 + cut -d, -f6 02:16:24 + cat /w/workspace/device-virtual-go/29/archives/cost.csv [Pipeline] lock 02:16:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] 02:16:24 Resource [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] did not exist. Created. 02:16:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:16:24 /w/workspace/device-virtual-go/29@tmp/durable-6654be83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:16:25 + echo total: 0.10999999940395355 [Pipeline] stash 02:16:25 Warning: overwriting stash ‘stack-cost’ 02:16:25 Stashed 1 file(s) [Pipeline] } 02:16:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 02:16:25 $ docker stop --time=1 c8c3ae4e3ca607e57e565feb6838fcc322db10f076093d66e3fddc29f8d0d3e5 02:16:27 $ docker rm -f c8c3ae4e3ca607e57e565feb6838fcc322db10f076093d66e3fddc29f8d0d3e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:16:27 provisioning config files... 02:16:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7096688652878796366tmp [Pipeline] { [Pipeline] sh 02:16:28 + set +x 02:16:28 + curl -s https://codecov.io/bash 02:16:28 + bash -s -- 02:16:28 02:16:28 _____ _ 02:16:28 / ____| | | 02:16:28 | | ___ __| | ___ ___ _____ __ 02:16:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:16:28 | |___| (_) | (_| | __/ (_| (_) \ V / 02:16:28 \_____\___/ \__,_|\___|\___\___/ \_/ 02:16:28 Bash-1.0.6 02:16:28 02:16:28 02:16:28 ==> git version 2.25.1 found 02:16:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:16:28 Release-Date: 2020-01-08 02:16:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:16:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:16:28 ==> Jenkins CI detected. 02:16:28 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:16:28 project root: . 02:16:28 --> token set from env 02:16:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:16:28 ==> Running gcov in . (disable via -X gcov) 02:16:28 ==> Python coveragepy not found 02:16:28 ==> Searching for coverage reports in: 02:16:28 + . 02:16:28 -> Found 1 reports 02:16:28 ==> Detecting git/mercurial file structure 02:16:28 ==> Reading reports 02:16:28 + ./coverage.out bytes=44128 02:16:28 ==> Appending adjustments 02:16:28 https://docs.codecov.io/docs/fixing-reports 02:16:28 + Found adjustments 02:16:28 ==> Gzipping contents 02:16:28 8.0K /tmp/codecov.m8DAcn.gz 02:16:28 ==> Uploading reports 02:16:28 url: https://codecov.io 02:16:28 query: branch=main&commit=48207151525d36e6c5eb15a94183c6d9f8ae1ac7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:16:28 -> Pinging Codecov 02:16:28 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=48207151525d36e6c5eb15a94183c6d9f8ae1ac7&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:16:28 -> Uploading to 02:16:28 https://storage.googleapis.com/codecov/v4/raw/2022-04-20/5E52B4B073DB2E39498172D8E973AA87/48207151525d36e6c5eb15a94183c6d9f8ae1ac7/8066998e-f557-4415-a0fd-2006c50647cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220420T021628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d229d83a127bd99bae4e852b7b4822268b18852e0c47f1d0085be8b9790e3bc0 02:16:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:16:28 Dload Upload Total Spent Left Speed 02:16:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5293 0 0 100 5293 0 21962 --:--:-- --:--:-- --:--:-- 21962 02:16:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] } 02:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:16:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:16:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:16:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:16:29 02:16:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:16:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:16:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:16:29 188c0c94c7c5: Pulling fs layer 02:16:29 0ef7d3d256c8: Pulling fs layer 02:16:29 de9db76c5a1d: Pulling fs layer 02:16:29 0eba1c9be4d2: Pulling fs layer 02:16:29 0d57e429df01: Pulling fs layer 02:16:29 4e4be7b47b0d: Pulling fs layer 02:16:29 e1f770b5df2f: Pulling fs layer 02:16:29 85a0685a4137: Pulling fs layer 02:16:29 0eba1c9be4d2: Waiting 02:16:29 85a0685a4137: Waiting 02:16:29 0d57e429df01: Waiting 02:16:29 4e4be7b47b0d: Waiting 02:16:29 e1f770b5df2f: Waiting 02:16:29 de9db76c5a1d: Verifying Checksum 02:16:29 de9db76c5a1d: Download complete 02:16:29 0ef7d3d256c8: Verifying Checksum 02:16:29 0ef7d3d256c8: Download complete 02:16:29 0d57e429df01: Verifying Checksum 02:16:29 0d57e429df01: Download complete 02:16:29 4e4be7b47b0d: Download complete 02:16:29 188c0c94c7c5: Verifying Checksum 02:16:29 188c0c94c7c5: Download complete 02:16:30 188c0c94c7c5: Pull complete 02:16:30 e1f770b5df2f: Verifying Checksum 02:16:30 e1f770b5df2f: Download complete 02:16:30 0ef7d3d256c8: Pull complete 02:16:30 de9db76c5a1d: Pull complete 02:16:30 0eba1c9be4d2: Download complete 02:16:30 85a0685a4137: Verifying Checksum 02:16:30 85a0685a4137: Download complete 02:16:34 0eba1c9be4d2: Pull complete 02:16:34 0d57e429df01: Pull complete 02:16:34 4e4be7b47b0d: Pull complete 02:16:34 e1f770b5df2f: Pull complete 02:16:37 85a0685a4137: Pull complete 02:16:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:16:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:16:37 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:16:37 $ 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 02:16:40 $ docker top b0fac5681ee6e65b335a2635d248a3b284c70a23d7ea1519d7ee25b39ed51619 -eo pid,comm [Pipeline] { [Pipeline] echo 02:16:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:16:40 + set -o pipefail 02:16:40 + snyk monitor '--org=edgex-jenkins' 02:16:45 02:16:45 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:16:45 02:16:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/0d57a2cd-75f9-4793-aa01-a12c7efa0270 02:16:45 02:16:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:16:45 02:16:45 [Pipeline] } 02:16:45 $ docker stop --time=1 b0fac5681ee6e65b335a2635d248a3b284c70a23d7ea1519d7ee25b39ed51619 02:16:48 $ docker rm -f b0fac5681ee6e65b335a2635d248a3b284c70a23d7ea1519d7ee25b39ed51619 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:16:49 + git log --format=format:%s -1 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 [Pipeline] sh 02:16:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:16:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:16:49 . [Pipeline] withDockerContainer 02:16:49 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:16:49 $ 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 02:16:50 $ docker top 47c7a2b49bc33a1a8db65503f5259e2de291dcc358dff1686391d136eb4c4e08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:16:50 [ssh-agent] Looking for ssh-agent implementation... 02:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:16:50 $ docker exec 47c7a2b49bc33a1a8db65503f5259e2de291dcc358dff1686391d136eb4c4e08 ssh-agent 02:16:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGJHBHe/agent.13 02:16:50 SSH_AGENT_PID=19 02:16:50 Running ssh-add (command line suppressed) 02:16:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6508111619425527750.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6508111619425527750.key) 02:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:16:51 + git semver tag 02:16:51 # -> Open(): unable to determine branch for HEAD 02:16:51 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:16:51 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:16:51 # $SEMVER_REMOTE_NAME = origin 02:16:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:16:51 # $SEMVER_USER_NAME = edgex-jenkins 02:16:51 # $SEMVER_BRANCH = main 02:16:51 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:16:51 # 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 HEAD 02:16:51 # -> Force: false 02:16:51 # e019efc5e10e8c928fe73e570c4339e8bee2f3d5 refs/tags/v2.2.0-dev.13 [Pipeline] } 02:16:51 $ docker exec --env ******** --env ******** 47c7a2b49bc33a1a8db65503f5259e2de291dcc358dff1686391d136eb4c4e08 ssh-agent -k 02:16:51 unset SSH_AUTH_SOCK; 02:16:51 unset SSH_AGENT_PID; 02:16:51 echo Agent pid 19 killed; 02:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:16:51 + git semver [Pipeline] } 02:16:51 $ docker stop --time=1 47c7a2b49bc33a1a8db65503f5259e2de291dcc358dff1686391d136eb4c4e08 02:16:53 $ docker rm -f 47c7a2b49bc33a1a8db65503f5259e2de291dcc358dff1686391d136eb4c4e08 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:16:53 02:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:16:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:16:53 0.23.1-centos7: Pulling from edgex-lftools 02:16:53 ab5ef0e58194: Pulling fs layer 02:16:53 9712f1f96733: Pulling fs layer 02:16:53 63f879dbbcfc: Pulling fs layer 02:16:53 0d9ebad4ef96: Pulling fs layer 02:16:53 e9a5061849ea: Pulling fs layer 02:16:53 d747dcd14b5f: Pulling fs layer 02:16:53 2de7ff778b66: Pulling fs layer 02:16:53 e9a5061849ea: Waiting 02:16:53 2de7ff778b66: Waiting 02:16:53 0d9ebad4ef96: Waiting 02:16:53 9712f1f96733: Verifying Checksum 02:16:53 9712f1f96733: Download complete 02:16:54 63f879dbbcfc: Verifying Checksum 02:16:54 63f879dbbcfc: Download complete 02:16:54 e9a5061849ea: Verifying Checksum 02:16:54 e9a5061849ea: Download complete 02:16:54 0d9ebad4ef96: Verifying Checksum 02:16:54 0d9ebad4ef96: Download complete 02:16:54 d747dcd14b5f: Verifying Checksum 02:16:54 d747dcd14b5f: Download complete 02:16:54 ab5ef0e58194: Verifying Checksum 02:16:54 ab5ef0e58194: Download complete 02:16:54 2de7ff778b66: Verifying Checksum 02:16:54 2de7ff778b66: Download complete 02:16:57 ab5ef0e58194: Pull complete 02:16:57 9712f1f96733: Pull complete 02:16:57 63f879dbbcfc: Pull complete 02:17:01 0d9ebad4ef96: Pull complete 02:17:01 e9a5061849ea: Pull complete 02:17:01 d747dcd14b5f: Pull complete 02:17:02 2de7ff778b66: Pull complete 02:17:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:17:02 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:17:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:17:05 $ docker top 413bc66008e3eb2b4693e12eae95acc3a47afe7c13ebaa4048441ba688dd9e5d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:17:05 provisioning config files... 02:17:05 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8081333381608870925tmp 02:17:05 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config413451929294320551tmp 02:17:05 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8920024346679489672tmp [Pipeline] { [Pipeline] echo 02:17:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:17:05 ---> sigul-configuration.sh 02:17:05 gpg: directory `/root/.gnupg' created 02:17:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:17:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:17:05 gpg: keyring `/root/.gnupg/secring.gpg' created 02:17:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:17:05 gpg: CAST5 encrypted data 02:17:05 gpg: encrypted with 1 passphrase 02:17:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:17:05 + mkdir /home/jenkins 02:17:05 + mkdir /home/jenkins/sigul [Pipeline] sh 02:17:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:17:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:17:06 ---> sigul-install.sh 02:17:06 Sigul already installed; skipping installation. [Pipeline] sh 02:17:06 + git tag --list 02:17:06 v1.0.0 02:17:06 v1.1.0 02:17:06 v1.1.1 02:17:06 v1.2.1 02:17:06 v1.2.2 02:17:06 v1.2.3 02:17:06 v1.3.0 02:17:06 v1.3.1 02:17:06 v2.0.0 02:17:06 v2.0.1-dev.1 02:17:06 v2.0.1-dev.10 02:17:06 v2.0.1-dev.11 02:17:06 v2.0.1-dev.12 02:17:06 v2.0.1-dev.13 02:17:06 v2.0.1-dev.14 02:17:06 v2.0.1-dev.15 02:17:06 v2.0.1-dev.2 02:17:06 v2.0.1-dev.3 02:17:06 v2.0.1-dev.4 02:17:06 v2.0.1-dev.5 02:17:06 v2.0.1-dev.6 02:17:06 v2.0.1-dev.7 02:17:06 v2.0.1-dev.8 02:17:06 v2.0.1-dev.9 02:17:06 v2.1.0 02:17:06 v2.2.0-dev.1 02:17:06 v2.2.0-dev.10 02:17:06 v2.2.0-dev.11 02:17:06 v2.2.0-dev.12 02:17:06 v2.2.0-dev.13 02:17:06 v2.2.0-dev.2 02:17:06 v2.2.0-dev.3 02:17:06 v2.2.0-dev.4 02:17:06 v2.2.0-dev.5 02:17:06 v2.2.0-dev.6 02:17:06 v2.2.0-dev.7 02:17:06 v2.2.0-dev.8 02:17:06 v2.2.0-dev.9 [Pipeline] sh 02:17:07 + lftools sign git-tag v2.2.0-dev.13 02:17:07 Signing Git tag with Sigul... 02:17:07 Signing v2.2.0-dev.13 [Pipeline] echo 02:17:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:17:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:17:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:17:08 $ docker stop --time=1 413bc66008e3eb2b4693e12eae95acc3a47afe7c13ebaa4048441ba688dd9e5d 02:17:09 $ docker rm -f 413bc66008e3eb2b4693e12eae95acc3a47afe7c13ebaa4048441ba688dd9e5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:17:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:17:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:17:10 . [Pipeline] withDockerContainer 02:17:10 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:17:10 $ 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 02:17:10 $ docker top 6bb276d741c26acdf0739de80e96d941c91d7fb9ea70bb5f922b1d81058750b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:17:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:10 [ssh-agent] Looking for ssh-agent implementation... 02:17:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:10 $ docker exec 6bb276d741c26acdf0739de80e96d941c91d7fb9ea70bb5f922b1d81058750b4 ssh-agent 02:17:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCpIpJ/agent.14 02:17:11 SSH_AGENT_PID=20 02:17:11 Running ssh-add (command line suppressed) 02:17:11 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5803302554359738076.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5803302554359738076.key) 02:17:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:11 + git semver bump pre 02:17:11 # -> Open(): unable to determine branch for HEAD 02:17:11 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:17:11 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:17:11 # $SEMVER_REMOTE_NAME = origin 02:17:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:17:11 # $SEMVER_USER_NAME = edgex-jenkins 02:17:11 # $SEMVER_BRANCH = main 02:17:11 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:17:11 2.2.0-dev.14 [Pipeline] } 02:17:11 $ docker exec --env ******** --env ******** 6bb276d741c26acdf0739de80e96d941c91d7fb9ea70bb5f922b1d81058750b4 ssh-agent -k 02:17:11 unset SSH_AUTH_SOCK; 02:17:11 unset SSH_AGENT_PID; 02:17:11 echo Agent pid 20 killed; 02:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:17:11 + git semver [Pipeline] } 02:17:12 $ docker stop --time=1 6bb276d741c26acdf0739de80e96d941c91d7fb9ea70bb5f922b1d81058750b4 02:17:13 $ docker rm -f 6bb276d741c26acdf0739de80e96d941c91d7fb9ea70bb5f922b1d81058750b4 [Pipeline] // withDockerContainer [Pipeline] sh 02:17:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:17:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:17:13 . [Pipeline] withDockerContainer 02:17:13 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:17:14 $ 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 02:17:14 $ docker top c0c5ca771953409c96c5372408ff4c66447225fed29e5698d590c15815186ae2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:17:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:14 [ssh-agent] Looking for ssh-agent implementation... 02:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:14 $ docker exec c0c5ca771953409c96c5372408ff4c66447225fed29e5698d590c15815186ae2 ssh-agent 02:17:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJpOoLG/agent.13 02:17:14 SSH_AGENT_PID=19 02:17:14 Running ssh-add (command line suppressed) 02:17:14 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8955845114004542729.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8955845114004542729.key) 02:17:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:15 + git semver push 02:17:15 # -> Open(): unable to determine branch for HEAD 02:17:15 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:17:15 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:17:15 # $SEMVER_REMOTE_NAME = origin 02:17:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:17:15 # $SEMVER_USER_NAME = edgex-jenkins 02:17:15 # $SEMVER_BRANCH = main 02:17:15 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 02:17:17 $ docker exec --env ******** --env ******** c0c5ca771953409c96c5372408ff4c66447225fed29e5698d590c15815186ae2 ssh-agent -k 02:17:17 unset SSH_AUTH_SOCK; 02:17:17 unset SSH_AGENT_PID; 02:17:17 echo Agent pid 19 killed; 02:17:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:17:17 + git semver [Pipeline] } 02:17:17 $ docker stop --time=1 c0c5ca771953409c96c5372408ff4c66447225fed29e5698d590c15815186ae2 02:17:18 $ docker rm -f c0c5ca771953409c96c5372408ff4c66447225fed29e5698d590c15815186ae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:17:19 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:17:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:17:19 total 16 02:17:19 drwxr-xr-x 3 root root 4096 Apr 20 02:07 . 02:17:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 02:17 .. 02:17:19 drwxr-xr-x 2 root root 4096 Apr 20 02:07 cost 02:17:19 -rw-r--r-- 1 root root 87 Apr 20 02:07 cost.csv 02:17:19 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:17:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:17:19 total 16 02:17:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 02:07 . 02:17:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 02:17 .. 02:17:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 02:07 cost 02:17:19 -rw-r--r-- 1 jenkins jenkins 87 Apr 20 02:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:17:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:17:20 ---> package-listing.sh 02:17:20 ++ facter osfamily 02:17:20 ++ tr '[:upper:]' '[:lower:]' 02:17:21 + OS_FAMILY=debian 02:17:21 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:17:21 + START_PACKAGES=/tmp/packages_start.txt 02:17:21 + END_PACKAGES=/tmp/packages_end.txt 02:17:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:17:21 + PACKAGES=/tmp/packages_start.txt 02:17:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:17:21 + PACKAGES=/tmp/packages_end.txt 02:17:21 + case "${OS_FAMILY}" in 02:17:21 + dpkg -l 02:17:21 + grep '^ii' 02:17:21 + '[' -f /tmp/packages_start.txt ']' 02:17:21 + '[' -f /tmp/packages_end.txt ']' 02:17:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:17:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:17:21 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:17:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:17:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:17:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:21 . [Pipeline] withDockerContainer 02:17:21 prd-ubuntu20.04-docker-8c-8g-21438 does not seem to be running inside a container 02:17:21 $ 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 02:17:22 $ docker top 1b9547e53cc37dd22b554cedfb9380ba1cf99930ddca11c101921fa03c813434 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:22 + touch /tmp/pre-build-complete [Pipeline] sh 02:17:22 + mkdir -p /var/log/sysstat [Pipeline] sh 02:17:23 + ls /var/log/sa-host 02:17:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:23 provisioning config files... 02:17:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1358353329226788252tmp [Pipeline] { [Pipeline] echo 02:17:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:17:23 ---> create-netrc.sh [Pipeline] } 02:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:17:24 ---> python-tools-install.sh [Pipeline] echo 02:17:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:17:24 ---> sudo-logs.sh 02:17:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:17:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:17:24 ---> job-cost.sh 02:17:24 lf-activate-venv: SKIPPING 02:17:24 DEBUG: total: 0.2199999988079071 02:17:24 INFO: Retrieving Stack Cost... 02:17:25 INFO: Retrieving Pricing Info for: v3-standard-8 02:17:25 INFO: Archiving Costs [Pipeline] echo 02:17:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:17:25 ---> logs-deploy.sh 02:17:25 lf-activate-venv: SKIPPING 02:17:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/29 02:17:25 INFO: archiving workspace using pattern(s): 02:17:26 Archives upload complete. 02:17:26 INFO: archiving logs to Nexus