Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 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-ssh6636078910678792226.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-ssh7935229396608521297.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-ssh785319846475438739.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-ssh2379443332519133680.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-ssh6284914758665729934.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-23556 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 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 (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 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 Commit message: "Merge pull request #281 from jinlinGuan/issue-280" > git rev-list --no-walk 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:31 ========================================================= 02:30:31 EdgeX Global Pipelines Version Info 02:30:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:31 ------------------- 02:30:31 stable info: 02:30:31 ------------------- 02:30:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:30:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:30:31 Message: update stable to v1.0.221 02:30:32 ------------------- 02:30:32 experimental info: 02:30:32 ------------------- 02:30:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:30:32 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 02:30:32 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a78a78d [Pipeline] echo 02:30:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:33 provisioning config files... 02:30:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config940542872807291284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:33 ---> docker-login.sh 02:30:33 nexus3.edgexfoundry.org:10001 02:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10002 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10003 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 nexus3.edgexfoundry.org:10004 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 docker.io 02:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:34 Configure a credential helper to remove this warning. See 02:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:34 02:30:34 Login Succeeded 02:30:34 ---> docker-login.sh ends [Pipeline] } 02:30:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:30:35 + git rev-list -1 --merges a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5~1..a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] echo 02:30:35 -----------> git rev-list -1 --merges a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5~1..a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:30:35 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [false] [Pipeline] sh 02:30:35 + git log --format=format:%s -1 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] echo 02:30:35 ========================================================= 02:30:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:36 + git log --format=format:%s -1 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] echo 02:30:36 [semverPrep] GIT_COMMIT: a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5, Commit Message: Merge pull request #281 from jinlinGuan/issue-280 [Pipeline] echo 02:30:36 [semverPrep] This is not a build commit. [Pipeline] sh 02:30:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:36 + grep -v github /etc/ssh/ssh_known_hosts 02:30:36 + [ -e /tmp/ssh_known_hosts ] 02:30:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:36 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:36 sudo tee -a /etc/ssh/ssh_known_hosts 02:30:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:36 02:30:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:30:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:37 latest: Pulling from edgex-devops/git-semver 02:30:37 a0d0a0d46f8b: Pulling fs layer 02:30:37 3e5f54012d9b: Pulling fs layer 02:30:37 4c7163046ea9: Pulling fs layer 02:30:37 0c2d73faf560: Pulling fs layer 02:30:37 0c2d73faf560: Waiting 02:30:37 3e5f54012d9b: Verifying Checksum 02:30:37 a0d0a0d46f8b: Download complete 02:30:37 0c2d73faf560: Verifying Checksum 02:30:37 4c7163046ea9: Verifying Checksum 02:30:37 4c7163046ea9: Download complete 02:30:37 a0d0a0d46f8b: Pull complete 02:30:37 3e5f54012d9b: Pull complete 02:30:37 4c7163046ea9: Pull complete 02:30:38 0c2d73faf560: Pull complete 02:30:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:30:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:30:38 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:30:38 $ 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 02:30:38 $ docker top f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:38 [ssh-agent] Looking for ssh-agent implementation... 02:30:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:39 $ docker exec f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d ssh-agent 02:30:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJcLNcC/agent.14 02:30:39 SSH_AGENT_PID=20 02:30:39 Running ssh-add (command line suppressed) 02:30:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7743187061043865309.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7743187061043865309.key) 02:30:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:39 + git tag --points-at HEAD [Pipeline] } 02:30:39 $ docker exec --env ******** --env ******** f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d ssh-agent -k 02:30:39 unset SSH_AUTH_SOCK; 02:30:39 unset SSH_AGENT_PID; 02:30:39 echo Agent pid 20 killed; 02:30:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:39 [ssh-agent] Looking for ssh-agent implementation... 02:30:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:40 $ docker exec f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d ssh-agent 02:30:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdjBecm/agent.52 02:30:40 SSH_AGENT_PID=58 02:30:40 Running ssh-add (command line suppressed) 02:30:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7127346235717681864.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7127346235717681864.key) 02:30:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:40 + git semver init 02:30:40 # -> Open(): unable to determine branch for HEAD 02:30:40 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:30:40 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:30:40 # $SEMVER_REMOTE_NAME = origin 02:30:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:30:40 # $SEMVER_USER_NAME = edgex-jenkins 02:30:40 # $SEMVER_BRANCH = main 02:30:40 # $SEMVER_TEMP = /tmp/semver-205145563 02:30:40 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:30:42 # '/tmp/semver-205145563' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 02:30:42 # -> Force: false 02:30:42 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 02:30:42 $ docker exec --env ******** --env ******** f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d ssh-agent -k 02:30:42 unset SSH_AUTH_SOCK; 02:30:42 unset SSH_AGENT_PID; 02:30:42 echo Agent pid 58 killed; 02:30:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:42 + git semver [Pipeline] } 02:30:42 $ docker stop --time=1 f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d 02:30:43 $ docker rm -f f55df96cf1f483a7d6e74a3e9c760bdfde9552ef968fbde6eb4da6e593156f4d [Pipeline] // withDockerContainer [Pipeline] sh 02:30:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:44 Stashed 1 file(s) [Pipeline] echo 02:30:44 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:44 provisioning config files... 02:30:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4800234540541833647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:44 ---> docker-login.sh 02:30:44 nexus3.edgexfoundry.org:10001 02:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:44 Configure a credential helper to remove this warning. See 02:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:44 02:30:44 Login Succeeded 02:30:44 nexus3.edgexfoundry.org:10002 02:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:45 Configure a credential helper to remove this warning. See 02:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:45 02:30:45 Login Succeeded 02:30:45 nexus3.edgexfoundry.org:10003 02:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:45 Configure a credential helper to remove this warning. See 02:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:45 02:30:45 Login Succeeded 02:30:45 nexus3.edgexfoundry.org:10004 02:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:45 Configure a credential helper to remove this warning. See 02:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:45 02:30:45 Login Succeeded 02:30:45 docker.io 02:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:30:45 Configure a credential helper to remove this warning. See 02:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:30:45 02:30:45 Login Succeeded 02:30:45 ---> docker-login.sh ends [Pipeline] } 02:30:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:30:45 ========================================================= 02:30:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:30:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:30:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:30:46 Sending build context to Docker daemon 22.88MB 02:30:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:30:46 Step 2/12 : FROM ${BASE} AS builder 02:30:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:30:46 59bf1c3509f3: Pulling fs layer 02:30:46 666ba61612fd: Pulling fs layer 02:30:46 8ed8ca486205: Pulling fs layer 02:30:46 4fe6c5a15a65: Pulling fs layer 02:30:46 22a0e8bec74d: Pulling fs layer 02:30:46 ca2b28591e48: Pulling fs layer 02:30:46 a51346096db8: Pulling fs layer 02:30:46 daebc70d1ce1: Pulling fs layer 02:30:46 0e18a0eac166: Pulling fs layer 02:30:46 4fe6c5a15a65: Waiting 02:30:46 22a0e8bec74d: Waiting 02:30:46 ca2b28591e48: Waiting 02:30:46 a51346096db8: Waiting 02:30:46 daebc70d1ce1: Waiting 02:30:46 0e18a0eac166: Waiting 02:30:46 8ed8ca486205: Download complete 02:30:46 666ba61612fd: Download complete 02:30:46 22a0e8bec74d: Verifying Checksum 02:30:46 ca2b28591e48: Download complete 02:30:46 59bf1c3509f3: Verifying Checksum 02:30:46 59bf1c3509f3: Download complete 02:30:46 a51346096db8: Verifying Checksum 02:30:46 a51346096db8: Download complete 02:30:46 daebc70d1ce1: Download complete 02:30:46 59bf1c3509f3: Pull complete 02:30:46 666ba61612fd: Pull complete 02:30:46 8ed8ca486205: Pull complete 02:30:46 0e18a0eac166: Verifying Checksum 02:30:46 0e18a0eac166: Download complete 02:30:47 4fe6c5a15a65: Download complete 02:30:51 4fe6c5a15a65: Pull complete 02:30:51 22a0e8bec74d: Pull complete 02:30:51 ca2b28591e48: Pull complete 02:30:51 a51346096db8: Pull complete 02:30:51 daebc70d1ce1: Pull complete 02:30:53 0e18a0eac166: Pull complete 02:30:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:30:53 ---> f018257e8ee9 02:30:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:30:55 ---> Running in 2f45e835f9e4 02:30:55 Removing intermediate container 2f45e835f9e4 02:30:55 ---> 4ada1ed6a4e6 02:30:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:30:55 ---> Running in c4218a54b998 02:30:55 Removing intermediate container c4218a54b998 02:30:55 ---> 399ab178aa13 02:30:55 Step 5/12 : WORKDIR /device-virtual-go 02:30:55 ---> Running in f460649eafc4 02:30:55 Removing intermediate container f460649eafc4 02:30:55 ---> e8eacf17d805 02:30:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:30:55 ---> Running in 3c4da62f9a4c 02:30:56 Removing intermediate container 3c4da62f9a4c 02:30:56 ---> 1cad9e17ff50 02:30:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:56 ---> Running in f7fc2c0cddd0 02:30:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:30:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:30:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:30:57 (2/4) Installing libedit (20210910.3.1-r0) 02:30:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:30:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:30:57 Executing busybox-1.34.1-r3.trigger 02:30:57 OK: 224 MiB in 56 packages 02:30:58 Removing intermediate container f7fc2c0cddd0 02:30:58 ---> 5985a30597f0 02:30:58 Step 8/12 : COPY go.mod vendor* ./ 02:30:58 ---> 3e138ead1a7a 02:30:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:58 ---> Running in d6db369ad995 02:30:59 Still waiting to schedule task 02:30:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:31:13 Removing intermediate container d6db369ad995 02:31:13 ---> 02d1562ac9a5 02:31:13 Step 10/12 : COPY . . 02:31:13 ---> ed9a200e0778 02:31:13 Step 11/12 : ARG MAKE='make build' 02:31:13 ---> Running in c4466a0464c4 02:31:13 Removing intermediate container c4466a0464c4 02:31:13 ---> 204d486f8d8b 02:31:13 Step 12/12 : RUN $MAKE 02:31:13 ---> Running in 46548ba146db 02:31:13 noop 02:31:13 Removing intermediate container 46548ba146db 02:31:13 ---> 86c6860a8b94 02:31:13 Successfully built 86c6860a8b94 02:31:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:31:14 + docker inspect -f . ci-base-image-x86_64 02:31:14 . [Pipeline] withDockerContainer 02:31:14 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:31:14 $ 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 02:31:14 $ docker top 23677f079b343f5e6d169fb42a161a367840f3105717967fdd0d557b48571717 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:15 + go version 02:31:15 go version go1.17.6 linux/amd64 [Pipeline] } 02:31:15 $ docker stop --time=1 23677f079b343f5e6d169fb42a161a367840f3105717967fdd0d557b48571717 02:31:16 $ docker rm -f 23677f079b343f5e6d169fb42a161a367840f3105717967fdd0d557b48571717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:31:16 + docker inspect -f . ci-base-image-x86_64 02:31:16 . [Pipeline] withDockerContainer 02:31:16 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:31:16 $ 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 02:31:17 $ docker top 938e230cc699d5fd4c514887813fb8e9031d9361ee762acc3a7a66a0213369a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:31:17 + make test 02:31:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:31:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:31:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:31:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 02:31:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:31:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:38 ./bin/test-attribution-txt.sh [Pipeline] echo 02:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:31:39 $ docker stop --time=1 938e230cc699d5fd4c514887813fb8e9031d9361ee762acc3a7a66a0213369a2 02:31:41 $ docker rm -f 938e230cc699d5fd4c514887813fb8e9031d9361ee762acc3a7a66a0213369a2 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:43 + ls -al . 02:31:43 total 184 02:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 02:31 . 02:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 02:30 .. 02:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 02:30 .git 02:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 02:30 .github 02:31:43 -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 02:30 .gitignore 02:31:43 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 02:30 .golangci.yml 02:31:43 drwx------ 3 jenkins jenkins 4096 Apr 26 02:30 .semver 02:31:43 -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 02:30 Attribution.txt 02:31:43 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 02:30 CHANGELOG.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 02:30 Dockerfile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 02:30 GOVERNANCE.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 02:30 Jenkinsfile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 02:30 LICENSE 02:31:43 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 02:30 Makefile 02:31:43 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 02:30 OWNERS.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 02:30 README.md 02:31:43 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 02:30 VERSION 02:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 02:30 bin 02:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 02:30 cmd 02:31:43 -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 02:31 coverage.out 02:31:43 -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 02:30 go.mod 02:31:43 -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 02:30 go.sum 02:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 02:30 internal 02:31:43 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 02:30 version.go [Pipeline] isUnix [Pipeline] sh 02:31:43 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 --label arch=amd64 --label version=2.2.0-dev.14 . 02:31:43 Sending build context to Docker daemon 22.92MB 02:31:43 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:31:43 Step 2/26 : FROM ${BASE} AS builder 02:31:43 ---> 86c6860a8b94 02:31:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:31:43 ---> Running in 0d085148dbf6 02:31:43 Removing intermediate container 0d085148dbf6 02:31:43 ---> 56a1e6d69f82 02:31:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:31:43 ---> Running in a979ba092751 02:31:43 Removing intermediate container a979ba092751 02:31:43 ---> a80af3e568b8 02:31:43 Step 5/26 : WORKDIR /device-virtual-go 02:31:43 ---> Running in 4404df856b5a 02:31:43 Removing intermediate container 4404df856b5a 02:31:43 ---> ac9ba36f518c 02:31:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:43 ---> Running in 9b23b7bd6f2a 02:31:44 Removing intermediate container 9b23b7bd6f2a 02:31:44 ---> 1842ec6800c1 02:31:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:44 ---> Running in 34e299d0e641 02:31:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:31:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:31:45 OK: 224 MiB in 56 packages 02:31:46 Removing intermediate container 34e299d0e641 02:31:46 ---> 3920ab8486b2 02:31:46 Step 8/26 : COPY go.mod vendor* ./ 02:31:46 ---> e229f4606ca5 02:31:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:46 ---> Running in ce660713cf6c 02:31:46 Removing intermediate container ce660713cf6c 02:31:46 ---> d3129d8eaac5 02:31:46 Step 10/26 : COPY . . 02:31:47 ---> 8b130722c3f5 02:31:47 Step 11/26 : ARG MAKE='make build' 02:31:47 ---> Running in f2603c40ef0e 02:31:47 Removing intermediate container f2603c40ef0e 02:31:47 ---> 6aa517505de9 02:31:47 Step 12/26 : RUN $MAKE 02:31:47 ---> Running in 31ee747c7af7 02:31:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 02:32:10 Removing intermediate container 31ee747c7af7 02:32:10 ---> 3828ce82f685 02:32:10 Step 13/26 : FROM alpine:3.14 02:32:10 3.14: Pulling from library/alpine 02:32:10 8663204ce13b: Pulling fs layer 02:32:10 8663204ce13b: Verifying Checksum 02:32:10 8663204ce13b: Download complete 02:32:10 8663204ce13b: Pull complete 02:32:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:32:10 Status: Downloaded newer image for alpine:3.14 02:32:10 ---> e04c818066af 02:32:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:32:10 ---> Running in 7b53cab0eb44 02:32:10 Removing intermediate container 7b53cab0eb44 02:32:10 ---> 7ca039079a33 02:32:10 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:10 ---> Running in cbbe152e822d 02:32:10 Removing intermediate container cbbe152e822d 02:32:10 ---> 940f3f84d0b8 02:32:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:32:10 ---> Running in 1bbd51afc471 02:32:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:32:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:32:10 (1/6) Installing dumb-init (1.2.5-r1) 02:32:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:32:11 (3/6) Installing libsodium (1.0.18-r0) 02:32:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:32:11 (5/6) Installing libzmq (4.3.4-r0) 02:32:11 (6/6) Installing zeromq (4.3.4-r0) 02:32:11 Executing busybox-1.33.1-r7.trigger 02:32:11 OK: 8 MiB in 20 packages 02:32:12 Removing intermediate container 1bbd51afc471 02:32:12 ---> 914f9110b16b 02:32:12 Step 17/26 : WORKDIR / 02:32:12 ---> Running in c478fe443b90 02:32:12 Removing intermediate container c478fe443b90 02:32:12 ---> 1667fb93a41a 02:32:12 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:32:12 ---> 9975ac47ab26 02:32:12 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:32:12 ---> 52b3c72815d2 02:32:12 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:32:13 ---> e921cbd3997b 02:32:13 Step 21/26 : EXPOSE 59900 02:32:13 ---> Running in b6ca979632e3 02:32:13 Removing intermediate container b6ca979632e3 02:32:13 ---> ff53255cdbc5 02:32:13 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:32:13 ---> Running in 73340c50aa32 02:32:13 Removing intermediate container 73340c50aa32 02:32:13 ---> f0f64cb64d22 02:32:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:32:13 ---> Running in fcc1766e082a 02:32:13 Removing intermediate container fcc1766e082a 02:32:13 ---> 74d124a05592 02:32:13 Step 24/26 : LABEL arch=amd64 02:32:13 ---> Running in fc40a49a68a0 02:32:14 Removing intermediate container fc40a49a68a0 02:32:14 ---> 4da0ef0897b0 02:32:14 Step 25/26 : LABEL git_sha=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:32:14 ---> Running in 2ec4a176d669 02:32:14 Removing intermediate container 2ec4a176d669 02:32:14 ---> 5787a9fdc899 02:32:14 Step 26/26 : LABEL version=2.2.0-dev.14 02:32:14 ---> Running in 544395a7064c 02:32:14 Removing intermediate container 544395a7064c 02:32:14 ---> 0eda30fae26a 02:32:14 [Warning] One or more build-args [ARCH] were not consumed 02:32:14 Successfully built 0eda30fae26a 02:32:14 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:14 provisioning config files... 02:32:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8009158324696816723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:14 ---> docker-login.sh 02:32:14 nexus3.edgexfoundry.org:10001 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:14 Configure a credential helper to remove this warning. See 02:32:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:14 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10002 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:14 Configure a credential helper to remove this warning. See 02:32:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:14 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10003 02:32:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:14 Configure a credential helper to remove this warning. See 02:32:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:14 02:32:14 Login Succeeded 02:32:14 nexus3.edgexfoundry.org:10004 02:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:15 Configure a credential helper to remove this warning. See 02:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:15 02:32:15 Login Succeeded 02:32:15 docker.io 02:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:15 Configure a credential helper to remove this warning. See 02:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:15 02:32:15 Login Succeeded 02:32:15 ---> docker-login.sh ends [Pipeline] } 02:32:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:15 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:32:15 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:32:15 latest 02:32:15 2.2.0-dev.14 02:32:15 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:32:15 main 02:32:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:32:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] isUnix [Pipeline] sh 02:32:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:32:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:32:16 a3bb44b680f1: Preparing 02:32:16 c706dfc1b434: Preparing 02:32:16 674918bb0598: Preparing 02:32:16 6420249c74f5: Preparing 02:32:16 fe7a871b625d: Preparing 02:32:16 b541d28bf3b4: Preparing 02:32:16 b541d28bf3b4: Waiting 02:32:16 674918bb0598: Pushed 02:32:16 c706dfc1b434: Pushed 02:32:16 fe7a871b625d: Pushed 02:32:16 b541d28bf3b4: Layer already exists 02:32:16 6420249c74f5: Pushed 02:32:19 a3bb44b680f1: Pushed 02:32:19 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5: digest: sha256:6ff26712ad9afef07dbd264352ec25a7bf3309f85e22fe1aefc77aa9e120424f size: 1574 [Pipeline] isUnix [Pipeline] sh 02:32:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 02:32:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:32:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:32:19 a3bb44b680f1: Preparing 02:32:19 c706dfc1b434: Preparing 02:32:19 674918bb0598: Preparing 02:32:19 6420249c74f5: Preparing 02:32:19 fe7a871b625d: Preparing 02:32:19 b541d28bf3b4: Preparing 02:32:19 b541d28bf3b4: Waiting 02:32:19 c706dfc1b434: Layer already exists 02:32:19 a3bb44b680f1: Layer already exists 02:32:19 674918bb0598: Layer already exists 02:32:19 6420249c74f5: Layer already exists 02:32:19 fe7a871b625d: Layer already exists 02:32:19 b541d28bf3b4: Layer already exists 02:32:19 latest: digest: sha256:6ff26712ad9afef07dbd264352ec25a7bf3309f85e22fe1aefc77aa9e120424f size: 1574 [Pipeline] isUnix [Pipeline] sh 02:32:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 02:32:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.14 02:32:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:32:20 a3bb44b680f1: Preparing 02:32:20 c706dfc1b434: Preparing 02:32:20 674918bb0598: Preparing 02:32:20 6420249c74f5: Preparing 02:32:20 fe7a871b625d: Preparing 02:32:20 b541d28bf3b4: Preparing 02:32:20 b541d28bf3b4: Waiting 02:32:20 a3bb44b680f1: Layer already exists 02:32:20 fe7a871b625d: Layer already exists 02:32:20 c706dfc1b434: Layer already exists 02:32:20 6420249c74f5: Layer already exists 02:32:20 674918bb0598: Layer already exists 02:32:20 b541d28bf3b4: Layer already exists 02:32:20 2.2.0-dev.14: digest: sha256:6ff26712ad9afef07dbd264352ec25a7bf3309f85e22fe1aefc77aa9e120424f size: 1574 [Pipeline] isUnix [Pipeline] sh 02:32:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 02:32:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:32:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:32:20 a3bb44b680f1: Preparing 02:32:20 c706dfc1b434: Preparing 02:32:20 674918bb0598: Preparing 02:32:20 6420249c74f5: Preparing 02:32:20 fe7a871b625d: Preparing 02:32:20 b541d28bf3b4: Preparing 02:32:20 c706dfc1b434: Layer already exists 02:32:20 fe7a871b625d: Layer already exists 02:32:20 6420249c74f5: Layer already exists 02:32:20 674918bb0598: Layer already exists 02:32:20 a3bb44b680f1: Layer already exists 02:32:20 b541d28bf3b4: Layer already exists 02:32:20 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14: digest: sha256:6ff26712ad9afef07dbd264352ec25a7bf3309f85e22fe1aefc77aa9e120424f size: 1574 [Pipeline] isUnix [Pipeline] sh 02:32:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 02:32:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 02:32:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:32:21 a3bb44b680f1: Preparing 02:32:21 c706dfc1b434: Preparing 02:32:21 674918bb0598: Preparing 02:32:21 6420249c74f5: Preparing 02:32:21 fe7a871b625d: Preparing 02:32:21 b541d28bf3b4: Preparing 02:32:21 b541d28bf3b4: Waiting 02:32:21 674918bb0598: Layer already exists 02:32:21 a3bb44b680f1: Layer already exists 02:32:21 fe7a871b625d: Layer already exists 02:32:21 6420249c74f5: Layer already exists 02:32:21 c706dfc1b434: Layer already exists 02:32:21 b541d28bf3b4: Layer already exists 02:32:21 main: digest: sha256:6ff26712ad9afef07dbd264352ec25a7bf3309f85e22fe1aefc77aa9e120424f size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:21 ===================================================== [Pipeline] echo 02:32:21 taggedImages: 02:32:21 - nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:32:21 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:32:21 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.14 02:32:21 - nexus3.edgexfoundry.org:10004/device-virtual:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:32:21 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:32:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:21 02:32:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:22 latest: Pulling from edgex-lftools-log-publisher 02:32:22 5eb5b503b376: Pulling fs layer 02:32:22 5c69ac0246d0: Pulling fs layer 02:32:22 ec43610c2a17: Pulling fs layer 02:32:22 3a2ae6a8a46f: Pulling fs layer 02:32:22 33b1e0a273af: Pulling fs layer 02:32:22 5d3b04190fa2: Pulling fs layer 02:32:22 2f39f015ded8: Pulling fs layer 02:32:22 5d3b04190fa2: Waiting 02:32:22 33b1e0a273af: Waiting 02:32:22 2f39f015ded8: Waiting 02:32:22 3a2ae6a8a46f: Waiting 02:32:22 5c69ac0246d0: Download complete 02:32:22 3a2ae6a8a46f: Verifying Checksum 02:32:22 3a2ae6a8a46f: Download complete 02:32:22 33b1e0a273af: Verifying Checksum 02:32:22 33b1e0a273af: Download complete 02:32:22 ec43610c2a17: Verifying Checksum 02:32:22 ec43610c2a17: Download complete 02:32:22 5d3b04190fa2: Download complete 02:32:22 5eb5b503b376: Verifying Checksum 02:32:22 5eb5b503b376: Download complete 02:32:22 2f39f015ded8: Verifying Checksum 02:32:22 2f39f015ded8: Download complete 02:32:23 5eb5b503b376: Pull complete 02:32:23 5c69ac0246d0: Pull complete 02:32:24 ec43610c2a17: Pull complete 02:32:24 3a2ae6a8a46f: Pull complete 02:32:24 33b1e0a273af: Pull complete 02:32:24 5d3b04190fa2: Pull complete 02:32:29 2f39f015ded8: Pull complete 02:32:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:32:30 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:32:30 $ 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 02:32:31 $ docker top c4cd285a7a4b3b928a76dfc897a02d304fa960e4b1b9315e9b95979cae177cc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:32 ---> job-cost.sh 02:32:32 lf-activate-venv: SKIPPING 02:32:32 INFO: No Stack... 02:32:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:33 INFO: Archiving Costs [Pipeline] sh 02:32:33 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 02:32:33 + cut -d, -f6 [Pipeline] lock 02:32:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] 02:32:33 Resource [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] did not exist. Created. 02:32:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:33 Stashed 1 file(s) [Pipeline] } 02:32:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:33 $ docker stop --time=1 c4cd285a7a4b3b928a76dfc897a02d304fa960e4b1b9315e9b95979cae177cc2 02:32:35 $ docker rm -f c4cd285a7a4b3b928a76dfc897a02d304fa960e4b1b9315e9b95979cae177cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:32:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23557 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 02:32:37 Running in /w/workspace/device-virtual-go/30 [Pipeline] { [Pipeline] checkout 02:32:37 The recommended git tool is: git 02:32:44 using credential edgex-jenkins-ssh 02:32:44 Cloning the remote Git repository 02:32:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:32:44 > git init /w/workspace/device-virtual-go/30 # timeout=10 02:32:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:32:44 > git --version # timeout=10 02:32:44 > git --version # 'git version 2.25.1' 02:32:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:32:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:47 Avoid second fetch 02:32:47 Checking out Revision a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 (main) 02:32:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:32:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:47 > git config core.sparsecheckout # timeout=10 02:32:47 > git checkout -f a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 02:32:51 Commit message: "Merge pull request #281 from jinlinGuan/issue-280" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:32:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:32:52 Dload Upload Total Spent Left Speed 02:32:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 02:32:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:32:52 + sudo tee /etc/docker/daemon.new 02:32:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:32:52 { 02:32:52 "registry-mirrors": [ 02:32:52 "https://nexus3.edgexfoundry.org:10001" 02:32:52 ], 02:32:52 "bip": "10.250.0.254/24", 02:32:52 "hosts": [ 02:32:52 "tcp://0.0.0.0:5555", 02:32:52 "unix:///var/run/docker.sock" 02:32:52 ], 02:32:52 "mtu": 1458, 02:32:52 "selinux-enabled": true, 02:32:52 "seccomp-profile": "/etc/docker/seccomp.json" 02:32:52 } [Pipeline] sh 02:32:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:32:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:12 provisioning config files... 02:33:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config6986882511564021933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:12 ---> docker-login.sh 02:33:12 nexus3.edgexfoundry.org:10001 02:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:13 Configure a credential helper to remove this warning. See 02:33:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:13 02:33:13 Login Succeeded 02:33:13 nexus3.edgexfoundry.org:10002 02:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:14 Configure a credential helper to remove this warning. See 02:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:14 02:33:14 Login Succeeded 02:33:14 nexus3.edgexfoundry.org:10003 02:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:14 Configure a credential helper to remove this warning. See 02:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:14 02:33:14 Login Succeeded 02:33:14 nexus3.edgexfoundry.org:10004 02:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:14 Configure a credential helper to remove this warning. See 02:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:14 02:33:14 Login Succeeded 02:33:14 docker.io 02:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:15 Configure a credential helper to remove this warning. See 02:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:15 02:33:15 Login Succeeded 02:33:15 ---> docker-login.sh ends [Pipeline] } 02:33:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:16 ========================================================= 02:33:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:33:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:33:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:33:16 Sending build context to Docker daemon 11.57MB 02:33:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:33:16 Step 2/12 : FROM ${BASE} AS builder 02:33:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:33:16 9b3977197b4f: Pulling fs layer 02:33:16 1a89e8eeedd5: Pulling fs layer 02:33:16 94645a83ff95: Pulling fs layer 02:33:16 3f3a8bcf1eab: Pulling fs layer 02:33:16 0c92f367c5e7: Pulling fs layer 02:33:16 3096ccb668a1: Pulling fs layer 02:33:16 e8cf19c19ddd: Pulling fs layer 02:33:16 a4caa8a26152: Pulling fs layer 02:33:16 3096ccb668a1: Waiting 02:33:16 e8cf19c19ddd: Waiting 02:33:16 a4caa8a26152: Waiting 02:33:16 0c92f367c5e7: Waiting 02:33:16 3f3a8bcf1eab: Waiting 02:33:16 94645a83ff95: Verifying Checksum 02:33:16 94645a83ff95: Download complete 02:33:16 1a89e8eeedd5: Verifying Checksum 02:33:16 1a89e8eeedd5: Download complete 02:33:16 0c92f367c5e7: Verifying Checksum 02:33:16 0c92f367c5e7: Download complete 02:33:16 3096ccb668a1: Verifying Checksum 02:33:16 3096ccb668a1: Download complete 02:33:16 9b3977197b4f: Download complete 02:33:17 e8cf19c19ddd: Verifying Checksum 02:33:17 e8cf19c19ddd: Download complete 02:33:17 9b3977197b4f: Pull complete 02:33:18 1a89e8eeedd5: Pull complete 02:33:18 94645a83ff95: Pull complete 02:33:19 a4caa8a26152: Verifying Checksum 02:33:19 3f3a8bcf1eab: Download complete 02:33:32 3f3a8bcf1eab: Pull complete 02:33:32 0c92f367c5e7: Pull complete 02:33:32 3096ccb668a1: Pull complete 02:33:32 e8cf19c19ddd: Pull complete 02:33:39 a4caa8a26152: Pull complete 02:33:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:33:39 ---> 725f1c02e7f9 02:33:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:33:40 ---> Running in 09b9f2b1b537 02:33:40 Removing intermediate container 09b9f2b1b537 02:33:40 ---> b51beca8e2d3 02:33:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:33:40 ---> Running in 288d47c50bda 02:33:40 Removing intermediate container 288d47c50bda 02:33:40 ---> e8ab66d57131 02:33:40 Step 5/12 : WORKDIR /device-virtual-go 02:33:40 ---> Running in 96eeef3cc84a 02:33:41 Removing intermediate container 96eeef3cc84a 02:33:41 ---> b532a3f19d94 02:33:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:33:41 ---> Running in 8130056637d4 02:33:43 Removing intermediate container 8130056637d4 02:33:43 ---> 1940fee37aa1 02:33:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:43 ---> Running in 140b3c0ab736 02:33:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:33:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:33:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:33:46 (2/4) Installing libedit (20210910.3.1-r0) 02:33:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:33:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:33:46 Executing busybox-1.34.1-r3.trigger 02:33:46 OK: 224 MiB in 56 packages 02:33:47 Removing intermediate container 140b3c0ab736 02:33:47 ---> df2cf25d4690 02:33:47 Step 8/12 : COPY go.mod vendor* ./ 02:33:47 ---> c7044a8045c1 02:33:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:47 ---> Running in d37611b719ed 02:34:35 Removing intermediate container d37611b719ed 02:34:35 ---> 2f151c49057c 02:34:35 Step 10/12 : COPY . . 02:34:35 ---> 44f2758dfaf3 02:34:35 Step 11/12 : ARG MAKE='make build' 02:34:35 ---> Running in c688d4c7037d 02:34:35 Removing intermediate container c688d4c7037d 02:34:35 ---> 9887f7c6db1a 02:34:35 Step 12/12 : RUN $MAKE 02:34:35 ---> Running in d17eabec3aa4 02:34:35 noop 02:34:35 Removing intermediate container d17eabec3aa4 02:34:35 ---> a522de224c13 02:34:35 Successfully built a522de224c13 02:34:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:34:35 + docker inspect -f . ci-base-image-arm64 02:34:35 . [Pipeline] withDockerContainer 02:34:35 prd-ubuntu20.04-docker-arm64-4c-16g-23557 does not seem to be running inside a container 02:34:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/30 -v /w/workspace/device-virtual-go/30:/w/workspace/device-virtual-go/30:rw,z -v /w/workspace/device-virtual-go/30@tmp:/w/workspace/device-virtual-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:34:36 $ docker top 80621a58e7706201fcc856bc716ceac3d260b61c95de102fa64396a5964d0634 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:37 + go version 02:34:37 go version go1.17.6 linux/arm64 [Pipeline] } 02:34:37 $ docker stop --time=1 80621a58e7706201fcc856bc716ceac3d260b61c95de102fa64396a5964d0634 02:34:39 $ docker rm -f 80621a58e7706201fcc856bc716ceac3d260b61c95de102fa64396a5964d0634 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:34:40 + docker inspect -f . ci-base-image-arm64 02:34:40 . [Pipeline] withDockerContainer 02:34:40 prd-ubuntu20.04-docker-arm64-4c-16g-23557 does not seem to be running inside a container 02:34:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/30 -v /w/workspace/device-virtual-go/30:/w/workspace/device-virtual-go/30:rw,z -v /w/workspace/device-virtual-go/30@tmp:/w/workspace/device-virtual-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:34:41 $ docker top 222ad7ff8bb96a73f993852af5a322b8ebd0b15ee058ffcc15a4f97d88b04911 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:34:42 + make test 02:34:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:34:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:36:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:36:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements 02:36:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:36:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:36:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:36:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:36:33 ./bin/test-attribution-txt.sh [Pipeline] echo 02:36:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:36:36 $ docker stop --time=1 222ad7ff8bb96a73f993852af5a322b8ebd0b15ee058ffcc15a4f97d88b04911 02:36:37 $ docker rm -f 222ad7ff8bb96a73f993852af5a322b8ebd0b15ee058ffcc15a4f97d88b04911 [Pipeline] // withDockerContainer [Pipeline] sh 02:36:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:36:38 Warning: overwriting stash ‘coverage-report’ 02:36:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:36:40 + ls -al . 02:36:40 total 180 02:36:40 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 02:36 . 02:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 02:32 .. 02:36:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 02:32 .git 02:36:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 02:32 .github 02:36:40 -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 02:32 .gitignore 02:36:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 02:32 .golangci.yml 02:36:40 -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 02:32 Attribution.txt 02:36:40 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 02:32 CHANGELOG.md 02:36:40 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 02:32 Dockerfile 02:36:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 02:32 GOVERNANCE.md 02:36:40 -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 02:32 Jenkinsfile 02:36:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 02:32 LICENSE 02:36:40 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 02:32 Makefile 02:36:40 -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 02:32 OWNERS.md 02:36:40 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 02:32 README.md 02:36:40 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 02:30 VERSION 02:36:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 02:32 bin 02:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 02:32 cmd 02:36:40 -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 02:36 coverage.out 02:36:40 -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 02:32 go.mod 02:36:40 -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 02:32 go.sum 02:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 02:32 internal 02:36:40 -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 02:32 version.go [Pipeline] isUnix [Pipeline] sh 02:36:40 + 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=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 --label arch=arm64 --label version=2.2.0-dev.14 . 02:36:41 Sending build context to Docker daemon 11.62MB 02:36:41 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:36:41 Step 2/26 : FROM ${BASE} AS builder 02:36:41 ---> a522de224c13 02:36:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:36:41 ---> Running in e7e7cd1e19b0 02:36:41 Removing intermediate container e7e7cd1e19b0 02:36:41 ---> 82e32c4f70b8 02:36:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:36:41 ---> Running in 4aff4ecf1597 02:36:41 Removing intermediate container 4aff4ecf1597 02:36:41 ---> 290409626eea 02:36:41 Step 5/26 : WORKDIR /device-virtual-go 02:36:41 ---> Running in 514274b0cfa7 02:36:42 Removing intermediate container 514274b0cfa7 02:36:42 ---> e28863d6609a 02:36:42 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:36:42 ---> Running in 18c67e28a151 02:36:44 Removing intermediate container 18c67e28a151 02:36:44 ---> 6a5b2ae83a32 02:36:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:44 ---> Running in 9e9c44eb51f2 02:36:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:36:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:36:46 OK: 224 MiB in 56 packages 02:36:47 Removing intermediate container 9e9c44eb51f2 02:36:47 ---> 8f401f0983ac 02:36:47 Step 8/26 : COPY go.mod vendor* ./ 02:36:47 ---> 6a389a6bf8d2 02:36:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:48 ---> Running in 8b4a524cf3ab 02:36:50 Removing intermediate container 8b4a524cf3ab 02:36:50 ---> ca6e099d6d82 02:36:50 Step 10/26 : COPY . . 02:36:51 ---> f6a341c54198 02:36:51 Step 11/26 : ARG MAKE='make build' 02:36:51 ---> Running in 81ba76e846ab 02:36:51 Removing intermediate container 81ba76e846ab 02:36:51 ---> 95b5789d1189 02:36:51 Step 12/26 : RUN $MAKE 02:36:51 ---> Running in bae9a9d5bb32 02:36:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 02:38:59 Removing intermediate container bae9a9d5bb32 02:38:59 ---> 3adf8da08578 02:38:59 Step 13/26 : FROM alpine:3.14 02:38:59 3.14: Pulling from library/alpine 02:38:59 455c02918c45: Pulling fs layer 02:38:59 455c02918c45: Verifying Checksum 02:38:59 455c02918c45: Download complete 02:38:59 455c02918c45: Pull complete 02:38:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:38:59 Status: Downloaded newer image for alpine:3.14 02:38:59 ---> ac73e934f311 02:38:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:38:59 ---> Running in a279593e7b93 02:38:59 Removing intermediate container a279593e7b93 02:38:59 ---> 41851d5e990f 02:38:59 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:38:59 ---> Running in c1eab41733e8 02:39:00 Removing intermediate container c1eab41733e8 02:39:00 ---> b2c0c8adf37e 02:39:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:39:00 ---> Running in 8d868091c34a 02:39:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:39:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:39:02 (1/6) Installing dumb-init (1.2.5-r1) 02:39:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:39:03 (3/6) Installing libsodium (1.0.18-r0) 02:39:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:39:03 (5/6) Installing libzmq (4.3.4-r0) 02:39:03 (6/6) Installing zeromq (4.3.4-r0) 02:39:03 Executing busybox-1.33.1-r7.trigger 02:39:03 OK: 8 MiB in 20 packages 02:39:04 Removing intermediate container 8d868091c34a 02:39:04 ---> a0f34381f579 02:39:04 Step 17/26 : WORKDIR / 02:39:04 ---> Running in 5e1ae15c7ae1 02:39:04 Removing intermediate container 5e1ae15c7ae1 02:39:04 ---> 3c3fb857f172 02:39:04 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:39:05 ---> 4b6cb18d146b 02:39:05 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:39:05 ---> c5991daf8958 02:39:05 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:39:07 ---> f47600d51e3a 02:39:07 Step 21/26 : EXPOSE 59900 02:39:07 ---> Running in 361fe22b6f1e 02:39:07 Removing intermediate container 361fe22b6f1e 02:39:07 ---> a37afce12561 02:39:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:39:07 ---> Running in 3e2190599f6f 02:39:08 Removing intermediate container 3e2190599f6f 02:39:08 ---> c5f66cdacf26 02:39:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:39:08 ---> Running in cae8f051ecb4 02:39:08 Removing intermediate container cae8f051ecb4 02:39:08 ---> fd3e14b0d9ac 02:39:08 Step 24/26 : LABEL arch=arm64 02:39:08 ---> Running in ea39bea181fe 02:39:08 Removing intermediate container ea39bea181fe 02:39:08 ---> 3d094689b446 02:39:08 Step 25/26 : LABEL git_sha=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:39:09 ---> Running in c69aa3e87cc0 02:39:09 Removing intermediate container c69aa3e87cc0 02:39:09 ---> 26f7c49aee7b 02:39:09 Step 26/26 : LABEL version=2.2.0-dev.14 02:39:09 ---> Running in 8fb3e8239893 02:39:09 Removing intermediate container 8fb3e8239893 02:39:09 ---> f491df17a596 02:39:09 [Warning] One or more build-args [ARCH] were not consumed 02:39:09 Successfully built f491df17a596 02:39:09 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:09 provisioning config files... 02:39:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/30@tmp/config2025682538770513410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:10 ---> docker-login.sh 02:39:10 nexus3.edgexfoundry.org:10001 02:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:10 Configure a credential helper to remove this warning. See 02:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:10 02:39:10 Login Succeeded 02:39:10 nexus3.edgexfoundry.org:10002 02:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:11 Configure a credential helper to remove this warning. See 02:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:11 02:39:11 Login Succeeded 02:39:11 nexus3.edgexfoundry.org:10003 02:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:11 Configure a credential helper to remove this warning. See 02:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:11 02:39:11 Login Succeeded 02:39:11 nexus3.edgexfoundry.org:10004 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:12 Configure a credential helper to remove this warning. See 02:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:12 02:39:12 Login Succeeded 02:39:12 docker.io 02:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:13 Configure a credential helper to remove this warning. See 02:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:13 02:39:13 Login Succeeded 02:39:13 ---> docker-login.sh ends [Pipeline] } 02:39:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:13 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:39:13 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:39:13 latest 02:39:13 2.2.0-dev.14 02:39:13 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:39:13 main 02:39:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:39:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] isUnix [Pipeline] sh 02:39:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:39:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:39:14 751ce8baa3ac: Preparing 02:39:14 e8523a52983c: Preparing 02:39:14 cb327bf351f3: Preparing 02:39:14 b23bedf0e2b7: Preparing 02:39:14 d02298bd3cb9: Preparing 02:39:14 f73e7dbfee58: Preparing 02:39:14 f73e7dbfee58: Waiting 02:39:14 cb327bf351f3: Pushed 02:39:14 e8523a52983c: Pushed 02:39:14 d02298bd3cb9: Pushed 02:39:14 f73e7dbfee58: Layer already exists 02:39:14 b23bedf0e2b7: Pushed 02:39:20 751ce8baa3ac: Pushed 02:39:20 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5: digest: sha256:17dc875b713ef1c12e76f42fd674d0845388843f812cd364b37f6ac727a90b1f size: 1573 [Pipeline] isUnix [Pipeline] sh 02:39:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:39:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:39:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:39:21 751ce8baa3ac: Preparing 02:39:21 e8523a52983c: Preparing 02:39:21 cb327bf351f3: Preparing 02:39:21 b23bedf0e2b7: Preparing 02:39:21 d02298bd3cb9: Preparing 02:39:21 f73e7dbfee58: Preparing 02:39:21 f73e7dbfee58: Waiting 02:39:21 e8523a52983c: Layer already exists 02:39:21 d02298bd3cb9: Layer already exists 02:39:21 b23bedf0e2b7: Layer already exists 02:39:21 cb327bf351f3: Layer already exists 02:39:21 751ce8baa3ac: Layer already exists 02:39:21 f73e7dbfee58: Layer already exists 02:39:21 latest: digest: sha256:17dc875b713ef1c12e76f42fd674d0845388843f812cd364b37f6ac727a90b1f size: 1573 [Pipeline] isUnix [Pipeline] sh 02:39:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 02:39:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.14 02:39:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:39:22 751ce8baa3ac: Preparing 02:39:22 e8523a52983c: Preparing 02:39:22 cb327bf351f3: Preparing 02:39:22 b23bedf0e2b7: Preparing 02:39:22 d02298bd3cb9: Preparing 02:39:22 f73e7dbfee58: Preparing 02:39:22 f73e7dbfee58: Waiting 02:39:22 d02298bd3cb9: Layer already exists 02:39:22 e8523a52983c: Layer already exists 02:39:22 751ce8baa3ac: Layer already exists 02:39:22 b23bedf0e2b7: Layer already exists 02:39:22 cb327bf351f3: Layer already exists 02:39:22 f73e7dbfee58: Layer already exists 02:39:22 2.2.0-dev.14: digest: sha256:17dc875b713ef1c12e76f42fd674d0845388843f812cd364b37f6ac727a90b1f size: 1573 [Pipeline] isUnix [Pipeline] sh 02:39:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 02:39:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:39:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:39:23 751ce8baa3ac: Preparing 02:39:23 e8523a52983c: Preparing 02:39:23 cb327bf351f3: Preparing 02:39:23 b23bedf0e2b7: Preparing 02:39:23 d02298bd3cb9: Preparing 02:39:23 f73e7dbfee58: Preparing 02:39:23 f73e7dbfee58: Waiting 02:39:23 e8523a52983c: Layer already exists 02:39:23 cb327bf351f3: Layer already exists 02:39:23 751ce8baa3ac: Layer already exists 02:39:23 d02298bd3cb9: Layer already exists 02:39:23 b23bedf0e2b7: Layer already exists 02:39:23 f73e7dbfee58: Layer already exists 02:39:23 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14: digest: sha256:17dc875b713ef1c12e76f42fd674d0845388843f812cd364b37f6ac727a90b1f size: 1573 [Pipeline] isUnix [Pipeline] sh 02:39:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 02:39:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:39:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:39:23 751ce8baa3ac: Preparing 02:39:23 e8523a52983c: Preparing 02:39:23 cb327bf351f3: Preparing 02:39:23 b23bedf0e2b7: Preparing 02:39:23 d02298bd3cb9: Preparing 02:39:23 f73e7dbfee58: Preparing 02:39:23 d02298bd3cb9: Layer already exists 02:39:23 b23bedf0e2b7: Layer already exists 02:39:23 cb327bf351f3: Layer already exists 02:39:23 751ce8baa3ac: Layer already exists 02:39:23 e8523a52983c: Layer already exists 02:39:23 f73e7dbfee58: Layer already exists 02:39:24 main: digest: sha256:17dc875b713ef1c12e76f42fd674d0845388843f812cd364b37f6ac727a90b1f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:24 ===================================================== [Pipeline] echo 02:39:24 taggedImages: 02:39:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 02:39:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:39:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.14 02:39:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5-2.2.0-dev.14 02:39:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:39:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:24 02:39:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:39:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:25 arm64: Pulling from edgex-lftools-log-publisher 02:39:25 8998bd30e6a1: Pulling fs layer 02:39:25 04944245beec: Pulling fs layer 02:39:25 699f458cf7ca: Pulling fs layer 02:39:25 765212b225bb: Pulling fs layer 02:39:25 f23df028b6ca: Pulling fs layer 02:39:25 d65c8cfc05b1: Pulling fs layer 02:39:25 2437ff75d9bd: Pulling fs layer 02:39:25 765212b225bb: Waiting 02:39:25 f23df028b6ca: Waiting 02:39:25 d65c8cfc05b1: Waiting 02:39:25 2437ff75d9bd: Waiting 02:39:25 04944245beec: Verifying Checksum 02:39:25 04944245beec: Download complete 02:39:25 765212b225bb: Download complete 02:39:25 f23df028b6ca: Verifying Checksum 02:39:25 f23df028b6ca: Download complete 02:39:25 d65c8cfc05b1: Verifying Checksum 02:39:25 d65c8cfc05b1: Download complete 02:39:25 699f458cf7ca: Verifying Checksum 02:39:25 699f458cf7ca: Download complete 02:39:25 8998bd30e6a1: Verifying Checksum 02:39:25 8998bd30e6a1: Download complete 02:39:28 2437ff75d9bd: Verifying Checksum 02:39:28 2437ff75d9bd: Download complete 02:39:30 8998bd30e6a1: Pull complete 02:39:30 04944245beec: Pull complete 02:39:32 699f458cf7ca: Pull complete 02:39:32 765212b225bb: Pull complete 02:39:33 f23df028b6ca: Pull complete 02:39:33 d65c8cfc05b1: Pull complete 02:39:48 2437ff75d9bd: Pull complete 02:39:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:39:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:39:49 prd-ubuntu20.04-docker-arm64-4c-16g-23557 does not seem to be running inside a container 02:39:49 $ 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/30 -v /w/workspace/device-virtual-go/30:/w/workspace/device-virtual-go/30:rw,z -v /w/workspace/device-virtual-go/30@tmp:/w/workspace/device-virtual-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:39:52 $ docker top 317d500e0739912c5fcd661f5fb7dcfc2a7baebb2ff6ccc699850150aebfee9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:53 ---> job-cost.sh 02:39:53 lf-activate-venv: SKIPPING 02:39:53 INFO: No Stack... 02:39:54 INFO: Retrieving Pricing Info for: v3-standard-4 02:39:54 INFO: Archiving Costs [Pipeline] sh 02:39:55 + cat /w/workspace/device-virtual-go/30/archives/cost.csv 02:39:55 + cut -d, -f6 [Pipeline] lock 02:39:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] 02:39:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] did not exist. Created. 02:39:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:39:56 /w/workspace/device-virtual-go/30@tmp/durable-3872092a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:39:56 + echo total: 0.10999999940395355 [Pipeline] stash 02:39:56 Warning: overwriting stash ‘stack-cost’ 02:39:56 Stashed 1 file(s) [Pipeline] } 02:39:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 02:39:56 $ docker stop --time=1 317d500e0739912c5fcd661f5fb7dcfc2a7baebb2ff6ccc699850150aebfee9f 02:39:58 $ docker rm -f 317d500e0739912c5fcd661f5fb7dcfc2a7baebb2ff6ccc699850150aebfee9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:39:59 provisioning config files... 02:39:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2034406930885158474tmp [Pipeline] { [Pipeline] sh 02:39:59 + set +x 02:39:59 + + bash -s -- 02:39:59 curl -s https://codecov.io/bash 02:39:59 02:39:59 _____ _ 02:39:59 / ____| | | 02:39:59 | | ___ __| | ___ ___ _____ __ 02:39:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:39:59 | |___| (_) | (_| | __/ (_| (_) \ V / 02:39:59 \_____\___/ \__,_|\___|\___\___/ \_/ 02:39:59 Bash-1.0.6 02:39:59 02:39:59 02:39:59 ==> git version 2.25.1 found 02:39:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:39:59 Release-Date: 2020-01-08 02:39:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:39:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:39:59 ==> Jenkins CI detected. 02:39:59 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:39:59 project root: . 02:39:59 --> token set from env 02:39:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:39:59 ==> Running gcov in . (disable via -X gcov) 02:39:59 ==> Python coveragepy not found 02:39:59 ==> Searching for coverage reports in: 02:39:59 + . 02:39:59 -> Found 1 reports 02:39:59 ==> Detecting git/mercurial file structure 02:39:59 ==> Reading reports 02:39:59 + ./coverage.out bytes=44128 02:39:59 ==> Appending adjustments 02:39:59 https://docs.codecov.io/docs/fixing-reports 02:39:59 + Found adjustments 02:39:59 ==> Gzipping contents 02:39:59 8.0K /tmp/codecov.SDasJ0.gz 02:39:59 ==> Uploading reports 02:39:59 url: https://codecov.io 02:39:59 query: branch=main&commit=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:59 -> Pinging Codecov 02:39:59 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=a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:59 -> Uploading to 02:39:59 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/5E52B4B073DB2E39498172D8E973AA87/a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5/f71b689c-ee47-4c8f-aee1-110eddd76d83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T023959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74f6f003c8a160dcefbe4255dd2c09fec6dc9c715e84fb0f6e5fe11c1db0c71f 02:39:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:59 Dload Upload Total Spent Left Speed 02:40:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5317 0 0 100 5317 0 21702 --:--:-- --:--:-- --:--:-- 21702 02:40:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] } 02:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:40:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:40:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:00 02:40:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:40:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:40:01 188c0c94c7c5: Pulling fs layer 02:40:01 0ef7d3d256c8: Pulling fs layer 02:40:01 de9db76c5a1d: Pulling fs layer 02:40:01 0eba1c9be4d2: Pulling fs layer 02:40:01 0d57e429df01: Pulling fs layer 02:40:01 4e4be7b47b0d: Pulling fs layer 02:40:01 e1f770b5df2f: Pulling fs layer 02:40:01 85a0685a4137: Pulling fs layer 02:40:01 0d57e429df01: Waiting 02:40:01 4e4be7b47b0d: Waiting 02:40:01 e1f770b5df2f: Waiting 02:40:01 85a0685a4137: Waiting 02:40:01 0eba1c9be4d2: Waiting 02:40:01 de9db76c5a1d: Download complete 02:40:01 0ef7d3d256c8: Download complete 02:40:01 0d57e429df01: Verifying Checksum 02:40:01 0d57e429df01: Download complete 02:40:01 4e4be7b47b0d: Download complete 02:40:01 188c0c94c7c5: Download complete 02:40:01 188c0c94c7c5: Pull complete 02:40:01 e1f770b5df2f: Verifying Checksum 02:40:01 e1f770b5df2f: Download complete 02:40:01 0ef7d3d256c8: Pull complete 02:40:01 de9db76c5a1d: Pull complete 02:40:02 85a0685a4137: Verifying Checksum 02:40:02 85a0685a4137: Download complete 02:40:02 0eba1c9be4d2: Verifying Checksum 02:40:02 0eba1c9be4d2: Download complete 02:40:05 0eba1c9be4d2: Pull complete 02:40:05 0d57e429df01: Pull complete 02:40:05 4e4be7b47b0d: Pull complete 02:40:06 e1f770b5df2f: Pull complete 02:40:09 85a0685a4137: Pull complete 02:40:09 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:40:09 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:40:12 $ docker top a697c3b66d3c46b690a9ae602edc104fcea0d91f52ff22c78f8222aecb119433 -eo pid,comm [Pipeline] { [Pipeline] echo 02:40:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:40:13 + set -o pipefail 02:40:13 + snyk monitor '--org=edgex-jenkins' 02:40:19 02:40:19 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:40:19 02:40:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/f50973c9-903f-4f8a-97ff-5525a466a499 02:40:19 02:40:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:40:19 02:40:19 [Pipeline] } 02:40:19 $ docker stop --time=1 a697c3b66d3c46b690a9ae602edc104fcea0d91f52ff22c78f8222aecb119433 02:40:22 $ docker rm -f a697c3b66d3c46b690a9ae602edc104fcea0d91f52ff22c78f8222aecb119433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:40:22 + git log --format=format:%s -1 a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 [Pipeline] sh 02:40:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:23 . [Pipeline] withDockerContainer 02:40:23 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:40:24 $ docker top 11984127f7a07492a9e68b84cf2176f401a58b57d0a3c93f99797400c3fea5e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:24 [ssh-agent] Looking for ssh-agent implementation... 02:40:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:24 $ docker exec 11984127f7a07492a9e68b84cf2176f401a58b57d0a3c93f99797400c3fea5e0 ssh-agent 02:40:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLDlfBd/agent.14 02:40:24 SSH_AGENT_PID=20 02:40:24 Running ssh-add (command line suppressed) 02:40:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6028787744286089356.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6028787744286089356.key) 02:40:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:24 + git semver tag 02:40:24 # -> Open(): unable to determine branch for HEAD 02:40:24 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:40:24 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:40:24 # $SEMVER_REMOTE_NAME = origin 02:40:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:40:24 # $SEMVER_USER_NAME = edgex-jenkins 02:40:24 # $SEMVER_BRANCH = main 02:40:24 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:40:24 # a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 HEAD 02:40:24 # -> Force: false 02:40:24 # 4aff6159c8d624cf3b667ce44b3f62b6f793cd58 refs/tags/v2.2.0-dev.14 [Pipeline] } 02:40:24 $ docker exec --env ******** --env ******** 11984127f7a07492a9e68b84cf2176f401a58b57d0a3c93f99797400c3fea5e0 ssh-agent -k 02:40:25 unset SSH_AUTH_SOCK; 02:40:25 unset SSH_AGENT_PID; 02:40:25 echo Agent pid 20 killed; 02:40:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:25 + git semver [Pipeline] } 02:40:25 $ docker stop --time=1 11984127f7a07492a9e68b84cf2176f401a58b57d0a3c93f99797400c3fea5e0 02:40:26 $ docker rm -f 11984127f7a07492a9e68b84cf2176f401a58b57d0a3c93f99797400c3fea5e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:27 02:40:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:40:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:27 0.23.1-centos7: Pulling from edgex-lftools 02:40:27 ab5ef0e58194: Pulling fs layer 02:40:27 9712f1f96733: Pulling fs layer 02:40:27 63f879dbbcfc: Pulling fs layer 02:40:27 0d9ebad4ef96: Pulling fs layer 02:40:27 e9a5061849ea: Pulling fs layer 02:40:27 d747dcd14b5f: Pulling fs layer 02:40:27 2de7ff778b66: Pulling fs layer 02:40:27 d747dcd14b5f: Waiting 02:40:27 2de7ff778b66: Waiting 02:40:27 0d9ebad4ef96: Waiting 02:40:27 9712f1f96733: Download complete 02:40:27 63f879dbbcfc: Verifying Checksum 02:40:27 63f879dbbcfc: Download complete 02:40:28 e9a5061849ea: Verifying Checksum 02:40:28 e9a5061849ea: Download complete 02:40:28 d747dcd14b5f: Verifying Checksum 02:40:28 d747dcd14b5f: Download complete 02:40:28 ab5ef0e58194: Verifying Checksum 02:40:28 ab5ef0e58194: Download complete 02:40:28 0d9ebad4ef96: Verifying Checksum 02:40:28 0d9ebad4ef96: Download complete 02:40:28 2de7ff778b66: Verifying Checksum 02:40:28 2de7ff778b66: Download complete 02:40:31 ab5ef0e58194: Pull complete 02:40:31 9712f1f96733: Pull complete 02:40:32 63f879dbbcfc: Pull complete 02:40:35 0d9ebad4ef96: Pull complete 02:40:36 e9a5061849ea: Pull complete 02:40:36 d747dcd14b5f: Pull complete 02:40:37 2de7ff778b66: Pull complete 02:40:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:40:37 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:37 $ 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 02:40:40 $ docker top 85c3fd54c7d1588fb0c363f4ea51dc28969afb695ffd3153fdbd1c938ea41cea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:40:40 provisioning config files... 02:40:40 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3886142992752208988tmp 02:40:40 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4871825885831437446tmp 02:40:40 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config829981706019708593tmp [Pipeline] { [Pipeline] echo 02:40:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:40:40 ---> sigul-configuration.sh 02:40:40 gpg: directory `/root/.gnupg' created 02:40:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:40:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:40:40 gpg: keyring `/root/.gnupg/secring.gpg' created 02:40:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:40:40 gpg: CAST5 encrypted data 02:40:40 gpg: encrypted with 1 passphrase 02:40:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:40:41 + mkdir /home/jenkins 02:40:41 + mkdir /home/jenkins/sigul [Pipeline] sh 02:40:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:40:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:40:41 ---> sigul-install.sh 02:40:41 Sigul already installed; skipping installation. [Pipeline] sh 02:40:42 + git tag --list 02:40:42 v1.0.0 02:40:42 v1.1.0 02:40:42 v1.1.1 02:40:42 v1.2.1 02:40:42 v1.2.2 02:40:42 v1.2.3 02:40:42 v1.3.0 02:40:42 v1.3.1 02:40:42 v2.0.0 02:40:42 v2.0.1-dev.1 02:40:42 v2.0.1-dev.10 02:40:42 v2.0.1-dev.11 02:40:42 v2.0.1-dev.12 02:40:42 v2.0.1-dev.13 02:40:42 v2.0.1-dev.14 02:40:42 v2.0.1-dev.15 02:40:42 v2.0.1-dev.2 02:40:42 v2.0.1-dev.3 02:40:42 v2.0.1-dev.4 02:40:42 v2.0.1-dev.5 02:40:42 v2.0.1-dev.6 02:40:42 v2.0.1-dev.7 02:40:42 v2.0.1-dev.8 02:40:42 v2.0.1-dev.9 02:40:42 v2.1.0 02:40:42 v2.2.0-dev.1 02:40:42 v2.2.0-dev.10 02:40:42 v2.2.0-dev.11 02:40:42 v2.2.0-dev.12 02:40:42 v2.2.0-dev.13 02:40:42 v2.2.0-dev.14 02:40:42 v2.2.0-dev.2 02:40:42 v2.2.0-dev.3 02:40:42 v2.2.0-dev.4 02:40:42 v2.2.0-dev.5 02:40:42 v2.2.0-dev.6 02:40:42 v2.2.0-dev.7 02:40:42 v2.2.0-dev.8 02:40:42 v2.2.0-dev.9 [Pipeline] sh 02:40:42 + lftools sign git-tag v2.2.0-dev.14 02:40:43 Signing Git tag with Sigul... 02:40:43 Signing v2.2.0-dev.14 [Pipeline] echo 02:40:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:40:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:40:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:40:43 $ docker stop --time=1 85c3fd54c7d1588fb0c363f4ea51dc28969afb695ffd3153fdbd1c938ea41cea 02:40:44 $ docker rm -f 85c3fd54c7d1588fb0c363f4ea51dc28969afb695ffd3153fdbd1c938ea41cea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:40:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:40:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:45 . [Pipeline] withDockerContainer 02:40:45 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:45 $ 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 02:40:46 $ docker top ae8058c7aa428170786fa54c355aadb73502430ff2e2cb2405dc5726b00d979c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:46 [ssh-agent] Looking for ssh-agent implementation... 02:40:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:46 $ docker exec ae8058c7aa428170786fa54c355aadb73502430ff2e2cb2405dc5726b00d979c ssh-agent 02:40:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgFmenf/agent.13 02:40:46 SSH_AGENT_PID=19 02:40:46 Running ssh-add (command line suppressed) 02:40:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8955768117050236656.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8955768117050236656.key) 02:40:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:47 + git semver bump pre 02:40:47 # -> Open(): unable to determine branch for HEAD 02:40:47 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:40:47 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:40:47 # $SEMVER_REMOTE_NAME = origin 02:40:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:40:47 # $SEMVER_USER_NAME = edgex-jenkins 02:40:47 # $SEMVER_BRANCH = main 02:40:47 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 02:40:47 2.2.0-dev.15 [Pipeline] } 02:40:47 $ docker exec --env ******** --env ******** ae8058c7aa428170786fa54c355aadb73502430ff2e2cb2405dc5726b00d979c ssh-agent -k 02:40:47 unset SSH_AUTH_SOCK; 02:40:47 unset SSH_AGENT_PID; 02:40:47 echo Agent pid 19 killed; 02:40:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:47 + git semver [Pipeline] } 02:40:47 $ docker stop --time=1 ae8058c7aa428170786fa54c355aadb73502430ff2e2cb2405dc5726b00d979c 02:40:48 $ docker rm -f ae8058c7aa428170786fa54c355aadb73502430ff2e2cb2405dc5726b00d979c [Pipeline] // withDockerContainer [Pipeline] sh 02:40:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:49 . [Pipeline] withDockerContainer 02:40:49 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:40:50 $ docker top cb44b79b62a73378bc2dc066b8ed9198643149650a38fa2a733ecc76fdfac239 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:50 [ssh-agent] Looking for ssh-agent implementation... 02:40:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:50 $ docker exec cb44b79b62a73378bc2dc066b8ed9198643149650a38fa2a733ecc76fdfac239 ssh-agent 02:40:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCAPIFB/agent.14 02:40:50 SSH_AGENT_PID=21 02:40:50 Running ssh-add (command line suppressed) 02:40:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2440778029338037419.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2440778029338037419.key) 02:40:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:51 + git semver push 02:40:51 # -> Open(): unable to determine branch for HEAD 02:40:51 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 02:40:51 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 02:40:51 # $SEMVER_REMOTE_NAME = origin 02:40:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:40:51 # $SEMVER_USER_NAME = edgex-jenkins 02:40:51 # $SEMVER_BRANCH = main 02:40:51 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 02:40:52 $ docker exec --env ******** --env ******** cb44b79b62a73378bc2dc066b8ed9198643149650a38fa2a733ecc76fdfac239 ssh-agent -k 02:40:52 unset SSH_AUTH_SOCK; 02:40:52 unset SSH_AGENT_PID; 02:40:52 echo Agent pid 21 killed; 02:40:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:52 + git semver [Pipeline] } 02:40:52 $ docker stop --time=1 cb44b79b62a73378bc2dc066b8ed9198643149650a38fa2a733ecc76fdfac239 02:40:54 $ docker rm -f cb44b79b62a73378bc2dc066b8ed9198643149650a38fa2a733ecc76fdfac239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:40:55 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:40:55 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:40:55 total 16 02:40:55 drwxr-xr-x 3 root root 4096 Apr 26 02:32 . 02:40:55 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 02:40 .. 02:40:55 drwxr-xr-x 2 root root 4096 Apr 26 02:32 cost 02:40:55 -rw-r--r-- 1 root root 87 Apr 26 02:32 cost.csv 02:40:55 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:40:55 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:40:55 total 16 02:40:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 02:32 . 02:40:55 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 02:40 .. 02:40:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 02:32 cost 02:40:55 -rw-r--r-- 1 jenkins jenkins 87 Apr 26 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:40:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:40:56 ---> package-listing.sh 02:40:56 ++ facter osfamily 02:40:56 ++ tr '[:upper:]' '[:lower:]' 02:40:56 + OS_FAMILY=debian 02:40:56 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:40:56 + START_PACKAGES=/tmp/packages_start.txt 02:40:56 + END_PACKAGES=/tmp/packages_end.txt 02:40:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:40:56 + PACKAGES=/tmp/packages_start.txt 02:40:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:40:56 + PACKAGES=/tmp/packages_end.txt 02:40:56 + case "${OS_FAMILY}" in 02:40:56 + dpkg -l 02:40:56 + grep '^ii' 02:40:56 + '[' -f /tmp/packages_start.txt ']' 02:40:56 + '[' -f /tmp/packages_end.txt ']' 02:40:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:40:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:40:56 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:40:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:40:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:40:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:40:57 . [Pipeline] withDockerContainer 02:40:57 prd-ubuntu20.04-docker-8c-8g-23556 does not seem to be running inside a container 02:40:57 $ 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 02:40:57 $ docker top 93a5cf25ce45fadaf72afe53df3eb2ba4562f8707234cdec5bcadd4bc06f0e38 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:58 + touch /tmp/pre-build-complete [Pipeline] sh 02:40:58 + mkdir -p /var/log/sysstat [Pipeline] sh 02:40:58 + ls /var/log/sa-host 02:40:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:59 provisioning config files... 02:40:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7557624530892458444tmp [Pipeline] { [Pipeline] echo 02:40:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:40:59 ---> create-netrc.sh [Pipeline] } 02:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:40:59 ---> python-tools-install.sh [Pipeline] echo 02:40:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:41:00 ---> sudo-logs.sh 02:41:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:41:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:41:00 ---> job-cost.sh 02:41:00 lf-activate-venv: SKIPPING 02:41:00 DEBUG: total: 0.2199999988079071 02:41:00 INFO: Retrieving Stack Cost... 02:41:00 INFO: Retrieving Pricing Info for: v3-standard-8 02:41:01 INFO: Archiving Costs [Pipeline] echo 02:41:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:41:01 ---> logs-deploy.sh 02:41:01 lf-activate-venv: SKIPPING 02:41:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/30 02:41:01 INFO: archiving workspace using pattern(s): 02:41:02 Archives upload complete. 02:41:02 INFO: archiving logs to Nexus