Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 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-ssh5608811551661567434.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-ssh16165790747653363002.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-ssh18386296589124029019.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-ssh3039116168587270837.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-ssh954250542695711312.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 ‘prd-ubuntu20.04-docker-8c-8g-21221’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21223 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca (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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 Commit message: "Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28" > git rev-list --no-walk bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:17:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:17:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:17:10 ========================================================= 11:17:10 EdgeX Global Pipelines Version Info 11:17:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:17:11 ------------------- 11:17:11 stable info: 11:17:11 ------------------- 11:17:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:17:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:17:11 Message: update stable to v1.0.221 11:17:11 ------------------- 11:17:11 experimental info: 11:17:11 ------------------- 11:17:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:17:11 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 11:17:11 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:17:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55fbfbc [Pipeline] echo 11:17:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:12 provisioning config files... 11:17:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4713121139174210144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:12 ---> docker-login.sh 11:17:12 nexus3.edgexfoundry.org:10001 11:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:12 Configure a credential helper to remove this warning. See 11:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:12 11:17:12 Login Succeeded 11:17:12 nexus3.edgexfoundry.org:10002 11:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:13 Configure a credential helper to remove this warning. See 11:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:13 11:17:13 Login Succeeded 11:17:13 nexus3.edgexfoundry.org:10003 11:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:13 Configure a credential helper to remove this warning. See 11:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:13 11:17:13 Login Succeeded 11:17:13 nexus3.edgexfoundry.org:10004 11:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:13 Configure a credential helper to remove this warning. See 11:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:13 11:17:13 Login Succeeded 11:17:13 docker.io 11:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:13 Configure a credential helper to remove this warning. See 11:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:13 11:17:13 Login Succeeded 11:17:13 ---> docker-login.sh ends [Pipeline] } 11:17:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:17:14 + git rev-list -1 --merges 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca~1..55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo 11:17:14 -----------> git rev-list -1 --merges 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca~1..55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:17:14 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [false] [Pipeline] sh 11:17:14 + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo 11:17:14 ========================================================= 11:17:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:17:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:14 + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo 11:17:14 [semverPrep] GIT_COMMIT: 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca, Commit Message: Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28 [Pipeline] echo 11:17:14 [semverPrep] This is not a build commit. [Pipeline] sh 11:17:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:15 + grep -v github /etc/ssh/ssh_known_hosts 11:17:15 + [ -e /tmp/ssh_known_hosts ] 11:17:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:17:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:17:15 + sudo tee -a /etc/ssh/ssh_known_hosts 11:17:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:15 11:17:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:17:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:15 latest: Pulling from edgex-devops/git-semver 11:17:15 a0d0a0d46f8b: Pulling fs layer 11:17:15 3e5f54012d9b: Pulling fs layer 11:17:15 4c7163046ea9: Pulling fs layer 11:17:15 0c2d73faf560: Pulling fs layer 11:17:15 0c2d73faf560: Waiting 11:17:15 3e5f54012d9b: Verifying Checksum 11:17:15 3e5f54012d9b: Download complete 11:17:15 a0d0a0d46f8b: Download complete 11:17:15 0c2d73faf560: Verifying Checksum 11:17:15 0c2d73faf560: Download complete 11:17:15 4c7163046ea9: Verifying Checksum 11:17:15 4c7163046ea9: Download complete 11:17:16 a0d0a0d46f8b: Pull complete 11:17:16 3e5f54012d9b: Pull complete 11:17:16 4c7163046ea9: Pull complete 11:17:16 0c2d73faf560: Pull complete 11:17:16 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:17:16 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:17:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:17:17 $ docker top 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:17 [ssh-agent] Looking for ssh-agent implementation... 11:17:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:17 $ docker exec 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent 11:17:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaNKIFD/agent.14 11:17:17 SSH_AGENT_PID=20 11:17:17 Running ssh-add (command line suppressed) 11:17:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2013857348320537922.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2013857348320537922.key) 11:17:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:18 + git tag --points-at HEAD [Pipeline] } 11:17:18 $ docker exec --env ******** --env ******** 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent -k 11:17:18 unset SSH_AUTH_SOCK; 11:17:18 unset SSH_AGENT_PID; 11:17:18 echo Agent pid 20 killed; 11:17:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:17:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:18 [ssh-agent] Looking for ssh-agent implementation... 11:17:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:18 $ docker exec 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent 11:17:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMIpNHa/agent.52 11:17:18 SSH_AGENT_PID=58 11:17:18 Running ssh-add (command line suppressed) 11:17:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7559220059851964893.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7559220059851964893.key) 11:17:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:19 + git semver init 11:17:19 # -> Open(): unable to determine branch for HEAD 11:17:19 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 11:17:19 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 11:17:19 # $SEMVER_REMOTE_NAME = origin 11:17:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:17:19 # $SEMVER_USER_NAME = edgex-jenkins 11:17:19 # $SEMVER_BRANCH = main 11:17:19 # $SEMVER_TEMP = /tmp/semver-743714047 11:17:19 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:17:20 # '/tmp/semver-743714047' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 11:17:20 # -> Force: false 11:17:20 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 11:17:20 $ docker exec --env ******** --env ******** 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent -k 11:17:20 unset SSH_AUTH_SOCK; 11:17:20 unset SSH_AGENT_PID; 11:17:20 echo Agent pid 58 killed; 11:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:17:21 + git semver [Pipeline] } 11:17:21 $ docker stop --time=1 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 11:17:22 $ docker rm -f 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 [Pipeline] // withDockerContainer [Pipeline] sh 11:17:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:17:23 Stashed 1 file(s) [Pipeline] echo 11:17:23 [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [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 11:17:23 provisioning config files... 11:17:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8002579051824978348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:23 ---> docker-login.sh 11:17:23 nexus3.edgexfoundry.org:10001 11:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:23 Configure a credential helper to remove this warning. See 11:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:23 11:17:23 Login Succeeded 11:17:23 nexus3.edgexfoundry.org:10002 11:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:23 Configure a credential helper to remove this warning. See 11:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:23 11:17:23 Login Succeeded 11:17:23 nexus3.edgexfoundry.org:10003 11:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:23 Configure a credential helper to remove this warning. See 11:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:23 11:17:23 Login Succeeded 11:17:23 nexus3.edgexfoundry.org:10004 11:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:24 Configure a credential helper to remove this warning. See 11:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:24 11:17:24 Login Succeeded 11:17:24 docker.io 11:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:24 Configure a credential helper to remove this warning. See 11:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:24 11:17:24 Login Succeeded 11:17:24 ---> docker-login.sh ends [Pipeline] } 11:17:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:17:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:17:24 ========================================================= 11:17:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:17:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:17:25 + 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 . 11:17:25 Sending build context to Docker daemon 22.91MB 11:17:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:17:25 Step 2/12 : FROM ${BASE} AS builder 11:17:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:17:25 59bf1c3509f3: Pulling fs layer 11:17:25 666ba61612fd: Pulling fs layer 11:17:25 8ed8ca486205: Pulling fs layer 11:17:25 4fe6c5a15a65: Pulling fs layer 11:17:25 22a0e8bec74d: Pulling fs layer 11:17:25 640e595b4fbd: Pulling fs layer 11:17:25 763cafe07f6e: Pulling fs layer 11:17:25 0c0b528cf693: Pulling fs layer 11:17:25 10935f4eaf8b: Pulling fs layer 11:17:25 4fe6c5a15a65: Waiting 11:17:25 763cafe07f6e: Waiting 11:17:25 640e595b4fbd: Waiting 11:17:25 22a0e8bec74d: Waiting 11:17:25 0c0b528cf693: Waiting 11:17:25 10935f4eaf8b: Waiting 11:17:25 8ed8ca486205: Verifying Checksum 11:17:25 8ed8ca486205: Download complete 11:17:25 666ba61612fd: Verifying Checksum 11:17:25 666ba61612fd: Download complete 11:17:25 22a0e8bec74d: Verifying Checksum 11:17:25 22a0e8bec74d: Download complete 11:17:25 640e595b4fbd: Verifying Checksum 11:17:25 640e595b4fbd: Download complete 11:17:25 59bf1c3509f3: Verifying Checksum 11:17:25 59bf1c3509f3: Download complete 11:17:25 763cafe07f6e: Download complete 11:17:25 0c0b528cf693: Verifying Checksum 11:17:25 0c0b528cf693: Download complete 11:17:25 59bf1c3509f3: Pull complete 11:17:25 666ba61612fd: Pull complete 11:17:25 8ed8ca486205: Pull complete 11:17:25 10935f4eaf8b: Verifying Checksum 11:17:25 10935f4eaf8b: Download complete 11:17:26 4fe6c5a15a65: Download complete 11:17:30 4fe6c5a15a65: Pull complete 11:17:30 22a0e8bec74d: Pull complete 11:17:30 640e595b4fbd: Pull complete 11:17:30 763cafe07f6e: Pull complete 11:17:30 0c0b528cf693: Pull complete 11:17:33 10935f4eaf8b: Pull complete 11:17:33 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:17:33 ---> 99d49a6021b9 11:17:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:17:34 ---> Running in 9f22e6283b7e 11:17:34 Removing intermediate container 9f22e6283b7e 11:17:34 ---> 59bc31aa207d 11:17:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:17:34 ---> Running in 6c368d6334f4 11:17:34 Removing intermediate container 6c368d6334f4 11:17:34 ---> 1b11f20a0b00 11:17:34 Step 5/12 : WORKDIR /device-virtual-go 11:17:34 ---> Running in 3d6485c3d074 11:17:34 Removing intermediate container 3d6485c3d074 11:17:34 ---> 798e406a4813 11:17:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:17:34 ---> Running in 604352339fc6 11:17:35 Removing intermediate container 604352339fc6 11:17:35 ---> 5b944cd57398 11:17:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:17:35 ---> Running in cfcaab460a0c 11:17:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:17:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:17:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:17:36 (2/4) Installing libedit (20210910.3.1-r0) 11:17:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:17:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:17:36 Executing busybox-1.34.1-r3.trigger 11:17:36 OK: 224 MiB in 56 packages 11:17:37 Removing intermediate container cfcaab460a0c 11:17:37 ---> 04c9827dcdcc 11:17:37 Step 8/12 : COPY go.mod vendor* ./ 11:17:37 ---> 0fac3911e9b1 11:17:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:17:37 ---> Running in 24a0e8f943c8 11:17:38 Still waiting to schedule task 11:17:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21222’ is offline 11:17:52 Removing intermediate container 24a0e8f943c8 11:17:52 ---> a671965e904a 11:17:52 Step 10/12 : COPY . . 11:17:52 ---> 46e94748ad62 11:17:52 Step 11/12 : ARG MAKE='make build' 11:17:52 ---> Running in 5dbdaee35476 11:17:52 Removing intermediate container 5dbdaee35476 11:17:52 ---> ccaf77b51585 11:17:52 Step 12/12 : RUN $MAKE 11:17:52 ---> Running in 1a7a08105ec1 11:17:52 noop 11:17:52 Removing intermediate container 1a7a08105ec1 11:17:52 ---> 08700dc5dd8e 11:17:52 Successfully built 08700dc5dd8e 11:17:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:17:52 + docker inspect -f . ci-base-image-x86_64 11:17:52 . [Pipeline] withDockerContainer 11:17:52 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:17:53 $ docker top 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:53 + go version 11:17:53 go version go1.17.6 linux/amd64 [Pipeline] } 11:17:53 $ docker stop --time=1 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 11:17:55 $ docker rm -f 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:56 + docker inspect -f . ci-base-image-x86_64 11:17:56 . [Pipeline] withDockerContainer 11:17:56 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:17:56 $ docker top 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:17:56 + make test 11:17:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:17:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:18:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:18:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 11:18:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:18:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:18:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:18:15 ./bin/test-attribution-txt.sh [Pipeline] echo 11:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:18:15 $ docker stop --time=1 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 11:18:17 $ docker rm -f 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 [Pipeline] // withDockerContainer [Pipeline] sh 11:18:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:18:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:18:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:18:19 + ls -al . 11:18:19 total 204 11:18:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:18 . 11:18:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:17 .. 11:18:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:17 .git 11:18:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:17 .github 11:18:19 -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:17 .gitignore 11:18:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:17 .golangci.yml 11:18:19 drwx------ 3 jenkins jenkins 4096 Apr 18 11:17 .semver 11:18:19 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:17 Attribution.txt 11:18:19 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:17 CHANGELOG.md 11:18:19 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:17 Dockerfile 11:18:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:17 GOVERNANCE.md 11:18:19 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:17 Jenkinsfile 11:18:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:17 LICENSE 11:18:19 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:17 Makefile 11:18:19 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:17 OWNERS.md 11:18:19 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:17 README.md 11:18:19 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:17 VERSION 11:18:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:17 bin 11:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:17 cmd 11:18:19 -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:18 coverage.out 11:18:19 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:17 go.mod 11:18:19 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:17 go.sum 11:18:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:17 internal 11:18:19 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:17 version.go [Pipeline] isUnix [Pipeline] sh 11:18:19 + 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca --label arch=amd64 --label version=2.2.0-dev.12 . 11:18:19 Sending build context to Docker daemon 22.96MB 11:18:19 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:18:19 Step 2/26 : FROM ${BASE} AS builder 11:18:19 ---> 08700dc5dd8e 11:18:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:18:19 ---> Running in e90fcb250ad9 11:18:19 Removing intermediate container e90fcb250ad9 11:18:19 ---> 7ad10ea3f903 11:18:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:18:19 ---> Running in fbaa91022dcb 11:18:20 Removing intermediate container fbaa91022dcb 11:18:20 ---> 1bab1bf12289 11:18:20 Step 5/26 : WORKDIR /device-virtual-go 11:18:20 ---> Running in c0b7f1569cde 11:18:20 Removing intermediate container c0b7f1569cde 11:18:20 ---> 01194e9ad3f6 11:18:20 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:18:20 ---> Running in dc6be4bc9855 11:18:20 Removing intermediate container dc6be4bc9855 11:18:20 ---> b39d831628a1 11:18:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:18:20 ---> Running in f4c39978ef94 11:18:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:18:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:18:22 OK: 224 MiB in 56 packages 11:18:22 Removing intermediate container f4c39978ef94 11:18:22 ---> 84c9a219b8e3 11:18:22 Step 8/26 : COPY go.mod vendor* ./ 11:18:22 ---> 4d72b9947bbe 11:18:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:18:22 ---> Running in b149589c627b 11:18:23 Removing intermediate container b149589c627b 11:18:23 ---> 7df62ade1cad 11:18:23 Step 10/26 : COPY . . 11:18:24 ---> 186d61996d76 11:18:24 Step 11/26 : ARG MAKE='make build' 11:18:24 ---> Running in 327e9b499064 11:18:24 Removing intermediate container 327e9b499064 11:18:24 ---> 5f50f4298a71 11:18:24 Step 12/26 : RUN $MAKE 11:18:24 ---> Running in 861cb90a668f 11:18:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:18:46 Removing intermediate container 861cb90a668f 11:18:46 ---> 56f07615e406 11:18:46 Step 13/26 : FROM alpine:3.14 11:18:46 3.14: Pulling from library/alpine 11:18:46 8663204ce13b: Pulling fs layer 11:18:46 8663204ce13b: Verifying Checksum 11:18:46 8663204ce13b: Download complete 11:18:46 8663204ce13b: Pull complete 11:18:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:18:46 Status: Downloaded newer image for alpine:3.14 11:18:46 ---> e04c818066af 11:18:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:18:46 ---> Running in e3a7d1fb0c7d 11:18:46 Removing intermediate container e3a7d1fb0c7d 11:18:46 ---> 0dcc04f874b2 11:18:46 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:18:46 ---> Running in acc5dc95d1b7 11:18:46 Removing intermediate container acc5dc95d1b7 11:18:46 ---> 003d67997521 11:18:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:18:46 ---> Running in c3532dcb1396 11:18:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:18:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:18:48 (1/6) Installing dumb-init (1.2.5-r1) 11:18:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:18:48 (3/6) Installing libsodium (1.0.18-r0) 11:18:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:18:48 (5/6) Installing libzmq (4.3.4-r0) 11:18:48 (6/6) Installing zeromq (4.3.4-r0) 11:18:48 Executing busybox-1.33.1-r7.trigger 11:18:48 OK: 8 MiB in 20 packages 11:18:49 Removing intermediate container c3532dcb1396 11:18:49 ---> be9a19b2551f 11:18:49 Step 17/26 : WORKDIR / 11:18:49 ---> Running in 44d277e1ac56 11:18:49 Removing intermediate container 44d277e1ac56 11:18:49 ---> d10c802cf21e 11:18:49 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:18:49 ---> 6b9348f44680 11:18:49 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:18:49 ---> 5ea631a7e13b 11:18:49 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:18:50 ---> 0024ddf52be5 11:18:50 Step 21/26 : EXPOSE 59900 11:18:50 ---> Running in 32d309b06637 11:18:50 Removing intermediate container 32d309b06637 11:18:50 ---> a7f499a8cfb5 11:18:50 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:18:50 ---> Running in 7340a4821c60 11:18:50 Removing intermediate container 7340a4821c60 11:18:50 ---> 6c6d94e7ef34 11:18:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:18:50 ---> Running in 41db22fb7b6b 11:18:50 Removing intermediate container 41db22fb7b6b 11:18:50 ---> 2429eea1e157 11:18:50 Step 24/26 : LABEL arch=amd64 11:18:50 ---> Running in 5a56e7e8d3fc 11:18:50 Removing intermediate container 5a56e7e8d3fc 11:18:50 ---> bdd76ba52b6b 11:18:50 Step 25/26 : LABEL git_sha=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:18:50 ---> Running in 62c655514f49 11:18:50 Removing intermediate container 62c655514f49 11:18:50 ---> fcb173251b28 11:18:50 Step 26/26 : LABEL version=2.2.0-dev.12 11:18:50 ---> Running in f6048cbcecc7 11:18:50 Removing intermediate container f6048cbcecc7 11:18:50 ---> a8452bc242f3 11:18:50 [Warning] One or more build-args [ARCH] were not consumed 11:18:50 Successfully built a8452bc242f3 11:18:50 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:50 provisioning config files... 11:18:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2182725634574471162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:50 ---> docker-login.sh 11:18:50 nexus3.edgexfoundry.org:10001 11:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:50 Configure a credential helper to remove this warning. See 11:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:50 11:18:50 Login Succeeded 11:18:50 nexus3.edgexfoundry.org:10002 11:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:51 Configure a credential helper to remove this warning. See 11:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:51 11:18:51 Login Succeeded 11:18:51 nexus3.edgexfoundry.org:10003 11:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:51 Configure a credential helper to remove this warning. See 11:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:51 11:18:51 Login Succeeded 11:18:51 nexus3.edgexfoundry.org:10004 11:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:51 Configure a credential helper to remove this warning. See 11:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:51 11:18:51 Login Succeeded 11:18:51 docker.io 11:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:51 Configure a credential helper to remove this warning. See 11:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:51 11:18:51 Login Succeeded 11:18:51 ---> docker-login.sh ends [Pipeline] } 11:18:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:18:51 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:18:51 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:18:51 latest 11:18:51 2.2.0-dev.12 11:18:51 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:18:51 main 11:18:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:18:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] isUnix [Pipeline] sh 11:18:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:18:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:18:52 ef1e3aaeaa79: Preparing 11:18:52 6c7d28387c1d: Preparing 11:18:52 67873791d867: Preparing 11:18:52 5f5f8fa1d75e: Preparing 11:18:52 1b99f85494b8: Preparing 11:18:52 b541d28bf3b4: Preparing 11:18:52 67873791d867: Pushed 11:18:52 1b99f85494b8: Pushed 11:18:52 6c7d28387c1d: Pushed 11:18:52 b541d28bf3b4: Layer already exists 11:18:52 5f5f8fa1d75e: Pushed 11:18:55 ef1e3aaeaa79: Pushed 11:18:55 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh 11:18:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 11:18:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:18:55 ef1e3aaeaa79: Preparing 11:18:55 6c7d28387c1d: Preparing 11:18:55 67873791d867: Preparing 11:18:55 5f5f8fa1d75e: Preparing 11:18:55 1b99f85494b8: Preparing 11:18:55 b541d28bf3b4: Preparing 11:18:55 b541d28bf3b4: Waiting 11:18:55 1b99f85494b8: Layer already exists 11:18:55 ef1e3aaeaa79: Layer already exists 11:18:55 6c7d28387c1d: Layer already exists 11:18:55 67873791d867: Layer already exists 11:18:55 5f5f8fa1d75e: Layer already exists 11:18:55 b541d28bf3b4: Layer already exists 11:18:55 latest: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh 11:18:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:18:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 11:18:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:18:56 ef1e3aaeaa79: Preparing 11:18:56 6c7d28387c1d: Preparing 11:18:56 67873791d867: Preparing 11:18:56 5f5f8fa1d75e: Preparing 11:18:56 1b99f85494b8: Preparing 11:18:56 b541d28bf3b4: Preparing 11:18:56 b541d28bf3b4: Waiting 11:18:56 5f5f8fa1d75e: Layer already exists 11:18:56 67873791d867: Layer already exists 11:18:56 1b99f85494b8: Layer already exists 11:18:56 ef1e3aaeaa79: Layer already exists 11:18:56 6c7d28387c1d: Layer already exists 11:18:56 b541d28bf3b4: Layer already exists 11:18:56 2.2.0-dev.12: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh 11:18:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:18:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:18:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:18:57 ef1e3aaeaa79: Preparing 11:18:57 6c7d28387c1d: Preparing 11:18:57 67873791d867: Preparing 11:18:57 5f5f8fa1d75e: Preparing 11:18:57 1b99f85494b8: Preparing 11:18:57 b541d28bf3b4: Preparing 11:18:57 b541d28bf3b4: Waiting 11:18:57 ef1e3aaeaa79: Layer already exists 11:18:57 5f5f8fa1d75e: Layer already exists 11:18:57 67873791d867: Layer already exists 11:18:57 6c7d28387c1d: Layer already exists 11:18:57 1b99f85494b8: Layer already exists 11:18:57 b541d28bf3b4: Layer already exists 11:18:57 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh 11:18:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 11:18:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:18:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:18:57 ef1e3aaeaa79: Preparing 11:18:57 6c7d28387c1d: Preparing 11:18:57 67873791d867: Preparing 11:18:57 5f5f8fa1d75e: Preparing 11:18:57 1b99f85494b8: Preparing 11:18:57 b541d28bf3b4: Preparing 11:18:57 b541d28bf3b4: Waiting 11:18:57 6c7d28387c1d: Layer already exists 11:18:57 1b99f85494b8: Layer already exists 11:18:57 67873791d867: Layer already exists 11:18:57 5f5f8fa1d75e: Layer already exists 11:18:57 ef1e3aaeaa79: Layer already exists 11:18:57 b541d28bf3b4: Layer already exists 11:18:57 main: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:18:57 ===================================================== [Pipeline] echo 11:18:57 taggedImages: 11:18:57 - nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:18:57 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:18:57 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 11:18:57 - nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:18:57 - 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 11:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:58 11:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:58 latest: Pulling from edgex-lftools-log-publisher 11:18:58 5eb5b503b376: Pulling fs layer 11:18:58 5c69ac0246d0: Pulling fs layer 11:18:58 ec43610c2a17: Pulling fs layer 11:18:58 3a2ae6a8a46f: Pulling fs layer 11:18:58 33b1e0a273af: Pulling fs layer 11:18:58 5d3b04190fa2: Pulling fs layer 11:18:58 2f39f015ded8: Pulling fs layer 11:18:58 2f39f015ded8: Waiting 11:18:58 5d3b04190fa2: Waiting 11:18:58 3a2ae6a8a46f: Waiting 11:18:58 5c69ac0246d0: Verifying Checksum 11:18:58 5c69ac0246d0: Download complete 11:18:58 3a2ae6a8a46f: Verifying Checksum 11:18:58 3a2ae6a8a46f: Download complete 11:18:58 33b1e0a273af: Verifying Checksum 11:18:58 33b1e0a273af: Download complete 11:18:58 5d3b04190fa2: Verifying Checksum 11:18:58 ec43610c2a17: Verifying Checksum 11:18:58 ec43610c2a17: Download complete 11:18:58 5eb5b503b376: Download complete 11:18:59 2f39f015ded8: Download complete 11:18:59 5eb5b503b376: Pull complete 11:18:59 5c69ac0246d0: Pull complete 11:19:00 ec43610c2a17: Pull complete 11:19:00 3a2ae6a8a46f: Pull complete 11:19:00 33b1e0a273af: Pull complete 11:19:00 5d3b04190fa2: Pull complete 11:19:04 2f39f015ded8: Pull complete 11:19:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:19:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:19:05 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:19:06 $ docker top 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:19:07 ---> job-cost.sh 11:19:07 lf-activate-venv: SKIPPING 11:19:07 INFO: No Stack... 11:19:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:19:07 INFO: Archiving Costs [Pipeline] sh 11:19:08 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:19:08 + cut -d, -f6 [Pipeline] lock 11:19:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] 11:19:08 Resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] did not exist. Created. 11:19:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:19:08 + echo total: 0.2199999988079071 [Pipeline] stash 11:19:08 Stashed 1 file(s) [Pipeline] } 11:19:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 11:19:08 $ docker stop --time=1 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 11:19:09 $ docker rm -f 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:19:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21224 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:19:18 Running in /w/workspace/device-virtual-go/28 [Pipeline] { [Pipeline] checkout 11:19:18 The recommended git tool is: git 11:19:23 using credential edgex-jenkins-ssh 11:19:23 Cloning the remote Git repository 11:19:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:19:23 > git init /w/workspace/device-virtual-go/28 # timeout=10 11:19:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:19:23 > git --version # timeout=10 11:19:23 > git --version # 'git version 2.25.1' 11:19:23 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:26 Avoid second fetch 11:19:26 Checking out Revision 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca (main) 11:19:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:19:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:26 > git config core.sparsecheckout # timeout=10 11:19:26 > git checkout -f 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 11:19:30 Commit message: "Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:19:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:19:31 % Total % Received % Xferd Average Speed Time Time Time Current 11:19:31 Dload Upload Total Spent Left Speed 11:19:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 11:19:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:19:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:19:32 + sudo tee /etc/docker/daemon.new 11:19:32 { 11:19:32 "registry-mirrors": [ 11:19:32 "https://nexus3.edgexfoundry.org:10001" 11:19:32 ], 11:19:32 "bip": "10.250.0.254/24", 11:19:32 "hosts": [ 11:19:32 "tcp://0.0.0.0:5555", 11:19:32 "unix:///var/run/docker.sock" 11:19:32 ], 11:19:32 "mtu": 1458, 11:19:32 "selinux-enabled": true, 11:19:32 "seccomp-profile": "/etc/docker/seccomp.json" 11:19:32 } [Pipeline] sh 11:19:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:19:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:19:51 provisioning config files... 11:19:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/28@tmp/config6544189532361938076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:19:51 ---> docker-login.sh 11:19:51 nexus3.edgexfoundry.org:10001 11:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:52 Configure a credential helper to remove this warning. See 11:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:52 11:19:52 Login Succeeded 11:19:52 nexus3.edgexfoundry.org:10002 11:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:52 Configure a credential helper to remove this warning. See 11:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:52 11:19:52 Login Succeeded 11:19:53 nexus3.edgexfoundry.org:10003 11:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:53 Configure a credential helper to remove this warning. See 11:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:53 11:19:53 Login Succeeded 11:19:53 nexus3.edgexfoundry.org:10004 11:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:53 Configure a credential helper to remove this warning. See 11:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:53 11:19:53 Login Succeeded 11:19:53 docker.io 11:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:54 Configure a credential helper to remove this warning. See 11:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:54 11:19:54 Login Succeeded 11:19:54 ---> docker-login.sh ends [Pipeline] } 11:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:19:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:19:55 ========================================================= 11:19:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:19:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:19:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:19:56 Sending build context to Docker daemon 11.6MB 11:19:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:19:56 Step 2/12 : FROM ${BASE} AS builder 11:19:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:19:56 9b3977197b4f: Pulling fs layer 11:19:56 1a89e8eeedd5: Pulling fs layer 11:19:56 94645a83ff95: Pulling fs layer 11:19:56 3f3a8bcf1eab: Pulling fs layer 11:19:56 0c92f367c5e7: Pulling fs layer 11:19:56 f7c0051592d6: Pulling fs layer 11:19:56 a227ed2f7395: Pulling fs layer 11:19:56 7b1c46037f91: Pulling fs layer 11:19:56 3f3a8bcf1eab: Waiting 11:19:56 f7c0051592d6: Waiting 11:19:56 a227ed2f7395: Waiting 11:19:56 7b1c46037f91: Waiting 11:19:56 94645a83ff95: Verifying Checksum 11:19:56 94645a83ff95: Download complete 11:19:56 1a89e8eeedd5: Download complete 11:19:56 0c92f367c5e7: Verifying Checksum 11:19:56 0c92f367c5e7: Download complete 11:19:56 f7c0051592d6: Verifying Checksum 11:19:56 f7c0051592d6: Download complete 11:19:56 9b3977197b4f: Verifying Checksum 11:19:56 9b3977197b4f: Download complete 11:19:56 a227ed2f7395: Verifying Checksum 11:19:56 a227ed2f7395: Download complete 11:19:57 9b3977197b4f: Pull complete 11:19:57 1a89e8eeedd5: Pull complete 11:19:58 94645a83ff95: Pull complete 11:19:58 7b1c46037f91: Verifying Checksum 11:19:58 7b1c46037f91: Download complete 11:19:58 3f3a8bcf1eab: Verifying Checksum 11:19:58 3f3a8bcf1eab: Download complete 11:20:11 3f3a8bcf1eab: Pull complete 11:20:11 0c92f367c5e7: Pull complete 11:20:11 f7c0051592d6: Pull complete 11:20:11 a227ed2f7395: Pull complete 11:20:18 7b1c46037f91: Pull complete 11:20:18 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:20:18 ---> f79e39bc4007 11:20:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:20:19 ---> Running in 997520798a91 11:20:19 Removing intermediate container 997520798a91 11:20:19 ---> 083b625923f9 11:20:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:20:19 ---> Running in a95f14af5b70 11:20:19 Removing intermediate container a95f14af5b70 11:20:19 ---> 1aefe69f05d8 11:20:19 Step 5/12 : WORKDIR /device-virtual-go 11:20:19 ---> Running in 2f396a1d3d0b 11:20:20 Removing intermediate container 2f396a1d3d0b 11:20:20 ---> 3ee9c5429f80 11:20:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:20:20 ---> Running in d736532bd6a3 11:20:22 Removing intermediate container d736532bd6a3 11:20:22 ---> a974a690ed3a 11:20:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:20:22 ---> Running in 15766f6c8433 11:20:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:20:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:20:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:20:24 (2/4) Installing libedit (20210910.3.1-r0) 11:20:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:20:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:20:25 Executing busybox-1.34.1-r3.trigger 11:20:25 OK: 224 MiB in 56 packages 11:20:26 Removing intermediate container 15766f6c8433 11:20:26 ---> 8100292fd1d3 11:20:26 Step 8/12 : COPY go.mod vendor* ./ 11:20:26 ---> 1eb0d4d0dcba 11:20:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:20:26 ---> Running in 8d55daefd52f 11:21:13 Removing intermediate container 8d55daefd52f 11:21:13 ---> 36f2029fbbec 11:21:13 Step 10/12 : COPY . . 11:21:13 ---> 0fc33278d204 11:21:13 Step 11/12 : ARG MAKE='make build' 11:21:13 ---> Running in 31c7c42d78a9 11:21:13 Removing intermediate container 31c7c42d78a9 11:21:13 ---> f04cd823ef90 11:21:13 Step 12/12 : RUN $MAKE 11:21:13 ---> Running in 0e3d3114d416 11:21:13 noop 11:21:13 Removing intermediate container 0e3d3114d416 11:21:13 ---> 93bf1a99be67 11:21:13 Successfully built 93bf1a99be67 11:21:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:21:14 + docker inspect -f . ci-base-image-arm64 11:21:14 . [Pipeline] withDockerContainer 11:21:14 prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container 11:21:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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 11:21:15 $ docker top 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:16 + go version 11:21:16 go version go1.17.6 linux/arm64 [Pipeline] } 11:21:16 $ docker stop --time=1 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea 11:21:18 $ docker rm -f 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:21:18 + docker inspect -f . ci-base-image-arm64 11:21:18 . [Pipeline] withDockerContainer 11:21:19 prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container 11:21:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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 11:21:20 $ docker top d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:21:21 + make test 11:21:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:21:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:22:44 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:22:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements 11:22:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:22:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:23:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:23:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:23:03 ./bin/test-attribution-txt.sh [Pipeline] echo 11:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:23:05 $ docker stop --time=1 d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 11:23:06 $ docker rm -f d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 [Pipeline] // withDockerContainer [Pipeline] sh 11:23:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:23:07 Warning: overwriting stash ‘coverage-report’ 11:23:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:23:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:23:09 + ls -al . 11:23:09 total 200 11:23:09 drwxrwxr-x 7 jenkins jenkins 4096 Apr 18 11:23 . 11:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:19 .. 11:23:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:19 .git 11:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:19 .github 11:23:09 -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:19 .gitignore 11:23:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:19 .golangci.yml 11:23:09 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:19 Attribution.txt 11:23:09 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:19 CHANGELOG.md 11:23:09 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:19 Dockerfile 11:23:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:19 GOVERNANCE.md 11:23:09 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:19 Jenkinsfile 11:23:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:19 LICENSE 11:23:09 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:19 Makefile 11:23:09 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:19 OWNERS.md 11:23:09 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:19 README.md 11:23:09 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:17 VERSION 11:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:19 bin 11:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:19 cmd 11:23:09 -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:22 coverage.out 11:23:09 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:19 go.mod 11:23:09 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:19 go.sum 11:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:19 internal 11:23:09 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:19 version.go [Pipeline] isUnix [Pipeline] sh 11:23:09 + 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca --label arch=arm64 --label version=2.2.0-dev.12 . 11:23:09 Sending build context to Docker daemon 11.64MB 11:23:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:23:09 Step 2/26 : FROM ${BASE} AS builder 11:23:09 ---> 93bf1a99be67 11:23:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:23:09 ---> Running in 38cb5d9ffd91 11:23:10 Removing intermediate container 38cb5d9ffd91 11:23:10 ---> 2dd8a6891463 11:23:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:23:10 ---> Running in 8137e50471a7 11:23:10 Removing intermediate container 8137e50471a7 11:23:10 ---> 10fd520ab6f5 11:23:10 Step 5/26 : WORKDIR /device-virtual-go 11:23:10 ---> Running in c1927929ea0e 11:23:11 Removing intermediate container c1927929ea0e 11:23:11 ---> 28e0ef0630bc 11:23:11 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:23:11 ---> Running in 64b1868786a3 11:23:13 Removing intermediate container 64b1868786a3 11:23:13 ---> dd247e1f6448 11:23:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:23:13 ---> Running in 8343add634c0 11:23:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:23:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:23:15 OK: 224 MiB in 56 packages 11:23:16 Removing intermediate container 8343add634c0 11:23:16 ---> 063bd16207e6 11:23:16 Step 8/26 : COPY go.mod vendor* ./ 11:23:16 ---> 177bfa1bf58a 11:23:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:23:17 ---> Running in 4ab2c7a61fc7 11:23:19 Removing intermediate container 4ab2c7a61fc7 11:23:19 ---> 3b193ad4f695 11:23:19 Step 10/26 : COPY . . 11:23:20 ---> dd4d1fccc556 11:23:20 Step 11/26 : ARG MAKE='make build' 11:23:20 ---> Running in f3986243c96d 11:23:20 Removing intermediate container f3986243c96d 11:23:20 ---> cfea56cfe504 11:23:20 Step 12/26 : RUN $MAKE 11:23:20 ---> Running in 6b525ebbfd28 11:23:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:25:28 Removing intermediate container 6b525ebbfd28 11:25:28 ---> c3887c2897a8 11:25:28 Step 13/26 : FROM alpine:3.14 11:25:28 3.14: Pulling from library/alpine 11:25:28 455c02918c45: Pulling fs layer 11:25:28 455c02918c45: Verifying Checksum 11:25:28 455c02918c45: Download complete 11:25:28 455c02918c45: Pull complete 11:25:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:25:28 Status: Downloaded newer image for alpine:3.14 11:25:28 ---> ac73e934f311 11:25:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:25:28 ---> Running in b86b3d976b67 11:25:28 Removing intermediate container b86b3d976b67 11:25:28 ---> fb21c16dbcb2 11:25:28 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:25:28 ---> Running in 333d7977f16f 11:25:28 Removing intermediate container 333d7977f16f 11:25:28 ---> adbfc16ef989 11:25:28 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:25:28 ---> Running in 9807751fec78 11:25:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:25:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:25:28 (1/6) Installing dumb-init (1.2.5-r1) 11:25:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:25:28 (3/6) Installing libsodium (1.0.18-r0) 11:25:28 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:25:28 (5/6) Installing libzmq (4.3.4-r0) 11:25:28 (6/6) Installing zeromq (4.3.4-r0) 11:25:28 Executing busybox-1.33.1-r7.trigger 11:25:28 OK: 8 MiB in 20 packages 11:25:28 Removing intermediate container 9807751fec78 11:25:28 ---> 0cb6eed7927a 11:25:28 Step 17/26 : WORKDIR / 11:25:28 ---> Running in de3fbc3f803c 11:25:28 Removing intermediate container de3fbc3f803c 11:25:28 ---> 152b29f257e3 11:25:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:25:28 ---> 39e970475932 11:25:28 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:25:28 ---> a5c5c4f70f0f 11:25:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:25:28 ---> 753cb3f939f4 11:25:28 Step 21/26 : EXPOSE 59900 11:25:28 ---> Running in 40316e525928 11:25:28 Removing intermediate container 40316e525928 11:25:28 ---> 9320e4c59aa4 11:25:28 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:25:28 ---> Running in 2f364df630b8 11:25:28 Removing intermediate container 2f364df630b8 11:25:28 ---> 885e5df57998 11:25:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:25:28 ---> Running in a47d19c37bde 11:25:28 Removing intermediate container a47d19c37bde 11:25:28 ---> 8f8d0b8bcb12 11:25:28 Step 24/26 : LABEL arch=arm64 11:25:28 ---> Running in 56e0e97d6d76 11:25:28 Removing intermediate container 56e0e97d6d76 11:25:28 ---> 77716a7d9f1c 11:25:28 Step 25/26 : LABEL git_sha=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:25:28 ---> Running in 0bcddaa5d429 11:25:28 Removing intermediate container 0bcddaa5d429 11:25:28 ---> a7d3280b408f 11:25:28 Step 26/26 : LABEL version=2.2.0-dev.12 11:25:28 ---> Running in f0cafa67c298 11:25:28 Removing intermediate container f0cafa67c298 11:25:28 ---> f6233cfa471d 11:25:28 [Warning] One or more build-args [ARCH] were not consumed 11:25:28 Successfully built f6233cfa471d 11:25:28 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 11:25:28 provisioning config files... 11:25:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/28@tmp/config7708832396847565086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:29 ---> docker-login.sh 11:25:29 nexus3.edgexfoundry.org:10001 11:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:29 Configure a credential helper to remove this warning. See 11:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:29 11:25:29 Login Succeeded 11:25:29 nexus3.edgexfoundry.org:10002 11:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:30 Configure a credential helper to remove this warning. See 11:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:30 11:25:30 Login Succeeded 11:25:30 nexus3.edgexfoundry.org:10003 11:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:30 Configure a credential helper to remove this warning. See 11:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:30 11:25:30 Login Succeeded 11:25:30 nexus3.edgexfoundry.org:10004 11:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:31 Configure a credential helper to remove this warning. See 11:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:31 11:25:31 Login Succeeded 11:25:31 docker.io 11:25:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:31 Configure a credential helper to remove this warning. See 11:25:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:31 11:25:31 Login Succeeded 11:25:31 ---> docker-login.sh ends [Pipeline] } 11:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:25:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:25:31 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:25:31 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:25:31 latest 11:25:31 2.2.0-dev.12 11:25:31 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:25:31 main 11:25:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:25:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] isUnix [Pipeline] sh 11:25:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:25:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:25:32 e26464949c32: Preparing 11:25:32 38e2d7b44a99: Preparing 11:25:32 a633626ef47d: Preparing 11:25:32 d62fbfaa7ded: Preparing 11:25:32 5e561ce52ade: Preparing 11:25:32 f73e7dbfee58: Preparing 11:25:32 f73e7dbfee58: Waiting 11:25:32 5e561ce52ade: Pushed 11:25:32 a633626ef47d: Pushed 11:25:32 38e2d7b44a99: Pushed 11:25:32 f73e7dbfee58: Layer already exists 11:25:33 d62fbfaa7ded: Pushed 11:25:38 e26464949c32: Pushed 11:25:38 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:25:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:25:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:25:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:25:39 e26464949c32: Preparing 11:25:39 38e2d7b44a99: Preparing 11:25:39 a633626ef47d: Preparing 11:25:39 d62fbfaa7ded: Preparing 11:25:39 5e561ce52ade: Preparing 11:25:39 f73e7dbfee58: Preparing 11:25:39 f73e7dbfee58: Waiting 11:25:39 d62fbfaa7ded: Layer already exists 11:25:39 a633626ef47d: Layer already exists 11:25:39 5e561ce52ade: Layer already exists 11:25:39 38e2d7b44a99: Layer already exists 11:25:39 e26464949c32: Layer already exists 11:25:39 f73e7dbfee58: Layer already exists 11:25:40 latest: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:25:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:25:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 11:25:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:25:40 e26464949c32: Preparing 11:25:40 38e2d7b44a99: Preparing 11:25:40 a633626ef47d: Preparing 11:25:40 d62fbfaa7ded: Preparing 11:25:40 5e561ce52ade: Preparing 11:25:40 f73e7dbfee58: Preparing 11:25:40 f73e7dbfee58: Waiting 11:25:40 38e2d7b44a99: Layer already exists 11:25:40 5e561ce52ade: Layer already exists 11:25:40 d62fbfaa7ded: Layer already exists 11:25:40 e26464949c32: Layer already exists 11:25:40 a633626ef47d: Layer already exists 11:25:40 f73e7dbfee58: Layer already exists 11:25:41 2.2.0-dev.12: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:25:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:25:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:25:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:25:41 e26464949c32: Preparing 11:25:41 38e2d7b44a99: Preparing 11:25:41 a633626ef47d: Preparing 11:25:41 d62fbfaa7ded: Preparing 11:25:41 5e561ce52ade: Preparing 11:25:41 f73e7dbfee58: Preparing 11:25:41 f73e7dbfee58: Waiting 11:25:41 38e2d7b44a99: Layer already exists 11:25:41 e26464949c32: Layer already exists 11:25:41 a633626ef47d: Layer already exists 11:25:41 5e561ce52ade: Layer already exists 11:25:41 d62fbfaa7ded: Layer already exists 11:25:41 f73e7dbfee58: Layer already exists 11:25:42 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:25:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 11:25:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:25:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:25:42 e26464949c32: Preparing 11:25:42 38e2d7b44a99: Preparing 11:25:42 a633626ef47d: Preparing 11:25:42 d62fbfaa7ded: Preparing 11:25:42 5e561ce52ade: Preparing 11:25:42 f73e7dbfee58: Preparing 11:25:42 f73e7dbfee58: Waiting 11:25:42 38e2d7b44a99: Layer already exists 11:25:42 e26464949c32: Layer already exists 11:25:42 a633626ef47d: Layer already exists 11:25:42 5e561ce52ade: Layer already exists 11:25:42 d62fbfaa7ded: Layer already exists 11:25:42 f73e7dbfee58: Layer already exists 11:25:42 main: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:25:43 ===================================================== [Pipeline] echo 11:25:43 taggedImages: 11:25:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 11:25:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:25:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 11:25:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 11:25:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:25:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:25:43 11:25:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:25:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:25:44 arm64: Pulling from edgex-lftools-log-publisher 11:25:44 8998bd30e6a1: Pulling fs layer 11:25:44 04944245beec: Pulling fs layer 11:25:44 699f458cf7ca: Pulling fs layer 11:25:44 765212b225bb: Pulling fs layer 11:25:44 f23df028b6ca: Pulling fs layer 11:25:44 d65c8cfc05b1: Pulling fs layer 11:25:44 2437ff75d9bd: Pulling fs layer 11:25:44 765212b225bb: Waiting 11:25:44 f23df028b6ca: Waiting 11:25:44 d65c8cfc05b1: Waiting 11:25:44 2437ff75d9bd: Waiting 11:25:44 04944245beec: Verifying Checksum 11:25:44 04944245beec: Download complete 11:25:44 765212b225bb: Verifying Checksum 11:25:44 765212b225bb: Download complete 11:25:44 f23df028b6ca: Verifying Checksum 11:25:44 f23df028b6ca: Download complete 11:25:44 d65c8cfc05b1: Verifying Checksum 11:25:44 d65c8cfc05b1: Download complete 11:25:44 699f458cf7ca: Download complete 11:25:44 8998bd30e6a1: Verifying Checksum 11:25:44 8998bd30e6a1: Download complete 11:25:46 2437ff75d9bd: Verifying Checksum 11:25:46 2437ff75d9bd: Download complete 11:25:49 8998bd30e6a1: Pull complete 11:25:49 04944245beec: Pull complete 11:25:50 699f458cf7ca: Pull complete 11:25:50 765212b225bb: Pull complete 11:25:51 f23df028b6ca: Pull complete 11:25:52 d65c8cfc05b1: Pull complete 11:26:07 2437ff75d9bd: Pull complete 11:26:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:26:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:26:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container 11:26:07 $ 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/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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 11:26:10 $ docker top cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:26:10 ---> job-cost.sh 11:26:10 lf-activate-venv: SKIPPING 11:26:10 INFO: No Stack... 11:26:11 INFO: Retrieving Pricing Info for: v3-standard-4 11:26:12 INFO: Archiving Costs [Pipeline] sh 11:26:13 + cat /w/workspace/device-virtual-go/28/archives/cost.csv 11:26:13 + cut -d, -f6 [Pipeline] lock 11:26:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] 11:26:13 Resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] did not exist. Created. 11:26:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:26:14 /w/workspace/device-virtual-go/28@tmp/durable-f3fefcbe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:26:15 + echo total: 0.10999999940395355 [Pipeline] stash 11:26:15 Warning: overwriting stash ‘stack-cost’ 11:26:15 Stashed 1 file(s) [Pipeline] } 11:26:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 11:26:15 $ docker stop --time=1 cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e 11:26:16 $ docker rm -f cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e [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 11:26:17 provisioning config files... 11:26:17 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1783383884528328810tmp [Pipeline] { [Pipeline] sh 11:26:17 + set +x 11:26:17 + curl -s https://codecov.io/bash 11:26:17 + bash -s -- 11:26:17 11:26:17 _____ _ 11:26:17 / ____| | | 11:26:17 | | ___ __| | ___ ___ _____ __ 11:26:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:26:17 | |___| (_) | (_| | __/ (_| (_) \ V / 11:26:17 \_____\___/ \__,_|\___|\___\___/ \_/ 11:26:17 Bash-1.0.6 11:26:17 11:26:17 11:26:17 ==> git version 2.25.1 found 11:26:17 ==> 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 11:26:17 Release-Date: 2020-01-08 11:26:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:26:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:26:17 ==> Jenkins CI detected. 11:26:17 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:26:17 project root: . 11:26:17 --> token set from env 11:26:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:26:17 ==> Running gcov in . (disable via -X gcov) 11:26:17 ==> Python coveragepy not found 11:26:17 ==> Searching for coverage reports in: 11:26:17 + . 11:26:17 -> Found 1 reports 11:26:17 ==> Detecting git/mercurial file structure 11:26:17 ==> Reading reports 11:26:17 + ./coverage.out bytes=44128 11:26:17 ==> Appending adjustments 11:26:17 https://docs.codecov.io/docs/fixing-reports 11:26:17 + Found adjustments 11:26:17 ==> Gzipping contents 11:26:17 8.0K /tmp/codecov.JnDmo4.gz 11:26:17 ==> Uploading reports 11:26:17 url: https://codecov.io 11:26:17 query: branch=main&commit=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:26:17 -> Pinging Codecov 11:26:17 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:26:17 -> Uploading to 11:26:17 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/5E52B4B073DB2E39498172D8E973AA87/55fbfbcd5b5a742e8ebac6649b1ed4185d266fca/d71e9b9a-e9a9-4a45-ae83-a14ce90bf4b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T112617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d98019c4752f3293b295559c7e27a7dcf75e4b4cda5d7fe88b3f75e99e317820 11:26:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:26:17 Dload Upload Total Spent Left Speed 11:26:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5327 0 0 100 5327 0 23160 --:--:-- --:--:-- --:--:-- 23060 100 5327 0 0 100 5327 0 21055 --:--:-- --:--:-- --:--:-- 20972 11:26:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] } 11:26:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:26:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:26:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:26:18 11:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:26:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:26:19 188c0c94c7c5: Pulling fs layer 11:26:19 0ef7d3d256c8: Pulling fs layer 11:26:19 de9db76c5a1d: Pulling fs layer 11:26:19 0eba1c9be4d2: Pulling fs layer 11:26:19 0d57e429df01: Pulling fs layer 11:26:19 4e4be7b47b0d: Pulling fs layer 11:26:19 e1f770b5df2f: Pulling fs layer 11:26:19 85a0685a4137: Pulling fs layer 11:26:19 4e4be7b47b0d: Waiting 11:26:19 e1f770b5df2f: Waiting 11:26:19 85a0685a4137: Waiting 11:26:19 0eba1c9be4d2: Waiting 11:26:19 0d57e429df01: Waiting 11:26:19 de9db76c5a1d: Verifying Checksum 11:26:19 de9db76c5a1d: Download complete 11:26:19 0ef7d3d256c8: Verifying Checksum 11:26:19 0ef7d3d256c8: Download complete 11:26:19 0d57e429df01: Verifying Checksum 11:26:19 0d57e429df01: Download complete 11:26:19 4e4be7b47b0d: Download complete 11:26:19 188c0c94c7c5: Verifying Checksum 11:26:19 188c0c94c7c5: Pull complete 11:26:19 e1f770b5df2f: Verifying Checksum 11:26:19 e1f770b5df2f: Download complete 11:26:19 0ef7d3d256c8: Pull complete 11:26:19 de9db76c5a1d: Pull complete 11:26:19 0eba1c9be4d2: Verifying Checksum 11:26:19 0eba1c9be4d2: Download complete 11:26:20 85a0685a4137: Verifying Checksum 11:26:20 85a0685a4137: Download complete 11:26:23 0eba1c9be4d2: Pull complete 11:26:23 0d57e429df01: Pull complete 11:26:23 4e4be7b47b0d: Pull complete 11:26:23 e1f770b5df2f: Pull complete 11:26:26 85a0685a4137: Pull complete 11:26:26 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:26:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:26:26 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:26:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:26:29 $ docker top 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d -eo pid,comm [Pipeline] { [Pipeline] echo 11:26:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:26:29 + set -o pipefail 11:26:29 + snyk monitor '--org=edgex-jenkins' 11:26:36 11:26:36 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:26:36 11:26:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/20ff1252-3ae9-467f-b12b-ad9c9a15ba95 11:26:36 11:26:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:26:36 11:26:36 [Pipeline] } 11:26:36 $ docker stop --time=1 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d 11:26:38 $ docker rm -f 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d [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 11:26:38 + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] sh 11:26:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:26:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:26:39 . [Pipeline] withDockerContainer 11:26:39 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:26:40 $ docker top 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:26:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:26:40 [ssh-agent] Looking for ssh-agent implementation... 11:26:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:26:40 $ docker exec 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 ssh-agent 11:26:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnNnLaa/agent.13 11:26:40 SSH_AGENT_PID=19 11:26:40 Running ssh-add (command line suppressed) 11:26:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3844875680477944204.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3844875680477944204.key) 11:26:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:26:40 + git semver tag 11:26:40 # -> Open(): unable to determine branch for HEAD 11:26:40 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 11:26:40 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 11:26:40 # $SEMVER_REMOTE_NAME = origin 11:26:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:26:40 # $SEMVER_USER_NAME = edgex-jenkins 11:26:40 # $SEMVER_BRANCH = main 11:26:40 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 11:26:40 # 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca HEAD 11:26:40 # -> Force: false 11:26:40 # e106fecef12f2eef2c9c897bc7c18f1b058eaae6 refs/tags/v2.2.0-dev.12 [Pipeline] } 11:26:40 $ docker exec --env ******** --env ******** 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 ssh-agent -k 11:26:41 unset SSH_AUTH_SOCK; 11:26:41 unset SSH_AGENT_PID; 11:26:41 echo Agent pid 19 killed; 11:26:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:26:41 + git semver [Pipeline] } 11:26:41 $ docker stop --time=1 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 11:26:42 $ docker rm -f 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:26:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:26:43 11:26:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:26:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:26:43 0.23.1-centos7: Pulling from edgex-lftools 11:26:43 ab5ef0e58194: Pulling fs layer 11:26:43 9712f1f96733: Pulling fs layer 11:26:43 63f879dbbcfc: Pulling fs layer 11:26:43 0d9ebad4ef96: Pulling fs layer 11:26:43 e9a5061849ea: Pulling fs layer 11:26:43 d747dcd14b5f: Pulling fs layer 11:26:43 2de7ff778b66: Pulling fs layer 11:26:43 e9a5061849ea: Waiting 11:26:43 d747dcd14b5f: Waiting 11:26:43 2de7ff778b66: Waiting 11:26:43 0d9ebad4ef96: Waiting 11:26:43 9712f1f96733: Verifying Checksum 11:26:43 9712f1f96733: Download complete 11:26:43 63f879dbbcfc: Verifying Checksum 11:26:43 63f879dbbcfc: Download complete 11:26:43 e9a5061849ea: Verifying Checksum 11:26:43 e9a5061849ea: Download complete 11:26:43 d747dcd14b5f: Download complete 11:26:43 ab5ef0e58194: Verifying Checksum 11:26:43 ab5ef0e58194: Download complete 11:26:43 2de7ff778b66: Verifying Checksum 11:26:43 2de7ff778b66: Download complete 11:26:44 0d9ebad4ef96: Verifying Checksum 11:26:44 0d9ebad4ef96: Download complete 11:26:46 ab5ef0e58194: Pull complete 11:26:46 9712f1f96733: Pull complete 11:26:47 63f879dbbcfc: Pull complete 11:26:51 0d9ebad4ef96: Pull complete 11:26:51 e9a5061849ea: Pull complete 11:26:51 d747dcd14b5f: Pull complete 11:26:52 2de7ff778b66: Pull complete 11:26:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:26:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:26:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:26:52 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:26:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:26:54 $ docker top fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:26:54 provisioning config files... 11:26:54 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6100206034907715693tmp 11:26:54 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5262143348592839253tmp 11:26:54 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7446281358388269412tmp [Pipeline] { [Pipeline] echo 11:26:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:26:54 ---> sigul-configuration.sh 11:26:54 gpg: directory `/root/.gnupg' created 11:26:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:26:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:26:54 gpg: keyring `/root/.gnupg/secring.gpg' created 11:26:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:26:54 gpg: CAST5 encrypted data 11:26:54 gpg: encrypted with 1 passphrase 11:26:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:26:55 + mkdir /home/jenkins 11:26:55 + mkdir /home/jenkins/sigul [Pipeline] sh 11:26:55 + 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 11:26:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:26:55 ---> sigul-install.sh 11:26:55 Sigul already installed; skipping installation. [Pipeline] sh 11:26:56 + git tag --list 11:26:56 v1.0.0 11:26:56 v1.1.0 11:26:56 v1.1.1 11:26:56 v1.2.1 11:26:56 v1.2.2 11:26:56 v1.2.3 11:26:56 v1.3.0 11:26:56 v1.3.1 11:26:56 v2.0.0 11:26:56 v2.0.1-dev.1 11:26:56 v2.0.1-dev.10 11:26:56 v2.0.1-dev.11 11:26:56 v2.0.1-dev.12 11:26:56 v2.0.1-dev.13 11:26:56 v2.0.1-dev.14 11:26:56 v2.0.1-dev.15 11:26:56 v2.0.1-dev.2 11:26:56 v2.0.1-dev.3 11:26:56 v2.0.1-dev.4 11:26:56 v2.0.1-dev.5 11:26:56 v2.0.1-dev.6 11:26:56 v2.0.1-dev.7 11:26:56 v2.0.1-dev.8 11:26:56 v2.0.1-dev.9 11:26:56 v2.1.0 11:26:56 v2.2.0-dev.1 11:26:56 v2.2.0-dev.10 11:26:56 v2.2.0-dev.11 11:26:56 v2.2.0-dev.12 11:26:56 v2.2.0-dev.2 11:26:56 v2.2.0-dev.3 11:26:56 v2.2.0-dev.4 11:26:56 v2.2.0-dev.5 11:26:56 v2.2.0-dev.6 11:26:56 v2.2.0-dev.7 11:26:56 v2.2.0-dev.8 11:26:56 v2.2.0-dev.9 [Pipeline] sh 11:26:56 + lftools sign git-tag v2.2.0-dev.12 11:26:57 Signing Git tag with Sigul... 11:26:57 Signing v2.2.0-dev.12 [Pipeline] echo 11:26:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:26:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:26:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:26:57 $ docker stop --time=1 fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc 11:26:58 $ docker rm -f fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:26:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:26:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:26:59 . [Pipeline] withDockerContainer 11:26:59 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:26:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:27:00 $ docker top 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:27:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:00 [ssh-agent] Looking for ssh-agent implementation... 11:27:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:00 $ docker exec 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de ssh-agent 11:27:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmjPopF/agent.14 11:27:00 SSH_AGENT_PID=20 11:27:00 Running ssh-add (command line suppressed) 11:27:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6046358978515745919.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6046358978515745919.key) 11:27:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:00 + git semver bump pre 11:27:00 # -> Open(): unable to determine branch for HEAD 11:27:00 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 11:27:00 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 11:27:00 # $SEMVER_REMOTE_NAME = origin 11:27:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:27:00 # $SEMVER_USER_NAME = edgex-jenkins 11:27:00 # $SEMVER_BRANCH = main 11:27:00 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 11:27:00 2.2.0-dev.13 [Pipeline] } 11:27:00 $ docker exec --env ******** --env ******** 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de ssh-agent -k 11:27:01 unset SSH_AUTH_SOCK; 11:27:01 unset SSH_AGENT_PID; 11:27:01 echo Agent pid 20 killed; 11:27:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:27:01 + git semver [Pipeline] } 11:27:01 $ docker stop --time=1 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de 11:27:02 $ docker rm -f 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de [Pipeline] // withDockerContainer [Pipeline] sh 11:27:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:27:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:27:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:27:03 . [Pipeline] withDockerContainer 11:27:03 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:27:03 $ docker top 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:27:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:03 [ssh-agent] Looking for ssh-agent implementation... 11:27:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:04 $ docker exec 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 ssh-agent 11:27:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDPbgPP/agent.14 11:27:04 SSH_AGENT_PID=20 11:27:04 Running ssh-add (command line suppressed) 11:27:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2631399808296947574.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2631399808296947574.key) 11:27:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:04 + git semver push 11:27:04 # -> Open(): unable to determine branch for HEAD 11:27:04 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 11:27:04 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 11:27:04 # $SEMVER_REMOTE_NAME = origin 11:27:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:27:04 # $SEMVER_USER_NAME = edgex-jenkins 11:27:04 # $SEMVER_BRANCH = main 11:27:04 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 11:27:06 $ docker exec --env ******** --env ******** 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 ssh-agent -k 11:27:06 unset SSH_AUTH_SOCK; 11:27:06 unset SSH_AGENT_PID; 11:27:06 echo Agent pid 20 killed; 11:27:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:27:06 + git semver [Pipeline] } 11:27:06 $ docker stop --time=1 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 11:27:07 $ docker rm -f 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 [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 11:27:08 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:27:08 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:27:08 total 16 11:27:08 drwxr-xr-x 3 root root 4096 Apr 18 11:19 . 11:27:08 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:26 .. 11:27:08 drwxr-xr-x 2 root root 4096 Apr 18 11:19 cost 11:27:08 -rw-r--r-- 1 root root 87 Apr 18 11:19 cost.csv 11:27:08 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:27:08 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:27:08 total 16 11:27:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:19 . 11:27:08 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:26 .. 11:27:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 11:19 cost 11:27:08 -rw-r--r-- 1 jenkins jenkins 87 Apr 18 11:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:27:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:27:09 ---> package-listing.sh 11:27:09 ++ facter osfamily 11:27:09 ++ tr '[:upper:]' '[:lower:]' 11:27:09 + OS_FAMILY=debian 11:27:09 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:27:09 + START_PACKAGES=/tmp/packages_start.txt 11:27:09 + END_PACKAGES=/tmp/packages_end.txt 11:27:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:27:09 + PACKAGES=/tmp/packages_start.txt 11:27:09 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:27:09 + PACKAGES=/tmp/packages_end.txt 11:27:09 + case "${OS_FAMILY}" in 11:27:09 + dpkg -l 11:27:09 + grep '^ii' 11:27:09 + '[' -f /tmp/packages_start.txt ']' 11:27:09 + '[' -f /tmp/packages_end.txt ']' 11:27:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:27:09 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:27:09 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:27:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:27:09 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 11:27:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:27:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:27:10 . [Pipeline] withDockerContainer 11:27:10 prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container 11:27:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:27:11 $ docker top d80e49af7057c91c0874fb0d5f92df3fc02346abac079ef5259fed6390c03ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:11 + touch /tmp/pre-build-complete [Pipeline] sh 11:27:11 + mkdir -p /var/log/sysstat [Pipeline] sh 11:27:11 + ls /var/log/sa-host 11:27:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:27:12 provisioning config files... 11:27:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8910178883785660662tmp [Pipeline] { [Pipeline] echo 11:27:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:27:12 ---> create-netrc.sh [Pipeline] } 11:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:27:12 ---> python-tools-install.sh [Pipeline] echo 11:27:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:27:13 ---> sudo-logs.sh 11:27:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:27:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:27:13 ---> job-cost.sh 11:27:13 lf-activate-venv: SKIPPING 11:27:13 DEBUG: total: 0.2199999988079071 11:27:13 INFO: Retrieving Stack Cost... 11:27:13 INFO: Retrieving Pricing Info for: v3-standard-8 11:27:14 INFO: Archiving Costs [Pipeline] echo 11:27:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:27:14 ---> logs-deploy.sh 11:27:14 lf-activate-venv: SKIPPING 11:27:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/28 11:27:14 INFO: archiving workspace using pattern(s): 11:27:15 Archives upload complete. 11:27:15 INFO: archiving logs to Nexus