Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9409b3b23bd5b149471ef599a7e928019826e6b9 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-ssh359261145510838574.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-ssh4946503449165280350.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16488451275476845025.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-ssh12431957167742843668.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4048671193714806440.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-606 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 9409b3b23bd5b149471ef599a7e928019826e6b9 (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 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 Commit message: "Merge pull request #1144 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.5" > git rev-list --no-walk c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:12:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:12:36 ========================================================= 23:12:36 EdgeX Global Pipelines Version Info 23:12:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:12:36 ------------------- 23:12:36 stable info: 23:12:36 ------------------- 23:12:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:36 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:12:36 Message: update stable to v1.0.230 23:12:37 ------------------- 23:12:37 experimental info: 23:12:37 ------------------- 23:12:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:37 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:12:37 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:12:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9409b3b [Pipeline] echo 23:12:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:38 provisioning config files... 23:12:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1419897429781470411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:38 ---> docker-login.sh 23:12:38 nexus3.edgexfoundry.org:10001 23:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:39 Configure a credential helper to remove this warning. See 23:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:39 23:12:39 Login Succeeded 23:12:39 nexus3.edgexfoundry.org:10002 23:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:39 Configure a credential helper to remove this warning. See 23:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:39 23:12:39 Login Succeeded 23:12:39 nexus3.edgexfoundry.org:10003 23:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:39 Configure a credential helper to remove this warning. See 23:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:39 23:12:39 Login Succeeded 23:12:39 nexus3.edgexfoundry.org:10004 23:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:40 Configure a credential helper to remove this warning. See 23:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:40 23:12:40 Login Succeeded 23:12:40 docker.io 23:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:40 Configure a credential helper to remove this warning. See 23:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:40 23:12:40 Login Succeeded 23:12:40 ---> docker-login.sh ends [Pipeline] } 23:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:12:40 + git rev-list -1 --merges 9409b3b23bd5b149471ef599a7e928019826e6b9~1..9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] echo 23:12:40 -----------> git rev-list -1 --merges 9409b3b23bd5b149471ef599a7e928019826e6b9~1..9409b3b23bd5b149471ef599a7e928019826e6b9 9409b3b23bd5b149471ef599a7e928019826e6b9 23:12:40 9409b3b23bd5b149471ef599a7e928019826e6b9 [false] [Pipeline] sh 23:12:40 + git log --format=format:%s -1 9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] echo 23:12:40 ========================================================= 23:12:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:12:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:41 + git log --format=format:%s -1 9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] echo 23:12:41 [semverPrep] GIT_COMMIT: 9409b3b23bd5b149471ef599a7e928019826e6b9, Commit Message: Merge pull request #1144 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.5 [Pipeline] echo 23:12:41 [semverPrep] This is not a build commit. [Pipeline] sh 23:12:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:12:41 + grep -v github /etc/ssh/ssh_known_hosts 23:12:41 + [ -e /tmp/ssh_known_hosts ] 23:12:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:12:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:12:41 + sudo tee -a /etc/ssh/ssh_known_hosts 23:12:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:12:42 23:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:12:42 latest: Pulling from edgex-devops/py-git-semver 23:12:42 1fe172e4850f: Pulling fs layer 23:12:42 caf521ccaac6: Pulling fs layer 23:12:42 3ead6fa29328: Pulling fs layer 23:12:42 5c2a1cbceb83: Pulling fs layer 23:12:42 a8d5f1318db7: Pulling fs layer 23:12:42 c427282e49a2: Pulling fs layer 23:12:42 1827001aaf11: Pulling fs layer 23:12:42 0714d37db230: Pulling fs layer 23:12:42 ac28cf19c067: Pulling fs layer 23:12:42 ca983d60f3e2: Pulling fs layer 23:12:42 9f894cec8388: Pulling fs layer 23:12:42 a8d5f1318db7: Waiting 23:12:42 c427282e49a2: Waiting 23:12:42 ac28cf19c067: Waiting 23:12:42 ca983d60f3e2: Waiting 23:12:42 5c2a1cbceb83: Waiting 23:12:42 1827001aaf11: Waiting 23:12:42 0714d37db230: Waiting 23:12:42 9f894cec8388: Waiting 23:12:42 caf521ccaac6: Verifying Checksum 23:12:42 caf521ccaac6: Download complete 23:12:42 5c2a1cbceb83: Verifying Checksum 23:12:42 5c2a1cbceb83: Download complete 23:12:42 a8d5f1318db7: Verifying Checksum 23:12:42 a8d5f1318db7: Download complete 23:12:42 c427282e49a2: Verifying Checksum 23:12:42 c427282e49a2: Download complete 23:12:42 3ead6fa29328: Verifying Checksum 23:12:42 3ead6fa29328: Download complete 23:12:42 0714d37db230: Verifying Checksum 23:12:42 0714d37db230: Download complete 23:12:42 ac28cf19c067: Download complete 23:12:42 ca983d60f3e2: Download complete 23:12:42 9f894cec8388: Verifying Checksum 23:12:42 9f894cec8388: Download complete 23:12:42 1fe172e4850f: Verifying Checksum 23:12:42 1fe172e4850f: Download complete 23:12:42 1827001aaf11: Verifying Checksum 23:12:42 1827001aaf11: Download complete 23:12:43 1fe172e4850f: Pull complete 23:12:44 caf521ccaac6: Pull complete 23:12:44 3ead6fa29328: Pull complete 23:12:44 5c2a1cbceb83: Pull complete 23:12:44 a8d5f1318db7: Pull complete 23:12:45 c427282e49a2: Pull complete 23:12:47 1827001aaf11: Pull complete 23:12:47 0714d37db230: Pull complete 23:12:47 ac28cf19c067: Pull complete 23:12:47 ca983d60f3e2: Pull complete 23:12:47 9f894cec8388: Pull complete 23:12:47 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:12:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:47 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:12:47 $ 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 23:12:49 $ docker top c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e -eo pid,comm 23:12:49 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). 23:12:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:49 [ssh-agent] Looking for ssh-agent implementation... 23:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:49 $ docker exec c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e ssh-agent 23:12:49 SSH_AUTH_SOCK=/tmp/ssh-MoHNwijg0cPy/agent.32 23:12:49 SSH_AGENT_PID=39 23:12:49 Running ssh-add (command line suppressed) 23:12:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8385518814056454908.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8385518814056454908.key) 23:12:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:50 + git tag --points-at HEAD [Pipeline] } 23:12:50 $ docker exec --env ******** --env ******** c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e ssh-agent -k 23:12:50 unset SSH_AUTH_SOCK; 23:12:50 unset SSH_AGENT_PID; 23:12:50 echo Agent pid 39 killed; 23:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:12:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:50 [ssh-agent] Looking for ssh-agent implementation... 23:12:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:50 $ docker exec c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e ssh-agent 23:12:50 SSH_AUTH_SOCK=/tmp/ssh-gAtPqgQAsuhS/agent.73 23:12:50 SSH_AGENT_PID=80 23:12:50 Running ssh-add (command line suppressed) 23:12:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8311523852766569038.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8311523852766569038.key) 23:12:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:50 + git semver init 23:12:51 2022-06-01 23:12:51,184 [run_init] DEBUG init version:0.0.0 force:False 23:12:51 2022-06-01 23:12:51,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:12:51 2022-06-01 23:12:51,187 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:12:51 2022-06-01 23:12:51,188 [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) 23:12:52 2022-06-01 23:12:51,993 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 23:12:52 2022-06-01 23:12:51,994 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 23:12:52 2022-06-01 23:12:51,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:12:52 2022-06-01 23:12:51,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:12:52 2.2.1-dev.3 [Pipeline] } 23:12:52 $ docker exec --env ******** --env ******** c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e ssh-agent -k 23:12:52 unset SSH_AUTH_SOCK; 23:12:52 unset SSH_AGENT_PID; 23:12:52 echo Agent pid 80 killed; 23:12:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:12:52 + git semver [Pipeline] } 23:12:52 $ docker stop --time=1 c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e 23:12:54 $ docker rm -f c35ca868b6e21aa21d730709fb2e5c7cf554e0772ec56c7e2aef59283af5a09e [Pipeline] // withDockerContainer [Pipeline] sh 23:12:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:12:54 Stashed 1 file(s) [Pipeline] echo 23:12:54 [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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 23:12:54 provisioning config files... 23:12:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9192044253072579901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:55 ---> docker-login.sh 23:12:55 nexus3.edgexfoundry.org:10001 23:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:55 Configure a credential helper to remove this warning. See 23:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:55 23:12:55 Login Succeeded 23:12:55 nexus3.edgexfoundry.org:10002 23:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:55 Configure a credential helper to remove this warning. See 23:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:55 23:12:55 Login Succeeded 23:12:55 nexus3.edgexfoundry.org:10003 23:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:55 Configure a credential helper to remove this warning. See 23:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:55 23:12:55 Login Succeeded 23:12:55 nexus3.edgexfoundry.org:10004 23:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:55 Configure a credential helper to remove this warning. See 23:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:55 23:12:55 Login Succeeded 23:12:55 docker.io 23:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:56 Configure a credential helper to remove this warning. See 23:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:56 23:12:56 Login Succeeded 23:12:56 ---> docker-login.sh ends [Pipeline] } 23:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:56 ========================================================= 23:12:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:12:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:56 + 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 . 23:12:56 Sending build context to Docker daemon 9.672MB 23:12:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:12:56 Step 2/11 : FROM ${BASE} AS builder 23:12:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:12:56 59bf1c3509f3: Pulling fs layer 23:12:56 666ba61612fd: Pulling fs layer 23:12:56 8ed8ca486205: Pulling fs layer 23:12:56 4fe6c5a15a65: Pulling fs layer 23:12:56 22a0e8bec74d: Pulling fs layer 23:12:56 ca2b28591e48: Pulling fs layer 23:12:56 a51346096db8: Pulling fs layer 23:12:56 daebc70d1ce1: Pulling fs layer 23:12:56 0e18a0eac166: Pulling fs layer 23:12:56 ca2b28591e48: Waiting 23:12:56 4fe6c5a15a65: Waiting 23:12:56 a51346096db8: Waiting 23:12:56 22a0e8bec74d: Waiting 23:12:56 daebc70d1ce1: Waiting 23:12:56 0e18a0eac166: Waiting 23:12:56 8ed8ca486205: Verifying Checksum 23:12:56 8ed8ca486205: Download complete 23:12:56 666ba61612fd: Download complete 23:12:56 22a0e8bec74d: Verifying Checksum 23:12:56 22a0e8bec74d: Download complete 23:12:56 ca2b28591e48: Verifying Checksum 23:12:56 ca2b28591e48: Download complete 23:12:56 a51346096db8: Verifying Checksum 23:12:56 a51346096db8: Download complete 23:12:56 59bf1c3509f3: Verifying Checksum 23:12:56 59bf1c3509f3: Download complete 23:12:56 daebc70d1ce1: Verifying Checksum 23:12:56 daebc70d1ce1: Download complete 23:12:56 59bf1c3509f3: Pull complete 23:12:57 666ba61612fd: Pull complete 23:12:57 8ed8ca486205: Pull complete 23:12:57 0e18a0eac166: Verifying Checksum 23:12:57 0e18a0eac166: Download complete 23:12:57 4fe6c5a15a65: Verifying Checksum 23:12:57 4fe6c5a15a65: Download complete 23:13:00 4fe6c5a15a65: Pull complete 23:13:01 22a0e8bec74d: Pull complete 23:13:01 ca2b28591e48: Pull complete 23:13:01 a51346096db8: Pull complete 23:13:01 daebc70d1ce1: Pull complete 23:13:03 0e18a0eac166: Pull complete 23:13:03 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:13:03 ---> f018257e8ee9 23:13:03 Step 3/11 : ARG MAKE=make build 23:13:05 ---> Running in cf9cb72da8d6 23:13:05 Removing intermediate container cf9cb72da8d6 23:13:05 ---> 8cf2628f8e21 23:13:05 Step 4/11 : WORKDIR /device-sdk-go 23:13:05 ---> Running in 88936524bccc 23:13:05 Removing intermediate container 88936524bccc 23:13:05 ---> 19c8a2c38867 23:13:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:13:05 ---> Running in 6c9be1d69ea2 23:13:05 Removing intermediate container 6c9be1d69ea2 23:13:05 ---> de1c370ba33e 23:13:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:05 ---> Running in 5ebd7ea1fe6c 23:13:06 Removing intermediate container 5ebd7ea1fe6c 23:13:06 ---> 27f8083576c7 23:13:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:13:06 ---> Running in cc6f578fb8b5 23:13:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:13:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:13:08 OK: 221 MiB in 52 packages 23:13:08 Removing intermediate container cc6f578fb8b5 23:13:08 ---> b4c3448562cb 23:13:08 Step 8/11 : COPY go.mod vendor* ./ 23:13:08 ---> 78db9043d5b7 23:13:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:08 ---> Running in b93c8c489ecf 23:13:09 Still waiting to schedule task 23:13:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-607’ is offline 23:13:26 Removing intermediate container b93c8c489ecf 23:13:26 ---> e83c4ff2bdae 23:13:26 Step 10/11 : COPY . . 23:13:26 ---> a6a34ed0bf73 23:13:26 Step 11/11 : RUN ${MAKE} 23:13:26 ---> Running in dfc95d9abdae 23:13:26 noop 23:13:26 Removing intermediate container dfc95d9abdae 23:13:26 ---> f8ab5e98fa5a 23:13:26 Successfully built f8ab5e98fa5a 23:13:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:27 + docker inspect -f . ci-base-image-x86_64 23:13:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:27 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:13:27 $ 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 23:13:27 $ docker top 692af12596d42cb8dd1fa36ff9bfae89fb5f20434ae5ac955930ee971cc93621 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:27 + go version 23:13:27 go version go1.17.6 linux/amd64 [Pipeline] } 23:13:27 $ docker stop --time=1 692af12596d42cb8dd1fa36ff9bfae89fb5f20434ae5ac955930ee971cc93621 23:13:29 $ docker rm -f 692af12596d42cb8dd1fa36ff9bfae89fb5f20434ae5ac955930ee971cc93621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:29 + docker inspect -f . ci-base-image-x86_64 23:13:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:29 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:13:29 $ 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 23:13:30 $ docker top 78665f6ef524785e7c5adaeffbed6106a871982cdc4bf6b817e74e0619b1d4ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:13:30 + make test 23:13:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:13:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.130s coverage: 23.3% of statements 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.102s coverage: 78.9% of statements 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.072s coverage: 10.8% of statements 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.093s coverage: 60.0% of statements 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:13:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 34.8% of statements 23:13:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 85.4% of statements 23:13:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:13:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 65.1% of statements 23:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.779s coverage: 89.2% of statements 23:13:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 23:13:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:14:03 GO111MODULE=on go vet ./... 23:14:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:06 $ docker stop --time=1 78665f6ef524785e7c5adaeffbed6106a871982cdc4bf6b817e74e0619b1d4ad 23:14:09 $ docker rm -f 78665f6ef524785e7c5adaeffbed6106a871982cdc4bf6b817e74e0619b1d4ad [Pipeline] // withDockerContainer [Pipeline] sh 23:14:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:10 + ls -al . 23:14:10 total 300 23:14:10 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 23:14 . 23:14:10 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:12 .. 23:14:10 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 23:12 .dockerignore 23:14:10 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:12 .git 23:14:10 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:12 .github 23:14:10 -rw-rw-r-- 1 jenkins jenkins 131 Jun 1 23:12 .gitignore 23:14:10 -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 23:12 .golangci.yml 23:14:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:12 .semver 23:14:10 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 1 23:12 CHANGELOG.md 23:14:10 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:12 GOVERNANCE.md 23:14:10 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 23:12 Jenkinsfile 23:14:10 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 23:12 LICENSE 23:14:10 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 1 23:12 Makefile 23:14:10 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 23:12 OWNERS.md 23:14:10 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 1 23:12 README.md 23:14:10 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:12 VERSION 23:14:10 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:12 bin 23:14:10 -rw-r--r-- 1 jenkins jenkins 131010 Jun 1 23:13 coverage.out 23:14:10 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 23:12 example 23:14:10 -rw-rw-r-- 1 jenkins jenkins 3159 Jun 1 23:12 go.mod 23:14:10 -rw-rw-r-- 1 jenkins jenkins 34898 Jun 1 23:12 go.sum 23:14:10 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 23:12 internal 23:14:10 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:12 openapi 23:14:10 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 23:12 pkg 23:14:10 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:12 snap 23:14:10 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 23:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:10 + 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=9409b3b23bd5b149471ef599a7e928019826e6b9 --label arch=amd64 --label version=2.2.1-dev.3 . 23:14:10 Sending build context to Docker daemon 9.804MB 23:14:10 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:14:10 Step 2/25 : FROM ${BASE} AS builder 23:14:10 ---> f8ab5e98fa5a 23:14:10 Step 3/25 : ARG MAKE=make build 23:14:11 ---> Running in 78a2f8068736 23:14:11 Removing intermediate container 78a2f8068736 23:14:11 ---> 7b2f5beb7189 23:14:11 Step 4/25 : WORKDIR /device-sdk-go 23:14:11 ---> Running in b39d87d6eafc 23:14:11 Removing intermediate container b39d87d6eafc 23:14:11 ---> 854c9b1e4599 23:14:11 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:11 ---> Running in 6acfb52f515a 23:14:11 Removing intermediate container 6acfb52f515a 23:14:11 ---> 12fdb2ac0ab9 23:14:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:11 ---> Running in 98237e665808 23:14:12 Removing intermediate container 98237e665808 23:14:12 ---> ebf46ea168b7 23:14:12 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:14:12 ---> Running in e2e56b7660b5 23:14:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:14:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:14:13 OK: 221 MiB in 52 packages 23:14:14 Removing intermediate container e2e56b7660b5 23:14:14 ---> ed1879a722a3 23:14:14 Step 8/25 : COPY go.mod vendor* ./ 23:14:14 ---> 46c0568b1f15 23:14:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:14 ---> Running in 3e899b94b6aa 23:14:14 Removing intermediate container 3e899b94b6aa 23:14:14 ---> 884e7bd456f3 23:14:14 Step 10/25 : COPY . . 23:14:15 ---> 0b5b4b96b754 23:14:15 Step 11/25 : RUN ${MAKE} 23:14:15 ---> Running in 7ff1004fd44b 23:14:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:14:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:14:37 Removing intermediate container 7ff1004fd44b 23:14:37 ---> 35cc3219a07e 23:14:37 Step 12/25 : FROM alpine:3.14 23:14:37 3.14: Pulling from library/alpine 23:14:37 8663204ce13b: Pulling fs layer 23:14:37 8663204ce13b: Verifying Checksum 23:14:37 8663204ce13b: Download complete 23:14:37 8663204ce13b: Pull complete 23:14:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:14:37 Status: Downloaded newer image for alpine:3.14 23:14:37 ---> e04c818066af 23:14:37 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:38 ---> Running in f1b27d91ca2c 23:14:38 Removing intermediate container f1b27d91ca2c 23:14:38 ---> b5e9048af7b8 23:14:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:38 ---> Running in 40f77248755b 23:14:39 Removing intermediate container 40f77248755b 23:14:39 ---> 6b0468fa2a00 23:14:39 Step 15/25 : RUN apk add --update --no-cache zeromq 23:14:40 ---> Running in 8fb59613e722 23:14:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:14:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:14:41 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:14:41 (2/5) Installing libsodium (1.0.18-r0) 23:14:41 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:14:41 (4/5) Installing libzmq (4.3.4-r0) 23:14:42 (5/5) Installing zeromq (4.3.4-r0) 23:14:42 Executing busybox-1.33.1-r7.trigger 23:14:42 OK: 8 MiB in 19 packages 23:14:42 Removing intermediate container 8fb59613e722 23:14:42 ---> d179cc85e02a 23:14:42 Step 16/25 : WORKDIR / 23:14:42 ---> Running in e99b8f321dd2 23:14:42 Removing intermediate container e99b8f321dd2 23:14:42 ---> 3d699b7b4999 23:14:42 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:14:42 ---> b03af84f9a8f 23:14:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:14:43 ---> a586ec5f9e87 23:14:43 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:14:43 ---> a2f5c4dd3b2c 23:14:43 Step 20/25 : EXPOSE 59999 23:14:43 ---> Running in bb889887771b 23:14:44 Removing intermediate container bb889887771b 23:14:44 ---> 854bd20e247d 23:14:44 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:14:44 ---> Running in 627b0180736c 23:14:44 Removing intermediate container 627b0180736c 23:14:44 ---> 734af047f63f 23:14:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:14:44 ---> Running in 75e03b764113 23:14:44 Removing intermediate container 75e03b764113 23:14:44 ---> 3913d50152e7 23:14:44 Step 23/25 : LABEL arch=amd64 23:14:44 ---> Running in ad40b1064016 23:14:44 Removing intermediate container ad40b1064016 23:14:44 ---> ad8eae8fef9f 23:14:44 Step 24/25 : LABEL git_sha=9409b3b23bd5b149471ef599a7e928019826e6b9 23:14:44 ---> Running in 16f890c63797 23:14:44 Removing intermediate container 16f890c63797 23:14:44 ---> 9b8b09f8947c 23:14:44 Step 25/25 : LABEL version=2.2.1-dev.3 23:14:44 ---> Running in cbb6b57d28e6 23:14:44 Removing intermediate container cbb6b57d28e6 23:14:44 ---> 9eba4bc05bbb 23:14:44 [Warning] One or more build-args [ARCH] were not consumed 23:14:44 Successfully built 9eba4bc05bbb 23:14:44 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 23:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:45 23:14:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:45 latest: Pulling from edgex-lftools-log-publisher 23:14:45 5eb5b503b376: Pulling fs layer 23:14:45 5c69ac0246d0: Pulling fs layer 23:14:45 ec43610c2a17: Pulling fs layer 23:14:45 3a2ae6a8a46f: Pulling fs layer 23:14:45 33b1e0a273af: Pulling fs layer 23:14:45 3a2ae6a8a46f: Waiting 23:14:45 5d3b04190fa2: Pulling fs layer 23:14:45 2f39f015ded8: Pulling fs layer 23:14:45 5d3b04190fa2: Waiting 23:14:45 2f39f015ded8: Waiting 23:14:45 5c69ac0246d0: Verifying Checksum 23:14:45 3a2ae6a8a46f: Download complete 23:14:45 33b1e0a273af: Verifying Checksum 23:14:45 33b1e0a273af: Download complete 23:14:45 5d3b04190fa2: Verifying Checksum 23:14:45 5d3b04190fa2: Download complete 23:14:45 ec43610c2a17: Verifying Checksum 23:14:45 ec43610c2a17: Download complete 23:14:45 5eb5b503b376: Download complete 23:14:46 2f39f015ded8: Download complete 23:14:46 5eb5b503b376: Pull complete 23:14:47 5c69ac0246d0: Pull complete 23:14:47 ec43610c2a17: Pull complete 23:14:47 3a2ae6a8a46f: Pull complete 23:14:48 33b1e0a273af: Pull complete 23:14:48 5d3b04190fa2: Pull complete 23:14:52 2f39f015ded8: Pull complete 23:14:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:52 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:14:52 $ 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 23:14:54 $ docker top 1795150c9a3e0baa3339d4db397870dae1e5ccd977d5d9ded2c2e89822342802 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:55 ---> job-cost.sh 23:14:55 lf-activate-venv: SKIPPING 23:14:55 INFO: No Stack... 23:14:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:14:55 INFO: Archiving Costs [Pipeline] sh 23:14:56 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 23:14:56 + cut -d, -f6 [Pipeline] lock 23:14:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] 23:14:56 Resource [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] did not exist. Created. 23:14:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:14:56 + echo total: 0.2199999988079071 [Pipeline] stash 23:14:56 Stashed 1 file(s) [Pipeline] } 23:14:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 23:14:56 $ docker stop --time=1 1795150c9a3e0baa3339d4db397870dae1e5ccd977d5d9ded2c2e89822342802 23:14:57 $ docker rm -f 1795150c9a3e0baa3339d4db397870dae1e5ccd977d5d9ded2c2e89822342802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:15:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-608 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 23:15:44 Running in /w/workspace/device-sdk-go/78 [Pipeline] { [Pipeline] checkout 23:15:44 The recommended git tool is: git 23:15:51 using credential edgex-jenkins-ssh 23:15:51 Cloning the remote Git repository 23:15:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:15:51 > git init /w/workspace/device-sdk-go/78 # timeout=10 23:15:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:15:51 > git --version # timeout=10 23:15:51 > git --version # 'git version 2.25.1' 23:15:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:53 Avoid second fetch 23:15:53 Checking out Revision 9409b3b23bd5b149471ef599a7e928019826e6b9 (main) 23:15:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:15:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:53 > git config core.sparsecheckout # timeout=10 23:15:53 > git checkout -f 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 23:15:58 Commit message: "Merge pull request #1144 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:15:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:15:58 % Total % Received % Xferd Average Speed Time Time Time Current 23:15:58 Dload Upload Total Spent Left Speed 23:15:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 23:15:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:16:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:16:00 + sudo tee /etc/docker/daemon.new 23:16:00 { 23:16:00 "registry-mirrors": [ 23:16:00 "https://nexus3.edgexfoundry.org:10001" 23:16:00 ], 23:16:00 "bip": "10.250.0.254/24", 23:16:00 "hosts": [ 23:16:00 "tcp://0.0.0.0:5555", 23:16:00 "unix:///var/run/docker.sock" 23:16:00 ], 23:16:00 "mtu": 1458, 23:16:00 "selinux-enabled": true, 23:16:00 "seccomp-profile": "/etc/docker/seccomp.json" 23:16:00 } [Pipeline] sh 23:16:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:16:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:19 provisioning config files... 23:16:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/78@tmp/config143544175014808669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:19 ---> docker-login.sh 23:16:19 nexus3.edgexfoundry.org:10001 23:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:20 Configure a credential helper to remove this warning. See 23:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:20 23:16:20 Login Succeeded 23:16:20 nexus3.edgexfoundry.org:10002 23:16:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:20 Configure a credential helper to remove this warning. See 23:16:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:20 23:16:20 Login Succeeded 23:16:20 nexus3.edgexfoundry.org:10003 23:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:21 Configure a credential helper to remove this warning. See 23:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:21 23:16:21 Login Succeeded 23:16:21 nexus3.edgexfoundry.org:10004 23:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:22 Configure a credential helper to remove this warning. See 23:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:22 23:16:22 Login Succeeded 23:16:22 docker.io 23:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:22 Configure a credential helper to remove this warning. See 23:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:22 23:16:22 Login Succeeded 23:16:22 ---> docker-login.sh ends [Pipeline] } 23:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:23 ========================================================= 23:16:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:16:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16: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 . 23:16:24 Sending build context to Docker daemon 5.176MB 23:16:24 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:16:24 Step 2/11 : FROM ${BASE} AS builder 23:16:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:16:24 9b3977197b4f: Pulling fs layer 23:16:24 1a89e8eeedd5: Pulling fs layer 23:16:24 94645a83ff95: Pulling fs layer 23:16:24 3f3a8bcf1eab: Pulling fs layer 23:16:24 0c92f367c5e7: Pulling fs layer 23:16:24 3096ccb668a1: Pulling fs layer 23:16:24 e8cf19c19ddd: Pulling fs layer 23:16:24 a4caa8a26152: Pulling fs layer 23:16:24 3f3a8bcf1eab: Waiting 23:16:24 0c92f367c5e7: Waiting 23:16:24 3096ccb668a1: Waiting 23:16:24 e8cf19c19ddd: Waiting 23:16:24 a4caa8a26152: Waiting 23:16:24 94645a83ff95: Verifying Checksum 23:16:24 94645a83ff95: Download complete 23:16:24 1a89e8eeedd5: Verifying Checksum 23:16:24 1a89e8eeedd5: Download complete 23:16:24 0c92f367c5e7: Verifying Checksum 23:16:24 0c92f367c5e7: Download complete 23:16:24 9b3977197b4f: Verifying Checksum 23:16:24 9b3977197b4f: Download complete 23:16:24 3096ccb668a1: Verifying Checksum 23:16:24 3096ccb668a1: Download complete 23:16:24 e8cf19c19ddd: Verifying Checksum 23:16:24 e8cf19c19ddd: Download complete 23:16:25 9b3977197b4f: Pull complete 23:16:26 1a89e8eeedd5: Pull complete 23:16:26 94645a83ff95: Pull complete 23:16:26 a4caa8a26152: Verifying Checksum 23:16:26 a4caa8a26152: Download complete 23:16:27 3f3a8bcf1eab: Download complete 23:16:39 3f3a8bcf1eab: Pull complete 23:16:39 0c92f367c5e7: Pull complete 23:16:39 3096ccb668a1: Pull complete 23:16:40 e8cf19c19ddd: Pull complete 23:16:46 a4caa8a26152: Pull complete 23:16:46 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 23:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:16:46 ---> 725f1c02e7f9 23:16:46 Step 3/11 : ARG MAKE=make build 23:16:47 ---> Running in 67a2991f50ba 23:16:47 Removing intermediate container 67a2991f50ba 23:16:47 ---> 16fdc0f97774 23:16:47 Step 4/11 : WORKDIR /device-sdk-go 23:16:47 ---> Running in bcaff8db5b73 23:16:48 Removing intermediate container bcaff8db5b73 23:16:48 ---> cbfbed57b5cc 23:16:48 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:16:48 ---> Running in 65073ea5bfdb 23:16:48 Removing intermediate container 65073ea5bfdb 23:16:48 ---> 4455ffcaaab2 23:16:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:16:48 ---> Running in fb2d47b731ec 23:16:50 Removing intermediate container fb2d47b731ec 23:16:50 ---> da98d3429547 23:16:50 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:16:50 ---> Running in ec6048ef396d 23:16:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:16:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:16:53 OK: 220 MiB in 52 packages 23:16:55 Removing intermediate container ec6048ef396d 23:16:55 ---> 72cd205c403a 23:16:55 Step 8/11 : COPY go.mod vendor* ./ 23:16:55 ---> 5ffd78249377 23:16:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:55 ---> Running in ff2e74494827 23:17:42 Removing intermediate container ff2e74494827 23:17:42 ---> e04e2233de79 23:17:42 Step 10/11 : COPY . . 23:17:42 ---> 7593832730dd 23:17:42 Step 11/11 : RUN ${MAKE} 23:17:42 ---> Running in 3c781a12e6c3 23:17:43 noop 23:17:43 Removing intermediate container 3c781a12e6c3 23:17:43 ---> 93b2b541de1c 23:17:43 Successfully built 93b2b541de1c 23:17:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:44 + docker inspect -f . ci-base-image-arm64 23:17:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:44 prd-ubuntu20.04-docker-arm64-4c-16g-608 does not seem to be running inside a container 23:17:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/78 -v /w/workspace/device-sdk-go/78:/w/workspace/device-sdk-go/78:rw,z -v /w/workspace/device-sdk-go/78@tmp:/w/workspace/device-sdk-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:45 $ docker top d91eaab50ca9cff712b044f258a210e7bf43c5c801c55290cb9d5cea769b1d47 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:46 + go version 23:17:46 go version go1.17.6 linux/arm64 [Pipeline] } 23:17:46 $ docker stop --time=1 d91eaab50ca9cff712b044f258a210e7bf43c5c801c55290cb9d5cea769b1d47 23:17:48 $ docker rm -f d91eaab50ca9cff712b044f258a210e7bf43c5c801c55290cb9d5cea769b1d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:48 + docker inspect -f . ci-base-image-arm64 23:17:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:49 prd-ubuntu20.04-docker-arm64-4c-16g-608 does not seem to be running inside a container 23:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/78 -v /w/workspace/device-sdk-go/78:/w/workspace/device-sdk-go/78:rw,z -v /w/workspace/device-sdk-go/78@tmp:/w/workspace/device-sdk-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:50 $ docker top bfb76243d25368d534d62b9375b9983b9795c950cfc5ddf24c37f944a18bf251 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:17:51 + make test 23:17:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:18:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:20:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:20:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:20:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:20:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.357s coverage: 23.3% of statements 23:20:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:20:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements 23:20:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.327s coverage: 78.9% of statements 23:20:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.297s coverage: 10.8% of statements 23:20:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.389s coverage: 60.0% of statements 23:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:20:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.365s coverage: 34.8% of statements 23:20:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:20:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.261s coverage: 85.4% of statements 23:20:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:20:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.468s coverage: 65.1% of statements 23:20:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.149s coverage: 89.2% of statements 23:20:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.7% of statements 23:20:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:20:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:20:23 GO111MODULE=on go vet ./... 23:21:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:21:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:21:45 ./bin/test-attribution-txt.sh [Pipeline] echo 23:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:21:45 $ docker stop --time=1 bfb76243d25368d534d62b9375b9983b9795c950cfc5ddf24c37f944a18bf251 23:21:47 $ docker rm -f bfb76243d25368d534d62b9375b9983b9795c950cfc5ddf24c37f944a18bf251 [Pipeline] // withDockerContainer [Pipeline] sh 23:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:21:48 Warning: overwriting stash ‘coverage-report’ 23:21:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:21:49 + ls -al . 23:21:49 total 296 23:21:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 23:21 . 23:21:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:15 .. 23:21:49 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 23:15 .dockerignore 23:21:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:15 .git 23:21:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:15 .github 23:21:49 -rw-rw-r-- 1 jenkins jenkins 131 Jun 1 23:15 .gitignore 23:21:49 -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 23:15 .golangci.yml 23:21:49 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 1 23:15 CHANGELOG.md 23:21:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:15 GOVERNANCE.md 23:21:49 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 23:15 Jenkinsfile 23:21:49 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 23:15 LICENSE 23:21:49 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 1 23:15 Makefile 23:21:49 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 23:15 OWNERS.md 23:21:49 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 1 23:15 README.md 23:21:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:12 VERSION 23:21:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:15 bin 23:21:49 -rw-r--r-- 1 jenkins jenkins 131011 Jun 1 23:20 coverage.out 23:21:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 23:15 example 23:21:49 -rw-rw-r-- 1 jenkins jenkins 3159 Jun 1 23:15 go.mod 23:21:49 -rw-rw-r-- 1 jenkins jenkins 34898 Jun 1 23:15 go.sum 23:21:49 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 23:15 internal 23:21:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:15 openapi 23:21:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 23:15 pkg 23:21:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:15 snap 23:21:49 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 23:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:50 + 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=9409b3b23bd5b149471ef599a7e928019826e6b9 --label arch=arm64 --label version=2.2.1-dev.3 . 23:21:50 Sending build context to Docker daemon 5.307MB 23:21:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:21:50 Step 2/25 : FROM ${BASE} AS builder 23:21:50 ---> 93b2b541de1c 23:21:50 Step 3/25 : ARG MAKE=make build 23:21:50 ---> Running in e1c506de3c09 23:21:50 Removing intermediate container e1c506de3c09 23:21:50 ---> 4fcc5fa970a8 23:21:50 Step 4/25 : WORKDIR /device-sdk-go 23:21:50 ---> Running in 7fa2a3a9172c 23:21:51 Removing intermediate container 7fa2a3a9172c 23:21:51 ---> 43c8a6c3c6cf 23:21:51 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:21:51 ---> Running in 057095d8a3eb 23:21:51 Removing intermediate container 057095d8a3eb 23:21:51 ---> 9f2d1b7cea5f 23:21:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:21:51 ---> Running in 8959b9e44fd9 23:21:53 Removing intermediate container 8959b9e44fd9 23:21:53 ---> c647c0b6868e 23:21:53 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:21:53 ---> Running in 02e76da50ec9 23:21:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:21:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:21:56 OK: 220 MiB in 52 packages 23:21:56 Removing intermediate container 02e76da50ec9 23:21:56 ---> 994eb5e54cb9 23:21:56 Step 8/25 : COPY go.mod vendor* ./ 23:21:57 ---> a100110b06a5 23:21:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:57 ---> Running in 411388fbaab7 23:21:59 Removing intermediate container 411388fbaab7 23:21:59 ---> 5b1736b6744d 23:21:59 Step 10/25 : COPY . . 23:22:00 ---> 8fe3a7f4e450 23:22:00 Step 11/25 : RUN ${MAKE} 23:22:00 ---> Running in e67765ce8765 23:22:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:23:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:23:55 Removing intermediate container e67765ce8765 23:23:55 ---> 788e0f91f4b0 23:23:55 Step 12/25 : FROM alpine:3.14 23:23:55 3.14: Pulling from library/alpine 23:23:55 455c02918c45: Pulling fs layer 23:23:56 455c02918c45: Verifying Checksum 23:23:56 455c02918c45: Download complete 23:23:56 455c02918c45: Pull complete 23:23:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:23:56 Status: Downloaded newer image for alpine:3.14 23:23:56 ---> ac73e934f311 23:23:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:23:56 ---> Running in 9655c8794eda 23:23:57 Removing intermediate container 9655c8794eda 23:23:57 ---> b704606c8fbd 23:23:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:23:57 ---> Running in b1746915c4a3 23:23:58 Removing intermediate container b1746915c4a3 23:23:58 ---> 9f316e6a26eb 23:23:58 Step 15/25 : RUN apk add --update --no-cache zeromq 23:23:58 ---> Running in 97a678484017 23:23:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:24:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:24:01 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:24:01 (2/5) Installing libsodium (1.0.18-r0) 23:24:01 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:24:01 (4/5) Installing libzmq (4.3.4-r0) 23:24:01 (5/5) Installing zeromq (4.3.4-r0) 23:24:01 Executing busybox-1.33.1-r7.trigger 23:24:01 OK: 8 MiB in 19 packages 23:24:02 Removing intermediate container 97a678484017 23:24:02 ---> adf50e2a9bc3 23:24:02 Step 16/25 : WORKDIR / 23:24:02 ---> Running in 5cde37b290db 23:24:03 Removing intermediate container 5cde37b290db 23:24:03 ---> a6b6dbd4e2bd 23:24:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:24:03 ---> 7e1eac19c79c 23:24:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:24:05 ---> ed3f87993198 23:24:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:24:05 ---> 3fe095229cf7 23:24:05 Step 20/25 : EXPOSE 59999 23:24:05 ---> Running in b3060989c100 23:24:05 Removing intermediate container b3060989c100 23:24:05 ---> 547e05ec0f0b 23:24:05 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:24:05 ---> Running in d7f297a3d95c 23:24:06 Removing intermediate container d7f297a3d95c 23:24:06 ---> a085cc9be778 23:24:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:24:06 ---> Running in 2e5368c37326 23:24:06 Removing intermediate container 2e5368c37326 23:24:06 ---> ac742c1e65bb 23:24:06 Step 23/25 : LABEL arch=arm64 23:24:06 ---> Running in d189c7e85a83 23:24:07 Removing intermediate container d189c7e85a83 23:24:07 ---> 961b08fcf23f 23:24:07 Step 24/25 : LABEL git_sha=9409b3b23bd5b149471ef599a7e928019826e6b9 23:24:07 ---> Running in 5b647b5946aa 23:24:07 Removing intermediate container 5b647b5946aa 23:24:07 ---> 6e5ee5f12d94 23:24:07 Step 25/25 : LABEL version=2.2.1-dev.3 23:24:07 ---> Running in 1ea493c03b9f 23:24:07 Removing intermediate container 1ea493c03b9f 23:24:07 ---> 1b24d8a8e525 23:24:07 [Warning] One or more build-args [ARCH] were not consumed 23:24:07 Successfully built 1b24d8a8e525 23:24:07 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 23:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:24:08 23:24:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:24:08 arm64: Pulling from edgex-lftools-log-publisher 23:24:08 8998bd30e6a1: Pulling fs layer 23:24:08 04944245beec: Pulling fs layer 23:24:08 699f458cf7ca: Pulling fs layer 23:24:08 765212b225bb: Pulling fs layer 23:24:08 f23df028b6ca: Pulling fs layer 23:24:08 d65c8cfc05b1: Pulling fs layer 23:24:08 2437ff75d9bd: Pulling fs layer 23:24:08 765212b225bb: Waiting 23:24:08 f23df028b6ca: Waiting 23:24:08 d65c8cfc05b1: Waiting 23:24:08 2437ff75d9bd: Waiting 23:24:08 04944245beec: Verifying Checksum 23:24:08 04944245beec: Download complete 23:24:08 765212b225bb: Verifying Checksum 23:24:08 765212b225bb: Download complete 23:24:08 f23df028b6ca: Verifying Checksum 23:24:08 f23df028b6ca: Download complete 23:24:08 d65c8cfc05b1: Verifying Checksum 23:24:08 d65c8cfc05b1: Download complete 23:24:08 699f458cf7ca: Verifying Checksum 23:24:08 699f458cf7ca: Download complete 23:24:09 8998bd30e6a1: Verifying Checksum 23:24:09 8998bd30e6a1: Download complete 23:24:11 2437ff75d9bd: Verifying Checksum 23:24:11 2437ff75d9bd: Download complete 23:24:13 8998bd30e6a1: Pull complete 23:24:14 04944245beec: Pull complete 23:24:15 699f458cf7ca: Pull complete 23:24:15 765212b225bb: Pull complete 23:24:16 f23df028b6ca: Pull complete 23:24:16 d65c8cfc05b1: Pull complete 23:24:31 2437ff75d9bd: Pull complete 23:24:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:24:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:32 prd-ubuntu20.04-docker-arm64-4c-16g-608 does not seem to be running inside a container 23:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/78 -v /w/workspace/device-sdk-go/78:/w/workspace/device-sdk-go/78:rw,z -v /w/workspace/device-sdk-go/78@tmp:/w/workspace/device-sdk-go/78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:24:34 $ docker top 6543a1979f56f013145cc8f5fca0b6afa9b725a01f5466ed760c5d6412c79bb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:35 ---> job-cost.sh 23:24:35 lf-activate-venv: SKIPPING 23:24:35 INFO: No Stack... 23:24:36 INFO: Retrieving Pricing Info for: v3-standard-4 23:24:36 INFO: Archiving Costs [Pipeline] sh 23:24:37 + + cat /w/workspace/device-sdk-go/78/archives/cost.csv 23:24:37 cut -d, -f6 [Pipeline] lock 23:24:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] 23:24:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] did not exist. Created. 23:24:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:24:38 /w/workspace/device-sdk-go/78@tmp/durable-d4b0f94b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:24:39 + echo total: 0.10999999940395355 [Pipeline] stash 23:24:39 Warning: overwriting stash ‘stack-cost’ 23:24:39 Stashed 1 file(s) [Pipeline] } 23:24:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 23:24:39 $ docker stop --time=1 6543a1979f56f013145cc8f5fca0b6afa9b725a01f5466ed760c5d6412c79bb4 23:24:40 $ docker rm -f 6543a1979f56f013145cc8f5fca0b6afa9b725a01f5466ed760c5d6412c79bb4 [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 23:24:41 provisioning config files... 23:24:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2725993163051886319tmp [Pipeline] { [Pipeline] sh 23:24:41 + set +x 23:24:41 + curl -s https://codecov.io/bash 23:24:41 + bash -s -- 23:24:41 23:24:41 _____ _ 23:24:41 / ____| | | 23:24:41 | | ___ __| | ___ ___ _____ __ 23:24:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:24:41 | |___| (_) | (_| | __/ (_| (_) \ V / 23:24:41 \_____\___/ \__,_|\___|\___\___/ \_/ 23:24:41 Bash-1.0.6 23:24:41 23:24:41 23:24:41 ==> git version 2.25.1 found 23:24:41 ==> 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 23:24:41 Release-Date: 2020-01-08 23:24:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:24:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:24:41 ==> Jenkins CI detected. 23:24:41 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 23:24:41 project root: . 23:24:41 --> token set from env 23:24:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:24:41 ==> Running gcov in . (disable via -X gcov) 23:24:41 ==> Python coveragepy not found 23:24:41 ==> Searching for coverage reports in: 23:24:41 + . 23:24:41 -> Found 1 reports 23:24:41 ==> Detecting git/mercurial file structure 23:24:41 ==> Reading reports 23:24:41 + ./coverage.out bytes=131011 23:24:41 ==> Appending adjustments 23:24:41 https://docs.codecov.io/docs/fixing-reports 23:24:41 + Found adjustments 23:24:41 ==> Gzipping contents 23:24:41 20K /tmp/codecov.biqGqP.gz 23:24:41 ==> Uploading reports 23:24:41 url: https://codecov.io 23:24:41 query: branch=main&commit=9409b3b23bd5b149471ef599a7e928019826e6b9&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:24:41 -> Pinging Codecov 23:24:41 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=9409b3b23bd5b149471ef599a7e928019826e6b9&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:24:42 -> Uploading to 23:24:42 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/7E55EF52A471D76F132DFD9A03CDDE97/9409b3b23bd5b149471ef599a7e928019826e6b9/11f7fe74-7d71-44c9-91ad-109cc3d674a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T232442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bd7b6e32c68b2af156f66f9a10d54cd05c9b07117f771b5558e6617fc4da9c4 23:24:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:24:42 Dload Upload Total Spent Left Speed 23:24:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16860 0 0 100 16860 0 71440 --:--:-- --:--:-- --:--:-- 71440 23:24:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] } 23:24:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:24:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:24:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:24:43 23:24:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:24:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:24:43 df9b9388f04a: Pulling fs layer 23:24:43 52dc419b0ee2: Pulling fs layer 23:24:43 25bc292e5bac: Pulling fs layer 23:24:43 114826534d7a: Pulling fs layer 23:24:43 4657fd5d0bcf: Pulling fs layer 23:24:43 6ad1cebc031e: Pulling fs layer 23:24:43 8a3aa393b2d8: Pulling fs layer 23:24:43 4657fd5d0bcf: Waiting 23:24:43 6ad1cebc031e: Waiting 23:24:43 114826534d7a: Waiting 23:24:43 25bc292e5bac: Verifying Checksum 23:24:43 25bc292e5bac: Download complete 23:24:43 52dc419b0ee2: Verifying Checksum 23:24:43 52dc419b0ee2: Download complete 23:24:43 4657fd5d0bcf: Verifying Checksum 23:24:43 4657fd5d0bcf: Download complete 23:24:43 df9b9388f04a: Download complete 23:24:43 df9b9388f04a: Pull complete 23:24:43 6ad1cebc031e: Verifying Checksum 23:24:43 6ad1cebc031e: Download complete 23:24:43 52dc419b0ee2: Pull complete 23:24:44 25bc292e5bac: Pull complete 23:24:44 114826534d7a: Verifying Checksum 23:24:44 114826534d7a: Download complete 23:24:44 8a3aa393b2d8: Download complete 23:24:47 114826534d7a: Pull complete 23:24:47 4657fd5d0bcf: Pull complete 23:24:48 6ad1cebc031e: Pull complete 23:24:51 8a3aa393b2d8: Pull complete 23:24:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:24:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:51 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:24:51 $ 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 23:24:54 $ docker top 7297a6472fdd70e6784724d13e486b3c2f9297c6f8a31ec972059321949233a0 -eo pid,comm [Pipeline] { [Pipeline] echo 23:24:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:24:54 + set -o pipefail 23:24:54 + snyk monitor '--org=edgex-jenkins' 23:24:59 23:24:59 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 23:24:59 23:24:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/ba377af3-36a8-4335-a1bd-36a721f94976/history/9b9b5d07-877a-4579-a29c-aac453b8d42a 23:24:59 23:24:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:24:59 23:24:59 [Pipeline] } 23:24:59 $ docker stop --time=1 7297a6472fdd70e6784724d13e486b3c2f9297c6f8a31ec972059321949233a0 23:25:02 $ docker rm -f 7297a6472fdd70e6784724d13e486b3c2f9297c6f8a31ec972059321949233a0 [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 23:25:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:02 provisioning config files... 23:25:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5695802063377153594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:02 --> edgex-publish-swagger.sh 23:25:02 === Publish openapi/v2 API === 23:25:02 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 23:25:02 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 23:25:02 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:02 Dload Upload Total Spent Left Speed 23:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 83383 --:--:-- --:--:-- --:--:-- 83253 100 53282 0 0 100 53282 0 83253 --:--:-- --:--:-- --:--:-- 83253 23:25:03 23:25:03 [Pipeline] } 23:25:03 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 23:25:03 + git log --format=format:%s -1 9409b3b23bd5b149471ef599a7e928019826e6b9 [Pipeline] sh 23:25:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:25:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:04 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:25:05 $ docker top 81c32418ca99e16ed3dc1d086d450bc069af2657b6de53673392e852d583cfa1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:05 [ssh-agent] Looking for ssh-agent implementation... 23:25:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:05 $ docker exec 81c32418ca99e16ed3dc1d086d450bc069af2657b6de53673392e852d583cfa1 ssh-agent 23:25:05 SSH_AUTH_SOCK=/tmp/ssh-8q8G7OJZYR9R/agent.33 23:25:05 SSH_AGENT_PID=39 23:25:05 Running ssh-add (command line suppressed) 23:25:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8638481569314763859.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8638481569314763859.key) 23:25:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:05 + git semver tag 23:25:06 2022-06-01 23:25:06,020 [run_tag] DEBUG tag force:False 23:25:06 2022-06-01 23:25:06,020 [check_head_tag] DEBUG check head tag 23:25:06 2022-06-01 23:25:06,021 [execute] INFO git cat-file --batch-check 23:25:06 2022-06-01 23:25:06,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 23:25:06 2022-06-01 23:25:06,025 [execute] INFO git cat-file --batch 23:25:06 2022-06-01 23:25:06,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 23:25:06 2022-06-01 23:25:06,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:06 2022-06-01 23:25:06,036 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 23:25:06 2022-06-01 23:25:06,036 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 23:25:06 2022-06-01 23:25:06,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:06 2.2.1-dev.3 [Pipeline] } 23:25:06 $ docker exec --env ******** --env ******** 81c32418ca99e16ed3dc1d086d450bc069af2657b6de53673392e852d583cfa1 ssh-agent -k 23:25:06 unset SSH_AUTH_SOCK; 23:25:06 unset SSH_AGENT_PID; 23:25:06 echo Agent pid 39 killed; 23:25:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:25:06 + git semver [Pipeline] } 23:25:06 $ docker stop --time=1 81c32418ca99e16ed3dc1d086d450bc069af2657b6de53673392e852d583cfa1 23:25:08 $ docker rm -f 81c32418ca99e16ed3dc1d086d450bc069af2657b6de53673392e852d583cfa1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:25:08 23:25:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:25:08 0.23.1-centos7: Pulling from edgex-lftools 23:25:08 ab5ef0e58194: Pulling fs layer 23:25:08 9712f1f96733: Pulling fs layer 23:25:08 63f879dbbcfc: Pulling fs layer 23:25:08 0d9ebad4ef96: Pulling fs layer 23:25:08 e9a5061849ea: Pulling fs layer 23:25:08 d747dcd14b5f: Pulling fs layer 23:25:08 2de7ff778b66: Pulling fs layer 23:25:08 0d9ebad4ef96: Waiting 23:25:08 e9a5061849ea: Waiting 23:25:08 d747dcd14b5f: Waiting 23:25:08 2de7ff778b66: Waiting 23:25:08 9712f1f96733: Verifying Checksum 23:25:08 9712f1f96733: Download complete 23:25:09 63f879dbbcfc: Verifying Checksum 23:25:09 63f879dbbcfc: Download complete 23:25:09 e9a5061849ea: Verifying Checksum 23:25:09 e9a5061849ea: Download complete 23:25:09 d747dcd14b5f: Verifying Checksum 23:25:09 d747dcd14b5f: Download complete 23:25:09 ab5ef0e58194: Download complete 23:25:09 0d9ebad4ef96: Verifying Checksum 23:25:09 0d9ebad4ef96: Download complete 23:25:09 2de7ff778b66: Verifying Checksum 23:25:09 2de7ff778b66: Download complete 23:25:12 ab5ef0e58194: Pull complete 23:25:12 9712f1f96733: Pull complete 23:25:12 63f879dbbcfc: Pull complete 23:25:17 0d9ebad4ef96: Pull complete 23:25:17 e9a5061849ea: Pull complete 23:25:17 d747dcd14b5f: Pull complete 23:25:17 2de7ff778b66: Pull complete 23:25:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:25:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:18 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:25:18 $ 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 23:25:20 $ docker top 1592c31df61af5323fed354c5b9e441bfeeb50d430789aec50c65649d17d2978 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:25:20 provisioning config files... 23:25:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config24865290186347425tmp 23:25:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7617720866375681210tmp 23:25:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8537432667020890756tmp [Pipeline] { [Pipeline] echo 23:25:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:25:21 ---> sigul-configuration.sh 23:25:21 gpg: directory `/root/.gnupg' created 23:25:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:25:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:25:21 gpg: keyring `/root/.gnupg/secring.gpg' created 23:25:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:25:21 gpg: CAST5 encrypted data 23:25:21 gpg: encrypted with 1 passphrase 23:25:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:25:21 + mkdir /home/jenkins 23:25:21 + mkdir /home/jenkins/sigul [Pipeline] sh 23:25:21 + 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 23:25:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:25:21 ---> sigul-install.sh 23:25:21 Sigul already installed; skipping installation. [Pipeline] sh 23:25:22 + git tag --list 23:25:22 0.7.1 23:25:22 delhi-tag 23:25:22 v1.0.0 23:25:22 v1.1.0 23:25:22 v1.1.1 23:25:22 v1.1.2 23:25:22 v1.2.0 23:25:22 v1.2.1 23:25:22 v1.2.2 23:25:22 v1.2.3 23:25:22 v1.3.0 23:25:22 v1.4.0 23:25:22 v2.0.0 23:25:22 v2.1.0 23:25:22 v2.1.1-dev.2 23:25:22 v2.1.1-dev.3 23:25:22 v2.2.0 23:25:22 v2.2.1-dev.1 23:25:22 v2.2.1-dev.2 23:25:22 v2.2.1-dev.3 [Pipeline] sh 23:25:22 + lftools sign git-tag v2.2.1-dev.3 23:25:23 Signing Git tag with Sigul... 23:25:23 Signing v2.2.1-dev.3 [Pipeline] echo 23:25:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:25:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:25:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:25:23 $ docker stop --time=1 1592c31df61af5323fed354c5b9e441bfeeb50d430789aec50c65649d17d2978 23:25:25 $ docker rm -f 1592c31df61af5323fed354c5b9e441bfeeb50d430789aec50c65649d17d2978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:25:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:25:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:25 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:25:25 $ 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 23:25:26 $ docker top db488f5cccf328f537823f9b56ff926cbf448fbd359a678d4d055be801aa5fca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:26 [ssh-agent] Looking for ssh-agent implementation... 23:25:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:26 $ docker exec db488f5cccf328f537823f9b56ff926cbf448fbd359a678d4d055be801aa5fca ssh-agent 23:25:26 SSH_AUTH_SOCK=/tmp/ssh-QcfVrDpJdNbT/agent.33 23:25:26 SSH_AGENT_PID=39 23:25:26 Running ssh-add (command line suppressed) 23:25:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4894117023367051009.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4894117023367051009.key) 23:25:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:27 + git semver bump pre 23:25:27 2022-06-01 23:25:27,292 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:27 2022-06-01 23:25:27,293 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev 23:25:27 2022-06-01 23:25:27,293 [bump_version] DEBUG bumped version:2.2.1-dev.4 23:25:27 2022-06-01 23:25:27,293 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 23:25:27 2022-06-01 23:25:27,293 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:27 2022-06-01 23:25:27,293 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:27 2022-06-01 23:25:27,295 [execute] INFO git cat-file --batch-check 23:25:27 2022-06-01 23:25:27,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:25:27 2022-06-01 23:25:27,302 [execute] INFO git cat-file --batch 23:25:27 2022-06-01 23:25:27,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:25:27 2022-06-01 23:25:27,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:27 2.2.1-dev.4 [Pipeline] } 23:25:27 $ docker exec --env ******** --env ******** db488f5cccf328f537823f9b56ff926cbf448fbd359a678d4d055be801aa5fca ssh-agent -k 23:25:27 unset SSH_AUTH_SOCK; 23:25:27 unset SSH_AGENT_PID; 23:25:27 echo Agent pid 39 killed; 23:25:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:25:27 + git semver [Pipeline] } 23:25:28 $ docker stop --time=1 db488f5cccf328f537823f9b56ff926cbf448fbd359a678d4d055be801aa5fca 23:25:29 $ docker rm -f db488f5cccf328f537823f9b56ff926cbf448fbd359a678d4d055be801aa5fca [Pipeline] // withDockerContainer [Pipeline] sh 23:25:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:25:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:25:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:30 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:25:30 $ docker top 8f06152f002f7a2824857e40e02560b9d2579c9acf384157166fca4037b3bd36 -eo pid,comm 23:25:30 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). 23:25:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:30 [ssh-agent] Looking for ssh-agent implementation... 23:25:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:30 $ docker exec 8f06152f002f7a2824857e40e02560b9d2579c9acf384157166fca4037b3bd36 ssh-agent 23:25:30 SSH_AUTH_SOCK=/tmp/ssh-4DG9rBI1pOiS/agent.33 23:25:30 SSH_AGENT_PID=40 23:25:30 Running ssh-add (command line suppressed) 23:25:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_952081588140943538.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_952081588140943538.key) 23:25:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:31 + git semver push 23:25:31 2022-06-01 23:25:31,491 [run_push] DEBUG push 23:25:31 2022-06-01 23:25:31,491 [execute] INFO git push origin semver 23:25:31 2022-06-01 23:25:31,491 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:25:32 2022-06-01 23:25:32,188 [run_push] DEBUG push all version tags 23:25:32 2022-06-01 23:25:32,189 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:25:32 2022-06-01 23:25:32,189 [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) 23:25:33 2022-06-01 23:25:32,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:25:33 2.2.1-dev.4 [Pipeline] } 23:25:33 $ docker exec --env ******** --env ******** 8f06152f002f7a2824857e40e02560b9d2579c9acf384157166fca4037b3bd36 ssh-agent -k 23:25:33 unset SSH_AUTH_SOCK; 23:25:33 unset SSH_AGENT_PID; 23:25:33 echo Agent pid 40 killed; 23:25:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:25:33 + git semver [Pipeline] } 23:25:33 $ docker stop --time=1 8f06152f002f7a2824857e40e02560b9d2579c9acf384157166fca4037b3bd36 23:25:35 $ docker rm -f 8f06152f002f7a2824857e40e02560b9d2579c9acf384157166fca4037b3bd36 [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 23:25:35 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 23:25:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:25:35 total 16 23:25:35 drwxr-xr-x 3 root root 4096 Jun 1 23:14 . 23:25:35 drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 23:25 .. 23:25:35 drwxr-xr-x 2 root root 4096 Jun 1 23:14 cost 23:25:35 -rw-r--r-- 1 root root 83 Jun 1 23:14 cost.csv 23:25:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:25:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:25:35 total 16 23:25:35 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:14 . 23:25:35 drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 23:25 .. 23:25:35 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 23:14 cost 23:25:35 -rw-r--r-- 1 jenkins jenkins 83 Jun 1 23:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:25:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:25:36 ---> package-listing.sh 23:25:36 ++ facter osfamily 23:25:36 ++ tr '[:upper:]' '[:lower:]' 23:25:37 + OS_FAMILY=debian 23:25:37 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 23:25:37 + START_PACKAGES=/tmp/packages_start.txt 23:25:37 + END_PACKAGES=/tmp/packages_end.txt 23:25:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:25:37 + PACKAGES=/tmp/packages_start.txt 23:25:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 23:25:37 + PACKAGES=/tmp/packages_end.txt 23:25:37 + case "${OS_FAMILY}" in 23:25:37 + dpkg -l 23:25:37 + grep '^ii' 23:25:37 + '[' -f /tmp/packages_start.txt ']' 23:25:37 + '[' -f /tmp/packages_end.txt ']' 23:25:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:25:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 23:25:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 23:25:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 23:25:37 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 23:25:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:38 prd-ubuntu20.04-docker-8c-8g-606 does not seem to be running inside a container 23:25:38 $ 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 23:25:38 $ docker top 279809fc791068ede74c9580091f0e39a18c30abcba2d21371bb63e7dd13357b -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:38 + touch /tmp/pre-build-complete [Pipeline] sh 23:25:39 + mkdir -p /var/log/sysstat [Pipeline] sh 23:25:39 + ls /var/log/sa-host 23:25:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:39 provisioning config files... 23:25:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3174571001882060466tmp [Pipeline] { [Pipeline] echo 23:25:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:25:39 ---> create-netrc.sh [Pipeline] } 23:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:25:40 ---> python-tools-install.sh [Pipeline] echo 23:25:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:25:40 ---> sudo-logs.sh 23:25:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:25:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:25:40 ---> job-cost.sh 23:25:40 lf-activate-venv: SKIPPING 23:25:40 DEBUG: total: 0.2199999988079071 23:25:40 INFO: Retrieving Stack Cost... 23:25:41 INFO: Retrieving Pricing Info for: v3-standard-8 23:25:41 INFO: Archiving Costs [Pipeline] echo 23:25:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:25:42 ---> logs-deploy.sh 23:25:42 lf-activate-venv: SKIPPING 23:25:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/78 23:25:42 INFO: archiving workspace using pattern(s): 23:25:43 Archives upload complete. 23:25:43 INFO: archiving logs to Nexus