Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 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-ssh14701957129188505398.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-ssh17406603422532199385.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-ssh17579705099209270135.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-ssh7061079337673431937.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-ssh9619469526999905917.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7725 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 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 (main) Commit message: "Merge pull request #1352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.34" > 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 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 > git rev-list --no-walk 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:44:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:44:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:44:44 ========================================================= 15:44:44 EdgeX Global Pipelines Version Info 15:44:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:44:45 ------------------- 15:44:45 stable info: 15:44:45 ------------------- 15:44:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:44:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:44:45 Message: update stable to v1.0.244 15:44:46 ------------------- 15:44:46 experimental info: 15:44:46 ------------------- 15:44:46 Commited By: **** collab-it+edgex@linuxfoundation.org 15:44:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:44:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acdf2d5 [Pipeline] echo 15:44:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:46 provisioning config files... 15:44:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8621872181596537448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:47 ---> docker-login.sh 15:44:47 nexus3.edgexfoundry.org:10001 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 nexus3.edgexfoundry.org:10002 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 nexus3.edgexfoundry.org:10003 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 nexus3.edgexfoundry.org:10004 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 docker.io 15:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:48 Configure a credential helper to remove this warning. See 15:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:48 15:44:48 Login Succeeded 15:44:48 ---> docker-login.sh ends [Pipeline] } 15:44:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:44:48 + git rev-list -1 --merges acdf2d5cdad6fc08cdfb18917d876b8970fb9c96~1..acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] echo 15:44:48 -----------> git rev-list -1 --merges acdf2d5cdad6fc08cdfb18917d876b8970fb9c96~1..acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 15:44:48 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [false] [Pipeline] sh 15:44:48 + git log --format=format:%s -1 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] echo 15:44:48 ========================================================= 15:44:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:44:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:49 + git log --format=format:%s -1 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] echo 15:44:49 [semverPrep] GIT_COMMIT: acdf2d5cdad6fc08cdfb18917d876b8970fb9c96, Commit Message: Merge pull request #1352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.34 [Pipeline] echo 15:44:49 [semverPrep] This is not a build commit. [Pipeline] sh 15:44:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:49 + grep -v github /etc/ssh/ssh_known_hosts 15:44:49 + [ -e /tmp/ssh_known_hosts ] 15:44:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:44:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:44:49 + sudo tee -a /etc/ssh/ssh_known_hosts 15:44:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:49 15:44:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:50 0.1.4: Pulling from edgex-devops/py-git-semver 15:44:50 b85a868b505f: Pulling fs layer 15:44:50 e2be974225ed: Pulling fs layer 15:44:50 339a4e72a1f5: Pulling fs layer 15:44:50 988bab9f4d93: Pulling fs layer 15:44:50 1469e6f7b9e6: Pulling fs layer 15:44:50 eaf3925da568: Pulling fs layer 15:44:50 bab4dde63d76: Pulling fs layer 15:44:50 bde34c3a00c8: Pulling fs layer 15:44:50 988bab9f4d93: Waiting 15:44:50 eaf3925da568: Waiting 15:44:50 b352a97aabf1: Pulling fs layer 15:44:50 4872d77fe225: Pulling fs layer 15:44:50 5851b861e8e6: Pulling fs layer 15:44:50 bab4dde63d76: Waiting 15:44:50 bde34c3a00c8: Waiting 15:44:50 b352a97aabf1: Waiting 15:44:50 4872d77fe225: Waiting 15:44:50 5851b861e8e6: Waiting 15:44:50 e2be974225ed: Verifying Checksum 15:44:50 e2be974225ed: Download complete 15:44:50 988bab9f4d93: Verifying Checksum 15:44:50 988bab9f4d93: Download complete 15:44:50 1469e6f7b9e6: Verifying Checksum 15:44:50 1469e6f7b9e6: Download complete 15:44:50 339a4e72a1f5: Verifying Checksum 15:44:50 339a4e72a1f5: Download complete 15:44:50 eaf3925da568: Verifying Checksum 15:44:50 eaf3925da568: Download complete 15:44:50 bde34c3a00c8: Download complete 15:44:50 b352a97aabf1: Verifying Checksum 15:44:50 b352a97aabf1: Download complete 15:44:50 4872d77fe225: Download complete 15:44:50 5851b861e8e6: Download complete 15:44:50 b85a868b505f: Verifying Checksum 15:44:50 b85a868b505f: Download complete 15:44:50 bab4dde63d76: Verifying Checksum 15:44:50 bab4dde63d76: Download complete 15:44:51 b85a868b505f: Pull complete 15:44:51 e2be974225ed: Pull complete 15:44:52 339a4e72a1f5: Pull complete 15:44:52 988bab9f4d93: Pull complete 15:44:52 1469e6f7b9e6: Pull complete 15:44:52 eaf3925da568: Pull complete 15:44:54 bab4dde63d76: Pull complete 15:44:54 bde34c3a00c8: Pull complete 15:44:54 b352a97aabf1: Pull complete 15:44:54 4872d77fe225: Pull complete 15:44:54 5851b861e8e6: Pull complete 15:44:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:44:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:54 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 15:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:44:56 $ docker top 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 -eo pid,comm 15:44:56 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). 15:44:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:56 [ssh-agent] Looking for ssh-agent implementation... 15:44:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:56 $ docker exec 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 ssh-agent 15:44:56 SSH_AUTH_SOCK=/tmp/ssh-95bMfTx4JwfM/agent.33 15:44:56 SSH_AGENT_PID=39 15:44:56 Running ssh-add (command line suppressed) 15:44:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6006580009149131724.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6006580009149131724.key) 15:44:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:57 + git tag --points-at HEAD [Pipeline] } 15:44:57 $ docker exec --env ******** --env ******** 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 ssh-agent -k 15:44:57 unset SSH_AUTH_SOCK; 15:44:57 unset SSH_AGENT_PID; 15:44:57 echo Agent pid 39 killed; 15:44:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:57 [ssh-agent] Looking for ssh-agent implementation... 15:44:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:57 $ docker exec 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 ssh-agent 15:44:57 SSH_AUTH_SOCK=/tmp/ssh-AUplwIAPs2zg/agent.71 15:44:57 SSH_AGENT_PID=77 15:44:57 Running ssh-add (command line suppressed) 15:44:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4159217479763306180.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4159217479763306180.key) 15:44:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:57 + git semver init 15:44:58 2023-02-28 15:44:58,090 [run_init] DEBUG init version:0.0.0 force:False 15:44:58 2023-02-28 15:44:58,091 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:44:58 2023-02-28 15:44:58,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:44:58 2023-02-28 15:44:58,092 [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) 15:44:59 2023-02-28 15:44:59,047 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:44:59 2023-02-28 15:44:59,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:44:59 2023-02-28 15:44:59,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:44:59 2023-02-28 15:44:59,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:44:59 3.0.0-dev.39 [Pipeline] } 15:44:59 $ docker exec --env ******** --env ******** 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 ssh-agent -k 15:44:59 unset SSH_AUTH_SOCK; 15:44:59 unset SSH_AGENT_PID; 15:44:59 echo Agent pid 77 killed; 15:44:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:59 + git semver [Pipeline] } 15:44:59 $ docker stop --time=1 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 15:45:01 $ docker rm -f --volumes 43be57e3694c56430f984222ec2a993bae65e4b135515f7e8fa178a95aef6068 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:45:01 Stashed 1 file(s) [Pipeline] echo 15:45:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [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 15:45:01 provisioning config files... 15:45:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5060438029905892806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:02 ---> docker-login.sh 15:45:02 nexus3.edgexfoundry.org:10001 15:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:02 Configure a credential helper to remove this warning. See 15:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:02 15:45:02 Login Succeeded 15:45:02 nexus3.edgexfoundry.org:10002 15:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:02 Configure a credential helper to remove this warning. See 15:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:02 15:45:02 Login Succeeded 15:45:02 nexus3.edgexfoundry.org:10003 15:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:02 Configure a credential helper to remove this warning. See 15:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:02 15:45:02 Login Succeeded 15:45:02 nexus3.edgexfoundry.org:10004 15:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:02 Configure a credential helper to remove this warning. See 15:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:02 15:45:02 Login Succeeded 15:45:02 docker.io 15:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:03 Configure a credential helper to remove this warning. See 15:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:03 15:45:03 Login Succeeded 15:45:03 ---> docker-login.sh ends [Pipeline] } 15:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:45:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:03 ========================================================= 15:45:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:45:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:03 + 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 . 15:45:03 Sending build context to Docker daemon 10.56MB 15:45:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:45:03 Step 2/10 : FROM ${BASE} AS builder 15:45:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:45:03 213ec9aee27d: Pulling fs layer 15:45:03 4583459ba037: Pulling fs layer 15:45:03 93c1e223e6f2: Pulling fs layer 15:45:03 53926ce57604: Pulling fs layer 15:45:03 21b2b0c7a3f4: Pulling fs layer 15:45:03 22ff95d597cd: Pulling fs layer 15:45:03 12d6caf4c0d1: Pulling fs layer 15:45:03 96b7cbca73a9: Pulling fs layer 15:45:03 a7acece74701: Pulling fs layer 15:45:03 21b2b0c7a3f4: Waiting 15:45:03 22ff95d597cd: Waiting 15:45:03 12d6caf4c0d1: Waiting 15:45:03 a7acece74701: Waiting 15:45:03 96b7cbca73a9: Waiting 15:45:03 53926ce57604: Waiting 15:45:04 93c1e223e6f2: Verifying Checksum 15:45:04 93c1e223e6f2: Download complete 15:45:04 4583459ba037: Download complete 15:45:04 21b2b0c7a3f4: Verifying Checksum 15:45:04 21b2b0c7a3f4: Download complete 15:45:04 22ff95d597cd: Verifying Checksum 15:45:04 22ff95d597cd: Download complete 15:45:04 213ec9aee27d: Download complete 15:45:04 12d6caf4c0d1: Download complete 15:45:04 213ec9aee27d: Pull complete 15:45:04 4583459ba037: Pull complete 15:45:04 93c1e223e6f2: Pull complete 15:45:04 a7acece74701: Download complete 15:45:05 96b7cbca73a9: Verifying Checksum 15:45:05 96b7cbca73a9: Download complete 15:45:05 53926ce57604: Verifying Checksum 15:45:05 53926ce57604: Download complete 15:45:09 53926ce57604: Pull complete 15:45:09 21b2b0c7a3f4: Pull complete 15:45:10 22ff95d597cd: Pull complete 15:45:10 12d6caf4c0d1: Pull complete 15:45:12 96b7cbca73a9: Pull complete 15:45:12 a7acece74701: Pull complete 15:45:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:45:13 ---> db6d94c90886 15:45:13 Step 3/10 : ARG MAKE=make build 15:45:15 ---> Running in 1d55166a2c70 15:45:15 Removing intermediate container 1d55166a2c70 15:45:15 ---> a239c119f801 15:45:15 Step 4/10 : WORKDIR /device-sdk-go 15:45:15 ---> Running in 527bdb1dbf0b 15:45:15 Removing intermediate container 527bdb1dbf0b 15:45:15 ---> c28dfba66d0e 15:45:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:45:15 ---> Running in e2c965c1cbe3 15:45:15 Removing intermediate container e2c965c1cbe3 15:45:15 ---> c4151cf2d7ca 15:45:15 Step 6/10 : RUN apk add --update --no-cache make git 15:45:15 ---> Running in e6f770df937a 15:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:45:16 OK: 211 MiB in 51 packages 15:45:16 Removing intermediate container e6f770df937a 15:45:16 ---> 9c53ed672792 15:45:16 Step 7/10 : COPY go.mod vendor* ./ 15:45:16 ---> d7d86f8e2761 15:45:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:16 ---> Running in 2eaa712454e6 15:45:16 Still waiting to schedule task 15:45:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:45:43 Removing intermediate container 2eaa712454e6 15:45:43 ---> b8903947eb8b 15:45:43 Step 9/10 : COPY . . 15:45:43 ---> d1dbf65fdfa0 15:45:43 Step 10/10 : RUN ${MAKE} 15:45:43 ---> Running in c36584caf896 15:45:43 noop 15:45:43 Removing intermediate container c36584caf896 15:45:43 ---> cf6b4cead761 15:45:43 Successfully built cf6b4cead761 15:45:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:43 + docker inspect -f . ci-base-image-x86_64 15:45:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:43 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 15:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:45:43 $ docker top 4ef59984a755c58feb64c1f74e24811a0266fd03d1d9ef36fb78fb3cd293aace -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:44 + go version 15:45:44 go version go1.18.7 linux/amd64 [Pipeline] } 15:45:44 $ docker stop --time=1 4ef59984a755c58feb64c1f74e24811a0266fd03d1d9ef36fb78fb3cd293aace 15:45:45 $ docker rm -f --volumes 4ef59984a755c58feb64c1f74e24811a0266fd03d1d9ef36fb78fb3cd293aace [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:46 + docker inspect -f . ci-base-image-x86_64 15:45:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:46 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 15:45:46 $ 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 ******** ci-base-image-x86_64 cat 15:45:46 $ docker top 207cb407233345b18e1e8709609d505ccf7aaa4b90783a438064caac2c2c3721 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:45:47 + make test 15:45:47 go test -race -coverprofile=coverage.out ./... 15:45:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:46:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements 15:46:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.086s coverage: 78.9% of statements 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:46:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.111s coverage: 86.0% of statements 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:46:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.088s coverage: 74.7% of statements 15:46:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:46:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 15.5% of statements 15:46:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:46:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 65.2% of statements 15:46:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:46:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:46:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.761s coverage: 89.2% of statements 15:46:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:46:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.075s coverage: 4.6% of statements 15:46:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:46:30 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." 15:46:30 GO111MODULE=on go vet ./... 15:46:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:46:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:46:31 ./bin/test-attribution-txt.sh [Pipeline] echo 15:46:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:46:31 $ docker stop --time=1 207cb407233345b18e1e8709609d505ccf7aaa4b90783a438064caac2c2c3721 15:46:33 $ docker rm -f --volumes 207cb407233345b18e1e8709609d505ccf7aaa4b90783a438064caac2c2c3721 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:46:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:46:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:46:34 + ls -al . 15:46:34 total 280 15:46:34 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 15:45 . 15:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 15:44 .. 15:46:34 -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 15:44 .dockerignore 15:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 15:46 .git 15:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 15:44 .github 15:46:34 -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 15:44 .gitignore 15:46:34 -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 15:44 .golangci.yml 15:46:34 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 15:44 .semver 15:46:34 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 15:44 CHANGELOG.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 15:44 GOVERNANCE.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 15:44 Jenkinsfile 15:46:34 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 15:44 LICENSE 15:46:34 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 15:44 Makefile 15:46:34 -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 15:44 OWNERS.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 15:44 README.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 12 Feb 28 15:45 VERSION 15:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 15:44 bin 15:46:34 -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 15:46 coverage.out 15:46:34 drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 15:44 example 15:46:34 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 15:44 go.mod 15:46:34 -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 15:44 go.sum 15:46:34 drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 15:44 internal 15:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 15:44 openapi 15:46:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 15:44 pkg 15:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 15:44 snap 15:46:34 -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 15:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:35 + 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=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 --label arch=amd64 --label version=3.0.0-dev.39 . 15:46:35 Sending build context to Docker daemon 10.67MB 15:46:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:46:35 Step 2/23 : FROM ${BASE} AS builder 15:46:35 ---> cf6b4cead761 15:46:35 Step 3/23 : ARG MAKE=make build 15:46:35 ---> Running in a8e43e3b6c2b 15:46:35 Removing intermediate container a8e43e3b6c2b 15:46:35 ---> 5974e578104c 15:46:35 Step 4/23 : WORKDIR /device-sdk-go 15:46:35 ---> Running in 8f9368983fec 15:46:35 Removing intermediate container 8f9368983fec 15:46:35 ---> 481cd93a2e2d 15:46:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:46:35 ---> Running in e9c33568fa4f 15:46:35 Removing intermediate container e9c33568fa4f 15:46:35 ---> 14d89e64216d 15:46:35 Step 6/23 : RUN apk add --update --no-cache make git 15:46:35 ---> Running in ed756a7c8938 15:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:46:36 OK: 211 MiB in 51 packages 15:46:36 Removing intermediate container ed756a7c8938 15:46:36 ---> 6a6cfc72a3bf 15:46:36 Step 7/23 : COPY go.mod vendor* ./ 15:46:36 ---> afd430fe1694 15:46:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:36 ---> Running in 201a44338fbf 15:46:37 Removing intermediate container 201a44338fbf 15:46:37 ---> e78e85204ba6 15:46:37 Step 9/23 : COPY . . 15:46:38 ---> 60d224363dfb 15:46:38 Step 10/23 : RUN ${MAKE} 15:46:38 ---> Running in 01475efdc68a 15:46:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:47:00 Removing intermediate container 01475efdc68a 15:47:00 ---> e29cdd5dacfa 15:47:00 Step 11/23 : FROM alpine:3.16 15:47:00 3.16: Pulling from library/alpine 15:47:00 ef5531b6e74e: Pulling fs layer 15:47:00 ef5531b6e74e: Verifying Checksum 15:47:00 ef5531b6e74e: Download complete 15:47:00 ef5531b6e74e: Pull complete 15:47:00 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:47:00 Status: Downloaded newer image for alpine:3.16 15:47:00 ---> dfd21b5a31f5 15:47:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:47:00 ---> Running in 5051c6f80b00 15:47:00 Removing intermediate container 5051c6f80b00 15:47:00 ---> 19df9a76b727 15:47:00 Step 13/23 : RUN apk add --update --no-cache 15:47:00 ---> Running in 7cf9069c3441 15:47:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:47:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:47:00 OK: 6 MiB in 14 packages 15:47:00 Removing intermediate container 7cf9069c3441 15:47:00 ---> 7b9f38939b52 15:47:00 Step 14/23 : WORKDIR / 15:47:00 ---> Running in 82e19a60bb21 15:47:00 Removing intermediate container 82e19a60bb21 15:47:00 ---> 98017feedd19 15:47:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:47:00 ---> eb766e6eac30 15:47:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:47:00 ---> 96e8087aee78 15:47:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:47:00 ---> 123a6e7b4972 15:47:00 Step 18/23 : EXPOSE 59999 15:47:00 ---> Running in 3e60be8ba85b 15:47:00 Removing intermediate container 3e60be8ba85b 15:47:00 ---> 597a25756cb1 15:47:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:47:00 ---> Running in 7fb4bded5174 15:47:00 Removing intermediate container 7fb4bded5174 15:47:00 ---> 8e3bad3eccc8 15:47:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:47:00 ---> Running in 260151fdbc94 15:47:00 Removing intermediate container 260151fdbc94 15:47:00 ---> 342fa500636c 15:47:00 Step 21/23 : LABEL arch=amd64 15:47:00 ---> Running in 09991ba26e85 15:47:00 Removing intermediate container 09991ba26e85 15:47:00 ---> cf30e1b1df9d 15:47:00 Step 22/23 : LABEL git_sha=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 15:47:01 ---> Running in ebec0aba05bf 15:47:01 Removing intermediate container ebec0aba05bf 15:47:01 ---> 996090312783 15:47:01 Step 23/23 : LABEL version=3.0.0-dev.39 15:47:01 ---> Running in 897e9bb94d4f 15:47:01 Removing intermediate container 897e9bb94d4f 15:47:01 ---> a83666ddcdba 15:47:01 [Warning] One or more build-args [ARCH] were not consumed 15:47:01 Successfully built a83666ddcdba 15:47:01 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 15:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:01 15:47:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:02 latest: Pulling from edgex-lftools-log-publisher 15:47:02 5eb5b503b376: Pulling fs layer 15:47:02 5c69ac0246d0: Pulling fs layer 15:47:02 ec43610c2a17: Pulling fs layer 15:47:02 3a2ae6a8a46f: Pulling fs layer 15:47:02 33b1e0a273af: Pulling fs layer 15:47:02 5d3b04190fa2: Pulling fs layer 15:47:02 2f39f015ded8: Pulling fs layer 15:47:02 3a2ae6a8a46f: Waiting 15:47:02 2f39f015ded8: Waiting 15:47:02 33b1e0a273af: Waiting 15:47:02 5d3b04190fa2: Waiting 15:47:02 5c69ac0246d0: Verifying Checksum 15:47:02 5c69ac0246d0: Download complete 15:47:02 3a2ae6a8a46f: Download complete 15:47:02 33b1e0a273af: Verifying Checksum 15:47:02 33b1e0a273af: Download complete 15:47:02 ec43610c2a17: Verifying Checksum 15:47:02 ec43610c2a17: Download complete 15:47:02 5eb5b503b376: Verifying Checksum 15:47:02 5eb5b503b376: Download complete 15:47:03 2f39f015ded8: Download complete 15:47:03 5eb5b503b376: Pull complete 15:47:03 5c69ac0246d0: Pull complete 15:47:04 ec43610c2a17: Pull complete 15:47:04 3a2ae6a8a46f: Pull complete 15:47:04 33b1e0a273af: Pull complete 15:47:04 5d3b04190fa2: Pull complete 15:47:08 2f39f015ded8: Pull complete 15:47:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:47:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:47:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:08 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 15:47:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:47:11 $ docker top d7cbe248b94e0ece4722a134df5ee84eab17e0f36624eb487d43b6371445704b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:12 ---> job-cost.sh 15:47:12 lf-activate-venv: SKIPPING 15:47:12 INFO: No Stack... 15:47:12 INFO: Retrieving Pricing Info for: v3-standard-8 15:47:12 INFO: Archiving Costs [Pipeline] sh 15:47:12 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:47:12 + cut -d, -f6 [Pipeline] lock 15:47:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] 15:47:12 Resource [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] did not exist. Created. 15:47:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:13 + echo total: 0.2199999988079071 [Pipeline] stash 15:47:13 Stashed 1 file(s) [Pipeline] } 15:47:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:13 $ docker stop --time=1 d7cbe248b94e0ece4722a134df5ee84eab17e0f36624eb487d43b6371445704b 15:47:14 $ docker rm -f --volumes d7cbe248b94e0ece4722a134df5ee84eab17e0f36624eb487d43b6371445704b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:49:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7729 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:49:02 Running in /w/workspace/device-sdk-go/169 [Pipeline] { [Pipeline] checkout 15:49:02 The recommended git tool is: git 15:49:08 using credential edgex-jenkins-ssh 15:49:08 Cloning the remote Git repository 15:49:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:49:08 > git init /w/workspace/device-sdk-go/169 # timeout=10 15:49:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:08 > git --version # timeout=10 15:49:08 > git --version # 'git version 2.25.1' 15:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:11 Avoid second fetch 15:49:11 Checking out Revision acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 (main) 15:49:12 Commit message: "Merge pull request #1352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:11 > git config core.sparsecheckout # timeout=10 15:49:11 > git checkout -f acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 15:49:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:49:13 % Total % Received % Xferd Average Speed Time Time Time Current 15:49:13 Dload Upload Total Spent Left Speed 15:49:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 15:49:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:49:14 + sudo tee /etc/docker/daemon.new 15:49:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:49:14 { 15:49:14 "registry-mirrors": [ 15:49:14 "https://nexus3.edgexfoundry.org:10001" 15:49:14 ], 15:49:14 "bip": "10.250.0.254/24", 15:49:14 "hosts": [ 15:49:14 "tcp://0.0.0.0:5555", 15:49:14 "unix:///var/run/docker.sock" 15:49:14 ], 15:49:14 "mtu": 1458, 15:49:14 "selinux-enabled": true, 15:49:14 "seccomp-profile": "/etc/docker/seccomp.json" 15:49:14 } [Pipeline] sh 15:49:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:49:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:33 provisioning config files... 15:49:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/169@tmp/config17835075875573872176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:33 ---> docker-login.sh 15:49:33 nexus3.edgexfoundry.org:10001 15:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:34 Configure a credential helper to remove this warning. See 15:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:34 15:49:34 Login Succeeded 15:49:34 nexus3.edgexfoundry.org:10002 15:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:34 Configure a credential helper to remove this warning. See 15:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:34 15:49:34 Login Succeeded 15:49:34 nexus3.edgexfoundry.org:10003 15:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:35 Configure a credential helper to remove this warning. See 15:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:35 15:49:35 Login Succeeded 15:49:35 nexus3.edgexfoundry.org:10004 15:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:35 Configure a credential helper to remove this warning. See 15:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:35 15:49:35 Login Succeeded 15:49:35 docker.io 15:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:36 Configure a credential helper to remove this warning. See 15:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:36 15:49:36 Login Succeeded 15:49:36 ---> docker-login.sh ends [Pipeline] } 15:49:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:36 ========================================================= 15:49:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:49:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:37 + 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 . 15:49:37 Sending build context to Docker daemon 5.671MB 15:49:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:49:37 Step 2/10 : FROM ${BASE} AS builder 15:49:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:49:37 9b18e9b68314: Pulling fs layer 15:49:37 35d82f9e3411: Pulling fs layer 15:49:37 e16973657156: Pulling fs layer 15:49:37 fc693d55d65f: Pulling fs layer 15:49:37 7e9fc2657dce: Pulling fs layer 15:49:37 dda99020689f: Pulling fs layer 15:49:37 db1c61fa0a46: Pulling fs layer 15:49:37 891c053d2c06: Pulling fs layer 15:49:37 dda99020689f: Waiting 15:49:37 db1c61fa0a46: Waiting 15:49:37 fc693d55d65f: Waiting 15:49:37 7e9fc2657dce: Waiting 15:49:37 891c053d2c06: Waiting 15:49:37 e16973657156: Verifying Checksum 15:49:37 e16973657156: Download complete 15:49:37 35d82f9e3411: Verifying Checksum 15:49:37 35d82f9e3411: Download complete 15:49:37 7e9fc2657dce: Verifying Checksum 15:49:37 7e9fc2657dce: Download complete 15:49:37 dda99020689f: Verifying Checksum 15:49:37 dda99020689f: Download complete 15:49:37 9b18e9b68314: Verifying Checksum 15:49:38 9b18e9b68314: Pull complete 15:49:38 891c053d2c06: Verifying Checksum 15:49:38 891c053d2c06: Download complete 15:49:39 35d82f9e3411: Pull complete 15:49:39 e16973657156: Pull complete 15:49:40 db1c61fa0a46: Verifying Checksum 15:49:40 db1c61fa0a46: Download complete 15:49:41 fc693d55d65f: Download complete 15:49:53 fc693d55d65f: Pull complete 15:49:54 7e9fc2657dce: Pull complete 15:49:54 dda99020689f: Pull complete 15:50:00 db1c61fa0a46: Pull complete 15:50:03 891c053d2c06: Pull complete 15:50:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:50:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:50:03 ---> f96f9c87975a 15:50:03 Step 3/10 : ARG MAKE=make build 15:50:04 ---> Running in 5b792238233c 15:50:04 Removing intermediate container 5b792238233c 15:50:04 ---> 1ac1b21a9bff 15:50:04 Step 4/10 : WORKDIR /device-sdk-go 15:50:04 ---> Running in d79b12da8aac 15:50:05 Removing intermediate container d79b12da8aac 15:50:05 ---> 7a327d8e1b9e 15:50:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:50:05 ---> Running in b2e65009db90 15:50:05 Removing intermediate container b2e65009db90 15:50:05 ---> b2f5007a3602 15:50:05 Step 6/10 : RUN apk add --update --no-cache make git 15:50:05 ---> Running in 648862647c96 15:50:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:50:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:50:08 OK: 221 MiB in 51 packages 15:50:09 Removing intermediate container 648862647c96 15:50:09 ---> e5a5592f85d8 15:50:09 Step 7/10 : COPY go.mod vendor* ./ 15:50:09 ---> b710f1de31b1 15:50:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:09 ---> Running in ca85b3db626a 15:51:17 Removing intermediate container ca85b3db626a 15:51:17 ---> 5519dc936e87 15:51:17 Step 9/10 : COPY . . 15:51:18 ---> 32acf74394e0 15:51:18 Step 10/10 : RUN ${MAKE} 15:51:18 ---> Running in b6cfd43157dd 15:51:19 noop 15:51:20 Removing intermediate container b6cfd43157dd 15:51:20 ---> 845a989faac4 15:51:20 Successfully built 845a989faac4 15:51:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:21 + docker inspect -f . ci-base-image-arm64 15:51:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:21 prd-ubuntu20.04-docker-arm64-4c-16g-7729 does not seem to be running inside a container 15:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/169 -v /w/workspace/device-sdk-go/169:/w/workspace/device-sdk-go/169:rw,z -v /w/workspace/device-sdk-go/169@tmp:/w/workspace/device-sdk-go/169@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 15:51:22 $ docker top 65e88bd7aefdff8c4b1d18153aa5bf1f73bf4171fcae287b3e6280b4b063e733 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:23 + go version 15:51:23 go version go1.18.7 linux/arm64 [Pipeline] } 15:51:23 $ docker stop --time=1 65e88bd7aefdff8c4b1d18153aa5bf1f73bf4171fcae287b3e6280b4b063e733 15:51:25 $ docker rm -f --volumes 65e88bd7aefdff8c4b1d18153aa5bf1f73bf4171fcae287b3e6280b4b063e733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:25 + docker inspect -f . ci-base-image-arm64 15:51:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-7729 does not seem to be running inside a container 15:51:26 $ 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/169 -v /w/workspace/device-sdk-go/169:/w/workspace/device-sdk-go/169:rw,z -v /w/workspace/device-sdk-go/169@tmp:/w/workspace/device-sdk-go/169@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 15:51:27 $ docker top c3541b6a65cfb626e4c1ea7fe0060df324459b68693559969978df7e2ab59e72 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/169 [Pipeline] fileExists [Pipeline] sh 15:51:29 + make test 15:51:29 go test -race -coverprofile=coverage.out ./... 15:52:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:54:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:54:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:54:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:54:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:54:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:54:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.264s coverage: 27.6% of statements 15:54:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.292s coverage: 78.9% of statements 15:54:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:54:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.426s coverage: 86.0% of statements 15:54:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:54:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:54:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.483s coverage: 74.7% of statements 15:54:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:54:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.335s coverage: 15.5% of statements 15:54:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:54:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.449s coverage: 65.2% of statements 15:54:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:54:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:54:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.293s coverage: 89.2% of statements 15:54:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:54:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.376s coverage: 4.6% of statements 15:54:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:54:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:54:40 GO111MODULE=on go vet ./... 15:56:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:56:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:56:32 ./bin/test-attribution-txt.sh [Pipeline] echo 15:56:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:56:32 $ docker stop --time=1 c3541b6a65cfb626e4c1ea7fe0060df324459b68693559969978df7e2ab59e72 15:56:34 $ docker rm -f --volumes c3541b6a65cfb626e4c1ea7fe0060df324459b68693559969978df7e2ab59e72 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:36 Warning: overwriting stash ‘coverage-report’ 15:56:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:38 + ls -al . 15:56:38 total 276 15:56:38 drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 15:51 . 15:56:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 15:49 .. 15:56:38 -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 15:49 .dockerignore 15:56:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 15:49 .git 15:56:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 15:49 .github 15:56:38 -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 15:49 .gitignore 15:56:38 -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 15:49 .golangci.yml 15:56:38 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 15:49 CHANGELOG.md 15:56:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 15:49 GOVERNANCE.md 15:56:38 -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 15:49 Jenkinsfile 15:56:38 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 15:49 LICENSE 15:56:38 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 15:49 Makefile 15:56:38 -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 15:49 OWNERS.md 15:56:38 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 15:49 README.md 15:56:38 -rw-rw-r-- 1 jenkins jenkins 12 Feb 28 15:45 VERSION 15:56:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 15:49 bin 15:56:38 -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 15:54 coverage.out 15:56:38 drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 15:49 example 15:56:38 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 15:49 go.mod 15:56:38 -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 15:49 go.sum 15:56:38 drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 15:49 internal 15:56:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 15:49 openapi 15:56:38 drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 15:49 pkg 15:56:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 15:49 snap 15:56:38 -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:38 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 --label arch=arm64 --label version=3.0.0-dev.39 . 15:56:39 Sending build context to Docker daemon 5.783MB 15:56:39 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:56:39 Step 2/23 : FROM ${BASE} AS builder 15:56:39 ---> 845a989faac4 15:56:39 Step 3/23 : ARG MAKE=make build 15:56:39 ---> Running in ca4b9890b010 15:56:39 Removing intermediate container ca4b9890b010 15:56:39 ---> 652c69ebd8f2 15:56:39 Step 4/23 : WORKDIR /device-sdk-go 15:56:39 ---> Running in a9987de9c491 15:56:39 Removing intermediate container a9987de9c491 15:56:39 ---> ab7e30b54fe7 15:56:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:56:39 ---> Running in 721010acf118 15:56:40 Removing intermediate container 721010acf118 15:56:40 ---> f49ed4724d12 15:56:40 Step 6/23 : RUN apk add --update --no-cache make git 15:56:40 ---> Running in 4c18376b5250 15:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:56:43 OK: 221 MiB in 51 packages 15:56:44 Removing intermediate container 4c18376b5250 15:56:44 ---> 5e68b6fc3412 15:56:44 Step 7/23 : COPY go.mod vendor* ./ 15:56:44 ---> c4263a2c57e4 15:56:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:44 ---> Running in e46099152fb5 15:56:48 Removing intermediate container e46099152fb5 15:56:48 ---> 0754e3c20c25 15:56:48 Step 9/23 : COPY . . 15:56:49 ---> 2988d39d9f09 15:56:49 Step 10/23 : RUN ${MAKE} 15:56:49 ---> Running in 5a2ea764e723 15:56:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:59:27 Removing intermediate container 5a2ea764e723 15:59:27 ---> 389d21d0415b 15:59:27 Step 11/23 : FROM alpine:3.16 15:59:27 3.16: Pulling from library/alpine 15:59:27 3760b48202b3: Pulling fs layer 15:59:27 3760b48202b3: Verifying Checksum 15:59:27 3760b48202b3: Download complete 15:59:27 3760b48202b3: Pull complete 15:59:27 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:59:27 Status: Downloaded newer image for alpine:3.16 15:59:27 ---> 4c81e5bf8899 15:59:27 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:59:27 ---> Running in c372b7183cae 15:59:27 Removing intermediate container c372b7183cae 15:59:27 ---> 5f4b9c459fdf 15:59:27 Step 13/23 : RUN apk add --update --no-cache 15:59:27 ---> Running in 934a490edb53 15:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:59:27 OK: 5 MiB in 14 packages 15:59:27 Removing intermediate container 934a490edb53 15:59:27 ---> 17e397bb9644 15:59:27 Step 14/23 : WORKDIR / 15:59:27 ---> Running in bfe2979ba3f3 15:59:27 Removing intermediate container bfe2979ba3f3 15:59:27 ---> 317d364b2327 15:59:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:59:27 ---> 98ae8dd10624 15:59:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:59:27 ---> b89b0a16ccb6 15:59:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:59:27 ---> 2e7ae084c320 15:59:27 Step 18/23 : EXPOSE 59999 15:59:27 ---> Running in 616e9024ec8f 15:59:27 Removing intermediate container 616e9024ec8f 15:59:27 ---> 91b6983f2db1 15:59:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:59:27 ---> Running in 6c0e459f2ce4 15:59:27 Removing intermediate container 6c0e459f2ce4 15:59:27 ---> d88ec43944b5 15:59:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:59:27 ---> Running in 72cb7dda91bf 15:59:27 Removing intermediate container 72cb7dda91bf 15:59:27 ---> b5f7b90c2fb7 15:59:27 Step 21/23 : LABEL arch=arm64 15:59:27 ---> Running in b567b97748dd 15:59:27 Removing intermediate container b567b97748dd 15:59:27 ---> aed20d8780b1 15:59:27 Step 22/23 : LABEL git_sha=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 15:59:27 ---> Running in 9c876fdd5676 15:59:27 Removing intermediate container 9c876fdd5676 15:59:27 ---> 12f0c9a3db3a 15:59:27 Step 23/23 : LABEL version=3.0.0-dev.39 15:59:27 ---> Running in 22ff1f750797 15:59:27 Removing intermediate container 22ff1f750797 15:59:27 ---> c04c050d29a7 15:59:27 [Warning] One or more build-args [ARCH] were not consumed 15:59:27 Successfully built c04c050d29a7 15:59:27 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:28 15:59:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:28 arm64: Pulling from edgex-lftools-log-publisher 15:59:28 8998bd30e6a1: Pulling fs layer 15:59:28 04944245beec: Pulling fs layer 15:59:28 699f458cf7ca: Pulling fs layer 15:59:28 765212b225bb: Pulling fs layer 15:59:28 f23df028b6ca: Pulling fs layer 15:59:28 d65c8cfc05b1: Pulling fs layer 15:59:28 2437ff75d9bd: Pulling fs layer 15:59:28 765212b225bb: Waiting 15:59:28 f23df028b6ca: Waiting 15:59:28 d65c8cfc05b1: Waiting 15:59:28 2437ff75d9bd: Waiting 15:59:28 04944245beec: Verifying Checksum 15:59:28 04944245beec: Download complete 15:59:28 765212b225bb: Verifying Checksum 15:59:28 765212b225bb: Download complete 15:59:28 f23df028b6ca: Verifying Checksum 15:59:28 f23df028b6ca: Download complete 15:59:28 d65c8cfc05b1: Verifying Checksum 15:59:28 d65c8cfc05b1: Download complete 15:59:29 699f458cf7ca: Verifying Checksum 15:59:29 699f458cf7ca: Download complete 15:59:29 8998bd30e6a1: Verifying Checksum 15:59:29 8998bd30e6a1: Download complete 15:59:31 2437ff75d9bd: Verifying Checksum 15:59:31 2437ff75d9bd: Download complete 15:59:33 8998bd30e6a1: Pull complete 15:59:34 04944245beec: Pull complete 15:59:35 699f458cf7ca: Pull complete 15:59:35 765212b225bb: Pull complete 15:59:36 f23df028b6ca: Pull complete 15:59:36 d65c8cfc05b1: Pull complete 15:59:51 2437ff75d9bd: Pull complete 15:59:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:59:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:59:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:52 prd-ubuntu20.04-docker-arm64-4c-16g-7729 does not seem to be running inside a container 15:59:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/169 -v /w/workspace/device-sdk-go/169:/w/workspace/device-sdk-go/169:rw,z -v /w/workspace/device-sdk-go/169@tmp:/w/workspace/device-sdk-go/169@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 15:59:55 $ docker top af9e47b2034d84551d56449e8a278aca4b2c904f87cd124697dc312064b92d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:55 ---> job-cost.sh 15:59:55 lf-activate-venv: SKIPPING 15:59:55 INFO: No Stack... 15:59:56 INFO: Retrieving Pricing Info for: v3-standard-4 15:59:57 INFO: Archiving Costs [Pipeline] sh 15:59:57 + cat /w/workspace/device-sdk-go/169/archives/cost.csv 15:59:57 + cut -d, -f6 [Pipeline] lock 15:59:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] 15:59:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] did not exist. Created. 15:59:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:58 /w/workspace/device-sdk-go/169@tmp/durable-8f68b4a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:59:59 + echo total: 0.10999999940395355 [Pipeline] stash 15:59:59 Warning: overwriting stash ‘stack-cost’ 15:59:59 Stashed 1 file(s) [Pipeline] } 15:59:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:59 $ docker stop --time=1 af9e47b2034d84551d56449e8a278aca4b2c904f87cd124697dc312064b92d81 16:00:00 $ docker rm -f --volumes af9e47b2034d84551d56449e8a278aca4b2c904f87cd124697dc312064b92d81 [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 16:00:01 provisioning config files... 16:00:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config917390670399552729tmp [Pipeline] { [Pipeline] sh 16:00:01 + set +x 16:00:01 + bash -s -- 16:00:01 + curl -s https://codecov.io/bash 16:00:01 16:00:01 _____ _ 16:00:01 / ____| | | 16:00:01 | | ___ __| | ___ ___ _____ __ 16:00:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:00:01 | |___| (_) | (_| | __/ (_| (_) \ V / 16:00:01 \_____\___/ \__,_|\___|\___\___/ \_/ 16:00:01 Bash-1.0.6 16:00:01 16:00:01 16:00:01 ==> git version 2.25.1 found 16:00:01 ==> 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 16:00:01 Release-Date: 2020-01-08 16:00:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:00:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:00:01 ==> Jenkins CI detected. 16:00:01 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:00:01 project root: . 16:00:01 --> token set from env 16:00:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:00:01 ==> Running gcov in . (disable via -X gcov) 16:00:01 ==> Python coveragepy not found 16:00:01 ==> Searching for coverage reports in: 16:00:01 + . 16:00:01 -> Found 1 reports 16:00:01 ==> Detecting git/mercurial file structure 16:00:01 ==> Reading reports 16:00:01 + ./coverage.out bytes=111045 16:00:01 ==> Appending adjustments 16:00:01 https://docs.codecov.io/docs/fixing-reports 16:00:01 + Found adjustments 16:00:01 ==> Gzipping contents 16:00:01 16K /tmp/codecov.E2bY0B.gz 16:00:01 ==> Uploading reports 16:00:01 url: https://codecov.io 16:00:01 query: branch=main&commit=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:00:01 -> Pinging Codecov 16:00:01 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=acdf2d5cdad6fc08cdfb18917d876b8970fb9c96&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:00:02 -> Uploading to 16:00:02 https://storage.googleapis.com/codecov/v4/raw/2023-02-28/7E55EF52A471D76F132DFD9A03CDDE97/acdf2d5cdad6fc08cdfb18917d876b8970fb9c96/29512201-96c4-4e26-8227-78a853dec9dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T160001Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e95ea08eec31569668001bc3f93c3731d608bf45f1ba3cbcbd0916fe5ab4aa76 16:00:02 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:02 Dload Upload Total Spent Left Speed 16:00:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15344 0 0 100 15344 0 53838 --:--:-- --:--:-- --:--:-- 53650 100 15344 0 0 100 15344 0 53838 --:--:-- --:--:-- --:--:-- 53650 16:00:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] } 16:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:00:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:00:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:02 16:00:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:00:03 df9b9388f04a: Pulling fs layer 16:00:03 52dc419b0ee2: Pulling fs layer 16:00:03 25bc292e5bac: Pulling fs layer 16:00:03 114826534d7a: Pulling fs layer 16:00:03 4657fd5d0bcf: Pulling fs layer 16:00:03 6ad1cebc031e: Pulling fs layer 16:00:03 8a3aa393b2d8: Pulling fs layer 16:00:03 114826534d7a: Waiting 16:00:03 6ad1cebc031e: Waiting 16:00:03 4657fd5d0bcf: Waiting 16:00:03 8a3aa393b2d8: Waiting 16:00:03 25bc292e5bac: Download complete 16:00:03 52dc419b0ee2: Verifying Checksum 16:00:03 52dc419b0ee2: Download complete 16:00:03 4657fd5d0bcf: Verifying Checksum 16:00:03 4657fd5d0bcf: Download complete 16:00:03 df9b9388f04a: Verifying Checksum 16:00:03 df9b9388f04a: Download complete 16:00:03 df9b9388f04a: Pull complete 16:00:03 6ad1cebc031e: Verifying Checksum 16:00:03 6ad1cebc031e: Download complete 16:00:03 52dc419b0ee2: Pull complete 16:00:03 25bc292e5bac: Pull complete 16:00:03 114826534d7a: Verifying Checksum 16:00:03 114826534d7a: Download complete 16:00:04 8a3aa393b2d8: Verifying Checksum 16:00:04 8a3aa393b2d8: Download complete 16:00:07 114826534d7a: Pull complete 16:00:07 4657fd5d0bcf: Pull complete 16:00:07 6ad1cebc031e: Pull complete 16:00:10 8a3aa393b2d8: Pull complete 16:00:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:00:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:10 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:00:12 $ docker top 68b91adad93dbcd0a361798506e5690d0e7b38a89456b4a6c89371625233dffa -eo pid,comm [Pipeline] { [Pipeline] echo 16:00:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:00:12 + set -o pipefail 16:00:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:00:17 16:00:17 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:00:17 16:00:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c8baa062-e50b-4fdf-9e91-15ea8ec4824c 16:00:17 16:00:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:00:17 16:00:17 16:00:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:00:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:00:17 More details here: https://snyk.co/ue1NS [Pipeline] } 16:00:17 $ docker stop --time=1 68b91adad93dbcd0a361798506e5690d0e7b38a89456b4a6c89371625233dffa 16:00:19 $ docker rm -f --volumes 68b91adad93dbcd0a361798506e5690d0e7b38a89456b4a6c89371625233dffa [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 16:00:19 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:19 provisioning config files... 16:00:19 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17840823715332786684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:20 --> edgex-publish-swagger.sh 16:00:20 === Publish openapi/v3 API === 16:00:20 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:00:20 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:00:20 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:20 Dload Upload Total Spent Left Speed 16:00:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 37473 --:--:-- --:--:-- --:--:-- 37414 100 23571 0 0 100 23571 0 37473 --:--:-- --:--:-- --:--:-- 37414 16:00:20 16:00:20 [Pipeline] } 16:00:20 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 16:00:21 + git log --format=format:%s -1 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 [Pipeline] sh 16:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:21 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:00:22 $ docker top 4f78b217c24907e02c72e3f44779c26c3e42fc2bb783c388346afb0aabf1de0e -eo pid,comm 16:00:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:00:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:22 [ssh-agent] Looking for ssh-agent implementation... 16:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:22 $ docker exec 4f78b217c24907e02c72e3f44779c26c3e42fc2bb783c388346afb0aabf1de0e ssh-agent 16:00:22 SSH_AUTH_SOCK=/tmp/ssh-mCJfONwtGFtK/agent.32 16:00:22 SSH_AGENT_PID=38 16:00:22 Running ssh-add (command line suppressed) 16:00:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16943197060413453456.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16943197060413453456.key) 16:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:22 + git semver tag 16:00:23 2023-02-28 16:00:23,154 [run_tag] DEBUG tag force:False 16:00:23 2023-02-28 16:00:23,154 [check_head_tag] DEBUG check head tag 16:00:23 2023-02-28 16:00:23,156 [execute] INFO git cat-file --batch-check 16:00:23 2023-02-28 16:00:23,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:00:23 2023-02-28 16:00:23,161 [execute] INFO git cat-file --batch 16:00:23 2023-02-28 16:00:23,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:00:23 2023-02-28 16:00:23,204 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:23 2023-02-28 16:00:23,204 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 16:00:23 2023-02-28 16:00:23,205 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:00:23 2023-02-28 16:00:23,211 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:23 3.0.0-dev.39 [Pipeline] } 16:00:23 $ docker exec --env ******** --env ******** 4f78b217c24907e02c72e3f44779c26c3e42fc2bb783c388346afb0aabf1de0e ssh-agent -k 16:00:23 unset SSH_AUTH_SOCK; 16:00:23 unset SSH_AGENT_PID; 16:00:23 echo Agent pid 38 killed; 16:00:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:23 + git semver [Pipeline] } 16:00:24 $ docker stop --time=1 4f78b217c24907e02c72e3f44779c26c3e42fc2bb783c388346afb0aabf1de0e 16:00:25 $ docker rm -f --volumes 4f78b217c24907e02c72e3f44779c26c3e42fc2bb783c388346afb0aabf1de0e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:25 16:00:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:26 0.23.1-centos7: Pulling from edgex-lftools 16:00:26 ab5ef0e58194: Pulling fs layer 16:00:26 9712f1f96733: Pulling fs layer 16:00:26 63f879dbbcfc: Pulling fs layer 16:00:26 0d9ebad4ef96: Pulling fs layer 16:00:26 e9a5061849ea: Pulling fs layer 16:00:26 d747dcd14b5f: Pulling fs layer 16:00:26 2de7ff778b66: Pulling fs layer 16:00:26 e9a5061849ea: Waiting 16:00:26 d747dcd14b5f: Waiting 16:00:26 2de7ff778b66: Waiting 16:00:26 0d9ebad4ef96: Waiting 16:00:26 9712f1f96733: Download complete 16:00:26 63f879dbbcfc: Verifying Checksum 16:00:26 63f879dbbcfc: Download complete 16:00:27 e9a5061849ea: Verifying Checksum 16:00:27 e9a5061849ea: Download complete 16:00:27 d747dcd14b5f: Download complete 16:00:27 ab5ef0e58194: Download complete 16:00:27 0d9ebad4ef96: Verifying Checksum 16:00:27 0d9ebad4ef96: Download complete 16:00:27 2de7ff778b66: Verifying Checksum 16:00:27 2de7ff778b66: Download complete 16:00:30 ab5ef0e58194: Pull complete 16:00:30 9712f1f96733: Pull complete 16:00:30 63f879dbbcfc: Pull complete 16:00:34 0d9ebad4ef96: Pull complete 16:00:34 e9a5061849ea: Pull complete 16:00:34 d747dcd14b5f: Pull complete 16:00:36 2de7ff778b66: Pull complete 16:00:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:00:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:36 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:00:38 $ docker top ce6de89ac491db26e075885192f2cfbe55425f98fd6eb2ee8e29516e5775ea39 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:00:38 provisioning config files... 16:00:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13624301306520746208tmp 16:00:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1487461015817189922tmp 16:00:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9878606210118916519tmp [Pipeline] { [Pipeline] echo 16:00:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:00:39 ---> sigul-configuration.sh 16:00:39 gpg: directory `/root/.gnupg' created 16:00:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:00:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:00:39 gpg: keyring `/root/.gnupg/secring.gpg' created 16:00:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:00:39 gpg: CAST5 encrypted data 16:00:39 gpg: encrypted with 1 passphrase 16:00:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:00:39 + mkdir /home/jenkins 16:00:39 + mkdir /home/jenkins/sigul [Pipeline] sh 16:00:39 + 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 16:00:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:00:39 ---> sigul-install.sh 16:00:39 Sigul already installed; skipping installation. [Pipeline] sh 16:00:40 + git tag --list 16:00:40 0.7.1 16:00:40 delhi-tag 16:00:40 v1.0.0 16:00:40 v1.1.0 16:00:40 v1.1.1 16:00:40 v1.1.2 16:00:40 v1.2.0 16:00:40 v1.2.1 16:00:40 v1.2.2 16:00:40 v1.2.3 16:00:40 v1.3.0 16:00:40 v1.4.0 16:00:40 v2.0.0 16:00:40 v2.1.0 16:00:40 v2.1.1 16:00:40 v2.1.1-dev.2 16:00:40 v2.1.1-dev.3 16:00:40 v2.2.0 16:00:40 v2.2.1-dev.1 16:00:40 v2.2.1-dev.10 16:00:40 v2.2.1-dev.11 16:00:40 v2.2.1-dev.12 16:00:40 v2.2.1-dev.13 16:00:40 v2.2.1-dev.14 16:00:40 v2.2.1-dev.2 16:00:40 v2.2.1-dev.3 16:00:40 v2.2.1-dev.4 16:00:40 v2.2.1-dev.5 16:00:40 v2.2.1-dev.6 16:00:40 v2.2.1-dev.7 16:00:40 v2.2.1-dev.8 16:00:40 v2.2.1-dev.9 16:00:40 v2.3.0 16:00:40 v2.3.0-dev.14 16:00:40 v2.3.0-dev.15 16:00:40 v2.3.0-dev.16 16:00:40 v2.3.0-dev.17 16:00:40 v2.3.0-dev.18 16:00:40 v2.3.0-dev.19 16:00:40 v2.3.0-dev.20 16:00:40 v2.3.0-dev.21 16:00:40 v2.3.0-dev.22 16:00:40 v2.3.0-dev.23 16:00:40 v2.3.0-dev.24 16:00:40 v2.3.0-dev.25 16:00:40 v2.3.0-dev.26 16:00:40 v2.3.0-dev.27 16:00:40 v2.3.0-dev.28 16:00:40 v2.3.0-dev.29 16:00:40 v2.3.0-dev.30 16:00:40 v2.3.0-dev.31 16:00:40 v2.3.0-dev.32 16:00:40 v2.3.0-dev.33 16:00:40 v2.3.0-dev.34 16:00:40 v2.3.0-dev.35 16:00:40 v2.3.0-dev.36 16:00:40 v2.3.0-dev.37 16:00:40 v2.3.0-dev.38 16:00:40 v2.3.0-dev.39 16:00:40 v2.3.0-dev.40 16:00:40 v2.3.0-dev.41 16:00:40 v2.3.0-dev.42 16:00:40 v2.3.0-dev.43 16:00:40 v2.3.0-dev.44 16:00:40 v2.3.0-dev.45 16:00:40 v2.3.0-dev.46 16:00:40 v2.3.0-dev.47 16:00:40 v2.3.0-dev.48 16:00:40 v2.3.0-dev.49 16:00:40 v2.3.0-dev.50 16:00:40 v2.3.0-dev.51 16:00:40 v2.3.1-dev.1 16:00:40 v2.3.1-dev.2 16:00:40 v3.0.0-dev.1 16:00:40 v3.0.0-dev.10 16:00:40 v3.0.0-dev.11 16:00:40 v3.0.0-dev.12 16:00:40 v3.0.0-dev.13 16:00:40 v3.0.0-dev.14 16:00:40 v3.0.0-dev.15 16:00:40 v3.0.0-dev.16 16:00:40 v3.0.0-dev.17 16:00:40 v3.0.0-dev.18 16:00:40 v3.0.0-dev.19 16:00:40 v3.0.0-dev.2 16:00:40 v3.0.0-dev.20 16:00:40 v3.0.0-dev.21 16:00:40 v3.0.0-dev.22 16:00:40 v3.0.0-dev.23 16:00:40 v3.0.0-dev.24 16:00:40 v3.0.0-dev.25 16:00:40 v3.0.0-dev.26 16:00:40 v3.0.0-dev.27 16:00:40 v3.0.0-dev.28 16:00:40 v3.0.0-dev.29 16:00:40 v3.0.0-dev.3 16:00:40 v3.0.0-dev.30 16:00:40 v3.0.0-dev.31 16:00:40 v3.0.0-dev.32 16:00:40 v3.0.0-dev.33 16:00:40 v3.0.0-dev.34 16:00:40 v3.0.0-dev.35 16:00:40 v3.0.0-dev.36 16:00:40 v3.0.0-dev.37 16:00:40 v3.0.0-dev.38 16:00:40 v3.0.0-dev.39 16:00:40 v3.0.0-dev.4 16:00:40 v3.0.0-dev.5 16:00:40 v3.0.0-dev.6 16:00:40 v3.0.0-dev.7 16:00:40 v3.0.0-dev.8 16:00:40 v3.0.0-dev.9 [Pipeline] sh 16:00:40 + lftools sign git-tag v3.0.0-dev.39 16:00:41 Signing Git tag with Sigul... 16:00:41 Signing v3.0.0-dev.39 [Pipeline] echo 16:00:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:00:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:00:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:00:41 $ docker stop --time=1 ce6de89ac491db26e075885192f2cfbe55425f98fd6eb2ee8e29516e5775ea39 16:00:42 $ docker rm -f --volumes ce6de89ac491db26e075885192f2cfbe55425f98fd6eb2ee8e29516e5775ea39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:00:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:43 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:00:44 $ docker top 6d3c3fa63998da0f06cc4b84ed5dd8b0d6fa11eb564675626cfbf4349719270a -eo pid,comm 16:00:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:00:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:44 [ssh-agent] Looking for ssh-agent implementation... 16:00:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:44 $ docker exec 6d3c3fa63998da0f06cc4b84ed5dd8b0d6fa11eb564675626cfbf4349719270a ssh-agent 16:00:44 SSH_AUTH_SOCK=/tmp/ssh-s8E8Hw0jAfuC/agent.32 16:00:44 SSH_AGENT_PID=38 16:00:44 Running ssh-add (command line suppressed) 16:00:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14967267531548493886.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14967267531548493886.key) 16:00:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:44 + git semver bump pre 16:00:45 2023-02-28 16:00:44,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:45 2023-02-28 16:00:44,974 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev 16:00:45 2023-02-28 16:00:44,974 [bump_version] DEBUG bumped version:3.0.0-dev.40 16:00:45 2023-02-28 16:00:44,974 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:00:45 2023-02-28 16:00:44,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:45 2023-02-28 16:00:44,974 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:45 2023-02-28 16:00:44,977 [execute] INFO git cat-file --batch-check 16:00:45 2023-02-28 16:00:44,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:00:45 2023-02-28 16:00:44,983 [execute] INFO git cat-file --batch 16:00:45 2023-02-28 16:00:44,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:00:45 2023-02-28 16:00:44,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:45 3.0.0-dev.40 [Pipeline] } 16:00:45 $ docker exec --env ******** --env ******** 6d3c3fa63998da0f06cc4b84ed5dd8b0d6fa11eb564675626cfbf4349719270a ssh-agent -k 16:00:45 unset SSH_AUTH_SOCK; 16:00:45 unset SSH_AGENT_PID; 16:00:45 echo Agent pid 38 killed; 16:00:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:45 + git semver [Pipeline] } 16:00:45 $ docker stop --time=1 6d3c3fa63998da0f06cc4b84ed5dd8b0d6fa11eb564675626cfbf4349719270a 16:00:47 $ docker rm -f --volumes 6d3c3fa63998da0f06cc4b84ed5dd8b0d6fa11eb564675626cfbf4349719270a [Pipeline] // withDockerContainer [Pipeline] sh 16:00:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:47 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:00:48 $ docker top ec37d58ba7179c40c827e2f8b82d06af4369a775903d6d3629abfa98cb36981e -eo pid,comm 16:00:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:00:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:48 [ssh-agent] Looking for ssh-agent implementation... 16:00:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:48 $ docker exec ec37d58ba7179c40c827e2f8b82d06af4369a775903d6d3629abfa98cb36981e ssh-agent 16:00:48 SSH_AUTH_SOCK=/tmp/ssh-4VtdktYmGnRU/agent.33 16:00:48 SSH_AGENT_PID=39 16:00:48 Running ssh-add (command line suppressed) 16:00:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5832476915780051842.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5832476915780051842.key) 16:00:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:48 + git semver push 16:00:49 2023-02-28 16:00:49,118 [run_push] DEBUG push 16:00:49 2023-02-28 16:00:49,119 [execute] INFO git cat-file --batch-check 16:00:49 2023-02-28 16:00:49,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:00:49 2023-02-28 16:00:49,123 [execute] INFO git rev-list 81da6c16a8609d91f0ecf2e0cb633920837cf960 -- 16:00:49 2023-02-28 16:00:49,124 [execute] DEBUG Popen(['git', 'rev-list', '81da6c16a8609d91f0ecf2e0cb633920837cf960', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:00:49 2023-02-28 16:00:49,137 [execute] INFO git fetch -v origin 16:00:49 2023-02-28 16:00:49,138 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:00:49 2023-02-28 16:00:49,723 [run_push] DEBUG no remote changes detected 16:00:49 2023-02-28 16:00:49,724 [execute] INFO git push origin semver 16:00:49 2023-02-28 16:00:49,724 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:00:50 2023-02-28 16:00:50,557 [run_push] DEBUG push all version tags 16:00:50 2023-02-28 16:00:50,560 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:00:50 2023-02-28 16:00:50,561 [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) 16:00:51 2023-02-28 16:00:51,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:00:51 3.0.0-dev.40 [Pipeline] } 16:00:51 $ docker exec --env ******** --env ******** ec37d58ba7179c40c827e2f8b82d06af4369a775903d6d3629abfa98cb36981e ssh-agent -k 16:00:51 unset SSH_AUTH_SOCK; 16:00:51 unset SSH_AGENT_PID; 16:00:51 echo Agent pid 39 killed; 16:00:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:52 + git semver [Pipeline] } 16:00:52 $ docker stop --time=1 ec37d58ba7179c40c827e2f8b82d06af4369a775903d6d3629abfa98cb36981e 16:00:53 $ docker rm -f --volumes ec37d58ba7179c40c827e2f8b82d06af4369a775903d6d3629abfa98cb36981e [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 16:00:54 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:00:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:00:54 total 16 16:00:54 drwxr-xr-x 3 root root 4096 Feb 28 15:47 . 16:00:54 drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 16:00 .. 16:00:54 drwxr-xr-x 2 root root 4096 Feb 28 15:47 cost 16:00:54 -rw-r--r-- 1 root root 85 Feb 28 15:47 cost.csv 16:00:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:00:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:00:54 total 16 16:00:54 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 15:47 . 16:00:54 drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 16:00 .. 16:00:54 drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 15:47 cost 16:00:54 -rw-r--r-- 1 jenkins jenkins 85 Feb 28 15:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:00:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:00:55 ---> package-listing.sh 16:00:55 ++ facter osfamily 16:00:55 ++ tr '[:upper:]' '[:lower:]' 16:00:55 + OS_FAMILY=debian 16:00:55 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:00:55 + START_PACKAGES=/tmp/packages_start.txt 16:00:55 + END_PACKAGES=/tmp/packages_end.txt 16:00:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:00:55 + PACKAGES=/tmp/packages_start.txt 16:00:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:00:55 + PACKAGES=/tmp/packages_end.txt 16:00:55 + case "${OS_FAMILY}" in 16:00:55 + dpkg -l 16:00:55 + grep '^ii' 16:00:55 + '[' -f /tmp/packages_start.txt ']' 16:00:55 + '[' -f /tmp/packages_end.txt ']' 16:00:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:00:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:00:55 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:00:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:00:55 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 16:00:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:56 prd-ubuntu20.04-docker-8c-8g-7725 does not seem to be running inside a container 16:00:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:00:56 $ docker top acda840a04b4e4929a6d37040eb5157c66348ef89176bfa847558a580a02758b -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:57 + touch /tmp/pre-build-complete [Pipeline] sh 16:00:57 + mkdir -p /var/log/sysstat [Pipeline] sh 16:00:57 + ls /var/log/sa-host 16:00:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:57 provisioning config files... 16:00:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2350012529601362587tmp [Pipeline] { [Pipeline] echo 16:00:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:00:58 ---> create-netrc.sh [Pipeline] } 16:00:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:00:58 ---> python-tools-install.sh [Pipeline] echo 16:00:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:00:58 ---> sudo-logs.sh 16:00:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:00:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:00:59 ---> job-cost.sh 16:00:59 lf-activate-venv: SKIPPING 16:00:59 DEBUG: total: 0.2199999988079071 16:00:59 INFO: Retrieving Stack Cost... 16:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:00 INFO: Archiving Costs [Pipeline] echo 16:01:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:01:00 ---> logs-deploy.sh 16:01:00 lf-activate-venv: SKIPPING 16:01:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/169 16:01:00 INFO: archiving workspace using pattern(s): 16:01:01 Archives upload complete. 16:01:01 INFO: archiving logs to Nexus