Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4c7375013d1152251e98051bf37b0c1fd0193e8 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-ssh6605088145600786736.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3791427259242722565.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6116105153381335394.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14701324973444972897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh14936581696193502428.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9421826389506986187.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16 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 c4c7375013d1152251e98051bf37b0c1fd0193e8 (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 c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 Commit message: "Merge pull request #1166 from jinlinGuan/issue-1162" > git rev-list --no-walk 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:48:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:48:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:48:21 ========================================================= 01:48:21 EdgeX Global Pipelines Version Info 01:48:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:48:22 ------------------- 01:48:22 stable info: 01:48:22 ------------------- 01:48:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:48:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:48:22 Message: update stable to v1.0.230 01:48:22 ------------------- 01:48:22 experimental info: 01:48:22 ------------------- 01:48:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:48:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:48:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:48:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4c7375 [Pipeline] echo 01:48:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:23 provisioning config files... 01:48:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5877713978757395819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:23 ---> docker-login.sh 01:48:23 nexus3.edgexfoundry.org:10001 01:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:24 Configure a credential helper to remove this warning. See 01:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:24 01:48:24 Login Succeeded 01:48:24 nexus3.edgexfoundry.org:10002 01:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:24 Configure a credential helper to remove this warning. See 01:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:24 01:48:24 Login Succeeded 01:48:24 nexus3.edgexfoundry.org:10003 01:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:24 Configure a credential helper to remove this warning. See 01:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:24 01:48:24 Login Succeeded 01:48:24 nexus3.edgexfoundry.org:10004 01:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:24 Configure a credential helper to remove this warning. See 01:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:24 01:48:24 Login Succeeded 01:48:24 docker.io 01:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:25 Configure a credential helper to remove this warning. See 01:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:25 01:48:25 Login Succeeded 01:48:25 ---> docker-login.sh ends [Pipeline] } 01:48:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:48:25 + git rev-list -1 --merges c4c7375013d1152251e98051bf37b0c1fd0193e8~1..c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] echo 01:48:25 -----------> git rev-list -1 --merges c4c7375013d1152251e98051bf37b0c1fd0193e8~1..c4c7375013d1152251e98051bf37b0c1fd0193e8 c4c7375013d1152251e98051bf37b0c1fd0193e8 01:48:25 c4c7375013d1152251e98051bf37b0c1fd0193e8 [false] [Pipeline] sh 01:48:26 + git log --format=format:%s -1 c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] echo 01:48:26 ========================================================= 01:48:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:48:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:26 + git log --format=format:%s -1 c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] echo 01:48:26 [semverPrep] GIT_COMMIT: c4c7375013d1152251e98051bf37b0c1fd0193e8, Commit Message: Merge pull request #1166 from jinlinGuan/issue-1162 [Pipeline] echo 01:48:26 [semverPrep] This is not a build commit. [Pipeline] sh 01:48:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:26 + grep -v github /etc/ssh/ssh_known_hosts 01:48:26 + [ -e /tmp/ssh_known_hosts ] 01:48:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:48:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:48:26 + sudo tee -a /etc/ssh/ssh_known_hosts 01:48:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:48:27 01:48:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:48:27 latest: Pulling from edgex-devops/py-git-semver 01:48:27 1fe172e4850f: Pulling fs layer 01:48:27 caf521ccaac6: Pulling fs layer 01:48:27 3ead6fa29328: Pulling fs layer 01:48:27 5c2a1cbceb83: Pulling fs layer 01:48:27 a8d5f1318db7: Pulling fs layer 01:48:27 c427282e49a2: Pulling fs layer 01:48:27 1827001aaf11: Pulling fs layer 01:48:27 0714d37db230: Pulling fs layer 01:48:27 ac28cf19c067: Pulling fs layer 01:48:27 ca983d60f3e2: Pulling fs layer 01:48:27 9f894cec8388: Pulling fs layer 01:48:27 1827001aaf11: Waiting 01:48:27 0714d37db230: Waiting 01:48:27 ac28cf19c067: Waiting 01:48:27 9f894cec8388: Waiting 01:48:27 ca983d60f3e2: Waiting 01:48:27 5c2a1cbceb83: Waiting 01:48:27 a8d5f1318db7: Waiting 01:48:27 c427282e49a2: Waiting 01:48:27 caf521ccaac6: Verifying Checksum 01:48:27 caf521ccaac6: Download complete 01:48:27 5c2a1cbceb83: Verifying Checksum 01:48:27 5c2a1cbceb83: Download complete 01:48:27 a8d5f1318db7: Verifying Checksum 01:48:27 a8d5f1318db7: Download complete 01:48:27 3ead6fa29328: Verifying Checksum 01:48:27 3ead6fa29328: Download complete 01:48:27 c427282e49a2: Download complete 01:48:27 0714d37db230: Download complete 01:48:27 ac28cf19c067: Download complete 01:48:27 ca983d60f3e2: Download complete 01:48:27 9f894cec8388: Download complete 01:48:27 1fe172e4850f: Verifying Checksum 01:48:27 1fe172e4850f: Download complete 01:48:28 1827001aaf11: Verifying Checksum 01:48:28 1827001aaf11: Download complete 01:48:29 1fe172e4850f: Pull complete 01:48:29 caf521ccaac6: Pull complete 01:48:29 3ead6fa29328: Pull complete 01:48:29 5c2a1cbceb83: Pull complete 01:48:30 a8d5f1318db7: Pull complete 01:48:30 c427282e49a2: Pull complete 01:48:32 1827001aaf11: Pull complete 01:48:32 0714d37db230: Pull complete 01:48:32 ac28cf19c067: Pull complete 01:48:32 ca983d60f3e2: Pull complete 01:48:32 9f894cec8388: Pull complete 01:48:32 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:48:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:33 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 01:48:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:48:34 $ docker top 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 -eo pid,comm 01:48:34 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). 01:48:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:34 [ssh-agent] Looking for ssh-agent implementation... 01:48:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:35 $ docker exec 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 ssh-agent 01:48:35 SSH_AUTH_SOCK=/tmp/ssh-YQz69N6L69uB/agent.32 01:48:35 SSH_AGENT_PID=38 01:48:35 Running ssh-add (command line suppressed) 01:48:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1211874247911848443.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1211874247911848443.key) 01:48:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:35 + git tag --points-at HEAD [Pipeline] } 01:48:35 $ docker exec --env ******** --env ******** 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 ssh-agent -k 01:48:35 unset SSH_AUTH_SOCK; 01:48:35 unset SSH_AGENT_PID; 01:48:35 echo Agent pid 38 killed; 01:48:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:48:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:35 [ssh-agent] Looking for ssh-agent implementation... 01:48:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:36 $ docker exec 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 ssh-agent 01:48:36 SSH_AUTH_SOCK=/tmp/ssh-KHCIlk1j8ZA8/agent.71 01:48:36 SSH_AGENT_PID=78 01:48:36 Running ssh-add (command line suppressed) 01:48:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5141507980834444093.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5141507980834444093.key) 01:48:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:36 + git semver init 01:48:36 2022-05-25 01:48:36,802 [run_init] DEBUG init version:0.0.0 force:False 01:48:36 2022-05-25 01:48:36,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:48:36 2022-05-25 01:48:36,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:48:36 2022-05-25 01:48:36,804 [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) 01:48:37 2022-05-25 01:48:37,573 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 01:48:37 2022-05-25 01:48:37,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 01:48:37 2022-05-25 01:48:37,574 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:48:37 2022-05-25 01:48:37,574 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:48:37 2.2.1-dev.2 [Pipeline] } 01:48:37 $ docker exec --env ******** --env ******** 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 ssh-agent -k 01:48:37 unset SSH_AUTH_SOCK; 01:48:37 unset SSH_AGENT_PID; 01:48:37 echo Agent pid 78 killed; 01:48:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:38 + git semver [Pipeline] } 01:48:38 $ docker stop --time=1 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 01:48:40 $ docker rm -f 0900f75b0ce00d2d1ed7510a13c4f11f90a9a564b85aa42af521a85570ce06b7 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:48:40 Stashed 1 file(s) [Pipeline] echo 01:48:40 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 01:48:40 provisioning config files... 01:48:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2655632692980071799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:41 ---> docker-login.sh 01:48:41 nexus3.edgexfoundry.org:10001 01:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:41 Configure a credential helper to remove this warning. See 01:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:41 01:48:41 Login Succeeded 01:48:41 nexus3.edgexfoundry.org:10002 01:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:41 Configure a credential helper to remove this warning. See 01:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:41 01:48:41 Login Succeeded 01:48:41 nexus3.edgexfoundry.org:10003 01:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:41 Configure a credential helper to remove this warning. See 01:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:41 01:48:41 Login Succeeded 01:48:41 nexus3.edgexfoundry.org:10004 01:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:41 Configure a credential helper to remove this warning. See 01:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:41 01:48:41 Login Succeeded 01:48:41 docker.io 01:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:42 Configure a credential helper to remove this warning. See 01:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:42 01:48:42 Login Succeeded 01:48:42 ---> docker-login.sh ends [Pipeline] } 01:48:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:42 ========================================================= 01:48:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:48:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:42 + 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 . 01:48:42 Sending build context to Docker daemon 9.767MB 01:48:42 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:48:42 Step 2/11 : FROM ${BASE} AS builder 01:48:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:42 59bf1c3509f3: Pulling fs layer 01:48:42 666ba61612fd: Pulling fs layer 01:48:42 8ed8ca486205: Pulling fs layer 01:48:42 4fe6c5a15a65: Pulling fs layer 01:48:42 22a0e8bec74d: Pulling fs layer 01:48:42 ca2b28591e48: Pulling fs layer 01:48:42 a51346096db8: Pulling fs layer 01:48:42 daebc70d1ce1: Pulling fs layer 01:48:42 0e18a0eac166: Pulling fs layer 01:48:42 4fe6c5a15a65: Waiting 01:48:42 22a0e8bec74d: Waiting 01:48:42 ca2b28591e48: Waiting 01:48:42 a51346096db8: Waiting 01:48:42 daebc70d1ce1: Waiting 01:48:42 0e18a0eac166: Waiting 01:48:42 8ed8ca486205: Verifying Checksum 01:48:42 8ed8ca486205: Download complete 01:48:42 666ba61612fd: Verifying Checksum 01:48:42 22a0e8bec74d: Verifying Checksum 01:48:42 22a0e8bec74d: Download complete 01:48:42 ca2b28591e48: Download complete 01:48:42 a51346096db8: Verifying Checksum 01:48:42 a51346096db8: Download complete 01:48:42 59bf1c3509f3: Verifying Checksum 01:48:42 59bf1c3509f3: Download complete 01:48:42 daebc70d1ce1: Verifying Checksum 01:48:42 daebc70d1ce1: Download complete 01:48:43 59bf1c3509f3: Pull complete 01:48:43 666ba61612fd: Pull complete 01:48:43 8ed8ca486205: Pull complete 01:48:43 0e18a0eac166: Verifying Checksum 01:48:43 0e18a0eac166: Download complete 01:48:43 4fe6c5a15a65: Verifying Checksum 01:48:43 4fe6c5a15a65: Download complete 01:48:47 4fe6c5a15a65: Pull complete 01:48:47 22a0e8bec74d: Pull complete 01:48:47 ca2b28591e48: Pull complete 01:48:47 a51346096db8: Pull complete 01:48:47 daebc70d1ce1: Pull complete 01:48:50 0e18a0eac166: Pull complete 01:48:50 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:48:50 ---> f018257e8ee9 01:48:50 Step 3/11 : ARG MAKE=make build 01:48:52 ---> Running in 13d01a9769a6 01:48:52 Removing intermediate container 13d01a9769a6 01:48:52 ---> 5c0e7b61573c 01:48:52 Step 4/11 : WORKDIR /device-sdk-go 01:48:52 ---> Running in 70b2415430b2 01:48:52 Removing intermediate container 70b2415430b2 01:48:52 ---> 98dd1e4dee3e 01:48:52 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:48:52 ---> Running in f0ea49a8ef75 01:48:52 Removing intermediate container f0ea49a8ef75 01:48:52 ---> bb2beaed7742 01:48:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:48:52 ---> Running in 1c0a7958a710 01:48:53 Removing intermediate container 1c0a7958a710 01:48:53 ---> 39ae89745f79 01:48:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:48:53 ---> Running in ea002daef773 01:48:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:48:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:48:54 OK: 221 MiB in 52 packages 01:48:55 Removing intermediate container ea002daef773 01:48:55 ---> 87e6bdf511f7 01:48:55 Step 8/11 : COPY go.mod vendor* ./ 01:48:55 ---> b26bbdd6e015 01:48:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:55 ---> Running in 5f6efa5990a2 01:48:55 Still waiting to schedule task 01:48:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 01:49:10 Removing intermediate container 5f6efa5990a2 01:49:10 ---> 334ffa966e5a 01:49:10 Step 10/11 : COPY . . 01:49:10 ---> 70a349e91bd6 01:49:10 Step 11/11 : RUN ${MAKE} 01:49:10 ---> Running in 8f625d3a302d 01:49:11 noop 01:49:11 Removing intermediate container 8f625d3a302d 01:49:11 ---> f47c134bf685 01:49:11 Successfully built f47c134bf685 01:49:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:12 + docker inspect -f . ci-base-image-x86_64 01:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:12 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 01:49:12 $ 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 ******** ci-base-image-x86_64 cat 01:49:12 $ docker top 5562c7ad586b1c6bc86d3db069d4c517691e2bdb7d227300eea73ce554c19961 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:13 + go version 01:49:13 go version go1.17.6 linux/amd64 [Pipeline] } 01:49:13 $ docker stop --time=1 5562c7ad586b1c6bc86d3db069d4c517691e2bdb7d227300eea73ce554c19961 01:49:14 $ docker rm -f 5562c7ad586b1c6bc86d3db069d4c517691e2bdb7d227300eea73ce554c19961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:14 + docker inspect -f . ci-base-image-x86_64 01:49:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:15 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 01:49:15 $ 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 ******** ci-base-image-x86_64 cat 01:49:15 $ docker top 141112d548584568804cdbbbccaf7f497bde44fc4a40a0e6e04c81523a36c799 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:49:15 + make test 01:49:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:49:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.076s coverage: 23.3% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 10.8% of statements 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 85.4% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.754s coverage: 89.2% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 01:49:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:49:49 GO111MODULE=on go vet ./... 01:49:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:49:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:49:54 ./bin/test-attribution-txt.sh [Pipeline] echo 01:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:49:54 $ docker stop --time=1 141112d548584568804cdbbbccaf7f497bde44fc4a40a0e6e04c81523a36c799 01:49:56 $ docker rm -f 141112d548584568804cdbbbccaf7f497bde44fc4a40a0e6e04c81523a36c799 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:58 + ls -al . 01:49:58 total 300 01:49:58 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:49 . 01:49:58 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:48 .. 01:49:58 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:48 .dockerignore 01:49:58 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:48 .git 01:49:58 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:48 .github 01:49:58 -rw-rw-r-- 1 jenkins jenkins 131 May 25 01:48 .gitignore 01:49:58 -rw-rw-r-- 1 jenkins jenkins 42 May 25 01:48 .golangci.yml 01:49:58 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:48 .semver 01:49:58 -rw-rw-r-- 1 jenkins jenkins 29536 May 25 01:48 CHANGELOG.md 01:49:58 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:48 GOVERNANCE.md 01:49:58 -rw-rw-r-- 1 jenkins jenkins 880 May 25 01:48 Jenkinsfile 01:49:58 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 01:48 LICENSE 01:49:58 -rw-rw-r-- 1 jenkins jenkins 2015 May 25 01:48 Makefile 01:49:58 -rw-rw-r-- 1 jenkins jenkins 619 May 25 01:48 OWNERS.md 01:49:58 -rw-rw-r-- 1 jenkins jenkins 4881 May 25 01:48 README.md 01:49:58 -rw-rw-r-- 1 jenkins jenkins 11 May 25 01:48 VERSION 01:49:58 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:48 bin 01:49:58 -rw-r--r-- 1 jenkins jenkins 131010 May 25 01:49 coverage.out 01:49:58 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:48 example 01:49:58 -rw-rw-r-- 1 jenkins jenkins 3159 May 25 01:48 go.mod 01:49:58 -rw-rw-r-- 1 jenkins jenkins 34529 May 25 01:48 go.sum 01:49:58 drwxrwxr-x 15 jenkins jenkins 4096 May 25 01:48 internal 01:49:58 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:48 openapi 01:49:58 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:48 pkg 01:49:58 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:48 snap 01:49:58 -rw-rw-r-- 1 jenkins jenkins 222 May 25 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:58 + 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=c4c7375013d1152251e98051bf37b0c1fd0193e8 --label arch=amd64 --label version=2.2.1-dev.2 . 01:49:58 Sending build context to Docker daemon 9.899MB 01:49:58 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:49:58 Step 2/25 : FROM ${BASE} AS builder 01:49:58 ---> f47c134bf685 01:49:58 Step 3/25 : ARG MAKE=make build 01:49:58 ---> Running in 95e3125893ba 01:49:58 Removing intermediate container 95e3125893ba 01:49:58 ---> b59b64c44ea7 01:49:58 Step 4/25 : WORKDIR /device-sdk-go 01:49:58 ---> Running in efe8c7c2b4f7 01:49:58 Removing intermediate container efe8c7c2b4f7 01:49:58 ---> ae976916bac2 01:49:58 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:49:58 ---> Running in 9041cebb861b 01:49:58 Removing intermediate container 9041cebb861b 01:49:58 ---> 4ae575439b32 01:49:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:49:58 ---> Running in f40c93a573fa 01:49:59 Removing intermediate container f40c93a573fa 01:49:59 ---> 454e6c732484 01:49:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:49:59 ---> Running in e8ed8024f5a5 01:49:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:50:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:50:00 OK: 221 MiB in 52 packages 01:50:01 Removing intermediate container e8ed8024f5a5 01:50:01 ---> f007c32b0e24 01:50:01 Step 8/25 : COPY go.mod vendor* ./ 01:50:01 ---> 63d04364e016 01:50:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:01 ---> Running in 7426fac73532 01:50:01 Removing intermediate container 7426fac73532 01:50:01 ---> a2600e57ad2c 01:50:01 Step 10/25 : COPY . . 01:50:02 ---> e0e9da9c64be 01:50:02 Step 11/25 : RUN ${MAKE} 01:50:02 ---> Running in 1e15af67a016 01:50:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:50:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:50:20 Removing intermediate container 1e15af67a016 01:50:20 ---> 4bc22388c856 01:50:20 Step 12/25 : FROM alpine:3.14 01:50:21 3.14: Pulling from library/alpine 01:50:21 8663204ce13b: Pulling fs layer 01:50:21 8663204ce13b: Verifying Checksum 01:50:21 8663204ce13b: Download complete 01:50:21 8663204ce13b: Pull complete 01:50:21 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:50:21 Status: Downloaded newer image for alpine:3.14 01:50:21 ---> e04c818066af 01:50:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:50:22 ---> Running in 0551543e115d 01:50:22 Removing intermediate container 0551543e115d 01:50:22 ---> d38efcf974ec 01:50:22 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:22 ---> Running in 0285ff728b6a 01:50:22 Removing intermediate container 0285ff728b6a 01:50:22 ---> 10add4707608 01:50:22 Step 15/25 : RUN apk add --update --no-cache zeromq 01:50:22 ---> Running in dd2b58965423 01:50:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:50:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:50:24 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:50:24 (2/5) Installing libsodium (1.0.18-r0) 01:50:24 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:50:24 (4/5) Installing libzmq (4.3.4-r0) 01:50:24 (5/5) Installing zeromq (4.3.4-r0) 01:50:24 Executing busybox-1.33.1-r7.trigger 01:50:24 OK: 8 MiB in 19 packages 01:50:25 Removing intermediate container dd2b58965423 01:50:25 ---> 135d78916e45 01:50:25 Step 16/25 : WORKDIR / 01:50:25 ---> Running in af6b92602027 01:50:25 Removing intermediate container af6b92602027 01:50:25 ---> 006f8f81c794 01:50:25 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:50:25 ---> 44392b7d6444 01:50:25 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:50:25 ---> 16c7c5c2759b 01:50:25 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:50:25 ---> f46268b6ca22 01:50:25 Step 20/25 : EXPOSE 59999 01:50:25 ---> Running in 5fcc8299aa73 01:50:26 Removing intermediate container 5fcc8299aa73 01:50:26 ---> fcebcfc7eb3b 01:50:26 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:50:26 ---> Running in 3108686233e8 01:50:26 Removing intermediate container 3108686233e8 01:50:26 ---> 6f253dc7dc20 01:50:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:50:26 ---> Running in 789b1f1e9017 01:50:26 Removing intermediate container 789b1f1e9017 01:50:26 ---> 67d4da644d9b 01:50:26 Step 23/25 : LABEL arch=amd64 01:50:26 ---> Running in 58a022a3e33f 01:50:26 Removing intermediate container 58a022a3e33f 01:50:26 ---> 81b1b25cdbf1 01:50:26 Step 24/25 : LABEL git_sha=c4c7375013d1152251e98051bf37b0c1fd0193e8 01:50:26 ---> Running in fe93e4920984 01:50:26 Removing intermediate container fe93e4920984 01:50:26 ---> b204e7f5af68 01:50:26 Step 25/25 : LABEL version=2.2.1-dev.2 01:50:26 ---> Running in 799b47647d14 01:50:26 Removing intermediate container 799b47647d14 01:50:26 ---> 536fe6d3262c 01:50:26 [Warning] One or more build-args [ARCH] were not consumed 01:50:26 Successfully built 536fe6d3262c 01:50:26 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 01:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:27 01:50:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:27 latest: Pulling from edgex-lftools-log-publisher 01:50:27 5eb5b503b376: Pulling fs layer 01:50:27 5c69ac0246d0: Pulling fs layer 01:50:27 ec43610c2a17: Pulling fs layer 01:50:27 3a2ae6a8a46f: Pulling fs layer 01:50:27 33b1e0a273af: Pulling fs layer 01:50:27 5d3b04190fa2: Pulling fs layer 01:50:27 2f39f015ded8: Pulling fs layer 01:50:27 5d3b04190fa2: Waiting 01:50:27 3a2ae6a8a46f: Waiting 01:50:27 2f39f015ded8: Waiting 01:50:27 5c69ac0246d0: Verifying Checksum 01:50:27 5c69ac0246d0: Download complete 01:50:27 3a2ae6a8a46f: Verifying Checksum 01:50:27 3a2ae6a8a46f: Download complete 01:50:27 33b1e0a273af: Verifying Checksum 01:50:27 33b1e0a273af: Download complete 01:50:27 5d3b04190fa2: Verifying Checksum 01:50:27 5d3b04190fa2: Download complete 01:50:27 ec43610c2a17: Verifying Checksum 01:50:27 ec43610c2a17: Download complete 01:50:27 5eb5b503b376: Verifying Checksum 01:50:27 5eb5b503b376: Download complete 01:50:28 2f39f015ded8: Verifying Checksum 01:50:28 2f39f015ded8: Download complete 01:50:28 5eb5b503b376: Pull complete 01:50:29 5c69ac0246d0: Pull complete 01:50:29 ec43610c2a17: Pull complete 01:50:29 3a2ae6a8a46f: Pull complete 01:50:29 33b1e0a273af: Pull complete 01:50:29 5d3b04190fa2: Pull complete 01:50:34 2f39f015ded8: Pull complete 01:50:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:34 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 01:50:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:50:35 $ docker top 5bf79740b04782ab3605fbcac43406e804a4e8758236b2a51910b7795fd0c0a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:36 ---> job-cost.sh 01:50:36 lf-activate-venv: SKIPPING 01:50:36 INFO: No Stack... 01:50:36 INFO: Retrieving Pricing Info for: v3-standard-8 01:50:36 INFO: Archiving Costs [Pipeline] sh 01:50:37 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 01:50:37 + cut -d, -f6 [Pipeline] lock 01:50:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] 01:50:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] did not exist. Created. 01:50:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:50:37 + echo total: 0.2199999988079071 [Pipeline] stash 01:50:37 Stashed 1 file(s) [Pipeline] } 01:50:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 01:50:37 $ docker stop --time=1 5bf79740b04782ab3605fbcac43406e804a4e8758236b2a51910b7795fd0c0a2 01:50:38 $ docker rm -f 5bf79740b04782ab3605fbcac43406e804a4e8758236b2a51910b7795fd0c0a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:51:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:51:46 Running in /w/workspace/device-sdk-go/77 [Pipeline] { [Pipeline] checkout 01:51:46 The recommended git tool is: git 01:51:51 using credential edgex-jenkins-ssh 01:51:51 Cloning the remote Git repository 01:51:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:51:51 > git init /w/workspace/device-sdk-go/77 # timeout=10 01:51:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:51:52 > git --version # timeout=10 01:51:52 > git --version # 'git version 2.25.1' 01:51:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:53 Avoid second fetch 01:51:53 Checking out Revision c4c7375013d1152251e98051bf37b0c1fd0193e8 (main) 01:51:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:51:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:53 > git config core.sparsecheckout # timeout=10 01:51:53 > git checkout -f c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 01:51:58 Commit message: "Merge pull request #1166 from jinlinGuan/issue-1162" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:51:58 % Total % Received % Xferd Average Speed Time Time Time Current 01:51:58 Dload Upload Total Spent Left Speed 01:51:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12253 97 11882 0 0 52114 0 --:--:-- --:--:-- --:--:-- 51886 100 12253 100 12253 0 0 53273 0 --:--:-- --:--:-- --:--:-- 53273 [Pipeline] sh 01:51:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:52:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:52:00 + sudo tee /etc/docker/daemon.new 01:52:00 { 01:52:00 "registry-mirrors": [ 01:52:00 "https://nexus3.edgexfoundry.org:10001" 01:52:00 ], 01:52:00 "bip": "10.250.0.254/24", 01:52:00 "hosts": [ 01:52:00 "tcp://0.0.0.0:5555", 01:52:00 "unix:///var/run/docker.sock" 01:52:00 ], 01:52:00 "mtu": 1458, 01:52:00 "selinux-enabled": true, 01:52:00 "seccomp-profile": "/etc/docker/seccomp.json" 01:52:00 } [Pipeline] sh 01:52:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:52:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:19 provisioning config files... 01:52:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/77@tmp/config3064875887179770733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:19 ---> docker-login.sh 01:52:19 nexus3.edgexfoundry.org:10001 01:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:20 Configure a credential helper to remove this warning. See 01:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:20 01:52:20 Login Succeeded 01:52:20 nexus3.edgexfoundry.org:10002 01:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:20 Configure a credential helper to remove this warning. See 01:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:20 01:52:20 Login Succeeded 01:52:20 nexus3.edgexfoundry.org:10003 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 nexus3.edgexfoundry.org:10004 01:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:21 Configure a credential helper to remove this warning. See 01:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:21 01:52:21 Login Succeeded 01:52:21 docker.io 01:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:22 Configure a credential helper to remove this warning. See 01:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:22 01:52:22 Login Succeeded 01:52:22 ---> docker-login.sh ends [Pipeline] } 01:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:23 ========================================================= 01:52:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:52:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:23 + 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 . 01:52:24 Sending build context to Docker daemon 5.263MB 01:52:24 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:52:24 Step 2/11 : FROM ${BASE} AS builder 01:52:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:52:24 9b3977197b4f: Pulling fs layer 01:52:24 1a89e8eeedd5: Pulling fs layer 01:52:24 94645a83ff95: Pulling fs layer 01:52:24 3f3a8bcf1eab: Pulling fs layer 01:52:24 0c92f367c5e7: Pulling fs layer 01:52:24 3096ccb668a1: Pulling fs layer 01:52:24 e8cf19c19ddd: Pulling fs layer 01:52:24 a4caa8a26152: Pulling fs layer 01:52:24 3f3a8bcf1eab: Waiting 01:52:24 0c92f367c5e7: Waiting 01:52:24 3096ccb668a1: Waiting 01:52:24 e8cf19c19ddd: Waiting 01:52:24 a4caa8a26152: Waiting 01:52:24 94645a83ff95: Verifying Checksum 01:52:24 94645a83ff95: Download complete 01:52:24 1a89e8eeedd5: Verifying Checksum 01:52:24 1a89e8eeedd5: Download complete 01:52:24 0c92f367c5e7: Verifying Checksum 01:52:24 0c92f367c5e7: Download complete 01:52:24 3096ccb668a1: Verifying Checksum 01:52:24 3096ccb668a1: Download complete 01:52:24 9b3977197b4f: Verifying Checksum 01:52:24 9b3977197b4f: Download complete 01:52:24 e8cf19c19ddd: Verifying Checksum 01:52:24 e8cf19c19ddd: Download complete 01:52:25 9b3977197b4f: Pull complete 01:52:25 1a89e8eeedd5: Pull complete 01:52:26 94645a83ff95: Pull complete 01:52:26 a4caa8a26152: Verifying Checksum 01:52:26 a4caa8a26152: Download complete 01:52:27 3f3a8bcf1eab: Verifying Checksum 01:52:27 3f3a8bcf1eab: Download complete 01:52:39 3f3a8bcf1eab: Pull complete 01:52:39 0c92f367c5e7: Pull complete 01:52:39 3096ccb668a1: Pull complete 01:52:39 e8cf19c19ddd: Pull complete 01:52:46 a4caa8a26152: Pull complete 01:52:46 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:52:46 ---> 725f1c02e7f9 01:52:46 Step 3/11 : ARG MAKE=make build 01:52:47 ---> Running in a8fe90c95cd2 01:52:47 Removing intermediate container a8fe90c95cd2 01:52:47 ---> 0d69a7089d22 01:52:47 Step 4/11 : WORKDIR /device-sdk-go 01:52:47 ---> Running in 8c11087f635e 01:52:47 Removing intermediate container 8c11087f635e 01:52:47 ---> 3f686d1bf33f 01:52:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:47 ---> Running in df2fe17b1982 01:52:48 Removing intermediate container df2fe17b1982 01:52:48 ---> 886f4780f44a 01:52:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:48 ---> Running in a45b46d56bba 01:52:51 Removing intermediate container a45b46d56bba 01:52:51 ---> 336bec50be90 01:52:51 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:52:51 ---> Running in 975c5e84283f 01:52:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:52:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:52:54 OK: 220 MiB in 52 packages 01:52:55 Removing intermediate container 975c5e84283f 01:52:55 ---> 40c9abc6cd2f 01:52:55 Step 8/11 : COPY go.mod vendor* ./ 01:52:55 ---> 1717164d8435 01:52:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:55 ---> Running in c0620a93cedf 01:53:42 Removing intermediate container c0620a93cedf 01:53:42 ---> a56041811660 01:53:42 Step 10/11 : COPY . . 01:53:42 ---> 8e44af4111ac 01:53:42 Step 11/11 : RUN ${MAKE} 01:53:43 ---> Running in ca2d4dcdcbd9 01:53:44 noop 01:53:44 Removing intermediate container ca2d4dcdcbd9 01:53:44 ---> e4f19e44063a 01:53:44 Successfully built e4f19e44063a 01:53:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:45 + docker inspect -f . ci-base-image-arm64 01:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:45 prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container 01:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/77 -v /w/workspace/device-sdk-go/77:/w/workspace/device-sdk-go/77:rw,z -v /w/workspace/device-sdk-go/77@tmp:/w/workspace/device-sdk-go/77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:53:46 $ docker top a0fd7712490621ea3da01d33a27262b3e29bb20e178ee4c8937998d0c639bf02 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:47 + go version 01:53:47 go version go1.17.6 linux/arm64 [Pipeline] } 01:53:47 $ docker stop --time=1 a0fd7712490621ea3da01d33a27262b3e29bb20e178ee4c8937998d0c639bf02 01:53:49 $ docker rm -f a0fd7712490621ea3da01d33a27262b3e29bb20e178ee4c8937998d0c639bf02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:50 + docker inspect -f . ci-base-image-arm64 01:53:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:50 prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container 01:53:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/77 -v /w/workspace/device-sdk-go/77:/w/workspace/device-sdk-go/77:rw,z -v /w/workspace/device-sdk-go/77@tmp:/w/workspace/device-sdk-go/77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:53:52 $ docker top d58ad31de00d57b5cf919c5ff0f64fece5d245261396da8e67db0afb9783ece3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:53:53 + make test 01:53:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:54:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.376s coverage: 23.3% of statements 01:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.304s coverage: 27.6% of statements 01:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.303s coverage: 78.9% of statements 01:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.245s coverage: 10.8% of statements 01:56:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.410s coverage: 60.0% of statements 01:56:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:56:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:56:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.424s coverage: 34.8% of statements 01:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:56:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.327s coverage: 85.4% of statements 01:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements 01:56:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.313s coverage: 89.2% of statements 01:56:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:56:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements 01:56:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:56:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:56:28 GO111MODULE=on go vet ./... 01:58:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:05 ./bin/test-attribution-txt.sh [Pipeline] echo 01:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:58:05 $ docker stop --time=1 d58ad31de00d57b5cf919c5ff0f64fece5d245261396da8e67db0afb9783ece3 01:58:07 $ docker rm -f d58ad31de00d57b5cf919c5ff0f64fece5d245261396da8e67db0afb9783ece3 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:08 Warning: overwriting stash ‘coverage-report’ 01:58:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:10 + ls -al . 01:58:10 total 296 01:58:10 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:57 . 01:58:10 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:51 .. 01:58:10 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:51 .dockerignore 01:58:10 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:51 .git 01:58:10 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:51 .github 01:58:10 -rw-rw-r-- 1 jenkins jenkins 131 May 25 01:51 .gitignore 01:58:10 -rw-rw-r-- 1 jenkins jenkins 42 May 25 01:51 .golangci.yml 01:58:10 -rw-rw-r-- 1 jenkins jenkins 29536 May 25 01:51 CHANGELOG.md 01:58:10 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:51 GOVERNANCE.md 01:58:10 -rw-rw-r-- 1 jenkins jenkins 880 May 25 01:51 Jenkinsfile 01:58:10 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 01:51 LICENSE 01:58:10 -rw-rw-r-- 1 jenkins jenkins 2015 May 25 01:51 Makefile 01:58:10 -rw-rw-r-- 1 jenkins jenkins 619 May 25 01:51 OWNERS.md 01:58:10 -rw-rw-r-- 1 jenkins jenkins 4881 May 25 01:51 README.md 01:58:10 -rw-rw-r-- 1 jenkins jenkins 11 May 25 01:48 VERSION 01:58:10 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:51 bin 01:58:10 -rw-r--r-- 1 jenkins jenkins 131010 May 25 01:56 coverage.out 01:58:10 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:51 example 01:58:10 -rw-rw-r-- 1 jenkins jenkins 3159 May 25 01:51 go.mod 01:58:10 -rw-rw-r-- 1 jenkins jenkins 34529 May 25 01:51 go.sum 01:58:10 drwxrwxr-x 15 jenkins jenkins 4096 May 25 01:51 internal 01:58:10 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:51 openapi 01:58:10 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:51 pkg 01:58:10 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:51 snap 01:58:10 -rw-rw-r-- 1 jenkins jenkins 222 May 25 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:10 + 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=c4c7375013d1152251e98051bf37b0c1fd0193e8 --label arch=arm64 --label version=2.2.1-dev.2 . 01:58:10 Sending build context to Docker daemon 5.395MB 01:58:10 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:58:10 Step 2/25 : FROM ${BASE} AS builder 01:58:10 ---> e4f19e44063a 01:58:10 Step 3/25 : ARG MAKE=make build 01:58:10 ---> Running in 4bb9f4e77554 01:58:11 Removing intermediate container 4bb9f4e77554 01:58:11 ---> 69d40761db82 01:58:11 Step 4/25 : WORKDIR /device-sdk-go 01:58:11 ---> Running in 08d3f40cb505 01:58:11 Removing intermediate container 08d3f40cb505 01:58:11 ---> a611235c4a11 01:58:11 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:58:11 ---> Running in 8eb06988bdf0 01:58:12 Removing intermediate container 8eb06988bdf0 01:58:12 ---> bdcac35a226a 01:58:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:12 ---> Running in 2d65579c45ea 01:58:14 Removing intermediate container 2d65579c45ea 01:58:14 ---> 56a23e33feb4 01:58:14 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:58:14 ---> Running in d9dbf3c6100e 01:58:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:58:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:58:16 OK: 220 MiB in 52 packages 01:58:17 Removing intermediate container d9dbf3c6100e 01:58:17 ---> bea7cda644d8 01:58:17 Step 8/25 : COPY go.mod vendor* ./ 01:58:17 ---> 7b749573f9c4 01:58:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:17 ---> Running in 16b5596921e9 01:58:19 Removing intermediate container 16b5596921e9 01:58:19 ---> da158bf6a046 01:58:19 Step 10/25 : COPY . . 01:58:21 ---> 41e401fb2324 01:58:21 Step 11/25 : RUN ${MAKE} 01:58:21 ---> Running in 33b82bac2e43 01:58:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:00:29 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:00:29 Removing intermediate container 33b82bac2e43 02:00:29 ---> 667a6aa683a4 02:00:29 Step 12/25 : FROM alpine:3.14 02:00:29 3.14: Pulling from library/alpine 02:00:29 455c02918c45: Pulling fs layer 02:00:29 455c02918c45: Verifying Checksum 02:00:29 455c02918c45: Download complete 02:00:29 455c02918c45: Pull complete 02:00:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:00:29 Status: Downloaded newer image for alpine:3.14 02:00:29 ---> ac73e934f311 02:00:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:00:29 ---> Running in e6b98b1b80bb 02:00:29 Removing intermediate container e6b98b1b80bb 02:00:29 ---> 650a2011fdc9 02:00:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:29 ---> Running in ba5161a1fb58 02:00:29 Removing intermediate container ba5161a1fb58 02:00:29 ---> d5e73636e9d5 02:00:29 Step 15/25 : RUN apk add --update --no-cache zeromq 02:00:29 ---> Running in 53d0d56850b5 02:00:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:00:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:00:30 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:00:30 (2/5) Installing libsodium (1.0.18-r0) 02:00:30 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:00:30 (4/5) Installing libzmq (4.3.4-r0) 02:00:30 (5/5) Installing zeromq (4.3.4-r0) 02:00:30 Executing busybox-1.33.1-r7.trigger 02:00:30 OK: 8 MiB in 19 packages 02:00:31 Removing intermediate container 53d0d56850b5 02:00:31 ---> b94433275e81 02:00:31 Step 16/25 : WORKDIR / 02:00:31 ---> Running in 3a3cc4f8260f 02:00:32 Removing intermediate container 3a3cc4f8260f 02:00:32 ---> 7ba11f13c40d 02:00:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:00:32 ---> 2215ff7b8ed8 02:00:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:00:34 ---> 1e15ecb564ef 02:00:34 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:00:35 ---> 9375c0b84484 02:00:35 Step 20/25 : EXPOSE 59999 02:00:35 ---> Running in f120cc8825a4 02:00:35 Removing intermediate container f120cc8825a4 02:00:35 ---> 27fe642d1708 02:00:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:00:35 ---> Running in d8db2db96d61 02:00:35 Removing intermediate container d8db2db96d61 02:00:35 ---> 641d2dff9734 02:00:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:00:36 ---> Running in e17db158435c 02:00:36 Removing intermediate container e17db158435c 02:00:36 ---> 523236e9979d 02:00:36 Step 23/25 : LABEL arch=arm64 02:00:36 ---> Running in 9c24f09da244 02:00:36 Removing intermediate container 9c24f09da244 02:00:36 ---> 18b9a95998ff 02:00:36 Step 24/25 : LABEL git_sha=c4c7375013d1152251e98051bf37b0c1fd0193e8 02:00:36 ---> Running in 61da795923a2 02:00:37 Removing intermediate container 61da795923a2 02:00:37 ---> 8e49422f5c26 02:00:37 Step 25/25 : LABEL version=2.2.1-dev.2 02:00:37 ---> Running in 1ebc1c992a02 02:00:37 Removing intermediate container 1ebc1c992a02 02:00:37 ---> ea37e078784e 02:00:37 [Warning] One or more build-args [ARCH] were not consumed 02:00:37 Successfully built ea37e078784e 02:00:37 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 02:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:38 02:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:38 arm64: Pulling from edgex-lftools-log-publisher 02:00:38 8998bd30e6a1: Pulling fs layer 02:00:38 04944245beec: Pulling fs layer 02:00:38 699f458cf7ca: Pulling fs layer 02:00:38 765212b225bb: Pulling fs layer 02:00:38 f23df028b6ca: Pulling fs layer 02:00:38 d65c8cfc05b1: Pulling fs layer 02:00:38 2437ff75d9bd: Pulling fs layer 02:00:38 f23df028b6ca: Waiting 02:00:38 d65c8cfc05b1: Waiting 02:00:38 2437ff75d9bd: Waiting 02:00:38 765212b225bb: Waiting 02:00:38 04944245beec: Verifying Checksum 02:00:38 04944245beec: Download complete 02:00:38 765212b225bb: Download complete 02:00:38 f23df028b6ca: Download complete 02:00:38 d65c8cfc05b1: Verifying Checksum 02:00:38 d65c8cfc05b1: Download complete 02:00:39 699f458cf7ca: Download complete 02:00:39 8998bd30e6a1: Download complete 02:00:41 2437ff75d9bd: Verifying Checksum 02:00:41 2437ff75d9bd: Download complete 02:00:43 8998bd30e6a1: Pull complete 02:00:44 04944245beec: Pull complete 02:00:45 699f458cf7ca: Pull complete 02:00:46 765212b225bb: Pull complete 02:00:47 f23df028b6ca: Pull complete 02:00:47 d65c8cfc05b1: Pull complete 02:01:02 2437ff75d9bd: Pull complete 02:01:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:02 prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container 02:01:03 $ 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/77 -v /w/workspace/device-sdk-go/77:/w/workspace/device-sdk-go/77:rw,z -v /w/workspace/device-sdk-go/77@tmp:/w/workspace/device-sdk-go/77@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:arm64 cat 02:01:05 $ docker top 3dcb63a95dc59dfdf06de9a3b30fac94ef84c2bf47819172b78acd780390688d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:06 ---> job-cost.sh 02:01:06 lf-activate-venv: SKIPPING 02:01:06 INFO: No Stack... 02:01:07 INFO: Retrieving Pricing Info for: v3-standard-4 02:01:08 INFO: Archiving Costs [Pipeline] sh 02:01:08 + cat /w/workspace/device-sdk-go/77/archives/cost.csv 02:01:08 + cut -d, -f6 [Pipeline] lock 02:01:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] 02:01:08 Resource [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] did not exist. Created. 02:01:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:09 /w/workspace/device-sdk-go/77@tmp/durable-7862d923/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:01:10 + echo total: 0.10999999940395355 [Pipeline] stash 02:01:10 Warning: overwriting stash ‘stack-cost’ 02:01:10 Stashed 1 file(s) [Pipeline] } 02:01:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:10 $ docker stop --time=1 3dcb63a95dc59dfdf06de9a3b30fac94ef84c2bf47819172b78acd780390688d 02:01:11 $ docker rm -f 3dcb63a95dc59dfdf06de9a3b30fac94ef84c2bf47819172b78acd780390688d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:01:12 provisioning config files... 02:01:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1001804899271469220tmp [Pipeline] { [Pipeline] sh 02:01:12 + set +x 02:01:12 + bash -s -- 02:01:12 + curl -s https://codecov.io/bash 02:01:12 02:01:12 _____ _ 02:01:12 / ____| | | 02:01:12 | | ___ __| | ___ ___ _____ __ 02:01:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:01:12 | |___| (_) | (_| | __/ (_| (_) \ V / 02:01:12 \_____\___/ \__,_|\___|\___\___/ \_/ 02:01:12 Bash-1.0.6 02:01:12 02:01:12 02:01:12 ==> git version 2.25.1 found 02:01:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:01:12 Release-Date: 2020-01-08 02:01:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:01:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:01:12 ==> Jenkins CI detected. 02:01:12 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:01:12 project root: . 02:01:12 --> token set from env 02:01:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:01:12 ==> Running gcov in . (disable via -X gcov) 02:01:12 ==> Python coveragepy not found 02:01:12 ==> Searching for coverage reports in: 02:01:12 + . 02:01:12 -> Found 1 reports 02:01:12 ==> Detecting git/mercurial file structure 02:01:12 ==> Reading reports 02:01:12 + ./coverage.out bytes=131010 02:01:12 ==> Appending adjustments 02:01:12 https://docs.codecov.io/docs/fixing-reports 02:01:13 + Found adjustments 02:01:13 ==> Gzipping contents 02:01:13 20K /tmp/codecov.4AZDrq.gz 02:01:13 ==> Uploading reports 02:01:13 url: https://codecov.io 02:01:13 query: branch=main&commit=c4c7375013d1152251e98051bf37b0c1fd0193e8&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:01:13 -> Pinging Codecov 02:01:13 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=c4c7375013d1152251e98051bf37b0c1fd0193e8&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:01:13 -> Uploading to 02:01:13 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/7E55EF52A471D76F132DFD9A03CDDE97/c4c7375013d1152251e98051bf37b0c1fd0193e8/f57d0d63-e5b3-4d6b-b41a-8eee162092b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T020113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c5344578788c8cd6e01e860738352e9ad1c1b634141c895802a159fb92b20db 02:01:13 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:13 Dload Upload Total Spent Left Speed 02:01:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16850 0 0 100 16850 0 76244 --:--:-- --:--:-- --:--:-- 75900 100 16850 0 0 100 16850 0 30917 --:--:-- --:--:-- --:--:-- 30917 02:01:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] } 02:01:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:01:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:01:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:14 02:01:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:01:14 188c0c94c7c5: Pulling fs layer 02:01:14 0ef7d3d256c8: Pulling fs layer 02:01:14 de9db76c5a1d: Pulling fs layer 02:01:14 0eba1c9be4d2: Pulling fs layer 02:01:14 0d57e429df01: Pulling fs layer 02:01:14 4e4be7b47b0d: Pulling fs layer 02:01:14 e1f770b5df2f: Pulling fs layer 02:01:14 85a0685a4137: Pulling fs layer 02:01:14 0eba1c9be4d2: Waiting 02:01:14 0d57e429df01: Waiting 02:01:14 4e4be7b47b0d: Waiting 02:01:14 e1f770b5df2f: Waiting 02:01:14 85a0685a4137: Waiting 02:01:14 de9db76c5a1d: Download complete 02:01:14 0ef7d3d256c8: Download complete 02:01:14 0d57e429df01: Verifying Checksum 02:01:14 0d57e429df01: Download complete 02:01:14 4e4be7b47b0d: Verifying Checksum 02:01:14 4e4be7b47b0d: Download complete 02:01:14 188c0c94c7c5: Verifying Checksum 02:01:14 188c0c94c7c5: Download complete 02:01:15 188c0c94c7c5: Pull complete 02:01:15 e1f770b5df2f: Verifying Checksum 02:01:15 e1f770b5df2f: Download complete 02:01:15 0ef7d3d256c8: Pull complete 02:01:15 de9db76c5a1d: Pull complete 02:01:15 0eba1c9be4d2: Verifying Checksum 02:01:15 0eba1c9be4d2: Download complete 02:01:15 85a0685a4137: Verifying Checksum 02:01:15 85a0685a4137: Download complete 02:01:19 0eba1c9be4d2: Pull complete 02:01:19 0d57e429df01: Pull complete 02:01:19 4e4be7b47b0d: Pull complete 02:01:19 e1f770b5df2f: Pull complete 02:01:22 85a0685a4137: Pull complete 02:01:22 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:22 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:01:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:01:24 $ docker top bc168f6a68452e54715347976acbb7d39fcbf6af5b6a16fc05117f144ffa6d2c -eo pid,comm [Pipeline] { [Pipeline] echo 02:01:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:01:24 + set -o pipefail 02:01:24 + snyk monitor '--org=edgex-jenkins' 02:01:30 02:01:30 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 02:01:30 02:01:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/9d054771-15c9-4996-9faf-900aa6465bc1 02:01:30 02:01:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:01:30 02:01:30 [Pipeline] } 02:01:30 $ docker stop --time=1 bc168f6a68452e54715347976acbb7d39fcbf6af5b6a16fc05117f144ffa6d2c 02:01:31 $ docker rm -f bc168f6a68452e54715347976acbb7d39fcbf6af5b6a16fc05117f144ffa6d2c [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 02:01:32 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:32 provisioning config files... 02:01:32 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2959676987503556404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:32 --> edgex-publish-swagger.sh 02:01:32 === Publish openapi/v2 API === 02:01:32 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 02:01:32 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 02:01:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:32 Dload Upload Total Spent Left Speed 02:01:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 76444 --:--:-- --:--:-- --:--:-- 76444 02:01:33 02:01:33 [Pipeline] } 02:01:33 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 02:01:33 + git log --format=format:%s -1 c4c7375013d1152251e98051bf37b0c1fd0193e8 [Pipeline] sh 02:01:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:34 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:01:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:01:34 $ docker top 8fc3578f1ddf3fd4c6943034de2fcbd7188ec9ba7e3820077515f3c8bd2f2b54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:34 [ssh-agent] Looking for ssh-agent implementation... 02:01:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:35 $ docker exec 8fc3578f1ddf3fd4c6943034de2fcbd7188ec9ba7e3820077515f3c8bd2f2b54 ssh-agent 02:01:35 SSH_AUTH_SOCK=/tmp/ssh-rcZp7Gv1iXHA/agent.33 02:01:35 SSH_AGENT_PID=40 02:01:35 Running ssh-add (command line suppressed) 02:01:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7289984335811855565.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7289984335811855565.key) 02:01:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:35 + git semver tag 02:01:35 2022-05-25 02:01:35,801 [run_tag] DEBUG tag force:False 02:01:35 2022-05-25 02:01:35,802 [check_head_tag] DEBUG check head tag 02:01:35 2022-05-25 02:01:35,803 [execute] INFO git cat-file --batch-check 02:01:35 2022-05-25 02:01:35,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:01:35 2022-05-25 02:01:35,807 [execute] INFO git cat-file --batch 02:01:35 2022-05-25 02:01:35,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:01:35 2022-05-25 02:01:35,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:35 2022-05-25 02:01:35,833 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 02:01:35 2022-05-25 02:01:35,833 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 02:01:35 2022-05-25 02:01:35,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:35 2.2.1-dev.2 [Pipeline] } 02:01:36 $ docker exec --env ******** --env ******** 8fc3578f1ddf3fd4c6943034de2fcbd7188ec9ba7e3820077515f3c8bd2f2b54 ssh-agent -k 02:01:36 unset SSH_AUTH_SOCK; 02:01:36 unset SSH_AGENT_PID; 02:01:36 echo Agent pid 40 killed; 02:01:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:36 + git semver [Pipeline] } 02:01:36 $ docker stop --time=1 8fc3578f1ddf3fd4c6943034de2fcbd7188ec9ba7e3820077515f3c8bd2f2b54 02:01:38 $ docker rm -f 8fc3578f1ddf3fd4c6943034de2fcbd7188ec9ba7e3820077515f3c8bd2f2b54 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:38 02:01:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:38 0.23.1-centos7: Pulling from edgex-lftools 02:01:38 ab5ef0e58194: Pulling fs layer 02:01:38 9712f1f96733: Pulling fs layer 02:01:38 63f879dbbcfc: Pulling fs layer 02:01:38 0d9ebad4ef96: Pulling fs layer 02:01:38 e9a5061849ea: Pulling fs layer 02:01:38 d747dcd14b5f: Pulling fs layer 02:01:38 2de7ff778b66: Pulling fs layer 02:01:38 e9a5061849ea: Waiting 02:01:38 0d9ebad4ef96: Waiting 02:01:38 d747dcd14b5f: Waiting 02:01:38 2de7ff778b66: Waiting 02:01:38 9712f1f96733: Download complete 02:01:39 63f879dbbcfc: Verifying Checksum 02:01:39 63f879dbbcfc: Download complete 02:01:39 0d9ebad4ef96: Verifying Checksum 02:01:39 0d9ebad4ef96: Download complete 02:01:39 d747dcd14b5f: Verifying Checksum 02:01:39 d747dcd14b5f: Download complete 02:01:39 e9a5061849ea: Verifying Checksum 02:01:39 e9a5061849ea: Download complete 02:01:39 ab5ef0e58194: Verifying Checksum 02:01:39 ab5ef0e58194: Download complete 02:01:39 2de7ff778b66: Verifying Checksum 02:01:39 2de7ff778b66: Download complete 02:01:41 ab5ef0e58194: Pull complete 02:01:41 9712f1f96733: Pull complete 02:01:42 63f879dbbcfc: Pull complete 02:01:46 0d9ebad4ef96: Pull complete 02:01:46 e9a5061849ea: Pull complete 02:01:46 d747dcd14b5f: Pull complete 02:01:47 2de7ff778b66: Pull complete 02:01:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:47 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:01:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:01:49 $ docker top cae00fc4bf2669af254e6920c1eb09b2d7230658765316ade38e21a65f4df5df -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:01:49 provisioning config files... 02:01:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4609242275122300501tmp 02:01:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8338427295449016049tmp 02:01:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1075104339625265591tmp [Pipeline] { [Pipeline] echo 02:01:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:01:49 ---> sigul-configuration.sh 02:01:49 gpg: directory `/root/.gnupg' created 02:01:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:01:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:01:49 gpg: keyring `/root/.gnupg/secring.gpg' created 02:01:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:01:49 gpg: CAST5 encrypted data 02:01:49 gpg: encrypted with 1 passphrase 02:01:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:01:49 + mkdir /home/jenkins 02:01:49 + mkdir /home/jenkins/sigul [Pipeline] sh 02:01:50 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:01:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:01:50 ---> sigul-install.sh 02:01:50 Sigul already installed; skipping installation. [Pipeline] sh 02:01:50 + git tag --list 02:01:50 0.7.1 02:01:50 delhi-tag 02:01:50 v1.0.0 02:01:50 v1.1.0 02:01:50 v1.1.1 02:01:50 v1.1.2 02:01:50 v1.2.0 02:01:50 v1.2.1 02:01:50 v1.2.2 02:01:50 v1.2.3 02:01:50 v1.3.0 02:01:50 v1.4.0 02:01:50 v2.0.0 02:01:50 v2.0.1-dev.1 02:01:50 v2.0.1-dev.10 02:01:50 v2.0.1-dev.11 02:01:50 v2.0.1-dev.12 02:01:50 v2.0.1-dev.13 02:01:50 v2.0.1-dev.14 02:01:50 v2.0.1-dev.15 02:01:50 v2.0.1-dev.16 02:01:50 v2.0.1-dev.17 02:01:50 v2.0.1-dev.18 02:01:50 v2.0.1-dev.19 02:01:50 v2.0.1-dev.2 02:01:50 v2.0.1-dev.20 02:01:50 v2.0.1-dev.21 02:01:50 v2.0.1-dev.22 02:01:50 v2.0.1-dev.23 02:01:50 v2.0.1-dev.24 02:01:50 v2.0.1-dev.25 02:01:50 v2.0.1-dev.26 02:01:50 v2.0.1-dev.27 02:01:50 v2.0.1-dev.28 02:01:50 v2.0.1-dev.29 02:01:50 v2.0.1-dev.3 02:01:50 v2.0.1-dev.30 02:01:50 v2.0.1-dev.31 02:01:50 v2.0.1-dev.32 02:01:50 v2.0.1-dev.33 02:01:50 v2.0.1-dev.4 02:01:50 v2.0.1-dev.5 02:01:50 v2.0.1-dev.6 02:01:50 v2.0.1-dev.7 02:01:50 v2.0.1-dev.8 02:01:50 v2.0.1-dev.9 02:01:50 v2.1.0 02:01:50 v2.1.1-dev.1 02:01:50 v2.2.0 02:01:50 v2.2.0-dev.1 02:01:50 v2.2.0-dev.10 02:01:50 v2.2.0-dev.11 02:01:50 v2.2.0-dev.12 02:01:50 v2.2.0-dev.13 02:01:50 v2.2.0-dev.14 02:01:50 v2.2.0-dev.15 02:01:50 v2.2.0-dev.16 02:01:50 v2.2.0-dev.17 02:01:50 v2.2.0-dev.18 02:01:50 v2.2.0-dev.19 02:01:50 v2.2.0-dev.2 02:01:50 v2.2.0-dev.20 02:01:50 v2.2.0-dev.21 02:01:50 v2.2.0-dev.22 02:01:50 v2.2.0-dev.23 02:01:50 v2.2.0-dev.24 02:01:50 v2.2.0-dev.25 02:01:50 v2.2.0-dev.26 02:01:50 v2.2.0-dev.27 02:01:50 v2.2.0-dev.28 02:01:50 v2.2.0-dev.29 02:01:50 v2.2.0-dev.3 02:01:50 v2.2.0-dev.30 02:01:50 v2.2.0-dev.31 02:01:50 v2.2.0-dev.32 02:01:50 v2.2.0-dev.33 02:01:50 v2.2.0-dev.34 02:01:50 v2.2.0-dev.35 02:01:50 v2.2.0-dev.36 02:01:50 v2.2.0-dev.37 02:01:50 v2.2.0-dev.38 02:01:50 v2.2.0-dev.39 02:01:50 v2.2.0-dev.4 02:01:50 v2.2.0-dev.40 02:01:50 v2.2.0-dev.5 02:01:50 v2.2.0-dev.6 02:01:50 v2.2.0-dev.7 02:01:50 v2.2.0-dev.8 02:01:50 v2.2.0-dev.9 02:01:50 v2.2.1-dev.1 02:01:50 v2.2.1-dev.2 [Pipeline] sh 02:01:51 + lftools sign git-tag v2.2.1-dev.2 02:01:51 Signing Git tag with Sigul... 02:01:51 Signing v2.2.1-dev.2 [Pipeline] echo 02:01:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:01:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:01:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:01:52 $ docker stop --time=1 cae00fc4bf2669af254e6920c1eb09b2d7230658765316ade38e21a65f4df5df 02:01:53 $ docker rm -f cae00fc4bf2669af254e6920c1eb09b2d7230658765316ade38e21a65f4df5df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:01:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:01:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:54 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:01:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:01:55 $ docker top 77920622378e087b8af1d55142373d52deb6af5eb9aa77514da951a5e52da303 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:55 [ssh-agent] Looking for ssh-agent implementation... 02:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:55 $ docker exec 77920622378e087b8af1d55142373d52deb6af5eb9aa77514da951a5e52da303 ssh-agent 02:01:55 SSH_AUTH_SOCK=/tmp/ssh-mTRmAv0UWxGm/agent.33 02:01:55 SSH_AGENT_PID=39 02:01:55 Running ssh-add (command line suppressed) 02:01:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2588811095316422638.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2588811095316422638.key) 02:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:55 + git semver bump pre 02:01:56 2022-05-25 02:01:56,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:56 2022-05-25 02:01:56,040 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 02:01:56 2022-05-25 02:01:56,040 [bump_version] DEBUG bumped version:2.2.1-dev.3 02:01:56 2022-05-25 02:01:56,040 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 02:01:56 2022-05-25 02:01:56,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:56 2022-05-25 02:01:56,040 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:56 2022-05-25 02:01:56,042 [execute] INFO git cat-file --batch-check 02:01:56 2022-05-25 02:01:56,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:01:56 2022-05-25 02:01:56,047 [execute] INFO git cat-file --batch 02:01:56 2022-05-25 02:01:56,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:01:56 2022-05-25 02:01:56,053 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:01:56 2.2.1-dev.3 [Pipeline] } 02:01:56 $ docker exec --env ******** --env ******** 77920622378e087b8af1d55142373d52deb6af5eb9aa77514da951a5e52da303 ssh-agent -k 02:01:56 unset SSH_AUTH_SOCK; 02:01:56 unset SSH_AGENT_PID; 02:01:56 echo Agent pid 39 killed; 02:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:56 + git semver [Pipeline] } 02:01:56 $ docker stop --time=1 77920622378e087b8af1d55142373d52deb6af5eb9aa77514da951a5e52da303 02:01:58 $ docker rm -f 77920622378e087b8af1d55142373d52deb6af5eb9aa77514da951a5e52da303 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:58 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:01:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:01:59 $ docker top 3638fcac269fda591f007a8a203c76513b08ac6863b4b749b7eb89e1d52b4788 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:59 [ssh-agent] Looking for ssh-agent implementation... 02:01:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:59 $ docker exec 3638fcac269fda591f007a8a203c76513b08ac6863b4b749b7eb89e1d52b4788 ssh-agent 02:01:59 SSH_AUTH_SOCK=/tmp/ssh-JduDiXIixL8P/agent.32 02:01:59 SSH_AGENT_PID=38 02:01:59 Running ssh-add (command line suppressed) 02:01:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5104878404842092534.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5104878404842092534.key) 02:01:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:00 + git semver push 02:02:00 2022-05-25 02:02:00,187 [run_push] DEBUG push 02:02:00 2022-05-25 02:02:00,188 [execute] INFO git push origin semver 02:02:00 2022-05-25 02:02:00,188 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:02:01 2022-05-25 02:02:00,985 [run_push] DEBUG push all version tags 02:02:01 2022-05-25 02:02:00,985 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:02:01 2022-05-25 02:02:00,986 [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) 02:02:01 2022-05-25 02:02:01,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:02:01 2.2.1-dev.3 [Pipeline] } 02:02:01 $ docker exec --env ******** --env ******** 3638fcac269fda591f007a8a203c76513b08ac6863b4b749b7eb89e1d52b4788 ssh-agent -k 02:02:01 unset SSH_AUTH_SOCK; 02:02:01 unset SSH_AGENT_PID; 02:02:01 echo Agent pid 38 killed; 02:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:02 + git semver [Pipeline] } 02:02:02 $ docker stop --time=1 3638fcac269fda591f007a8a203c76513b08ac6863b4b749b7eb89e1d52b4788 02:02:03 $ docker rm -f 3638fcac269fda591f007a8a203c76513b08ac6863b4b749b7eb89e1d52b4788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:02:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 02:02:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:02:04 total 16 02:02:04 drwxr-xr-x 3 root root 4096 May 25 01:50 . 02:02:04 drwxrwxr-x 12 jenkins jenkins 4096 May 25 02:01 .. 02:02:04 drwxr-xr-x 2 root root 4096 May 25 01:50 cost 02:02:04 -rw-r--r-- 1 root root 83 May 25 01:50 cost.csv 02:02:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:02:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:02:04 total 16 02:02:04 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:50 . 02:02:04 drwxrwxr-x 12 jenkins jenkins 4096 May 25 02:01 .. 02:02:04 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:50 cost 02:02:04 -rw-r--r-- 1 jenkins jenkins 83 May 25 01:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:02:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:02:05 ---> package-listing.sh 02:02:05 ++ tr '[:upper:]' '[:lower:]' 02:02:05 ++ facter osfamily 02:02:05 + OS_FAMILY=debian 02:02:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 02:02:05 + START_PACKAGES=/tmp/packages_start.txt 02:02:05 + END_PACKAGES=/tmp/packages_end.txt 02:02:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:02:05 + PACKAGES=/tmp/packages_start.txt 02:02:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:02:05 + PACKAGES=/tmp/packages_end.txt 02:02:05 + case "${OS_FAMILY}" in 02:02:05 + dpkg -l 02:02:05 + grep '^ii' 02:02:05 + '[' -f /tmp/packages_start.txt ']' 02:02:05 + '[' -f /tmp/packages_end.txt ']' 02:02:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:02:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:02:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 02:02:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 02:02:05 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 02:02:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:06 prd-ubuntu20.04-docker-8c-8g-16 does not seem to be running inside a container 02:02:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:02:07 $ docker top 47839086e529d0053a828fc1594019223551e227bd4bbaa6b0ba8d34718460a2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:07 + touch /tmp/pre-build-complete [Pipeline] sh 02:02:07 + mkdir -p /var/log/sysstat [Pipeline] sh 02:02:07 + ls /var/log/sa-host 02:02:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:08 provisioning config files... 02:02:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7637527983447635633tmp [Pipeline] { [Pipeline] echo 02:02:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:02:08 ---> create-netrc.sh [Pipeline] } 02:02:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:02:08 ---> python-tools-install.sh [Pipeline] echo 02:02:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:02:09 ---> sudo-logs.sh 02:02:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:02:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:02:09 ---> job-cost.sh 02:02:09 lf-activate-venv: SKIPPING 02:02:09 DEBUG: total: 0.2199999988079071 02:02:09 INFO: Retrieving Stack Cost... 02:02:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:10 INFO: Archiving Costs [Pipeline] echo 02:02:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:02:10 ---> logs-deploy.sh 02:02:10 lf-activate-venv: SKIPPING 02:02:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/77 02:02:10 INFO: archiving workspace using pattern(s): 02:02:11 Archives upload complete. 02:02:11 INFO: archiving logs to Nexus