Push event to branch main Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a7d05295c20c4306666c126d05bdc304538796c 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-ssh7301120281489877554.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4413882304657347092.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15226672895835628599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5049777508861997847.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-ssh17077004107080639395.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1599 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 5a7d05295c20c4306666c126d05bdc304538796c (main) Commit message: "feat(security): Add eew AddCustomRoute method with authentication parameter (#1475)" > 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 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 > git rev-list --no-walk 0776c05133aecd05e9cca04d73874dfbd24934b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:54:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:54:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:54:32 ========================================================= 21:54:32 EdgeX Global Pipelines Version Info 21:54:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:54:32 ------------------- 21:54:32 stable info: 21:54:32 ------------------- 21:54:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:54:32 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:54:32 Message: update stable to v1.0.250 21:54:33 ------------------- 21:54:33 experimental info: 21:54:33 ------------------- 21:54:33 Commited By: **** collab-it+edgex@linuxfoundation.org 21:54:33 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:54:33 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a7d052 [Pipeline] echo 21:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:34 provisioning config files... 21:54:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16788278514285372196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:34 ---> docker-login.sh 21:54:34 nexus3.edgexfoundry.org:10001 21:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:34 Configure a credential helper to remove this warning. See 21:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:34 21:54:34 Login Succeeded 21:54:34 nexus3.edgexfoundry.org:10002 21:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:34 Configure a credential helper to remove this warning. See 21:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:34 21:54:34 Login Succeeded 21:54:34 nexus3.edgexfoundry.org:10003 21:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:34 Configure a credential helper to remove this warning. See 21:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:34 21:54:34 Login Succeeded 21:54:34 nexus3.edgexfoundry.org:10004 21:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:35 Configure a credential helper to remove this warning. See 21:54:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:35 21:54:35 Login Succeeded 21:54:35 docker.io 21:54:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:35 Configure a credential helper to remove this warning. See 21:54:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:35 21:54:35 Login Succeeded 21:54:35 ---> docker-login.sh ends [Pipeline] } 21:54:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:54:35 + git rev-list -1 --merges 5a7d05295c20c4306666c126d05bdc304538796c~1..5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] echo 21:54:35 -----------> git rev-list -1 --merges 5a7d05295c20c4306666c126d05bdc304538796c~1..5a7d05295c20c4306666c126d05bdc304538796c 5a7d05295c20c4306666c126d05bdc304538796c [false] [Pipeline] sh 21:54:36 + git log --format=format:%s -1 5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] echo 21:54:36 ========================================================= 21:54:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:54:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:36 + git log --format=format:%s -1 5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] echo 21:54:36 [semverPrep] GIT_COMMIT: 5a7d05295c20c4306666c126d05bdc304538796c, Commit Message: feat(security): Add eew AddCustomRoute method with authentication parameter (#1475) [Pipeline] echo 21:54:36 [semverPrep] This is not a build commit. [Pipeline] sh 21:54:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:54:36 + grep -v github /etc/ssh/ssh_known_hosts 21:54:36 + [ -e /tmp/ssh_known_hosts ] 21:54:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:54:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:54:36 + sudo tee -a /etc/ssh/ssh_known_hosts 21:54:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:54:37 21:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:54:37 0.1.4: Pulling from edgex-devops/py-git-semver 21:54:37 b85a868b505f: Pulling fs layer 21:54:37 e2be974225ed: Pulling fs layer 21:54:37 339a4e72a1f5: Pulling fs layer 21:54:37 988bab9f4d93: Pulling fs layer 21:54:37 1469e6f7b9e6: Pulling fs layer 21:54:37 eaf3925da568: Pulling fs layer 21:54:37 bab4dde63d76: Pulling fs layer 21:54:37 bde34c3a00c8: Pulling fs layer 21:54:37 b352a97aabf1: Pulling fs layer 21:54:37 4872d77fe225: Pulling fs layer 21:54:37 5851b861e8e6: Pulling fs layer 21:54:37 1469e6f7b9e6: Waiting 21:54:37 988bab9f4d93: Waiting 21:54:37 eaf3925da568: Waiting 21:54:37 bab4dde63d76: Waiting 21:54:37 bde34c3a00c8: Waiting 21:54:37 5851b861e8e6: Waiting 21:54:37 4872d77fe225: Waiting 21:54:37 e2be974225ed: Download complete 21:54:37 988bab9f4d93: Verifying Checksum 21:54:37 988bab9f4d93: Download complete 21:54:37 1469e6f7b9e6: Verifying Checksum 21:54:37 1469e6f7b9e6: Download complete 21:54:37 339a4e72a1f5: Verifying Checksum 21:54:37 339a4e72a1f5: Download complete 21:54:37 eaf3925da568: Verifying Checksum 21:54:37 eaf3925da568: Download complete 21:54:37 bde34c3a00c8: Download complete 21:54:37 b352a97aabf1: Verifying Checksum 21:54:37 b352a97aabf1: Download complete 21:54:37 4872d77fe225: Download complete 21:54:37 5851b861e8e6: Download complete 21:54:37 b85a868b505f: Verifying Checksum 21:54:37 b85a868b505f: Download complete 21:54:38 bab4dde63d76: Verifying Checksum 21:54:38 bab4dde63d76: Download complete 21:54:39 b85a868b505f: Pull complete 21:54:39 e2be974225ed: Pull complete 21:54:39 339a4e72a1f5: Pull complete 21:54:39 988bab9f4d93: Pull complete 21:54:40 1469e6f7b9e6: Pull complete 21:54:40 eaf3925da568: Pull complete 21:54:42 bab4dde63d76: Pull complete 21:54:42 bde34c3a00c8: Pull complete 21:54:42 b352a97aabf1: Pull complete 21:54:42 4872d77fe225: Pull complete 21:54:42 5851b861e8e6: Pull complete 21:54:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:54:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:42 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 21:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:54:44 $ docker top bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c -eo pid,comm 21:54:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:54:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:54:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:54:44 [ssh-agent] Looking for ssh-agent implementation... 21:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:54:44 $ docker exec bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c ssh-agent 21:54:45 SSH_AUTH_SOCK=/tmp/ssh-gHbkmzWKGT73/agent.31 21:54:45 SSH_AGENT_PID=37 21:54:45 Running ssh-add (command line suppressed) 21:54:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16737009701839959174.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16737009701839959174.key) 21:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:54:45 + git tag --points-at HEAD [Pipeline] } 21:54:45 $ docker exec --env ******** --env ******** bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c ssh-agent -k 21:54:45 unset SSH_AUTH_SOCK; 21:54:45 unset SSH_AGENT_PID; 21:54:45 echo Agent pid 37 killed; 21:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:54:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:54:45 [ssh-agent] Looking for ssh-agent implementation... 21:54:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:54:45 $ docker exec bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c ssh-agent 21:54:45 SSH_AUTH_SOCK=/tmp/ssh-SnppmSh33Jl3/agent.70 21:54:45 SSH_AGENT_PID=76 21:54:45 Running ssh-add (command line suppressed) 21:54:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11495510909108631789.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11495510909108631789.key) 21:54:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:54:46 + git semver init 21:54:46 2023-07-19 21:54:46,468 [run_init] DEBUG init version:0.0.0 force:False 21:54:46 2023-07-19 21:54:46,468 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:54:46 2023-07-19 21:54:46,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:54:46 2023-07-19 21:54:46,469 [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) 21:54:47 2023-07-19 21:54:47,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:54:47 2023-07-19 21:54:47,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:54:47 2023-07-19 21:54:47,323 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:54:47 2023-07-19 21:54:47,323 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:54:47 3.1.0-dev.8 [Pipeline] } 21:54:47 $ docker exec --env ******** --env ******** bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c ssh-agent -k 21:54:47 unset SSH_AUTH_SOCK; 21:54:47 unset SSH_AGENT_PID; 21:54:47 echo Agent pid 76 killed; 21:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:54:47 + git semver [Pipeline] } 21:54:48 $ docker stop --time=1 bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c 21:54:49 $ docker rm -f --volumes bdffb8362d81c0aebe46389470b9cd689c62f0030947c0e0e7772bb5dbb51d3c [Pipeline] // withDockerContainer [Pipeline] sh 21:54:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:54:50 Stashed 1 file(s) [Pipeline] echo 21:54:50 [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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 21:54:50 provisioning config files... 21:54:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2851730182416838347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:50 ---> docker-login.sh 21:54:50 nexus3.edgexfoundry.org:10001 21:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:50 Configure a credential helper to remove this warning. See 21:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:50 21:54:50 Login Succeeded 21:54:50 nexus3.edgexfoundry.org:10002 21:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:50 Configure a credential helper to remove this warning. See 21:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:50 21:54:50 Login Succeeded 21:54:50 nexus3.edgexfoundry.org:10003 21:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:50 Configure a credential helper to remove this warning. See 21:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:50 21:54:50 Login Succeeded 21:54:50 nexus3.edgexfoundry.org:10004 21:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:50 Configure a credential helper to remove this warning. See 21:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:50 21:54:50 Login Succeeded 21:54:50 docker.io 21:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:51 Configure a credential helper to remove this warning. See 21:54:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:51 21:54:51 Login Succeeded 21:54:51 ---> docker-login.sh ends [Pipeline] } 21:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:51 ========================================================= 21:54:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:54:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:51 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:54:51 Sending build context to Docker daemon 11MB 21:54:51 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:54:51 Step 2/10 : FROM ${BASE} AS builder 21:54:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:54:51 4db1b89c0bd1: Pulling fs layer 21:54:51 6911f1a30b25: Pulling fs layer 21:54:51 e194b8c5c2a9: Pulling fs layer 21:54:51 6863d3e3a2b1: Pulling fs layer 21:54:51 ec0bb842ea78: Pulling fs layer 21:54:51 40a00589a448: Pulling fs layer 21:54:51 6c08303d61cc: Pulling fs layer 21:54:51 798269fcf238: Pulling fs layer 21:54:51 6863d3e3a2b1: Waiting 21:54:51 ec0bb842ea78: Waiting 21:54:51 40a00589a448: Waiting 21:54:51 6c08303d61cc: Waiting 21:54:51 798269fcf238: Waiting 21:54:51 6911f1a30b25: Verifying Checksum 21:54:51 6911f1a30b25: Download complete 21:54:51 6863d3e3a2b1: Verifying Checksum 21:54:51 6863d3e3a2b1: Download complete 21:54:51 ec0bb842ea78: Verifying Checksum 21:54:51 4db1b89c0bd1: Verifying Checksum 21:54:51 4db1b89c0bd1: Download complete 21:54:51 40a00589a448: Verifying Checksum 21:54:51 40a00589a448: Download complete 21:54:51 4db1b89c0bd1: Pull complete 21:54:51 6911f1a30b25: Pull complete 21:54:52 798269fcf238: Verifying Checksum 21:54:52 798269fcf238: Download complete 21:54:52 e194b8c5c2a9: Verifying Checksum 21:54:52 e194b8c5c2a9: Download complete 21:54:52 6c08303d61cc: Verifying Checksum 21:54:52 6c08303d61cc: Download complete 21:54:55 e194b8c5c2a9: Pull complete 21:54:55 6863d3e3a2b1: Pull complete 21:54:55 ec0bb842ea78: Pull complete 21:54:55 40a00589a448: Pull complete 21:54:58 6c08303d61cc: Pull complete 21:54:58 798269fcf238: Pull complete 21:54:58 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:54:58 ---> ec979cd7f677 21:54:58 Step 3/10 : ARG MAKE=make build 21:55:03 ---> Running in 63a9a04177a9 21:55:03 Removing intermediate container 63a9a04177a9 21:55:03 ---> 8acfb288211a 21:55:03 Step 4/10 : WORKDIR /device-sdk-go 21:55:03 ---> Running in 2c52cfe84c82 21:55:03 Removing intermediate container 2c52cfe84c82 21:55:03 ---> cc01db7e1687 21:55:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:55:03 ---> Running in 7037c5e5b76f 21:55:03 Removing intermediate container 7037c5e5b76f 21:55:03 ---> 4adabf1a7c70 21:55:03 Step 6/10 : RUN apk add --update --no-cache make git 21:55:03 ---> Running in 236305f86510 21:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:55:03 OK: 265 MiB in 53 packages 21:55:03 Removing intermediate container 236305f86510 21:55:03 ---> 129920c1e8fa 21:55:03 Step 7/10 : COPY go.mod vendor* ./ 21:55:03 ---> f08df16ac91f 21:55:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:04 ---> Running in e300adec3d6c 21:55:05 Still waiting to schedule task 21:55:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:55:36 Removing intermediate container e300adec3d6c 21:55:36 ---> 7884ffdbeed1 21:55:36 Step 9/10 : COPY . . 21:55:36 ---> 4a2aac244ade 21:55:36 Step 10/10 : RUN ${MAKE} 21:55:36 ---> Running in 272d8c9c8909 21:55:36 noop 21:55:36 Removing intermediate container 272d8c9c8909 21:55:36 ---> e677893e3a1e 21:55:36 Successfully built e677893e3a1e 21:55:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:36 + docker inspect -f . ci-base-image-x86_64 21:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:36 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 21:55:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:55:37 $ docker top 8ebf6c14074730a3efed34083efabbb8060c2d4442455e423d81bdc83cd92142 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:37 + go version 21:55:37 go version go1.20.6 linux/amd64 [Pipeline] } 21:55:37 $ docker stop --time=1 8ebf6c14074730a3efed34083efabbb8060c2d4442455e423d81bdc83cd92142 21:55:38 $ docker rm -f --volumes 8ebf6c14074730a3efed34083efabbb8060c2d4442455e423d81bdc83cd92142 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:39 + docker inspect -f . ci-base-image-x86_64 21:55:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:39 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 21:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:55:39 $ docker top 5d14a68a0da373b1475f1ac9b4f29081e6beb895f5f92a4dec116c225f4dd0d0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:55:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:55:40 + make test 21:55:40 go test -race -coverprofile=coverage.out ./... 21:55:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:56:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:56:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements 21:56:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 86.0% of statements 21:56:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:56:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 70.6% of statements 21:56:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:56:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:56:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:56:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.103s coverage: 14.3% of statements 21:56:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.502s coverage: 43.8% of statements 21:56:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 21:56:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 21:56:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 21:56:26 GO111MODULE=on go vet ./... 21:56:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:29 ./bin/test-attribution-txt.sh [Pipeline] echo 21:56:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:56:29 $ docker stop --time=1 5d14a68a0da373b1475f1ac9b4f29081e6beb895f5f92a4dec116c225f4dd0d0 21:56:34 $ docker rm -f --volumes 5d14a68a0da373b1475f1ac9b4f29081e6beb895f5f92a4dec116c225f4dd0d0 [Pipeline] // withDockerContainer [Pipeline] sh 21:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:56:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:35 + ls -al . 21:56:35 total 300 21:56:35 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 21:55 . 21:56:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:54 .. 21:56:35 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:54 .dockerignore 21:56:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:54 .git 21:56:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:54 .github 21:56:35 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:54 .gitignore 21:56:35 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:54 .golangci.yml 21:56:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:54 .semver 21:56:35 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:54 CHANGELOG.md 21:56:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:54 GOVERNANCE.md 21:56:35 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:54 Jenkinsfile 21:56:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:54 LICENSE 21:56:35 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:54 Makefile 21:56:35 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:54 OWNERS.md 21:56:35 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:54 README.md 21:56:35 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:54 VERSION 21:56:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:54 bin 21:56:35 -rw-r--r-- 1 jenkins jenkins 120080 Jul 19 21:56 coverage.out 21:56:35 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:54 example 21:56:35 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:54 go.mod 21:56:35 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:54 go.sum 21:56:35 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:54 internal 21:56:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:54 openapi 21:56:35 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:54 pkg 21:56:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:54 snap 21:56:35 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:36 + 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=5a7d05295c20c4306666c126d05bdc304538796c --label arch=amd64 --label version=3.1.0-dev.8 . 21:56:36 Sending build context to Docker daemon 11.12MB 21:56:36 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:56:36 Step 2/23 : FROM ${BASE} AS builder 21:56:36 ---> e677893e3a1e 21:56:36 Step 3/23 : ARG MAKE=make build 21:56:36 ---> Running in cb2739980d9c 21:56:36 Removing intermediate container cb2739980d9c 21:56:36 ---> fee2a204d479 21:56:36 Step 4/23 : WORKDIR /device-sdk-go 21:56:36 ---> Running in 5b2540aeae0c 21:56:36 Removing intermediate container 5b2540aeae0c 21:56:36 ---> 5ce6e13b65e6 21:56:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:56:36 ---> Running in 1b17b3624ee3 21:56:36 Removing intermediate container 1b17b3624ee3 21:56:36 ---> 2ce696ac9391 21:56:36 Step 6/23 : RUN apk add --update --no-cache make git 21:56:36 ---> Running in ba06d08b92b8 21:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:56:37 OK: 265 MiB in 53 packages 21:56:37 Removing intermediate container ba06d08b92b8 21:56:37 ---> e8076cbd5261 21:56:37 Step 7/23 : COPY go.mod vendor* ./ 21:56:37 ---> 8d4e92bfcd1b 21:56:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:37 ---> Running in 91d3c59302c1 21:56:38 Removing intermediate container 91d3c59302c1 21:56:38 ---> 69d3342c21ef 21:56:38 Step 9/23 : COPY . . 21:56:38 ---> 825f0185f75e 21:56:38 Step 10/23 : RUN ${MAKE} 21:56:38 ---> Running in 9a45ec1dd089 21:56:39 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.8" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:57:01 Removing intermediate container 9a45ec1dd089 21:57:01 ---> 3868f603edfe 21:57:01 Step 11/23 : FROM alpine:3.17 21:57:01 3.17: Pulling from library/alpine 21:57:01 4db1b89c0bd1: Already exists 21:57:01 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:57:01 Status: Downloaded newer image for alpine:3.17 21:57:01 ---> 1f73a9d63274 21:57:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:57:01 ---> Running in e1e833d87dde 21:57:01 Removing intermediate container e1e833d87dde 21:57:01 ---> 0050fb822a43 21:57:01 Step 13/23 : RUN apk add --update --no-cache 21:57:01 ---> Running in 08cb14121b74 21:57:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:57:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:57:01 OK: 7 MiB in 15 packages 21:57:01 Removing intermediate container 08cb14121b74 21:57:01 ---> db3ad54e27a9 21:57:01 Step 14/23 : WORKDIR / 21:57:01 ---> Running in d9e87c4aa280 21:57:01 Removing intermediate container d9e87c4aa280 21:57:01 ---> e0ce6f49f864 21:57:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:57:01 ---> 95b11e2be738 21:57:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:57:02 ---> e536cc075d9b 21:57:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:57:02 ---> 1d346dd5c792 21:57:02 Step 18/23 : EXPOSE 59999 21:57:02 ---> Running in 759630e1fbd5 21:57:02 Removing intermediate container 759630e1fbd5 21:57:02 ---> ad514e19427f 21:57:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:57:02 ---> Running in d021d4a61a1c 21:57:02 Removing intermediate container d021d4a61a1c 21:57:02 ---> fa71537cebda 21:57:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:57:02 ---> Running in 7ee1535effb8 21:57:02 Removing intermediate container 7ee1535effb8 21:57:02 ---> 7d4b6d9e7f44 21:57:02 Step 21/23 : LABEL arch=amd64 21:57:02 ---> Running in d47dcaa1587e 21:57:02 Removing intermediate container d47dcaa1587e 21:57:02 ---> c9942ceca221 21:57:02 Step 22/23 : LABEL git_sha=5a7d05295c20c4306666c126d05bdc304538796c 21:57:02 ---> Running in 5aa824d00afd 21:57:02 Removing intermediate container 5aa824d00afd 21:57:02 ---> 69c8edf9d9a8 21:57:02 Step 23/23 : LABEL version=3.1.0-dev.8 21:57:02 ---> Running in b6d88645aae0 21:57:02 Removing intermediate container b6d88645aae0 21:57:02 ---> ce1e2ef959fc 21:57:02 [Warning] One or more build-args [ARCH] were not consumed 21:57:02 Successfully built ce1e2ef959fc 21:57:02 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 21:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:03 21:57:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:03 latest: Pulling from edgex-lftools-log-publisher 21:57:03 5eb5b503b376: Pulling fs layer 21:57:03 5c69ac0246d0: Pulling fs layer 21:57:03 ec43610c2a17: Pulling fs layer 21:57:03 3a2ae6a8a46f: Pulling fs layer 21:57:03 33b1e0a273af: Pulling fs layer 21:57:03 5d3b04190fa2: Pulling fs layer 21:57:03 2f39f015ded8: Pulling fs layer 21:57:03 3a2ae6a8a46f: Waiting 21:57:03 33b1e0a273af: Waiting 21:57:03 5d3b04190fa2: Waiting 21:57:03 2f39f015ded8: Waiting 21:57:03 5c69ac0246d0: Verifying Checksum 21:57:03 5c69ac0246d0: Download complete 21:57:03 3a2ae6a8a46f: Download complete 21:57:03 33b1e0a273af: Verifying Checksum 21:57:03 33b1e0a273af: Download complete 21:57:03 5d3b04190fa2: Verifying Checksum 21:57:03 5d3b04190fa2: Download complete 21:57:03 ec43610c2a17: Verifying Checksum 21:57:03 ec43610c2a17: Download complete 21:57:03 5eb5b503b376: Verifying Checksum 21:57:03 5eb5b503b376: Download complete 21:57:04 2f39f015ded8: Download complete 21:57:05 5eb5b503b376: Pull complete 21:57:05 5c69ac0246d0: Pull complete 21:57:05 ec43610c2a17: Pull complete 21:57:05 3a2ae6a8a46f: Pull complete 21:57:05 33b1e0a273af: Pull complete 21:57:05 5d3b04190fa2: Pull complete 21:57:10 2f39f015ded8: Pull complete 21:57:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:57:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:10 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 21:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:57:16 $ docker top 149dc238fd981725a2892a3629b7aeb19e8d9edbf49a46ec1efc81d7994f93d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:16 ---> job-cost.sh 21:57:16 lf-activate-venv: SKIPPING 21:57:16 INFO: No Stack... 21:57:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:16 INFO: Archiving Costs [Pipeline] sh 21:57:17 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:57:17 + cut -d, -f6 [Pipeline] lock 21:57:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] 21:57:17 Resource [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] did not exist. Created. 21:57:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:17 + echo total: 0.2199999988079071 [Pipeline] stash 21:57:17 Stashed 1 file(s) [Pipeline] } 21:57:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:17 $ docker stop --time=1 149dc238fd981725a2892a3629b7aeb19e8d9edbf49a46ec1efc81d7994f93d3 21:57:18 $ docker rm -f --volumes 149dc238fd981725a2892a3629b7aeb19e8d9edbf49a46ec1efc81d7994f93d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:58:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1600 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:58:55 Running in /w/workspace/device-sdk-go/237 [Pipeline] { [Pipeline] checkout 21:58:56 The recommended git tool is: git 21:59:04 using credential edgex-jenkins-ssh 21:59:04 Cloning the remote Git repository 21:59:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:59:04 > git init /w/workspace/device-sdk-go/237 # timeout=10 21:59:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:59:04 > git --version # timeout=10 21:59:04 > git --version # 'git version 2.25.1' 21:59:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:59:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:09 Avoid second fetch 21:59:09 Checking out Revision 5a7d05295c20c4306666c126d05bdc304538796c (main) 21:59:10 Commit message: "feat(security): Add eew AddCustomRoute method with authentication parameter (#1475)" 21:59:09 > git config core.sparsecheckout # timeout=10 21:59:09 > git checkout -f 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:59:11 % Total % Received % Xferd Average Speed Time Time Time Current 21:59:11 Dload Upload Total Spent Left Speed 21:59:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 21:59:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:59:12 + + sudo tee /etc/docker/daemon.new 21:59:12 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:59:12 { 21:59:12 "registry-mirrors": [ 21:59:12 "https://nexus3.edgexfoundry.org:10001" 21:59:12 ], 21:59:12 "bip": "10.250.0.254/24", 21:59:12 "hosts": [ 21:59:12 "tcp://0.0.0.0:5555", 21:59:12 "unix:///var/run/docker.sock" 21:59:12 ], 21:59:12 "mtu": 1458, 21:59:12 "selinux-enabled": true, 21:59:12 "seccomp-profile": "/etc/docker/seccomp.json" 21:59:12 } [Pipeline] sh 21:59:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:59:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:31 provisioning config files... 21:59:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/237@tmp/config9973453189540345563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:32 ---> docker-login.sh 21:59:32 nexus3.edgexfoundry.org:10001 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 nexus3.edgexfoundry.org:10002 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 nexus3.edgexfoundry.org:10003 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 nexus3.edgexfoundry.org:10004 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 docker.io 21:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:34 Configure a credential helper to remove this warning. See 21:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:34 21:59:34 Login Succeeded 21:59:34 ---> docker-login.sh ends [Pipeline] } 21:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:34 ========================================================= 21:59:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:59:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:35 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:59:35 Sending build context to Docker daemon 5.873MB 21:59:35 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:59:35 Step 2/10 : FROM ${BASE} AS builder 21:59:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:59:35 edb6bdbacee9: Pulling fs layer 21:59:35 5f9638ab2659: Pulling fs layer 21:59:35 8d51d6327a98: Pulling fs layer 21:59:35 8b374f2dd631: Pulling fs layer 21:59:35 ec14aa9079de: Pulling fs layer 21:59:35 2f466654f4bb: Pulling fs layer 21:59:35 554e91adad29: Pulling fs layer 21:59:35 8b374f2dd631: Waiting 21:59:35 ec14aa9079de: Waiting 21:59:35 2f466654f4bb: Waiting 21:59:35 554e91adad29: Waiting 21:59:35 5f9638ab2659: Verifying Checksum 21:59:35 5f9638ab2659: Download complete 21:59:35 8b374f2dd631: Verifying Checksum 21:59:35 8b374f2dd631: Download complete 21:59:35 ec14aa9079de: Verifying Checksum 21:59:35 ec14aa9079de: Download complete 21:59:35 edb6bdbacee9: Download complete 21:59:36 edb6bdbacee9: Pull complete 21:59:36 554e91adad29: Verifying Checksum 21:59:36 554e91adad29: Download complete 21:59:37 5f9638ab2659: Pull complete 21:59:38 8d51d6327a98: Download complete 21:59:38 2f466654f4bb: Verifying Checksum 21:59:38 2f466654f4bb: Download complete 21:59:50 8d51d6327a98: Pull complete 21:59:50 8b374f2dd631: Pull complete 21:59:50 ec14aa9079de: Pull complete 21:59:55 2f466654f4bb: Pull complete 21:59:58 554e91adad29: Pull complete 21:59:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:59:58 ---> 1e15ea492957 21:59:58 Step 3/10 : ARG MAKE=make build 22:00:00 ---> Running in 9bd6de39a10e 22:00:00 Removing intermediate container 9bd6de39a10e 22:00:00 ---> a52635e649df 22:00:00 Step 4/10 : WORKDIR /device-sdk-go 22:00:00 ---> Running in 12b00d6bf563 22:00:01 Removing intermediate container 12b00d6bf563 22:00:01 ---> 1da188cd6b6d 22:00:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:00:01 ---> Running in 6150d5b35267 22:00:01 Removing intermediate container 6150d5b35267 22:00:01 ---> 1241fd1573dc 22:00:01 Step 6/10 : RUN apk add --update --no-cache make git 22:00:01 ---> Running in cc9ce88365c9 22:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:00:03 OK: 263 MiB in 53 packages 22:00:04 Removing intermediate container cc9ce88365c9 22:00:04 ---> 0e62a57e1fdf 22:00:04 Step 7/10 : COPY go.mod vendor* ./ 22:00:05 ---> 6615012869c2 22:00:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:05 ---> Running in a9f42417bf35 22:01:13 Removing intermediate container a9f42417bf35 22:01:13 ---> dba4e23b596b 22:01:13 Step 9/10 : COPY . . 22:01:13 ---> 496c90b2c62c 22:01:13 Step 10/10 : RUN ${MAKE} 22:01:13 ---> Running in 9b3f1b035543 22:01:13 noop 22:01:13 Removing intermediate container 9b3f1b035543 22:01:13 ---> 5b9e5f1beb1b 22:01:13 Successfully built 5b9e5f1beb1b 22:01:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:13 + docker inspect -f . ci-base-image-arm64 22:01:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:13 prd-ubuntu20.04-docker-arm64-4c-16g-1600 does not seem to be running inside a container 22:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/237 -v /w/workspace/device-sdk-go/237:/w/workspace/device-sdk-go/237:rw,z -v /w/workspace/device-sdk-go/237@tmp:/w/workspace/device-sdk-go/237@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 22:01:14 $ docker top 616635f664a71874088fd7946578472d25abe823b65fd28dd91dc62f277b4bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:15 + go version 22:01:15 go version go1.20.6 linux/arm64 [Pipeline] } 22:01:15 $ docker stop --time=1 616635f664a71874088fd7946578472d25abe823b65fd28dd91dc62f277b4bc5 22:01:17 $ docker rm -f --volumes 616635f664a71874088fd7946578472d25abe823b65fd28dd91dc62f277b4bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:17 + docker inspect -f . ci-base-image-arm64 22:01:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:18 prd-ubuntu20.04-docker-arm64-4c-16g-1600 does not seem to be running inside a container 22:01:18 $ 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/237 -v /w/workspace/device-sdk-go/237:/w/workspace/device-sdk-go/237:rw,z -v /w/workspace/device-sdk-go/237@tmp:/w/workspace/device-sdk-go/237@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 22:01:19 $ docker top fb32b849903905a877bbb35b0ef4ba983a71eed6d4b9d548471d25407ed12db3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/237 [Pipeline] fileExists [Pipeline] sh 22:01:20 + make test 22:01:20 go test -race -coverprofile=coverage.out ./... 22:01:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 22:03:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 22:03:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 22:03:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 22:03:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 22:03:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 22:03:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.211s coverage: 27.6% of statements 22:04:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.253s coverage: 80.2% of statements 22:04:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 22:04:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 22:04:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.355s coverage: 86.0% of statements 22:04:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 22:04:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.413s coverage: 70.6% of statements 22:04:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.275s coverage: 14.3% of statements 22:04:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 22:04:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 22:04:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.957s coverage: 43.8% of statements 22:04:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.412s coverage: 68.5% of statements 22:04:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.423s coverage: 89.2% of statements 22:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 22:04:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.5% of statements 22:04:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:04:29 GO111MODULE=on go vet ./... 22:06:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:51 ./bin/test-attribution-txt.sh [Pipeline] echo 22:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:06:51 $ docker stop --time=1 fb32b849903905a877bbb35b0ef4ba983a71eed6d4b9d548471d25407ed12db3 22:06:53 $ docker rm -f --volumes fb32b849903905a877bbb35b0ef4ba983a71eed6d4b9d548471d25407ed12db3 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:54 Warning: overwriting stash ‘coverage-report’ 22:06:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:06:56 + ls -al . 22:06:56 total 296 22:06:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 22:01 . 22:06:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:59 .. 22:06:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:59 .dockerignore 22:06:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:59 .git 22:06:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:59 .github 22:06:56 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:59 .gitignore 22:06:56 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:59 .golangci.yml 22:06:56 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:59 CHANGELOG.md 22:06:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:59 GOVERNANCE.md 22:06:56 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:59 Jenkinsfile 22:06:56 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:59 LICENSE 22:06:56 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:59 Makefile 22:06:56 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:59 OWNERS.md 22:06:56 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:59 README.md 22:06:56 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:54 VERSION 22:06:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:59 bin 22:06:56 -rw-r--r-- 1 jenkins jenkins 120080 Jul 19 22:04 coverage.out 22:06:56 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:59 example 22:06:56 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:59 go.mod 22:06:56 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:59 go.sum 22:06:56 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:59 internal 22:06:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:59 openapi 22:06:56 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:59 pkg 22:06:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:59 snap 22:06:56 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:56 + 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=5a7d05295c20c4306666c126d05bdc304538796c --label arch=arm64 --label version=3.1.0-dev.8 . 22:06:56 Sending build context to Docker daemon 5.994MB 22:06:56 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 22:06:56 Step 2/23 : FROM ${BASE} AS builder 22:06:56 ---> 5b9e5f1beb1b 22:06:56 Step 3/23 : ARG MAKE=make build 22:06:57 ---> Running in 59b4a31f5f7d 22:06:57 Removing intermediate container 59b4a31f5f7d 22:06:57 ---> bc23a6b478df 22:06:57 Step 4/23 : WORKDIR /device-sdk-go 22:06:57 ---> Running in a6ff164acbcb 22:06:57 Removing intermediate container a6ff164acbcb 22:06:57 ---> f876ae329244 22:06:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:06:57 ---> Running in b787dd1d732e 22:06:58 Removing intermediate container b787dd1d732e 22:06:58 ---> ee5133c9f195 22:06:58 Step 6/23 : RUN apk add --update --no-cache make git 22:06:58 ---> Running in 5dc09e9083d2 22:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:07:00 OK: 263 MiB in 53 packages 22:07:01 Removing intermediate container 5dc09e9083d2 22:07:01 ---> d9fec0347ee9 22:07:01 Step 7/23 : COPY go.mod vendor* ./ 22:07:02 ---> 105bf91dd506 22:07:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:07:02 ---> Running in 7789575598a8 22:07:03 Removing intermediate container 7789575598a8 22:07:03 ---> 9aac9d8c797d 22:07:03 Step 9/23 : COPY . . 22:07:05 ---> cf8878d7eb2a 22:07:05 Step 10/23 : RUN ${MAKE} 22:07:05 ---> Running in 8ebfdf4fc25f 22:07:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.8" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:09:28 Removing intermediate container 8ebfdf4fc25f 22:09:28 ---> a87d3f0a94cf 22:09:28 Step 11/23 : FROM alpine:3.17 22:09:28 3.17: Pulling from library/alpine 22:09:28 edb6bdbacee9: Already exists 22:09:28 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:09:28 Status: Downloaded newer image for alpine:3.17 22:09:28 ---> 779605e5fbc0 22:09:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:09:28 ---> Running in ca9b14c5c09a 22:09:28 Removing intermediate container ca9b14c5c09a 22:09:28 ---> 083448f1c1fa 22:09:28 Step 13/23 : RUN apk add --update --no-cache 22:09:28 ---> Running in 3bbf84cbdb87 22:09:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:09:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:09:28 OK: 7 MiB in 15 packages 22:09:28 Removing intermediate container 3bbf84cbdb87 22:09:28 ---> 7c64a6f81510 22:09:28 Step 14/23 : WORKDIR / 22:09:28 ---> Running in 6dd28f992ffb 22:09:28 Removing intermediate container 6dd28f992ffb 22:09:28 ---> a55057de650f 22:09:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:09:28 ---> 18b4069486b8 22:09:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:09:28 ---> dcdb18fd790b 22:09:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:09:28 ---> 974929f23d41 22:09:28 Step 18/23 : EXPOSE 59999 22:09:28 ---> Running in ac1e6d0d9fb6 22:09:28 Removing intermediate container ac1e6d0d9fb6 22:09:28 ---> 6f3c8768c711 22:09:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:09:28 ---> Running in e5c67fbf5246 22:09:28 Removing intermediate container e5c67fbf5246 22:09:28 ---> fc738a8e95a8 22:09:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:09:28 ---> Running in 8c89e78913ef 22:09:28 Removing intermediate container 8c89e78913ef 22:09:28 ---> 8196b3e6ca78 22:09:28 Step 21/23 : LABEL arch=arm64 22:09:28 ---> Running in 34a51f8942dc 22:09:28 Removing intermediate container 34a51f8942dc 22:09:28 ---> 9aa3982e4bbb 22:09:28 Step 22/23 : LABEL git_sha=5a7d05295c20c4306666c126d05bdc304538796c 22:09:28 ---> Running in e1307d3323bd 22:09:28 Removing intermediate container e1307d3323bd 22:09:28 ---> d5a489d0b7f5 22:09:28 Step 23/23 : LABEL version=3.1.0-dev.8 22:09:28 ---> Running in d27d8ecc1b01 22:09:28 Removing intermediate container d27d8ecc1b01 22:09:28 ---> c58f8a0a1b81 22:09:28 [Warning] One or more build-args [ARCH] were not consumed 22:09:28 Successfully built c58f8a0a1b81 22:09:28 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 22:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:28 22:09:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:28 arm64: Pulling from edgex-lftools-log-publisher 22:09:28 8998bd30e6a1: Pulling fs layer 22:09:28 04944245beec: Pulling fs layer 22:09:28 699f458cf7ca: Pulling fs layer 22:09:28 765212b225bb: Pulling fs layer 22:09:28 f23df028b6ca: Pulling fs layer 22:09:28 d65c8cfc05b1: Pulling fs layer 22:09:28 2437ff75d9bd: Pulling fs layer 22:09:28 765212b225bb: Waiting 22:09:28 f23df028b6ca: Waiting 22:09:28 d65c8cfc05b1: Waiting 22:09:28 2437ff75d9bd: Waiting 22:09:29 04944245beec: Verifying Checksum 22:09:29 04944245beec: Download complete 22:09:29 765212b225bb: Verifying Checksum 22:09:29 765212b225bb: Download complete 22:09:29 f23df028b6ca: Verifying Checksum 22:09:29 f23df028b6ca: Download complete 22:09:29 d65c8cfc05b1: Verifying Checksum 22:09:29 d65c8cfc05b1: Download complete 22:09:29 699f458cf7ca: Verifying Checksum 22:09:29 699f458cf7ca: Download complete 22:09:29 8998bd30e6a1: Verifying Checksum 22:09:29 8998bd30e6a1: Download complete 22:09:31 2437ff75d9bd: Verifying Checksum 22:09:31 2437ff75d9bd: Download complete 22:09:34 8998bd30e6a1: Pull complete 22:09:34 04944245beec: Pull complete 22:09:35 699f458cf7ca: Pull complete 22:09:36 765212b225bb: Pull complete 22:09:37 f23df028b6ca: Pull complete 22:09:37 d65c8cfc05b1: Pull complete 22:09:52 2437ff75d9bd: Pull complete 22:09:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:52 prd-ubuntu20.04-docker-arm64-4c-16g-1600 does not seem to be running inside a container 22:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/237 -v /w/workspace/device-sdk-go/237:/w/workspace/device-sdk-go/237:rw,z -v /w/workspace/device-sdk-go/237@tmp:/w/workspace/device-sdk-go/237@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 22:09:55 $ docker top 8405d6418371f9260f1fb8da6210399a5f251fd372b8b01c341c1e4bd9e6a047 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:55 ---> job-cost.sh 22:09:55 lf-activate-venv: SKIPPING 22:09:55 INFO: No Stack... 22:09:56 INFO: Retrieving Pricing Info for: v3-standard-4 22:09:57 INFO: Archiving Costs [Pipeline] sh 22:09:57 + cat /w/workspace/device-sdk-go/237/archives/cost.csv 22:09:57 + cut -d, -f6 [Pipeline] lock 22:09:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] 22:09:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] did not exist. Created. 22:09:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:09:58 /w/workspace/device-sdk-go/237@tmp/durable-38da618c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:09:58 + echo total: 0.10999999940395355 [Pipeline] stash 22:09:58 Warning: overwriting stash ‘stack-cost’ 22:09:58 Stashed 1 file(s) [Pipeline] } 22:09:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-237-stack-cost] [Pipeline] // lock [Pipeline] } 22:09:58 $ docker stop --time=1 8405d6418371f9260f1fb8da6210399a5f251fd372b8b01c341c1e4bd9e6a047 22:10:00 $ docker rm -f --volumes 8405d6418371f9260f1fb8da6210399a5f251fd372b8b01c341c1e4bd9e6a047 [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 22:10:00 provisioning config files... 22:10:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8201765451101550629tmp [Pipeline] { [Pipeline] sh 22:10:00 + set +x 22:10:00 + curl -s https://codecov.io/bash 22:10:00 + bash -s -- 22:10:00 22:10:00 _____ _ 22:10:00 / ____| | | 22:10:00 | | ___ __| | ___ ___ _____ __ 22:10:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:10:00 | |___| (_) | (_| | __/ (_| (_) \ V / 22:10:00 \_____\___/ \__,_|\___|\___\___/ \_/ 22:10:00 Bash-1.0.6 22:10:00 22:10:00 22:10:00 ==> git version 2.25.1 found 22:10:00 ==> 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 22:10:00 Release-Date: 2020-01-08 22:10:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:10:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:10:00 ==> Jenkins CI detected. 22:10:00 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 22:10:00 project root: . 22:10:00 --> token set from env 22:10:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:10:00 ==> Running gcov in . (disable via -X gcov) 22:10:00 ==> Python coveragepy not found 22:10:00 ==> Searching for coverage reports in: 22:10:00 + . 22:10:00 -> Found 1 reports 22:10:00 ==> Detecting git/mercurial file structure 22:10:00 ==> Reading reports 22:10:01 + ./coverage.out bytes=120080 22:10:01 ==> Appending adjustments 22:10:01 https://docs.codecov.io/docs/fixing-reports 22:10:01 + Found adjustments 22:10:01 ==> Gzipping contents 22:10:01 20K /tmp/codecov.7wAHo7.gz 22:10:01 ==> Uploading reports 22:10:01 url: https://codecov.io 22:10:01 query: branch=main&commit=5a7d05295c20c4306666c126d05bdc304538796c&build=237&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F237%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:10:01 -> Pinging Codecov 22:10:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=5a7d05295c20c4306666c126d05bdc304538796c&build=237&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F237%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:10:01 -> Uploading to 22:10:01 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/5a7d05295c20c4306666c126d05bdc304538796c/df6d1e8a-b7a6-4984-a4f0-108f7a3295f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T221001Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3d52a4e307e64403a3d66b87824274aedbefa5a86dbc4fc0040e4a0487b45b1 22:10:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:01 Dload Upload Total Spent Left Speed 22:10:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16447 0 0 100 16447 0 86563 --:--:-- --:--:-- --:--:-- 86563 22:10:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] } 22:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:10:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:10:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:10:02 22:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:10:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:10:02 df9b9388f04a: Pulling fs layer 22:10:02 52dc419b0ee2: Pulling fs layer 22:10:02 25bc292e5bac: Pulling fs layer 22:10:02 114826534d7a: Pulling fs layer 22:10:02 4657fd5d0bcf: Pulling fs layer 22:10:02 6ad1cebc031e: Pulling fs layer 22:10:02 8a3aa393b2d8: Pulling fs layer 22:10:02 6ad1cebc031e: Waiting 22:10:02 114826534d7a: Waiting 22:10:02 8a3aa393b2d8: Waiting 22:10:02 4657fd5d0bcf: Waiting 22:10:02 25bc292e5bac: Verifying Checksum 22:10:02 25bc292e5bac: Download complete 22:10:02 52dc419b0ee2: Download complete 22:10:02 4657fd5d0bcf: Download complete 22:10:02 df9b9388f04a: Download complete 22:10:03 df9b9388f04a: Pull complete 22:10:03 6ad1cebc031e: Verifying Checksum 22:10:03 6ad1cebc031e: Download complete 22:10:03 52dc419b0ee2: Pull complete 22:10:03 25bc292e5bac: Pull complete 22:10:03 114826534d7a: Verifying Checksum 22:10:03 114826534d7a: Download complete 22:10:04 8a3aa393b2d8: Verifying Checksum 22:10:04 8a3aa393b2d8: Download complete 22:10:07 114826534d7a: Pull complete 22:10:07 4657fd5d0bcf: Pull complete 22:10:07 6ad1cebc031e: Pull complete 22:10:10 8a3aa393b2d8: Pull complete 22:10:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:10:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:10 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:10:13 $ docker top c6ebd0e49642eb574482d68c1aa64cfceb4f4c1063fafafe1fb471e348bae97f -eo pid,comm [Pipeline] { [Pipeline] echo 22:10:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 22:10:13 + set -o pipefail 22:10:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 22:10:17 22:10:17 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 22:10:17 22:10:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/268e28c7-2678-4f2e-9a37-d962ab2bd778 22:10:17 22:10:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:10:17 22:10:18 22:10:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:10:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:10:18 More details here: https://snyk.co/ue1NS [Pipeline] } 22:10:18 $ docker stop --time=1 c6ebd0e49642eb574482d68c1aa64cfceb4f4c1063fafafe1fb471e348bae97f 22:10:21 $ docker rm -f --volumes c6ebd0e49642eb574482d68c1aa64cfceb4f4c1063fafafe1fb471e348bae97f [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 22:10:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:21 provisioning config files... 22:10:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9466015545003638034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:21 --> edgex-publish-swagger.sh 22:10:21 === Publish openapi/v3 API === 22:10:21 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 22:10:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 22:10:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:21 Dload Upload Total Spent Left Speed 22:10:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 53319 --:--:-- --:--:-- --:--:-- 53200 100 23674 0 0 100 23674 0 53319 --:--:-- --:--:-- --:--:-- 53200 22:10:22 22:10:22 [Pipeline] } 22:10:22 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 22:10:22 + git log --format=format:%s -1 5a7d05295c20c4306666c126d05bdc304538796c [Pipeline] sh 22:10:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:23 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:23 $ docker top 9436c691ddfd28827b55da97627ea473dd57e26b3ff9942c6592fbe8ee115283 -eo pid,comm 22:10:23 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). 22:10:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:23 [ssh-agent] Looking for ssh-agent implementation... 22:10:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:23 $ docker exec 9436c691ddfd28827b55da97627ea473dd57e26b3ff9942c6592fbe8ee115283 ssh-agent 22:10:23 SSH_AUTH_SOCK=/tmp/ssh-Ax6o9a5hMb67/agent.32 22:10:23 SSH_AGENT_PID=38 22:10:23 Running ssh-add (command line suppressed) 22:10:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18075610856354683130.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18075610856354683130.key) 22:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:24 + git semver tag 22:10:24 2023-07-19 22:10:24,558 [run_tag] DEBUG tag force:False 22:10:24 2023-07-19 22:10:24,558 [check_head_tag] DEBUG check head tag 22:10:24 2023-07-19 22:10:24,559 [execute] INFO git cat-file --batch-check 22:10:24 2023-07-19 22:10:24,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:10:24 2023-07-19 22:10:24,563 [execute] INFO git cat-file --batch 22:10:24 2023-07-19 22:10:24,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:10:24 2023-07-19 22:10:24,574 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:24 2023-07-19 22:10:24,574 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 22:10:24 2023-07-19 22:10:24,574 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:10:24 2023-07-19 22:10:24,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:24 3.1.0-dev.8 [Pipeline] } 22:10:24 $ docker exec --env ******** --env ******** 9436c691ddfd28827b55da97627ea473dd57e26b3ff9942c6592fbe8ee115283 ssh-agent -k 22:10:24 unset SSH_AUTH_SOCK; 22:10:24 unset SSH_AGENT_PID; 22:10:24 echo Agent pid 38 killed; 22:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:25 + git semver [Pipeline] } 22:10:25 $ docker stop --time=1 9436c691ddfd28827b55da97627ea473dd57e26b3ff9942c6592fbe8ee115283 22:10:26 $ docker rm -f --volumes 9436c691ddfd28827b55da97627ea473dd57e26b3ff9942c6592fbe8ee115283 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:26 22:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:27 0.23.1-centos7: Pulling from edgex-lftools 22:10:27 ab5ef0e58194: Pulling fs layer 22:10:27 9712f1f96733: Pulling fs layer 22:10:27 63f879dbbcfc: Pulling fs layer 22:10:27 0d9ebad4ef96: Pulling fs layer 22:10:27 e9a5061849ea: Pulling fs layer 22:10:27 d747dcd14b5f: Pulling fs layer 22:10:27 2de7ff778b66: Pulling fs layer 22:10:27 0d9ebad4ef96: Waiting 22:10:27 e9a5061849ea: Waiting 22:10:27 9712f1f96733: Verifying Checksum 22:10:27 9712f1f96733: Download complete 22:10:27 63f879dbbcfc: Verifying Checksum 22:10:27 63f879dbbcfc: Download complete 22:10:27 e9a5061849ea: Verifying Checksum 22:10:27 e9a5061849ea: Download complete 22:10:27 d747dcd14b5f: Download complete 22:10:27 ab5ef0e58194: Verifying Checksum 22:10:27 ab5ef0e58194: Download complete 22:10:27 0d9ebad4ef96: Verifying Checksum 22:10:27 0d9ebad4ef96: Download complete 22:10:28 2de7ff778b66: Verifying Checksum 22:10:28 2de7ff778b66: Download complete 22:10:30 ab5ef0e58194: Pull complete 22:10:30 9712f1f96733: Pull complete 22:10:30 63f879dbbcfc: Pull complete 22:10:34 0d9ebad4ef96: Pull complete 22:10:34 e9a5061849ea: Pull complete 22:10:34 d747dcd14b5f: Pull complete 22:10:35 2de7ff778b66: Pull complete 22:10:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:35 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:10:40 $ docker top 2787f96a74200f365731141c8a08875b77235fe6e9770f1a9b8fd6c587c9e7bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:10:40 provisioning config files... 22:10:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6030394842460603439tmp 22:10:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12351498020375930225tmp 22:10:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9780882313488522321tmp [Pipeline] { [Pipeline] echo 22:10:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:10:40 ---> sigul-configuration.sh 22:10:40 gpg: directory `/root/.gnupg' created 22:10:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:10:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:10:40 gpg: keyring `/root/.gnupg/secring.gpg' created 22:10:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:10:40 gpg: CAST5 encrypted data 22:10:40 gpg: encrypted with 1 passphrase 22:10:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:10:41 + mkdir /home/jenkins 22:10:41 + mkdir /home/jenkins/sigul [Pipeline] sh 22:10:41 + 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 22:10:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:10:41 ---> sigul-install.sh 22:10:41 Sigul already installed; skipping installation. [Pipeline] sh 22:10:42 + git tag --list 22:10:42 0.7.1 22:10:42 delhi-tag 22:10:42 v1.0.0 22:10:42 v1.1.0 22:10:42 v1.1.1 22:10:42 v1.1.2 22:10:42 v1.2.0 22:10:42 v1.2.1 22:10:42 v1.2.2 22:10:42 v1.2.3 22:10:42 v1.3.0 22:10:42 v1.4.0 22:10:42 v2.0.0 22:10:42 v2.1.0 22:10:42 v2.1.1 22:10:42 v2.2.0 22:10:42 v2.3.0 22:10:42 v2.3.1 22:10:42 v3.0 22:10:42 v3.0.0 22:10:42 v3.0.1-dev.1 22:10:42 v3.1.0-dev.1 22:10:42 v3.1.0-dev.2 22:10:42 v3.1.0-dev.3 22:10:42 v3.1.0-dev.4 22:10:42 v3.1.0-dev.5 22:10:42 v3.1.0-dev.6 22:10:42 v3.1.0-dev.7 22:10:42 v3.1.0-dev.8 [Pipeline] sh 22:10:42 + lftools sign git-tag v3.1.0-dev.8 22:10:42 Signing Git tag with Sigul... 22:10:42 Signing v3.1.0-dev.8 [Pipeline] echo 22:10:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:10:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:10:43 $ docker stop --time=1 2787f96a74200f365731141c8a08875b77235fe6e9770f1a9b8fd6c587c9e7bf 22:10:44 $ docker rm -f --volumes 2787f96a74200f365731141c8a08875b77235fe6e9770f1a9b8fd6c587c9e7bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:10:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:45 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:45 $ docker top 0e7adad1b49ef8a86a64c23523a7f43876fee8c5a89a1345aef099d1e4c39d86 -eo pid,comm 22:10:45 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). 22:10:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:46 [ssh-agent] Looking for ssh-agent implementation... 22:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:46 $ docker exec 0e7adad1b49ef8a86a64c23523a7f43876fee8c5a89a1345aef099d1e4c39d86 ssh-agent 22:10:46 SSH_AUTH_SOCK=/tmp/ssh-MGrJHk77kjnv/agent.33 22:10:46 SSH_AGENT_PID=39 22:10:46 Running ssh-add (command line suppressed) 22:10:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11959301331169778575.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11959301331169778575.key) 22:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:46 + git semver bump pre 22:10:46 2023-07-19 22:10:46,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:46 2023-07-19 22:10:46,819 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev 22:10:46 2023-07-19 22:10:46,819 [bump_version] DEBUG bumped version:3.1.0-dev.9 22:10:46 2023-07-19 22:10:46,819 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 22:10:46 2023-07-19 22:10:46,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:46 2023-07-19 22:10:46,819 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:46 2023-07-19 22:10:46,822 [execute] INFO git cat-file --batch-check 22:10:46 2023-07-19 22:10:46,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:46 2023-07-19 22:10:46,828 [execute] INFO git cat-file --batch 22:10:46 2023-07-19 22:10:46,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:46 2023-07-19 22:10:46,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:46 3.1.0-dev.9 [Pipeline] } 22:10:46 $ docker exec --env ******** --env ******** 0e7adad1b49ef8a86a64c23523a7f43876fee8c5a89a1345aef099d1e4c39d86 ssh-agent -k 22:10:47 unset SSH_AUTH_SOCK; 22:10:47 unset SSH_AGENT_PID; 22:10:47 echo Agent pid 39 killed; 22:10:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:47 + git semver [Pipeline] } 22:10:47 $ docker stop --time=1 0e7adad1b49ef8a86a64c23523a7f43876fee8c5a89a1345aef099d1e4c39d86 22:10:48 $ docker rm -f --volumes 0e7adad1b49ef8a86a64c23523a7f43876fee8c5a89a1345aef099d1e4c39d86 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:49 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:49 $ docker top 4b6024dc22a9a636afd916057916c0099cacaad43ce30152204c1eb9954b08f0 -eo pid,comm 22:10:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:10:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:50 [ssh-agent] Looking for ssh-agent implementation... 22:10:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:50 $ docker exec 4b6024dc22a9a636afd916057916c0099cacaad43ce30152204c1eb9954b08f0 ssh-agent 22:10:50 SSH_AUTH_SOCK=/tmp/ssh-vHhy2YB6qOEt/agent.32 22:10:50 SSH_AGENT_PID=38 22:10:50 Running ssh-add (command line suppressed) 22:10:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14613236977103366582.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14613236977103366582.key) 22:10:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:50 + git semver push 22:10:50 2023-07-19 22:10:50,804 [run_push] DEBUG push 22:10:50 2023-07-19 22:10:50,805 [execute] INFO git cat-file --batch-check 22:10:50 2023-07-19 22:10:50,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:50 2023-07-19 22:10:50,808 [execute] INFO git rev-list b8e241497fc687d5f53c3ef269da9a1fcbbc72d6 -- 22:10:50 2023-07-19 22:10:50,808 [execute] DEBUG Popen(['git', 'rev-list', 'b8e241497fc687d5f53c3ef269da9a1fcbbc72d6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:10:50 2023-07-19 22:10:50,821 [execute] INFO git fetch -v origin 22:10:50 2023-07-19 22:10:50,821 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:10:51 2023-07-19 22:10:51,384 [run_push] DEBUG no remote changes detected 22:10:51 2023-07-19 22:10:51,384 [execute] INFO git push origin semver 22:10:51 2023-07-19 22:10:51,385 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:10:52 2023-07-19 22:10:52,199 [run_push] DEBUG push all version tags 22:10:52 2023-07-19 22:10:52,200 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:10:52 2023-07-19 22:10:52,200 [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) 22:10:52 2023-07-19 22:10:52,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:52 3.1.0-dev.9 [Pipeline] } 22:10:52 $ docker exec --env ******** --env ******** 4b6024dc22a9a636afd916057916c0099cacaad43ce30152204c1eb9954b08f0 ssh-agent -k 22:10:53 unset SSH_AUTH_SOCK; 22:10:53 unset SSH_AGENT_PID; 22:10:53 echo Agent pid 38 killed; 22:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:53 + git semver [Pipeline] } 22:10:53 $ docker stop --time=1 4b6024dc22a9a636afd916057916c0099cacaad43ce30152204c1eb9954b08f0 22:10:54 $ docker rm -f --volumes 4b6024dc22a9a636afd916057916c0099cacaad43ce30152204c1eb9954b08f0 [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 22:10:55 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 22:10:55 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:55 total 16 22:10:55 drwxr-xr-x 3 root root 4096 Jul 19 21:57 . 22:10:55 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 22:10 .. 22:10:55 drwxr-xr-x 2 root root 4096 Jul 19 21:57 cost 22:10:55 -rw-r--r-- 1 root root 85 Jul 19 21:57 cost.csv 22:10:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:55 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:55 total 16 22:10:55 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:57 . 22:10:55 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 22:10 .. 22:10:55 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 21:57 cost 22:10:55 -rw-r--r-- 1 jenkins jenkins 85 Jul 19 21:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:10:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:56 ---> package-listing.sh 22:10:56 ++ facter osfamily 22:10:56 ++ tr '[:upper:]' '[:lower:]' 22:10:56 + OS_FAMILY=debian 22:10:56 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:10:56 + START_PACKAGES=/tmp/packages_start.txt 22:10:56 + END_PACKAGES=/tmp/packages_end.txt 22:10:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:56 + PACKAGES=/tmp/packages_start.txt 22:10:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:10:56 + PACKAGES=/tmp/packages_end.txt 22:10:56 + case "${OS_FAMILY}" in 22:10:56 + grep '^ii' 22:10:56 + dpkg -l 22:10:56 + '[' -f /tmp/packages_start.txt ']' 22:10:56 + '[' -f /tmp/packages_end.txt ']' 22:10:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:10:56 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:10:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:10:56 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 22:10:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:57 prd-ubuntu20.04-docker-8c-8g-1599 does not seem to be running inside a container 22:10:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:10:57 $ docker top 42e0948002aa7f4fbbab833f1509cb0f9c6bedefeebfc715560657c2ca2cfd08 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:58 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:58 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:58 + ls /var/log/sa-host 22:10:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:58 provisioning config files... 22:10:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5930799963680587636tmp [Pipeline] { [Pipeline] echo 22:10:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:59 ---> create-netrc.sh [Pipeline] } 22:10:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:59 ---> python-tools-install.sh [Pipeline] echo 22:10:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:59 ---> sudo-logs.sh 22:10:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:10:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:11:00 ---> job-cost.sh 22:11:00 lf-activate-venv: SKIPPING 22:11:00 DEBUG: total: 0.2199999988079071 22:11:00 INFO: Retrieving Stack Cost... 22:11:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:11:00 INFO: Archiving Costs [Pipeline] echo 22:11:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:11:01 ---> logs-deploy.sh 22:11:01 lf-activate-venv: SKIPPING 22:11:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/237 22:11:01 INFO: archiving workspace using pattern(s): 22:11:02 Archives upload complete. 22:11:02 INFO: archiving logs to Nexus 22:11:02 ---> uname -a: 22:11:02 Linux prd-ubuntu20-04-docker-8c-8g-1599 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:11:02 22:11:02 22:11:02 ---> lscpu: 22:11:02 Architecture: x86_64 22:11:02 CPU op-mode(s): 32-bit, 64-bit 22:11:02 Byte Order: Little Endian 22:11:02 Address sizes: 40 bits physical, 48 bits virtual 22:11:02 CPU(s): 8 22:11:02 On-line CPU(s) list: 0-7 22:11:02 Thread(s) per core: 1 22:11:02 Core(s) per socket: 1 22:11:02 Socket(s): 8 22:11:02 NUMA node(s): 1 22:11:02 Vendor ID: AuthenticAMD 22:11:02 CPU family: 23 22:11:02 Model: 49 22:11:02 Model name: AMD EPYC-Rome Processor 22:11:02 Stepping: 0 22:11:02 CPU MHz: 2799.998 22:11:02 BogoMIPS: 5599.99 22:11:02 Virtualization: AMD-V 22:11:02 Hypervisor vendor: KVM 22:11:02 Virtualization type: full 22:11:02 L1d cache: 256 KiB 22:11:02 L1i cache: 256 KiB 22:11:02 L2 cache: 4 MiB 22:11:02 L3 cache: 128 MiB 22:11:02 NUMA node0 CPU(s): 0-7 22:11:02 Vulnerability Itlb multihit: Not affected 22:11:02 Vulnerability L1tf: Not affected 22:11:02 Vulnerability Mds: Not affected 22:11:02 Vulnerability Meltdown: Not affected 22:11:02 Vulnerability Mmio stale data: Not affected 22:11:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:11:02 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:11:02 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:11:02 Vulnerability Srbds: Not affected 22:11:02 Vulnerability Tsx async abort: Not affected 22:11:02 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:11:02 22:11:02 22:11:02 ---> nproc: 22:11:02 8 22:11:02 22:11:02 22:11:02 ---> df -h: 22:11:02 Filesystem Size Used Avail Use% Mounted on 22:11:02 overlay 155G 13G 143G 9% / 22:11:02 tmpfs 64M 0 64M 0% /dev 22:11:02 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:11:02 shm 64M 0 64M 0% /dev/shm 22:11:02 /dev/vda1 155G 13G 143G 9% /facter-os 22:11:02 22:11:02