Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 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-ssh5982183290554805987.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4645730962878861574.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-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-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11817321296707822561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh4743703332789354290.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-sdk-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-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8438168850064803964.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-44842’ is offline ‘prd-ubuntu20.04-docker-8c-8g-44847’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-44843’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44851 in /w/workspace/edgexfoundry_device-sdk-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-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 # timeout=10 Commit message: "Merge pull request #1159 from weichou1229/issue-1157" > git rev-list --no-walk b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:31:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:31:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:31:19 ========================================================= 06:31:19 EdgeX Global Pipelines Version Info 06:31:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:31:20 ------------------- 06:31:20 stable info: 06:31:20 ------------------- 06:31:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:31:20 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:31:20 Message: update stable to v1.0.227 06:31:21 ------------------- 06:31:21 experimental info: 06:31:21 ------------------- 06:31:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:31:21 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:31:21 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95cc416 [Pipeline] echo 06:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:21 provisioning config files... 06:31:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2381107869938989081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:22 ---> docker-login.sh 06:31:22 nexus3.edgexfoundry.org:10001 06:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:22 Configure a credential helper to remove this warning. See 06:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:22 06:31:22 Login Succeeded 06:31:22 nexus3.edgexfoundry.org:10002 06:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:22 Configure a credential helper to remove this warning. See 06:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:22 06:31:22 Login Succeeded 06:31:22 nexus3.edgexfoundry.org:10003 06:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:22 Configure a credential helper to remove this warning. See 06:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:22 06:31:22 Login Succeeded 06:31:22 nexus3.edgexfoundry.org:10004 06:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:22 Configure a credential helper to remove this warning. See 06:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:22 06:31:22 Login Succeeded 06:31:22 docker.io 06:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:23 Configure a credential helper to remove this warning. See 06:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:23 06:31:23 Login Succeeded 06:31:23 ---> docker-login.sh ends [Pipeline] } 06:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:31:23 + git rev-list -1 --merges 95cc41607fa0e7e8234cfcf8f734ea02839e59f5~1..95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] echo 06:31:24 -----------> git rev-list -1 --merges 95cc41607fa0e7e8234cfcf8f734ea02839e59f5~1..95cc41607fa0e7e8234cfcf8f734ea02839e59f5 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 06:31:24 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [false] [Pipeline] sh 06:31:24 + git log --format=format:%s -1 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] echo 06:31:24 ========================================================= 06:31:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:31:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:24 + git log --format=format:%s -1 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] echo 06:31:24 [semverPrep] GIT_COMMIT: 95cc41607fa0e7e8234cfcf8f734ea02839e59f5, Commit Message: Merge pull request #1159 from weichou1229/issue-1157 [Pipeline] echo 06:31:24 [semverPrep] This is not a build commit. [Pipeline] sh 06:31:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:31:25 + grep -v github /etc/ssh/ssh_known_hosts 06:31:25 + [ -e /tmp/ssh_known_hosts ] 06:31:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:31:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:31:25 + sudo tee -a /etc/ssh/ssh_known_hosts 06:31:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:31:25 06:31:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:31:25 latest: Pulling from edgex-devops/py-git-semver 06:31:25 1fe172e4850f: Pulling fs layer 06:31:25 caf521ccaac6: Pulling fs layer 06:31:25 3ead6fa29328: Pulling fs layer 06:31:25 5c2a1cbceb83: Pulling fs layer 06:31:25 a8d5f1318db7: Pulling fs layer 06:31:25 c427282e49a2: Pulling fs layer 06:31:25 1827001aaf11: Pulling fs layer 06:31:25 0714d37db230: Pulling fs layer 06:31:25 ac28cf19c067: Pulling fs layer 06:31:25 ca983d60f3e2: Pulling fs layer 06:31:25 9f894cec8388: Pulling fs layer 06:31:25 c427282e49a2: Waiting 06:31:25 a8d5f1318db7: Waiting 06:31:25 ca983d60f3e2: Waiting 06:31:25 1827001aaf11: Waiting 06:31:25 9f894cec8388: Waiting 06:31:25 0714d37db230: Waiting 06:31:25 ac28cf19c067: Waiting 06:31:25 5c2a1cbceb83: Waiting 06:31:25 caf521ccaac6: Download complete 06:31:25 5c2a1cbceb83: Verifying Checksum 06:31:25 5c2a1cbceb83: Download complete 06:31:25 3ead6fa29328: Verifying Checksum 06:31:25 3ead6fa29328: Download complete 06:31:25 a8d5f1318db7: Verifying Checksum 06:31:25 a8d5f1318db7: Download complete 06:31:25 c427282e49a2: Download complete 06:31:25 0714d37db230: Download complete 06:31:25 ac28cf19c067: Verifying Checksum 06:31:25 ac28cf19c067: Download complete 06:31:25 ca983d60f3e2: Verifying Checksum 06:31:25 ca983d60f3e2: Download complete 06:31:25 9f894cec8388: Download complete 06:31:25 1fe172e4850f: Verifying Checksum 06:31:25 1fe172e4850f: Download complete 06:31:26 1827001aaf11: Verifying Checksum 06:31:26 1827001aaf11: Download complete 06:31:27 1fe172e4850f: Pull complete 06:31:27 caf521ccaac6: Pull complete 06:31:28 3ead6fa29328: Pull complete 06:31:28 5c2a1cbceb83: Pull complete 06:31:28 a8d5f1318db7: Pull complete 06:31:28 c427282e49a2: Pull complete 06:31:30 1827001aaf11: Pull complete 06:31:30 0714d37db230: Pull complete 06:31:30 ac28cf19c067: Pull complete 06:31:30 ca983d60f3e2: Pull complete 06:31:30 9f894cec8388: Pull complete 06:31:30 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:31:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:31:30 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:31:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 06:31:32 $ docker top 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f -eo pid,comm 06:31:32 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). 06:31:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:32 [ssh-agent] Looking for ssh-agent implementation... 06:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:32 $ docker exec 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f ssh-agent 06:31:32 SSH_AUTH_SOCK=/tmp/ssh-UN1zrPVGdctG/agent.33 06:31:32 SSH_AGENT_PID=39 06:31:32 Running ssh-add (command line suppressed) 06:31:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8734322344960088131.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8734322344960088131.key) 06:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:32 + git tag --points-at HEAD [Pipeline] } 06:31:32 $ docker exec --env ******** --env ******** 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f ssh-agent -k 06:31:33 unset SSH_AUTH_SOCK; 06:31:33 unset SSH_AGENT_PID; 06:31:33 echo Agent pid 39 killed; 06:31:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:31:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:33 [ssh-agent] Looking for ssh-agent implementation... 06:31:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:33 $ docker exec 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f ssh-agent 06:31:33 SSH_AUTH_SOCK=/tmp/ssh-d847vqD8KnH5/agent.73 06:31:33 SSH_AGENT_PID=79 06:31:33 Running ssh-add (command line suppressed) 06:31:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8677127441122248283.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8677127441122248283.key) 06:31:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:33 + git semver init 06:31:34 2022-05-10 06:31:34,045 [run_init] DEBUG init version:0.0.0 force:False 06:31:34 2022-05-10 06:31:34,046 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:31:34 2022-05-10 06:31:34,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:31:34 2022-05-10 06:31:34,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:31:35 2022-05-10 06:31:34,904 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:31:35 2022-05-10 06:31:34,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:31:35 2022-05-10 06:31:34,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:31:35 2022-05-10 06:31:34,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:31:35 2.2.0-dev.38 [Pipeline] } 06:31:35 $ docker exec --env ******** --env ******** 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f ssh-agent -k 06:31:35 unset SSH_AUTH_SOCK; 06:31:35 unset SSH_AGENT_PID; 06:31:35 echo Agent pid 79 killed; 06:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:35 + git semver [Pipeline] } 06:31:35 $ docker stop --time=1 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f 06:31:37 $ docker rm -f 747b95833047671c453d391d63dfdf0ac7d9b4414ae1f3dcac44a580db84c97f [Pipeline] // withDockerContainer [Pipeline] sh 06:31:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:31:37 Stashed 1 file(s) [Pipeline] echo 06:31:37 [edgeXSemver]: initialized semver on version 2.2.0-dev.38 [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 06:31:37 provisioning config files... 06:31:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config616709497040982493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:38 ---> docker-login.sh 06:31:38 nexus3.edgexfoundry.org:10001 06:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:38 Configure a credential helper to remove this warning. See 06:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:38 06:31:38 Login Succeeded 06:31:38 nexus3.edgexfoundry.org:10002 06:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:38 Configure a credential helper to remove this warning. See 06:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:38 06:31:38 Login Succeeded 06:31:38 nexus3.edgexfoundry.org:10003 06:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:38 Configure a credential helper to remove this warning. See 06:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:38 06:31:38 Login Succeeded 06:31:38 nexus3.edgexfoundry.org:10004 06:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:38 Configure a credential helper to remove this warning. See 06:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:38 06:31:38 Login Succeeded 06:31:38 docker.io 06:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:39 Configure a credential helper to remove this warning. See 06:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:39 06:31:39 Login Succeeded 06:31:39 ---> docker-login.sh ends [Pipeline] } 06:31:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:39 ========================================================= 06:31:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:31:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:31:39 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:31:39 Sending build context to Docker daemon 9.701MB 06:31:39 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:31:39 Step 2/11 : FROM ${BASE} AS builder 06:31:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:39 59bf1c3509f3: Pulling fs layer 06:31:39 666ba61612fd: Pulling fs layer 06:31:39 8ed8ca486205: Pulling fs layer 06:31:39 4fe6c5a15a65: Pulling fs layer 06:31:39 22a0e8bec74d: Pulling fs layer 06:31:39 ca2b28591e48: Pulling fs layer 06:31:39 a51346096db8: Pulling fs layer 06:31:39 daebc70d1ce1: Pulling fs layer 06:31:39 0e18a0eac166: Pulling fs layer 06:31:39 ca2b28591e48: Waiting 06:31:39 22a0e8bec74d: Waiting 06:31:39 4fe6c5a15a65: Waiting 06:31:39 0e18a0eac166: Waiting 06:31:39 daebc70d1ce1: Waiting 06:31:39 a51346096db8: Waiting 06:31:39 8ed8ca486205: Download complete 06:31:39 666ba61612fd: Verifying Checksum 06:31:39 666ba61612fd: Download complete 06:31:39 22a0e8bec74d: Download complete 06:31:39 ca2b28591e48: Verifying Checksum 06:31:39 ca2b28591e48: Download complete 06:31:39 a51346096db8: Verifying Checksum 06:31:39 a51346096db8: Download complete 06:31:39 59bf1c3509f3: Verifying Checksum 06:31:39 59bf1c3509f3: Download complete 06:31:39 daebc70d1ce1: Verifying Checksum 06:31:39 daebc70d1ce1: Download complete 06:31:39 59bf1c3509f3: Pull complete 06:31:39 666ba61612fd: Pull complete 06:31:39 8ed8ca486205: Pull complete 06:31:40 0e18a0eac166: Verifying Checksum 06:31:40 0e18a0eac166: Download complete 06:31:40 4fe6c5a15a65: Verifying Checksum 06:31:40 4fe6c5a15a65: Download complete 06:31:44 4fe6c5a15a65: Pull complete 06:31:44 22a0e8bec74d: Pull complete 06:31:44 ca2b28591e48: Pull complete 06:31:44 a51346096db8: Pull complete 06:31:44 daebc70d1ce1: Pull complete 06:31:46 0e18a0eac166: Pull complete 06:31:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:31:46 ---> f018257e8ee9 06:31:46 Step 3/11 : ARG MAKE=make build 06:31:47 ---> Running in 201707cd4dec 06:31:47 Removing intermediate container 201707cd4dec 06:31:47 ---> 7cab8d62d124 06:31:47 Step 4/11 : WORKDIR /device-sdk-go 06:31:47 ---> Running in 6751053450ab 06:31:47 Removing intermediate container 6751053450ab 06:31:47 ---> 5b0b06506d01 06:31:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:47 ---> Running in 265be24b13fe 06:31:47 Removing intermediate container 265be24b13fe 06:31:47 ---> d8e22232a87d 06:31:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:47 ---> Running in 99b295f3b6df 06:31:48 Removing intermediate container 99b295f3b6df 06:31:48 ---> cb0cb8a100ce 06:31:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:31:48 ---> Running in a33fb683cbc6 06:31:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:31:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:31:50 OK: 221 MiB in 52 packages 06:31:50 Removing intermediate container a33fb683cbc6 06:31:50 ---> 4cfff2b9fefe 06:31:50 Step 8/11 : COPY go.mod vendor* ./ 06:31:50 ---> aa981b1b3878 06:31:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:50 ---> Running in ee25b4e69cc9 06:31:52 Still waiting to schedule task 06:31:52 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:31:52 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:31:52 ‘prd-ubuntu20.04-docker-8c-8g-44842’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:31:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44843’ is offline 06:31:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44850’ is offline 06:31:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44852’ is offline 06:32:05 Removing intermediate container ee25b4e69cc9 06:32:05 ---> f53cdd9e7d07 06:32:05 Step 10/11 : COPY . . 06:32:05 ---> 20844e3e097a 06:32:05 Step 11/11 : RUN ${MAKE} 06:32:05 ---> Running in 5e6ccda92b6f 06:32:05 noop 06:32:05 Removing intermediate container 5e6ccda92b6f 06:32:05 ---> 9ccb0a05f607 06:32:05 Successfully built 9ccb0a05f607 06:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:32:05 + docker inspect -f . ci-base-image-x86_64 06:32:05 . [Pipeline] withDockerContainer 06:32:05 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 06:32:06 $ docker top 1fc9c29d28a370fb89b0578245503eaf13bb86f8bc4ec805971f0b0af5835205 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:06 + go version 06:32:06 go version go1.17.6 linux/amd64 [Pipeline] } 06:32:06 $ docker stop --time=1 1fc9c29d28a370fb89b0578245503eaf13bb86f8bc4ec805971f0b0af5835205 06:32:08 $ docker rm -f 1fc9c29d28a370fb89b0578245503eaf13bb86f8bc4ec805971f0b0af5835205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:08 + docker inspect -f . ci-base-image-x86_64 06:32:08 . [Pipeline] withDockerContainer 06:32:08 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:32:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 06:32:08 $ docker top 8a22d31d72c0b83e96798a2d226a372bf8fae26c227c2d50bbbaf3453a2ae375 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:32:09 + make test 06:32:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:32:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 27.6% of statements 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.102s coverage: 78.9% of statements 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 60.0% of statements 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:32:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 34.8% of statements 06:32:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 86.1% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements 06:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.793s coverage: 89.2% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:32:42 GO111MODULE=on go vet ./... 06:32:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:32:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:32:46 ./bin/test-attribution-txt.sh [Pipeline] echo 06:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:32:46 $ docker stop --time=1 8a22d31d72c0b83e96798a2d226a372bf8fae26c227c2d50bbbaf3453a2ae375 06:32:48 $ docker rm -f 8a22d31d72c0b83e96798a2d226a372bf8fae26c227c2d50bbbaf3453a2ae375 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:32:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:32:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:50 + ls -al . 06:32:50 total 296 06:32:50 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:32 . 06:32:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:31 .. 06:32:50 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:31 .dockerignore 06:32:50 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:31 .git 06:32:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:31 .github 06:32:50 -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:31 .gitignore 06:32:50 -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:31 .golangci.yml 06:32:50 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:31 .semver 06:32:50 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:31 CHANGELOG.md 06:32:50 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:31 GOVERNANCE.md 06:32:50 -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:31 Jenkinsfile 06:32:50 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:31 LICENSE 06:32:50 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:31 Makefile 06:32:50 -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:31 OWNERS.md 06:32:50 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:31 README.md 06:32:50 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:31 VERSION 06:32:50 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:31 bin 06:32:50 -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:32 coverage.out 06:32:50 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:31 example 06:32:50 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:31 go.mod 06:32:50 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:31 go.sum 06:32:50 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:31 internal 06:32:50 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:31 openapi 06:32:50 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:31 pkg 06:32:50 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:31 snap 06:32:50 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:31 version.go [Pipeline] isUnix [Pipeline] sh 06:32:50 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=95cc41607fa0e7e8234cfcf8f734ea02839e59f5 --label arch=amd64 --label version=2.2.0-dev.38 . 06:32:50 Sending build context to Docker daemon 9.832MB 06:32:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:32:50 Step 2/25 : FROM ${BASE} AS builder 06:32:50 ---> 9ccb0a05f607 06:32:50 Step 3/25 : ARG MAKE=make build 06:32:50 ---> Running in c755a1a717ab 06:32:50 Removing intermediate container c755a1a717ab 06:32:50 ---> 7ec5146359a5 06:32:50 Step 4/25 : WORKDIR /device-sdk-go 06:32:50 ---> Running in 9c0642234586 06:32:50 Removing intermediate container 9c0642234586 06:32:50 ---> 17aa5f8a5851 06:32:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:51 ---> Running in 370a5994d277 06:32:51 Removing intermediate container 370a5994d277 06:32:51 ---> 9a4c64ff9ee8 06:32:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:51 ---> Running in cd50b582826f 06:32:51 Removing intermediate container cd50b582826f 06:32:51 ---> 28a61c8482b8 06:32:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:32:51 ---> Running in 34426060b7db 06:32:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:32:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:32:53 OK: 221 MiB in 52 packages 06:32:53 Removing intermediate container 34426060b7db 06:32:53 ---> 82affd0d3d78 06:32:53 Step 8/25 : COPY go.mod vendor* ./ 06:32:53 ---> d8ad9eaf2b5d 06:32:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:53 ---> Running in c3d225b4bd23 06:32:54 Removing intermediate container c3d225b4bd23 06:32:54 ---> 53c92acc10c6 06:32:54 Step 10/25 : COPY . . 06:32:54 ---> 3e2b78830fcc 06:32:54 Step 11/25 : RUN ${MAKE} 06:32:54 ---> Running in e719db89c353 06:32:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:33:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:33:14 Removing intermediate container e719db89c353 06:33:14 ---> 15d25b0ebfb3 06:33:14 Step 12/25 : FROM alpine:3.14 06:33:14 3.14: Pulling from library/alpine 06:33:14 8663204ce13b: Pulling fs layer 06:33:15 8663204ce13b: Verifying Checksum 06:33:15 8663204ce13b: Download complete 06:33:15 8663204ce13b: Pull complete 06:33:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:33:15 Status: Downloaded newer image for alpine:3.14 06:33:15 ---> e04c818066af 06:33:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:15 ---> Running in d24f81b1e8a3 06:33:15 Removing intermediate container d24f81b1e8a3 06:33:15 ---> 193629f78725 06:33:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:15 ---> Running in 9a91eb46d2e3 06:33:15 Removing intermediate container 9a91eb46d2e3 06:33:15 ---> cfa2e6e96058 06:33:15 Step 15/25 : RUN apk add --update --no-cache zeromq 06:33:15 ---> Running in 2f32ae26d8ba 06:33:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:33:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:33:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:33:17 (2/5) Installing libsodium (1.0.18-r0) 06:33:17 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:33:17 (4/5) Installing libzmq (4.3.4-r0) 06:33:17 (5/5) Installing zeromq (4.3.4-r0) 06:33:17 Executing busybox-1.33.1-r7.trigger 06:33:17 OK: 8 MiB in 19 packages 06:33:18 Removing intermediate container 2f32ae26d8ba 06:33:18 ---> 22920eef3fde 06:33:18 Step 16/25 : WORKDIR / 06:33:18 ---> Running in 8b9234b27466 06:33:18 Removing intermediate container 8b9234b27466 06:33:18 ---> 60a92f683bc6 06:33:18 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:33:18 ---> e79a4a0579ea 06:33:18 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:33:19 ---> 14d14ab48317 06:33:19 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:33:19 ---> b1ad791a928d 06:33:19 Step 20/25 : EXPOSE 59999 06:33:19 ---> Running in 3b78b5c73e37 06:33:19 Removing intermediate container 3b78b5c73e37 06:33:19 ---> 27e95b0c4f82 06:33:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:33:19 ---> Running in c09ad351ebaa 06:33:19 Removing intermediate container c09ad351ebaa 06:33:19 ---> 1277cad6af85 06:33:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:33:19 ---> Running in ac829e3337db 06:33:19 Removing intermediate container ac829e3337db 06:33:19 ---> c8829a5baf51 06:33:19 Step 23/25 : LABEL arch=amd64 06:33:19 ---> Running in f4d16c621694 06:33:19 Removing intermediate container f4d16c621694 06:33:19 ---> c73b36706813 06:33:19 Step 24/25 : LABEL git_sha=95cc41607fa0e7e8234cfcf8f734ea02839e59f5 06:33:19 ---> Running in e55f661470d9 06:33:20 Removing intermediate container e55f661470d9 06:33:20 ---> 017356514a44 06:33:20 Step 25/25 : LABEL version=2.2.0-dev.38 06:33:20 ---> Running in b90fc9386865 06:33:20 Removing intermediate container b90fc9386865 06:33:20 ---> 35f6985d7904 06:33:20 [Warning] One or more build-args [ARCH] were not consumed 06:33:20 Successfully built 35f6985d7904 06:33:20 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 06:33:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:20 06:33:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:33:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:20 latest: Pulling from edgex-lftools-log-publisher 06:33:20 5eb5b503b376: Pulling fs layer 06:33:20 5c69ac0246d0: Pulling fs layer 06:33:20 ec43610c2a17: Pulling fs layer 06:33:20 3a2ae6a8a46f: Pulling fs layer 06:33:20 33b1e0a273af: Pulling fs layer 06:33:20 5d3b04190fa2: Pulling fs layer 06:33:20 2f39f015ded8: Pulling fs layer 06:33:20 33b1e0a273af: Waiting 06:33:20 5d3b04190fa2: Waiting 06:33:20 2f39f015ded8: Waiting 06:33:20 3a2ae6a8a46f: Waiting 06:33:20 5c69ac0246d0: Verifying Checksum 06:33:20 5c69ac0246d0: Download complete 06:33:20 3a2ae6a8a46f: Download complete 06:33:20 33b1e0a273af: Verifying Checksum 06:33:20 33b1e0a273af: Download complete 06:33:20 ec43610c2a17: Verifying Checksum 06:33:20 ec43610c2a17: Download complete 06:33:20 5d3b04190fa2: Verifying Checksum 06:33:20 5d3b04190fa2: Download complete 06:33:21 5eb5b503b376: Download complete 06:33:21 2f39f015ded8: Download complete 06:33:22 5eb5b503b376: Pull complete 06:33:22 5c69ac0246d0: Pull complete 06:33:23 ec43610c2a17: Pull complete 06:33:23 3a2ae6a8a46f: Pull complete 06:33:23 33b1e0a273af: Pull complete 06:33:23 5d3b04190fa2: Pull complete 06:33:28 2f39f015ded8: Pull complete 06:33:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:33:28 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:33:28 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 06:33:30 $ docker top dcf3e1a5b42ce1b1cfa83efefd6865233e42b19260dbfbe0604287dc0b52ef65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:31 ---> job-cost.sh 06:33:31 lf-activate-venv: SKIPPING 06:33:31 INFO: No Stack... 06:33:31 INFO: Retrieving Pricing Info for: v3-standard-8 06:33:31 INFO: Archiving Costs [Pipeline] sh 06:33:32 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:33:32 + cut -d, -f6 [Pipeline] lock 06:33:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] 06:33:32 Resource [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] did not exist. Created. 06:33:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:32 + echo total: 0.2199999988079071 [Pipeline] stash 06:33:32 Stashed 1 file(s) [Pipeline] } 06:33:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 06:33:32 $ docker stop --time=1 dcf3e1a5b42ce1b1cfa83efefd6865233e42b19260dbfbe0604287dc0b52ef65 06:33:33 $ docker rm -f dcf3e1a5b42ce1b1cfa83efefd6865233e42b19260dbfbe0604287dc0b52ef65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44869 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:36:15 Running in /w/workspace/device-sdk-go/72 [Pipeline] { [Pipeline] checkout 06:36:15 The recommended git tool is: git 06:36:22 using credential edgex-jenkins-ssh 06:36:22 Cloning the remote Git repository 06:36:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:36:22 > git init /w/workspace/device-sdk-go/72 # timeout=10 06:36:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:22 > git --version # timeout=10 06:36:22 > git --version # 'git version 2.25.1' 06:36:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:24 Avoid second fetch 06:36:24 Checking out Revision 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 (main) 06:36:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:36:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:24 > git config core.sparsecheckout # timeout=10 06:36:24 > git checkout -f 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 # timeout=10 06:36:28 Commit message: "Merge pull request #1159 from weichou1229/issue-1157" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:36:29 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:29 Dload Upload Total Spent Left Speed 06:36:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 06:36:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:36:30 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 06:36:30 tee /etc/docker/daemon.new 06:36:30 { 06:36:30 "registry-mirrors": [ 06:36:30 "https://nexus3.edgexfoundry.org:10001" 06:36:30 ], 06:36:30 "bip": "10.250.0.254/24", 06:36:30 "hosts": [ 06:36:30 "tcp://0.0.0.0:5555", 06:36:30 "unix:///var/run/docker.sock" 06:36:30 ], 06:36:30 "mtu": 1458, 06:36:30 "selinux-enabled": true, 06:36:30 "seccomp-profile": "/etc/docker/seccomp.json" 06:36:30 } [Pipeline] sh 06:36:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:36:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:49 provisioning config files... 06:36:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/72@tmp/config900420409785608913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:50 ---> docker-login.sh 06:36:50 nexus3.edgexfoundry.org:10001 06:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 nexus3.edgexfoundry.org:10002 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 nexus3.edgexfoundry.org:10003 06:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:52 Configure a credential helper to remove this warning. See 06:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:52 06:36:52 Login Succeeded 06:36:52 nexus3.edgexfoundry.org:10004 06:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:52 Configure a credential helper to remove this warning. See 06:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:52 06:36:52 Login Succeeded 06:36:52 docker.io 06:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:53 Configure a credential helper to remove this warning. See 06:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:53 06:36:53 Login Succeeded 06:36:53 ---> docker-login.sh ends [Pipeline] } 06:36:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:54 ========================================================= 06:36:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:36:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:36:54 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:36:55 Sending build context to Docker daemon 5.225MB 06:36:55 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:36:55 Step 2/11 : FROM ${BASE} AS builder 06:36:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:36:55 9b3977197b4f: Pulling fs layer 06:36:55 1a89e8eeedd5: Pulling fs layer 06:36:55 94645a83ff95: Pulling fs layer 06:36:55 3f3a8bcf1eab: Pulling fs layer 06:36:55 0c92f367c5e7: Pulling fs layer 06:36:55 3096ccb668a1: Pulling fs layer 06:36:55 e8cf19c19ddd: Pulling fs layer 06:36:55 a4caa8a26152: Pulling fs layer 06:36:55 3f3a8bcf1eab: Waiting 06:36:55 0c92f367c5e7: Waiting 06:36:55 3096ccb668a1: Waiting 06:36:55 e8cf19c19ddd: Waiting 06:36:55 a4caa8a26152: Waiting 06:36:55 94645a83ff95: Verifying Checksum 06:36:55 94645a83ff95: Download complete 06:36:55 1a89e8eeedd5: Verifying Checksum 06:36:55 1a89e8eeedd5: Download complete 06:36:55 0c92f367c5e7: Download complete 06:36:55 3096ccb668a1: Verifying Checksum 06:36:55 3096ccb668a1: Download complete 06:36:55 9b3977197b4f: Verifying Checksum 06:36:55 9b3977197b4f: Download complete 06:36:55 e8cf19c19ddd: Verifying Checksum 06:36:55 e8cf19c19ddd: Download complete 06:36:56 9b3977197b4f: Pull complete 06:36:57 1a89e8eeedd5: Pull complete 06:36:57 94645a83ff95: Pull complete 06:36:57 a4caa8a26152: Verifying Checksum 06:36:57 a4caa8a26152: Download complete 06:36:58 3f3a8bcf1eab: Verifying Checksum 06:36:58 3f3a8bcf1eab: Download complete 06:37:13 3f3a8bcf1eab: Pull complete 06:37:13 0c92f367c5e7: Pull complete 06:37:13 3096ccb668a1: Pull complete 06:37:13 e8cf19c19ddd: Pull complete 06:37:18 a4caa8a26152: Pull complete 06:37:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:37:18 ---> 725f1c02e7f9 06:37:18 Step 3/11 : ARG MAKE=make build 06:37:19 ---> Running in ceb9b5cc7738 06:37:19 Removing intermediate container ceb9b5cc7738 06:37:19 ---> 3bb54f8a1028 06:37:19 Step 4/11 : WORKDIR /device-sdk-go 06:37:19 ---> Running in 84942316c6b7 06:37:20 Removing intermediate container 84942316c6b7 06:37:20 ---> 577934b11e4b 06:37:20 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:20 ---> Running in 70f9a97104ed 06:37:20 Removing intermediate container 70f9a97104ed 06:37:20 ---> 3f8a8b6eedf0 06:37:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:20 ---> Running in 0ef1a95d9f9d 06:37:24 Removing intermediate container 0ef1a95d9f9d 06:37:24 ---> e2b2c8b05cfc 06:37:24 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:37:24 ---> Running in e6ec123366b1 06:37:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:37:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:37:26 OK: 220 MiB in 52 packages 06:37:27 Removing intermediate container e6ec123366b1 06:37:27 ---> 880e8aa35952 06:37:27 Step 8/11 : COPY go.mod vendor* ./ 06:37:28 ---> 27c5140f47d4 06:37:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:28 ---> Running in 957c2d5407b5 06:38:15 Removing intermediate container 957c2d5407b5 06:38:15 ---> a9b93cbb4cf9 06:38:15 Step 10/11 : COPY . . 06:38:15 ---> 9954fd0b3dae 06:38:15 Step 11/11 : RUN ${MAKE} 06:38:15 ---> Running in 4a131ae26300 06:38:15 noop 06:38:15 Removing intermediate container 4a131ae26300 06:38:15 ---> 3e441b4f80ac 06:38:15 Successfully built 3e441b4f80ac 06:38:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:38:15 + docker inspect -f . ci-base-image-arm64 06:38:15 . [Pipeline] withDockerContainer 06:38:16 prd-ubuntu20.04-docker-arm64-4c-16g-44869 does not seem to be running inside a container 06:38:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/72 -v /w/workspace/device-sdk-go/72:/w/workspace/device-sdk-go/72:rw,z -v /w/workspace/device-sdk-go/72@tmp:/w/workspace/device-sdk-go/72@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 06:38:17 $ docker top 9788f21e5dd45001a904f5c65b503f3f223b3f825ecc60ab3f6f56674d55738a -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:18 + go version 06:38:18 go version go1.17.6 linux/arm64 [Pipeline] } 06:38:18 $ docker stop --time=1 9788f21e5dd45001a904f5c65b503f3f223b3f825ecc60ab3f6f56674d55738a 06:38:20 $ docker rm -f 9788f21e5dd45001a904f5c65b503f3f223b3f825ecc60ab3f6f56674d55738a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:20 + docker inspect -f . ci-base-image-arm64 06:38:20 . [Pipeline] withDockerContainer 06:38:20 prd-ubuntu20.04-docker-arm64-4c-16g-44869 does not seem to be running inside a container 06:38:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/72 -v /w/workspace/device-sdk-go/72:/w/workspace/device-sdk-go/72:rw,z -v /w/workspace/device-sdk-go/72@tmp:/w/workspace/device-sdk-go/72@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 06:38:22 $ docker top 979f58843fe7953f26a4c44691dd7a0525b8fd0b853d8cf2ca663d197461a6df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:38:23 + make test 06:38:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:38:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:40:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:40:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:40:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:40:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.404s coverage: 23.3% of statements 06:40:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:40:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.283s coverage: 27.6% of statements 06:40:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.339s coverage: 78.9% of statements 06:40:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.228s coverage: 10.8% of statements 06:40:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.354s coverage: 60.0% of statements 06:40:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:40:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:40:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.460s coverage: 34.8% of statements 06:40:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:40:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.280s coverage: 86.1% of statements 06:40:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:40:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:40:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.477s coverage: 65.1% of statements 06:40:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.353s coverage: 89.2% of statements 06:40:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:40:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.7% of statements 06:40:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:40:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:40:49 GO111MODULE=on go vet ./... 06:42:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:11 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:13 $ docker stop --time=1 979f58843fe7953f26a4c44691dd7a0525b8fd0b853d8cf2ca663d197461a6df 06:42:14 $ docker rm -f 979f58843fe7953f26a4c44691dd7a0525b8fd0b853d8cf2ca663d197461a6df [Pipeline] // withDockerContainer [Pipeline] sh 06:42:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:16 Warning: overwriting stash ‘coverage-report’ 06:42:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:17 + ls -al . 06:42:17 total 292 06:42:17 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:42 . 06:42:17 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:36 .. 06:42:17 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:36 .dockerignore 06:42:17 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:36 .git 06:42:17 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:36 .github 06:42:17 -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:36 .gitignore 06:42:17 -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:36 .golangci.yml 06:42:17 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:36 CHANGELOG.md 06:42:17 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:36 GOVERNANCE.md 06:42:17 -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:36 Jenkinsfile 06:42:17 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:36 LICENSE 06:42:17 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:36 Makefile 06:42:17 -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:36 OWNERS.md 06:42:17 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:36 README.md 06:42:17 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:31 VERSION 06:42:17 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:36 bin 06:42:17 -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:40 coverage.out 06:42:17 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:36 example 06:42:17 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:36 go.mod 06:42:17 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:36 go.sum 06:42:17 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:36 internal 06:42:17 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:36 openapi 06:42:17 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:36 pkg 06:42:17 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:36 snap 06:42:17 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:36 version.go [Pipeline] isUnix [Pipeline] sh 06:42:17 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=95cc41607fa0e7e8234cfcf8f734ea02839e59f5 --label arch=arm64 --label version=2.2.0-dev.38 . 06:42:18 Sending build context to Docker daemon 5.357MB 06:42:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:42:18 Step 2/25 : FROM ${BASE} AS builder 06:42:18 ---> 3e441b4f80ac 06:42:18 Step 3/25 : ARG MAKE=make build 06:42:18 ---> Running in 83fc96ae6cbf 06:42:18 Removing intermediate container 83fc96ae6cbf 06:42:18 ---> ac4e7fbf9f5b 06:42:18 Step 4/25 : WORKDIR /device-sdk-go 06:42:18 ---> Running in be9a753d7b6a 06:42:19 Removing intermediate container be9a753d7b6a 06:42:19 ---> b2b0d320eacc 06:42:19 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:19 ---> Running in 53b0fdc6112e 06:42:19 Removing intermediate container 53b0fdc6112e 06:42:19 ---> df766f3c443d 06:42:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:19 ---> Running in 85afed233915 06:42:21 Removing intermediate container 85afed233915 06:42:21 ---> 869e401e52c5 06:42:21 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:42:21 ---> Running in bfa6bfd4a626 06:42:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:42:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:42:24 OK: 220 MiB in 52 packages 06:42:24 Removing intermediate container bfa6bfd4a626 06:42:24 ---> 69eae33f5221 06:42:24 Step 8/25 : COPY go.mod vendor* ./ 06:42:25 ---> b8f9b008c47d 06:42:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:25 ---> Running in 25650bfe9fd4 06:42:27 Removing intermediate container 25650bfe9fd4 06:42:27 ---> d8df6d4af7ac 06:42:27 Step 10/25 : COPY . . 06:42:28 ---> 4e5657be15c1 06:42:28 Step 11/25 : RUN ${MAKE} 06:42:28 ---> Running in 2121e6df71ae 06:42:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:44:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:44:36 Removing intermediate container 2121e6df71ae 06:44:36 ---> 78d9927f4abc 06:44:36 Step 12/25 : FROM alpine:3.14 06:44:36 3.14: Pulling from library/alpine 06:44:36 455c02918c45: Pulling fs layer 06:44:36 455c02918c45: Verifying Checksum 06:44:36 455c02918c45: Download complete 06:44:36 455c02918c45: Pull complete 06:44:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:44:36 Status: Downloaded newer image for alpine:3.14 06:44:36 ---> ac73e934f311 06:44:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:36 ---> Running in bd481981f9dc 06:44:36 Removing intermediate container bd481981f9dc 06:44:36 ---> ac02e7e8bf79 06:44:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:36 ---> Running in 339e7358cca1 06:44:36 Removing intermediate container 339e7358cca1 06:44:36 ---> ea5723c498ee 06:44:36 Step 15/25 : RUN apk add --update --no-cache zeromq 06:44:36 ---> Running in f86413b45fe0 06:44:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:44:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:44:36 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:44:36 (2/5) Installing libsodium (1.0.18-r0) 06:44:36 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:44:36 (4/5) Installing libzmq (4.3.4-r0) 06:44:36 (5/5) Installing zeromq (4.3.4-r0) 06:44:36 Executing busybox-1.33.1-r7.trigger 06:44:36 OK: 8 MiB in 19 packages 06:44:36 Removing intermediate container f86413b45fe0 06:44:36 ---> ce86594b133a 06:44:36 Step 16/25 : WORKDIR / 06:44:36 ---> Running in c760f93cc903 06:44:36 Removing intermediate container c760f93cc903 06:44:36 ---> a4bf0282f30b 06:44:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:44:37 ---> 32a30ae79e96 06:44:37 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:44:38 ---> 7a03a0d68018 06:44:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:44:39 ---> f07d42c5c096 06:44:39 Step 20/25 : EXPOSE 59999 06:44:39 ---> Running in c7843016257e 06:44:39 Removing intermediate container c7843016257e 06:44:39 ---> ef7574bce01f 06:44:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:44:39 ---> Running in 547b50b42b1a 06:44:40 Removing intermediate container 547b50b42b1a 06:44:40 ---> e7e1b93b7bca 06:44:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:40 ---> Running in 032fc68585fa 06:44:40 Removing intermediate container 032fc68585fa 06:44:40 ---> f460f8c3aa2e 06:44:40 Step 23/25 : LABEL arch=arm64 06:44:40 ---> Running in 549030f01d03 06:44:40 Removing intermediate container 549030f01d03 06:44:40 ---> bc66c059f6a8 06:44:40 Step 24/25 : LABEL git_sha=95cc41607fa0e7e8234cfcf8f734ea02839e59f5 06:44:40 ---> Running in bb2009249a29 06:44:41 Removing intermediate container bb2009249a29 06:44:41 ---> 91c5e4abaac5 06:44:41 Step 25/25 : LABEL version=2.2.0-dev.38 06:44:41 ---> Running in 42ce67bb6561 06:44:41 Removing intermediate container 42ce67bb6561 06:44:41 ---> 9b6de9ad9d09 06:44:41 [Warning] One or more build-args [ARCH] were not consumed 06:44:41 Successfully built 9b6de9ad9d09 06:44:41 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:42 06:44:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:44:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:42 arm64: Pulling from edgex-lftools-log-publisher 06:44:42 8998bd30e6a1: Pulling fs layer 06:44:42 04944245beec: Pulling fs layer 06:44:42 699f458cf7ca: Pulling fs layer 06:44:42 765212b225bb: Pulling fs layer 06:44:42 f23df028b6ca: Pulling fs layer 06:44:42 d65c8cfc05b1: Pulling fs layer 06:44:42 2437ff75d9bd: Pulling fs layer 06:44:42 f23df028b6ca: Waiting 06:44:42 d65c8cfc05b1: Waiting 06:44:42 2437ff75d9bd: Waiting 06:44:42 04944245beec: Verifying Checksum 06:44:42 04944245beec: Download complete 06:44:42 765212b225bb: Verifying Checksum 06:44:42 765212b225bb: Download complete 06:44:42 f23df028b6ca: Verifying Checksum 06:44:42 f23df028b6ca: Download complete 06:44:42 d65c8cfc05b1: Download complete 06:44:43 699f458cf7ca: Verifying Checksum 06:44:43 699f458cf7ca: Download complete 06:44:43 8998bd30e6a1: Verifying Checksum 06:44:43 8998bd30e6a1: Download complete 06:44:46 2437ff75d9bd: Verifying Checksum 06:44:46 2437ff75d9bd: Download complete 06:44:47 8998bd30e6a1: Pull complete 06:44:48 04944245beec: Pull complete 06:44:49 699f458cf7ca: Pull complete 06:44:49 765212b225bb: Pull complete 06:44:50 f23df028b6ca: Pull complete 06:44:50 d65c8cfc05b1: Pull complete 06:45:06 2437ff75d9bd: Pull complete 06:45:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:45:06 prd-ubuntu20.04-docker-arm64-4c-16g-44869 does not seem to be running inside a container 06:45:06 $ 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-sdk-go/72 -v /w/workspace/device-sdk-go/72:/w/workspace/device-sdk-go/72:rw,z -v /w/workspace/device-sdk-go/72@tmp:/w/workspace/device-sdk-go/72@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:45:09 $ docker top 8e61e9716ae030a6bd1a8b8c6932908df2bbcf35c5e19a46d0d4714766ce3e95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:10 ---> job-cost.sh 06:45:10 lf-activate-venv: SKIPPING 06:45:10 INFO: No Stack... 06:45:10 INFO: Retrieving Pricing Info for: v3-standard-4 06:45:11 INFO: Archiving Costs [Pipeline] sh 06:45:12 + + cut -d,cat -f6 /w/workspace/device-sdk-go/72/archives/cost.csv 06:45:12 [Pipeline] lock 06:45:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] 06:45:12 Resource [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] did not exist. Created. 06:45:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:12 /w/workspace/device-sdk-go/72@tmp/durable-e2d782e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:45:13 + echo total: 0.10999999940395355 [Pipeline] stash 06:45:13 Warning: overwriting stash ‘stack-cost’ 06:45:13 Stashed 1 file(s) [Pipeline] } 06:45:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:13 $ docker stop --time=1 8e61e9716ae030a6bd1a8b8c6932908df2bbcf35c5e19a46d0d4714766ce3e95 06:45:15 $ docker rm -f 8e61e9716ae030a6bd1a8b8c6932908df2bbcf35c5e19a46d0d4714766ce3e95 [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:45:15 provisioning config files... 06:45:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8210859538267737087tmp [Pipeline] { [Pipeline] sh 06:45:16 + set +x 06:45:16 + curl -s https://codecov.io/bash 06:45:16 + bash -s -- 06:45:16 06:45:16 _____ _ 06:45:16 / ____| | | 06:45:16 | | ___ __| | ___ ___ _____ __ 06:45:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:45:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:45:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:45:16 Bash-1.0.6 06:45:16 06:45:16 06:45:16 ==> git version 2.25.1 found 06:45:16 ==> 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:45:16 Release-Date: 2020-01-08 06:45:16 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:45:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:45:16 ==> Jenkins CI detected. 06:45:16 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:45:16 project root: . 06:45:16 --> token set from env 06:45:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:45:16 ==> Running gcov in . (disable via -X gcov) 06:45:16 ==> Python coveragepy not found 06:45:16 ==> Searching for coverage reports in: 06:45:16 + . 06:45:16 -> Found 1 reports 06:45:16 ==> Detecting git/mercurial file structure 06:45:16 ==> Reading reports 06:45:16 + ./coverage.out bytes=130739 06:45:16 ==> Appending adjustments 06:45:16 https://docs.codecov.io/docs/fixing-reports 06:45:16 + Found adjustments 06:45:16 ==> Gzipping contents 06:45:16 20K /tmp/codecov.ruzTZi.gz 06:45:16 ==> Uploading reports 06:45:16 url: https://codecov.io 06:45:16 query: branch=main&commit=95cc41607fa0e7e8234cfcf8f734ea02839e59f5&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:45:16 -> Pinging Codecov 06:45:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=95cc41607fa0e7e8234cfcf8f734ea02839e59f5&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:45:16 -> Uploading to 06:45:16 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/95cc41607fa0e7e8234cfcf8f734ea02839e59f5/db60241a-0a49-4a6a-8fd4-665f34092366.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T064516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d4cff6ad2ffd7da7da2a3e95699bcdb55e7e3443ddbc197c8bf4c6d80bd9330 06:45:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:16 Dload Upload Total Spent Left Speed 06:45:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16781 0 0 100 16781 0 79155 --:--:-- --:--:-- --:--:-- 79530 06:45:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] } 06:45:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:45:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:45:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:45:17 06:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:45:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:45:17 188c0c94c7c5: Pulling fs layer 06:45:17 0ef7d3d256c8: Pulling fs layer 06:45:17 de9db76c5a1d: Pulling fs layer 06:45:17 0eba1c9be4d2: Pulling fs layer 06:45:17 0d57e429df01: Pulling fs layer 06:45:17 4e4be7b47b0d: Pulling fs layer 06:45:17 e1f770b5df2f: Pulling fs layer 06:45:17 85a0685a4137: Pulling fs layer 06:45:17 0d57e429df01: Waiting 06:45:17 4e4be7b47b0d: Waiting 06:45:17 e1f770b5df2f: Waiting 06:45:17 85a0685a4137: Waiting 06:45:17 0eba1c9be4d2: Waiting 06:45:17 de9db76c5a1d: Download complete 06:45:17 0ef7d3d256c8: Download complete 06:45:17 0d57e429df01: Download complete 06:45:17 4e4be7b47b0d: Download complete 06:45:17 188c0c94c7c5: Download complete 06:45:17 188c0c94c7c5: Pull complete 06:45:17 e1f770b5df2f: Verifying Checksum 06:45:17 e1f770b5df2f: Download complete 06:45:17 0ef7d3d256c8: Pull complete 06:45:18 de9db76c5a1d: Pull complete 06:45:18 0eba1c9be4d2: Verifying Checksum 06:45:18 0eba1c9be4d2: Download complete 06:45:18 85a0685a4137: Verifying Checksum 06:45:18 85a0685a4137: Download complete 06:45:21 0eba1c9be4d2: Pull complete 06:45:21 0d57e429df01: Pull complete 06:45:21 4e4be7b47b0d: Pull complete 06:45:21 e1f770b5df2f: Pull complete 06:45:25 85a0685a4137: Pull complete 06:45:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:45:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:45:25 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:45:27 $ docker top 8ff0105698b0e262e08c436467efab34b336b28667b87d81f228bf432746f817 -eo pid,comm [Pipeline] { [Pipeline] echo 06:45:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:45:27 + set -o pipefail 06:45:27 + snyk monitor '--org=edgex-jenkins' 06:45:33 06:45:33 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 06:45:33 06:45:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/95dba537-b056-414c-8067-ebfab82086de 06:45:33 06:45:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:45:33 06:45:34 [Pipeline] } 06:45:34 $ docker stop --time=1 8ff0105698b0e262e08c436467efab34b336b28667b87d81f228bf432746f817 06:45:36 $ docker rm -f 8ff0105698b0e262e08c436467efab34b336b28667b87d81f228bf432746f817 [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) [Pipeline] echo 06:45:37 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:37 provisioning config files... 06:45:37 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6352772231722482917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:37 --> edgex-publish-swagger.sh 06:45:37 === Publish openapi/v2 API === 06:45:37 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:45:37 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:45:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:37 Dload Upload Total Spent Left Speed 06:45:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 94639 --:--:-- --:--:-- --:--:-- 94471 100 53282 0 0 100 53282 0 94639 --:--:-- --:--:-- --:--:-- 94471 06:45:37 06:45:37 [Pipeline] } 06:45:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:38 + git log --format=format:%s -1 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 [Pipeline] sh 06:45:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:45:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:45:38 . [Pipeline] withDockerContainer 06:45:39 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:45:39 $ docker top 6eaa3449df754f2a6faf0f6de472bc47b8b073c550b8ed57cdbeede7bfee672d -eo pid,comm 06:45:39 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). 06:45:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:45:39 [ssh-agent] Looking for ssh-agent implementation... 06:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:45:39 $ docker exec 6eaa3449df754f2a6faf0f6de472bc47b8b073c550b8ed57cdbeede7bfee672d ssh-agent 06:45:40 SSH_AUTH_SOCK=/tmp/ssh-su0G4CJPtMlG/agent.33 06:45:40 SSH_AGENT_PID=40 06:45:40 Running ssh-add (command line suppressed) 06:45:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4664552720784667212.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4664552720784667212.key) 06:45:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:45:40 + git semver tag 06:45:40 2022-05-10 06:45:40,627 [run_tag] DEBUG tag force:False 06:45:40 2022-05-10 06:45:40,627 [check_head_tag] DEBUG check head tag 06:45:40 2022-05-10 06:45:40,629 [execute] INFO git cat-file --batch-check 06:45:40 2022-05-10 06:45:40,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:45:40 2022-05-10 06:45:40,632 [execute] INFO git cat-file --batch 06:45:40 2022-05-10 06:45:40,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:45:40 2022-05-10 06:45:40,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:45:40 2022-05-10 06:45:40,659 [execute] INFO git tag -a v2.2.0-dev.38 -m v2.2.0-dev.38 06:45:40 2022-05-10 06:45:40,659 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.38', '-m', 'v2.2.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:45:40 2022-05-10 06:45:40,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:45:40 2.2.0-dev.38 [Pipeline] } 06:45:40 $ docker exec --env ******** --env ******** 6eaa3449df754f2a6faf0f6de472bc47b8b073c550b8ed57cdbeede7bfee672d ssh-agent -k 06:45:40 unset SSH_AUTH_SOCK; 06:45:40 unset SSH_AGENT_PID; 06:45:40 echo Agent pid 40 killed; 06:45:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:45:41 + git semver [Pipeline] } 06:45:41 $ docker stop --time=1 6eaa3449df754f2a6faf0f6de472bc47b8b073c550b8ed57cdbeede7bfee672d 06:45:42 $ docker rm -f 6eaa3449df754f2a6faf0f6de472bc47b8b073c550b8ed57cdbeede7bfee672d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:45:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:45:43 06:45:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:45:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:45:43 0.23.1-centos7: Pulling from edgex-lftools 06:45:43 ab5ef0e58194: Pulling fs layer 06:45:43 9712f1f96733: Pulling fs layer 06:45:43 63f879dbbcfc: Pulling fs layer 06:45:43 0d9ebad4ef96: Pulling fs layer 06:45:43 e9a5061849ea: Pulling fs layer 06:45:43 d747dcd14b5f: Pulling fs layer 06:45:43 2de7ff778b66: Pulling fs layer 06:45:43 d747dcd14b5f: Waiting 06:45:43 0d9ebad4ef96: Waiting 06:45:43 e9a5061849ea: Waiting 06:45:43 2de7ff778b66: Waiting 06:45:43 9712f1f96733: Verifying Checksum 06:45:43 9712f1f96733: Download complete 06:45:43 63f879dbbcfc: Verifying Checksum 06:45:43 63f879dbbcfc: Download complete 06:45:44 e9a5061849ea: Verifying Checksum 06:45:44 e9a5061849ea: Download complete 06:45:44 d747dcd14b5f: Download complete 06:45:44 0d9ebad4ef96: Verifying Checksum 06:45:44 0d9ebad4ef96: Download complete 06:45:44 ab5ef0e58194: Verifying Checksum 06:45:44 ab5ef0e58194: Download complete 06:45:44 2de7ff778b66: Verifying Checksum 06:45:44 2de7ff778b66: Download complete 06:45:46 ab5ef0e58194: Pull complete 06:45:46 9712f1f96733: Pull complete 06:45:47 63f879dbbcfc: Pull complete 06:45:51 0d9ebad4ef96: Pull complete 06:45:51 e9a5061849ea: Pull complete 06:45:52 d747dcd14b5f: Pull complete 06:45:53 2de7ff778b66: Pull complete 06:45:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:45:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:45:53 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:45:55 $ docker top f5d1770d9617e9a4d906190967244b2909980eb3a547846cd7048d6ccf1c7ae9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:45:55 provisioning config files... 06:45:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2447846968580572135tmp 06:45:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7559046140278960714tmp 06:45:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2924181363544884511tmp [Pipeline] { [Pipeline] echo 06:45:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:45:55 ---> sigul-configuration.sh 06:45:55 gpg: directory `/root/.gnupg' created 06:45:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:45:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:45:55 gpg: keyring `/root/.gnupg/secring.gpg' created 06:45:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:45:55 gpg: CAST5 encrypted data 06:45:55 gpg: encrypted with 1 passphrase 06:45:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:45:55 + mkdir /home/jenkins 06:45:55 + mkdir /home/jenkins/sigul [Pipeline] sh 06:45:56 + 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:45:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:45:56 ---> sigul-install.sh 06:45:56 Sigul already installed; skipping installation. [Pipeline] sh 06:45:56 + git tag --list 06:45:56 0.7.1 06:45:56 delhi-tag 06:45:56 v1.0.0 06:45:56 v1.1.0 06:45:56 v1.1.1 06:45:56 v1.1.2 06:45:56 v1.2.0 06:45:56 v1.2.1 06:45:56 v1.2.2 06:45:56 v1.2.3 06:45:56 v1.3.0 06:45:56 v1.4.0 06:45:56 v2.0.0 06:45:56 v2.0.1-dev.1 06:45:56 v2.0.1-dev.10 06:45:56 v2.0.1-dev.11 06:45:56 v2.0.1-dev.12 06:45:56 v2.0.1-dev.13 06:45:56 v2.0.1-dev.14 06:45:56 v2.0.1-dev.15 06:45:56 v2.0.1-dev.16 06:45:56 v2.0.1-dev.17 06:45:56 v2.0.1-dev.18 06:45:56 v2.0.1-dev.19 06:45:56 v2.0.1-dev.2 06:45:56 v2.0.1-dev.20 06:45:56 v2.0.1-dev.21 06:45:56 v2.0.1-dev.22 06:45:56 v2.0.1-dev.23 06:45:56 v2.0.1-dev.24 06:45:56 v2.0.1-dev.25 06:45:56 v2.0.1-dev.26 06:45:56 v2.0.1-dev.27 06:45:56 v2.0.1-dev.28 06:45:56 v2.0.1-dev.29 06:45:56 v2.0.1-dev.3 06:45:56 v2.0.1-dev.30 06:45:56 v2.0.1-dev.31 06:45:56 v2.0.1-dev.32 06:45:56 v2.0.1-dev.33 06:45:56 v2.0.1-dev.4 06:45:56 v2.0.1-dev.5 06:45:56 v2.0.1-dev.6 06:45:56 v2.0.1-dev.7 06:45:56 v2.0.1-dev.8 06:45:56 v2.0.1-dev.9 06:45:56 v2.1.0 06:45:56 v2.1.1-dev.1 06:45:56 v2.2.0-dev.1 06:45:56 v2.2.0-dev.10 06:45:56 v2.2.0-dev.11 06:45:56 v2.2.0-dev.12 06:45:56 v2.2.0-dev.13 06:45:56 v2.2.0-dev.14 06:45:56 v2.2.0-dev.15 06:45:56 v2.2.0-dev.16 06:45:56 v2.2.0-dev.17 06:45:56 v2.2.0-dev.18 06:45:56 v2.2.0-dev.19 06:45:56 v2.2.0-dev.2 06:45:56 v2.2.0-dev.20 06:45:56 v2.2.0-dev.21 06:45:56 v2.2.0-dev.22 06:45:56 v2.2.0-dev.23 06:45:56 v2.2.0-dev.24 06:45:56 v2.2.0-dev.25 06:45:56 v2.2.0-dev.26 06:45:56 v2.2.0-dev.27 06:45:56 v2.2.0-dev.28 06:45:56 v2.2.0-dev.29 06:45:56 v2.2.0-dev.3 06:45:56 v2.2.0-dev.30 06:45:56 v2.2.0-dev.31 06:45:56 v2.2.0-dev.32 06:45:56 v2.2.0-dev.33 06:45:56 v2.2.0-dev.34 06:45:56 v2.2.0-dev.35 06:45:56 v2.2.0-dev.36 06:45:56 v2.2.0-dev.37 06:45:56 v2.2.0-dev.38 06:45:56 v2.2.0-dev.4 06:45:56 v2.2.0-dev.5 06:45:56 v2.2.0-dev.6 06:45:56 v2.2.0-dev.7 06:45:56 v2.2.0-dev.8 06:45:56 v2.2.0-dev.9 [Pipeline] sh 06:45:57 + lftools sign git-tag v2.2.0-dev.38 06:45:57 Signing Git tag with Sigul... 06:45:57 Signing v2.2.0-dev.38 [Pipeline] echo 06:45:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:45:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:45:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:45:58 $ docker stop --time=1 f5d1770d9617e9a4d906190967244b2909980eb3a547846cd7048d6ccf1c7ae9 06:45:59 $ docker rm -f f5d1770d9617e9a4d906190967244b2909980eb3a547846cd7048d6ccf1c7ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:46:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:46:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:46:00 . [Pipeline] withDockerContainer 06:46:00 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:46:00 $ docker top c2c7952ca789d348c68517ff30112c142a89133d252c2fa723d4e3f3c69cb05c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:00 [ssh-agent] Looking for ssh-agent implementation... 06:46:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:01 $ docker exec c2c7952ca789d348c68517ff30112c142a89133d252c2fa723d4e3f3c69cb05c ssh-agent 06:46:01 SSH_AUTH_SOCK=/tmp/ssh-Rt6SiWqnmhvA/agent.34 06:46:01 SSH_AGENT_PID=40 06:46:01 Running ssh-add (command line suppressed) 06:46:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1278989336772383776.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1278989336772383776.key) 06:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:01 + git semver bump pre 06:46:01 2022-05-10 06:46:01,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:46:01 2022-05-10 06:46:01,758 [bump_version] DEBUG bumping version:2.2.0-dev.38 on axis:pre with prefix:dev 06:46:01 2022-05-10 06:46:01,758 [bump_version] DEBUG bumped version:2.2.0-dev.39 06:46:01 2022-05-10 06:46:01,758 [write_version] DEBUG write version:2.2.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:46:01 2022-05-10 06:46:01,758 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:46:01 2022-05-10 06:46:01,758 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:46:01 2022-05-10 06:46:01,760 [execute] INFO git cat-file --batch-check 06:46:01 2022-05-10 06:46:01,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:46:01 2022-05-10 06:46:01,766 [execute] INFO git cat-file --batch 06:46:01 2022-05-10 06:46:01,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:46:01 2022-05-10 06:46:01,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:46:01 2.2.0-dev.39 [Pipeline] } 06:46:01 $ docker exec --env ******** --env ******** c2c7952ca789d348c68517ff30112c142a89133d252c2fa723d4e3f3c69cb05c ssh-agent -k 06:46:01 unset SSH_AUTH_SOCK; 06:46:01 unset SSH_AGENT_PID; 06:46:01 echo Agent pid 40 killed; 06:46:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:02 + git semver [Pipeline] } 06:46:02 $ docker stop --time=1 c2c7952ca789d348c68517ff30112c142a89133d252c2fa723d4e3f3c69cb05c 06:46:03 $ docker rm -f c2c7952ca789d348c68517ff30112c142a89133d252c2fa723d4e3f3c69cb05c [Pipeline] // withDockerContainer [Pipeline] sh 06:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:46:04 . [Pipeline] withDockerContainer 06:46:04 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:46:05 $ docker top ebb37b1684df705ab3249f2cd9c4be0b118d98aacaa5a8f829104d438e9210ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:05 [ssh-agent] Looking for ssh-agent implementation... 06:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:05 $ docker exec ebb37b1684df705ab3249f2cd9c4be0b118d98aacaa5a8f829104d438e9210ff ssh-agent 06:46:05 SSH_AUTH_SOCK=/tmp/ssh-oBd894wKdVdp/agent.35 06:46:05 SSH_AGENT_PID=41 06:46:05 Running ssh-add (command line suppressed) 06:46:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9196977732996348022.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9196977732996348022.key) 06:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:05 + git semver push 06:46:06 2022-05-10 06:46:05,962 [run_push] DEBUG push 06:46:06 2022-05-10 06:46:05,963 [execute] INFO git push origin semver 06:46:06 2022-05-10 06:46:05,963 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:46:06 2022-05-10 06:46:06,753 [run_push] DEBUG push all version tags 06:46:06 2022-05-10 06:46:06,753 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:46:06 2022-05-10 06:46:06,754 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:46:07 2022-05-10 06:46:07,508 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:46:07 2.2.0-dev.39 [Pipeline] } 06:46:07 $ docker exec --env ******** --env ******** ebb37b1684df705ab3249f2cd9c4be0b118d98aacaa5a8f829104d438e9210ff ssh-agent -k 06:46:07 unset SSH_AUTH_SOCK; 06:46:07 unset SSH_AGENT_PID; 06:46:07 echo Agent pid 41 killed; 06:46:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:07 + git semver [Pipeline] } 06:46:08 $ docker stop --time=1 ebb37b1684df705ab3249f2cd9c4be0b118d98aacaa5a8f829104d438e9210ff 06:46:09 $ docker rm -f ebb37b1684df705ab3249f2cd9c4be0b118d98aacaa5a8f829104d438e9210ff [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:46:10 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:46:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:46:10 total 16 06:46:10 drwxr-xr-x 3 root root 4096 May 10 06:33 . 06:46:10 drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:45 .. 06:46:10 drwxr-xr-x 2 root root 4096 May 10 06:33 cost 06:46:10 -rw-r--r-- 1 root root 83 May 10 06:33 cost.csv 06:46:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:46:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:46:10 total 16 06:46:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:33 . 06:46:10 drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:45 .. 06:46:10 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:33 cost 06:46:10 -rw-r--r-- 1 jenkins jenkins 83 May 10 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:46:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:46:11 ---> package-listing.sh 06:46:11 ++ facter osfamily 06:46:11 ++ tr '[:upper:]' '[:lower:]' 06:46:11 + OS_FAMILY=debian 06:46:11 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:46:11 + START_PACKAGES=/tmp/packages_start.txt 06:46:11 + END_PACKAGES=/tmp/packages_end.txt 06:46:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:46:11 + PACKAGES=/tmp/packages_start.txt 06:46:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:46:11 + PACKAGES=/tmp/packages_end.txt 06:46:11 + case "${OS_FAMILY}" in 06:46:11 + dpkg -l 06:46:11 + grep '^ii' 06:46:11 + '[' -f /tmp/packages_start.txt ']' 06:46:11 + '[' -f /tmp/packages_end.txt ']' 06:46:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:46:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:46:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:46:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:46:11 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/edgexfoundry_device-sdk-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:46:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:12 . [Pipeline] withDockerContainer 06:46:12 prd-ubuntu20.04-docker-8c-8g-44851 does not seem to be running inside a container 06:46:12 $ 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/edgexfoundry_device-sdk-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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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:46:12 $ docker top acdf3a657462c7652b15c4f71666ee45832dd67db376887df3b5c81ea5d1928b -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:13 + touch /tmp/pre-build-complete [Pipeline] sh 06:46:13 + mkdir -p /var/log/sysstat [Pipeline] sh 06:46:13 + ls /var/log/sa-host 06:46:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:13 provisioning config files... 06:46:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5700780439055965134tmp [Pipeline] { [Pipeline] echo 06:46:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:46:14 ---> create-netrc.sh [Pipeline] } 06:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:46:14 ---> python-tools-install.sh [Pipeline] echo 06:46:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:46:14 ---> sudo-logs.sh 06:46:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:46:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:46:15 ---> job-cost.sh 06:46:15 lf-activate-venv: SKIPPING 06:46:15 DEBUG: total: 0.2199999988079071 06:46:15 INFO: Retrieving Stack Cost... 06:46:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:46:15 INFO: Archiving Costs [Pipeline] echo 06:46:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:46:16 ---> logs-deploy.sh 06:46:16 lf-activate-venv: SKIPPING 06:46:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/72 06:46:16 INFO: archiving workspace using pattern(s): 06:46:17 Archives upload complete. 06:46:17 INFO: archiving logs to Nexus