Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 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-ssh1478109611048055711.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10335035628973340931.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh998101660642375281.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16891058140357199828.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-ssh7955017961175933935.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-17265’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17426’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17487 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 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 (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 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 # timeout=10 Commit message: "Merge pull request #1190 from lenny-intel/Go1.18" > git rev-list --no-walk 274c96a3089376cd4a6ab8c9c701e19955d76f21 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:33:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:33:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:33:19 ========================================================= 16:33:19 EdgeX Global Pipelines Version Info 16:33:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:33:21 ------------------- 16:33:21 stable info: 16:33:21 ------------------- 16:33:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:33:21 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:33:21 Message: update stable to v1.0.234 16:33:21 ------------------- 16:33:21 experimental info: 16:33:21 ------------------- 16:33:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:33:21 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 16:33:21 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:33:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] echo 16:33:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e45c78 [Pipeline] echo 16:33:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:22 provisioning config files... 16:33:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7652251892882433157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:22 ---> docker-login.sh 16:33:22 nexus3.edgexfoundry.org:10001 16:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:22 Configure a credential helper to remove this warning. See 16:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:22 16:33:22 Login Succeeded 16:33:22 nexus3.edgexfoundry.org:10002 16:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:22 Configure a credential helper to remove this warning. See 16:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:22 16:33:22 Login Succeeded 16:33:22 nexus3.edgexfoundry.org:10003 16:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:22 Configure a credential helper to remove this warning. See 16:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:22 16:33:22 Login Succeeded 16:33:22 nexus3.edgexfoundry.org:10004 16:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:23 Configure a credential helper to remove this warning. See 16:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:23 16:33:23 Login Succeeded 16:33:23 docker.io 16:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:23 Configure a credential helper to remove this warning. See 16:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:23 16:33:23 Login Succeeded 16:33:23 ---> docker-login.sh ends [Pipeline] } 16:33:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:33:23 + git rev-list -1 --merges 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803~1..0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] echo 16:33:23 -----------> git rev-list -1 --merges 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803~1..0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 16:33:23 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [false] [Pipeline] sh 16:33:24 + git log --format=format:%s -1 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] echo 16:33:24 ========================================================= 16:33:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:33:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:24 + git log --format=format:%s -1 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] echo 16:33:24 [semverPrep] GIT_COMMIT: 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803, Commit Message: Merge pull request #1190 from lenny-intel/Go1.18 [Pipeline] echo 16:33:24 [semverPrep] This is not a build commit. [Pipeline] sh 16:33:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:33:24 + grep -v github /etc/ssh/ssh_known_hosts 16:33:24 + [ -e /tmp/ssh_known_hosts ] 16:33:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:33:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:33:24 + sudo tee -a /etc/ssh/ssh_known_hosts 16:33:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:25 16:33:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:25 0.1.4: Pulling from edgex-devops/py-git-semver 16:33:25 b85a868b505f: Pulling fs layer 16:33:25 e2be974225ed: Pulling fs layer 16:33:25 339a4e72a1f5: Pulling fs layer 16:33:25 988bab9f4d93: Pulling fs layer 16:33:25 1469e6f7b9e6: Pulling fs layer 16:33:25 eaf3925da568: Pulling fs layer 16:33:25 bab4dde63d76: Pulling fs layer 16:33:25 bde34c3a00c8: Pulling fs layer 16:33:25 b352a97aabf1: Pulling fs layer 16:33:25 4872d77fe225: Pulling fs layer 16:33:25 5851b861e8e6: Pulling fs layer 16:33:25 988bab9f4d93: Waiting 16:33:25 4872d77fe225: Waiting 16:33:25 bde34c3a00c8: Waiting 16:33:25 1469e6f7b9e6: Waiting 16:33:25 b352a97aabf1: Waiting 16:33:25 eaf3925da568: Waiting 16:33:25 5851b861e8e6: Waiting 16:33:25 bab4dde63d76: Waiting 16:33:25 e2be974225ed: Download complete 16:33:25 988bab9f4d93: Verifying Checksum 16:33:25 988bab9f4d93: Download complete 16:33:25 1469e6f7b9e6: Verifying Checksum 16:33:25 1469e6f7b9e6: Download complete 16:33:25 eaf3925da568: Verifying Checksum 16:33:25 eaf3925da568: Download complete 16:33:25 339a4e72a1f5: Verifying Checksum 16:33:25 339a4e72a1f5: Download complete 16:33:25 bde34c3a00c8: Download complete 16:33:25 b352a97aabf1: Verifying Checksum 16:33:25 b352a97aabf1: Download complete 16:33:25 4872d77fe225: Verifying Checksum 16:33:25 4872d77fe225: Download complete 16:33:25 5851b861e8e6: Verifying Checksum 16:33:25 b85a868b505f: Verifying Checksum 16:33:25 b85a868b505f: Download complete 16:33:26 bab4dde63d76: Verifying Checksum 16:33:26 bab4dde63d76: Download complete 16:33:27 b85a868b505f: Pull complete 16:33:27 e2be974225ed: Pull complete 16:33:28 339a4e72a1f5: Pull complete 16:33:28 988bab9f4d93: Pull complete 16:33:28 1469e6f7b9e6: Pull complete 16:33:28 eaf3925da568: Pull complete 16:33:30 bab4dde63d76: Pull complete 16:33:30 bde34c3a00c8: Pull complete 16:33:30 b352a97aabf1: Pull complete 16:33:30 4872d77fe225: Pull complete 16:33:30 5851b861e8e6: Pull complete 16:33:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:31 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 16:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:33:32 $ docker top 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd -eo pid,comm 16:33:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:33:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:32 [ssh-agent] Looking for ssh-agent implementation... 16:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:33 $ docker exec 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd ssh-agent 16:33:33 SSH_AUTH_SOCK=/tmp/ssh-1gd4ZpbLIf7j/agent.33 16:33:33 SSH_AGENT_PID=40 16:33:33 Running ssh-add (command line suppressed) 16:33:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4879967177938762343.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4879967177938762343.key) 16:33:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:33 + git tag --points-at HEAD [Pipeline] } 16:33:33 $ docker exec --env ******** --env ******** 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd ssh-agent -k 16:33:33 unset SSH_AUTH_SOCK; 16:33:33 unset SSH_AGENT_PID; 16:33:33 echo Agent pid 40 killed; 16:33:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:33:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:33 [ssh-agent] Looking for ssh-agent implementation... 16:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:33 $ docker exec 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd ssh-agent 16:33:34 SSH_AUTH_SOCK=/tmp/ssh-HdYtr6SqZakK/agent.72 16:33:34 SSH_AGENT_PID=78 16:33:34 Running ssh-add (command line suppressed) 16:33:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5985530251206375881.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5985530251206375881.key) 16:33:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:34 + git semver init 16:33:34 2022-07-11 16:33:34,709 [run_init] DEBUG init version:0.0.0 force:False 16:33:34 2022-07-11 16:33:34,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:33:34 2022-07-11 16:33:34,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:33:34 2022-07-11 16:33:34,711 [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) 16:33:35 2022-07-11 16:33:35,468 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:33:35 2022-07-11 16:33:35,469 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:33:35 2022-07-11 16:33:35,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:33:35 2022-07-11 16:33:35,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:33:35 2.2.1-dev.12 [Pipeline] } 16:33:35 $ docker exec --env ******** --env ******** 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd ssh-agent -k 16:33:35 unset SSH_AUTH_SOCK; 16:33:35 unset SSH_AGENT_PID; 16:33:35 echo Agent pid 78 killed; 16:33:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:33:36 + git semver [Pipeline] } 16:33:36 $ docker stop --time=1 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd 16:33:37 $ docker rm -f 698c887549cead8d6ac79925e75b764dd9eca31782284e3d3c88c4d75a02facd [Pipeline] // withDockerContainer [Pipeline] sh 16:33:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:33:38 Stashed 1 file(s) [Pipeline] echo 16:33:38 [edgeXSemver]: initialized semver on version 2.2.1-dev.12 [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 16:33:38 provisioning config files... 16:33:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8407910318120543050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:38 ---> docker-login.sh 16:33:38 nexus3.edgexfoundry.org:10001 16:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:38 Configure a credential helper to remove this warning. See 16:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:38 16:33:38 Login Succeeded 16:33:38 nexus3.edgexfoundry.org:10002 16:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:39 Configure a credential helper to remove this warning. See 16:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:39 16:33:39 Login Succeeded 16:33:39 nexus3.edgexfoundry.org:10003 16:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:39 Configure a credential helper to remove this warning. See 16:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:39 16:33:39 Login Succeeded 16:33:39 nexus3.edgexfoundry.org:10004 16:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:39 Configure a credential helper to remove this warning. See 16:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:39 16:33:39 Login Succeeded 16:33:39 docker.io 16:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:39 Configure a credential helper to remove this warning. See 16:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:39 16:33:39 Login Succeeded 16:33:39 ---> docker-login.sh ends [Pipeline] } 16:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:33:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:33:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:33:40 ========================================================= 16:33:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:33:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:40 + 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 . 16:33:40 Sending build context to Docker daemon 9.687MB 16:33:40 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:33:40 Step 2/11 : FROM ${BASE} AS builder 16:33:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:33:40 59bf1c3509f3: Pulling fs layer 16:33:40 666ba61612fd: Pulling fs layer 16:33:40 8ed8ca486205: Pulling fs layer 16:33:40 cc1cd167ecdc: Pulling fs layer 16:33:40 c516ae0d96e1: Pulling fs layer 16:33:40 684cea983483: Pulling fs layer 16:33:40 dd3240ac7de5: Pulling fs layer 16:33:40 b1e948a4e11c: Pulling fs layer 16:33:40 a8fd76ee1af6: Pulling fs layer 16:33:40 646ad004c059: Pulling fs layer 16:33:40 cc1cd167ecdc: Waiting 16:33:40 684cea983483: Waiting 16:33:40 c516ae0d96e1: Waiting 16:33:40 dd3240ac7de5: Waiting 16:33:40 a8fd76ee1af6: Waiting 16:33:40 b1e948a4e11c: Waiting 16:33:40 646ad004c059: Waiting 16:33:40 8ed8ca486205: Verifying Checksum 16:33:40 8ed8ca486205: Download complete 16:33:40 666ba61612fd: Download complete 16:33:40 c516ae0d96e1: Verifying Checksum 16:33:40 c516ae0d96e1: Download complete 16:33:40 684cea983483: Verifying Checksum 16:33:40 684cea983483: Download complete 16:33:40 59bf1c3509f3: Download complete 16:33:40 dd3240ac7de5: Verifying Checksum 16:33:40 dd3240ac7de5: Download complete 16:33:40 b1e948a4e11c: Verifying Checksum 16:33:40 b1e948a4e11c: Download complete 16:33:40 59bf1c3509f3: Pull complete 16:33:40 666ba61612fd: Pull complete 16:33:40 8ed8ca486205: Pull complete 16:33:41 646ad004c059: Verifying Checksum 16:33:41 646ad004c059: Download complete 16:33:41 a8fd76ee1af6: Verifying Checksum 16:33:41 cc1cd167ecdc: Verifying Checksum 16:33:41 cc1cd167ecdc: Download complete 16:33:45 cc1cd167ecdc: Pull complete 16:33:45 c516ae0d96e1: Pull complete 16:33:45 684cea983483: Pull complete 16:33:45 dd3240ac7de5: Pull complete 16:33:45 b1e948a4e11c: Pull complete 16:33:48 a8fd76ee1af6: Pull complete 16:33:48 646ad004c059: Pull complete 16:33:48 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:33:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:33:48 ---> 8f69c11f6b0c 16:33:48 Step 3/11 : ARG MAKE=make build 16:33:51 ---> Running in 78bb4c262731 16:33:51 Removing intermediate container 78bb4c262731 16:33:51 ---> 1677aae70187 16:33:51 Step 4/11 : WORKDIR /device-sdk-go 16:33:51 ---> Running in 3c309ac0d11d 16:33:51 Removing intermediate container 3c309ac0d11d 16:33:51 ---> c508d626a9c9 16:33:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:33:51 ---> Running in cbef6f4f0909 16:33:51 Removing intermediate container cbef6f4f0909 16:33:51 ---> c0d0d0d624ed 16:33:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:51 ---> Running in fc0b8c326eb0 16:33:51 Removing intermediate container fc0b8c326eb0 16:33:51 ---> 62bd30aaf72c 16:33:51 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:33:51 ---> Running in f93b03d763d6 16:33:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:33:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:33:53 OK: 221 MiB in 52 packages 16:33:53 Still waiting to schedule task 16:33:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17425’ 16:33:54 Removing intermediate container f93b03d763d6 16:33:54 ---> ed86a3e58b14 16:33:54 Step 8/11 : COPY go.mod vendor* ./ 16:33:54 ---> 85708c18499d 16:33:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:33:54 ---> Running in 72e979c6b37a 16:34:08 Removing intermediate container 72e979c6b37a 16:34:08 ---> 1e4129ff03d6 16:34:08 Step 10/11 : COPY . . 16:34:09 ---> 5971284657fe 16:34:09 Step 11/11 : RUN ${MAKE} 16:34:09 ---> Running in 200dae398c76 16:34:09 noop 16:34:09 Removing intermediate container 200dae398c76 16:34:09 ---> dc207d1695a3 16:34:09 Successfully built dc207d1695a3 16:34:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:10 + docker inspect -f . ci-base-image-x86_64 16:34:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:10 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 16:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:34:10 $ docker top f7749d946dfc3ca7fa0f96d2c10f9f4703cc2b64ec33fb908e5ed461fb3d2b4d -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:11 + go version 16:34:11 go version go1.17.7 linux/amd64 [Pipeline] } 16:34:11 $ docker stop --time=1 f7749d946dfc3ca7fa0f96d2c10f9f4703cc2b64ec33fb908e5ed461fb3d2b4d 16:34:12 $ docker rm -f f7749d946dfc3ca7fa0f96d2c10f9f4703cc2b64ec33fb908e5ed461fb3d2b4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:12 + docker inspect -f . ci-base-image-x86_64 16:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:12 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 16:34:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:34:13 $ docker top 3ed38991d502db7fb8fb3807e9247d55d0808bbc62d3118cfaf9e67f41de5e15 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:34:13 + make test 16:34:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:34:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:34:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.098s coverage: 23.7% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.083s coverage: 10.8% of statements 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.084s coverage: 60.0% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.086s coverage: 85.4% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.823s coverage: 89.2% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:34:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 16:34:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:34:51 GO111MODULE=on go vet ./... 16:34:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:34:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:34:54 ./bin/test-attribution-txt.sh [Pipeline] echo 16:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:34:54 $ docker stop --time=1 3ed38991d502db7fb8fb3807e9247d55d0808bbc62d3118cfaf9e67f41de5e15 16:34:56 $ docker rm -f 3ed38991d502db7fb8fb3807e9247d55d0808bbc62d3118cfaf9e67f41de5e15 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:34:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:34:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:34:58 + ls -al . 16:34:58 total 304 16:34:58 drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 16:34 . 16:34:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:33 .. 16:34:58 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 16:33 .dockerignore 16:34:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:33 .git 16:34:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:33 .github 16:34:58 -rw-rw-r-- 1 jenkins jenkins 131 Jul 11 16:33 .gitignore 16:34:58 -rw-rw-r-- 1 jenkins jenkins 42 Jul 11 16:33 .golangci.yml 16:34:58 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:33 .semver 16:34:58 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 11 16:33 CHANGELOG.md 16:34:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 16:33 GOVERNANCE.md 16:34:58 -rw-rw-r-- 1 jenkins jenkins 880 Jul 11 16:33 Jenkinsfile 16:34:58 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 11 16:33 LICENSE 16:34:58 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 11 16:33 Makefile 16:34:58 -rw-rw-r-- 1 jenkins jenkins 619 Jul 11 16:33 OWNERS.md 16:34:58 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 11 16:33 README.md 16:34:58 -rw-rw-r-- 1 jenkins jenkins 12 Jul 11 16:33 VERSION 16:34:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:33 bin 16:34:58 -rw-r--r-- 1 jenkins jenkins 131190 Jul 11 16:34 coverage.out 16:34:58 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 16:33 example 16:34:58 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 11 16:33 go.mod 16:34:58 -rw-rw-r-- 1 jenkins jenkins 34891 Jul 11 16:33 go.sum 16:34:58 drwxrwxr-x 15 jenkins jenkins 4096 Jul 11 16:33 internal 16:34:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:33 openapi 16:34:58 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 16:33 pkg 16:34:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:33 snap 16:34:58 -rw-rw-r-- 1 jenkins jenkins 222 Jul 11 16:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:58 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 --label arch=amd64 --label version=2.2.1-dev.12 . 16:34:58 Sending build context to Docker daemon 9.819MB 16:34:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:34:58 Step 2/25 : FROM ${BASE} AS builder 16:34:58 ---> dc207d1695a3 16:34:58 Step 3/25 : ARG MAKE=make build 16:34:58 ---> Running in dc92fb5e580c 16:34:58 Removing intermediate container dc92fb5e580c 16:34:58 ---> 93c46f099469 16:34:58 Step 4/25 : WORKDIR /device-sdk-go 16:34:58 ---> Running in a4c9b21fbcb3 16:34:58 Removing intermediate container a4c9b21fbcb3 16:34:58 ---> c3ec53cd1755 16:34:58 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:34:58 ---> Running in 49744845d0c2 16:34:59 Removing intermediate container 49744845d0c2 16:34:59 ---> 0934c90dde17 16:34:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:34:59 ---> Running in 5797f16141b6 16:34:59 Removing intermediate container 5797f16141b6 16:34:59 ---> 096d0e0ae1af 16:34:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:34:59 ---> Running in 5f84dcd9d54c 16:34:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:35:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:35:01 OK: 221 MiB in 52 packages 16:35:01 Removing intermediate container 5f84dcd9d54c 16:35:01 ---> 6092f89724d0 16:35:01 Step 8/25 : COPY go.mod vendor* ./ 16:35:01 ---> 981b4377fcbb 16:35:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:01 ---> Running in 8b1fc08d7e05 16:35:02 Removing intermediate container 8b1fc08d7e05 16:35:02 ---> 2a8a321a24c9 16:35:02 Step 10/25 : COPY . . 16:35:02 ---> bae6d1237ca2 16:35:02 Step 11/25 : RUN ${MAKE} 16:35:02 ---> Running in fe36a8236b45 16:35:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.12" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:35:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:35:23 Removing intermediate container fe36a8236b45 16:35:23 ---> 217ec4a3363b 16:35:23 Step 12/25 : FROM alpine:3.16 16:35:24 3.16: Pulling from library/alpine 16:35:24 2408cc74d12b: Pulling fs layer 16:35:24 2408cc74d12b: Verifying Checksum 16:35:24 2408cc74d12b: Download complete 16:35:24 2408cc74d12b: Pull complete 16:35:24 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 16:35:24 Status: Downloaded newer image for alpine:3.16 16:35:24 ---> e66264b98777 16:35:24 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:35:24 ---> Running in db5a0a0a6a4c 16:35:25 Removing intermediate container db5a0a0a6a4c 16:35:25 ---> 8e3be48d2015 16:35:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:25 ---> Running in 31751c3a9e0c 16:35:25 Removing intermediate container 31751c3a9e0c 16:35:25 ---> ef9224ea2277 16:35:25 Step 15/25 : RUN apk add --update --no-cache zeromq 16:35:25 ---> Running in 0401697ae436 16:35:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:35:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:35:27 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:35:27 (2/5) Installing libsodium (1.0.18-r0) 16:35:27 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:35:27 (4/5) Installing libzmq (4.3.4-r0) 16:35:27 (5/5) Installing zeromq (4.3.4-r0) 16:35:27 Executing busybox-1.35.0-r13.trigger 16:35:27 OK: 8 MiB in 19 packages 16:35:27 Removing intermediate container 0401697ae436 16:35:27 ---> 803973bb055b 16:35:27 Step 16/25 : WORKDIR / 16:35:27 ---> Running in 29a16dcda0ef 16:35:28 Removing intermediate container 29a16dcda0ef 16:35:28 ---> 59e04e2eaac1 16:35:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:35:28 ---> 08e18dd9ca50 16:35:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:35:29 ---> 4bd07d74de8e 16:35:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:35:29 ---> 857bc7890f6c 16:35:29 Step 20/25 : EXPOSE 59999 16:35:29 ---> Running in e76d7e365ed3 16:35:29 Removing intermediate container e76d7e365ed3 16:35:29 ---> cb362ba45aaa 16:35:29 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:35:29 ---> Running in 3846e1f192a5 16:35:29 Removing intermediate container 3846e1f192a5 16:35:29 ---> f29ab3139102 16:35:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:35:29 ---> Running in 124f61797516 16:35:29 Removing intermediate container 124f61797516 16:35:29 ---> f2abfaed1bed 16:35:29 Step 23/25 : LABEL arch=amd64 16:35:29 ---> Running in 96e8ea476cf6 16:35:29 Removing intermediate container 96e8ea476cf6 16:35:29 ---> 187506e0280c 16:35:29 Step 24/25 : LABEL git_sha=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 16:35:29 ---> Running in 54518be18a14 16:35:29 Removing intermediate container 54518be18a14 16:35:29 ---> fd4890e75a98 16:35:29 Step 25/25 : LABEL version=2.2.1-dev.12 16:35:29 ---> Running in d4767176451e 16:35:29 Removing intermediate container d4767176451e 16:35:29 ---> 953d5ef7cad5 16:35:29 [Warning] One or more build-args [ARCH] were not consumed 16:35:29 Successfully built 953d5ef7cad5 16:35:29 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 16:35:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:30 16:35:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:30 latest: Pulling from edgex-lftools-log-publisher 16:35:30 5eb5b503b376: Pulling fs layer 16:35:30 5c69ac0246d0: Pulling fs layer 16:35:30 ec43610c2a17: Pulling fs layer 16:35:30 3a2ae6a8a46f: Pulling fs layer 16:35:30 33b1e0a273af: Pulling fs layer 16:35:30 5d3b04190fa2: Pulling fs layer 16:35:30 2f39f015ded8: Pulling fs layer 16:35:30 3a2ae6a8a46f: Waiting 16:35:30 5d3b04190fa2: Waiting 16:35:30 33b1e0a273af: Waiting 16:35:30 2f39f015ded8: Waiting 16:35:30 5c69ac0246d0: Download complete 16:35:30 3a2ae6a8a46f: Verifying Checksum 16:35:30 3a2ae6a8a46f: Download complete 16:35:30 33b1e0a273af: Verifying Checksum 16:35:30 33b1e0a273af: Download complete 16:35:30 5d3b04190fa2: Download complete 16:35:30 ec43610c2a17: Verifying Checksum 16:35:30 ec43610c2a17: Download complete 16:35:30 5eb5b503b376: Verifying Checksum 16:35:30 5eb5b503b376: Download complete 16:35:31 2f39f015ded8: Download complete 16:35:31 5eb5b503b376: Pull complete 16:35:32 5c69ac0246d0: Pull complete 16:35:32 ec43610c2a17: Pull complete 16:35:32 3a2ae6a8a46f: Pull complete 16:35:32 33b1e0a273af: Pull complete 16:35:32 5d3b04190fa2: Pull complete 16:35:37 2f39f015ded8: Pull complete 16:35:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:35:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:37 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 16:35:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:35:39 $ docker top 8a5f4da57761c3a15984128caca64ac9f3b854f9eae9fa2bb08e04898b2c1875 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:39 ---> job-cost.sh 16:35:39 lf-activate-venv: SKIPPING 16:35:39 INFO: No Stack... 16:35:40 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:40 INFO: Archiving Costs [Pipeline] sh 16:35:40 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:35:40 + cut -d, -f6 [Pipeline] lock 16:35:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] 16:35:41 Resource [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] did not exist. Created. 16:35:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:41 + echo total: 0.2199999988079071 [Pipeline] stash 16:35:41 Stashed 1 file(s) [Pipeline] } 16:35:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:41 $ docker stop --time=1 8a5f4da57761c3a15984128caca64ac9f3b854f9eae9fa2bb08e04898b2c1875 16:35:42 $ docker rm -f 8a5f4da57761c3a15984128caca64ac9f3b854f9eae9fa2bb08e04898b2c1875 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:14:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19191 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 17:14:22 Running in /w/workspace/device-sdk-go/87 [Pipeline] { [Pipeline] checkout 17:14:22 The recommended git tool is: git 17:14:31 using credential edgex-jenkins-ssh 17:14:31 Cloning the remote Git repository 17:14:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:14:31 > git init /w/workspace/device-sdk-go/87 # timeout=10 17:14:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:14:31 > git --version # timeout=10 17:14:31 > git --version # 'git version 2.25.1' 17:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:14:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:33 Avoid second fetch 17:14:33 Checking out Revision 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 (main) 17:14:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:14:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:14:33 > git config core.sparsecheckout # timeout=10 17:14:33 > git checkout -f 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 # timeout=10 17:14:38 Commit message: "Merge pull request #1190 from lenny-intel/Go1.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:14:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:39 Dload Upload Total Spent Left Speed 17:14:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 81298 0 --:--:-- --:--:-- --:--:-- 81298 [Pipeline] sh 17:14:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:14:40 + sudo tee /etc/docker/daemon.new 17:14:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:14:40 { 17:14:40 "registry-mirrors": [ 17:14:40 "https://nexus3.edgexfoundry.org:10001" 17:14:40 ], 17:14:40 "bip": "10.250.0.254/24", 17:14:40 "hosts": [ 17:14:40 "tcp://0.0.0.0:5555", 17:14:40 "unix:///var/run/docker.sock" 17:14:40 ], 17:14:40 "mtu": 1458, 17:14:40 "selinux-enabled": true, 17:14:40 "seccomp-profile": "/etc/docker/seccomp.json" 17:14:40 } [Pipeline] sh 17:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:14:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:59 provisioning config files... 17:14:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/87@tmp/config2458430262767086139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:59 ---> docker-login.sh 17:14:59 nexus3.edgexfoundry.org:10001 17:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:00 Configure a credential helper to remove this warning. See 17:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:00 17:15:00 Login Succeeded 17:15:00 nexus3.edgexfoundry.org:10002 17:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:01 Configure a credential helper to remove this warning. See 17:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:01 17:15:01 Login Succeeded 17:15:01 nexus3.edgexfoundry.org:10003 17:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:01 Configure a credential helper to remove this warning. See 17:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:01 17:15:01 Login Succeeded 17:15:01 nexus3.edgexfoundry.org:10004 17:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:02 Configure a credential helper to remove this warning. See 17:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:02 17:15:02 Login Succeeded 17:15:02 docker.io 17:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:03 Configure a credential helper to remove this warning. See 17:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:03 17:15:03 Login Succeeded 17:15:03 ---> docker-login.sh ends [Pipeline] } 17:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:03 ========================================================= 17:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:03 + 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 . 17:15:04 Sending build context to Docker daemon 5.189MB 17:15:04 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 17:15:04 Step 2/11 : FROM ${BASE} AS builder 17:15:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:15:04 9b3977197b4f: Pulling fs layer 17:15:04 1a89e8eeedd5: Pulling fs layer 17:15:04 94645a83ff95: Pulling fs layer 17:15:04 e6fb740bc735: Pulling fs layer 17:15:04 3a77bd46dcc9: Pulling fs layer 17:15:04 355e64cbe906: Pulling fs layer 17:15:04 63ab81a10011: Pulling fs layer 17:15:04 555d1d1c4555: Pulling fs layer 17:15:04 7d9057610161: Pulling fs layer 17:15:04 e6fb740bc735: Waiting 17:15:04 63ab81a10011: Waiting 17:15:04 3a77bd46dcc9: Waiting 17:15:04 355e64cbe906: Waiting 17:15:04 555d1d1c4555: Waiting 17:15:04 7d9057610161: Waiting 17:15:04 94645a83ff95: Verifying Checksum 17:15:04 94645a83ff95: Download complete 17:15:04 1a89e8eeedd5: Verifying Checksum 17:15:04 1a89e8eeedd5: Download complete 17:15:04 3a77bd46dcc9: Verifying Checksum 17:15:04 3a77bd46dcc9: Download complete 17:15:04 355e64cbe906: Download complete 17:15:04 9b3977197b4f: Verifying Checksum 17:15:04 9b3977197b4f: Download complete 17:15:04 63ab81a10011: Verifying Checksum 17:15:04 63ab81a10011: Download complete 17:15:05 9b3977197b4f: Pull complete 17:15:05 7d9057610161: Verifying Checksum 17:15:05 7d9057610161: Download complete 17:15:06 1a89e8eeedd5: Pull complete 17:15:06 94645a83ff95: Pull complete 17:15:06 555d1d1c4555: Verifying Checksum 17:15:06 555d1d1c4555: Download complete 17:15:07 e6fb740bc735: Verifying Checksum 17:15:07 e6fb740bc735: Download complete 17:15:19 e6fb740bc735: Pull complete 17:15:19 3a77bd46dcc9: Pull complete 17:15:19 355e64cbe906: Pull complete 17:15:19 63ab81a10011: Pull complete 17:15:26 555d1d1c4555: Pull complete 17:15:27 7d9057610161: Pull complete 17:15:27 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:15:27 ---> 819e984ddca1 17:15:27 Step 3/11 : ARG MAKE=make build 17:15:28 ---> Running in c343eeaa1209 17:15:28 Removing intermediate container c343eeaa1209 17:15:28 ---> 02af90855514 17:15:28 Step 4/11 : WORKDIR /device-sdk-go 17:15:28 ---> Running in a6001c4042e2 17:15:29 Removing intermediate container a6001c4042e2 17:15:29 ---> acb6d6d44e29 17:15:29 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:15:29 ---> Running in 3a02c91f8d3d 17:15:29 Removing intermediate container 3a02c91f8d3d 17:15:29 ---> b4be36114f64 17:15:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:29 ---> Running in 209c59b3b170 17:15:31 Removing intermediate container 209c59b3b170 17:15:31 ---> 800ac636aba0 17:15:31 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:15:31 ---> Running in fedb1144ff3a 17:15:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:15:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:15:36 OK: 220 MiB in 52 packages 17:15:36 Removing intermediate container fedb1144ff3a 17:15:36 ---> 4762d24bb14e 17:15:36 Step 8/11 : COPY go.mod vendor* ./ 17:15:37 ---> 54e507184233 17:15:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:15:37 ---> Running in 83ba55752149 17:16:34 Removing intermediate container 83ba55752149 17:16:34 ---> 0c84fade1c6e 17:16:34 Step 10/11 : COPY . . 17:16:34 ---> 109b9d43c59e 17:16:34 Step 11/11 : RUN ${MAKE} 17:16:34 ---> Running in 58c5896d3d26 17:16:34 noop 17:16:34 Removing intermediate container 58c5896d3d26 17:16:34 ---> 0ba283244203 17:16:34 Successfully built 0ba283244203 17:16:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:34 + docker inspect -f . ci-base-image-arm64 17:16:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:34 prd-ubuntu20.04-docker-arm64-4c-16g-19191 does not seem to be running inside a container 17:16:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/87 -v /w/workspace/device-sdk-go/87:/w/workspace/device-sdk-go/87:rw,z -v /w/workspace/device-sdk-go/87@tmp:/w/workspace/device-sdk-go/87@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 ******** -e ******** ci-base-image-arm64 cat 17:16:36 $ docker top 22bbbb86042cef010bd0668d63cc987ae01b57b04170372c13a63878bce52778 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:37 + go version 17:16:37 go version go1.17.7 linux/arm64 [Pipeline] } 17:16:37 $ docker stop --time=1 22bbbb86042cef010bd0668d63cc987ae01b57b04170372c13a63878bce52778 17:16:39 $ docker rm -f 22bbbb86042cef010bd0668d63cc987ae01b57b04170372c13a63878bce52778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:39 + docker inspect -f . ci-base-image-arm64 17:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:40 prd-ubuntu20.04-docker-arm64-4c-16g-19191 does not seem to be running inside a container 17:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/87 -v /w/workspace/device-sdk-go/87:/w/workspace/device-sdk-go/87:rw,z -v /w/workspace/device-sdk-go/87@tmp:/w/workspace/device-sdk-go/87@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 ******** -e ******** ci-base-image-arm64 cat 17:16:41 $ docker top 396d9c47ab1f090a300ad73c88b41f3e0c537040ec2b0e899dd2d349e0dde14f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:16:42 + make test 17:16:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:17:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:19:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:19:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:19:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:19:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.450s coverage: 23.7% of statements 17:19:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:19:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.285s coverage: 27.6% of statements 17:19:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.382s coverage: 78.9% of statements 17:19:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.296s coverage: 10.8% of statements 17:19:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.677s coverage: 60.0% of statements 17:19:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:19:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:19:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.536s coverage: 34.8% of statements 17:19:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:19:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.350s coverage: 85.4% of statements 17:19:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:19:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:19:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.610s coverage: 65.1% of statements 17:19:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.605s coverage: 89.2% of statements 17:19:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:19:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.317s coverage: 4.7% of statements 17:19:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:19:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:19:41 GO111MODULE=on go vet ./... 17:21:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:21:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:21:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:21:33 $ docker stop --time=1 396d9c47ab1f090a300ad73c88b41f3e0c537040ec2b0e899dd2d349e0dde14f 17:21:34 $ docker rm -f 396d9c47ab1f090a300ad73c88b41f3e0c537040ec2b0e899dd2d349e0dde14f [Pipeline] // withDockerContainer [Pipeline] sh 17:21:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:36 Warning: overwriting stash ‘coverage-report’ 17:21:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:21:37 + ls -al . 17:21:37 total 300 17:21:37 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:16 . 17:21:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:14 .. 17:21:37 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 17:14 .dockerignore 17:21:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 17:14 .git 17:21:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:14 .github 17:21:37 -rw-rw-r-- 1 jenkins jenkins 131 Jul 11 17:14 .gitignore 17:21:37 -rw-rw-r-- 1 jenkins jenkins 42 Jul 11 17:14 .golangci.yml 17:21:37 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 11 17:14 CHANGELOG.md 17:21:37 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 17:14 GOVERNANCE.md 17:21:37 -rw-rw-r-- 1 jenkins jenkins 880 Jul 11 17:14 Jenkinsfile 17:21:37 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 11 17:14 LICENSE 17:21:37 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 11 17:14 Makefile 17:21:37 -rw-rw-r-- 1 jenkins jenkins 619 Jul 11 17:14 OWNERS.md 17:21:37 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 11 17:14 README.md 17:21:37 -rw-rw-r-- 1 jenkins jenkins 12 Jul 11 16:33 VERSION 17:21:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 17:14 bin 17:21:37 -rw-r--r-- 1 jenkins jenkins 131190 Jul 11 17:19 coverage.out 17:21:37 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 17:14 example 17:21:37 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 11 17:14 go.mod 17:21:37 -rw-rw-r-- 1 jenkins jenkins 34891 Jul 11 17:14 go.sum 17:21:37 drwxrwxr-x 15 jenkins jenkins 4096 Jul 11 17:14 internal 17:21:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 17:14 openapi 17:21:37 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 17:14 pkg 17:21:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 17:14 snap 17:21:37 -rw-rw-r-- 1 jenkins jenkins 222 Jul 11 17:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:38 + 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=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 --label arch=arm64 --label version=2.2.1-dev.12 . 17:21:38 Sending build context to Docker daemon 5.321MB 17:21:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:21:38 Step 2/25 : FROM ${BASE} AS builder 17:21:38 ---> 0ba283244203 17:21:38 Step 3/25 : ARG MAKE=make build 17:21:38 ---> Running in 1cdeb8724d1f 17:21:39 Removing intermediate container 1cdeb8724d1f 17:21:39 ---> 60783c76afcf 17:21:39 Step 4/25 : WORKDIR /device-sdk-go 17:21:39 ---> Running in 9ff13964dafb 17:21:39 Removing intermediate container 9ff13964dafb 17:21:39 ---> 2560402819e9 17:21:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:21:39 ---> Running in d6b93c5bb8bd 17:21:40 Removing intermediate container d6b93c5bb8bd 17:21:40 ---> 05929d76ade4 17:21:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:21:40 ---> Running in 1dac03f570ac 17:21:42 Removing intermediate container 1dac03f570ac 17:21:42 ---> 6ccde06caef7 17:21:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:21:42 ---> Running in 9c218f6b5528 17:21:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:21:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:21:45 OK: 220 MiB in 52 packages 17:21:45 Removing intermediate container 9c218f6b5528 17:21:45 ---> 639e8d21a7ae 17:21:45 Step 8/25 : COPY go.mod vendor* ./ 17:21:46 ---> b954a31ca40b 17:21:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:46 ---> Running in c001860bdb79 17:21:48 Removing intermediate container c001860bdb79 17:21:48 ---> 5b74b9b89a0a 17:21:48 Step 10/25 : COPY . . 17:21:50 ---> 80159a69a13f 17:21:50 Step 11/25 : RUN ${MAKE} 17:21:50 ---> Running in 6891c4d9a19f 17:21:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.12" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:24:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:24:13 Removing intermediate container 6891c4d9a19f 17:24:13 ---> 666b897d0ccd 17:24:13 Step 12/25 : FROM alpine:3.16 17:24:13 3.16: Pulling from library/alpine 17:24:13 b3c136eddcbf: Pulling fs layer 17:24:13 b3c136eddcbf: Verifying Checksum 17:24:13 b3c136eddcbf: Download complete 17:24:14 b3c136eddcbf: Pull complete 17:24:14 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 17:24:14 Status: Downloaded newer image for alpine:3.16 17:24:14 ---> 6e30ab57aeee 17:24:14 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:24:14 ---> Running in b2f8eb02779d 17:24:14 Removing intermediate container b2f8eb02779d 17:24:14 ---> a5453f562f84 17:24:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:24:14 ---> Running in a2501497b979 17:24:16 Removing intermediate container a2501497b979 17:24:16 ---> ed61c7b31eab 17:24:16 Step 15/25 : RUN apk add --update --no-cache zeromq 17:24:16 ---> Running in b02baa55778f 17:24:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:24:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:24:20 (1/5) Installing libgcc (11.2.1_git20220219-r2) 17:24:20 (2/5) Installing libsodium (1.0.18-r0) 17:24:20 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 17:24:20 (4/5) Installing libzmq (4.3.4-r0) 17:24:20 (5/5) Installing zeromq (4.3.4-r0) 17:24:20 Executing busybox-1.35.0-r13.trigger 17:24:20 OK: 8 MiB in 19 packages 17:24:21 Removing intermediate container b02baa55778f 17:24:21 ---> 531d3cbd4094 17:24:21 Step 16/25 : WORKDIR / 17:24:21 ---> Running in b064e034d2e2 17:24:21 Removing intermediate container b064e034d2e2 17:24:21 ---> 2d2984893ce5 17:24:21 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:24:22 ---> 9a7860d072ff 17:24:22 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:24:24 ---> 39b4b0d10e01 17:24:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:24:24 ---> a2fcd620aaaf 17:24:24 Step 20/25 : EXPOSE 59999 17:24:24 ---> Running in 63613ab960cb 17:24:25 Removing intermediate container 63613ab960cb 17:24:25 ---> 3f6d4b09e534 17:24:25 Step 21/25 : ENTRYPOINT ["/device-simple"] 17:24:25 ---> Running in c78bb6c36e63 17:24:25 Removing intermediate container c78bb6c36e63 17:24:25 ---> 1d0668f3aaf3 17:24:25 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:24:25 ---> Running in 98e9e5287129 17:24:26 Removing intermediate container 98e9e5287129 17:24:26 ---> 666d76e4df0d 17:24:26 Step 23/25 : LABEL arch=arm64 17:24:26 ---> Running in 675306fa5753 17:24:26 Removing intermediate container 675306fa5753 17:24:26 ---> d3b97e01ce0c 17:24:26 Step 24/25 : LABEL git_sha=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 17:24:26 ---> Running in 73c4ae3a0e60 17:24:26 Removing intermediate container 73c4ae3a0e60 17:24:26 ---> 2ec04a86d46c 17:24:26 Step 25/25 : LABEL version=2.2.1-dev.12 17:24:26 ---> Running in fb4825cb0a96 17:24:27 Removing intermediate container fb4825cb0a96 17:24:27 ---> 72accae4e518 17:24:27 [Warning] One or more build-args [ARCH] were not consumed 17:24:27 Successfully built 72accae4e518 17:24:27 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 17:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:27 17:24:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:28 arm64: Pulling from edgex-lftools-log-publisher 17:24:28 8998bd30e6a1: Pulling fs layer 17:24:28 04944245beec: Pulling fs layer 17:24:28 699f458cf7ca: Pulling fs layer 17:24:28 765212b225bb: Pulling fs layer 17:24:28 f23df028b6ca: Pulling fs layer 17:24:28 d65c8cfc05b1: Pulling fs layer 17:24:28 2437ff75d9bd: Pulling fs layer 17:24:28 765212b225bb: Waiting 17:24:28 f23df028b6ca: Waiting 17:24:28 d65c8cfc05b1: Waiting 17:24:28 2437ff75d9bd: Waiting 17:24:28 04944245beec: Verifying Checksum 17:24:28 04944245beec: Download complete 17:24:28 765212b225bb: Verifying Checksum 17:24:28 765212b225bb: Download complete 17:24:28 f23df028b6ca: Verifying Checksum 17:24:28 f23df028b6ca: Download complete 17:24:28 d65c8cfc05b1: Verifying Checksum 17:24:28 d65c8cfc05b1: Download complete 17:24:28 699f458cf7ca: Verifying Checksum 17:24:28 699f458cf7ca: Download complete 17:24:28 8998bd30e6a1: Download complete 17:24:31 2437ff75d9bd: Verifying Checksum 17:24:31 2437ff75d9bd: Download complete 17:24:33 8998bd30e6a1: Pull complete 17:24:33 04944245beec: Pull complete 17:24:35 699f458cf7ca: Pull complete 17:24:35 765212b225bb: Pull complete 17:24:36 f23df028b6ca: Pull complete 17:24:36 d65c8cfc05b1: Pull complete 17:24:51 2437ff75d9bd: Pull complete 17:24:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:52 prd-ubuntu20.04-docker-arm64-4c-16g-19191 does not seem to be running inside a container 17:24: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/device-sdk-go/87 -v /w/workspace/device-sdk-go/87:/w/workspace/device-sdk-go/87:rw,z -v /w/workspace/device-sdk-go/87@tmp:/w/workspace/device-sdk-go/87@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:24:55 $ docker top 0e9bcd50b4c679c2bc29a8ae143df9525903392e7416b9e3e5301e3cb68d911c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:56 ---> job-cost.sh 17:24:56 lf-activate-venv: SKIPPING 17:24:56 INFO: No Stack... 17:24:56 INFO: Retrieving Pricing Info for: v3-standard-4 17:24:57 INFO: Archiving Costs [Pipeline] sh 17:24:58 + cat /w/workspace/device-sdk-go/87/archives/cost.csv 17:24:58 + cut -d, -f6 [Pipeline] lock 17:24:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] 17:24:58 Resource [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] did not exist. Created. 17:24:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:59 /w/workspace/device-sdk-go/87@tmp/durable-eca9a8b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:59 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:59 Warning: overwriting stash ‘stack-cost’ 17:24:59 Stashed 1 file(s) [Pipeline] } 17:24:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:59 $ docker stop --time=1 0e9bcd50b4c679c2bc29a8ae143df9525903392e7416b9e3e5301e3cb68d911c 17:25:01 $ docker rm -f 0e9bcd50b4c679c2bc29a8ae143df9525903392e7416b9e3e5301e3cb68d911c [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 17:25:01 provisioning config files... 17:25:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2877193167584570951tmp [Pipeline] { [Pipeline] sh 17:25:02 + set +x 17:25:02 + curl -s https://codecov.io/bash+ 17:25:02 bash -s -- 17:25:02 17:25:02 _____ _ 17:25:02 / ____| | | 17:25:02 | | ___ __| | ___ ___ _____ __ 17:25:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:25:02 | |___| (_) | (_| | __/ (_| (_) \ V / 17:25:02 \_____\___/ \__,_|\___|\___\___/ \_/ 17:25:02 Bash-1.0.6 17:25:02 17:25:02 17:25:02 ==> git version 2.25.1 found 17:25:02 ==> 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 17:25:02 Release-Date: 2020-01-08 17:25:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:25:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:25:02 ==> Jenkins CI detected. 17:25:02 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:25:02 project root: . 17:25:02 --> token set from env 17:25:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:25:02 ==> Running gcov in . (disable via -X gcov) 17:25:02 ==> Python coveragepy not found 17:25:02 ==> Searching for coverage reports in: 17:25:02 + . 17:25:02 -> Found 1 reports 17:25:02 ==> Detecting git/mercurial file structure 17:25:02 ==> Reading reports 17:25:02 + ./coverage.out bytes=131190 17:25:02 ==> Appending adjustments 17:25:02 https://docs.codecov.io/docs/fixing-reports 17:25:02 + Found adjustments 17:25:02 ==> Gzipping contents 17:25:02 20K /tmp/codecov.i556EM.gz 17:25:02 ==> Uploading reports 17:25:02 url: https://codecov.io 17:25:02 query: branch=main&commit=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:25:02 -> Pinging Codecov 17:25:02 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=0e45c78ae4a01ecb7618f0e8cadec166d2cd8803&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:25:03 -> Uploading to 17:25:03 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/7E55EF52A471D76F132DFD9A03CDDE97/0e45c78ae4a01ecb7618f0e8cadec166d2cd8803/5cf61343-db56-4e7f-942d-abfe941088ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T172503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40dbe37194c4d2d083f15bcf449d09c8f3a9dedae50006897eb05fc3331ea678 17:25:03 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:03 Dload Upload Total Spent Left Speed 17:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16863 0 0 100 16863 0 74615 --:--:-- --:--:-- --:--:-- 74615 17:25:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] } 17:25:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:25:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:25:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:25:04 17:25:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:25:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:25:04 df9b9388f04a: Pulling fs layer 17:25:04 52dc419b0ee2: Pulling fs layer 17:25:04 25bc292e5bac: Pulling fs layer 17:25:04 114826534d7a: Pulling fs layer 17:25:04 4657fd5d0bcf: Pulling fs layer 17:25:04 6ad1cebc031e: Pulling fs layer 17:25:04 8a3aa393b2d8: Pulling fs layer 17:25:04 6ad1cebc031e: Waiting 17:25:04 114826534d7a: Waiting 17:25:04 4657fd5d0bcf: Waiting 17:25:04 8a3aa393b2d8: Waiting 17:25:04 25bc292e5bac: Verifying Checksum 17:25:04 25bc292e5bac: Download complete 17:25:04 52dc419b0ee2: Download complete 17:25:04 4657fd5d0bcf: Verifying Checksum 17:25:04 4657fd5d0bcf: Download complete 17:25:04 df9b9388f04a: Download complete 17:25:04 6ad1cebc031e: Verifying Checksum 17:25:04 6ad1cebc031e: Download complete 17:25:04 df9b9388f04a: Pull complete 17:25:04 52dc419b0ee2: Pull complete 17:25:05 25bc292e5bac: Pull complete 17:25:05 114826534d7a: Download complete 17:25:05 8a3aa393b2d8: Verifying Checksum 17:25:05 8a3aa393b2d8: Download complete 17:25:09 114826534d7a: Pull complete 17:25:09 4657fd5d0bcf: Pull complete 17:25:09 6ad1cebc031e: Pull complete 17:25:12 8a3aa393b2d8: Pull complete 17:25:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:25:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:25:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:12 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:25:14 $ docker top ab3e5b66d8f31a63b81ad135568db72956896e81de1cb54d26e27656f5ee9ad8 -eo pid,comm [Pipeline] { [Pipeline] echo 17:25:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:25:14 + set -o pipefail 17:25:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:25:19 17:25:19 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 17:25:19 17:25:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/46887f76-acaa-48b2-a3c6-080cf89887bc 17:25:19 17:25:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:25:19 17:25:20 17:25:20 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:25:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:25:20 $ docker stop --time=1 ab3e5b66d8f31a63b81ad135568db72956896e81de1cb54d26e27656f5ee9ad8 17:25:22 $ docker rm -f ab3e5b66d8f31a63b81ad135568db72956896e81de1cb54d26e27656f5ee9ad8 [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 17:25:23 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:23 provisioning config files... 17:25:23 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3679736570371544019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:23 --> edgex-publish-swagger.sh 17:25:23 === Publish openapi/v2 API === 17:25:23 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:25:23 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 17:25:23 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:23 Dload Upload Total Spent Left Speed 17:25:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 83937 --:--:-- --:--:-- --:--:-- 83937 17:25:24 17:25:24 [Pipeline] } 17:25:24 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 17:25:24 + git log --format=format:%s -1 0e45c78ae4a01ecb7618f0e8cadec166d2cd8803 [Pipeline] sh 17:25:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:25 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:25 $ docker top fe6a1d3daca1c413cca03e23182e2c66ceb6d2d16dabd8e14d693ed507622b7e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:25 [ssh-agent] Looking for ssh-agent implementation... 17:25:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:26 $ docker exec fe6a1d3daca1c413cca03e23182e2c66ceb6d2d16dabd8e14d693ed507622b7e ssh-agent 17:25:26 SSH_AUTH_SOCK=/tmp/ssh-c5BMtdo6qzCd/agent.33 17:25:26 SSH_AGENT_PID=39 17:25:26 Running ssh-add (command line suppressed) 17:25:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4518745953391764820.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4518745953391764820.key) 17:25:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:26 + git semver tag 17:25:26 2022-07-11 17:25:26,771 [run_tag] DEBUG tag force:False 17:25:26 2022-07-11 17:25:26,771 [check_head_tag] DEBUG check head tag 17:25:26 2022-07-11 17:25:26,771 [execute] INFO git cat-file --batch-check 17:25:26 2022-07-11 17:25:26,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:25:26 2022-07-11 17:25:26,774 [execute] INFO git cat-file --batch 17:25:26 2022-07-11 17:25:26,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:25:26 2022-07-11 17:25:26,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:26 2022-07-11 17:25:26,787 [execute] INFO git tag -a v2.2.1-dev.12 -m v2.2.1-dev.12 17:25:26 2022-07-11 17:25:26,787 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.12', '-m', 'v2.2.1-dev.12'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:25:26 2022-07-11 17:25:26,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:26 2.2.1-dev.12 [Pipeline] } 17:25:26 $ docker exec --env ******** --env ******** fe6a1d3daca1c413cca03e23182e2c66ceb6d2d16dabd8e14d693ed507622b7e ssh-agent -k 17:25:26 unset SSH_AUTH_SOCK; 17:25:26 unset SSH_AGENT_PID; 17:25:26 echo Agent pid 39 killed; 17:25:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:27 + git semver [Pipeline] } 17:25:27 $ docker stop --time=1 fe6a1d3daca1c413cca03e23182e2c66ceb6d2d16dabd8e14d693ed507622b7e 17:25:28 $ docker rm -f fe6a1d3daca1c413cca03e23182e2c66ceb6d2d16dabd8e14d693ed507622b7e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:29 17:25:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:29 0.23.1-centos7: Pulling from edgex-lftools 17:25:29 ab5ef0e58194: Pulling fs layer 17:25:29 9712f1f96733: Pulling fs layer 17:25:29 63f879dbbcfc: Pulling fs layer 17:25:29 0d9ebad4ef96: Pulling fs layer 17:25:29 e9a5061849ea: Pulling fs layer 17:25:29 d747dcd14b5f: Pulling fs layer 17:25:29 2de7ff778b66: Pulling fs layer 17:25:29 e9a5061849ea: Waiting 17:25:29 d747dcd14b5f: Waiting 17:25:29 2de7ff778b66: Waiting 17:25:29 0d9ebad4ef96: Waiting 17:25:29 9712f1f96733: Download complete 17:25:30 63f879dbbcfc: Verifying Checksum 17:25:30 63f879dbbcfc: Download complete 17:25:30 0d9ebad4ef96: Verifying Checksum 17:25:30 0d9ebad4ef96: Download complete 17:25:30 d747dcd14b5f: Verifying Checksum 17:25:30 d747dcd14b5f: Download complete 17:25:30 e9a5061849ea: Download complete 17:25:30 ab5ef0e58194: Verifying Checksum 17:25:30 ab5ef0e58194: Download complete 17:25:30 2de7ff778b66: Verifying Checksum 17:25:30 2de7ff778b66: Download complete 17:25:33 ab5ef0e58194: Pull complete 17:25:33 9712f1f96733: Pull complete 17:25:34 63f879dbbcfc: Pull complete 17:25:38 0d9ebad4ef96: Pull complete 17:25:38 e9a5061849ea: Pull complete 17:25:38 d747dcd14b5f: Pull complete 17:25:39 2de7ff778b66: Pull complete 17:25:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:25:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:39 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17:25:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:25:42 $ docker top e541cfc8abf8eeff9585c643f0074e63042002c7e081ba0e901e9eada612e7be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:25:42 provisioning config files... 17:25:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3559159025820576644tmp 17:25:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7011627945099058133tmp 17:25:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7788997250820087822tmp [Pipeline] { [Pipeline] echo 17:25:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:25:42 ---> sigul-configuration.sh 17:25:42 gpg: directory `/root/.gnupg' created 17:25:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:25:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:25:42 gpg: keyring `/root/.gnupg/secring.gpg' created 17:25:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:25:42 gpg: CAST5 encrypted data 17:25:42 gpg: encrypted with 1 passphrase 17:25:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:25:42 + mkdir /home/jenkins 17:25:42 + mkdir /home/jenkins/sigul [Pipeline] sh 17:25:43 + 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 17:25:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:25:43 ---> sigul-install.sh 17:25:43 Sigul already installed; skipping installation. [Pipeline] sh 17:25:43 + git tag --list 17:25:43 0.7.1 17:25:43 delhi-tag 17:25:43 v1.0.0 17:25:43 v1.1.0 17:25:43 v1.1.1 17:25:43 v1.1.2 17:25:43 v1.2.0 17:25:43 v1.2.1 17:25:43 v1.2.2 17:25:43 v1.2.3 17:25:43 v1.3.0 17:25:43 v1.4.0 17:25:43 v2.0.0 17:25:43 v2.1.0 17:25:43 v2.1.1 17:25:43 v2.1.1-dev.2 17:25:43 v2.1.1-dev.3 17:25:43 v2.2.0 17:25:43 v2.2.1-dev.1 17:25:43 v2.2.1-dev.10 17:25:43 v2.2.1-dev.11 17:25:43 v2.2.1-dev.12 17:25:43 v2.2.1-dev.2 17:25:43 v2.2.1-dev.3 17:25:43 v2.2.1-dev.4 17:25:43 v2.2.1-dev.5 17:25:43 v2.2.1-dev.6 17:25:43 v2.2.1-dev.7 17:25:43 v2.2.1-dev.8 17:25:43 v2.2.1-dev.9 [Pipeline] sh 17:25:43 + lftools sign git-tag v2.2.1-dev.12 17:25:44 Signing Git tag with Sigul... 17:25:44 Signing v2.2.1-dev.12 [Pipeline] echo 17:25:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:25:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:25:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:25:45 $ docker stop --time=1 e541cfc8abf8eeff9585c643f0074e63042002c7e081ba0e901e9eada612e7be 17:25:46 $ docker rm -f e541cfc8abf8eeff9585c643f0074e63042002c7e081ba0e901e9eada612e7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:25:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:47 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17:25: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:48 $ docker top 5a3594a210b7e9847e8c4d4e540961e38ea9f3f734ce19767c87d00bde92b1e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:48 [ssh-agent] Looking for ssh-agent implementation... 17:25:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:48 $ docker exec 5a3594a210b7e9847e8c4d4e540961e38ea9f3f734ce19767c87d00bde92b1e6 ssh-agent 17:25:48 SSH_AUTH_SOCK=/tmp/ssh-HSCDL5ZSl0QJ/agent.32 17:25:48 SSH_AGENT_PID=38 17:25:48 Running ssh-add (command line suppressed) 17:25:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8853917182228232650.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8853917182228232650.key) 17:25:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:48 + git semver bump pre 17:25:49 2022-07-11 17:25:48,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:49 2022-07-11 17:25:48,977 [bump_version] DEBUG bumping version:2.2.1-dev.12 on axis:pre with prefix:dev 17:25:49 2022-07-11 17:25:48,977 [bump_version] DEBUG bumped version:2.2.1-dev.13 17:25:49 2022-07-11 17:25:48,977 [write_version] DEBUG write version:2.2.1-dev.13 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:25:49 2022-07-11 17:25:48,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:49 2022-07-11 17:25:48,978 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:49 2022-07-11 17:25:48,980 [execute] INFO git cat-file --batch-check 17:25:49 2022-07-11 17:25:48,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:49 2022-07-11 17:25:48,985 [execute] INFO git cat-file --batch 17:25:49 2022-07-11 17:25:48,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:49 2022-07-11 17:25:48,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:49 2.2.1-dev.13 [Pipeline] } 17:25:49 $ docker exec --env ******** --env ******** 5a3594a210b7e9847e8c4d4e540961e38ea9f3f734ce19767c87d00bde92b1e6 ssh-agent -k 17:25:49 unset SSH_AUTH_SOCK; 17:25:49 unset SSH_AGENT_PID; 17:25:49 echo Agent pid 38 killed; 17:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:49 + git semver [Pipeline] } 17:25:49 $ docker stop --time=1 5a3594a210b7e9847e8c4d4e540961e38ea9f3f734ce19767c87d00bde92b1e6 17:25:51 $ docker rm -f 5a3594a210b7e9847e8c4d4e540961e38ea9f3f734ce19767c87d00bde92b1e6 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:51 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17:25:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:25:52 $ docker top 3bec629285c951799dc94d5ced7dcb547c42155c18657046cf3453cdca5d30cd -eo pid,comm 17:25:52 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). 17:25:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:52 [ssh-agent] Looking for ssh-agent implementation... 17:25:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:52 $ docker exec 3bec629285c951799dc94d5ced7dcb547c42155c18657046cf3453cdca5d30cd ssh-agent 17:25:52 SSH_AUTH_SOCK=/tmp/ssh-0eG5QLWRm7v3/agent.33 17:25:52 SSH_AGENT_PID=40 17:25:52 Running ssh-add (command line suppressed) 17:25:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879330716996531309.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879330716996531309.key) 17:25:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:53 + git semver push 17:25:53 2022-07-11 17:25:53,169 [run_push] DEBUG push 17:25:53 2022-07-11 17:25:53,170 [execute] INFO git cat-file --batch-check 17:25:53 2022-07-11 17:25:53,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:53 2022-07-11 17:25:53,173 [execute] INFO git rev-list 34b40c783cf150ea82a7a352ab96674d17a7b1ac -- 17:25:53 2022-07-11 17:25:53,174 [execute] DEBUG Popen(['git', 'rev-list', '34b40c783cf150ea82a7a352ab96674d17a7b1ac', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:53 2022-07-11 17:25:53,183 [execute] INFO git fetch -v origin 17:25:53 2022-07-11 17:25:53,183 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:25:53 2022-07-11 17:25:53,652 [run_push] DEBUG no remote changes detected 17:25:53 2022-07-11 17:25:53,652 [execute] INFO git push origin semver 17:25:53 2022-07-11 17:25:53,653 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:54 2022-07-11 17:25:54,344 [run_push] DEBUG push all version tags 17:25:54 2022-07-11 17:25:54,345 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:25:54 2022-07-11 17:25:54,345 [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) 17:25:55 2022-07-11 17:25:55,026 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:55 2.2.1-dev.13 [Pipeline] } 17:25:55 $ docker exec --env ******** --env ******** 3bec629285c951799dc94d5ced7dcb547c42155c18657046cf3453cdca5d30cd ssh-agent -k 17:25:55 unset SSH_AUTH_SOCK; 17:25:55 unset SSH_AGENT_PID; 17:25:55 echo Agent pid 40 killed; 17:25:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:55 + git semver [Pipeline] } 17:25:56 $ docker stop --time=1 3bec629285c951799dc94d5ced7dcb547c42155c18657046cf3453cdca5d30cd 17:25:57 $ docker rm -f 3bec629285c951799dc94d5ced7dcb547c42155c18657046cf3453cdca5d30cd [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 17:25:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:25:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:25:57 total 16 17:25:57 drwxr-xr-x 3 root root 4096 Jul 11 16:35 . 17:25:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 17:25 .. 17:25:57 drwxr-xr-x 2 root root 4096 Jul 11 16:35 cost 17:25:57 -rw-r--r-- 1 root root 83 Jul 11 16:35 cost.csv 17:25:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:25:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:25:57 total 16 17:25:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:35 . 17:25:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 17:25 .. 17:25:57 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 16:35 cost 17:25:57 -rw-r--r-- 1 jenkins jenkins 83 Jul 11 16:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:25:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:25:59 ---> package-listing.sh 17:25:59 ++ tr '[:upper:]' '[:lower:]' 17:25:59 ++ facter osfamily 17:25:59 + OS_FAMILY=debian 17:25:59 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:25:59 + START_PACKAGES=/tmp/packages_start.txt 17:25:59 + END_PACKAGES=/tmp/packages_end.txt 17:25:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:25:59 + PACKAGES=/tmp/packages_start.txt 17:25:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:25:59 + PACKAGES=/tmp/packages_end.txt 17:25:59 + case "${OS_FAMILY}" in 17:25:59 + dpkg -l 17:25:59 + grep '^ii' 17:25:59 + '[' -f /tmp/packages_start.txt ']' 17:25:59 + '[' -f /tmp/packages_end.txt ']' 17:25:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:25:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:25:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:25:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 17:25:59 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 17:25:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:00 prd-ubuntu20.04-docker-8c-8g-17487 does not seem to be running inside a container 17:26:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:00 $ docker top ed1a5eca0bc46820c5d4d1589783e87d23dfa93767633fd862137b7abee0173d -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:00 + touch /tmp/pre-build-complete [Pipeline] sh 17:26:01 + mkdir -p /var/log/sysstat [Pipeline] sh 17:26:01 + ls /var/log/sa-host 17:26:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:01 provisioning config files... 17:26:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3954524259410892933tmp [Pipeline] { [Pipeline] echo 17:26:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:26:01 ---> create-netrc.sh [Pipeline] } 17:26:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:26:02 ---> python-tools-install.sh [Pipeline] echo 17:26:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:26:02 ---> sudo-logs.sh 17:26:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:26:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:26:02 ---> job-cost.sh 17:26:02 lf-activate-venv: SKIPPING 17:26:02 DEBUG: total: 0.2199999988079071 17:26:02 INFO: Retrieving Stack Cost... 17:26:03 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:03 INFO: Archiving Costs [Pipeline] echo 17:26:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:26:03 ---> logs-deploy.sh 17:26:03 lf-activate-venv: SKIPPING 17:26:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/87 17:26:03 INFO: archiving workspace using pattern(s): 17:26:04 Archives upload complete. 17:26:04 INFO: archiving logs to Nexus