Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0da80382c0e288d5b5fa5ac238919125b7cf977 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-ssh487548219032629265.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-ssh73927611578229299.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-ssh533712095294176433.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-ssh17432497800471840440.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-ssh16182422177207682783.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 ‘prd-ubuntu20.04-docker-8c-8g-1443’ Running on prd-ubuntu20.04-docker-8c-8g-1445 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 > 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 Checking out Revision a0da80382c0e288d5b5fa5ac238919125b7cf977 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478)" > git config core.sparsecheckout # timeout=10 > git checkout -f a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-list --no-walk 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:10:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:10:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:10:02 ========================================================= 15:10:02 EdgeX Global Pipelines Version Info 15:10:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:10:02 ------------------- 15:10:02 stable info: 15:10:02 ------------------- 15:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:10:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:10:02 Message: update stable to v1.0.250 15:10:03 ------------------- 15:10:03 experimental info: 15:10:03 ------------------- 15:10:03 Commited By: **** collab-it+edgex@linuxfoundation.org 15:10:03 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:10:03 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:10:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0da803 [Pipeline] echo 15:10:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:04 provisioning config files... 15:10:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1903085994973018368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:04 ---> docker-login.sh 15:10:04 nexus3.edgexfoundry.org:10001 15:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:04 Configure a credential helper to remove this warning. See 15:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:04 15:10:04 Login Succeeded 15:10:04 nexus3.edgexfoundry.org:10002 15:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:04 Configure a credential helper to remove this warning. See 15:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:04 15:10:04 Login Succeeded 15:10:04 nexus3.edgexfoundry.org:10003 15:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:05 Configure a credential helper to remove this warning. See 15:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:05 15:10:05 Login Succeeded 15:10:05 nexus3.edgexfoundry.org:10004 15:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:05 Configure a credential helper to remove this warning. See 15:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:05 15:10:05 Login Succeeded 15:10:05 docker.io 15:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:05 Configure a credential helper to remove this warning. See 15:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:05 15:10:05 Login Succeeded 15:10:05 ---> docker-login.sh ends [Pipeline] } 15:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:10:05 + git rev-list -1 --merges a0da80382c0e288d5b5fa5ac238919125b7cf977~1..a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo 15:10:05 -----------> git rev-list -1 --merges a0da80382c0e288d5b5fa5ac238919125b7cf977~1..a0da80382c0e288d5b5fa5ac238919125b7cf977 a0da80382c0e288d5b5fa5ac238919125b7cf977 [false] [Pipeline] sh 15:10:06 + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo 15:10:06 ========================================================= 15:10:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:10:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:06 + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo 15:10:06 [semverPrep] GIT_COMMIT: a0da80382c0e288d5b5fa5ac238919125b7cf977, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478) [Pipeline] echo 15:10:06 [semverPrep] This is not a build commit. [Pipeline] sh 15:10:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:10:06 + grep -v github /etc/ssh/ssh_known_hosts 15:10:06 + [ -e /tmp/ssh_known_hosts ] 15:10:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:10:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:10:06 + sudo tee -a /etc/ssh/ssh_known_hosts 15:10:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:10:07 15:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:10:07 0.1.4: Pulling from edgex-devops/py-git-semver 15:10:07 b85a868b505f: Pulling fs layer 15:10:07 e2be974225ed: Pulling fs layer 15:10:07 339a4e72a1f5: Pulling fs layer 15:10:07 988bab9f4d93: Pulling fs layer 15:10:07 1469e6f7b9e6: Pulling fs layer 15:10:07 eaf3925da568: Pulling fs layer 15:10:07 bab4dde63d76: Pulling fs layer 15:10:07 bde34c3a00c8: Pulling fs layer 15:10:07 b352a97aabf1: Pulling fs layer 15:10:07 4872d77fe225: Pulling fs layer 15:10:07 5851b861e8e6: Pulling fs layer 15:10:07 eaf3925da568: Waiting 15:10:07 bab4dde63d76: Waiting 15:10:07 bde34c3a00c8: Waiting 15:10:07 b352a97aabf1: Waiting 15:10:07 5851b861e8e6: Waiting 15:10:07 4872d77fe225: Waiting 15:10:07 988bab9f4d93: Waiting 15:10:07 1469e6f7b9e6: Waiting 15:10:07 e2be974225ed: Download complete 15:10:07 988bab9f4d93: Verifying Checksum 15:10:07 988bab9f4d93: Download complete 15:10:07 1469e6f7b9e6: Verifying Checksum 15:10:07 1469e6f7b9e6: Download complete 15:10:07 eaf3925da568: Verifying Checksum 15:10:07 eaf3925da568: Download complete 15:10:07 339a4e72a1f5: Verifying Checksum 15:10:07 339a4e72a1f5: Download complete 15:10:07 bde34c3a00c8: Verifying Checksum 15:10:07 bde34c3a00c8: Download complete 15:10:07 b352a97aabf1: Verifying Checksum 15:10:07 b352a97aabf1: Download complete 15:10:07 4872d77fe225: Verifying Checksum 15:10:07 4872d77fe225: Download complete 15:10:07 5851b861e8e6: Verifying Checksum 15:10:07 5851b861e8e6: Download complete 15:10:07 b85a868b505f: Verifying Checksum 15:10:07 b85a868b505f: Download complete 15:10:08 bab4dde63d76: Verifying Checksum 15:10:08 bab4dde63d76: Download complete 15:10:08 b85a868b505f: Pull complete 15:10:09 e2be974225ed: Pull complete 15:10:09 339a4e72a1f5: Pull complete 15:10:09 988bab9f4d93: Pull complete 15:10:10 1469e6f7b9e6: Pull complete 15:10:10 eaf3925da568: Pull complete 15:10:11 bab4dde63d76: Pull complete 15:10:11 bde34c3a00c8: Pull complete 15:10:12 b352a97aabf1: Pull complete 15:10:12 4872d77fe225: Pull complete 15:10:12 5851b861e8e6: Pull complete 15:10:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:10:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:12 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:10:12 $ 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 15:10:15 $ docker top dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 -eo pid,comm 15:10:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:10:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:10:16 [ssh-agent] Looking for ssh-agent implementation... 15:10:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:10:16 $ docker exec dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent 15:10:16 SSH_AUTH_SOCK=/tmp/ssh-ugMHx9HgjkjW/agent.32 15:10:16 SSH_AGENT_PID=38 15:10:16 Running ssh-add (command line suppressed) 15:10:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6259062228490531988.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6259062228490531988.key) 15:10:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:10:16 + git tag --points-at HEAD [Pipeline] } 15:10:16 $ docker exec --env ******** --env ******** dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent -k 15:10:16 unset SSH_AUTH_SOCK; 15:10:16 unset SSH_AGENT_PID; 15:10:16 echo Agent pid 38 killed; 15:10:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:10:16 [ssh-agent] Looking for ssh-agent implementation... 15:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:10:17 $ docker exec dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent 15:10:17 SSH_AUTH_SOCK=/tmp/ssh-LUe6zkB1pbjd/agent.70 15:10:17 SSH_AGENT_PID=76 15:10:17 Running ssh-add (command line suppressed) 15:10:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2390797472430248583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2390797472430248583.key) 15:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:10:17 + git semver init 15:10:17 2023-07-18 15:10:17,748 [run_init] DEBUG init version:0.0.0 force:False 15:10:17 2023-07-18 15:10:17,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:10:17 2023-07-18 15:10:17,749 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:10:17 2023-07-18 15:10:17,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:10:18 2023-07-18 15:10:18,633 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:10:18 2023-07-18 15:10:18,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:10:18 2023-07-18 15:10:18,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:10:18 2023-07-18 15:10:18,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:10:18 3.1.0-dev.4 [Pipeline] } 15:10:18 $ docker exec --env ******** --env ******** dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent -k 15:10:18 unset SSH_AUTH_SOCK; 15:10:18 unset SSH_AGENT_PID; 15:10:18 echo Agent pid 76 killed; 15:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:10:19 + git semver [Pipeline] } 15:10:19 $ docker stop --time=1 dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 15:10:20 $ docker rm -f --volumes dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 [Pipeline] // withDockerContainer [Pipeline] sh 15:10:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:10:21 Stashed 1 file(s) [Pipeline] echo 15:10:21 [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:21 provisioning config files... 15:10:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11712719428011414453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:21 ---> docker-login.sh 15:10:21 nexus3.edgexfoundry.org:10001 15:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:21 Configure a credential helper to remove this warning. See 15:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:21 15:10:21 Login Succeeded 15:10:21 nexus3.edgexfoundry.org:10002 15:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:21 Configure a credential helper to remove this warning. See 15:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:21 15:10:21 Login Succeeded 15:10:22 nexus3.edgexfoundry.org:10003 15:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:22 Configure a credential helper to remove this warning. See 15:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:22 15:10:22 Login Succeeded 15:10:22 nexus3.edgexfoundry.org:10004 15:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:22 Configure a credential helper to remove this warning. See 15:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:22 15:10:22 Login Succeeded 15:10:22 docker.io 15:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:22 Configure a credential helper to remove this warning. See 15:10:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:22 15:10:22 Login Succeeded 15:10:22 ---> docker-login.sh ends [Pipeline] } 15:10:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:10:22 ========================================================= 15:10:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:10:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:22 + 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 . 15:10:22 Sending build context to Docker daemon 10.88MB 15:10:22 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:10:22 Step 2/10 : FROM ${BASE} AS builder 15:10:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:10:22 4db1b89c0bd1: Pulling fs layer 15:10:22 6911f1a30b25: Pulling fs layer 15:10:22 e194b8c5c2a9: Pulling fs layer 15:10:22 6863d3e3a2b1: Pulling fs layer 15:10:22 ec0bb842ea78: Pulling fs layer 15:10:22 40a00589a448: Pulling fs layer 15:10:22 6c08303d61cc: Pulling fs layer 15:10:22 798269fcf238: Pulling fs layer 15:10:22 6863d3e3a2b1: Waiting 15:10:22 ec0bb842ea78: Waiting 15:10:22 40a00589a448: Waiting 15:10:22 6c08303d61cc: Waiting 15:10:22 798269fcf238: Waiting 15:10:23 6911f1a30b25: Verifying Checksum 15:10:23 6911f1a30b25: Download complete 15:10:23 6863d3e3a2b1: Verifying Checksum 15:10:23 6863d3e3a2b1: Download complete 15:10:23 4db1b89c0bd1: Verifying Checksum 15:10:23 4db1b89c0bd1: Download complete 15:10:23 ec0bb842ea78: Verifying Checksum 15:10:23 ec0bb842ea78: Download complete 15:10:23 40a00589a448: Verifying Checksum 15:10:23 40a00589a448: Download complete 15:10:23 4db1b89c0bd1: Pull complete 15:10:23 6911f1a30b25: Pull complete 15:10:23 e194b8c5c2a9: Verifying Checksum 15:10:23 e194b8c5c2a9: Download complete 15:10:23 798269fcf238: Verifying Checksum 15:10:23 798269fcf238: Download complete 15:10:23 6c08303d61cc: Verifying Checksum 15:10:23 6c08303d61cc: Download complete 15:10:27 e194b8c5c2a9: Pull complete 15:10:27 6863d3e3a2b1: Pull complete 15:10:27 ec0bb842ea78: Pull complete 15:10:27 40a00589a448: Pull complete 15:10:29 6c08303d61cc: Pull complete 15:10:30 798269fcf238: Pull complete 15:10:30 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 15:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:10:30 ---> ec979cd7f677 15:10:30 Step 3/10 : ARG MAKE=make build 15:10:35 ---> Running in ba9987ed0057 15:10:35 Removing intermediate container ba9987ed0057 15:10:35 ---> 5481ceff1dc6 15:10:35 Step 4/10 : WORKDIR /device-sdk-go 15:10:36 ---> Running in 74fb530665eb 15:10:36 Removing intermediate container 74fb530665eb 15:10:36 ---> b2a654596af3 15:10:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:10:36 ---> Running in 2c22ced2e1bb 15:10:36 Removing intermediate container 2c22ced2e1bb 15:10:36 ---> 97fe4b2eb766 15:10:36 Step 6/10 : RUN apk add --update --no-cache make git 15:10:36 ---> Running in 05c090b6f6a2 15:10:36 Still waiting to schedule task 15:10:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1444’ 15:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:10:36 OK: 265 MiB in 53 packages 15:10:37 Removing intermediate container 05c090b6f6a2 15:10:37 ---> b8c279fbcd1f 15:10:37 Step 7/10 : COPY go.mod vendor* ./ 15:10:37 ---> 0d5826efe1cf 15:10:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:37 ---> Running in 15f5fa1eaf19 15:11:09 Removing intermediate container 15f5fa1eaf19 15:11:09 ---> 9b8d35f49407 15:11:09 Step 9/10 : COPY . . 15:11:09 ---> 6bcc01eacbe8 15:11:09 Step 10/10 : RUN ${MAKE} 15:11:09 ---> Running in cd3e6aed53ea 15:11:09 noop 15:11:09 Removing intermediate container cd3e6aed53ea 15:11:09 ---> 968c65e8436f 15:11:09 Successfully built 968c65e8436f 15:11:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:10 + docker inspect -f . ci-base-image-x86_64 15:11:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:10 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:11:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:11:10 $ docker top eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:10 + go version 15:11:10 go version go1.20.6 linux/amd64 [Pipeline] } 15:11:11 $ docker stop --time=1 eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 15:11:12 $ docker rm -f --volumes eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:12 + docker inspect -f . ci-base-image-x86_64 15:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:12 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:11:12 $ 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 15:11:13 $ docker top 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:11:13 + make test 15:11:13 go test -race -coverprofile=coverage.out ./... 15:11:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:11:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:11:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:11:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:11:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:11:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:11:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements 15:11:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:11:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:11:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 80.2% of statements 15:11:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements 15:11:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:11:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:11:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.140s coverage: 77.5% of statements 15:11:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:11:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:11:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:11:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.091s coverage: 14.3% of statements 15:11:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 68.5% of statements 15:11:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements 15:11:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.7% of statements 15:12:02 GO111MODULE=on go vet ./... 15:12:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:12:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:12:06 ./bin/test-attribution-txt.sh [Pipeline] echo 15:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:12:06 $ docker stop --time=1 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 15:12:10 $ docker rm -f --volumes 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 [Pipeline] // withDockerContainer [Pipeline] sh 15:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:12:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:12:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:12:11 + ls -al . 15:12:11 total 284 15:12:11 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 15:11 . 15:12:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:10 .. 15:12:11 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 15:10 .dockerignore 15:12:11 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 15:10 .git 15:12:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:10 .github 15:12:11 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 15:10 .gitignore 15:12:11 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 15:10 .golangci.yml 15:12:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 15:10 .semver 15:12:11 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 15:10 CHANGELOG.md 15:12:11 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 15:10 GOVERNANCE.md 15:12:11 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 15:10 Jenkinsfile 15:12:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 15:10 LICENSE 15:12:11 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 15:10 Makefile 15:12:11 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 15:10 OWNERS.md 15:12:11 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 15:10 README.md 15:12:11 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 15:10 VERSION 15:12:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:10 bin 15:12:11 -rw-r--r-- 1 jenkins jenkins 106150 Jul 18 15:11 coverage.out 15:12:11 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 15:10 example 15:12:11 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 15:10 go.mod 15:12:11 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 15:10 go.sum 15:12:11 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:10 internal 15:12:11 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 15:10 openapi 15:12:11 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 15:10 pkg 15:12:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:10 snap 15:12:11 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:12 + 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=a0da80382c0e288d5b5fa5ac238919125b7cf977 --label arch=amd64 --label version=3.1.0-dev.4 . 15:12:12 Sending build context to Docker daemon 10.99MB 15:12:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:12:12 Step 2/23 : FROM ${BASE} AS builder 15:12:12 ---> 968c65e8436f 15:12:12 Step 3/23 : ARG MAKE=make build 15:12:12 ---> Running in 0bfc6b43ff07 15:12:12 Removing intermediate container 0bfc6b43ff07 15:12:12 ---> c9a8def72a11 15:12:12 Step 4/23 : WORKDIR /device-sdk-go 15:12:12 ---> Running in 186db4418850 15:12:12 Removing intermediate container 186db4418850 15:12:12 ---> aaab33dcc373 15:12:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:12:12 ---> Running in bf071d74b74f 15:12:12 Removing intermediate container bf071d74b74f 15:12:12 ---> d206e6f5e0e0 15:12:12 Step 6/23 : RUN apk add --update --no-cache make git 15:12:12 ---> Running in 58a493047577 15:12:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:12:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:12:13 OK: 265 MiB in 53 packages 15:12:13 Removing intermediate container 58a493047577 15:12:13 ---> b393054b0dfb 15:12:13 Step 7/23 : COPY go.mod vendor* ./ 15:12:13 ---> 27fe999011d3 15:12:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:12:13 ---> Running in 3c493eaaffe6 15:12:14 Removing intermediate container 3c493eaaffe6 15:12:14 ---> df68affae72c 15:12:14 Step 9/23 : COPY . . 15:12:14 ---> 7102acbc3f51 15:12:14 Step 10/23 : RUN ${MAKE} 15:12:14 ---> Running in e992072a3c23 15:12:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:12:36 Removing intermediate container e992072a3c23 15:12:36 ---> 147499a2fc55 15:12:36 Step 11/23 : FROM alpine:3.17 15:12:36 3.17: Pulling from library/alpine 15:12:36 4db1b89c0bd1: Already exists 15:12:36 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:12:36 Status: Downloaded newer image for alpine:3.17 15:12:36 ---> 1f73a9d63274 15:12:36 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:12:36 ---> Running in 9231d4b6971f 15:12:36 Removing intermediate container 9231d4b6971f 15:12:36 ---> 2a95798e1c79 15:12:36 Step 13/23 : RUN apk add --update --no-cache 15:12:36 ---> Running in f2dbedef1a85 15:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:12:37 OK: 7 MiB in 15 packages 15:12:37 Removing intermediate container f2dbedef1a85 15:12:37 ---> bf26a6e75255 15:12:37 Step 14/23 : WORKDIR / 15:12:37 ---> Running in cd15359f5b59 15:12:37 Removing intermediate container cd15359f5b59 15:12:37 ---> 1dced81a3210 15:12:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:12:38 ---> fff2755a073f 15:12:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:12:39 ---> 9411c52fb06b 15:12:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:12:39 ---> 035499ceb904 15:12:39 Step 18/23 : EXPOSE 59999 15:12:39 ---> Running in cf06af6ac9d7 15:12:39 Removing intermediate container cf06af6ac9d7 15:12:39 ---> 32a648036391 15:12:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:12:39 ---> Running in 16642ab69591 15:12:39 Removing intermediate container 16642ab69591 15:12:39 ---> d4825f5b429d 15:12:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:12:39 ---> Running in 374006e9d790 15:12:39 Removing intermediate container 374006e9d790 15:12:39 ---> 8215c3d2d9f5 15:12:39 Step 21/23 : LABEL arch=amd64 15:12:39 ---> Running in de1f5760002f 15:12:39 Removing intermediate container de1f5760002f 15:12:39 ---> ce0b8efec3da 15:12:39 Step 22/23 : LABEL git_sha=a0da80382c0e288d5b5fa5ac238919125b7cf977 15:12:39 ---> Running in f30db4b147b5 15:12:39 Removing intermediate container f30db4b147b5 15:12:39 ---> b6f8a505bc8c 15:12:39 Step 23/23 : LABEL version=3.1.0-dev.4 15:12:39 ---> Running in 6c0c77e97624 15:12:39 Removing intermediate container 6c0c77e97624 15:12:39 ---> 5be79e91c0b6 15:12:39 [Warning] One or more build-args [ARCH] were not consumed 15:12:39 Successfully built 5be79e91c0b6 15:12:39 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:12:40 15:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:12:40 latest: Pulling from edgex-lftools-log-publisher 15:12:40 5eb5b503b376: Pulling fs layer 15:12:40 5c69ac0246d0: Pulling fs layer 15:12:40 ec43610c2a17: Pulling fs layer 15:12:40 3a2ae6a8a46f: Pulling fs layer 15:12:40 33b1e0a273af: Pulling fs layer 15:12:40 5d3b04190fa2: Pulling fs layer 15:12:40 2f39f015ded8: Pulling fs layer 15:12:40 3a2ae6a8a46f: Waiting 15:12:40 33b1e0a273af: Waiting 15:12:40 5d3b04190fa2: Waiting 15:12:40 2f39f015ded8: Waiting 15:12:40 5c69ac0246d0: Verifying Checksum 15:12:40 5c69ac0246d0: Download complete 15:12:40 3a2ae6a8a46f: Download complete 15:12:40 33b1e0a273af: Verifying Checksum 15:12:40 33b1e0a273af: Download complete 15:12:40 ec43610c2a17: Verifying Checksum 15:12:40 ec43610c2a17: Download complete 15:12:40 5d3b04190fa2: Verifying Checksum 15:12:40 5eb5b503b376: Verifying Checksum 15:12:40 5eb5b503b376: Download complete 15:12:41 2f39f015ded8: Download complete 15:12:41 5eb5b503b376: Pull complete 15:12:42 5c69ac0246d0: Pull complete 15:12:42 ec43610c2a17: Pull complete 15:12:42 3a2ae6a8a46f: Pull complete 15:12:42 33b1e0a273af: Pull complete 15:12:42 5d3b04190fa2: Pull complete 15:12:46 2f39f015ded8: Pull complete 15:12:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:12:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:46 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:12:46 $ 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 15:12:52 $ docker top 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:52 ---> job-cost.sh 15:12:52 lf-activate-venv: SKIPPING 15:12:52 INFO: No Stack... 15:12:52 INFO: Retrieving Pricing Info for: v3-standard-8 15:12:53 INFO: Archiving Costs [Pipeline] sh 15:12:53 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:12:53 + cut -d, -f6 [Pipeline] lock 15:12:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] 15:12:53 Resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] did not exist. Created. 15:12:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:12:53 + echo total: 0.2199999988079071 [Pipeline] stash 15:12:53 Stashed 1 file(s) [Pipeline] } 15:12:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] // lock [Pipeline] } 15:12:53 $ docker stop --time=1 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 15:12:54 $ docker rm -f --volumes 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:13:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1446 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:13:50 Running in /w/workspace/device-sdk-go/233 [Pipeline] { [Pipeline] checkout 15:13:50 The recommended git tool is: git 15:13:56 using credential edgex-jenkins-ssh 15:13:56 Cloning the remote Git repository 15:13:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:13:56 > git init /w/workspace/device-sdk-go/233 # timeout=10 15:13:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:13:56 > git --version # timeout=10 15:13:56 > git --version # 'git version 2.25.1' 15:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:13:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:13:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:13:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:13:59 Avoid second fetch 15:13:59 Checking out Revision a0da80382c0e288d5b5fa5ac238919125b7cf977 (main) 15:14:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478)" 15:13:59 > git config core.sparsecheckout # timeout=10 15:13:59 > git checkout -f a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:14:01 % Total % Received % Xferd Average Speed Time Time Time Current 15:14:01 Dload Upload Total Spent Left Speed 15:14:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 15:14:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:14:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 15:14:02 sudo tee /etc/docker/daemon.new 15:14:02 { 15:14:02 "registry-mirrors": [ 15:14:02 "https://nexus3.edgexfoundry.org:10001" 15:14:02 ], 15:14:02 "bip": "10.250.0.254/24", 15:14:02 "hosts": [ 15:14:02 "tcp://0.0.0.0:5555", 15:14:02 "unix:///var/run/docker.sock" 15:14:02 ], 15:14:02 "mtu": 1458, 15:14:02 "selinux-enabled": true, 15:14:02 "seccomp-profile": "/etc/docker/seccomp.json" 15:14:02 } [Pipeline] sh 15:14:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:14:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:21 provisioning config files... 15:14:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/233@tmp/config14693803624005446389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:14:21 ---> docker-login.sh 15:14:21 nexus3.edgexfoundry.org:10001 15:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:22 Configure a credential helper to remove this warning. See 15:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:22 15:14:22 Login Succeeded 15:14:22 nexus3.edgexfoundry.org:10002 15:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:22 Configure a credential helper to remove this warning. See 15:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:22 15:14:22 Login Succeeded 15:14:22 nexus3.edgexfoundry.org:10003 15:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:22 Configure a credential helper to remove this warning. See 15:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:22 15:14:22 Login Succeeded 15:14:22 nexus3.edgexfoundry.org:10004 15:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:23 Configure a credential helper to remove this warning. See 15:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:23 15:14:23 Login Succeeded 15:14:23 docker.io 15:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:23 Configure a credential helper to remove this warning. See 15:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:23 15:14:23 Login Succeeded 15:14:23 ---> docker-login.sh ends [Pipeline] } 15:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:14:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:14:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:14:24 ========================================================= 15:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:14:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:24 + 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 . 15:14:24 Sending build context to Docker daemon 5.797MB 15:14:24 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:14:24 Step 2/10 : FROM ${BASE} AS builder 15:14:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:14:24 edb6bdbacee9: Pulling fs layer 15:14:24 5f9638ab2659: Pulling fs layer 15:14:24 8d51d6327a98: Pulling fs layer 15:14:24 8b374f2dd631: Pulling fs layer 15:14:24 ec14aa9079de: Pulling fs layer 15:14:24 2f466654f4bb: Pulling fs layer 15:14:24 554e91adad29: Pulling fs layer 15:14:24 ec14aa9079de: Waiting 15:14:24 2f466654f4bb: Waiting 15:14:24 8b374f2dd631: Waiting 15:14:24 554e91adad29: Waiting 15:14:24 5f9638ab2659: Verifying Checksum 15:14:24 5f9638ab2659: Download complete 15:14:24 8b374f2dd631: Verifying Checksum 15:14:24 8b374f2dd631: Download complete 15:14:24 ec14aa9079de: Verifying Checksum 15:14:24 ec14aa9079de: Download complete 15:14:24 edb6bdbacee9: Verifying Checksum 15:14:24 edb6bdbacee9: Download complete 15:14:25 edb6bdbacee9: Pull complete 15:14:26 554e91adad29: Verifying Checksum 15:14:26 554e91adad29: Download complete 15:14:26 5f9638ab2659: Pull complete 15:14:27 8d51d6327a98: Verifying Checksum 15:14:27 8d51d6327a98: Download complete 15:14:27 2f466654f4bb: Verifying Checksum 15:14:39 8d51d6327a98: Pull complete 15:14:39 8b374f2dd631: Pull complete 15:14:39 ec14aa9079de: Pull complete 15:14:45 2f466654f4bb: Pull complete 15:14:47 554e91adad29: Pull complete 15:14:47 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 15:14:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:14:47 ---> 1e15ea492957 15:14:47 Step 3/10 : ARG MAKE=make build 15:14:51 ---> Running in 84d834435a64 15:14:51 Removing intermediate container 84d834435a64 15:14:51 ---> 04b921c17f43 15:14:51 Step 4/10 : WORKDIR /device-sdk-go 15:14:51 ---> Running in 159cd6dc07c8 15:14:51 Removing intermediate container 159cd6dc07c8 15:14:51 ---> b3379c537187 15:14:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:14:51 ---> Running in baa81d10befa 15:14:51 Removing intermediate container baa81d10befa 15:14:51 ---> 3dce589e0fec 15:14:51 Step 6/10 : RUN apk add --update --no-cache make git 15:14:52 ---> Running in c0bbcaaba938 15:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:14:55 OK: 263 MiB in 53 packages 15:14:55 Removing intermediate container c0bbcaaba938 15:14:55 ---> e5ec698df16e 15:14:55 Step 7/10 : COPY go.mod vendor* ./ 15:14:56 ---> 821665c49c2c 15:14:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:56 ---> Running in 4d8d9edba6e5 15:16:04 Removing intermediate container 4d8d9edba6e5 15:16:04 ---> b737cc7205a0 15:16:04 Step 9/10 : COPY . . 15:16:04 ---> 48251423cc62 15:16:04 Step 10/10 : RUN ${MAKE} 15:16:04 ---> Running in 91dcd0fd6e89 15:16:04 noop 15:16:04 Removing intermediate container 91dcd0fd6e89 15:16:04 ---> 0c746c7f12d6 15:16:04 Successfully built 0c746c7f12d6 15:16:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:04 + docker inspect -f . ci-base-image-arm64 15:16:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:04 prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container 15:16:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:16:06 $ docker top cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:07 + go version 15:16:07 go version go1.20.6 linux/arm64 [Pipeline] } 15:16:07 $ docker stop --time=1 cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 15:16:08 $ docker rm -f --volumes cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:09 + docker inspect -f . ci-base-image-arm64 15:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:09 prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container 15:16:09 $ 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/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:16:10 $ docker top 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:11 + git config --global --add safe.directory /w/workspace/device-sdk-go/233 [Pipeline] fileExists [Pipeline] sh 15:16:12 + make test 15:16:12 go test -race -coverprofile=coverage.out ./... 15:16:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:19:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:19:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:19:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:19:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:19:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:19:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.249s coverage: 27.6% of statements 15:19:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.284s coverage: 80.2% of statements 15:19:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:19:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:19:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements 15:19:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:19:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.411s coverage: 77.5% of statements 15:19:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:19:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:19:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:19:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.263s coverage: 14.3% of statements 15:19:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.435s coverage: 68.5% of statements 15:19:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.469s coverage: 89.2% of statements 15:19:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:19:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.7% of statements 15:19:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:19:52 GO111MODULE=on go vet ./... 15:22:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:22:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:22:13 ./bin/test-attribution-txt.sh [Pipeline] echo 15:22:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:22:13 $ docker stop --time=1 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 15:22:15 $ docker rm -f --volumes 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 [Pipeline] // withDockerContainer [Pipeline] sh 15:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:22:17 Warning: overwriting stash ‘coverage-report’ 15:22:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:22:18 + ls -al . 15:22:18 total 280 15:22:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 15:16 . 15:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:13 .. 15:22:18 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 15:13 .dockerignore 15:22:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 15:13 .git 15:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:13 .github 15:22:18 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 15:13 .gitignore 15:22:18 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 15:13 .golangci.yml 15:22:18 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 15:13 CHANGELOG.md 15:22:18 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 15:13 GOVERNANCE.md 15:22:18 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 15:13 Jenkinsfile 15:22:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 15:13 LICENSE 15:22:18 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 15:13 Makefile 15:22:18 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 15:13 OWNERS.md 15:22:18 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 15:13 README.md 15:22:18 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 15:10 VERSION 15:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:13 bin 15:22:18 -rw-r--r-- 1 jenkins jenkins 106152 Jul 18 15:19 coverage.out 15:22:18 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 15:13 example 15:22:18 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 15:13 go.mod 15:22:18 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 15:13 go.sum 15:22:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:13 internal 15:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 15:13 openapi 15:22:18 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 15:13 pkg 15:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:13 snap 15:22:18 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 15:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:18 + 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=a0da80382c0e288d5b5fa5ac238919125b7cf977 --label arch=arm64 --label version=3.1.0-dev.4 . 15:22:18 Sending build context to Docker daemon 5.904MB 15:22:18 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:22:18 Step 2/23 : FROM ${BASE} AS builder 15:22:18 ---> 0c746c7f12d6 15:22:18 Step 3/23 : ARG MAKE=make build 15:22:19 ---> Running in c3a6235d5fd6 15:22:19 Removing intermediate container c3a6235d5fd6 15:22:19 ---> d7a9fd598b34 15:22:19 Step 4/23 : WORKDIR /device-sdk-go 15:22:19 ---> Running in daa42a863ee4 15:22:19 Removing intermediate container daa42a863ee4 15:22:19 ---> f3514f3a5adb 15:22:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:22:19 ---> Running in 2cf367117aad 15:22:20 Removing intermediate container 2cf367117aad 15:22:20 ---> c7ae2c4cfada 15:22:20 Step 6/23 : RUN apk add --update --no-cache make git 15:22:20 ---> Running in b305e1b68cdf 15:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:22:22 OK: 263 MiB in 53 packages 15:22:24 Removing intermediate container b305e1b68cdf 15:22:24 ---> ed1a0bd5fad9 15:22:24 Step 7/23 : COPY go.mod vendor* ./ 15:22:24 ---> 44b84c1c70c0 15:22:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:24 ---> Running in bd520206e597 15:22:26 Removing intermediate container bd520206e597 15:22:26 ---> 4ae38c5bb0ed 15:22:26 Step 9/23 : COPY . . 15:22:27 ---> bf618110dbca 15:22:27 Step 10/23 : RUN ${MAKE} 15:22:27 ---> Running in d47da3e7e940 15:22:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:24:50 Removing intermediate container d47da3e7e940 15:24:50 ---> 14a1202b83d2 15:24:50 Step 11/23 : FROM alpine:3.17 15:24:50 3.17: Pulling from library/alpine 15:24:50 edb6bdbacee9: Already exists 15:24:50 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:24:50 Status: Downloaded newer image for alpine:3.17 15:24:50 ---> 779605e5fbc0 15:24:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:24:50 ---> Running in 2a6674cbfe87 15:24:50 Removing intermediate container 2a6674cbfe87 15:24:50 ---> 311fef4c94db 15:24:50 Step 13/23 : RUN apk add --update --no-cache 15:24:50 ---> Running in d24e1783ce1f 15:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:24:50 OK: 7 MiB in 15 packages 15:24:50 Removing intermediate container d24e1783ce1f 15:24:50 ---> caff0c4c1a15 15:24:50 Step 14/23 : WORKDIR / 15:24:50 ---> Running in 7fcbb6f87b31 15:24:50 Removing intermediate container 7fcbb6f87b31 15:24:50 ---> 382f73ff1953 15:24:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:24:50 ---> 03f18dd768f5 15:24:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:24:50 ---> 25c785dfb17e 15:24:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:24:50 ---> 4fa97beb57ec 15:24:50 Step 18/23 : EXPOSE 59999 15:24:50 ---> Running in f6aee7aef1ae 15:24:50 Removing intermediate container f6aee7aef1ae 15:24:50 ---> 273f9e1065b3 15:24:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:24:50 ---> Running in e726f9250725 15:24:50 Removing intermediate container e726f9250725 15:24:50 ---> 65e15fab316a 15:24:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:24:50 ---> Running in a1ac700bcc61 15:24:50 Removing intermediate container a1ac700bcc61 15:24:50 ---> 79f3cfd07c9b 15:24:50 Step 21/23 : LABEL arch=arm64 15:24:50 ---> Running in 8d686c38c81b 15:24:50 Removing intermediate container 8d686c38c81b 15:24:50 ---> af0dea540e7f 15:24:50 Step 22/23 : LABEL git_sha=a0da80382c0e288d5b5fa5ac238919125b7cf977 15:24:50 ---> Running in b5a1816b2ea6 15:24:50 Removing intermediate container b5a1816b2ea6 15:24:50 ---> 6a10664bc324 15:24:50 Step 23/23 : LABEL version=3.1.0-dev.4 15:24:50 ---> Running in 353248fe3e09 15:24:50 Removing intermediate container 353248fe3e09 15:24:50 ---> bc3819349409 15:24:50 [Warning] One or more build-args [ARCH] were not consumed 15:24:50 Successfully built bc3819349409 15:24:50 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:24:50 15:24:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:24:51 arm64: Pulling from edgex-lftools-log-publisher 15:24:51 8998bd30e6a1: Pulling fs layer 15:24:51 04944245beec: Pulling fs layer 15:24:51 699f458cf7ca: Pulling fs layer 15:24:51 765212b225bb: Pulling fs layer 15:24:51 f23df028b6ca: Pulling fs layer 15:24:51 d65c8cfc05b1: Pulling fs layer 15:24:51 2437ff75d9bd: Pulling fs layer 15:24:51 f23df028b6ca: Waiting 15:24:51 765212b225bb: Waiting 15:24:51 d65c8cfc05b1: Waiting 15:24:51 2437ff75d9bd: Waiting 15:24:51 04944245beec: Verifying Checksum 15:24:51 04944245beec: Download complete 15:24:51 765212b225bb: Verifying Checksum 15:24:51 765212b225bb: Download complete 15:24:51 f23df028b6ca: Verifying Checksum 15:24:51 f23df028b6ca: Download complete 15:24:51 d65c8cfc05b1: Verifying Checksum 15:24:51 d65c8cfc05b1: Download complete 15:24:51 699f458cf7ca: Verifying Checksum 15:24:51 699f458cf7ca: Download complete 15:24:52 8998bd30e6a1: Verifying Checksum 15:24:52 8998bd30e6a1: Download complete 15:24:54 2437ff75d9bd: Verifying Checksum 15:24:54 2437ff75d9bd: Download complete 15:24:56 8998bd30e6a1: Pull complete 15:24:56 04944245beec: Pull complete 15:24:57 699f458cf7ca: Pull complete 15:24:58 765212b225bb: Pull complete 15:24:58 f23df028b6ca: Pull complete 15:24:58 d65c8cfc05b1: Pull complete 15:25:13 2437ff75d9bd: Pull complete 15:25:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:25:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:14 prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container 15:25:14 $ 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/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:25:16 $ docker top f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:17 ---> job-cost.sh 15:25:17 lf-activate-venv: SKIPPING 15:25:17 INFO: No Stack... 15:25:17 INFO: Retrieving Pricing Info for: v3-standard-4 15:25:18 INFO: Archiving Costs [Pipeline] sh 15:25:18 + cut -d, -f6 15:25:18 + cat /w/workspace/device-sdk-go/233/archives/cost.csv [Pipeline] lock 15:25:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] 15:25:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] did not exist. Created. 15:25:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:25:19 /w/workspace/device-sdk-go/233@tmp/durable-d44aadf1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:25:20 + echo total: 0.10999999940395355 [Pipeline] stash 15:25:20 Warning: overwriting stash ‘stack-cost’ 15:25:20 Stashed 1 file(s) [Pipeline] } 15:25:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] // lock [Pipeline] } 15:25:20 $ docker stop --time=1 f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 15:25:21 $ docker rm -f --volumes f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 [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 15:25:22 provisioning config files... 15:25:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7849285066191073598tmp [Pipeline] { [Pipeline] sh 15:25:22 + set +x 15:25:22 + curl -s https://codecov.io/bash 15:25:22 + bash -s -- 15:25:22 15:25:22 _____ _ 15:25:22 / ____| | | 15:25:22 | | ___ __| | ___ ___ _____ __ 15:25:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:25:22 | |___| (_) | (_| | __/ (_| (_) \ V / 15:25:22 \_____\___/ \__,_|\___|\___\___/ \_/ 15:25:22 Bash-1.0.6 15:25:22 15:25:22 15:25:22 ==> git version 2.25.1 found 15:25:22 ==> 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 15:25:22 Release-Date: 2020-01-08 15:25:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:25:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:25:22 ==> Jenkins CI detected. 15:25:22 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:25:22 project root: . 15:25:22 --> token set from env 15:25:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:25:22 ==> Running gcov in . (disable via -X gcov) 15:25:22 ==> Python coveragepy not found 15:25:22 ==> Searching for coverage reports in: 15:25:22 + . 15:25:22 -> Found 1 reports 15:25:22 ==> Detecting git/mercurial file structure 15:25:22 ==> Reading reports 15:25:22 + ./coverage.out bytes=106152 15:25:22 ==> Appending adjustments 15:25:22 https://docs.codecov.io/docs/fixing-reports 15:25:23 + Found adjustments 15:25:23 ==> Gzipping contents 15:25:23 16K /tmp/codecov.CrkBje.gz 15:25:23 ==> Uploading reports 15:25:23 url: https://codecov.io 15:25:23 query: branch=main&commit=a0da80382c0e288d5b5fa5ac238919125b7cf977&build=233&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F233%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:25:23 -> Pinging Codecov 15:25:23 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=a0da80382c0e288d5b5fa5ac238919125b7cf977&build=233&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F233%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:25:23 -> Uploading to 15:25:23 https://storage.googleapis.com/codecov/v4/raw/2023-07-18/7E55EF52A471D76F132DFD9A03CDDE97/a0da80382c0e288d5b5fa5ac238919125b7cf977/57092123-87bc-4c80-bfba-7ba0974bb579.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230718T152523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3dfb62aa7537e56c063a23f1d0796820fc962baf165bf173bf651a3c62d7969e 15:25:23 % Total % Received % Xferd Average Speed Time Time Time Current 15:25:23 Dload Upload Total Spent Left Speed 15:25:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15153 0 0 100 15153 0 76145 --:--:-- --:--:-- --:--:-- 76145 15:25:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] } 15:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:25:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:25:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:23 15:25:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:25:24 df9b9388f04a: Pulling fs layer 15:25:24 52dc419b0ee2: Pulling fs layer 15:25:24 25bc292e5bac: Pulling fs layer 15:25:24 114826534d7a: Pulling fs layer 15:25:24 4657fd5d0bcf: Pulling fs layer 15:25:24 6ad1cebc031e: Pulling fs layer 15:25:24 8a3aa393b2d8: Pulling fs layer 15:25:24 114826534d7a: Waiting 15:25:24 4657fd5d0bcf: Waiting 15:25:24 8a3aa393b2d8: Waiting 15:25:24 25bc292e5bac: Verifying Checksum 15:25:24 25bc292e5bac: Download complete 15:25:24 52dc419b0ee2: Verifying Checksum 15:25:24 52dc419b0ee2: Download complete 15:25:24 4657fd5d0bcf: Verifying Checksum 15:25:24 4657fd5d0bcf: Download complete 15:25:24 df9b9388f04a: Verifying Checksum 15:25:24 df9b9388f04a: Download complete 15:25:24 6ad1cebc031e: Verifying Checksum 15:25:24 6ad1cebc031e: Download complete 15:25:24 df9b9388f04a: Pull complete 15:25:24 52dc419b0ee2: Pull complete 15:25:24 25bc292e5bac: Pull complete 15:25:24 114826534d7a: Download complete 15:25:25 8a3aa393b2d8: Verifying Checksum 15:25:25 8a3aa393b2d8: Download complete 15:25:28 114826534d7a: Pull complete 15:25:28 4657fd5d0bcf: Pull complete 15:25:28 6ad1cebc031e: Pull complete 15:25:30 8a3aa393b2d8: Pull complete 15:25:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:31 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:25:31 $ 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 15:25:36 $ docker top 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda -eo pid,comm [Pipeline] { [Pipeline] echo 15:25:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:25:36 + set -o pipefail 15:25:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:25:40 15:25:40 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:25:40 15:25:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/cbfdc58e-db0d-4b09-ae7b-a66f4f833949 15:25:40 15:25:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:25:40 15:25:40 15:25:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:25:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:25:40 More details here: https://snyk.co/ue1NS [Pipeline] } 15:25:40 $ docker stop --time=1 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda 15:25:45 $ docker rm -f --volumes 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda [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 15:25:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:45 provisioning config files... 15:25:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15660152727859960989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:45 --> edgex-publish-swagger.sh 15:25:45 === Publish openapi/v3 API === 15:25:45 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:25:45 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:25:45 % Total % Received % Xferd Average Speed Time Time Time Current 15:25:45 Dload Upload Total Spent Left Speed 15:25:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 40746 --:--:-- --:--:-- --:--:-- 40746 15:25:46 15:25:46 [Pipeline] } 15:25:46 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 15:25:46 + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] sh 15:25:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:25:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:47 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:25:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:25:47 $ docker top 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:25:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:48 [ssh-agent] Looking for ssh-agent implementation... 15:25:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:48 $ docker exec 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc ssh-agent 15:25:48 SSH_AUTH_SOCK=/tmp/ssh-HEx2i3K4ASmB/agent.32 15:25:48 SSH_AGENT_PID=38 15:25:48 Running ssh-add (command line suppressed) 15:25:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15766610288247289125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15766610288247289125.key) 15:25:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:48 + git semver tag 15:25:48 2023-07-18 15:25:48,814 [run_tag] DEBUG tag force:False 15:25:48 2023-07-18 15:25:48,814 [check_head_tag] DEBUG check head tag 15:25:48 2023-07-18 15:25:48,815 [execute] INFO git cat-file --batch-check 15:25:48 2023-07-18 15:25:48,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:25:48 2023-07-18 15:25:48,819 [execute] INFO git cat-file --batch 15:25:48 2023-07-18 15:25:48,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:25:48 2023-07-18 15:25:48,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:25:48 2023-07-18 15:25:48,828 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 15:25:48 2023-07-18 15:25:48,829 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:25:48 2023-07-18 15:25:48,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:25:48 3.1.0-dev.4 [Pipeline] } 15:25:48 $ docker exec --env ******** --env ******** 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc ssh-agent -k 15:25:49 unset SSH_AUTH_SOCK; 15:25:49 unset SSH_AGENT_PID; 15:25:49 echo Agent pid 38 killed; 15:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:25:49 + git semver [Pipeline] } 15:25:49 $ docker stop --time=1 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc 15:25:50 $ docker rm -f --volumes 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:25:51 15:25:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:25:51 0.23.1-centos7: Pulling from edgex-lftools 15:25:51 ab5ef0e58194: Pulling fs layer 15:25:51 9712f1f96733: Pulling fs layer 15:25:51 63f879dbbcfc: Pulling fs layer 15:25:51 0d9ebad4ef96: Pulling fs layer 15:25:51 e9a5061849ea: Pulling fs layer 15:25:51 d747dcd14b5f: Pulling fs layer 15:25:51 2de7ff778b66: Pulling fs layer 15:25:51 e9a5061849ea: Waiting 15:25:51 0d9ebad4ef96: Waiting 15:25:51 2de7ff778b66: Waiting 15:25:51 9712f1f96733: Verifying Checksum 15:25:51 9712f1f96733: Download complete 15:25:51 63f879dbbcfc: Verifying Checksum 15:25:51 63f879dbbcfc: Download complete 15:25:52 ab5ef0e58194: Download complete 15:25:52 d747dcd14b5f: Verifying Checksum 15:25:52 d747dcd14b5f: Download complete 15:25:52 e9a5061849ea: Verifying Checksum 15:25:52 e9a5061849ea: Download complete 15:25:52 0d9ebad4ef96: Verifying Checksum 15:25:52 0d9ebad4ef96: Download complete 15:25:52 2de7ff778b66: Verifying Checksum 15:25:52 2de7ff778b66: Download complete 15:25:54 ab5ef0e58194: Pull complete 15:25:54 9712f1f96733: Pull complete 15:25:55 63f879dbbcfc: Pull complete 15:25:58 0d9ebad4ef96: Pull complete 15:25:58 e9a5061849ea: Pull complete 15:25:58 d747dcd14b5f: Pull complete 15:25:59 2de7ff778b66: Pull complete 15:25:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:25:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:25:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:59 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:25:59 $ 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 15:26:04 $ docker top 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:26:04 provisioning config files... 15:26:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17165184028058966805tmp 15:26:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17310854390068766412tmp 15:26:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16888731283365006316tmp [Pipeline] { [Pipeline] echo 15:26:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:26:05 ---> sigul-configuration.sh 15:26:05 gpg: directory `/root/.gnupg' created 15:26:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:26:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:26:05 gpg: keyring `/root/.gnupg/secring.gpg' created 15:26:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:26:05 gpg: CAST5 encrypted data 15:26:05 gpg: encrypted with 1 passphrase 15:26:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:26:05 + mkdir /home/jenkins 15:26:05 + mkdir /home/jenkins/sigul [Pipeline] sh 15:26:05 + 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 15:26:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:26:05 ---> sigul-install.sh 15:26:05 Sigul already installed; skipping installation. [Pipeline] sh 15:26:06 + git tag --list 15:26:06 0.7.1 15:26:06 delhi-tag 15:26:06 v1.0.0 15:26:06 v1.1.0 15:26:06 v1.1.1 15:26:06 v1.1.2 15:26:06 v1.2.0 15:26:06 v1.2.1 15:26:06 v1.2.2 15:26:06 v1.2.3 15:26:06 v1.3.0 15:26:06 v1.4.0 15:26:06 v2.0.0 15:26:06 v2.1.0 15:26:06 v2.1.1 15:26:06 v2.2.0 15:26:06 v2.3.0 15:26:06 v2.3.1 15:26:06 v3.0 15:26:06 v3.0.0 15:26:06 v3.0.1-dev.1 15:26:06 v3.1.0-dev.1 15:26:06 v3.1.0-dev.2 15:26:06 v3.1.0-dev.3 15:26:06 v3.1.0-dev.4 [Pipeline] sh 15:26:06 + lftools sign git-tag v3.1.0-dev.4 15:26:07 Signing Git tag with Sigul... 15:26:07 Signing v3.1.0-dev.4 [Pipeline] echo 15:26:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:26:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:26:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:26:12 $ docker stop --time=1 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e 15:26:13 $ docker rm -f --volumes 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:26:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:14 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:26:14 $ 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 15:26:14 $ docker top a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 -eo pid,comm 15:26:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:26:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:14 [ssh-agent] Looking for ssh-agent implementation... 15:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:14 $ docker exec a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 ssh-agent 15:26:15 SSH_AUTH_SOCK=/tmp/ssh-PV3XBNq7JBrN/agent.32 15:26:15 SSH_AGENT_PID=38 15:26:15 Running ssh-add (command line suppressed) 15:26:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15321695773556033401.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15321695773556033401.key) 15:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:15 + git semver bump pre 15:26:15 2023-07-18 15:26:15,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:15 2023-07-18 15:26:15,628 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev 15:26:15 2023-07-18 15:26:15,628 [bump_version] DEBUG bumped version:3.1.0-dev.5 15:26:15 2023-07-18 15:26:15,628 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:26:15 2023-07-18 15:26:15,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:15 2023-07-18 15:26:15,628 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:15 2023-07-18 15:26:15,630 [execute] INFO git cat-file --batch-check 15:26:15 2023-07-18 15:26:15,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:15 2023-07-18 15:26:15,635 [execute] INFO git cat-file --batch 15:26:15 2023-07-18 15:26:15,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:15 2023-07-18 15:26:15,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:15 3.1.0-dev.5 [Pipeline] } 15:26:15 $ docker exec --env ******** --env ******** a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 ssh-agent -k 15:26:15 unset SSH_AUTH_SOCK; 15:26:15 unset SSH_AGENT_PID; 15:26:15 echo Agent pid 38 killed; 15:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:16 + git semver [Pipeline] } 15:26:16 $ docker stop --time=1 a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 15:26:17 $ docker rm -f --volumes a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:18 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:26:18 $ 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 15:26:18 $ docker top aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:18 [ssh-agent] Looking for ssh-agent implementation... 15:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:18 $ docker exec aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af ssh-agent 15:26:18 SSH_AUTH_SOCK=/tmp/ssh-jBrvjXzriYBy/agent.32 15:26:18 SSH_AGENT_PID=38 15:26:18 Running ssh-add (command line suppressed) 15:26:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16186740179942988990.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16186740179942988990.key) 15:26:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:19 + git semver push 15:26:19 2023-07-18 15:26:19,572 [run_push] DEBUG push 15:26:19 2023-07-18 15:26:19,573 [execute] INFO git cat-file --batch-check 15:26:19 2023-07-18 15:26:19,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:19 2023-07-18 15:26:19,577 [execute] INFO git rev-list f87f7c4b10ea6c62c8cfdb751c1ad3b22f3332ce -- 15:26:19 2023-07-18 15:26:19,577 [execute] DEBUG Popen(['git', 'rev-list', 'f87f7c4b10ea6c62c8cfdb751c1ad3b22f3332ce', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:26:19 2023-07-18 15:26:19,587 [execute] INFO git fetch -v origin 15:26:19 2023-07-18 15:26:19,587 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:26:20 2023-07-18 15:26:20,082 [run_push] DEBUG no remote changes detected 15:26:20 2023-07-18 15:26:20,083 [execute] INFO git push origin semver 15:26:20 2023-07-18 15:26:20,083 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:26:21 2023-07-18 15:26:20,855 [run_push] DEBUG push all version tags 15:26:21 2023-07-18 15:26:20,855 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:26:21 2023-07-18 15:26:20,856 [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) 15:26:22 2023-07-18 15:26:21,764 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:22 3.1.0-dev.5 [Pipeline] } 15:26:22 $ docker exec --env ******** --env ******** aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af ssh-agent -k 15:26:22 unset SSH_AUTH_SOCK; 15:26:22 unset SSH_AGENT_PID; 15:26:22 echo Agent pid 38 killed; 15:26:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:22 + git semver [Pipeline] } 15:26:22 $ docker stop --time=1 aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af 15:26:24 $ docker rm -f --volumes aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af [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 15:26:24 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:26:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:26:24 total 16 15:26:24 drwxr-xr-x 3 root root 4096 Jul 18 15:12 . 15:26:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:26 .. 15:26:24 drwxr-xr-x 2 root root 4096 Jul 18 15:12 cost 15:26:24 -rw-r--r-- 1 root root 85 Jul 18 15:12 cost.csv 15:26:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:26:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:26:24 total 16 15:26:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 15:12 . 15:26:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:26 .. 15:26:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 15:12 cost 15:26:24 -rw-r--r-- 1 jenkins jenkins 85 Jul 18 15:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:26:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:26:25 ---> package-listing.sh 15:26:25 ++ facter osfamily 15:26:25 ++ tr '[:upper:]' '[:lower:]' 15:26:25 + OS_FAMILY=debian 15:26:25 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:26:25 + START_PACKAGES=/tmp/packages_start.txt 15:26:25 + END_PACKAGES=/tmp/packages_end.txt 15:26:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:26:25 + PACKAGES=/tmp/packages_start.txt 15:26:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:26:25 + PACKAGES=/tmp/packages_end.txt 15:26:25 + case "${OS_FAMILY}" in 15:26:25 + dpkg -l 15:26:25 + grep '^ii' 15:26:25 + '[' -f /tmp/packages_start.txt ']' 15:26:25 + '[' -f /tmp/packages_end.txt ']' 15:26:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:26:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:26:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:26:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:26:26 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 15:26:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:27 prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container 15:26:27 $ 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 15:26:27 $ docker top 7f8880b9ee9ee119ca14f6fe647eadbd23de8cc5c08b73b3e0857f2ddbf7d88f -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:27 + touch /tmp/pre-build-complete [Pipeline] sh 15:26:27 + mkdir -p /var/log/sysstat [Pipeline] sh 15:26:28 + ls /var/log/sa-host 15:26:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:28 provisioning config files... 15:26:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6847975778636055838tmp [Pipeline] { [Pipeline] echo 15:26:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:26:28 ---> create-netrc.sh [Pipeline] } 15:26:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:26:28 ---> python-tools-install.sh [Pipeline] echo 15:26:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:26:29 ---> sudo-logs.sh 15:26:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:26:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:26:29 ---> job-cost.sh 15:26:29 lf-activate-venv: SKIPPING 15:26:29 DEBUG: total: 0.2199999988079071 15:26:29 INFO: Retrieving Stack Cost... 15:26:29 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:30 INFO: Archiving Costs [Pipeline] echo 15:26:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:26:30 ---> logs-deploy.sh 15:26:30 lf-activate-venv: SKIPPING 15:26:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/233 15:26:30 INFO: archiving workspace using pattern(s): 15:26:31 Archives upload complete. 15:26:31 INFO: archiving logs to Nexus