Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26847311c5e80852903f42d5f4b76f1d4cba51bb 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-ssh11245222550004131830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10814455715342388697.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13263930777923163642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7811996453299078948.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-ssh15498747832997980639.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6605’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6612 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 26847311c5e80852903f42d5f4b76f1d4cba51bb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry (#1514)" > git rev-list --no-walk aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:08:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:19 ========================================================= 19:08:19 EdgeX Global Pipelines Version Info 19:08:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:08:20 ------------------- 19:08:20 stable info: 19:08:20 ------------------- 19:08:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:20 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:08:20 Message: update stable to v1.0.254 19:08:20 ------------------- 19:08:20 experimental info: 19:08:20 ------------------- 19:08:20 Commited By: **** collab-it+edgex@linuxfoundation.org 19:08:20 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:08:20 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2684731 [Pipeline] echo 19:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:21 provisioning config files... 19:08:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17800995269186224865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:21 ---> docker-login.sh 19:08:21 nexus3.edgexfoundry.org:10001 19:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:22 Configure a credential helper to remove this warning. See 19:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:22 19:08:22 Login Succeeded 19:08:22 nexus3.edgexfoundry.org:10002 19:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:22 Configure a credential helper to remove this warning. See 19:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:22 19:08:22 Login Succeeded 19:08:22 nexus3.edgexfoundry.org:10003 19:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:22 Configure a credential helper to remove this warning. See 19:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:22 19:08:22 Login Succeeded 19:08:22 nexus3.edgexfoundry.org:10004 19:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:22 Configure a credential helper to remove this warning. See 19:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:22 19:08:22 Login Succeeded 19:08:22 docker.io 19:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:22 Configure a credential helper to remove this warning. See 19:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:22 19:08:22 Login Succeeded 19:08:22 ---> docker-login.sh ends [Pipeline] } 19:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:08:23 + git rev-list -1 --merges 26847311c5e80852903f42d5f4b76f1d4cba51bb~1..26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo 19:08:23 -----------> git rev-list -1 --merges 26847311c5e80852903f42d5f4b76f1d4cba51bb~1..26847311c5e80852903f42d5f4b76f1d4cba51bb 26847311c5e80852903f42d5f4b76f1d4cba51bb [false] [Pipeline] sh 19:08:23 + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo 19:08:23 ========================================================= 19:08:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:08:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:23 + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo 19:08:23 [semverPrep] GIT_COMMIT: 26847311c5e80852903f42d5f4b76f1d4cba51bb, Commit Message: fix: Change URIs for provision unit tests to go to edgexfoundry (#1514) [Pipeline] echo 19:08:23 [semverPrep] This is not a build commit. [Pipeline] sh 19:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:24 + grep -v github /etc/ssh/ssh_known_hosts 19:08:24 + [ -e /tmp/ssh_known_hosts ] 19:08:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:08:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:08:24 + sudo tee -a /etc/ssh/ssh_known_hosts 19:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:24 19:08:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:25 0.1.4: Pulling from edgex-devops/py-git-semver 19:08:25 b85a868b505f: Pulling fs layer 19:08:25 e2be974225ed: Pulling fs layer 19:08:25 339a4e72a1f5: Pulling fs layer 19:08:25 988bab9f4d93: Pulling fs layer 19:08:25 1469e6f7b9e6: Pulling fs layer 19:08:25 eaf3925da568: Pulling fs layer 19:08:25 bab4dde63d76: Pulling fs layer 19:08:25 bde34c3a00c8: Pulling fs layer 19:08:25 1469e6f7b9e6: Waiting 19:08:25 bab4dde63d76: Waiting 19:08:25 988bab9f4d93: Waiting 19:08:25 b352a97aabf1: Pulling fs layer 19:08:25 4872d77fe225: Pulling fs layer 19:08:25 5851b861e8e6: Pulling fs layer 19:08:25 eaf3925da568: Waiting 19:08:25 b352a97aabf1: Waiting 19:08:25 4872d77fe225: Waiting 19:08:25 5851b861e8e6: Waiting 19:08:25 e2be974225ed: Verifying Checksum 19:08:25 e2be974225ed: Download complete 19:08:25 988bab9f4d93: Verifying Checksum 19:08:25 988bab9f4d93: Download complete 19:08:25 1469e6f7b9e6: Verifying Checksum 19:08:25 1469e6f7b9e6: Download complete 19:08:25 eaf3925da568: Verifying Checksum 19:08:25 eaf3925da568: Download complete 19:08:25 339a4e72a1f5: Verifying Checksum 19:08:25 339a4e72a1f5: Download complete 19:08:25 bde34c3a00c8: Download complete 19:08:25 b352a97aabf1: Download complete 19:08:25 4872d77fe225: Verifying Checksum 19:08:25 4872d77fe225: Download complete 19:08:25 5851b861e8e6: Verifying Checksum 19:08:25 5851b861e8e6: Download complete 19:08:25 b85a868b505f: Verifying Checksum 19:08:25 b85a868b505f: Download complete 19:08:25 bab4dde63d76: Verifying Checksum 19:08:25 bab4dde63d76: Download complete 19:08:26 b85a868b505f: Pull complete 19:08:26 e2be974225ed: Pull complete 19:08:27 339a4e72a1f5: Pull complete 19:08:27 988bab9f4d93: Pull complete 19:08:27 1469e6f7b9e6: Pull complete 19:08:27 eaf3925da568: Pull complete 19:08:29 bab4dde63d76: Pull complete 19:08:29 bde34c3a00c8: Pull complete 19:08:29 b352a97aabf1: Pull complete 19:08:29 4872d77fe225: Pull complete 19:08:29 5851b861e8e6: Pull complete 19:08:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:29 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:08:29 $ 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 19:08:31 $ docker top 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 -eo pid,comm 19:08:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:08:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:32 [ssh-agent] Looking for ssh-agent implementation... 19:08:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:32 $ docker exec 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent 19:08:32 SSH_AUTH_SOCK=/tmp/ssh-ssuqBkRykxM8/agent.32 19:08:32 SSH_AGENT_PID=38 19:08:32 Running ssh-add (command line suppressed) 19:08:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17307296259047112381.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17307296259047112381.key) 19:08:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:32 + git tag --points-at HEAD [Pipeline] } 19:08:32 $ docker exec --env ******** --env ******** 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent -k 19:08:32 unset SSH_AUTH_SOCK; 19:08:32 unset SSH_AGENT_PID; 19:08:32 echo Agent pid 38 killed; 19:08:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:08:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:32 [ssh-agent] Looking for ssh-agent implementation... 19:08:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:32 $ docker exec 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent 19:08:33 SSH_AUTH_SOCK=/tmp/ssh-0ae5G5NWxOZN/agent.70 19:08:33 SSH_AGENT_PID=76 19:08:33 Running ssh-add (command line suppressed) 19:08:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11454550749374389885.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11454550749374389885.key) 19:08:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:33 + git semver init 19:08:33 2023-09-19 19:08:33,614 [run_init] DEBUG init version:0.0.0 force:False 19:08:33 2023-09-19 19:08:33,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:08:33 2023-09-19 19:08:33,615 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:08:33 2023-09-19 19:08:33,615 [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) 19:08:34 2023-09-19 19:08:34,559 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 19:08:34 2023-09-19 19:08:34,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 19:08:34 2023-09-19 19:08:34,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:08:34 2023-09-19 19:08:34,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:08:34 3.1.0-dev.27 [Pipeline] } 19:08:34 $ docker exec --env ******** --env ******** 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent -k 19:08:34 unset SSH_AUTH_SOCK; 19:08:34 unset SSH_AGENT_PID; 19:08:34 echo Agent pid 76 killed; 19:08:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:35 + git semver [Pipeline] } 19:08:35 $ docker stop --time=1 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 19:08:36 $ docker rm -f --volumes 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:08:37 Stashed 1 file(s) [Pipeline] echo 19:08:37 [edgeXSemver]: initialized semver on version 3.1.0-dev.27 [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 19:08:37 provisioning config files... 19:08:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9350150811215119236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:37 ---> docker-login.sh 19:08:37 nexus3.edgexfoundry.org:10001 19:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:37 Configure a credential helper to remove this warning. See 19:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:37 19:08:37 Login Succeeded 19:08:37 nexus3.edgexfoundry.org:10002 19:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:37 Configure a credential helper to remove this warning. See 19:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:37 19:08:37 Login Succeeded 19:08:37 nexus3.edgexfoundry.org:10003 19:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:37 Configure a credential helper to remove this warning. See 19:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:37 19:08:37 Login Succeeded 19:08:37 nexus3.edgexfoundry.org:10004 19:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:37 Configure a credential helper to remove this warning. See 19:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:37 19:08:37 Login Succeeded 19:08:37 docker.io 19:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:38 Configure a credential helper to remove this warning. See 19:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:38 19:08:38 Login Succeeded 19:08:38 ---> docker-login.sh ends [Pipeline] } 19:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:38 ========================================================= 19:08:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:08:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:38 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 19:08:38 Sending build context to Docker daemon 11.15MB 19:08:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:08:38 Step 2/10 : FROM ${BASE} AS builder 19:08:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:08:38 7264a8db6415: Pulling fs layer 19:08:38 c4d48a809fc2: Pulling fs layer 19:08:38 4f1c88b9dad5: Pulling fs layer 19:08:38 ad3a456e5733: Pulling fs layer 19:08:38 9e4f439ed901: Pulling fs layer 19:08:38 feaf6a47b606: Pulling fs layer 19:08:38 5e8b037d7d82: Pulling fs layer 19:08:38 8ac70367396e: Pulling fs layer 19:08:38 9e4f439ed901: Waiting 19:08:38 feaf6a47b606: Waiting 19:08:38 5e8b037d7d82: Waiting 19:08:38 6db16350a2e2: Pulling fs layer 19:08:38 9250d5d63582: Pulling fs layer 19:08:38 8ac70367396e: Waiting 19:08:38 ad3a456e5733: Waiting 19:08:38 c4d48a809fc2: Download complete 19:08:38 ad3a456e5733: Download complete 19:08:38 9e4f439ed901: Download complete 19:08:38 7264a8db6415: Verifying Checksum 19:08:38 7264a8db6415: Download complete 19:08:38 feaf6a47b606: Verifying Checksum 19:08:38 feaf6a47b606: Download complete 19:08:38 7264a8db6415: Pull complete 19:08:39 c4d48a809fc2: Pull complete 19:08:39 8ac70367396e: Verifying Checksum 19:08:39 8ac70367396e: Download complete 19:08:39 4f1c88b9dad5: Verifying Checksum 19:08:39 4f1c88b9dad5: Download complete 19:08:39 6db16350a2e2: Verifying Checksum 19:08:39 6db16350a2e2: Download complete 19:08:39 5e8b037d7d82: Verifying Checksum 19:08:39 5e8b037d7d82: Download complete 19:08:39 9250d5d63582: Verifying Checksum 19:08:39 9250d5d63582: Download complete 19:08:42 4f1c88b9dad5: Pull complete 19:08:42 ad3a456e5733: Pull complete 19:08:42 9e4f439ed901: Pull complete 19:08:42 feaf6a47b606: Pull complete 19:08:44 5e8b037d7d82: Pull complete 19:08:44 8ac70367396e: Pull complete 19:08:45 6db16350a2e2: Pull complete 19:08:46 9250d5d63582: Pull complete 19:08:46 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 19:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:08:46 ---> fa269f55d9b9 19:08:46 Step 3/10 : ARG MAKE=make build 19:08:51 ---> Running in bf45828829aa 19:08:51 Removing intermediate container bf45828829aa 19:08:51 ---> 313482978e92 19:08:51 Step 4/10 : WORKDIR /device-sdk-go 19:08:51 ---> Running in d226ccc8f1d7 19:08:51 Removing intermediate container d226ccc8f1d7 19:08:51 ---> 44afd8cd3e7f 19:08:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:08:51 ---> Running in 0160ede1429c 19:08:51 Removing intermediate container 0160ede1429c 19:08:51 ---> 337cc9107dbf 19:08:51 Step 6/10 : RUN apk add --update --no-cache make git 19:08:51 ---> Running in 66a49deaef79 19:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:08:51 OK: 265 MiB in 56 packages 19:08:52 Removing intermediate container 66a49deaef79 19:08:52 ---> 210024b904c8 19:08:52 Step 7/10 : COPY go.mod vendor* ./ 19:08:52 Still waiting to schedule task 19:08:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:08:52 ---> b764fe6ec00e 19:08:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:52 ---> Running in 8f67796f1af4 19:09:31 Removing intermediate container 8f67796f1af4 19:09:31 ---> cc681ff75c3c 19:09:31 Step 9/10 : COPY . . 19:09:31 ---> b0e688042ff7 19:09:31 Step 10/10 : RUN ${MAKE} 19:09:31 ---> Running in fcfcb4d79ba1 19:09:31 noop 19:09:31 Removing intermediate container fcfcb4d79ba1 19:09:31 ---> cd056d87c993 19:09:31 Successfully built cd056d87c993 19:09:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:31 + docker inspect -f . ci-base-image-x86_64 19:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:31 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:09:31 $ 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 19:09:31 $ docker top ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:32 + go version 19:09:32 go version go1.21.0 linux/amd64 [Pipeline] } 19:09:32 $ docker stop --time=1 ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad 19:09:33 $ docker rm -f --volumes ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:33 + docker inspect -f . ci-base-image-x86_64 19:09:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:33 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:09:33 $ 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 19:09:34 $ docker top 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 19:09:34 + make test 19:09:34 go test -race -coverprofile=coverage.out ./... 19:09:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:09:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.036s coverage: 27.6% of statements 19:09:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 80.2% of statements 19:09:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:09:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements 19:09:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:09:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:09:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements 19:09:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:10:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.4% of statements 19:10:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.015s coverage: 45.6% of statements 19:10:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements 19:10:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements 19:10:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements 19:10:19 GO111MODULE=on go vet ./... 19:10:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:10:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:10:21 ./bin/test-attribution-txt.sh [Pipeline] echo 19:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:10:21 $ docker stop --time=1 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 19:10:24 $ docker rm -f --volumes 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 [Pipeline] // withDockerContainer [Pipeline] sh 19:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:10:26 + ls -al . 19:10:26 total 304 19:10:26 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 19:09 . 19:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:08 .. 19:10:26 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 19:08 .dockerignore 19:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 19:10 .git 19:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:08 .github 19:10:26 -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 19:08 .gitignore 19:10:26 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 19:08 .golangci.yml 19:10:26 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 19:08 .semver 19:10:26 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 19:08 CHANGELOG.md 19:10:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 19:08 GOVERNANCE.md 19:10:26 -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 19:08 Jenkinsfile 19:10:26 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 19:08 LICENSE 19:10:26 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 19:08 Makefile 19:10:26 -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 19:08 OWNERS.md 19:10:26 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 19:08 README.md 19:10:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 19:08 VERSION 19:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:08 bin 19:10:26 -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 19:10 coverage.out 19:10:26 drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 19:08 example 19:10:26 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 19:08 go.mod 19:10:26 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 19:08 go.sum 19:10:26 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:08 internal 19:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 19:08 openapi 19:10:26 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 19:08 pkg 19:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:08 snap 19:10:26 -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:26 + 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=26847311c5e80852903f42d5f4b76f1d4cba51bb --label arch=amd64 --label version=3.1.0-dev.27 . 19:10:26 Sending build context to Docker daemon 11.27MB 19:10:26 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 19:10:26 Step 2/23 : FROM ${BASE} AS builder 19:10:26 ---> cd056d87c993 19:10:26 Step 3/23 : ARG MAKE=make build 19:10:26 ---> Running in 8bff369be849 19:10:26 Removing intermediate container 8bff369be849 19:10:26 ---> 6ac170b5b4f5 19:10:26 Step 4/23 : WORKDIR /device-sdk-go 19:10:26 ---> Running in 414ea42265d4 19:10:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6614 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 19:10:26 Running in /w/workspace/device-sdk-go/256 [Pipeline] { [Pipeline] checkout 19:10:26 The recommended git tool is: git 19:10:26 Removing intermediate container 414ea42265d4 19:10:26 ---> 2fdf982ca067 19:10:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:10:26 ---> Running in c4611c722155 19:10:26 Removing intermediate container c4611c722155 19:10:26 ---> 29b544b7a617 19:10:26 Step 6/23 : RUN apk add --update --no-cache make git 19:10:26 ---> Running in 8446bcd69cf9 19:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:27 OK: 265 MiB in 56 packages 19:10:27 Removing intermediate container 8446bcd69cf9 19:10:27 ---> ff3972d37f0d 19:10:27 Step 7/23 : COPY go.mod vendor* ./ 19:10:28 ---> 143d2070570e 19:10:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:28 ---> Running in 674e8c688522 19:10:28 Removing intermediate container 674e8c688522 19:10:28 ---> 58dbf58c7ddc 19:10:28 Step 9/23 : COPY . . 19:10:29 ---> c8a33cef01a5 19:10:29 Step 10/23 : RUN ${MAKE} 19:10:29 ---> Running in 0e0b01ff55dd 19:10:29 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:10:31 using credential edgex-jenkins-ssh 19:10:31 Cloning the remote Git repository 19:10:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:10:31 > git init /w/workspace/device-sdk-go/256 # timeout=10 19:10:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:10:32 > git --version # timeout=10 19:10:32 > git --version # 'git version 2.25.1' 19:10:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:10:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:34 Avoid second fetch 19:10:34 Checking out Revision 26847311c5e80852903f42d5f4b76f1d4cba51bb (main) 19:10:35 Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry (#1514)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:34 > git config core.sparsecheckout # timeout=10 19:10:34 > git checkout -f 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 19:10:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:10:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:36 Dload Upload Total Spent Left Speed 19:10:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 19:10:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:10:37 + + sudo tee /etc/docker/daemon.newsudo 19:10:37 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:10:37 { 19:10:37 "registry-mirrors": [ 19:10:37 "https://nexus3.edgexfoundry.org:10001" 19:10:37 ], 19:10:37 "bip": "10.250.0.254/24", 19:10:37 "hosts": [ 19:10:37 "tcp://0.0.0.0:5555", 19:10:37 "unix:///var/run/docker.sock" 19:10:37 ], 19:10:37 "mtu": 1458, 19:10:37 "selinux-enabled": true, 19:10:37 "seccomp-profile": "/etc/docker/seccomp.json" 19:10:37 } [Pipeline] sh 19:10:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:10:37 + sudo service docker restart 19:10:47 Removing intermediate container 0e0b01ff55dd 19:10:47 ---> dc7b77e613f2 19:10:47 Step 11/23 : FROM alpine:3.18 19:10:47 3.18: Pulling from library/alpine 19:10:47 7264a8db6415: Already exists 19:10:47 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 19:10:47 Status: Downloaded newer image for alpine:3.18 19:10:47 ---> 7e01a0d0a1dc 19:10:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:10:47 ---> Running in 7cbd27c1ba6d 19:10:47 Removing intermediate container 7cbd27c1ba6d 19:10:47 ---> aa3483b74d10 19:10:47 Step 13/23 : RUN apk add --update --no-cache 19:10:47 ---> Running in a8d4d428d62a 19:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:47 OK: 7 MiB in 15 packages 19:10:47 Removing intermediate container a8d4d428d62a 19:10:47 ---> ca4e7d3e5add 19:10:47 Step 14/23 : WORKDIR / 19:10:47 ---> Running in c42ae508da06 19:10:47 Removing intermediate container c42ae508da06 19:10:47 ---> bcca8bc4f49e 19:10:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:10:47 ---> b0a561e15999 19:10:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:10:48 ---> 55059217f536 19:10:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:10:48 ---> b024eef31a78 19:10:48 Step 18/23 : EXPOSE 59999 19:10:49 ---> Running in 60bcc44d4bbb 19:10:49 Removing intermediate container 60bcc44d4bbb 19:10:49 ---> 56bf00a79752 19:10:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:10:49 ---> Running in 657b149866eb 19:10:49 Removing intermediate container 657b149866eb 19:10:49 ---> 2a19fe24de42 19:10:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:10:49 ---> Running in 65e3c524ce43 19:10:49 Removing intermediate container 65e3c524ce43 19:10:49 ---> e8c3ab96b265 19:10:49 Step 21/23 : LABEL arch=amd64 19:10:49 ---> Running in dbf6bdf6a47b 19:10:49 Removing intermediate container dbf6bdf6a47b 19:10:49 ---> 791cb1305dff 19:10:49 Step 22/23 : LABEL git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb 19:10:49 ---> Running in 37456963fcb1 19:10:49 Removing intermediate container 37456963fcb1 19:10:49 ---> 78a8c153f138 19:10:49 Step 23/23 : LABEL version=3.1.0-dev.27 19:10:49 ---> Running in 2d43bab02d90 19:10:49 Removing intermediate container 2d43bab02d90 19:10:49 ---> 22a7881ae3e4 19:10:49 [Warning] One or more build-args [ARCH] were not consumed 19:10:49 Successfully built 22a7881ae3e4 19:10:49 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 19:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:50 19:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:50 latest: Pulling from edgex-lftools-log-publisher 19:10:50 5eb5b503b376: Pulling fs layer 19:10:50 5c69ac0246d0: Pulling fs layer 19:10:50 ec43610c2a17: Pulling fs layer 19:10:50 3a2ae6a8a46f: Pulling fs layer 19:10:50 33b1e0a273af: Pulling fs layer 19:10:50 5d3b04190fa2: Pulling fs layer 19:10:50 2f39f015ded8: Pulling fs layer 19:10:50 33b1e0a273af: Waiting 19:10:50 5d3b04190fa2: Waiting 19:10:50 3a2ae6a8a46f: Waiting 19:10:50 2f39f015ded8: Waiting 19:10:50 5c69ac0246d0: Verifying Checksum 19:10:50 5c69ac0246d0: Download complete 19:10:50 3a2ae6a8a46f: Download complete 19:10:50 33b1e0a273af: Verifying Checksum 19:10:50 33b1e0a273af: Download complete 19:10:50 5d3b04190fa2: Verifying Checksum 19:10:50 5d3b04190fa2: Download complete 19:10:50 ec43610c2a17: Verifying Checksum 19:10:50 ec43610c2a17: Download complete 19:10:50 5eb5b503b376: Verifying Checksum 19:10:50 5eb5b503b376: Download complete 19:10:51 2f39f015ded8: Download complete 19:10:51 5eb5b503b376: Pull complete 19:10:52 5c69ac0246d0: Pull complete 19:10:52 ec43610c2a17: Pull complete 19:10:52 3a2ae6a8a46f: Pull complete 19:10:52 33b1e0a273af: Pull complete 19:10:52 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:55 provisioning config files... 19:10:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/256@tmp/config11187650144323861428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:56 ---> docker-login.sh 19:10:56 nexus3.edgexfoundry.org:10001 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:56 Configure a credential helper to remove this warning. See 19:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:56 19:10:56 Login Succeeded 19:10:56 nexus3.edgexfoundry.org:10002 19:10:56 2f39f015ded8: Pull complete 19:10:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:56 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:10:56 $ 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 19:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:57 Configure a credential helper to remove this warning. See 19:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:57 19:10:57 Login Succeeded 19:10:57 nexus3.edgexfoundry.org:10003 19:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:57 Configure a credential helper to remove this warning. See 19:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:57 19:10:57 Login Succeeded 19:10:57 nexus3.edgexfoundry.org:10004 19:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:57 Configure a credential helper to remove this warning. See 19:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:57 19:10:57 Login Succeeded 19:10:57 docker.io 19:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:58 Configure a credential helper to remove this warning. See 19:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:58 19:10:58 Login Succeeded 19:10:58 ---> docker-login.sh ends 19:11:01 $ docker top 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 -eo pid,comm [Pipeline] { [Pipeline] } 19:11:01 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:01 ========================================================= 19:11:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:11:01 ========================================================= 19:11:01 ---> job-cost.sh 19:11:01 lf-activate-venv: SKIPPING 19:11:01 INFO: No Stack... [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:01 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 19:11:02 INFO: Retrieving Pricing Info for: v3-standard-8 19:11:02 Sending build context to Docker daemon 5.955MB 19:11:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:11:02 INFO: Archiving Costs [Pipeline] sh 19:11:02 Step 2/10 : FROM ${BASE} AS builder 19:11:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:11:02 9fda8d8052c6: Pulling fs layer 19:11:02 5d54e960e981: Pulling fs layer 19:11:02 c4a7e357bf2a: Pulling fs layer 19:11:02 f0e02332f6b5: Pulling fs layer 19:11:02 66412af1f25a: Pulling fs layer 19:11:02 1baf3a5c0e64: Pulling fs layer 19:11:02 9a37bb91b891: Pulling fs layer 19:11:02 a29adfc67d43: Pulling fs layer 19:11:02 d5de9f91c1a4: Pulling fs layer 19:11:02 f0e02332f6b5: Waiting 19:11:02 66412af1f25a: Waiting 19:11:02 1baf3a5c0e64: Waiting 19:11:02 9a37bb91b891: Waiting 19:11:02 a29adfc67d43: Waiting 19:11:02 d5de9f91c1a4: Waiting 19:11:02 5d54e960e981: Verifying Checksum 19:11:02 5d54e960e981: Download complete 19:11:02 f0e02332f6b5: Download complete 19:11:02 66412af1f25a: Download complete 19:11:02 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 19:11:02 + cut -d, -f6 19:11:02 9fda8d8052c6: Download complete [Pipeline] lock 19:11:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] 19:11:02 Resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] did not exist. Created. 19:11:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:11:02 9a37bb91b891: Verifying Checksum 19:11:02 9a37bb91b891: Download complete 19:11:02 + echo total: 0.2199999988079071 [Pipeline] stash 19:11:03 Stashed 1 file(s) [Pipeline] } 19:11:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] // lock [Pipeline] } 19:11:03 $ docker stop --time=1 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 19:11:03 a29adfc67d43: Verifying Checksum 19:11:03 a29adfc67d43: Download complete 19:11:04 d5de9f91c1a4: Verifying Checksum 19:11:04 d5de9f91c1a4: Download complete 19:11:04 c4a7e357bf2a: Verifying Checksum 19:11:04 c4a7e357bf2a: Download complete 19:11:04 $ docker rm -f --volumes 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:11:04 9fda8d8052c6: Pull complete 19:11:04 1baf3a5c0e64: Verifying Checksum 19:11:04 1baf3a5c0e64: Download complete 19:11:05 5d54e960e981: Pull complete 19:11:15 c4a7e357bf2a: Pull complete 19:11:15 f0e02332f6b5: Pull complete 19:11:15 66412af1f25a: Pull complete 19:11:23 1baf3a5c0e64: Pull complete 19:11:23 9a37bb91b891: Pull complete 19:11:25 a29adfc67d43: Pull complete 19:11:26 d5de9f91c1a4: Pull complete 19:11:26 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 19:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:11:26 ---> 746ca1b523b5 19:11:26 Step 3/10 : ARG MAKE=make build 19:11:28 ---> Running in 17224c3056a7 19:11:28 Removing intermediate container 17224c3056a7 19:11:28 ---> 38f1992e6b5e 19:11:28 Step 4/10 : WORKDIR /device-sdk-go 19:11:28 ---> Running in 06ce7752db4f 19:11:29 Removing intermediate container 06ce7752db4f 19:11:29 ---> 318ece60e0d4 19:11:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:11:29 ---> Running in 5ed95d317976 19:11:29 Removing intermediate container 5ed95d317976 19:11:29 ---> 12f0b0861466 19:11:29 Step 6/10 : RUN apk add --update --no-cache make git 19:11:29 ---> Running in 7c2561b60e4e 19:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:11:32 OK: 267 MiB in 56 packages 19:11:33 Removing intermediate container 7c2561b60e4e 19:11:33 ---> 7e637cfea38b 19:11:33 Step 7/10 : COPY go.mod vendor* ./ 19:11:33 ---> 91fd6b49a726 19:11:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:33 ---> Running in fcf3be0bfb88 19:12:41 Removing intermediate container fcf3be0bfb88 19:12:41 ---> 43bade00bd3d 19:12:41 Step 9/10 : COPY . . 19:12:41 ---> b537063536d4 19:12:41 Step 10/10 : RUN ${MAKE} 19:12:41 ---> Running in 9e8604ad7b77 19:12:41 noop 19:12:41 Removing intermediate container 9e8604ad7b77 19:12:41 ---> 0b7cf2c9ee89 19:12:41 Successfully built 0b7cf2c9ee89 19:12:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:42 + docker inspect -f . ci-base-image-arm64 19:12:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:42 prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container 19:12:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@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 19:12:43 $ docker top 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:44 + go version 19:12:44 go version go1.21.0 linux/arm64 [Pipeline] } 19:12:44 $ docker stop --time=1 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe 19:12:45 $ docker rm -f --volumes 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:46 + docker inspect -f . ci-base-image-arm64 19:12:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:46 prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container 19:12:46 $ 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/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@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 19:12:47 $ docker top 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/256 [Pipeline] fileExists [Pipeline] sh 19:12:48 + make test 19:12:48 go test -race -coverprofile=coverage.out ./... 19:13:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:14:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:14:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:14:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:14:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:14:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:14:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.192s coverage: 27.6% of statements 19:15:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.282s coverage: 80.2% of statements 19:15:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:15:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:15:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.374s coverage: 86.0% of statements 19:15:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:15:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.419s coverage: 71.8% of statements 19:15:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.309s coverage: 14.4% of statements 19:15:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.725s coverage: 45.6% of statements 19:15:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:15:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:15:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.433s coverage: 68.5% of statements 19:15:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements 19:15:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:15:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements 19:15:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:15:32 GO111MODULE=on go vet ./... 19:17:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:17:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:17:24 ./bin/test-attribution-txt.sh [Pipeline] echo 19:17:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:17:24 $ docker stop --time=1 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 19:17:26 $ docker rm -f --volumes 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 [Pipeline] // withDockerContainer [Pipeline] sh 19:17:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:17:28 Warning: overwriting stash ‘coverage-report’ 19:17:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:17:29 + ls -al . 19:17:29 total 300 19:17:29 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 19:12 . 19:17:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:10 .. 19:17:29 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 19:10 .dockerignore 19:17:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 19:10 .git 19:17:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:10 .github 19:17:29 -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 19:10 .gitignore 19:17:29 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 19:10 .golangci.yml 19:17:29 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 19:10 CHANGELOG.md 19:17:29 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 19:10 GOVERNANCE.md 19:17:29 -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 19:10 Jenkinsfile 19:17:29 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 19:10 LICENSE 19:17:29 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 19:10 Makefile 19:17:29 -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 19:10 OWNERS.md 19:17:29 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 19:10 README.md 19:17:29 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 19:08 VERSION 19:17:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:10 bin 19:17:29 -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 19:15 coverage.out 19:17:29 drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 19:10 example 19:17:29 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 19:10 go.mod 19:17:29 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 19:10 go.sum 19:17:29 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:10 internal 19:17:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 19:10 openapi 19:17:29 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 19:10 pkg 19:17:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:10 snap 19:17:29 -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:29 + 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=26847311c5e80852903f42d5f4b76f1d4cba51bb --label arch=arm64 --label version=3.1.0-dev.27 . 19:17:29 Sending build context to Docker daemon 6.077MB 19:17:29 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 19:17:29 Step 2/23 : FROM ${BASE} AS builder 19:17:29 ---> 0b7cf2c9ee89 19:17:29 Step 3/23 : ARG MAKE=make build 19:17:30 ---> Running in 4a97c9e6d18d 19:17:30 Removing intermediate container 4a97c9e6d18d 19:17:30 ---> 4e2048b8e3a7 19:17:30 Step 4/23 : WORKDIR /device-sdk-go 19:17:30 ---> Running in 87ffaaea51fc 19:17:30 Removing intermediate container 87ffaaea51fc 19:17:30 ---> d42ea5efab81 19:17:30 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:17:30 ---> Running in f0c2d47fca40 19:17:31 Removing intermediate container f0c2d47fca40 19:17:31 ---> 38c4d7949fd6 19:17:31 Step 6/23 : RUN apk add --update --no-cache make git 19:17:31 ---> Running in 2051b55b8c87 19:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:17:33 OK: 267 MiB in 56 packages 19:17:34 Removing intermediate container 2051b55b8c87 19:17:34 ---> fdc6eedabdf7 19:17:34 Step 7/23 : COPY go.mod vendor* ./ 19:17:34 ---> bccc42046968 19:17:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:34 ---> Running in 1bd12cc42368 19:17:36 Removing intermediate container 1bd12cc42368 19:17:36 ---> af4dac69a74e 19:17:36 Step 9/23 : COPY . . 19:17:38 ---> 06e1f96793ef 19:17:38 Step 10/23 : RUN ${MAKE} 19:17:38 ---> Running in ba592155e589 19:17:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:19:30 Removing intermediate container ba592155e589 19:19:30 ---> 7160e4fb4762 19:19:30 Step 11/23 : FROM alpine:3.18 19:19:30 3.18: Pulling from library/alpine 19:19:30 9fda8d8052c6: Already exists 19:19:30 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 19:19:30 Status: Downloaded newer image for alpine:3.18 19:19:30 ---> f6648c04cd6c 19:19:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:19:30 ---> Running in b9870597d7f6 19:19:30 Removing intermediate container b9870597d7f6 19:19:30 ---> 732f406365ad 19:19:30 Step 13/23 : RUN apk add --update --no-cache 19:19:30 ---> Running in 2f135d467612 19:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:19:30 OK: 8 MiB in 15 packages 19:19:30 Removing intermediate container 2f135d467612 19:19:30 ---> 7c60f89ce19f 19:19:30 Step 14/23 : WORKDIR / 19:19:30 ---> Running in 4a82ad6cb827 19:19:30 Removing intermediate container 4a82ad6cb827 19:19:30 ---> eff53f12b16c 19:19:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:19:30 ---> 18190cfff77e 19:19:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:19:30 ---> c7a2034bcb97 19:19:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:19:30 ---> 3adc05d6dde6 19:19:30 Step 18/23 : EXPOSE 59999 19:19:30 ---> Running in 68336a7935bf 19:19:30 Removing intermediate container 68336a7935bf 19:19:30 ---> 3268a0624190 19:19:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:19:30 ---> Running in 08bd34ee23e0 19:19:30 Removing intermediate container 08bd34ee23e0 19:19:30 ---> f08595286eb5 19:19:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:19:30 ---> Running in 69d911de854d 19:19:30 Removing intermediate container 69d911de854d 19:19:30 ---> f575929b6a6f 19:19:30 Step 21/23 : LABEL arch=arm64 19:19:30 ---> Running in 7fd531c482fc 19:19:30 Removing intermediate container 7fd531c482fc 19:19:30 ---> 0ed2dcbfbbe3 19:19:30 Step 22/23 : LABEL git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb 19:19:30 ---> Running in 785fef9bbd58 19:19:30 Removing intermediate container 785fef9bbd58 19:19:30 ---> 4677ac6599d9 19:19:30 Step 23/23 : LABEL version=3.1.0-dev.27 19:19:30 ---> Running in dc84f9cb1f98 19:19:30 Removing intermediate container dc84f9cb1f98 19:19:30 ---> 4c246326e4bc 19:19:30 [Warning] One or more build-args [ARCH] were not consumed 19:19:30 Successfully built 4c246326e4bc 19:19:30 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 19:19:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:31 19:19:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:31 arm64: Pulling from edgex-lftools-log-publisher 19:19:31 8998bd30e6a1: Pulling fs layer 19:19:31 04944245beec: Pulling fs layer 19:19:31 699f458cf7ca: Pulling fs layer 19:19:31 765212b225bb: Pulling fs layer 19:19:31 f23df028b6ca: Pulling fs layer 19:19:31 d65c8cfc05b1: Pulling fs layer 19:19:31 2437ff75d9bd: Pulling fs layer 19:19:31 f23df028b6ca: Waiting 19:19:31 d65c8cfc05b1: Waiting 19:19:31 2437ff75d9bd: Waiting 19:19:31 765212b225bb: Waiting 19:19:31 04944245beec: Verifying Checksum 19:19:31 04944245beec: Download complete 19:19:31 765212b225bb: Verifying Checksum 19:19:31 765212b225bb: Download complete 19:19:31 f23df028b6ca: Download complete 19:19:31 d65c8cfc05b1: Verifying Checksum 19:19:31 d65c8cfc05b1: Download complete 19:19:31 699f458cf7ca: Verifying Checksum 19:19:31 699f458cf7ca: Download complete 19:19:32 8998bd30e6a1: Verifying Checksum 19:19:32 8998bd30e6a1: Download complete 19:19:34 2437ff75d9bd: Verifying Checksum 19:19:34 2437ff75d9bd: Download complete 19:19:36 8998bd30e6a1: Pull complete 19:19:36 04944245beec: Pull complete 19:19:37 699f458cf7ca: Pull complete 19:19:38 765212b225bb: Pull complete 19:19:38 f23df028b6ca: Pull complete 19:19:38 d65c8cfc05b1: Pull complete 19:19:53 2437ff75d9bd: Pull complete 19:19:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:54 prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container 19:19:54 $ 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/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@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 19:19:56 $ docker top eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:57 ---> job-cost.sh 19:19:57 lf-activate-venv: SKIPPING 19:19:57 INFO: No Stack... 19:19:57 INFO: Retrieving Pricing Info for: v3-standard-4 19:19:58 INFO: Archiving Costs [Pipeline] sh 19:19:58 + cat /w/workspace/device-sdk-go/256/archives/cost.csv 19:19:58 + cut -d, -f6 [Pipeline] lock 19:19:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] 19:19:58 Resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] did not exist. Created. 19:19:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:19:59 /w/workspace/device-sdk-go/256@tmp/durable-40a97e80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:19:59 + echo total: 0.10999999940395355 [Pipeline] stash 19:19:59 Warning: overwriting stash ‘stack-cost’ 19:19:59 Stashed 1 file(s) [Pipeline] } 19:19:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] // lock [Pipeline] } 19:19:59 $ docker stop --time=1 eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 19:20:01 $ docker rm -f --volumes eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 [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 19:20:01 provisioning config files... 19:20:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8752651999354890843tmp [Pipeline] { [Pipeline] sh 19:20:01 + set +x 19:20:01 + curl -s https://codecov.io/bash 19:20:01 + bash -s -- 19:20:01 19:20:01 _____ _ 19:20:01 / ____| | | 19:20:01 | | ___ __| | ___ ___ _____ __ 19:20:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:20:01 | |___| (_) | (_| | __/ (_| (_) \ V / 19:20:01 \_____\___/ \__,_|\___|\___\___/ \_/ 19:20:01 Bash-1.0.6 19:20:01 19:20:01 19:20:01 ==> git version 2.25.1 found 19:20: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 19:20:01 Release-Date: 2020-01-08 19:20: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 19:20:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:20:01 ==> Jenkins CI detected. 19:20:01 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:20:01 project root: . 19:20:01 --> token set from env 19:20:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:20:02 ==> Running gcov in . (disable via -X gcov) 19:20:02 ==> Python coveragepy not found 19:20:02 ==> Searching for coverage reports in: 19:20:02 + . 19:20:02 -> Found 1 reports 19:20:02 ==> Detecting git/mercurial file structure 19:20:02 ==> Reading reports 19:20:02 + ./coverage.out bytes=121385 19:20:02 ==> Appending adjustments 19:20:02 https://docs.codecov.io/docs/fixing-reports 19:20:02 + Found adjustments 19:20:02 ==> Gzipping contents 19:20:02 20K /tmp/codecov.aaQD6C.gz 19:20:02 ==> Uploading reports 19:20:02 url: https://codecov.io 19:20:02 query: branch=main&commit=26847311c5e80852903f42d5f4b76f1d4cba51bb&build=256&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F256%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:20:02 -> Pinging Codecov 19:20:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=26847311c5e80852903f42d5f4b76f1d4cba51bb&build=256&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F256%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:20:02 -> Uploading to 19:20:02 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/26847311c5e80852903f42d5f4b76f1d4cba51bb/0c4369ec-81ba-4dc3-8b6b-cc4844da0149.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T192002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8029ca721cf4e3b6aa911a616e0e538ad8216f12f9c1c38b435eba3451991b91 19:20:02 % Total % Received % Xferd Average Speed Time Time Time Current 19:20:02 Dload Upload Total Spent Left Speed 19:20:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16544 0 0 100 16544 0 83979 --:--:-- --:--:-- --:--:-- 83979 19:20:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] } 19:20:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:20:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:20:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:20:03 19:20:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:20:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:20:03 df9b9388f04a: Pulling fs layer 19:20:03 52dc419b0ee2: Pulling fs layer 19:20:03 25bc292e5bac: Pulling fs layer 19:20:03 114826534d7a: Pulling fs layer 19:20:03 4657fd5d0bcf: Pulling fs layer 19:20:03 6ad1cebc031e: Pulling fs layer 19:20:03 8a3aa393b2d8: Pulling fs layer 19:20:03 114826534d7a: Waiting 19:20:03 4657fd5d0bcf: Waiting 19:20:03 6ad1cebc031e: Waiting 19:20:03 25bc292e5bac: Verifying Checksum 19:20:03 25bc292e5bac: Download complete 19:20:03 52dc419b0ee2: Verifying Checksum 19:20:03 52dc419b0ee2: Download complete 19:20:03 4657fd5d0bcf: Verifying Checksum 19:20:03 4657fd5d0bcf: Download complete 19:20:03 df9b9388f04a: Download complete 19:20:03 df9b9388f04a: Pull complete 19:20:03 52dc419b0ee2: Pull complete 19:20:03 6ad1cebc031e: Verifying Checksum 19:20:03 6ad1cebc031e: Download complete 19:20:03 25bc292e5bac: Pull complete 19:20:04 114826534d7a: Verifying Checksum 19:20:04 114826534d7a: Download complete 19:20:04 8a3aa393b2d8: Verifying Checksum 19:20:04 8a3aa393b2d8: Download complete 19:20:07 114826534d7a: Pull complete 19:20:07 4657fd5d0bcf: Pull complete 19:20:08 6ad1cebc031e: Pull complete 19:20:11 8a3aa393b2d8: Pull complete 19:20:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:20:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:11 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:20:11 $ 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 19:20:15 $ docker top a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d -eo pid,comm [Pipeline] { [Pipeline] echo 19:20:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:20:15 + set -o pipefail 19:20:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:20:20 19:20:20 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:20:20 19:20:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/45829ac5-d478-44b9-9942-22e6f8fc3386 19:20:20 19:20:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:20:20 19:20:21 19:20:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:20:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:20:21 More details here: https://snyk.co/ue1NS [Pipeline] } 19:20:21 $ docker stop --time=1 a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d 19:20:24 $ docker rm -f --volumes a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d [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 19:20:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:25 provisioning config files... 19:20:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config550854289185467597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:25 --> edgex-publish-swagger.sh 19:20:25 === Publish openapi/v3 API === 19:20:25 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:20:25 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:20:25 % Total % Received % Xferd Average Speed Time Time Time Current 19:20:25 Dload Upload Total Spent Left Speed 19:20:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 109k --:--:-- --:--:-- --:--:-- 109k 100 23674 0 0 100 23674 0 49631 --:--:-- --:--:-- --:--:-- 49527 19:20:25 19:20:25 [Pipeline] } 19:20:25 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 19:20:26 + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] sh 19:20:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:27 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:20:27 $ 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 19:20:27 $ docker top 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 -eo pid,comm 19:20:27 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). 19:20:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:27 [ssh-agent] Looking for ssh-agent implementation... 19:20:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:27 $ docker exec 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 ssh-agent 19:20:27 SSH_AUTH_SOCK=/tmp/ssh-wr2t9aek6ZBj/agent.32 19:20:27 SSH_AGENT_PID=38 19:20:27 Running ssh-add (command line suppressed) 19:20:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7912295848056261244.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7912295848056261244.key) 19:20:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:28 + git semver tag 19:20:28 2023-09-19 19:20:28,437 [run_tag] DEBUG tag force:False 19:20:28 2023-09-19 19:20:28,437 [check_head_tag] DEBUG check head tag 19:20:28 2023-09-19 19:20:28,438 [execute] INFO git cat-file --batch-check 19:20:28 2023-09-19 19:20:28,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:20:28 2023-09-19 19:20:28,442 [execute] INFO git cat-file --batch 19:20:28 2023-09-19 19:20:28,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:20:28 2023-09-19 19:20:28,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:28 2023-09-19 19:20:28,458 [execute] INFO git tag -a v3.1.0-dev.27 -m v3.1.0-dev.27 19:20:28 2023-09-19 19:20:28,459 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.27', '-m', 'v3.1.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:20:28 2023-09-19 19:20:28,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:28 3.1.0-dev.27 [Pipeline] } 19:20:28 $ docker exec --env ******** --env ******** 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 ssh-agent -k 19:20:28 unset SSH_AUTH_SOCK; 19:20:28 unset SSH_AGENT_PID; 19:20:28 echo Agent pid 38 killed; 19:20:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:28 + git semver [Pipeline] } 19:20:29 $ docker stop --time=1 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 19:20:30 $ docker rm -f --volumes 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:20:30 19:20:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:20:31 0.23.1-centos7: Pulling from edgex-lftools 19:20:31 ab5ef0e58194: Pulling fs layer 19:20:31 9712f1f96733: Pulling fs layer 19:20:31 63f879dbbcfc: Pulling fs layer 19:20:31 0d9ebad4ef96: Pulling fs layer 19:20:31 e9a5061849ea: Pulling fs layer 19:20:31 d747dcd14b5f: Pulling fs layer 19:20:31 2de7ff778b66: Pulling fs layer 19:20:31 d747dcd14b5f: Waiting 19:20:31 2de7ff778b66: Waiting 19:20:31 0d9ebad4ef96: Waiting 19:20:31 e9a5061849ea: Waiting 19:20:31 9712f1f96733: Verifying Checksum 19:20:31 9712f1f96733: Download complete 19:20:31 63f879dbbcfc: Verifying Checksum 19:20:31 63f879dbbcfc: Download complete 19:20:31 e9a5061849ea: Verifying Checksum 19:20:31 e9a5061849ea: Download complete 19:20:31 d747dcd14b5f: Verifying Checksum 19:20:31 d747dcd14b5f: Download complete 19:20:31 0d9ebad4ef96: Verifying Checksum 19:20:31 0d9ebad4ef96: Download complete 19:20:32 ab5ef0e58194: Verifying Checksum 19:20:32 ab5ef0e58194: Download complete 19:20:32 2de7ff778b66: Verifying Checksum 19:20:32 2de7ff778b66: Download complete 19:20:34 ab5ef0e58194: Pull complete 19:20:34 9712f1f96733: Pull complete 19:20:35 63f879dbbcfc: Pull complete 19:20:39 0d9ebad4ef96: Pull complete 19:20:39 e9a5061849ea: Pull complete 19:20:39 d747dcd14b5f: Pull complete 19:20:40 2de7ff778b66: Pull complete 19:20:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:20:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:40 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:20:40 $ 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 19:20:46 $ docker top 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:20:46 provisioning config files... 19:20:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8353288208392205198tmp 19:20:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10906421429449483606tmp 19:20:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16827325054129664171tmp [Pipeline] { [Pipeline] echo 19:20:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:20:46 ---> sigul-configuration.sh 19:20:46 gpg: directory `/root/.gnupg' created 19:20:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:20:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:20:46 gpg: keyring `/root/.gnupg/secring.gpg' created 19:20:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:20:46 gpg: CAST5 encrypted data 19:20:46 gpg: encrypted with 1 passphrase 19:20:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:20:46 + mkdir /home/jenkins 19:20:46 + mkdir /home/jenkins/sigul [Pipeline] sh 19:20:47 + 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 19:20:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:20:47 ---> sigul-install.sh 19:20:47 Sigul already installed; skipping installation. [Pipeline] sh 19:20:47 + git tag --list 19:20:47 0.7.1 19:20:47 delhi-tag 19:20:47 v1.0.0 19:20:47 v1.1.0 19:20:47 v1.1.1 19:20:47 v1.1.2 19:20:47 v1.2.0 19:20:47 v1.2.1 19:20:47 v1.2.2 19:20:47 v1.2.3 19:20:47 v1.3.0 19:20:47 v1.4.0 19:20:47 v2.0.0 19:20:47 v2.1.0 19:20:47 v2.1.1 19:20:47 v2.2.0 19:20:47 v2.3.0 19:20:47 v2.3.1 19:20:47 v3.0 19:20:47 v3.0.0 19:20:47 v3.0.1-dev.1 19:20:47 v3.1.0-dev.1 19:20:47 v3.1.0-dev.10 19:20:47 v3.1.0-dev.11 19:20:47 v3.1.0-dev.12 19:20:47 v3.1.0-dev.13 19:20:47 v3.1.0-dev.14 19:20:47 v3.1.0-dev.15 19:20:47 v3.1.0-dev.16 19:20:47 v3.1.0-dev.17 19:20:47 v3.1.0-dev.18 19:20:47 v3.1.0-dev.19 19:20:47 v3.1.0-dev.2 19:20:47 v3.1.0-dev.20 19:20:47 v3.1.0-dev.21 19:20:47 v3.1.0-dev.22 19:20:47 v3.1.0-dev.23 19:20:47 v3.1.0-dev.24 19:20:47 v3.1.0-dev.25 19:20:47 v3.1.0-dev.26 19:20:47 v3.1.0-dev.27 19:20:47 v3.1.0-dev.3 19:20:47 v3.1.0-dev.4 19:20:47 v3.1.0-dev.5 19:20:47 v3.1.0-dev.6 19:20:47 v3.1.0-dev.7 19:20:47 v3.1.0-dev.8 19:20:47 v3.1.0-dev.9 [Pipeline] sh 19:20:48 + lftools sign git-tag v3.1.0-dev.27 19:20:48 Signing Git tag with Sigul... 19:20:48 Signing v3.1.0-dev.27 [Pipeline] echo 19:20:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:20:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:20:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:20:49 $ docker stop --time=1 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 19:20:50 $ docker rm -f --volumes 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:20:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:51 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:20:52 $ docker top d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 -eo pid,comm 19:20:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:20:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:52 [ssh-agent] Looking for ssh-agent implementation... 19:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:52 $ docker exec d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 ssh-agent 19:20:52 SSH_AUTH_SOCK=/tmp/ssh-BbSbSgzrZV63/agent.32 19:20:52 SSH_AGENT_PID=38 19:20:52 Running ssh-add (command line suppressed) 19:20:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2149970058328274828.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2149970058328274828.key) 19:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:52 + git semver bump pre 19:20:53 2023-09-19 19:20:52,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:53 2023-09-19 19:20:52,988 [bump_version] DEBUG bumping version:3.1.0-dev.27 on axis:pre with prefix:dev 19:20:53 2023-09-19 19:20:52,988 [bump_version] DEBUG bumped version:3.1.0-dev.28 19:20:53 2023-09-19 19:20:52,989 [write_version] DEBUG write version:3.1.0-dev.28 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:20:53 2023-09-19 19:20:52,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:53 2023-09-19 19:20:52,989 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:53 2023-09-19 19:20:52,990 [execute] INFO git cat-file --batch-check 19:20:53 2023-09-19 19:20:52,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:53 2023-09-19 19:20:52,995 [execute] INFO git cat-file --batch 19:20:53 2023-09-19 19:20:52,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:53 2023-09-19 19:20:53,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:53 3.1.0-dev.28 [Pipeline] } 19:20:53 $ docker exec --env ******** --env ******** d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 ssh-agent -k 19:20:53 unset SSH_AUTH_SOCK; 19:20:53 unset SSH_AGENT_PID; 19:20:53 echo Agent pid 38 killed; 19:20:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:53 + git semver [Pipeline] } 19:20:53 $ docker stop --time=1 d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 19:20:55 $ docker rm -f --volumes d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:55 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:20:55 $ 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 19:20:56 $ docker top bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:56 [ssh-agent] Looking for ssh-agent implementation... 19:20:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:56 $ docker exec bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 ssh-agent 19:20:56 SSH_AUTH_SOCK=/tmp/ssh-lmy3piofzvg6/agent.32 19:20:56 SSH_AGENT_PID=38 19:20:56 Running ssh-add (command line suppressed) 19:20:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6072148645259525978.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6072148645259525978.key) 19:20:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:56 + git semver push 19:20:57 2023-09-19 19:20:57,097 [run_push] DEBUG push 19:20:57 2023-09-19 19:20:57,098 [execute] INFO git cat-file --batch-check 19:20:57 2023-09-19 19:20:57,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:57 2023-09-19 19:20:57,103 [execute] INFO git rev-list f3f00c3bdd5d76866bdc30ddd2ac6a74761ededf -- 19:20:57 2023-09-19 19:20:57,103 [execute] DEBUG Popen(['git', 'rev-list', 'f3f00c3bdd5d76866bdc30ddd2ac6a74761ededf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:20:57 2023-09-19 19:20:57,118 [execute] INFO git fetch -v origin 19:20:57 2023-09-19 19:20:57,119 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:20:57 2023-09-19 19:20:57,610 [run_push] DEBUG no remote changes detected 19:20:57 2023-09-19 19:20:57,610 [execute] INFO git push origin semver 19:20:57 2023-09-19 19:20:57,611 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:20:59 2023-09-19 19:20:59,002 [run_push] DEBUG push all version tags 19:20:59 2023-09-19 19:20:59,003 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:20:59 2023-09-19 19:20:59,003 [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) 19:21:00 2023-09-19 19:20:59,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:21:00 3.1.0-dev.28 [Pipeline] } 19:21:00 $ docker exec --env ******** --env ******** bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 ssh-agent -k 19:21:00 unset SSH_AUTH_SOCK; 19:21:00 unset SSH_AGENT_PID; 19:21:00 echo Agent pid 38 killed; 19:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:21:00 + git semver [Pipeline] } 19:21:00 $ docker stop --time=1 bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 19:21:02 $ docker rm -f --volumes bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 [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 19:21:02 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:21:02 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:21:02 total 16 19:21:02 drwxr-xr-x 3 root root 4096 Sep 19 19:11 . 19:21:02 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:20 .. 19:21:02 drwxr-xr-x 2 root root 4096 Sep 19 19:11 cost 19:21:02 -rw-r--r-- 1 root root 85 Sep 19 19:11 cost.csv 19:21:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:21:02 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:21:02 total 16 19:21:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 19:11 . 19:21:02 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:20 .. 19:21:02 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 19:11 cost 19:21:02 -rw-r--r-- 1 jenkins jenkins 85 Sep 19 19:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:21:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:04 ---> package-listing.sh 19:21:04 ++ facter osfamily 19:21:04 ++ tr '[:upper:]' '[:lower:]' 19:21:04 + OS_FAMILY=debian 19:21:04 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:21:04 + START_PACKAGES=/tmp/packages_start.txt 19:21:04 + END_PACKAGES=/tmp/packages_end.txt 19:21:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:04 + PACKAGES=/tmp/packages_start.txt 19:21:04 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:21:04 + PACKAGES=/tmp/packages_end.txt 19:21:04 + case "${OS_FAMILY}" in 19:21:04 + dpkg -l 19:21:04 + grep '^ii' 19:21:04 + '[' -f /tmp/packages_start.txt ']' 19:21:04 + '[' -f /tmp/packages_end.txt ']' 19:21:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:04 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:21:04 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:21:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:21:04 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 19:21:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:05 prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container 19:21:05 $ 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 19:21:05 $ docker top fdad4925f9cc8dc844d89efe311b3f55af410e8e1a8777034e71d76de458fb59 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:05 + touch /tmp/pre-build-complete [Pipeline] sh 19:21:06 + mkdir -p /var/log/sysstat [Pipeline] sh 19:21:06 + ls /var/log/sa-host 19:21:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:06 provisioning config files... 19:21:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16953503896867876625tmp [Pipeline] { [Pipeline] echo 19:21:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:21:06 ---> create-netrc.sh [Pipeline] } 19:21:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:21:07 ---> python-tools-install.sh [Pipeline] echo 19:21:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:21:07 ---> sudo-logs.sh 19:21:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:21:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:21:08 ---> job-cost.sh 19:21:08 lf-activate-venv: SKIPPING 19:21:08 DEBUG: total: 0.2199999988079071 19:21:08 INFO: Retrieving Stack Cost... 19:21:08 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:08 INFO: Archiving Costs [Pipeline] echo 19:21:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:21:09 ---> logs-deploy.sh 19:21:09 lf-activate-venv: SKIPPING 19:21:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/256 19:21:09 INFO: archiving workspace using pattern(s): 19:21:10 Archives upload complete. 19:21:10 INFO: archiving logs to Nexus