Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b27552b3734ae7c2a4c3808c2aff026acc83385 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-ssh1899803355105997047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8413360554396873946.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh3223023745677900040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4508496624970148861.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-ssh13467730135298969171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63054 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 9b27552b3734ae7c2a4c3808c2aff026acc83385 (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 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" > git rev-list --no-walk 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:49:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:49:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:49:27 ========================================================= 05:49:27 EdgeX Global Pipelines Version Info 05:49:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:49:28 ------------------- 05:49:28 stable info: 05:49:28 ------------------- 05:49:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:49:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:49:28 Message: update stable to v1.0.230 05:49:28 ------------------- 05:49:28 experimental info: 05:49:28 ------------------- 05:49:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:49:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:49:28 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b27552 [Pipeline] echo 05:49:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:49:29 provisioning config files... 05:49:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5333519263050126971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:30 ---> docker-login.sh 05:49:30 nexus3.edgexfoundry.org:10001 05:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:30 Configure a credential helper to remove this warning. See 05:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:30 05:49:30 Login Succeeded 05:49:30 nexus3.edgexfoundry.org:10002 05:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:30 Configure a credential helper to remove this warning. See 05:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:30 05:49:30 Login Succeeded 05:49:30 nexus3.edgexfoundry.org:10003 05:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:30 Configure a credential helper to remove this warning. See 05:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:30 05:49:30 Login Succeeded 05:49:30 nexus3.edgexfoundry.org:10004 05:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:30 Configure a credential helper to remove this warning. See 05:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:30 05:49:30 Login Succeeded 05:49:30 docker.io 05:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:31 Configure a credential helper to remove this warning. See 05:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:31 05:49:31 Login Succeeded 05:49:31 ---> docker-login.sh ends [Pipeline] } 05:49:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:49:31 + git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 05:49:31 -----------> git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 9b27552b3734ae7c2a4c3808c2aff026acc83385 05:49:31 9b27552b3734ae7c2a4c3808c2aff026acc83385 [false] [Pipeline] sh 05:49:31 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 05:49:32 ========================================================= 05:49:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:49:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:32 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo 05:49:32 [semverPrep] GIT_COMMIT: 9b27552b3734ae7c2a4c3808c2aff026acc83385, Commit Message: Merge pull request #285 from jinlinGuan/released-go-mods [Pipeline] echo 05:49:32 [semverPrep] This is not a build commit. [Pipeline] sh 05:49:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:49:32 + grep -v github /etc/ssh/ssh_known_hosts 05:49:32 + [ -e /tmp/ssh_known_hosts ] 05:49:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:49:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:49:32 + sudo tee -a /etc/ssh/ssh_known_hosts 05:49:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:49:33 05:49:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:49:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:49:33 latest: Pulling from edgex-devops/py-git-semver 05:49:33 1fe172e4850f: Pulling fs layer 05:49:33 caf521ccaac6: Pulling fs layer 05:49:33 3ead6fa29328: Pulling fs layer 05:49:33 5c2a1cbceb83: Pulling fs layer 05:49:33 a8d5f1318db7: Pulling fs layer 05:49:33 c427282e49a2: Pulling fs layer 05:49:33 1827001aaf11: Pulling fs layer 05:49:33 0714d37db230: Pulling fs layer 05:49:33 ac28cf19c067: Pulling fs layer 05:49:33 ca983d60f3e2: Pulling fs layer 05:49:33 9f894cec8388: Pulling fs layer 05:49:33 5c2a1cbceb83: Waiting 05:49:33 a8d5f1318db7: Waiting 05:49:33 c427282e49a2: Waiting 05:49:33 1827001aaf11: Waiting 05:49:33 0714d37db230: Waiting 05:49:33 9f894cec8388: Waiting 05:49:33 ca983d60f3e2: Waiting 05:49:33 ac28cf19c067: Waiting 05:49:33 caf521ccaac6: Verifying Checksum 05:49:33 caf521ccaac6: Download complete 05:49:33 5c2a1cbceb83: Download complete 05:49:33 3ead6fa29328: Verifying Checksum 05:49:33 3ead6fa29328: Download complete 05:49:33 c427282e49a2: Download complete 05:49:33 a8d5f1318db7: Verifying Checksum 05:49:33 a8d5f1318db7: Download complete 05:49:33 0714d37db230: Verifying Checksum 05:49:33 0714d37db230: Download complete 05:49:33 ac28cf19c067: Verifying Checksum 05:49:33 ac28cf19c067: Download complete 05:49:33 ca983d60f3e2: Download complete 05:49:33 9f894cec8388: Download complete 05:49:33 1fe172e4850f: Download complete 05:49:33 1827001aaf11: Verifying Checksum 05:49:33 1827001aaf11: Download complete 05:49:35 1fe172e4850f: Pull complete 05:49:35 caf521ccaac6: Pull complete 05:49:35 3ead6fa29328: Pull complete 05:49:35 5c2a1cbceb83: Pull complete 05:49:36 a8d5f1318db7: Pull complete 05:49:36 c427282e49a2: Pull complete 05:49:38 1827001aaf11: Pull complete 05:49:38 0714d37db230: Pull complete 05:49:38 ac28cf19c067: Pull complete 05:49:38 ca983d60f3e2: Pull complete 05:49:38 9f894cec8388: Pull complete 05:49:38 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:49:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:49:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:49:38 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 05:49: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:49:40 $ docker top 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 -eo pid,comm 05:49:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:49:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:49:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:40 [ssh-agent] Looking for ssh-agent implementation... 05:49:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:40 $ docker exec 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent 05:49:40 SSH_AUTH_SOCK=/tmp/ssh-mv80HILqJj9G/agent.33 05:49:40 SSH_AGENT_PID=40 05:49:40 Running ssh-add (command line suppressed) 05:49:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7309870027008945222.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7309870027008945222.key) 05:49:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:41 + git tag --points-at HEAD [Pipeline] } 05:49:41 $ docker exec --env ******** --env ******** 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent -k 05:49:41 unset SSH_AUTH_SOCK; 05:49:41 unset SSH_AGENT_PID; 05:49:41 echo Agent pid 40 killed; 05:49:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:49:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:41 [ssh-agent] Looking for ssh-agent implementation... 05:49:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:41 $ docker exec 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent 05:49:41 SSH_AUTH_SOCK=/tmp/ssh-MIfsYhLLVELg/agent.73 05:49:41 SSH_AGENT_PID=79 05:49:41 Running ssh-add (command line suppressed) 05:49:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1361616627140499805.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1361616627140499805.key) 05:49:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:41 + git semver init 05:49:42 2022-05-11 05:49:42,074 [run_init] DEBUG init version:0.0.0 force:False 05:49:42 2022-05-11 05:49:42,074 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 05:49:42 2022-05-11 05:49:42,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 05:49:42 2022-05-11 05:49:42,075 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 05:49:43 2022-05-11 05:49:43,149 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 05:49:43 2022-05-11 05:49:43,149 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 05:49:43 2022-05-11 05:49:43,149 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:49:43 2022-05-11 05:49:43,150 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:49:43 2.2.0-dev.18 [Pipeline] } 05:49:43 $ docker exec --env ******** --env ******** 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent -k 05:49:43 unset SSH_AUTH_SOCK; 05:49:43 unset SSH_AGENT_PID; 05:49:43 echo Agent pid 79 killed; 05:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:44 + git semver [Pipeline] } 05:49:44 $ docker stop --time=1 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 05:49:45 $ docker rm -f 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 [Pipeline] // withDockerContainer [Pipeline] sh 05:49:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:49:46 Stashed 1 file(s) [Pipeline] echo 05:49:46 [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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 05:49:46 provisioning config files... 05:49:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4401468762599834468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:46 ---> docker-login.sh 05:49:46 nexus3.edgexfoundry.org:10001 05:49:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:46 Configure a credential helper to remove this warning. See 05:49:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:46 05:49:46 Login Succeeded 05:49:46 nexus3.edgexfoundry.org:10002 05:49:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:46 Configure a credential helper to remove this warning. See 05:49:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:46 05:49:46 Login Succeeded 05:49:46 nexus3.edgexfoundry.org:10003 05:49:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:46 Configure a credential helper to remove this warning. See 05:49:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:46 05:49:46 Login Succeeded 05:49:46 nexus3.edgexfoundry.org:10004 05:49:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:47 Configure a credential helper to remove this warning. See 05:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:47 05:49:47 Login Succeeded 05:49:47 docker.io 05:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:47 Configure a credential helper to remove this warning. See 05:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:47 05:49:47 Login Succeeded 05:49:47 ---> docker-login.sh ends [Pipeline] } 05:49:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:49:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:49:47 ========================================================= 05:49:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:49:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:49:47 + 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 . 05:49:47 Sending build context to Docker daemon 22.93MB 05:49:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:49:47 Step 2/12 : FROM ${BASE} AS builder 05:49:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:47 59bf1c3509f3: Pulling fs layer 05:49:47 666ba61612fd: Pulling fs layer 05:49:47 8ed8ca486205: Pulling fs layer 05:49:47 4fe6c5a15a65: Pulling fs layer 05:49:47 22a0e8bec74d: Pulling fs layer 05:49:47 ca2b28591e48: Pulling fs layer 05:49:47 a51346096db8: Pulling fs layer 05:49:47 daebc70d1ce1: Pulling fs layer 05:49:47 0e18a0eac166: Pulling fs layer 05:49:47 ca2b28591e48: Waiting 05:49:47 a51346096db8: Waiting 05:49:47 daebc70d1ce1: Waiting 05:49:47 0e18a0eac166: Waiting 05:49:47 4fe6c5a15a65: Waiting 05:49:47 22a0e8bec74d: Waiting 05:49:48 8ed8ca486205: Verifying Checksum 05:49:48 8ed8ca486205: Download complete 05:49:48 666ba61612fd: Verifying Checksum 05:49:48 666ba61612fd: Download complete 05:49:48 22a0e8bec74d: Verifying Checksum 05:49:48 22a0e8bec74d: Download complete 05:49:48 ca2b28591e48: Verifying Checksum 05:49:48 ca2b28591e48: Download complete 05:49:48 59bf1c3509f3: Verifying Checksum 05:49:48 a51346096db8: Verifying Checksum 05:49:48 a51346096db8: Download complete 05:49:48 daebc70d1ce1: Verifying Checksum 05:49:48 daebc70d1ce1: Download complete 05:49:48 59bf1c3509f3: Pull complete 05:49:48 666ba61612fd: Pull complete 05:49:48 8ed8ca486205: Pull complete 05:49:48 0e18a0eac166: Verifying Checksum 05:49:48 0e18a0eac166: Download complete 05:49:48 4fe6c5a15a65: Verifying Checksum 05:49:48 4fe6c5a15a65: Download complete 05:49:53 4fe6c5a15a65: Pull complete 05:49:53 22a0e8bec74d: Pull complete 05:49:53 ca2b28591e48: Pull complete 05:49:53 a51346096db8: Pull complete 05:49:53 daebc70d1ce1: Pull complete 05:49:55 0e18a0eac166: Pull complete 05:49:55 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:49:55 ---> f018257e8ee9 05:49:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:49:56 ---> Running in 5309cfd8da6f 05:49:56 Removing intermediate container 5309cfd8da6f 05:49:56 ---> eb0f53463533 05:49:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:49:56 ---> Running in e4aa5dd1d3b8 05:49:56 Removing intermediate container e4aa5dd1d3b8 05:49:56 ---> a2236d4c2a98 05:49:56 Step 5/12 : WORKDIR /device-virtual-go 05:49:56 ---> Running in dbbc296d9057 05:49:56 Removing intermediate container dbbc296d9057 05:49:56 ---> 9cf42b58c9c0 05:49:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:56 ---> Running in 00a2efc009db 05:49:57 Removing intermediate container 00a2efc009db 05:49:57 ---> 3c0c92f3d380 05:49:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:57 ---> Running in ae272488ee6c 05:49:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:49:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:49:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:49:58 (2/4) Installing libedit (20210910.3.1-r0) 05:49:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:49:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:49:59 Executing busybox-1.34.1-r3.trigger 05:49:59 OK: 224 MiB in 56 packages 05:49:59 Removing intermediate container ae272488ee6c 05:49:59 ---> d153ef211ef5 05:49:59 Step 8/12 : COPY go.mod vendor* ./ 05:49:59 ---> 00f62829bad3 05:49:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:59 ---> Running in d9c3313a1c99 05:50:01 Still waiting to schedule task 05:50:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:50:14 Removing intermediate container d9c3313a1c99 05:50:14 ---> 8571dc11828f 05:50:14 Step 10/12 : COPY . . 05:50:14 ---> a2ac2d908ece 05:50:14 Step 11/12 : ARG MAKE='make build' 05:50:14 ---> Running in f63e13f84a8b 05:50:14 Removing intermediate container f63e13f84a8b 05:50:14 ---> 6b30ed7a02de 05:50:14 Step 12/12 : RUN $MAKE 05:50:14 ---> Running in 392cddb00bbf 05:50:14 noop 05:50:14 Removing intermediate container 392cddb00bbf 05:50:14 ---> 4a119803b0c1 05:50:14 Successfully built 4a119803b0c1 05:50:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:50:15 + docker inspect -f . ci-base-image-x86_64 05:50:15 . [Pipeline] withDockerContainer 05:50:15 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 05:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:15 $ docker top 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:16 + go version 05:50:16 go version go1.17.6 linux/amd64 [Pipeline] } 05:50:16 $ docker stop --time=1 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d 05:50:17 $ docker rm -f 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:17 + docker inspect -f . ci-base-image-x86_64 05:50:17 . [Pipeline] withDockerContainer 05:50:17 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 05:50:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:50:18 $ docker top 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:50:18 + make test 05:50:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:50:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:50:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:50:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 05:50:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:50:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:50:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:50:41 ./bin/test-attribution-txt.sh [Pipeline] echo 05:50:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:50:41 $ docker stop --time=1 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe 05:50:43 $ docker rm -f 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe [Pipeline] // withDockerContainer [Pipeline] sh 05:50:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:50:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:44 + ls -al . 05:50:44 total 188 05:50:44 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 . 05:50:44 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 .. 05:50:44 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:49 .git 05:50:44 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 .github 05:50:44 -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:49 .gitignore 05:50:44 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:49 .golangci.yml 05:50:44 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:49 .semver 05:50:44 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:49 Attribution.txt 05:50:44 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:49 CHANGELOG.md 05:50:44 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:49 Dockerfile 05:50:44 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:49 GOVERNANCE.md 05:50:44 -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:49 Jenkinsfile 05:50:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:49 LICENSE 05:50:44 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:49 Makefile 05:50:44 -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:49 OWNERS.md 05:50:44 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:49 README.md 05:50:44 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:49 VERSION 05:50:44 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 bin 05:50:44 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 cmd 05:50:44 -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:50 coverage.out 05:50:44 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:49 go.mod 05:50:44 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:49 go.sum 05:50:44 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 internal 05:50:44 -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:50:45 + 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=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=amd64 --label version=2.2.0-dev.18 . 05:50:45 Sending build context to Docker daemon 22.98MB 05:50:45 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:50:45 Step 2/26 : FROM ${BASE} AS builder 05:50:45 ---> 4a119803b0c1 05:50:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:50:45 ---> Running in f5743cfe3949 05:50:45 Removing intermediate container f5743cfe3949 05:50:45 ---> 92be7fdcc831 05:50:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:50:45 ---> Running in cc9c61218f47 05:50:45 Removing intermediate container cc9c61218f47 05:50:45 ---> 8a431f33deee 05:50:45 Step 5/26 : WORKDIR /device-virtual-go 05:50:45 ---> Running in 7a48d1736dcf 05:50:45 Removing intermediate container 7a48d1736dcf 05:50:45 ---> af2a9308a400 05:50:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:45 ---> Running in a4269642ecdb 05:50:46 Removing intermediate container a4269642ecdb 05:50:46 ---> d45f60faa00b 05:50:46 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:50:46 ---> Running in 200337232d66 05:50:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:50:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:50:47 OK: 224 MiB in 56 packages 05:50:48 Removing intermediate container 200337232d66 05:50:48 ---> da46ea07e3b7 05:50:48 Step 8/26 : COPY go.mod vendor* ./ 05:50:48 ---> 928ec392fa85 05:50:48 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:50:48 ---> Running in a2bc185da13e 05:50:49 Removing intermediate container a2bc185da13e 05:50:49 ---> 9fdb3dc4e869 05:50:49 Step 10/26 : COPY . . 05:50:49 ---> 7a463e64eee6 05:50:49 Step 11/26 : ARG MAKE='make build' 05:50:49 ---> Running in 3e6ad09cba3a 05:50:49 Removing intermediate container 3e6ad09cba3a 05:50:49 ---> 5cd6d1f31c67 05:50:49 Step 12/26 : RUN $MAKE 05:50:49 ---> Running in a81789c5a17b 05:50:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 05:51:11 Removing intermediate container a81789c5a17b 05:51:11 ---> 2cd5d392b404 05:51:11 Step 13/26 : FROM alpine:3.14 05:51:11 3.14: Pulling from library/alpine 05:51:11 8663204ce13b: Pulling fs layer 05:51:11 8663204ce13b: Verifying Checksum 05:51:11 8663204ce13b: Download complete 05:51:11 8663204ce13b: Pull complete 05:51:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:51:11 Status: Downloaded newer image for alpine:3.14 05:51:11 ---> e04c818066af 05:51:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:51:11 ---> Running in 657f4865c9d5 05:51:11 Removing intermediate container 657f4865c9d5 05:51:11 ---> ac0824b16e59 05:51:11 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:11 ---> Running in 13f278e69a75 05:51:11 Removing intermediate container 13f278e69a75 05:51:11 ---> f0ee8734676f 05:51:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:51:11 ---> Running in bea3431d5ca5 05:51:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:51:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:51:13 (1/6) Installing dumb-init (1.2.5-r1) 05:51:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:51:13 (3/6) Installing libsodium (1.0.18-r0) 05:51:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:51:13 (5/6) Installing libzmq (4.3.4-r0) 05:51:13 (6/6) Installing zeromq (4.3.4-r0) 05:51:13 Executing busybox-1.33.1-r7.trigger 05:51:13 OK: 8 MiB in 20 packages 05:51:14 Removing intermediate container bea3431d5ca5 05:51:14 ---> 232d0251dcf5 05:51:14 Step 17/26 : WORKDIR / 05:51:14 ---> Running in fa0a5650169e 05:51:14 Removing intermediate container fa0a5650169e 05:51:14 ---> 9f1e2e8338d6 05:51:14 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:51:14 ---> 6978c7bfeba1 05:51:14 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:51:14 ---> e8f84212a427 05:51:14 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:51:14 ---> 9fd5d9db7316 05:51:14 Step 21/26 : EXPOSE 59900 05:51:14 ---> Running in 9a2a362251b5 05:51:15 Removing intermediate container 9a2a362251b5 05:51:15 ---> 01c0798ad0f0 05:51:15 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:51:15 ---> Running in 2b65576c996c 05:51:15 Removing intermediate container 2b65576c996c 05:51:15 ---> 5a0b5d1be151 05:51:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:15 ---> Running in 9bf728a399f2 05:51:15 Removing intermediate container 9bf728a399f2 05:51:15 ---> 1f091a0e64a8 05:51:15 Step 24/26 : LABEL arch=amd64 05:51:15 ---> Running in 6a985639932d 05:51:15 Removing intermediate container 6a985639932d 05:51:15 ---> d6360dbbe1d8 05:51:15 Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 05:51:15 ---> Running in be327fe243d5 05:51:15 Removing intermediate container be327fe243d5 05:51:15 ---> af1ca0718ed9 05:51:15 Step 26/26 : LABEL version=2.2.0-dev.18 05:51:15 ---> Running in 9e0aa951842c 05:51:15 Removing intermediate container 9e0aa951842c 05:51:15 ---> d8dc250ae8c0 05:51:15 [Warning] One or more build-args [ARCH] were not consumed 05:51:16 Successfully built d8dc250ae8c0 05:51:16 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:16 provisioning config files... 05:51:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4094540490447279915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:16 ---> docker-login.sh 05:51:16 nexus3.edgexfoundry.org:10001 05:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:16 Configure a credential helper to remove this warning. See 05:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:16 05:51:16 Login Succeeded 05:51:16 nexus3.edgexfoundry.org:10002 05:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:16 Configure a credential helper to remove this warning. See 05:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:16 05:51:16 Login Succeeded 05:51:16 nexus3.edgexfoundry.org:10003 05:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:16 Configure a credential helper to remove this warning. See 05:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:16 05:51:16 Login Succeeded 05:51:16 nexus3.edgexfoundry.org:10004 05:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:16 Configure a credential helper to remove this warning. See 05:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:16 05:51:16 Login Succeeded 05:51:16 docker.io 05:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:17 Configure a credential helper to remove this warning. See 05:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:17 05:51:17 Login Succeeded 05:51:17 ---> docker-login.sh ends [Pipeline] } 05:51:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:17 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 05:51:17 9b27552b3734ae7c2a4c3808c2aff026acc83385 05:51:17 latest 05:51:17 2.2.0-dev.18 05:51:17 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:51:17 main 05:51:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh 05:51:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 05:51:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:51:17 e70cc11a7f91: Preparing 05:51:17 019ccd6b07d5: Preparing 05:51:17 645dccbe3422: Preparing 05:51:17 6c06eb96305d: Preparing 05:51:17 b9a842252afc: Preparing 05:51:17 b541d28bf3b4: Preparing 05:51:17 b541d28bf3b4: Waiting 05:51:17 b9a842252afc: Pushed 05:51:17 019ccd6b07d5: Pushed 05:51:17 645dccbe3422: Pushed 05:51:17 b541d28bf3b4: Layer already exists 05:51:18 6c06eb96305d: Pushed 05:51:20 e70cc11a7f91: Pushed 05:51:21 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 05:51:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 05:51:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:51:21 e70cc11a7f91: Preparing 05:51:21 019ccd6b07d5: Preparing 05:51:21 645dccbe3422: Preparing 05:51:21 6c06eb96305d: Preparing 05:51:21 b9a842252afc: Preparing 05:51:21 b541d28bf3b4: Preparing 05:51:21 b541d28bf3b4: Waiting 05:51:21 6c06eb96305d: Layer already exists 05:51:21 019ccd6b07d5: Layer already exists 05:51:21 b9a842252afc: Layer already exists 05:51:21 645dccbe3422: Layer already exists 05:51:21 e70cc11a7f91: Layer already exists 05:51:21 b541d28bf3b4: Layer already exists 05:51:21 latest: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:51:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 05:51:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:51:22 e70cc11a7f91: Preparing 05:51:22 019ccd6b07d5: Preparing 05:51:22 645dccbe3422: Preparing 05:51:22 6c06eb96305d: Preparing 05:51:22 b9a842252afc: Preparing 05:51:22 b541d28bf3b4: Preparing 05:51:22 b541d28bf3b4: Waiting 05:51:22 019ccd6b07d5: Layer already exists 05:51:22 b9a842252afc: Layer already exists 05:51:22 e70cc11a7f91: Layer already exists 05:51:22 645dccbe3422: Layer already exists 05:51:22 6c06eb96305d: Layer already exists 05:51:22 b541d28bf3b4: Layer already exists 05:51:22 2.2.0-dev.18: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:51:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:51:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:51:22 e70cc11a7f91: Preparing 05:51:22 019ccd6b07d5: Preparing 05:51:22 645dccbe3422: Preparing 05:51:22 6c06eb96305d: Preparing 05:51:22 b9a842252afc: Preparing 05:51:22 b541d28bf3b4: Preparing 05:51:22 b541d28bf3b4: Waiting 05:51:22 6c06eb96305d: Layer already exists 05:51:22 e70cc11a7f91: Layer already exists 05:51:22 b9a842252afc: Layer already exists 05:51:22 645dccbe3422: Layer already exists 05:51:22 019ccd6b07d5: Layer already exists 05:51:22 b541d28bf3b4: Layer already exists 05:51:22 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:51:23 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 05:51:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 05:51:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:51:23 e70cc11a7f91: Preparing 05:51:23 019ccd6b07d5: Preparing 05:51:23 645dccbe3422: Preparing 05:51:23 6c06eb96305d: Preparing 05:51:23 b9a842252afc: Preparing 05:51:23 b541d28bf3b4: Preparing 05:51:23 b541d28bf3b4: Waiting 05:51:23 019ccd6b07d5: Layer already exists 05:51:23 6c06eb96305d: Layer already exists 05:51:23 645dccbe3422: Layer already exists 05:51:23 b9a842252afc: Layer already exists 05:51:23 e70cc11a7f91: Layer already exists 05:51:23 b541d28bf3b4: Layer already exists 05:51:23 main: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:23 ===================================================== [Pipeline] echo 05:51:23 taggedImages: 05:51:23 - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 05:51:23 - nexus3.edgexfoundry.org:10004/device-virtual:latest 05:51:23 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 05:51:23 - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:51:23 - 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 05:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:23 05:51:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:51:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:24 latest: Pulling from edgex-lftools-log-publisher 05:51:24 5eb5b503b376: Pulling fs layer 05:51:24 5c69ac0246d0: Pulling fs layer 05:51:24 ec43610c2a17: Pulling fs layer 05:51:24 3a2ae6a8a46f: Pulling fs layer 05:51:24 33b1e0a273af: Pulling fs layer 05:51:24 5d3b04190fa2: Pulling fs layer 05:51:24 2f39f015ded8: Pulling fs layer 05:51:24 5d3b04190fa2: Waiting 05:51:24 33b1e0a273af: Waiting 05:51:24 3a2ae6a8a46f: Waiting 05:51:24 5c69ac0246d0: Download complete 05:51:24 3a2ae6a8a46f: Download complete 05:51:24 33b1e0a273af: Verifying Checksum 05:51:24 33b1e0a273af: Download complete 05:51:24 5d3b04190fa2: Verifying Checksum 05:51:24 5d3b04190fa2: Download complete 05:51:24 ec43610c2a17: Verifying Checksum 05:51:24 ec43610c2a17: Download complete 05:51:24 5eb5b503b376: Verifying Checksum 05:51:24 5eb5b503b376: Download complete 05:51:24 2f39f015ded8: Download complete 05:51:25 5eb5b503b376: Pull complete 05:51:25 5c69ac0246d0: Pull complete 05:51:26 ec43610c2a17: Pull complete 05:51:26 3a2ae6a8a46f: Pull complete 05:51:26 33b1e0a273af: Pull complete 05:51:26 5d3b04190fa2: Pull complete 05:51:32 2f39f015ded8: Pull complete 05:51:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:51:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:51:32 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 05:51:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:51:33 $ docker top b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:34 ---> job-cost.sh 05:51:34 lf-activate-venv: SKIPPING 05:51:34 INFO: No Stack... 05:51:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:51:35 INFO: Archiving Costs [Pipeline] sh 05:51:35 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 05:51:35 + cut -d, -f6 [Pipeline] lock 05:51:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] 05:51:35 Resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] did not exist. Created. 05:51:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:35 + echo total: 0.2199999988079071 [Pipeline] stash 05:51:35 Stashed 1 file(s) [Pipeline] } 05:51:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:35 $ docker stop --time=1 b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 05:51:37 $ docker rm -f b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:52:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63058 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 05:52:37 Running in /w/workspace/device-virtual-go/34 [Pipeline] { [Pipeline] checkout 05:52:37 The recommended git tool is: git 05:52:44 using credential edgex-jenkins-ssh 05:52:44 Cloning the remote Git repository 05:52:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:52:45 > git init /w/workspace/device-virtual-go/34 # timeout=10 05:52:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:52:45 > git --version # timeout=10 05:52:45 > git --version # 'git version 2.25.1' 05:52:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:47 Avoid second fetch 05:52:47 Checking out Revision 9b27552b3734ae7c2a4c3808c2aff026acc83385 (main) 05:52:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:52:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:47 > git config core.sparsecheckout # timeout=10 05:52:47 > git checkout -f 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 05:52:51 Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:52:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:52 Dload Upload Total Spent Left Speed 05:52:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65794 0 --:--:-- --:--:-- --:--:-- 65794 [Pipeline] sh 05:52:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:52:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:52:53 + sudo tee /etc/docker/daemon.new 05:52:53 { 05:52:53 "registry-mirrors": [ 05:52:53 "https://nexus3.edgexfoundry.org:10001" 05:52:53 ], 05:52:53 "bip": "10.250.0.254/24", 05:52:53 "hosts": [ 05:52:53 "tcp://0.0.0.0:5555", 05:52:53 "unix:///var/run/docker.sock" 05:52:53 ], 05:52:53 "mtu": 1458, 05:52:53 "selinux-enabled": true, 05:52:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:52:53 } [Pipeline] sh 05:52:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:52:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:12 provisioning config files... 05:53:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config3258073234554989716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:13 ---> docker-login.sh 05:53:13 nexus3.edgexfoundry.org:10001 05:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 nexus3.edgexfoundry.org:10002 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 nexus3.edgexfoundry.org:10003 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:15 Configure a credential helper to remove this warning. See 05:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:15 05:53:15 Login Succeeded 05:53:15 nexus3.edgexfoundry.org:10004 05:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:15 Configure a credential helper to remove this warning. See 05:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:15 05:53:15 Login Succeeded 05:53:15 docker.io 05:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:16 Configure a credential helper to remove this warning. See 05:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:16 05:53:16 Login Succeeded 05:53:16 ---> docker-login.sh ends [Pipeline] } 05:53:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:16 ========================================================= 05:53:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:53:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:53:17 + 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 . 05:53:17 Sending build context to Docker daemon 11.59MB 05:53:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:53:17 Step 2/12 : FROM ${BASE} AS builder 05:53:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:17 9b3977197b4f: Pulling fs layer 05:53:17 1a89e8eeedd5: Pulling fs layer 05:53:17 94645a83ff95: Pulling fs layer 05:53:17 3f3a8bcf1eab: Pulling fs layer 05:53:17 0c92f367c5e7: Pulling fs layer 05:53:17 3096ccb668a1: Pulling fs layer 05:53:17 e8cf19c19ddd: Pulling fs layer 05:53:17 a4caa8a26152: Pulling fs layer 05:53:17 3f3a8bcf1eab: Waiting 05:53:17 3096ccb668a1: Waiting 05:53:17 e8cf19c19ddd: Waiting 05:53:17 0c92f367c5e7: Waiting 05:53:17 a4caa8a26152: Waiting 05:53:17 94645a83ff95: Verifying Checksum 05:53:17 94645a83ff95: Download complete 05:53:17 1a89e8eeedd5: Verifying Checksum 05:53:17 1a89e8eeedd5: Download complete 05:53:18 0c92f367c5e7: Verifying Checksum 05:53:18 0c92f367c5e7: Download complete 05:53:18 3096ccb668a1: Verifying Checksum 05:53:18 3096ccb668a1: Download complete 05:53:18 9b3977197b4f: Verifying Checksum 05:53:18 9b3977197b4f: Download complete 05:53:18 e8cf19c19ddd: Verifying Checksum 05:53:18 e8cf19c19ddd: Download complete 05:53:18 9b3977197b4f: Pull complete 05:53:19 1a89e8eeedd5: Pull complete 05:53:19 94645a83ff95: Pull complete 05:53:20 a4caa8a26152: Download complete 05:53:20 3f3a8bcf1eab: Verifying Checksum 05:53:20 3f3a8bcf1eab: Download complete 05:53:33 3f3a8bcf1eab: Pull complete 05:53:33 0c92f367c5e7: Pull complete 05:53:33 3096ccb668a1: Pull complete 05:53:34 e8cf19c19ddd: Pull complete 05:53:40 a4caa8a26152: Pull complete 05:53:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:53:40 ---> 725f1c02e7f9 05:53:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:53:41 ---> Running in bb164678d038 05:53:42 Removing intermediate container bb164678d038 05:53:42 ---> a6241ffaf9c7 05:53:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:53:42 ---> Running in 37eb2e12212e 05:53:42 Removing intermediate container 37eb2e12212e 05:53:42 ---> 5813d1226325 05:53:42 Step 5/12 : WORKDIR /device-virtual-go 05:53:42 ---> Running in eccf8fe8a2ee 05:53:42 Removing intermediate container eccf8fe8a2ee 05:53:42 ---> 95d781771c1c 05:53:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:42 ---> Running in b7d007634e3d 05:53:44 Removing intermediate container b7d007634e3d 05:53:44 ---> 60fefcc34805 05:53:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:44 ---> Running in 38971fe13ba9 05:53:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:53:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:53:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:53:47 (2/4) Installing libedit (20210910.3.1-r0) 05:53:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:53:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:53:48 Executing busybox-1.34.1-r3.trigger 05:53:48 OK: 224 MiB in 56 packages 05:53:49 Removing intermediate container 38971fe13ba9 05:53:49 ---> 31d39cb3fc92 05:53:49 Step 8/12 : COPY go.mod vendor* ./ 05:53:50 ---> 768813841f79 05:53:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:50 ---> Running in e480d1351ee9 05:54:37 Removing intermediate container e480d1351ee9 05:54:37 ---> 3b3faad0acfc 05:54:37 Step 10/12 : COPY . . 05:54:38 ---> ce055423b0cd 05:54:38 Step 11/12 : ARG MAKE='make build' 05:54:38 ---> Running in 93087f0ec7bb 05:54:38 Removing intermediate container 93087f0ec7bb 05:54:38 ---> 6b5828139eb4 05:54:38 Step 12/12 : RUN $MAKE 05:54:38 ---> Running in 00545f3bc830 05:54:39 noop 05:54:40 Removing intermediate container 00545f3bc830 05:54:40 ---> e2d860b3cba0 05:54:40 Successfully built e2d860b3cba0 05:54:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:54:40 + docker inspect -f . ci-base-image-arm64 05:54:40 . [Pipeline] withDockerContainer 05:54:40 prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container 05:54:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 05:54:42 $ docker top 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:43 + go version 05:54:43 go version go1.17.6 linux/arm64 [Pipeline] } 05:54:43 $ docker stop --time=1 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 05:54:44 $ docker rm -f 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:45 + docker inspect -f . ci-base-image-arm64 05:54:45 . [Pipeline] withDockerContainer 05:54:45 prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container 05:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 05:54:47 $ docker top 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:54:48 + make test 05:54:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:54:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:56:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:56:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 65.7% of statements 05:56:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:56:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:56:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:56:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:56:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:56:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:56:52 $ docker stop --time=1 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec 05:56:54 $ docker rm -f 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec [Pipeline] // withDockerContainer [Pipeline] sh 05:56:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:56:55 Warning: overwriting stash ‘coverage-report’ 05:56:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:57 + ls -al . 05:56:57 total 184 05:56:57 drwxrwxr-x 7 jenkins jenkins 4096 May 11 05:56 . 05:56:57 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:52 .. 05:56:57 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:52 .git 05:56:57 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:52 .github 05:56:57 -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:52 .gitignore 05:56:57 -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:52 .golangci.yml 05:56:57 -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:52 Attribution.txt 05:56:57 -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:52 CHANGELOG.md 05:56:57 -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:52 Dockerfile 05:56:57 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:52 GOVERNANCE.md 05:56:57 -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:52 Jenkinsfile 05:56:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:52 LICENSE 05:56:57 -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:52 Makefile 05:56:57 -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:52 OWNERS.md 05:56:57 -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:52 README.md 05:56:57 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:49 VERSION 05:56:57 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:52 bin 05:56:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:52 cmd 05:56:57 -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:56 coverage.out 05:56:57 -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:52 go.mod 05:56:57 -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:52 go.sum 05:56:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:52 internal 05:56:57 -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:56:57 + 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=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=arm64 --label version=2.2.0-dev.18 . 05:56:58 Sending build context to Docker daemon 11.64MB 05:56:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 05:56:58 Step 2/26 : FROM ${BASE} AS builder 05:56:58 ---> e2d860b3cba0 05:56:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:56:58 ---> Running in df1d1446cc2b 05:56:58 Removing intermediate container df1d1446cc2b 05:56:58 ---> 98f5af990584 05:56:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:56:58 ---> Running in d930b04c5614 05:56:59 Removing intermediate container d930b04c5614 05:56:59 ---> 8e590f7ecdaa 05:56:59 Step 5/26 : WORKDIR /device-virtual-go 05:56:59 ---> Running in 1c4c7632f458 05:56:59 Removing intermediate container 1c4c7632f458 05:56:59 ---> 77233f3f01c1 05:56:59 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:59 ---> Running in 025bfa25af45 05:57:01 Removing intermediate container 025bfa25af45 05:57:01 ---> e0c6ee4a5eef 05:57:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:57:01 ---> Running in fb4104e9df88 05:57:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:57:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:57:04 OK: 224 MiB in 56 packages 05:57:05 Removing intermediate container fb4104e9df88 05:57:05 ---> 4df6518fc887 05:57:05 Step 8/26 : COPY go.mod vendor* ./ 05:57:05 ---> 911fe42f3d47 05:57:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:05 ---> Running in f7d48481bd59 05:57:07 Removing intermediate container f7d48481bd59 05:57:07 ---> 50f1eec3a469 05:57:07 Step 10/26 : COPY . . 05:57:09 ---> fa0d3c0c81de 05:57:09 Step 11/26 : ARG MAKE='make build' 05:57:09 ---> Running in e4e666aac4dc 05:57:09 Removing intermediate container e4e666aac4dc 05:57:09 ---> 2d57b9821a47 05:57:09 Step 12/26 : RUN $MAKE 05:57:09 ---> Running in 07b1b9763dcb 05:57:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 05:59:32 Removing intermediate container 07b1b9763dcb 05:59:32 ---> 5a6b981ca2d2 05:59:32 Step 13/26 : FROM alpine:3.14 05:59:32 3.14: Pulling from library/alpine 05:59:32 455c02918c45: Pulling fs layer 05:59:32 455c02918c45: Verifying Checksum 05:59:32 455c02918c45: Download complete 05:59:32 455c02918c45: Pull complete 05:59:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:59:32 Status: Downloaded newer image for alpine:3.14 05:59:32 ---> ac73e934f311 05:59:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:59:32 ---> Running in 026a59339624 05:59:32 Removing intermediate container 026a59339624 05:59:32 ---> f0e84250ad20 05:59:32 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:32 ---> Running in 8f213c77b61a 05:59:32 Removing intermediate container 8f213c77b61a 05:59:32 ---> 8ff2dd7d9d63 05:59:32 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:59:32 ---> Running in 4577f192eddc 05:59:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:59:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:59:35 (1/6) Installing dumb-init (1.2.5-r1) 05:59:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:59:35 (3/6) Installing libsodium (1.0.18-r0) 05:59:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:59:36 (5/6) Installing libzmq (4.3.4-r0) 05:59:36 (6/6) Installing zeromq (4.3.4-r0) 05:59:36 Executing busybox-1.33.1-r7.trigger 05:59:36 OK: 8 MiB in 20 packages 05:59:37 Removing intermediate container 4577f192eddc 05:59:37 ---> d711357f5513 05:59:37 Step 17/26 : WORKDIR / 05:59:37 ---> Running in 307b8a4c215c 05:59:37 Removing intermediate container 307b8a4c215c 05:59:37 ---> 49542d4217ab 05:59:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:59:38 ---> 6d500981618a 05:59:38 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 05:59:38 ---> 4283c9ebcd73 05:59:38 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 05:59:40 ---> 8a1adf2376b3 05:59:40 Step 21/26 : EXPOSE 59900 05:59:40 ---> Running in 60e02a254cf8 05:59:40 Removing intermediate container 60e02a254cf8 05:59:40 ---> 4da172435355 05:59:40 Step 22/26 : ENTRYPOINT ["/device-virtual"] 05:59:40 ---> Running in e525c893169e 05:59:41 Removing intermediate container e525c893169e 05:59:41 ---> 427063a58116 05:59:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:41 ---> Running in 786fac59a501 05:59:41 Removing intermediate container 786fac59a501 05:59:41 ---> 37a2b42932a6 05:59:41 Step 24/26 : LABEL arch=arm64 05:59:41 ---> Running in fa9d4a7e749c 05:59:42 Removing intermediate container fa9d4a7e749c 05:59:42 ---> d804b4d83a52 05:59:42 Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 05:59:42 ---> Running in 4518fa4d94f1 05:59:42 Removing intermediate container 4518fa4d94f1 05:59:42 ---> 5fb19b3f8c6f 05:59:42 Step 26/26 : LABEL version=2.2.0-dev.18 05:59:42 ---> Running in bb1109b4f326 05:59:42 Removing intermediate container bb1109b4f326 05:59:42 ---> 8114279d4909 05:59:42 [Warning] One or more build-args [ARCH] were not consumed 05:59:42 Successfully built 8114279d4909 05:59:42 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 05:59:43 provisioning config files... 05:59:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config1842305989398819544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:43 ---> docker-login.sh 05:59:43 nexus3.edgexfoundry.org:10001 05:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:43 Configure a credential helper to remove this warning. See 05:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:43 05:59:43 Login Succeeded 05:59:43 nexus3.edgexfoundry.org:10002 05:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:44 Configure a credential helper to remove this warning. See 05:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:44 05:59:44 Login Succeeded 05:59:44 nexus3.edgexfoundry.org:10003 05:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:44 Configure a credential helper to remove this warning. See 05:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:44 05:59:44 Login Succeeded 05:59:44 nexus3.edgexfoundry.org:10004 05:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:45 Configure a credential helper to remove this warning. See 05:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:45 05:59:45 Login Succeeded 05:59:45 docker.io 05:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:46 Configure a credential helper to remove this warning. See 05:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:46 05:59:46 Login Succeeded 05:59:46 ---> docker-login.sh ends [Pipeline] } 05:59:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:59:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:46 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 05:59:46 9b27552b3734ae7c2a4c3808c2aff026acc83385 05:59:46 latest 05:59:46 2.2.0-dev.18 05:59:46 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:59:46 main 05:59:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh 05:59:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 05:59:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:59:47 f16a1d21750f: Preparing 05:59:47 538ffd8a5fbc: Preparing 05:59:47 7ae2e6c33238: Preparing 05:59:47 d8b3f6aebbf5: Preparing 05:59:47 0e827845f895: Preparing 05:59:47 f73e7dbfee58: Preparing 05:59:47 f73e7dbfee58: Waiting 05:59:47 7ae2e6c33238: Pushed 05:59:47 0e827845f895: Pushed 05:59:47 538ffd8a5fbc: Pushed 05:59:47 f73e7dbfee58: Layer already exists 05:59:47 d8b3f6aebbf5: Pushed 05:59:53 f16a1d21750f: Pushed 05:59:53 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:59:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:59:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:59:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:59:54 f16a1d21750f: Preparing 05:59:54 538ffd8a5fbc: Preparing 05:59:54 7ae2e6c33238: Preparing 05:59:54 d8b3f6aebbf5: Preparing 05:59:54 0e827845f895: Preparing 05:59:54 f73e7dbfee58: Preparing 05:59:54 f73e7dbfee58: Waiting 05:59:54 f16a1d21750f: Layer already exists 05:59:54 d8b3f6aebbf5: Layer already exists 05:59:54 0e827845f895: Layer already exists 05:59:54 538ffd8a5fbc: Layer already exists 05:59:54 7ae2e6c33238: Layer already exists 05:59:54 f73e7dbfee58: Layer already exists 05:59:54 latest: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:59:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:59:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 05:59:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:59:55 f16a1d21750f: Preparing 05:59:55 538ffd8a5fbc: Preparing 05:59:55 7ae2e6c33238: Preparing 05:59:55 d8b3f6aebbf5: Preparing 05:59:55 0e827845f895: Preparing 05:59:55 f73e7dbfee58: Preparing 05:59:55 f73e7dbfee58: Waiting 05:59:55 f16a1d21750f: Layer already exists 05:59:55 538ffd8a5fbc: Layer already exists 05:59:55 d8b3f6aebbf5: Layer already exists 05:59:55 0e827845f895: Layer already exists 05:59:55 7ae2e6c33238: Layer already exists 05:59:55 f73e7dbfee58: Layer already exists 05:59:55 2.2.0-dev.18: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:59:55 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:59:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:59:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:59:56 f16a1d21750f: Preparing 05:59:56 538ffd8a5fbc: Preparing 05:59:56 7ae2e6c33238: Preparing 05:59:56 d8b3f6aebbf5: Preparing 05:59:56 0e827845f895: Preparing 05:59:56 f73e7dbfee58: Preparing 05:59:56 f73e7dbfee58: Waiting 05:59:56 7ae2e6c33238: Layer already exists 05:59:56 d8b3f6aebbf5: Layer already exists 05:59:56 538ffd8a5fbc: Layer already exists 05:59:56 f16a1d21750f: Layer already exists 05:59:56 0e827845f895: Layer already exists 05:59:56 f73e7dbfee58: Layer already exists 05:59:56 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:59:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 05:59:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 05:59:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:59:57 f16a1d21750f: Preparing 05:59:57 538ffd8a5fbc: Preparing 05:59:57 7ae2e6c33238: Preparing 05:59:57 d8b3f6aebbf5: Preparing 05:59:57 0e827845f895: Preparing 05:59:57 f73e7dbfee58: Preparing 05:59:57 f73e7dbfee58: Waiting 05:59:57 d8b3f6aebbf5: Layer already exists 05:59:57 7ae2e6c33238: Layer already exists 05:59:57 0e827845f895: Layer already exists 05:59:57 538ffd8a5fbc: Layer already exists 05:59:57 f16a1d21750f: Layer already exists 05:59:57 f73e7dbfee58: Layer already exists 05:59:57 main: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:59:57 ===================================================== [Pipeline] echo 05:59:57 taggedImages: 05:59:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 05:59:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:59:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 05:59:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 05:59:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:59:57 05:59:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:59:58 arm64: Pulling from edgex-lftools-log-publisher 05:59:58 8998bd30e6a1: Pulling fs layer 05:59:58 04944245beec: Pulling fs layer 05:59:58 699f458cf7ca: Pulling fs layer 05:59:58 765212b225bb: Pulling fs layer 05:59:58 f23df028b6ca: Pulling fs layer 05:59:58 d65c8cfc05b1: Pulling fs layer 05:59:58 2437ff75d9bd: Pulling fs layer 05:59:58 765212b225bb: Waiting 05:59:58 f23df028b6ca: Waiting 05:59:58 d65c8cfc05b1: Waiting 05:59:58 2437ff75d9bd: Waiting 05:59:58 04944245beec: Verifying Checksum 05:59:58 04944245beec: Download complete 05:59:58 765212b225bb: Verifying Checksum 05:59:58 765212b225bb: Download complete 05:59:58 f23df028b6ca: Verifying Checksum 05:59:58 f23df028b6ca: Download complete 05:59:58 d65c8cfc05b1: Verifying Checksum 05:59:58 d65c8cfc05b1: Download complete 05:59:58 699f458cf7ca: Verifying Checksum 05:59:58 699f458cf7ca: Download complete 05:59:59 8998bd30e6a1: Verifying Checksum 05:59:59 8998bd30e6a1: Download complete 06:00:01 2437ff75d9bd: Verifying Checksum 06:00:01 2437ff75d9bd: Download complete 06:00:03 8998bd30e6a1: Pull complete 06:00:03 04944245beec: Pull complete 06:00:05 699f458cf7ca: Pull complete 06:00:05 765212b225bb: Pull complete 06:00:06 f23df028b6ca: Pull complete 06:00:06 d65c8cfc05b1: Pull complete 06:00:22 2437ff75d9bd: Pull complete 06:00:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:00:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:00:22 prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container 06:00:22 $ 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/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 06:00:25 $ docker top aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:26 ---> job-cost.sh 06:00:26 lf-activate-venv: SKIPPING 06:00:26 INFO: No Stack... 06:00:26 INFO: Retrieving Pricing Info for: v3-standard-4 06:00:27 INFO: Archiving Costs [Pipeline] sh 06:00:28 + cut -d, -f6 06:00:28 + cat /w/workspace/device-virtual-go/34/archives/cost.csv [Pipeline] lock 06:00:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] 06:00:28 Resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] did not exist. Created. 06:00:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:28 /w/workspace/device-virtual-go/34@tmp/durable-22f45640/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:00:29 + echo total: 0.10999999940395355 [Pipeline] stash 06:00:29 Warning: overwriting stash ‘stack-cost’ 06:00:29 Stashed 1 file(s) [Pipeline] } 06:00:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:29 $ docker stop --time=1 aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 06:00:31 $ docker rm -f aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 [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 06:00:31 provisioning config files... 06:00:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7453166951936017739tmp [Pipeline] { [Pipeline] sh 06:00:32 + set +x 06:00:32 + + bash -s -- 06:00:32 curl -s https://codecov.io/bash 06:00:32 06:00:32 _____ _ 06:00:32 / ____| | | 06:00:32 | | ___ __| | ___ ___ _____ __ 06:00:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:00:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:00:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:00:32 Bash-1.0.6 06:00:32 06:00:32 06:00:32 ==> git version 2.25.1 found 06:00:32 ==> 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 06:00:32 Release-Date: 2020-01-08 06:00:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:00:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:00:32 ==> Jenkins CI detected. 06:00:32 current dir:  /w/workspace/exfoundry_device-virtual-go_main 06:00:32 project root: . 06:00:32 --> token set from env 06:00:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:00:32 ==> Running gcov in . (disable via -X gcov) 06:00:32 ==> Python coveragepy not found 06:00:32 ==> Searching for coverage reports in: 06:00:32 + . 06:00:32 -> Found 1 reports 06:00:32 ==> Detecting git/mercurial file structure 06:00:32 ==> Reading reports 06:00:32 + ./coverage.out bytes=44128 06:00:32 ==> Appending adjustments 06:00:32 https://docs.codecov.io/docs/fixing-reports 06:00:32 + Found adjustments 06:00:32 ==> Gzipping contents 06:00:32 8.0K /tmp/codecov.5CxOzf.gz 06:00:32 ==> Uploading reports 06:00:32 url: https://codecov.io 06:00:32 query: branch=main&commit=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:00:32 -> Pinging Codecov 06:00:32 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=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:00:32 -> Uploading to 06:00:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/5E52B4B073DB2E39498172D8E973AA87/9b27552b3734ae7c2a4c3808c2aff026acc83385/bc5e28c1-072e-41e7-a93a-7eb422f0402a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T060032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bbe3904a51af8024647afb45a53750fd42adc405fab49268997a8f313c4972b2 06:00:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:32 Dload Upload Total Spent Left Speed 06:00:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5286 0 0 100 5286 0 23918 --:--:-- --:--:-- --:--:-- 23810 100 5286 0 0 100 5286 0 18164 --:--:-- --:--:-- --:--:-- 18164 06:00:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] } 06:00:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:00:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:00:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:00:33 06:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:00:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:00:33 188c0c94c7c5: Pulling fs layer 06:00:33 0ef7d3d256c8: Pulling fs layer 06:00:33 de9db76c5a1d: Pulling fs layer 06:00:33 0eba1c9be4d2: Pulling fs layer 06:00:33 0d57e429df01: Pulling fs layer 06:00:33 4e4be7b47b0d: Pulling fs layer 06:00:33 e1f770b5df2f: Pulling fs layer 06:00:33 85a0685a4137: Pulling fs layer 06:00:33 0d57e429df01: Waiting 06:00:33 4e4be7b47b0d: Waiting 06:00:33 e1f770b5df2f: Waiting 06:00:33 85a0685a4137: Waiting 06:00:33 0eba1c9be4d2: Waiting 06:00:33 0ef7d3d256c8: Download complete 06:00:33 0d57e429df01: Download complete 06:00:33 4e4be7b47b0d: Verifying Checksum 06:00:33 4e4be7b47b0d: Download complete 06:00:33 188c0c94c7c5: Verifying Checksum 06:00:33 188c0c94c7c5: Download complete 06:00:34 188c0c94c7c5: Pull complete 06:00:34 e1f770b5df2f: Verifying Checksum 06:00:34 e1f770b5df2f: Download complete 06:00:34 0ef7d3d256c8: Pull complete 06:00:34 de9db76c5a1d: Pull complete 06:00:34 0eba1c9be4d2: Verifying Checksum 06:00:34 0eba1c9be4d2: Download complete 06:00:34 85a0685a4137: Verifying Checksum 06:00:34 85a0685a4137: Download complete 06:00:37 0eba1c9be4d2: Pull complete 06:00:37 0d57e429df01: Pull complete 06:00:37 4e4be7b47b0d: Pull complete 06:00:38 e1f770b5df2f: Pull complete 06:00:41 85a0685a4137: Pull complete 06:00:41 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:00:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:00:41 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:00:43 $ docker top bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 -eo pid,comm [Pipeline] { [Pipeline] echo 06:00:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:00:44 + set -o pipefail 06:00:44 + snyk monitor '--org=edgex-jenkins' 06:00:54 06:00:54 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 06:00:54 06:00:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/7c594099-2208-4e2e-bf16-e36cf8f82d76 06:00:54 06:00:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:00:54 06:00:54 [Pipeline] } 06:00:54 $ docker stop --time=1 bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 06:00:56 $ docker rm -f bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 [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 06:00:57 + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] sh 06:00:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:00:57 . [Pipeline] withDockerContainer 06:00:57 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:00:58 $ docker top 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:58 [ssh-agent] Looking for ssh-agent implementation... 06:00:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:58 $ docker exec 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 ssh-agent 06:00:58 SSH_AUTH_SOCK=/tmp/ssh-hvjvrNtBSwDI/agent.33 06:00:58 SSH_AGENT_PID=39 06:00:58 Running ssh-add (command line suppressed) 06:00:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4894969184567851804.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4894969184567851804.key) 06:00:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:59 + git semver tag 06:00:59 2022-05-11 06:00:59,395 [run_tag] DEBUG tag force:False 06:00:59 2022-05-11 06:00:59,395 [check_head_tag] DEBUG check head tag 06:00:59 2022-05-11 06:00:59,396 [execute] INFO git cat-file --batch-check 06:00:59 2022-05-11 06:00:59,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 06:00:59 2022-05-11 06:00:59,400 [execute] INFO git cat-file --batch 06:00:59 2022-05-11 06:00:59,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 06:00:59 2022-05-11 06:00:59,418 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:00:59 2022-05-11 06:00:59,419 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 06:00:59 2022-05-11 06:00:59,419 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 06:00:59 2022-05-11 06:00:59,422 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:00:59 2.2.0-dev.18 [Pipeline] } 06:00:59 $ docker exec --env ******** --env ******** 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 ssh-agent -k 06:00:59 unset SSH_AUTH_SOCK; 06:00:59 unset SSH_AGENT_PID; 06:00:59 echo Agent pid 39 killed; 06:00:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:59 + git semver [Pipeline] } 06:01:00 $ docker stop --time=1 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 06:01:01 $ docker rm -f 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:01:01 06:01:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:01:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:01:02 0.23.1-centos7: Pulling from edgex-lftools 06:01:02 ab5ef0e58194: Pulling fs layer 06:01:02 9712f1f96733: Pulling fs layer 06:01:02 63f879dbbcfc: Pulling fs layer 06:01:02 0d9ebad4ef96: Pulling fs layer 06:01:02 e9a5061849ea: Pulling fs layer 06:01:02 d747dcd14b5f: Pulling fs layer 06:01:02 2de7ff778b66: Pulling fs layer 06:01:02 0d9ebad4ef96: Waiting 06:01:02 e9a5061849ea: Waiting 06:01:02 d747dcd14b5f: Waiting 06:01:02 2de7ff778b66: Waiting 06:01:02 63f879dbbcfc: Verifying Checksum 06:01:02 63f879dbbcfc: Download complete 06:01:02 e9a5061849ea: Verifying Checksum 06:01:02 e9a5061849ea: Download complete 06:01:02 d747dcd14b5f: Download complete 06:01:03 ab5ef0e58194: Verifying Checksum 06:01:03 ab5ef0e58194: Download complete 06:01:03 0d9ebad4ef96: Verifying Checksum 06:01:03 0d9ebad4ef96: Download complete 06:01:03 2de7ff778b66: Verifying Checksum 06:01:03 2de7ff778b66: Download complete 06:01:05 ab5ef0e58194: Pull complete 06:01:05 9712f1f96733: Pull complete 06:01:06 63f879dbbcfc: Pull complete 06:01:10 0d9ebad4ef96: Pull complete 06:01:10 e9a5061849ea: Pull complete 06:01:10 d747dcd14b5f: Pull complete 06:01:11 2de7ff778b66: Pull complete 06:01:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:01:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:01:11 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:01:14 $ docker top 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:01:14 provisioning config files... 06:01:14 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4134183291021683786tmp 06:01:14 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6197049086104912338tmp 06:01:14 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7764747449822252791tmp [Pipeline] { [Pipeline] echo 06:01:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:01:14 ---> sigul-configuration.sh 06:01:14 gpg: directory `/root/.gnupg' created 06:01:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:01:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:01:14 gpg: keyring `/root/.gnupg/secring.gpg' created 06:01:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:01:14 gpg: CAST5 encrypted data 06:01:14 gpg: encrypted with 1 passphrase 06:01:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:01:14 + mkdir /home/jenkins 06:01:14 + mkdir /home/jenkins/sigul [Pipeline] sh 06:01:15 + 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 06:01:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:01:15 ---> sigul-install.sh 06:01:15 Sigul already installed; skipping installation. [Pipeline] sh 06:01:15 + git tag --list 06:01:15 v1.0.0 06:01:15 v1.1.0 06:01:15 v1.1.1 06:01:15 v1.2.1 06:01:15 v1.2.2 06:01:15 v1.2.3 06:01:15 v1.3.0 06:01:15 v1.3.1 06:01:15 v2.0.0 06:01:15 v2.0.1-dev.1 06:01:15 v2.0.1-dev.10 06:01:15 v2.0.1-dev.11 06:01:15 v2.0.1-dev.12 06:01:15 v2.0.1-dev.13 06:01:15 v2.0.1-dev.14 06:01:15 v2.0.1-dev.15 06:01:15 v2.0.1-dev.2 06:01:15 v2.0.1-dev.3 06:01:15 v2.0.1-dev.4 06:01:15 v2.0.1-dev.5 06:01:15 v2.0.1-dev.6 06:01:15 v2.0.1-dev.7 06:01:15 v2.0.1-dev.8 06:01:15 v2.0.1-dev.9 06:01:15 v2.1.0 06:01:15 v2.2.0-dev.1 06:01:15 v2.2.0-dev.10 06:01:15 v2.2.0-dev.11 06:01:15 v2.2.0-dev.12 06:01:15 v2.2.0-dev.13 06:01:15 v2.2.0-dev.14 06:01:15 v2.2.0-dev.15 06:01:15 v2.2.0-dev.16 06:01:15 v2.2.0-dev.17 06:01:15 v2.2.0-dev.18 06:01:15 v2.2.0-dev.2 06:01:15 v2.2.0-dev.3 06:01:15 v2.2.0-dev.4 06:01:15 v2.2.0-dev.5 06:01:15 v2.2.0-dev.6 06:01:15 v2.2.0-dev.7 06:01:15 v2.2.0-dev.8 06:01:15 v2.2.0-dev.9 [Pipeline] sh 06:01:15 + lftools sign git-tag v2.2.0-dev.18 06:01:16 Signing Git tag with Sigul... 06:01:16 Signing v2.2.0-dev.18 [Pipeline] echo 06:01:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:01:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:01:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:01:17 $ docker stop --time=1 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b 06:01:18 $ docker rm -f 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:01:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:01:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:01:19 . [Pipeline] withDockerContainer 06:01:19 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:01:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:01:25 $ docker top 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:25 [ssh-agent] Looking for ssh-agent implementation... 06:01:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:25 $ docker exec 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 ssh-agent 06:01:25 SSH_AUTH_SOCK=/tmp/ssh-19rvHd1sAj06/agent.33 06:01:25 SSH_AGENT_PID=40 06:01:25 Running ssh-add (command line suppressed) 06:01:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5464749787807912736.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5464749787807912736.key) 06:01:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:25 + git semver bump pre 06:01:26 2022-05-11 06:01:26,111 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:01:26 2022-05-11 06:01:26,111 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev 06:01:26 2022-05-11 06:01:26,111 [bump_version] DEBUG bumped version:2.2.0-dev.19 06:01:26 2022-05-11 06:01:26,112 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 06:01:26 2022-05-11 06:01:26,112 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:01:26 2022-05-11 06:01:26,112 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:01:26 2022-05-11 06:01:26,114 [execute] INFO git cat-file --batch-check 06:01:26 2022-05-11 06:01:26,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:01:26 2022-05-11 06:01:26,119 [execute] INFO git cat-file --batch 06:01:26 2022-05-11 06:01:26,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:01:26 2022-05-11 06:01:26,124 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:01:26 2.2.0-dev.19 [Pipeline] } 06:01:26 $ docker exec --env ******** --env ******** 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 ssh-agent -k 06:01:26 unset SSH_AUTH_SOCK; 06:01:26 unset SSH_AGENT_PID; 06:01:26 echo Agent pid 40 killed; 06:01:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:26 + git semver [Pipeline] } 06:01:26 $ docker stop --time=1 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 06:01:28 $ docker rm -f 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:01:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:01:28 . [Pipeline] withDockerContainer 06:01:28 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:01:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:01:29 $ docker top 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:29 [ssh-agent] Looking for ssh-agent implementation... 06:01:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:29 $ docker exec 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 ssh-agent 06:01:29 SSH_AUTH_SOCK=/tmp/ssh-lxLGtzTRZyrf/agent.33 06:01:29 SSH_AGENT_PID=39 06:01:29 Running ssh-add (command line suppressed) 06:01:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7142541957739254272.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7142541957739254272.key) 06:01:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:30 + git semver push 06:01:30 2022-05-11 06:01:30,471 [run_push] DEBUG push 06:01:30 2022-05-11 06:01:30,471 [execute] INFO git push origin semver 06:01:30 2022-05-11 06:01:30,472 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:01:31 2022-05-11 06:01:31,272 [run_push] DEBUG push all version tags 06:01:31 2022-05-11 06:01:31,273 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:01:31 2022-05-11 06:01:31,274 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 06:01:32 2022-05-11 06:01:32,059 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:01:32 2.2.0-dev.19 [Pipeline] } 06:01:32 $ docker exec --env ******** --env ******** 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 ssh-agent -k 06:01:32 unset SSH_AUTH_SOCK; 06:01:32 unset SSH_AGENT_PID; 06:01:32 echo Agent pid 39 killed; 06:01:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:32 + git semver [Pipeline] } 06:01:33 $ docker stop --time=1 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 06:01:34 $ docker rm -f 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 [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 06:01:34 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 06:01:34 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:01:34 total 16 06:01:34 drwxr-xr-x 3 root root 4096 May 11 05:51 . 06:01:34 drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:01 .. 06:01:34 drwxr-xr-x 2 root root 4096 May 11 05:51 cost 06:01:34 -rw-r--r-- 1 root root 87 May 11 05:51 cost.csv 06:01:34 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 06:01:34 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:01:34 total 16 06:01:34 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:51 . 06:01:34 drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:01 .. 06:01:34 drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:51 cost 06:01:34 -rw-r--r-- 1 jenkins jenkins 87 May 11 05:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:01:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:01:36 ---> package-listing.sh 06:01:36 ++ facter osfamily 06:01:36 ++ tr '[:upper:]' '[:lower:]' 06:01:36 + OS_FAMILY=debian 06:01:36 + workspace=/w/workspace/exfoundry_device-virtual-go_main 06:01:36 + START_PACKAGES=/tmp/packages_start.txt 06:01:36 + END_PACKAGES=/tmp/packages_end.txt 06:01:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:01:36 + PACKAGES=/tmp/packages_start.txt 06:01:36 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:01:36 + PACKAGES=/tmp/packages_end.txt 06:01:36 + case "${OS_FAMILY}" in 06:01:36 + dpkg -l 06:01:36 + grep '^ii' 06:01:36 + '[' -f /tmp/packages_start.txt ']' 06:01:36 + '[' -f /tmp/packages_end.txt ']' 06:01:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:01:36 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:01:36 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 06:01:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 06:01:36 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 06:01:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:01:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:37 . [Pipeline] withDockerContainer 06:01:37 prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container 06:01:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:37 $ docker top c2c399bfbd9f0d98416f9b8af7e95e768a8ce37c132e75e0a339a900adf7d5b4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:37 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:01:38 + ls /var/log/sa-host 06:01:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:38 provisioning config files... 06:01:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6787303028529219049tmp [Pipeline] { [Pipeline] echo 06:01:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:01:38 ---> create-netrc.sh [Pipeline] } 06:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:01:39 ---> python-tools-install.sh [Pipeline] echo 06:01:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:39 ---> sudo-logs.sh 06:01:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:01:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:39 ---> job-cost.sh 06:01:39 lf-activate-venv: SKIPPING 06:01:39 DEBUG: total: 0.2199999988079071 06:01:39 INFO: Retrieving Stack Cost... 06:01:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:40 INFO: Archiving Costs [Pipeline] echo 06:01:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:01:41 ---> logs-deploy.sh 06:01:41 lf-activate-venv: SKIPPING 06:01:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/34 06:01:41 INFO: archiving workspace using pattern(s): 06:01:41 Archives upload complete. 06:01:41 INFO: archiving logs to Nexus