Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4dcd90c517d60267da088e4e26fcccd6a523ed6 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-ssh6113269914739587867.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5665178347927761235.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14305640639260514972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14713973849771413054.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh10716298157976441282.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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/v3]] ========================================================= [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.18 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/v3 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-7428’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7902’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7908’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7909’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7904’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7908 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 (main) Commit message: "Merge pull request #1355 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.24" > 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-list --no-walk 844470d981b00f1723aa71b22ce5646b0926e81e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:43:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:43:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:43:14 ========================================================= 05:43:14 EdgeX Global Pipelines Version Info 05:43:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:43:14 ------------------- 05:43:14 stable info: 05:43:14 ------------------- 05:43:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:43:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:43:14 Message: update stable to v1.0.244 05:43:15 ------------------- 05:43:15 experimental info: 05:43:15 ------------------- 05:43:15 Commited By: **** collab-it+edgex@linuxfoundation.org 05:43:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:43:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4dcd90 [Pipeline] echo 05:43:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:15 provisioning config files... 05:43:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18126635894033568342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:16 ---> docker-login.sh 05:43:16 nexus3.edgexfoundry.org:10001 05:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:17 Configure a credential helper to remove this warning. See 05:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:17 05:43:17 Login Succeeded 05:43:17 nexus3.edgexfoundry.org:10002 05:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:17 Configure a credential helper to remove this warning. See 05:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:17 05:43:17 Login Succeeded 05:43:17 nexus3.edgexfoundry.org:10003 05:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:17 Configure a credential helper to remove this warning. See 05:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:17 05:43:17 Login Succeeded 05:43:17 nexus3.edgexfoundry.org:10004 05:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:17 Configure a credential helper to remove this warning. See 05:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:17 05:43:17 Login Succeeded 05:43:17 docker.io 05:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:17 Configure a credential helper to remove this warning. See 05:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:17 05:43:17 Login Succeeded 05:43:17 ---> docker-login.sh ends [Pipeline] } 05:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:43:17 + git rev-list -1 --merges b4dcd90c517d60267da088e4e26fcccd6a523ed6~1..b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] echo 05:43:18 -----------> git rev-list -1 --merges b4dcd90c517d60267da088e4e26fcccd6a523ed6~1..b4dcd90c517d60267da088e4e26fcccd6a523ed6 b4dcd90c517d60267da088e4e26fcccd6a523ed6 05:43:18 b4dcd90c517d60267da088e4e26fcccd6a523ed6 [false] [Pipeline] sh 05:43:18 + git log --format=format:%s -1 b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] echo 05:43:18 ========================================================= 05:43:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:43:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:18 + git log --format=format:%s -1 b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] echo 05:43:18 [semverPrep] GIT_COMMIT: b4dcd90c517d60267da088e4e26fcccd6a523ed6, Commit Message: Merge pull request #1355 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.24 [Pipeline] echo 05:43:18 [semverPrep] This is not a build commit. [Pipeline] sh 05:43:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:43:19 + grep -v github /etc/ssh/ssh_known_hosts 05:43:19 + [ -e /tmp/ssh_known_hosts ] 05:43:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:43:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:43:19 + sudo tee -a /etc/ssh/ssh_known_hosts 05:43:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:19 05:43:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:19 0.1.4: Pulling from edgex-devops/py-git-semver 05:43:19 b85a868b505f: Pulling fs layer 05:43:19 e2be974225ed: Pulling fs layer 05:43:19 339a4e72a1f5: Pulling fs layer 05:43:19 988bab9f4d93: Pulling fs layer 05:43:19 1469e6f7b9e6: Pulling fs layer 05:43:19 eaf3925da568: Pulling fs layer 05:43:19 bab4dde63d76: Pulling fs layer 05:43:19 bde34c3a00c8: Pulling fs layer 05:43:19 b352a97aabf1: Pulling fs layer 05:43:19 4872d77fe225: Pulling fs layer 05:43:19 5851b861e8e6: Pulling fs layer 05:43:19 988bab9f4d93: Waiting 05:43:19 1469e6f7b9e6: Waiting 05:43:19 eaf3925da568: Waiting 05:43:19 bab4dde63d76: Waiting 05:43:19 bde34c3a00c8: Waiting 05:43:19 b352a97aabf1: Waiting 05:43:19 4872d77fe225: Waiting 05:43:19 5851b861e8e6: Waiting 05:43:19 e2be974225ed: Download complete 05:43:19 988bab9f4d93: Download complete 05:43:19 1469e6f7b9e6: Verifying Checksum 05:43:19 1469e6f7b9e6: Download complete 05:43:19 eaf3925da568: Verifying Checksum 05:43:19 eaf3925da568: Download complete 05:43:19 339a4e72a1f5: Verifying Checksum 05:43:19 339a4e72a1f5: Download complete 05:43:19 b352a97aabf1: Verifying Checksum 05:43:19 b352a97aabf1: Download complete 05:43:19 4872d77fe225: Download complete 05:43:19 5851b861e8e6: Verifying Checksum 05:43:19 5851b861e8e6: Download complete 05:43:19 b85a868b505f: Verifying Checksum 05:43:19 b85a868b505f: Download complete 05:43:20 bab4dde63d76: Verifying Checksum 05:43:20 bab4dde63d76: Download complete 05:43:21 b85a868b505f: Pull complete 05:43:21 e2be974225ed: Pull complete 05:43:21 339a4e72a1f5: Pull complete 05:43:22 988bab9f4d93: Pull complete 05:43:22 1469e6f7b9e6: Pull complete 05:43:22 eaf3925da568: Pull complete 05:43:24 bab4dde63d76: Pull complete 05:43:24 bde34c3a00c8: Pull complete 05:43:24 b352a97aabf1: Pull complete 05:43:24 4872d77fe225: Pull complete 05:43:24 5851b861e8e6: Pull complete 05:43:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:24 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:43:26 $ docker top 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 -eo pid,comm 05:43:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:43:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:26 [ssh-agent] Looking for ssh-agent implementation... 05:43:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:27 $ docker exec 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 ssh-agent 05:43:27 SSH_AUTH_SOCK=/tmp/ssh-p3fKLuhYnJYy/agent.32 05:43:27 SSH_AGENT_PID=38 05:43:27 Running ssh-add (command line suppressed) 05:43:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14779621077156554911.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14779621077156554911.key) 05:43:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:27 + git tag --points-at HEAD [Pipeline] } 05:43:27 $ docker exec --env ******** --env ******** 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 ssh-agent -k 05:43:27 unset SSH_AUTH_SOCK; 05:43:27 unset SSH_AGENT_PID; 05:43:27 echo Agent pid 38 killed; 05:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:43:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:27 [ssh-agent] Looking for ssh-agent implementation... 05:43:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:27 $ docker exec 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 ssh-agent 05:43:28 SSH_AUTH_SOCK=/tmp/ssh-4zkWSpLUhMsB/agent.70 05:43:28 SSH_AGENT_PID=76 05:43:28 Running ssh-add (command line suppressed) 05:43:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6957348428102280029.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6957348428102280029.key) 05:43:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:28 + git semver init 05:43:28 2023-03-01 05:43:28,655 [run_init] DEBUG init version:0.0.0 force:False 05:43:28 2023-03-01 05:43:28,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:43:28 2023-03-01 05:43:28,657 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:43:28 2023-03-01 05:43:28,658 [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) 05:43:30 2023-03-01 05:43:29,661 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:43:30 2023-03-01 05:43:29,662 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:43:30 2023-03-01 05:43:29,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:43:30 2023-03-01 05:43:29,662 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:43:30 3.0.0-dev.43 [Pipeline] } 05:43:30 $ docker exec --env ******** --env ******** 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 ssh-agent -k 05:43:30 unset SSH_AUTH_SOCK; 05:43:30 unset SSH_AGENT_PID; 05:43:30 echo Agent pid 76 killed; 05:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:30 + git semver [Pipeline] } 05:43:30 $ docker stop --time=1 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 05:43:32 $ docker rm -f --volumes 1a45667519095e5873e6ea133dc441719000094ecd7c94dc897d46d3e69ef811 [Pipeline] // withDockerContainer [Pipeline] sh 05:43:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:43:32 Stashed 1 file(s) [Pipeline] echo 05:43:32 [edgeXSemver]: initialized semver on version 3.0.0-dev.43 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:32 provisioning config files... 05:43:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11936589863463674829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:33 ---> docker-login.sh 05:43:33 nexus3.edgexfoundry.org:10001 05:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:33 Configure a credential helper to remove this warning. See 05:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:33 05:43:33 Login Succeeded 05:43:33 nexus3.edgexfoundry.org:10002 05:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:33 Configure a credential helper to remove this warning. See 05:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:33 05:43:33 Login Succeeded 05:43:33 nexus3.edgexfoundry.org:10003 05:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:33 Configure a credential helper to remove this warning. See 05:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:33 05:43:33 Login Succeeded 05:43:33 nexus3.edgexfoundry.org:10004 05:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:33 Configure a credential helper to remove this warning. See 05:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:33 05:43:33 Login Succeeded 05:43:33 docker.io 05:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:33 Configure a credential helper to remove this warning. See 05:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:33 05:43:33 Login Succeeded 05:43:33 ---> docker-login.sh ends [Pipeline] } 05:43:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:33 ========================================================= 05:43:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:43:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:34 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 05:43:34 Sending build context to Docker daemon 10.58MB 05:43:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:43:34 Step 2/10 : FROM ${BASE} AS builder 05:43:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:34 213ec9aee27d: Pulling fs layer 05:43:34 4583459ba037: Pulling fs layer 05:43:34 93c1e223e6f2: Pulling fs layer 05:43:34 53926ce57604: Pulling fs layer 05:43:34 21b2b0c7a3f4: Pulling fs layer 05:43:34 22ff95d597cd: Pulling fs layer 05:43:34 12d6caf4c0d1: Pulling fs layer 05:43:34 96b7cbca73a9: Pulling fs layer 05:43:34 a7acece74701: Pulling fs layer 05:43:34 22ff95d597cd: Waiting 05:43:34 12d6caf4c0d1: Waiting 05:43:34 96b7cbca73a9: Waiting 05:43:34 53926ce57604: Waiting 05:43:34 a7acece74701: Waiting 05:43:34 93c1e223e6f2: Verifying Checksum 05:43:34 93c1e223e6f2: Download complete 05:43:34 4583459ba037: Download complete 05:43:34 21b2b0c7a3f4: Verifying Checksum 05:43:34 21b2b0c7a3f4: Download complete 05:43:34 22ff95d597cd: Verifying Checksum 05:43:34 22ff95d597cd: Download complete 05:43:34 213ec9aee27d: Verifying Checksum 05:43:34 12d6caf4c0d1: Download complete 05:43:34 213ec9aee27d: Pull complete 05:43:34 4583459ba037: Pull complete 05:43:34 93c1e223e6f2: Pull complete 05:43:35 a7acece74701: Verifying Checksum 05:43:35 a7acece74701: Download complete 05:43:35 53926ce57604: Verifying Checksum 05:43:35 53926ce57604: Download complete 05:43:35 96b7cbca73a9: Verifying Checksum 05:43:35 96b7cbca73a9: Download complete 05:43:39 53926ce57604: Pull complete 05:43:39 21b2b0c7a3f4: Pull complete 05:43:39 22ff95d597cd: Pull complete 05:43:39 12d6caf4c0d1: Pull complete 05:43:41 96b7cbca73a9: Pull complete 05:43:42 a7acece74701: Pull complete 05:43:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:43:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:43:42 ---> db6d94c90886 05:43:42 Step 3/10 : ARG MAKE=make build 05:43:45 ---> Running in 5d81db4e7042 05:43:45 Removing intermediate container 5d81db4e7042 05:43:45 ---> 0cbb5875be68 05:43:45 Step 4/10 : WORKDIR /device-sdk-go 05:43:45 ---> Running in 85588f09ea6a 05:43:45 Removing intermediate container 85588f09ea6a 05:43:45 ---> ecd0eda56530 05:43:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:43:45 ---> Running in bc636e85b62d 05:43:45 Removing intermediate container bc636e85b62d 05:43:45 ---> 51e9faa8ffe4 05:43:45 Step 6/10 : RUN apk add --update --no-cache make git 05:43:45 ---> Running in b7034c0f694b 05:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:43:46 OK: 211 MiB in 51 packages 05:43:46 Removing intermediate container b7034c0f694b 05:43:46 ---> 33f86706d97f 05:43:46 Step 7/10 : COPY go.mod vendor* ./ 05:43:46 ---> 0d011e48a79a 05:43:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:47 ---> Running in 6f383bb92ac5 05:43:47 Still waiting to schedule task 05:43:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:44:13 Removing intermediate container 6f383bb92ac5 05:44:13 ---> d72f673bf451 05:44:13 Step 9/10 : COPY . . 05:44:13 ---> ee549f76cf57 05:44:13 Step 10/10 : RUN ${MAKE} 05:44:13 ---> Running in 60d00eb95d14 05:44:13 noop 05:44:13 Removing intermediate container 60d00eb95d14 05:44:13 ---> 8561d0bddc5c 05:44:13 Successfully built 8561d0bddc5c 05:44:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:13 + docker inspect -f . ci-base-image-x86_64 05:44:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:14 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:44:14 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:44:14 $ docker top e2860b83fdd38351eb4d354cc64edd901429f5f63a9d7b9e87be6cbf5babbe93 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:14 + go version 05:44:14 go version go1.18.7 linux/amd64 [Pipeline] } 05:44:14 $ docker stop --time=1 e2860b83fdd38351eb4d354cc64edd901429f5f63a9d7b9e87be6cbf5babbe93 05:44:16 $ docker rm -f --volumes e2860b83fdd38351eb4d354cc64edd901429f5f63a9d7b9e87be6cbf5babbe93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:16 + docker inspect -f . ci-base-image-x86_64 05:44:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:16 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:44:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat 05:44:17 $ docker top 5c1571a70df22813df96ec37b5ef8becf19bff183512b7abe9fd9004bf255b2d -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:44:17 + make test 05:44:17 go test -race -coverprofile=coverage.out ./... 05:44:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:44:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.073s coverage: 27.6% of statements 05:44:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:44:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.120s coverage: 86.0% of statements 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:44:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.0% of statements 05:44:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:44:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 15.3% of statements 05:44:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:44:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 65.2% of statements 05:44:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:44:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:44:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.752s coverage: 89.2% of statements 05:44:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:44:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements 05:44:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:44:54 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:44:54 GO111MODULE=on go vet ./... 05:44:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:57 ./bin/test-attribution-txt.sh [Pipeline] echo 05:44:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:44:58 $ docker stop --time=1 5c1571a70df22813df96ec37b5ef8becf19bff183512b7abe9fd9004bf255b2d 05:45:00 $ docker rm -f --volumes 5c1571a70df22813df96ec37b5ef8becf19bff183512b7abe9fd9004bf255b2d [Pipeline] // withDockerContainer [Pipeline] sh 05:45:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:01 + ls -al . 05:45:01 total 280 05:45:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 05:44 . 05:45:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:43 .. 05:45:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:43 .dockerignore 05:45:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:44 .git 05:45:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:43 .github 05:45:01 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:43 .gitignore 05:45:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:43 .golangci.yml 05:45:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:43 .semver 05:45:01 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:43 CHANGELOG.md 05:45:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:43 GOVERNANCE.md 05:45:01 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:43 Jenkinsfile 05:45:01 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:43 LICENSE 05:45:01 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:43 Makefile 05:45:01 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:43 OWNERS.md 05:45:01 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:43 README.md 05:45:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 05:43 VERSION 05:45:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:43 bin 05:45:01 -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:44 coverage.out 05:45:01 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:43 example 05:45:01 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:43 go.mod 05:45:01 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:43 go.sum 05:45:01 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:43 internal 05:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:43 openapi 05:45:01 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:43 pkg 05:45:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:43 snap 05:45:01 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:02 + 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=b4dcd90c517d60267da088e4e26fcccd6a523ed6 --label arch=amd64 --label version=3.0.0-dev.43 . 05:45:02 Sending build context to Docker daemon 10.69MB 05:45:02 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:45:02 Step 2/23 : FROM ${BASE} AS builder 05:45:02 ---> 8561d0bddc5c 05:45:02 Step 3/23 : ARG MAKE=make build 05:45:02 ---> Running in 1e476fa5478a 05:45:02 Removing intermediate container 1e476fa5478a 05:45:02 ---> 224f97cf0721 05:45:02 Step 4/23 : WORKDIR /device-sdk-go 05:45:02 ---> Running in 8c919594ed4a 05:45:02 Removing intermediate container 8c919594ed4a 05:45:02 ---> 6a1eeb53c0be 05:45:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:45:02 ---> Running in f21673b85eae 05:45:02 Removing intermediate container f21673b85eae 05:45:02 ---> 7a8bc2da7054 05:45:02 Step 6/23 : RUN apk add --update --no-cache make git 05:45:02 ---> Running in 46f6edd94550 05:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:45:03 OK: 211 MiB in 51 packages 05:45:03 Removing intermediate container 46f6edd94550 05:45:03 ---> abd37b665841 05:45:03 Step 7/23 : COPY go.mod vendor* ./ 05:45:03 ---> d81a26ac7296 05:45:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:03 ---> Running in 09b7264e2190 05:45:04 Removing intermediate container 09b7264e2190 05:45:04 ---> 790a1c6b4d99 05:45:04 Step 9/23 : COPY . . 05:45:04 ---> dc110adbdf1f 05:45:04 Step 10/23 : RUN ${MAKE} 05:45:04 ---> Running in fd6cf8114a74 05:45:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.43" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:45:23 Removing intermediate container fd6cf8114a74 05:45:23 ---> 2eb323a5991a 05:45:23 Step 11/23 : FROM alpine:3.16 05:45:23 3.16: Pulling from library/alpine 05:45:23 ef5531b6e74e: Pulling fs layer 05:45:24 ef5531b6e74e: Verifying Checksum 05:45:24 ef5531b6e74e: Download complete 05:45:24 ef5531b6e74e: Pull complete 05:45:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:45:24 Status: Downloaded newer image for alpine:3.16 05:45:24 ---> dfd21b5a31f5 05:45:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:45:24 ---> Running in a5a226b86d4f 05:45:24 Removing intermediate container a5a226b86d4f 05:45:24 ---> d8bb4c89e1b2 05:45:24 Step 13/23 : RUN apk add --update --no-cache 05:45:24 ---> Running in 5ff237d0ede3 05:45:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:45:25 OK: 6 MiB in 14 packages 05:45:25 Removing intermediate container 5ff237d0ede3 05:45:25 ---> 5bf1c828364a 05:45:25 Step 14/23 : WORKDIR / 05:45:25 ---> Running in 59bce4aa5c9a 05:45:25 Removing intermediate container 59bce4aa5c9a 05:45:25 ---> a1ca4f4bf240 05:45:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:45:25 ---> 83018fb22114 05:45:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:45:26 ---> 256751f3f7d2 05:45:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:45:26 ---> ba1af2cb942d 05:45:26 Step 18/23 : EXPOSE 59999 05:45:26 ---> Running in abdb3390274c 05:45:26 Removing intermediate container abdb3390274c 05:45:26 ---> 97944cf07ce0 05:45:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:45:26 ---> Running in f9dc0df26e75 05:45:26 Removing intermediate container f9dc0df26e75 05:45:26 ---> 8789b89d0da1 05:45:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:45:26 ---> Running in 23a26ee067a9 05:45:26 Removing intermediate container 23a26ee067a9 05:45:26 ---> 4953c95d85f1 05:45:26 Step 21/23 : LABEL arch=amd64 05:45:26 ---> Running in b2ac0b1bc52a 05:45:26 Removing intermediate container b2ac0b1bc52a 05:45:26 ---> 7a27a0eb9f01 05:45:26 Step 22/23 : LABEL git_sha=b4dcd90c517d60267da088e4e26fcccd6a523ed6 05:45:26 ---> Running in 89d21e57c252 05:45:27 Removing intermediate container 89d21e57c252 05:45:27 ---> b91ffb551d97 05:45:27 Step 23/23 : LABEL version=3.0.0-dev.43 05:45:27 ---> Running in c9749ce3997b 05:45:27 Removing intermediate container c9749ce3997b 05:45:27 ---> 3894a22f0de9 05:45:27 [Warning] One or more build-args [ARCH] were not consumed 05:45:27 Successfully built 3894a22f0de9 05:45:27 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 05:45:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:27 05:45:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:27 latest: Pulling from edgex-lftools-log-publisher 05:45:27 5eb5b503b376: Pulling fs layer 05:45:27 5c69ac0246d0: Pulling fs layer 05:45:27 ec43610c2a17: Pulling fs layer 05:45:27 3a2ae6a8a46f: Pulling fs layer 05:45:27 33b1e0a273af: Pulling fs layer 05:45:27 5d3b04190fa2: Pulling fs layer 05:45:27 2f39f015ded8: Pulling fs layer 05:45:27 33b1e0a273af: Waiting 05:45:27 5d3b04190fa2: Waiting 05:45:27 2f39f015ded8: Waiting 05:45:27 3a2ae6a8a46f: Waiting 05:45:27 5c69ac0246d0: Verifying Checksum 05:45:27 5c69ac0246d0: Download complete 05:45:27 3a2ae6a8a46f: Verifying Checksum 05:45:27 3a2ae6a8a46f: Download complete 05:45:28 33b1e0a273af: Verifying Checksum 05:45:28 33b1e0a273af: Download complete 05:45:28 5d3b04190fa2: Verifying Checksum 05:45:28 5d3b04190fa2: Download complete 05:45:28 ec43610c2a17: Download complete 05:45:28 5eb5b503b376: Verifying Checksum 05:45:28 5eb5b503b376: Download complete 05:45:28 2f39f015ded8: Download complete 05:45:29 5eb5b503b376: Pull complete 05:45:29 5c69ac0246d0: Pull complete 05:45:29 ec43610c2a17: Pull complete 05:45:29 3a2ae6a8a46f: Pull complete 05:45:29 33b1e0a273af: Pull complete 05:45:29 5d3b04190fa2: Pull complete 05:45:34 2f39f015ded8: Pull complete 05:45:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:34 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:36 $ docker top 438b568c1b19856bc9a26fcf106dec728112a68efacfc6d2228df1ba4579ea88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:36 ---> job-cost.sh 05:45:36 lf-activate-venv: SKIPPING 05:45:36 INFO: No Stack... 05:45:37 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:37 INFO: Archiving Costs [Pipeline] sh 05:45:37 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:45:37 + cut -d, -f6 [Pipeline] lock 05:45:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] 05:45:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] did not exist. Created. 05:45:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:38 + echo total: 0.2199999988079071 [Pipeline] stash 05:45:38 Stashed 1 file(s) [Pipeline] } 05:45:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:38 $ docker stop --time=1 438b568c1b19856bc9a26fcf106dec728112a68efacfc6d2228df1ba4579ea88 05:45:39 $ docker rm -f --volumes 438b568c1b19856bc9a26fcf106dec728112a68efacfc6d2228df1ba4579ea88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:46:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7912 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:46:41 Running in /w/workspace/device-sdk-go/173 [Pipeline] { [Pipeline] checkout 05:46:41 The recommended git tool is: git 05:46:48 using credential edgex-jenkins-ssh 05:46:48 Cloning the remote Git repository 05:46:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:46:48 > git init /w/workspace/device-sdk-go/173 # timeout=10 05:46:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:46:48 > git --version # timeout=10 05:46:48 > git --version # 'git version 2.25.1' 05:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:52 Avoid second fetch 05:46:52 Checking out Revision b4dcd90c517d60267da088e4e26fcccd6a523ed6 (main) 05:46:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:46:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:46:52 > git config core.sparsecheckout # timeout=10 05:46:52 > git checkout -f b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 05:46:52 Commit message: "Merge pull request #1355 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.24" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:46:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:53 Dload Upload Total Spent Left Speed 05:46:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 05:46:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:46:54 + sudo tee /etc/docker/daemon.new 05:46:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:46:54 { 05:46:54 "registry-mirrors": [ 05:46:54 "https://nexus3.edgexfoundry.org:10001" 05:46:54 ], 05:46:54 "bip": "10.250.0.254/24", 05:46:54 "hosts": [ 05:46:54 "tcp://0.0.0.0:5555", 05:46:54 "unix:///var/run/docker.sock" 05:46:54 ], 05:46:54 "mtu": 1458, 05:46:54 "selinux-enabled": true, 05:46:54 "seccomp-profile": "/etc/docker/seccomp.json" 05:46:54 } [Pipeline] sh 05:46:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:46:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:13 provisioning config files... 05:47:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/173@tmp/config448228196885729761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:14 ---> docker-login.sh 05:47:14 nexus3.edgexfoundry.org:10001 05:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:14 Configure a credential helper to remove this warning. See 05:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:14 05:47:14 Login Succeeded 05:47:14 nexus3.edgexfoundry.org:10002 05:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:15 Configure a credential helper to remove this warning. See 05:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:15 05:47:15 Login Succeeded 05:47:15 nexus3.edgexfoundry.org:10003 05:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:15 Configure a credential helper to remove this warning. See 05:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:15 05:47:15 Login Succeeded 05:47:15 nexus3.edgexfoundry.org:10004 05:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:16 Configure a credential helper to remove this warning. See 05:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:16 05:47:16 Login Succeeded 05:47:16 docker.io 05:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:16 Configure a credential helper to remove this warning. See 05:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:16 05:47:16 Login Succeeded 05:47:16 ---> docker-login.sh ends [Pipeline] } 05:47:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:47:16 ========================================================= 05:47:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:47:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:17 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 05:47:17 Sending build context to Docker daemon 5.679MB 05:47:17 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:47:17 Step 2/10 : FROM ${BASE} AS builder 05:47:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:47:17 9b18e9b68314: Pulling fs layer 05:47:17 35d82f9e3411: Pulling fs layer 05:47:17 e16973657156: Pulling fs layer 05:47:17 fc693d55d65f: Pulling fs layer 05:47:17 7e9fc2657dce: Pulling fs layer 05:47:17 dda99020689f: Pulling fs layer 05:47:17 db1c61fa0a46: Pulling fs layer 05:47:17 891c053d2c06: Pulling fs layer 05:47:17 dda99020689f: Waiting 05:47:17 db1c61fa0a46: Waiting 05:47:17 7e9fc2657dce: Waiting 05:47:17 fc693d55d65f: Waiting 05:47:17 e16973657156: Download complete 05:47:17 35d82f9e3411: Verifying Checksum 05:47:17 35d82f9e3411: Download complete 05:47:18 7e9fc2657dce: Verifying Checksum 05:47:18 7e9fc2657dce: Download complete 05:47:18 dda99020689f: Verifying Checksum 05:47:18 dda99020689f: Download complete 05:47:18 9b18e9b68314: Verifying Checksum 05:47:19 9b18e9b68314: Pull complete 05:47:19 891c053d2c06: Verifying Checksum 05:47:19 891c053d2c06: Download complete 05:47:19 35d82f9e3411: Pull complete 05:47:20 e16973657156: Pull complete 05:47:20 db1c61fa0a46: Verifying Checksum 05:47:20 db1c61fa0a46: Download complete 05:47:21 fc693d55d65f: Verifying Checksum 05:47:21 fc693d55d65f: Download complete 05:47:33 fc693d55d65f: Pull complete 05:47:33 7e9fc2657dce: Pull complete 05:47:33 dda99020689f: Pull complete 05:47:40 db1c61fa0a46: Pull complete 05:47:42 891c053d2c06: Pull complete 05:47:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:47:42 ---> f96f9c87975a 05:47:42 Step 3/10 : ARG MAKE=make build 05:47:42 ---> Running in ee388197a8e0 05:47:43 Removing intermediate container ee388197a8e0 05:47:43 ---> c2407926e57f 05:47:43 Step 4/10 : WORKDIR /device-sdk-go 05:47:43 ---> Running in 6fcf55c755cf 05:47:43 Removing intermediate container 6fcf55c755cf 05:47:43 ---> 446d2d57e61f 05:47:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:47:43 ---> Running in 2eb464b933d8 05:47:44 Removing intermediate container 2eb464b933d8 05:47:44 ---> eac1198914fe 05:47:44 Step 6/10 : RUN apk add --update --no-cache make git 05:47:44 ---> Running in 567dd94e2b84 05:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:47:46 OK: 221 MiB in 51 packages 05:47:47 Removing intermediate container 567dd94e2b84 05:47:47 ---> 34335a3b9cbe 05:47:47 Step 7/10 : COPY go.mod vendor* ./ 05:47:48 ---> 76422796661f 05:47:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:48 ---> Running in 800344658a2d 05:48:56 Removing intermediate container 800344658a2d 05:48:56 ---> 43c8b908dbdc 05:48:56 Step 9/10 : COPY . . 05:48:56 ---> 676be23e7ea0 05:48:56 Step 10/10 : RUN ${MAKE} 05:48:56 ---> Running in 77e0491196ba 05:48:57 noop 05:48:58 Removing intermediate container 77e0491196ba 05:48:58 ---> e23d4696ff01 05:48:58 Successfully built e23d4696ff01 05:48:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:58 + docker inspect -f . ci-base-image-arm64 05:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:58 prd-ubuntu20.04-docker-arm64-4c-16g-7912 does not seem to be running inside a container 05:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/173 -v /w/workspace/device-sdk-go/173:/w/workspace/device-sdk-go/173:rw,z -v /w/workspace/device-sdk-go/173@tmp:/w/workspace/device-sdk-go/173@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 05:49:00 $ docker top c144d73b8f161ae2eb074d23ba07180ce1fdd8caab7173bf68e90361ef431a90 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:01 + go version 05:49:01 go version go1.18.7 linux/arm64 [Pipeline] } 05:49:01 $ docker stop --time=1 c144d73b8f161ae2eb074d23ba07180ce1fdd8caab7173bf68e90361ef431a90 05:49:02 $ docker rm -f --volumes c144d73b8f161ae2eb074d23ba07180ce1fdd8caab7173bf68e90361ef431a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:03 + docker inspect -f . ci-base-image-arm64 05:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:03 prd-ubuntu20.04-docker-arm64-4c-16g-7912 does not seem to be running inside a container 05:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/173 -v /w/workspace/device-sdk-go/173:/w/workspace/device-sdk-go/173:rw,z -v /w/workspace/device-sdk-go/173@tmp:/w/workspace/device-sdk-go/173@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 05:49:05 $ docker top c02b011ff65a7c73291d13bbf94d0928ea59a3457e609ec505aa818c47eca050 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:05 + git config --global --add safe.directory /w/workspace/device-sdk-go/173 [Pipeline] fileExists [Pipeline] sh 05:49:06 + make test 05:49:06 go test -race -coverprofile=coverage.out ./... 05:49:45 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:52:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:52:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:52:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:52:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:52:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:52:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.310s coverage: 27.6% of statements 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.348s coverage: 78.9% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:52:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.517s coverage: 86.0% of statements 05:52:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:52:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:52:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.551s coverage: 75.0% of statements 05:52:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:52:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.338s coverage: 15.3% of statements 05:52:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.529s coverage: 65.2% of statements 05:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:52:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.445s coverage: 89.2% of statements 05:52:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:52:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.268s coverage: 4.6% of statements 05:52:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:52:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:52:36 GO111MODULE=on go vet ./... 05:54:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:54:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:54:28 ./bin/test-attribution-txt.sh [Pipeline] echo 05:54:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:54:28 $ docker stop --time=1 c02b011ff65a7c73291d13bbf94d0928ea59a3457e609ec505aa818c47eca050 05:54:30 $ docker rm -f --volumes c02b011ff65a7c73291d13bbf94d0928ea59a3457e609ec505aa818c47eca050 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:31 Warning: overwriting stash ‘coverage-report’ 05:54:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:33 + ls -al . 05:54:33 total 276 05:54:33 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 05:49 . 05:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:46 .. 05:54:33 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:46 .dockerignore 05:54:33 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:46 .git 05:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:46 .github 05:54:33 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:46 .gitignore 05:54:33 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:46 .golangci.yml 05:54:33 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:46 CHANGELOG.md 05:54:33 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:46 GOVERNANCE.md 05:54:33 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:46 Jenkinsfile 05:54:33 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:46 LICENSE 05:54:33 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:46 Makefile 05:54:33 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:46 OWNERS.md 05:54:33 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:46 README.md 05:54:33 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 05:43 VERSION 05:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:46 bin 05:54:33 -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:52 coverage.out 05:54:33 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:46 example 05:54:33 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:46 go.mod 05:54:33 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:46 go.sum 05:54:33 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:46 internal 05:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:46 openapi 05:54:33 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:46 pkg 05:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:46 snap 05:54:33 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:33 + 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=b4dcd90c517d60267da088e4e26fcccd6a523ed6 --label arch=arm64 --label version=3.0.0-dev.43 . 05:54:33 Sending build context to Docker daemon 5.791MB 05:54:34 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:54:34 Step 2/23 : FROM ${BASE} AS builder 05:54:34 ---> e23d4696ff01 05:54:34 Step 3/23 : ARG MAKE=make build 05:54:34 ---> Running in 02291faa1b82 05:54:34 Removing intermediate container 02291faa1b82 05:54:34 ---> fde03ce1e3ea 05:54:34 Step 4/23 : WORKDIR /device-sdk-go 05:54:34 ---> Running in acf7701e345b 05:54:34 Removing intermediate container acf7701e345b 05:54:34 ---> 0fe5a773d37b 05:54:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:54:34 ---> Running in b37433a036ea 05:54:35 Removing intermediate container b37433a036ea 05:54:35 ---> 474763c88bf1 05:54:35 Step 6/23 : RUN apk add --update --no-cache make git 05:54:35 ---> Running in 221a7423ff62 05:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:54:38 OK: 221 MiB in 51 packages 05:54:40 Removing intermediate container 221a7423ff62 05:54:40 ---> 5fff35517eec 05:54:40 Step 7/23 : COPY go.mod vendor* ./ 05:54:40 ---> b3a061dac853 05:54:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:40 ---> Running in 7a90c0f10442 05:54:43 Removing intermediate container 7a90c0f10442 05:54:43 ---> f4d697e85ac5 05:54:43 Step 9/23 : COPY . . 05:54:44 ---> 7879a3a0070e 05:54:44 Step 10/23 : RUN ${MAKE} 05:54:44 ---> Running in 736a1f575ade 05:54:45 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.43" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:57:08 Removing intermediate container 736a1f575ade 05:57:08 ---> ccd1c1bc134c 05:57:08 Step 11/23 : FROM alpine:3.16 05:57:08 3.16: Pulling from library/alpine 05:57:08 3760b48202b3: Pulling fs layer 05:57:08 3760b48202b3: Verifying Checksum 05:57:08 3760b48202b3: Download complete 05:57:08 3760b48202b3: Pull complete 05:57:08 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:57:08 Status: Downloaded newer image for alpine:3.16 05:57:08 ---> 4c81e5bf8899 05:57:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:57:08 ---> Running in 1e11f5b6dff8 05:57:08 Removing intermediate container 1e11f5b6dff8 05:57:08 ---> 7ab9b323ba58 05:57:08 Step 13/23 : RUN apk add --update --no-cache 05:57:08 ---> Running in 50e7b723b786 05:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:57:08 OK: 5 MiB in 14 packages 05:57:08 Removing intermediate container 50e7b723b786 05:57:08 ---> 763e860de0b7 05:57:08 Step 14/23 : WORKDIR / 05:57:08 ---> Running in a1cb54080a59 05:57:08 Removing intermediate container a1cb54080a59 05:57:08 ---> b739542e2497 05:57:08 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:57:08 ---> 3e5057bdc9b6 05:57:08 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:57:10 ---> 5b39eadcd206 05:57:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:57:10 ---> 553c27a22cfe 05:57:10 Step 18/23 : EXPOSE 59999 05:57:10 ---> Running in 1ebc5d58b9b6 05:57:11 Removing intermediate container 1ebc5d58b9b6 05:57:11 ---> ec286a127575 05:57:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:57:11 ---> Running in 909cc3917a21 05:57:11 Removing intermediate container 909cc3917a21 05:57:11 ---> a4241ab22aa0 05:57:11 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:57:11 ---> Running in b21922ff41d5 05:57:11 Removing intermediate container b21922ff41d5 05:57:11 ---> 681d4e632625 05:57:11 Step 21/23 : LABEL arch=arm64 05:57:11 ---> Running in 842db70dcdc0 05:57:12 Removing intermediate container 842db70dcdc0 05:57:12 ---> c7c74f1c76cd 05:57:12 Step 22/23 : LABEL git_sha=b4dcd90c517d60267da088e4e26fcccd6a523ed6 05:57:12 ---> Running in 0d06d59d5e00 05:57:12 Removing intermediate container 0d06d59d5e00 05:57:12 ---> 079ec7d59a1b 05:57:12 Step 23/23 : LABEL version=3.0.0-dev.43 05:57:12 ---> Running in 5ebad5024196 05:57:13 Removing intermediate container 5ebad5024196 05:57:13 ---> 48c4658c9988 05:57:13 [Warning] One or more build-args [ARCH] were not consumed 05:57:13 Successfully built 48c4658c9988 05:57:13 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 05:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:57:13 05:57:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:57:13 arm64: Pulling from edgex-lftools-log-publisher 05:57:13 8998bd30e6a1: Pulling fs layer 05:57:13 04944245beec: Pulling fs layer 05:57:13 699f458cf7ca: Pulling fs layer 05:57:13 765212b225bb: Pulling fs layer 05:57:13 f23df028b6ca: Pulling fs layer 05:57:13 d65c8cfc05b1: Pulling fs layer 05:57:13 2437ff75d9bd: Pulling fs layer 05:57:13 765212b225bb: Waiting 05:57:13 f23df028b6ca: Waiting 05:57:13 d65c8cfc05b1: Waiting 05:57:13 2437ff75d9bd: Waiting 05:57:14 04944245beec: Verifying Checksum 05:57:14 04944245beec: Download complete 05:57:14 765212b225bb: Verifying Checksum 05:57:14 765212b225bb: Download complete 05:57:14 f23df028b6ca: Verifying Checksum 05:57:14 f23df028b6ca: Download complete 05:57:14 d65c8cfc05b1: Verifying Checksum 05:57:14 d65c8cfc05b1: Download complete 05:57:14 699f458cf7ca: Verifying Checksum 05:57:14 699f458cf7ca: Download complete 05:57:14 8998bd30e6a1: Verifying Checksum 05:57:14 8998bd30e6a1: Download complete 05:57:17 2437ff75d9bd: Verifying Checksum 05:57:17 2437ff75d9bd: Download complete 05:57:18 8998bd30e6a1: Pull complete 05:57:19 04944245beec: Pull complete 05:57:20 699f458cf7ca: Pull complete 05:57:20 765212b225bb: Pull complete 05:57:21 f23df028b6ca: Pull complete 05:57:21 d65c8cfc05b1: Pull complete 05:57:36 2437ff75d9bd: Pull complete 05:57:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:57:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:37 prd-ubuntu20.04-docker-arm64-4c-16g-7912 does not seem to be running inside a container 05:57: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/device-sdk-go/173 -v /w/workspace/device-sdk-go/173:/w/workspace/device-sdk-go/173:rw,z -v /w/workspace/device-sdk-go/173@tmp:/w/workspace/device-sdk-go/173@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 05:57:40 $ docker top 0d5a0ed77708f0b3ecbe23ff4ce1e144e515b8664a3276695aa2c9192a785556 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:40 ---> job-cost.sh 05:57:40 lf-activate-venv: SKIPPING 05:57:40 INFO: No Stack... 05:57:41 INFO: Retrieving Pricing Info for: v3-standard-4 05:57:42 INFO: Archiving Costs [Pipeline] sh 05:57:42 + + catcut /w/workspace/device-sdk-go/173/archives/cost.csv -d, 05:57:42 -f6 [Pipeline] lock 05:57:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] 05:57:42 Resource [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] did not exist. Created. 05:57:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:57:43 /w/workspace/device-sdk-go/173@tmp/durable-70331bfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:57:44 + echo total: 0.10999999940395355 [Pipeline] stash 05:57:44 Warning: overwriting stash ‘stack-cost’ 05:57:44 Stashed 1 file(s) [Pipeline] } 05:57:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 05:57:44 $ docker stop --time=1 0d5a0ed77708f0b3ecbe23ff4ce1e144e515b8664a3276695aa2c9192a785556 05:57:45 $ docker rm -f --volumes 0d5a0ed77708f0b3ecbe23ff4ce1e144e515b8664a3276695aa2c9192a785556 [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 05:57:46 provisioning config files... 05:57:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17332968985959464603tmp [Pipeline] { [Pipeline] sh 05:57:46 + set +x 05:57:46 + curl -s https://codecov.io/bash 05:57:46 + bash -s -- 05:57:46 05:57:46 _____ _ 05:57:46 / ____| | | 05:57:46 | | ___ __| | ___ ___ _____ __ 05:57:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:57:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:57:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:57:46 Bash-1.0.6 05:57:46 05:57:46 05:57:46 ==> git version 2.25.1 found 05:57:46 ==> 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 05:57:46 Release-Date: 2020-01-08 05:57:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:57:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:57:46 ==> Jenkins CI detected. 05:57:46 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:57:46 project root: . 05:57:46 --> token set from env 05:57:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:57:46 ==> Running gcov in . (disable via -X gcov) 05:57:46 ==> Python coveragepy not found 05:57:46 ==> Searching for coverage reports in: 05:57:46 + . 05:57:46 -> Found 1 reports 05:57:46 ==> Detecting git/mercurial file structure 05:57:46 ==> Reading reports 05:57:46 + ./coverage.out bytes=111243 05:57:46 ==> Appending adjustments 05:57:46 https://docs.codecov.io/docs/fixing-reports 05:57:46 + Found adjustments 05:57:46 ==> Gzipping contents 05:57:47 16K /tmp/codecov.EbLB4V.gz 05:57:47 ==> Uploading reports 05:57:47 url: https://codecov.io 05:57:47 query: branch=main&commit=b4dcd90c517d60267da088e4e26fcccd6a523ed6&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:57:47 -> Pinging Codecov 05:57:47 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=b4dcd90c517d60267da088e4e26fcccd6a523ed6&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:57:47 -> Uploading to 05:57:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/b4dcd90c517d60267da088e4e26fcccd6a523ed6/f9d6a659-f652-4827-a4ca-0ab8d82cabbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T055747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8df2014d1024233d12be722a197690fc5caa11d8474a41ec30de7fd09132d99 05:57:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:57:47 Dload Upload Total Spent Left Speed 05:57:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15410 0 0 100 15410 0 54260 --:--:-- --:--:-- --:--:-- 54260 05:57:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] } 05:57:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:57:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:57:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:57:48 05:57:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:57:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:57:48 df9b9388f04a: Pulling fs layer 05:57:48 52dc419b0ee2: Pulling fs layer 05:57:48 25bc292e5bac: Pulling fs layer 05:57:48 114826534d7a: Pulling fs layer 05:57:48 4657fd5d0bcf: Pulling fs layer 05:57:48 6ad1cebc031e: Pulling fs layer 05:57:48 8a3aa393b2d8: Pulling fs layer 05:57:48 4657fd5d0bcf: Waiting 05:57:48 6ad1cebc031e: Waiting 05:57:48 8a3aa393b2d8: Waiting 05:57:48 114826534d7a: Waiting 05:57:48 25bc292e5bac: Verifying Checksum 05:57:48 25bc292e5bac: Download complete 05:57:48 52dc419b0ee2: Verifying Checksum 05:57:48 52dc419b0ee2: Download complete 05:57:48 4657fd5d0bcf: Verifying Checksum 05:57:48 4657fd5d0bcf: Download complete 05:57:48 df9b9388f04a: Verifying Checksum 05:57:48 df9b9388f04a: Download complete 05:57:48 df9b9388f04a: Pull complete 05:57:48 52dc419b0ee2: Pull complete 05:57:48 6ad1cebc031e: Verifying Checksum 05:57:48 6ad1cebc031e: Download complete 05:57:48 25bc292e5bac: Pull complete 05:57:49 114826534d7a: Verifying Checksum 05:57:49 114826534d7a: Download complete 05:57:49 8a3aa393b2d8: Verifying Checksum 05:57:49 8a3aa393b2d8: Download complete 05:57:52 114826534d7a: Pull complete 05:57:52 4657fd5d0bcf: Pull complete 05:57:52 6ad1cebc031e: Pull complete 05:57:55 8a3aa393b2d8: Pull complete 05:57:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:57:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:55 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:57:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:57:57 $ docker top 8f1686b365c0c9e6a9e7dcc82ba8c2b73e4bc844edab20c39df3ee75cbe7ba48 -eo pid,comm [Pipeline] { [Pipeline] echo 05:57:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:57:57 + set -o pipefail 05:57:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:58:04 05:58:04 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:58:04 05:58:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/060b4264-721d-4c92-8ee2-1c128818619e 05:58:04 05:58:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:58:04 05:58:04 05:58:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:58:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:58:04 More details here: https://snyk.co/ue1NS [Pipeline] } 05:58:04 $ docker stop --time=1 8f1686b365c0c9e6a9e7dcc82ba8c2b73e4bc844edab20c39df3ee75cbe7ba48 05:58:06 $ docker rm -f --volumes 8f1686b365c0c9e6a9e7dcc82ba8c2b73e4bc844edab20c39df3ee75cbe7ba48 [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 05:58:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:06 provisioning config files... 05:58:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config649862315316874493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:07 --> edgex-publish-swagger.sh 05:58:07 === Publish openapi/v3 API === 05:58:07 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:58:07 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:58:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:58:07 Dload Upload Total Spent Left Speed 05:58:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 50257 --:--:-- --:--:-- --:--:-- 50257 05:58:07 05:58:07 [Pipeline] } 05:58:07 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 05:58:07 + git log --format=format:%s -1 b4dcd90c517d60267da088e4e26fcccd6a523ed6 [Pipeline] sh 05:58:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:08 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:58:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:08 $ docker top 81aa5ad6ac4933378702512bbed7639ab1d6fc8bf9674fe92f002e1cd8612c92 -eo pid,comm 05:58:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:58:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:08 [ssh-agent] Looking for ssh-agent implementation... 05:58:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:09 $ docker exec 81aa5ad6ac4933378702512bbed7639ab1d6fc8bf9674fe92f002e1cd8612c92 ssh-agent 05:58:09 SSH_AUTH_SOCK=/tmp/ssh-BqGtgORnZdOO/agent.32 05:58:09 SSH_AGENT_PID=38 05:58:09 Running ssh-add (command line suppressed) 05:58:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8059884288886221905.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8059884288886221905.key) 05:58:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:09 + git semver tag 05:58:09 2023-03-01 05:58:09,781 [run_tag] DEBUG tag force:False 05:58:09 2023-03-01 05:58:09,781 [check_head_tag] DEBUG check head tag 05:58:09 2023-03-01 05:58:09,782 [execute] INFO git cat-file --batch-check 05:58:09 2023-03-01 05:58:09,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:58:09 2023-03-01 05:58:09,786 [execute] INFO git cat-file --batch 05:58:09 2023-03-01 05:58:09,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:58:09 2023-03-01 05:58:09,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:09 2023-03-01 05:58:09,813 [execute] INFO git tag -a v3.0.0-dev.43 -m v3.0.0-dev.43 05:58:09 2023-03-01 05:58:09,813 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.43', '-m', 'v3.0.0-dev.43'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:58:09 2023-03-01 05:58:09,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:09 3.0.0-dev.43 [Pipeline] } 05:58:09 $ docker exec --env ******** --env ******** 81aa5ad6ac4933378702512bbed7639ab1d6fc8bf9674fe92f002e1cd8612c92 ssh-agent -k 05:58:09 unset SSH_AUTH_SOCK; 05:58:09 unset SSH_AGENT_PID; 05:58:09 echo Agent pid 38 killed; 05:58:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:10 + git semver [Pipeline] } 05:58:10 $ docker stop --time=1 81aa5ad6ac4933378702512bbed7639ab1d6fc8bf9674fe92f002e1cd8612c92 05:58:11 $ docker rm -f --volumes 81aa5ad6ac4933378702512bbed7639ab1d6fc8bf9674fe92f002e1cd8612c92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:58:12 05:58:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:58:12 0.23.1-centos7: Pulling from edgex-lftools 05:58:12 ab5ef0e58194: Pulling fs layer 05:58:12 9712f1f96733: Pulling fs layer 05:58:12 63f879dbbcfc: Pulling fs layer 05:58:12 0d9ebad4ef96: Pulling fs layer 05:58:12 e9a5061849ea: Pulling fs layer 05:58:12 d747dcd14b5f: Pulling fs layer 05:58:12 2de7ff778b66: Pulling fs layer 05:58:12 0d9ebad4ef96: Waiting 05:58:12 2de7ff778b66: Waiting 05:58:12 e9a5061849ea: Waiting 05:58:12 d747dcd14b5f: Waiting 05:58:12 9712f1f96733: Verifying Checksum 05:58:12 9712f1f96733: Download complete 05:58:13 63f879dbbcfc: Verifying Checksum 05:58:13 63f879dbbcfc: Download complete 05:58:13 ab5ef0e58194: Verifying Checksum 05:58:13 ab5ef0e58194: Download complete 05:58:13 e9a5061849ea: Verifying Checksum 05:58:13 e9a5061849ea: Download complete 05:58:13 d747dcd14b5f: Download complete 05:58:13 0d9ebad4ef96: Verifying Checksum 05:58:13 0d9ebad4ef96: Download complete 05:58:13 2de7ff778b66: Verifying Checksum 05:58:13 2de7ff778b66: Download complete 05:58:15 ab5ef0e58194: Pull complete 05:58:15 9712f1f96733: Pull complete 05:58:16 63f879dbbcfc: Pull complete 05:58:19 0d9ebad4ef96: Pull complete 05:58:19 e9a5061849ea: Pull complete 05:58:20 d747dcd14b5f: Pull complete 05:58:20 2de7ff778b66: Pull complete 05:58:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:58:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:21 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:58:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:58:23 $ docker top c6f380913e61e3d4c40a00a10c04d2163781318a3493c9cb513bc3054b7fce3a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:58:23 provisioning config files... 05:58:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10678542915878049279tmp 05:58:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8827771351290985410tmp 05:58:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11549351651659507265tmp [Pipeline] { [Pipeline] echo 05:58:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:58:23 ---> sigul-configuration.sh 05:58:23 gpg: directory `/root/.gnupg' created 05:58:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:58:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:58:23 gpg: keyring `/root/.gnupg/secring.gpg' created 05:58:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:58:23 gpg: CAST5 encrypted data 05:58:23 gpg: encrypted with 1 passphrase 05:58:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:58:24 + mkdir /home/jenkins 05:58:24 + mkdir /home/jenkins/sigul [Pipeline] sh 05:58:24 + 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 05:58:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:58:24 ---> sigul-install.sh 05:58:24 Sigul already installed; skipping installation. [Pipeline] sh 05:58:24 + git tag --list 05:58:24 0.7.1 05:58:24 delhi-tag 05:58:24 v1.0.0 05:58:24 v1.1.0 05:58:24 v1.1.1 05:58:24 v1.1.2 05:58:24 v1.2.0 05:58:24 v1.2.1 05:58:24 v1.2.2 05:58:24 v1.2.3 05:58:24 v1.3.0 05:58:24 v1.4.0 05:58:24 v2.0.0 05:58:24 v2.1.0 05:58:24 v2.1.1 05:58:24 v2.1.1-dev.2 05:58:24 v2.1.1-dev.3 05:58:24 v2.2.0 05:58:24 v2.2.1-dev.1 05:58:24 v2.2.1-dev.10 05:58:24 v2.2.1-dev.11 05:58:24 v2.2.1-dev.12 05:58:24 v2.2.1-dev.13 05:58:24 v2.2.1-dev.14 05:58:24 v2.2.1-dev.2 05:58:24 v2.2.1-dev.3 05:58:24 v2.2.1-dev.4 05:58:24 v2.2.1-dev.5 05:58:24 v2.2.1-dev.6 05:58:24 v2.2.1-dev.7 05:58:24 v2.2.1-dev.8 05:58:24 v2.2.1-dev.9 05:58:24 v2.3.0 05:58:24 v2.3.0-dev.14 05:58:24 v2.3.0-dev.15 05:58:24 v2.3.0-dev.16 05:58:24 v2.3.0-dev.17 05:58:24 v2.3.0-dev.18 05:58:24 v2.3.0-dev.19 05:58:24 v2.3.0-dev.20 05:58:24 v2.3.0-dev.21 05:58:24 v2.3.0-dev.22 05:58:24 v2.3.0-dev.23 05:58:24 v2.3.0-dev.24 05:58:24 v2.3.0-dev.25 05:58:24 v2.3.0-dev.26 05:58:24 v2.3.0-dev.27 05:58:24 v2.3.0-dev.28 05:58:24 v2.3.0-dev.29 05:58:24 v2.3.0-dev.30 05:58:24 v2.3.0-dev.31 05:58:24 v2.3.0-dev.32 05:58:24 v2.3.0-dev.33 05:58:24 v2.3.0-dev.34 05:58:24 v2.3.0-dev.35 05:58:24 v2.3.0-dev.36 05:58:24 v2.3.0-dev.37 05:58:24 v2.3.0-dev.38 05:58:24 v2.3.0-dev.39 05:58:24 v2.3.0-dev.40 05:58:24 v2.3.0-dev.41 05:58:24 v2.3.0-dev.42 05:58:24 v2.3.0-dev.43 05:58:24 v2.3.0-dev.44 05:58:24 v2.3.0-dev.45 05:58:24 v2.3.0-dev.46 05:58:24 v2.3.0-dev.47 05:58:24 v2.3.0-dev.48 05:58:24 v2.3.0-dev.49 05:58:24 v2.3.0-dev.50 05:58:24 v2.3.0-dev.51 05:58:24 v2.3.1-dev.1 05:58:24 v2.3.1-dev.2 05:58:24 v3.0.0-dev.1 05:58:24 v3.0.0-dev.10 05:58:24 v3.0.0-dev.11 05:58:24 v3.0.0-dev.12 05:58:24 v3.0.0-dev.13 05:58:24 v3.0.0-dev.14 05:58:24 v3.0.0-dev.15 05:58:24 v3.0.0-dev.16 05:58:24 v3.0.0-dev.17 05:58:24 v3.0.0-dev.18 05:58:24 v3.0.0-dev.19 05:58:24 v3.0.0-dev.2 05:58:24 v3.0.0-dev.20 05:58:24 v3.0.0-dev.21 05:58:24 v3.0.0-dev.22 05:58:24 v3.0.0-dev.23 05:58:24 v3.0.0-dev.24 05:58:24 v3.0.0-dev.25 05:58:24 v3.0.0-dev.26 05:58:24 v3.0.0-dev.27 05:58:24 v3.0.0-dev.28 05:58:24 v3.0.0-dev.29 05:58:24 v3.0.0-dev.3 05:58:24 v3.0.0-dev.30 05:58:24 v3.0.0-dev.31 05:58:24 v3.0.0-dev.32 05:58:24 v3.0.0-dev.33 05:58:24 v3.0.0-dev.34 05:58:24 v3.0.0-dev.35 05:58:24 v3.0.0-dev.36 05:58:24 v3.0.0-dev.37 05:58:24 v3.0.0-dev.38 05:58:24 v3.0.0-dev.39 05:58:24 v3.0.0-dev.4 05:58:24 v3.0.0-dev.40 05:58:24 v3.0.0-dev.41 05:58:24 v3.0.0-dev.42 05:58:24 v3.0.0-dev.43 05:58:24 v3.0.0-dev.5 05:58:24 v3.0.0-dev.6 05:58:24 v3.0.0-dev.7 05:58:24 v3.0.0-dev.8 05:58:24 v3.0.0-dev.9 [Pipeline] sh 05:58:25 + lftools sign git-tag v3.0.0-dev.43 05:58:25 Signing Git tag with Sigul... 05:58:25 Signing v3.0.0-dev.43 [Pipeline] echo 05:58:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:58:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:58:26 $ docker stop --time=1 c6f380913e61e3d4c40a00a10c04d2163781318a3493c9cb513bc3054b7fce3a 05:58:27 $ docker rm -f --volumes c6f380913e61e3d4c40a00a10c04d2163781318a3493c9cb513bc3054b7fce3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:58:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:28 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:58:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:28 $ docker top 2e9cefd8e5cdccee1eb1935c34df8aa7a1ad398939bd4354b961920dfaef7147 -eo pid,comm 05:58:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:58:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:28 [ssh-agent] Looking for ssh-agent implementation... 05:58:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:29 $ docker exec 2e9cefd8e5cdccee1eb1935c34df8aa7a1ad398939bd4354b961920dfaef7147 ssh-agent 05:58:29 SSH_AUTH_SOCK=/tmp/ssh-6fGMoy0gsf6o/agent.31 05:58:29 SSH_AGENT_PID=37 05:58:29 Running ssh-add (command line suppressed) 05:58:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16829666937882644949.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16829666937882644949.key) 05:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:29 + git semver bump pre 05:58:29 2023-03-01 05:58:29,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:29 2023-03-01 05:58:29,681 [bump_version] DEBUG bumping version:3.0.0-dev.43 on axis:pre with prefix:dev 05:58:29 2023-03-01 05:58:29,681 [bump_version] DEBUG bumped version:3.0.0-dev.44 05:58:29 2023-03-01 05:58:29,681 [write_version] DEBUG write version:3.0.0-dev.44 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:58:29 2023-03-01 05:58:29,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:29 2023-03-01 05:58:29,682 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:29 2023-03-01 05:58:29,683 [execute] INFO git cat-file --batch-check 05:58:29 2023-03-01 05:58:29,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:58:29 2023-03-01 05:58:29,687 [execute] INFO git cat-file --batch 05:58:29 2023-03-01 05:58:29,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:58:29 2023-03-01 05:58:29,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:29 3.0.0-dev.44 [Pipeline] } 05:58:29 $ docker exec --env ******** --env ******** 2e9cefd8e5cdccee1eb1935c34df8aa7a1ad398939bd4354b961920dfaef7147 ssh-agent -k 05:58:29 unset SSH_AUTH_SOCK; 05:58:29 unset SSH_AGENT_PID; 05:58:29 echo Agent pid 37 killed; 05:58:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:30 + git semver [Pipeline] } 05:58:30 $ docker stop --time=1 2e9cefd8e5cdccee1eb1935c34df8aa7a1ad398939bd4354b961920dfaef7147 05:58:31 $ docker rm -f --volumes 2e9cefd8e5cdccee1eb1935c34df8aa7a1ad398939bd4354b961920dfaef7147 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:32 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:58:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:32 $ docker top 8724408f77840c26c1d9ec73e8b765d3c87800d141e18fe56d4c9aa7ff55feb7 -eo pid,comm 05:58: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). 05:58:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:32 [ssh-agent] Looking for ssh-agent implementation... 05:58:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:33 $ docker exec 8724408f77840c26c1d9ec73e8b765d3c87800d141e18fe56d4c9aa7ff55feb7 ssh-agent 05:58:33 SSH_AUTH_SOCK=/tmp/ssh-B1O0rGSBBLBo/agent.32 05:58:33 SSH_AGENT_PID=38 05:58:33 Running ssh-add (command line suppressed) 05:58:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3127193894688581175.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3127193894688581175.key) 05:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:33 + git semver push 05:58:33 2023-03-01 05:58:33,699 [run_push] DEBUG push 05:58:33 2023-03-01 05:58:33,700 [execute] INFO git cat-file --batch-check 05:58:33 2023-03-01 05:58:33,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:58:33 2023-03-01 05:58:33,704 [execute] INFO git rev-list b42b66cfb3537461950fe58668edf2aff830dd26 -- 05:58:33 2023-03-01 05:58:33,704 [execute] DEBUG Popen(['git', 'rev-list', 'b42b66cfb3537461950fe58668edf2aff830dd26', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:58:33 2023-03-01 05:58:33,716 [execute] INFO git fetch -v origin 05:58:33 2023-03-01 05:58:33,716 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:58:34 2023-03-01 05:58:34,228 [run_push] DEBUG no remote changes detected 05:58:34 2023-03-01 05:58:34,229 [execute] INFO git push origin semver 05:58:34 2023-03-01 05:58:34,229 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:58:35 2023-03-01 05:58:35,089 [run_push] DEBUG push all version tags 05:58:35 2023-03-01 05:58:35,089 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:58:35 2023-03-01 05:58:35,090 [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) 05:58:36 2023-03-01 05:58:35,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:58:36 3.0.0-dev.44 [Pipeline] } 05:58:36 $ docker exec --env ******** --env ******** 8724408f77840c26c1d9ec73e8b765d3c87800d141e18fe56d4c9aa7ff55feb7 ssh-agent -k 05:58:36 unset SSH_AUTH_SOCK; 05:58:36 unset SSH_AGENT_PID; 05:58:36 echo Agent pid 38 killed; 05:58:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:36 + git semver [Pipeline] } 05:58:36 $ docker stop --time=1 8724408f77840c26c1d9ec73e8b765d3c87800d141e18fe56d4c9aa7ff55feb7 05:58:38 $ docker rm -f --volumes 8724408f77840c26c1d9ec73e8b765d3c87800d141e18fe56d4c9aa7ff55feb7 [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 05:58:38 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:58:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:58:38 total 16 05:58:38 drwxr-xr-x 3 root root 4096 Mar 1 05:45 . 05:58:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:58 .. 05:58:38 drwxr-xr-x 2 root root 4096 Mar 1 05:45 cost 05:58:38 -rw-r--r-- 1 root root 85 Mar 1 05:45 cost.csv 05:58:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:58:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:58:38 total 16 05:58:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:45 . 05:58:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:58 .. 05:58:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 05:45 cost 05:58:38 -rw-r--r-- 1 jenkins jenkins 85 Mar 1 05:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:58:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:58:39 ---> package-listing.sh 05:58:39 ++ tr '[:upper:]' '[:lower:]' 05:58:39 ++ facter osfamily 05:58:40 + OS_FAMILY=debian 05:58:40 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:58:40 + START_PACKAGES=/tmp/packages_start.txt 05:58:40 + END_PACKAGES=/tmp/packages_end.txt 05:58:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:58:40 + PACKAGES=/tmp/packages_start.txt 05:58:40 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:58:40 + PACKAGES=/tmp/packages_end.txt 05:58:40 + case "${OS_FAMILY}" in 05:58:40 + dpkg -l 05:58:40 + grep '^ii' 05:58:40 + '[' -f /tmp/packages_start.txt ']' 05:58:40 + '[' -f /tmp/packages_end.txt ']' 05:58:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:58:40 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:58:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:58:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:58:40 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 05:58:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:41 prd-ubuntu20.04-docker-8c-8g-7908 does not seem to be running inside a container 05:58:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:58:41 $ docker top b7566c814f0bc2ee87d5755639d113c3ba0f95b4d00309dfeed7ce6b77f70859 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:58:42 + mkdir -p /var/log/sysstat [Pipeline] sh 05:58:42 + ls /var/log/sa-host 05:58:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:42 provisioning config files... 05:58:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7784710099666657480tmp [Pipeline] { [Pipeline] echo 05:58:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:58:42 ---> create-netrc.sh [Pipeline] } 05:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:58:43 ---> python-tools-install.sh [Pipeline] echo 05:58:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:58:43 ---> sudo-logs.sh 05:58:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:58:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:58:43 ---> job-cost.sh 05:58:43 lf-activate-venv: SKIPPING 05:58:43 DEBUG: total: 0.2199999988079071 05:58:43 INFO: Retrieving Stack Cost... 05:58:43 INFO: Retrieving Pricing Info for: v3-standard-8 05:58:44 INFO: Archiving Costs [Pipeline] echo 05:58:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:58:44 ---> logs-deploy.sh 05:58:44 lf-activate-venv: SKIPPING 05:58:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/173 05:58:44 INFO: archiving workspace using pattern(s): 05:58:45 Archives upload complete. 05:58:45 INFO: archiving logs to Nexus