Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 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-ssh10300066624571558818.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12435610635560984271.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2049211051150482221.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13267405257673231586.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-ssh1742113693647668616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16755 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1463)" > git rev-list --no-walk 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:28:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:28:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:28:22 ========================================================= 18:28:22 EdgeX Global Pipelines Version Info 18:28:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:28:22 ------------------- 18:28:22 stable info: 18:28:22 ------------------- 18:28:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:28:22 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:28:22 Message: update stable to v1.0.249 18:28:23 ------------------- 18:28:23 experimental info: 18:28:23 ------------------- 18:28:23 Commited By: **** collab-it+edgex@linuxfoundation.org 18:28:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:28:23 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] echo 18:28:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b52fe9 [Pipeline] echo 18:28:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:24 provisioning config files... 18:28:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2413011792581022186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:24 ---> docker-login.sh 18:28:24 nexus3.edgexfoundry.org:10001 18:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:24 Configure a credential helper to remove this warning. See 18:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:24 18:28:24 Login Succeeded 18:28:24 nexus3.edgexfoundry.org:10002 18:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:24 Configure a credential helper to remove this warning. See 18:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:24 18:28:24 Login Succeeded 18:28:24 nexus3.edgexfoundry.org:10003 18:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:24 Configure a credential helper to remove this warning. See 18:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:24 18:28:24 Login Succeeded 18:28:24 nexus3.edgexfoundry.org:10004 18:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:24 Configure a credential helper to remove this warning. See 18:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:24 18:28:24 Login Succeeded 18:28:24 docker.io 18:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:25 Configure a credential helper to remove this warning. See 18:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:25 18:28:25 Login Succeeded 18:28:25 ---> docker-login.sh ends [Pipeline] } 18:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:28:25 + git rev-list -1 --merges 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1~1..5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] echo 18:28:25 -----------> git rev-list -1 --merges 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1~1..5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [false] [Pipeline] sh 18:28:25 + git log --format=format:%s -1 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] echo 18:28:25 ========================================================= 18:28:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:28:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:26 + git log --format=format:%s -1 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] echo 18:28:26 [semverPrep] GIT_COMMIT: 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1463) [Pipeline] echo 18:28:26 [semverPrep] This is not a build commit. [Pipeline] sh 18:28:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:28:26 + grep -v github /etc/ssh/ssh_known_hosts 18:28:26 + [ -e /tmp/ssh_known_hosts ] 18:28:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:28:26 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:28:26 -a /etc/ssh/ssh_known_hosts 18:28:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:26 18:28:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:27 0.1.4: Pulling from edgex-devops/py-git-semver 18:28:27 b85a868b505f: Pulling fs layer 18:28:27 e2be974225ed: Pulling fs layer 18:28:27 339a4e72a1f5: Pulling fs layer 18:28:27 988bab9f4d93: Pulling fs layer 18:28:27 1469e6f7b9e6: Pulling fs layer 18:28:27 eaf3925da568: Pulling fs layer 18:28:27 bab4dde63d76: Pulling fs layer 18:28:27 bde34c3a00c8: Pulling fs layer 18:28:27 b352a97aabf1: Pulling fs layer 18:28:27 4872d77fe225: Pulling fs layer 18:28:27 5851b861e8e6: Pulling fs layer 18:28:27 bde34c3a00c8: Waiting 18:28:27 4872d77fe225: Waiting 18:28:27 b352a97aabf1: Waiting 18:28:27 1469e6f7b9e6: Waiting 18:28:27 5851b861e8e6: Waiting 18:28:27 bab4dde63d76: Waiting 18:28:27 988bab9f4d93: Waiting 18:28:27 e2be974225ed: Verifying Checksum 18:28:27 e2be974225ed: Download complete 18:28:27 988bab9f4d93: Verifying Checksum 18:28:27 988bab9f4d93: Download complete 18:28:27 1469e6f7b9e6: Verifying Checksum 18:28:27 1469e6f7b9e6: Download complete 18:28:27 eaf3925da568: Download complete 18:28:27 339a4e72a1f5: Verifying Checksum 18:28:27 339a4e72a1f5: Download complete 18:28:27 bde34c3a00c8: Verifying Checksum 18:28:27 bde34c3a00c8: Download complete 18:28:27 b352a97aabf1: Verifying Checksum 18:28:27 b352a97aabf1: Download complete 18:28:27 4872d77fe225: Download complete 18:28:27 5851b861e8e6: Verifying Checksum 18:28:27 5851b861e8e6: Download complete 18:28:27 b85a868b505f: Verifying Checksum 18:28:27 b85a868b505f: Download complete 18:28:27 bab4dde63d76: Verifying Checksum 18:28:27 bab4dde63d76: Download complete 18:28:28 b85a868b505f: Pull complete 18:28:28 e2be974225ed: Pull complete 18:28:29 339a4e72a1f5: Pull complete 18:28:29 988bab9f4d93: Pull complete 18:28:29 1469e6f7b9e6: Pull complete 18:28:29 eaf3925da568: Pull complete 18:28:31 bab4dde63d76: Pull complete 18:28:31 bde34c3a00c8: Pull complete 18:28:31 b352a97aabf1: Pull complete 18:28:31 4872d77fe225: Pull complete 18:28:31 5851b861e8e6: Pull complete 18:28:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:32 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:28:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:28:34 $ docker top 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 -eo pid,comm 18:28:35 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). 18:28:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:35 [ssh-agent] Looking for ssh-agent implementation... 18:28:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:35 $ docker exec 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 ssh-agent 18:28:35 SSH_AUTH_SOCK=/tmp/ssh-nDRp7nGaaezV/agent.33 18:28:35 SSH_AGENT_PID=39 18:28:35 Running ssh-add (command line suppressed) 18:28:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5979759685985904886.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5979759685985904886.key) 18:28:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:28:35 + git tag --points-at HEAD [Pipeline] } 18:28:35 $ docker exec --env ******** --env ******** 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 ssh-agent -k 18:28:35 unset SSH_AUTH_SOCK; 18:28:35 unset SSH_AGENT_PID; 18:28:35 echo Agent pid 39 killed; 18:28:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:35 [ssh-agent] Looking for ssh-agent implementation... 18:28:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:35 $ docker exec 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 ssh-agent 18:28:36 SSH_AUTH_SOCK=/tmp/ssh-7YV0hfZ595c1/agent.71 18:28:36 SSH_AGENT_PID=77 18:28:36 Running ssh-add (command line suppressed) 18:28:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7302737511875935856.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7302737511875935856.key) 18:28:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:28:36 + git semver init 18:28:36 2023-05-24 18:28:36,643 [run_init] DEBUG init version:0.0.0 force:False 18:28:36 2023-05-24 18:28:36,644 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:28:36 2023-05-24 18:28:36,644 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:28:36 2023-05-24 18:28:36,645 [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) 18:28:37 2023-05-24 18:28:37,526 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:28:37 2023-05-24 18:28:37,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:28:37 2023-05-24 18:28:37,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:28:37 2023-05-24 18:28:37,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:28:37 3.0.0-dev.95 [Pipeline] } 18:28:37 $ docker exec --env ******** --env ******** 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 ssh-agent -k 18:28:37 unset SSH_AUTH_SOCK; 18:28:37 unset SSH_AGENT_PID; 18:28:37 echo Agent pid 77 killed; 18:28:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:28:38 + git semver [Pipeline] } 18:28:38 $ docker stop --time=1 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 18:28:39 $ docker rm -f --volumes 234348ca7b9291651c35c273ecee30ac7ce06340b68a1c74ad0ade9f6d52a616 [Pipeline] // withDockerContainer [Pipeline] sh 18:28:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:28:40 Stashed 1 file(s) [Pipeline] echo 18:28:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.95 [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 18:28:40 provisioning config files... 18:28:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11507368093640341351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:40 ---> docker-login.sh 18:28:40 nexus3.edgexfoundry.org:10001 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 nexus3.edgexfoundry.org:10002 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 nexus3.edgexfoundry.org:10003 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 nexus3.edgexfoundry.org:10004 18:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:40 Configure a credential helper to remove this warning. See 18:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:40 18:28:40 Login Succeeded 18:28:40 docker.io 18:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:41 Configure a credential helper to remove this warning. See 18:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:41 18:28:41 Login Succeeded 18:28:41 ---> docker-login.sh ends [Pipeline] } 18:28:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:41 ========================================================= 18:28:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:28:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:41 + 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 . 18:28:41 Sending build context to Docker daemon 11.17MB 18:28:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:28:41 Step 2/10 : FROM ${BASE} AS builder 18:28:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:28:41 f56be85fc22e: Pulling fs layer 18:28:41 85791d961cd3: Pulling fs layer 18:28:41 d694b5ae8c79: Pulling fs layer 18:28:41 9f32a84ed3da: Pulling fs layer 18:28:41 4d19c01a9841: Pulling fs layer 18:28:41 9325e15d5711: Pulling fs layer 18:28:41 556b6ee489ea: Pulling fs layer 18:28:41 4d19c01a9841: Waiting 18:28:41 9325e15d5711: Waiting 18:28:41 c5a4b2cf53e6: Pulling fs layer 18:28:41 556b6ee489ea: Waiting 18:28:41 85791d961cd3: Download complete 18:28:41 9f32a84ed3da: Verifying Checksum 18:28:41 9f32a84ed3da: Download complete 18:28:41 4d19c01a9841: Verifying Checksum 18:28:41 4d19c01a9841: Download complete 18:28:41 f56be85fc22e: Verifying Checksum 18:28:41 f56be85fc22e: Download complete 18:28:41 9325e15d5711: Verifying Checksum 18:28:41 9325e15d5711: Download complete 18:28:41 f56be85fc22e: Pull complete 18:28:42 85791d961cd3: Pull complete 18:28:42 c5a4b2cf53e6: Verifying Checksum 18:28:42 c5a4b2cf53e6: Download complete 18:28:42 d694b5ae8c79: Download complete 18:28:42 556b6ee489ea: Verifying Checksum 18:28:42 556b6ee489ea: Download complete 18:28:46 d694b5ae8c79: Pull complete 18:28:46 9f32a84ed3da: Pull complete 18:28:46 4d19c01a9841: Pull complete 18:28:46 9325e15d5711: Pull complete 18:28:48 556b6ee489ea: Pull complete 18:28:49 c5a4b2cf53e6: Pull complete 18:28:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:28:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:28:49 ---> c4be618373d6 18:28:49 Step 3/10 : ARG MAKE=make build 18:28:53 ---> Running in b3eb61697335 18:28:53 Removing intermediate container b3eb61697335 18:28:53 ---> d2a5f0f3fb39 18:28:53 Step 4/10 : WORKDIR /device-sdk-go 18:28:53 ---> Running in fd599b02b746 18:28:53 Removing intermediate container fd599b02b746 18:28:53 ---> f5056cd9979f 18:28:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:28:53 ---> Running in b85a83057e60 18:28:53 Removing intermediate container b85a83057e60 18:28:53 ---> 1f8002b5c4d5 18:28:53 Step 6/10 : RUN apk add --update --no-cache make git 18:28:53 ---> Running in 7cb7f1151de3 18:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:28:54 OK: 265 MiB in 53 packages 18:28:54 Removing intermediate container 7cb7f1151de3 18:28:54 ---> fdd780fbf94e 18:28:54 Step 7/10 : COPY go.mod vendor* ./ 18:28:54 ---> 71c071f54109 18:28:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:54 ---> Running in c22a79dcceaa 18:28:55 Still waiting to schedule task 18:28:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:29:21 Removing intermediate container c22a79dcceaa 18:29:21 ---> 4ca62b81e4e9 18:29:21 Step 9/10 : COPY . . 18:29:21 ---> e712962e3fa3 18:29:21 Step 10/10 : RUN ${MAKE} 18:29:21 ---> Running in f8dba2780d5c 18:29:21 noop 18:29:21 Removing intermediate container f8dba2780d5c 18:29:21 ---> 8737019b68d2 18:29:21 Successfully built 8737019b68d2 18:29:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:22 + docker inspect -f . ci-base-image-x86_64 18:29:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:22 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:29:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:29:22 $ docker top 522bd394f06d11c61d689447fe92e70ec242e44455d50ebd9038af43d68d9ee5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:22 + go version 18:29:22 go version go1.20.2 linux/amd64 [Pipeline] } 18:29:22 $ docker stop --time=1 522bd394f06d11c61d689447fe92e70ec242e44455d50ebd9038af43d68d9ee5 18:29:24 $ docker rm -f --volumes 522bd394f06d11c61d689447fe92e70ec242e44455d50ebd9038af43d68d9ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:24 + docker inspect -f . ci-base-image-x86_64 18:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:24 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:29:25 $ docker top 5927ebb0c3d87803d2638dfc2ce64b1ebb1f1ed553c413e91fc699074f29863d -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:29:25 + make test 18:29:25 go test -race -coverprofile=coverage.out ./... 18:29:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:29:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:29:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements 18:29:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements 18:29:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements 18:29:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:29:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:29:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.104s coverage: 77.5% of statements 18:29:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:29:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:29:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:29:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.3% of statements 18:29:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.076s coverage: 68.5% of statements 18:29:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.135s coverage: 89.2% of statements 18:29:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 5.7% of statements 18:30:13 GO111MODULE=on go vet ./... 18:30:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:30:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:30:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:30:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:30:14 $ docker stop --time=1 5927ebb0c3d87803d2638dfc2ce64b1ebb1f1ed553c413e91fc699074f29863d 18:30:18 $ docker rm -f --volumes 5927ebb0c3d87803d2638dfc2ce64b1ebb1f1ed553c413e91fc699074f29863d [Pipeline] // withDockerContainer [Pipeline] sh 18:30:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:30:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:30:19 + ls -al . 18:30:19 total 272 18:30:19 drwxrwxr-x 11 jenkins jenkins 4096 May 24 18:29 . 18:30:19 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:28 .. 18:30:19 -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:28 .dockerignore 18:30:19 drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:28 .git 18:30:19 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:28 .github 18:30:19 -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:28 .gitignore 18:30:19 -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:28 .golangci.yml 18:30:19 drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:28 .semver 18:30:19 -rw-rw-r-- 1 jenkins jenkins 31677 May 24 18:28 CHANGELOG.md 18:30:19 -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:28 GOVERNANCE.md 18:30:19 -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:28 Jenkinsfile 18:30:19 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:28 LICENSE 18:30:19 -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:28 Makefile 18:30:19 -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:28 OWNERS.md 18:30:19 -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:28 README.md 18:30:19 -rw-rw-r-- 1 jenkins jenkins 12 May 24 18:28 VERSION 18:30:19 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:28 bin 18:30:19 -rw-r--r-- 1 jenkins jenkins 106152 May 24 18:29 coverage.out 18:30:19 drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:28 example 18:30:19 -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:28 go.mod 18:30:19 -rw-rw-r-- 1 jenkins jenkins 30699 May 24 18:28 go.sum 18:30:19 drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:28 internal 18:30:19 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:28 openapi 18:30:19 drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:28 pkg 18:30:19 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:28 snap 18:30:19 -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:20 + 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=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 --label arch=amd64 --label version=3.0.0-dev.95 . 18:30:20 Sending build context to Docker daemon 11.28MB 18:30:20 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:30:20 Step 2/23 : FROM ${BASE} AS builder 18:30:20 ---> 8737019b68d2 18:30:20 Step 3/23 : ARG MAKE=make build 18:30:20 ---> Running in bae7235331d7 18:30:20 Removing intermediate container bae7235331d7 18:30:20 ---> 2d3ab7f91a9b 18:30:20 Step 4/23 : WORKDIR /device-sdk-go 18:30:20 ---> Running in 93a05170e414 18:30:20 Removing intermediate container 93a05170e414 18:30:20 ---> 4dabc81c53f8 18:30:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:30:20 ---> Running in 861e3efbd708 18:30:20 Removing intermediate container 861e3efbd708 18:30:20 ---> c3e2a72cb1a0 18:30:20 Step 6/23 : RUN apk add --update --no-cache make git 18:30:20 ---> Running in fb74d139513f 18:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:30:21 OK: 265 MiB in 53 packages 18:30:21 Removing intermediate container fb74d139513f 18:30:21 ---> ffe042adedff 18:30:21 Step 7/23 : COPY go.mod vendor* ./ 18:30:21 ---> 2927971c3b58 18:30:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:21 ---> Running in 93954bef530f 18:30:22 Removing intermediate container 93954bef530f 18:30:22 ---> bfd02d9e11f6 18:30:22 Step 9/23 : COPY . . 18:30:23 ---> 6a821b934f99 18:30:23 Step 10/23 : RUN ${MAKE} 18:30:23 ---> Running in 1dec36fcd010 18:30:23 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.95" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:30:45 Removing intermediate container 1dec36fcd010 18:30:45 ---> a642cc4227f9 18:30:45 Step 11/23 : FROM alpine:3.17 18:30:45 3.17: Pulling from library/alpine 18:30:45 f56be85fc22e: Already exists 18:30:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:30:45 Status: Downloaded newer image for alpine:3.17 18:30:45 ---> 9ed4aefc74f6 18:30:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:30:45 ---> Running in a9134ac2784f 18:30:45 Removing intermediate container a9134ac2784f 18:30:45 ---> a62aef61603a 18:30:45 Step 13/23 : RUN apk add --update --no-cache 18:30:45 ---> Running in e9e7563fc2a9 18:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:30:45 OK: 7 MiB in 15 packages 18:30:45 Removing intermediate container e9e7563fc2a9 18:30:45 ---> 60d6d8925d99 18:30:45 Step 14/23 : WORKDIR / 18:30:45 ---> Running in 7a3bd173602d 18:30:45 Removing intermediate container 7a3bd173602d 18:30:45 ---> 39452d43d504 18:30:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:30:46 ---> 2f3f505f7754 18:30:46 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:30:46 ---> ecc63b8f1048 18:30:46 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:30:46 ---> 521d42476592 18:30:46 Step 18/23 : EXPOSE 59999 18:30:46 ---> Running in 7f5c4f07523d 18:30:46 Removing intermediate container 7f5c4f07523d 18:30:46 ---> b665f65ee5be 18:30:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:30:46 ---> Running in 79cc0ec13768 18:30:46 Removing intermediate container 79cc0ec13768 18:30:46 ---> f044450b08a7 18:30:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:30:46 ---> Running in d2ee607e5fa6 18:30:47 Removing intermediate container d2ee607e5fa6 18:30:47 ---> 1fcec90e7ead 18:30:47 Step 21/23 : LABEL arch=amd64 18:30:47 ---> Running in 667c86423fe5 18:30:47 Removing intermediate container 667c86423fe5 18:30:47 ---> 698e54a8c15d 18:30:47 Step 22/23 : LABEL git_sha=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 18:30:47 ---> Running in 3a314593fd2c 18:30:47 Removing intermediate container 3a314593fd2c 18:30:47 ---> 04fc23c74ef8 18:30:47 Step 23/23 : LABEL version=3.0.0-dev.95 18:30:47 ---> Running in d8a95e197ca2 18:30:47 Removing intermediate container d8a95e197ca2 18:30:47 ---> d83ca14520d0 18:30:47 [Warning] One or more build-args [ARCH] were not consumed 18:30:47 Successfully built d83ca14520d0 18:30:47 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 18:30:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:47 18:30:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:48 latest: Pulling from edgex-lftools-log-publisher 18:30:48 5eb5b503b376: Pulling fs layer 18:30:48 5c69ac0246d0: Pulling fs layer 18:30:48 ec43610c2a17: Pulling fs layer 18:30:48 3a2ae6a8a46f: Pulling fs layer 18:30:48 33b1e0a273af: Pulling fs layer 18:30:48 5d3b04190fa2: Pulling fs layer 18:30:48 2f39f015ded8: Pulling fs layer 18:30:48 33b1e0a273af: Waiting 18:30:48 5d3b04190fa2: Waiting 18:30:48 2f39f015ded8: Waiting 18:30:48 3a2ae6a8a46f: Waiting 18:30:48 5c69ac0246d0: Verifying Checksum 18:30:48 5c69ac0246d0: Download complete 18:30:48 3a2ae6a8a46f: Download complete 18:30:48 33b1e0a273af: Verifying Checksum 18:30:48 33b1e0a273af: Download complete 18:30:48 5d3b04190fa2: Verifying Checksum 18:30:48 5d3b04190fa2: Download complete 18:30:48 ec43610c2a17: Verifying Checksum 18:30:48 ec43610c2a17: Download complete 18:30:48 5eb5b503b376: Download complete 18:30:49 2f39f015ded8: Download complete 18:30:49 5eb5b503b376: Pull complete 18:30:49 5c69ac0246d0: Pull complete 18:30:50 ec43610c2a17: Pull complete 18:30:50 3a2ae6a8a46f: Pull complete 18:30:50 33b1e0a273af: Pull complete 18:30:50 5d3b04190fa2: Pull complete 18:30:54 2f39f015ded8: Pull complete 18:30:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:30:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:54 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:30:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 18:31:00 $ docker top 25be1b4266cf165ccd062866286404f5c4f8f128e139bd42f8c50d107f81d524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:00 ---> job-cost.sh 18:31:00 lf-activate-venv: SKIPPING 18:31:00 INFO: No Stack... 18:31:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:31:01 INFO: Archiving Costs [Pipeline] sh 18:31:01 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:31:01 + cut -d, -f6 [Pipeline] lock 18:31:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] 18:31:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] did not exist. Created. 18:31:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:02 + echo total: 0.2199999988079071 [Pipeline] stash 18:31:02 Stashed 1 file(s) [Pipeline] } 18:31:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:02 $ docker stop --time=1 25be1b4266cf165ccd062866286404f5c4f8f128e139bd42f8c50d107f81d524 18:31:03 $ docker rm -f --volumes 25be1b4266cf165ccd062866286404f5c4f8f128e139bd42f8c50d107f81d524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:32:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16760 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:32:09 Running in /w/workspace/device-sdk-go/226 [Pipeline] { [Pipeline] checkout 18:32:09 The recommended git tool is: git 18:32:21 using credential edgex-jenkins-ssh 18:32:21 Cloning the remote Git repository 18:32:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:32:21 > git init /w/workspace/device-sdk-go/226 # timeout=10 18:32:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:32:22 > git --version # timeout=10 18:32:22 > git --version # 'git version 2.25.1' 18:32:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:32:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:26 Avoid second fetch 18:32:26 Checking out Revision 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 (main) 18:32:26 > git config core.sparsecheckout # timeout=10 18:32:26 > git checkout -f 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 18:32:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1463)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:32:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:32:28 Dload Upload Total Spent Left Speed 18:32:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 144k 0 --:--:-- --:--:-- --:--:-- 144k [Pipeline] sh 18:32:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:32:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:32:30 + sudo tee /etc/docker/daemon.new 18:32:30 { 18:32:30 "registry-mirrors": [ 18:32:30 "https://nexus3.edgexfoundry.org:10001" 18:32:30 ], 18:32:30 "bip": "10.250.0.254/24", 18:32:30 "hosts": [ 18:32:30 "tcp://0.0.0.0:5555", 18:32:30 "unix:///var/run/docker.sock" 18:32:30 ], 18:32:30 "mtu": 1458, 18:32:30 "selinux-enabled": true, 18:32:30 "seccomp-profile": "/etc/docker/seccomp.json" 18:32:30 } [Pipeline] sh 18:32:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:32:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:49 provisioning config files... 18:32:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/226@tmp/config17546634475339498615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:50 ---> docker-login.sh 18:32:50 nexus3.edgexfoundry.org:10001 18:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:50 Configure a credential helper to remove this warning. See 18:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:50 18:32:50 Login Succeeded 18:32:50 nexus3.edgexfoundry.org:10002 18:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:51 Configure a credential helper to remove this warning. See 18:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:51 18:32:51 Login Succeeded 18:32:51 nexus3.edgexfoundry.org:10003 18:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:51 Configure a credential helper to remove this warning. See 18:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:51 18:32:51 Login Succeeded 18:32:51 nexus3.edgexfoundry.org:10004 18:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:52 Configure a credential helper to remove this warning. See 18:32:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:52 18:32:52 Login Succeeded 18:32:52 docker.io 18:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:52 Configure a credential helper to remove this warning. See 18:32:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:52 18:32:52 Login Succeeded 18:32:52 ---> docker-login.sh ends [Pipeline] } 18:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:32:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:53 ========================================================= 18:32:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:32:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:53 + 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 . 18:32:54 Sending build context to Docker daemon 6.01MB 18:32:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:32:54 Step 2/10 : FROM ${BASE} AS builder 18:32:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:32:54 c41833b44d91: Pulling fs layer 18:32:54 ed15518f5707: Pulling fs layer 18:32:54 feae8fd75edb: Pulling fs layer 18:32:54 242c74f7c9fa: Pulling fs layer 18:32:54 3cdef696dda3: Pulling fs layer 18:32:54 2ced38df9373: Pulling fs layer 18:32:54 58f1dce35555: Pulling fs layer 18:32:54 242c74f7c9fa: Waiting 18:32:54 3cdef696dda3: Waiting 18:32:54 58f1dce35555: Waiting 18:32:54 2ced38df9373: Waiting 18:32:54 ed15518f5707: Verifying Checksum 18:32:54 ed15518f5707: Download complete 18:32:54 242c74f7c9fa: Verifying Checksum 18:32:54 242c74f7c9fa: Download complete 18:32:54 3cdef696dda3: Download complete 18:32:54 c41833b44d91: Verifying Checksum 18:32:54 c41833b44d91: Download complete 18:32:56 c41833b44d91: Pull complete 18:32:56 58f1dce35555: Verifying Checksum 18:32:56 58f1dce35555: Download complete 18:32:56 ed15518f5707: Pull complete 18:32:57 feae8fd75edb: Verifying Checksum 18:32:57 feae8fd75edb: Download complete 18:32:57 2ced38df9373: Verifying Checksum 18:32:57 2ced38df9373: Download complete 18:33:07 feae8fd75edb: Pull complete 18:33:07 242c74f7c9fa: Pull complete 18:33:08 3cdef696dda3: Pull complete 18:33:14 2ced38df9373: Pull complete 18:33:17 58f1dce35555: Pull complete 18:33:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:33:17 ---> fadd8f120f05 18:33:17 Step 3/10 : ARG MAKE=make build 18:33:19 ---> Running in 30171c9811b3 18:33:19 Removing intermediate container 30171c9811b3 18:33:19 ---> e369b38815cc 18:33:19 Step 4/10 : WORKDIR /device-sdk-go 18:33:19 ---> Running in adcceb7914ae 18:33:20 Removing intermediate container adcceb7914ae 18:33:20 ---> 3648937e8cb2 18:33:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:33:20 ---> Running in 2039bb7b623f 18:33:20 Removing intermediate container 2039bb7b623f 18:33:20 ---> 3f1891e56ca9 18:33:20 Step 6/10 : RUN apk add --update --no-cache make git 18:33:20 ---> Running in 9e59a7aea62c 18:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:33:23 OK: 263 MiB in 53 packages 18:33:24 Removing intermediate container 9e59a7aea62c 18:33:24 ---> 647be2f3a3bb 18:33:24 Step 7/10 : COPY go.mod vendor* ./ 18:33:25 ---> ec37977bbe8c 18:33:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:25 ---> Running in 511b3179dcde 18:34:33 Removing intermediate container 511b3179dcde 18:34:33 ---> 65254047b0c1 18:34:33 Step 9/10 : COPY . . 18:34:33 ---> 6ecac37e990f 18:34:33 Step 10/10 : RUN ${MAKE} 18:34:33 ---> Running in ab59120f6a6a 18:34:33 noop 18:34:33 Removing intermediate container ab59120f6a6a 18:34:33 ---> c1153db1f6ef 18:34:33 Successfully built c1153db1f6ef 18:34:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:33 + docker inspect -f . ci-base-image-arm64 18:34:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:34 prd-ubuntu20.04-docker-arm64-4c-16g-16760 does not seem to be running inside a container 18:34:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/226 -v /w/workspace/device-sdk-go/226:/w/workspace/device-sdk-go/226:rw,z -v /w/workspace/device-sdk-go/226@tmp:/w/workspace/device-sdk-go/226@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 18:34:35 $ docker top 6944325f7e9124f88461cebdc14bcf0edea64b0ed9200a08867f00cbc91c30cf -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:36 + go version 18:34:36 go version go1.20.2 linux/arm64 [Pipeline] } 18:34:36 $ docker stop --time=1 6944325f7e9124f88461cebdc14bcf0edea64b0ed9200a08867f00cbc91c30cf 18:34:38 $ docker rm -f --volumes 6944325f7e9124f88461cebdc14bcf0edea64b0ed9200a08867f00cbc91c30cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:38 + docker inspect -f . ci-base-image-arm64 18:34:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:38 prd-ubuntu20.04-docker-arm64-4c-16g-16760 does not seem to be running inside a container 18:34:38 $ 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/226 -v /w/workspace/device-sdk-go/226:/w/workspace/device-sdk-go/226:rw,z -v /w/workspace/device-sdk-go/226@tmp:/w/workspace/device-sdk-go/226@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 18:34:40 $ docker top 20a39c92438095da03265d33b84e8f96c55155661c7db5e573be38f967b8071b -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:41 + git config --global --add safe.directory /w/workspace/device-sdk-go/226 [Pipeline] fileExists [Pipeline] sh 18:34:41 + make test 18:34:41 go test -race -coverprofile=coverage.out ./... 18:35:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:37:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements 18:37:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.292s coverage: 80.2% of statements 18:37:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:37:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:37:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.432s coverage: 86.0% of statements 18:38:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:38:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:38:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.477s coverage: 77.5% of statements 18:38:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.275s coverage: 14.3% of statements 18:38:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:38:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:38:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.454s coverage: 68.5% of statements 18:38:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.507s coverage: 89.2% of statements 18:38:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:38:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.7% of statements 18:38:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:38:13 GO111MODULE=on go vet ./... 18:40:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:40:50 $ docker stop --time=1 20a39c92438095da03265d33b84e8f96c55155661c7db5e573be38f967b8071b 18:40:52 $ docker rm -f --volumes 20a39c92438095da03265d33b84e8f96c55155661c7db5e573be38f967b8071b [Pipeline] // withDockerContainer [Pipeline] sh 18:40:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:54 Warning: overwriting stash ‘coverage-report’ 18:40:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:55 + ls -al . 18:40:55 total 268 18:40:55 drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:34 . 18:40:55 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:32 .. 18:40:55 -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:32 .dockerignore 18:40:55 drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:32 .git 18:40:55 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:32 .github 18:40:55 -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:32 .gitignore 18:40:55 -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:32 .golangci.yml 18:40:55 -rw-rw-r-- 1 jenkins jenkins 31677 May 24 18:32 CHANGELOG.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:32 GOVERNANCE.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:32 Jenkinsfile 18:40:55 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:32 LICENSE 18:40:55 -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:32 Makefile 18:40:55 -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:32 OWNERS.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:32 README.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 12 May 24 18:28 VERSION 18:40:55 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:32 bin 18:40:55 -rw-r--r-- 1 jenkins jenkins 106150 May 24 18:38 coverage.out 18:40:55 drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:32 example 18:40:55 -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:32 go.mod 18:40:55 -rw-rw-r-- 1 jenkins jenkins 30699 May 24 18:32 go.sum 18:40:55 drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:32 internal 18:40:55 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:32 openapi 18:40:55 drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:32 pkg 18:40:55 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:32 snap 18:40:55 -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:56 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 --label arch=arm64 --label version=3.0.0-dev.95 . 18:40:56 Sending build context to Docker daemon 6.117MB 18:40:56 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:40:56 Step 2/23 : FROM ${BASE} AS builder 18:40:56 ---> c1153db1f6ef 18:40:56 Step 3/23 : ARG MAKE=make build 18:40:56 ---> Running in d87350739cf1 18:40:57 Removing intermediate container d87350739cf1 18:40:57 ---> 4441e6aa8f09 18:40:57 Step 4/23 : WORKDIR /device-sdk-go 18:40:57 ---> Running in e0573c5490b0 18:40:57 Removing intermediate container e0573c5490b0 18:40:57 ---> 2a2eae612738 18:40:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:40:57 ---> Running in 622b85ca83f3 18:40:57 Removing intermediate container 622b85ca83f3 18:40:57 ---> 676382e42e55 18:40:57 Step 6/23 : RUN apk add --update --no-cache make git 18:40:58 ---> Running in 664bdc092307 18:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:41:01 OK: 263 MiB in 53 packages 18:41:02 Removing intermediate container 664bdc092307 18:41:02 ---> 58dca454bcd4 18:41:02 Step 7/23 : COPY go.mod vendor* ./ 18:41:02 ---> 255ea8aa5f83 18:41:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:02 ---> Running in 8a89d44e565b 18:41:05 Removing intermediate container 8a89d44e565b 18:41:05 ---> 6cf4b79ca897 18:41:05 Step 9/23 : COPY . . 18:41:06 ---> c2e49eebb17a 18:41:06 Step 10/23 : RUN ${MAKE} 18:41:06 ---> Running in cb6b92ccf3d8 18:41:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.95" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:43:45 Removing intermediate container cb6b92ccf3d8 18:43:45 ---> e68213004f3b 18:43:45 Step 11/23 : FROM alpine:3.17 18:43:45 3.17: Pulling from library/alpine 18:43:45 c41833b44d91: Already exists 18:43:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:43:45 Status: Downloaded newer image for alpine:3.17 18:43:45 ---> 51e60588ff2c 18:43:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:45 ---> Running in e25e9b4fed4a 18:43:45 Removing intermediate container e25e9b4fed4a 18:43:45 ---> cea340bf38f6 18:43:45 Step 13/23 : RUN apk add --update --no-cache 18:43:45 ---> Running in 026a591872ab 18:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:43:45 OK: 7 MiB in 15 packages 18:43:45 Removing intermediate container 026a591872ab 18:43:45 ---> 399de9485925 18:43:45 Step 14/23 : WORKDIR / 18:43:45 ---> Running in 65a7109344f7 18:43:45 Removing intermediate container 65a7109344f7 18:43:45 ---> 062f5a7ad0e0 18:43:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:43:45 ---> 7fb5648c020f 18:43:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:43:45 ---> 82bfce4b6aa0 18:43:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:43:45 ---> b3853fdf7929 18:43:45 Step 18/23 : EXPOSE 59999 18:43:45 ---> Running in 2cca5e6cf717 18:43:45 Removing intermediate container 2cca5e6cf717 18:43:45 ---> 94f968b9fa05 18:43:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:43:45 ---> Running in ec700c61f65e 18:43:45 Removing intermediate container ec700c61f65e 18:43:45 ---> f766feef09b6 18:43:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:43:45 ---> Running in dbbd6c860c5b 18:43:45 Removing intermediate container dbbd6c860c5b 18:43:45 ---> 9f23ffaf9c86 18:43:45 Step 21/23 : LABEL arch=arm64 18:43:45 ---> Running in 714d044b6154 18:43:45 Removing intermediate container 714d044b6154 18:43:45 ---> 6b6f6113ee7d 18:43:45 Step 22/23 : LABEL git_sha=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 18:43:45 ---> Running in 014f66f02335 18:43:45 Removing intermediate container 014f66f02335 18:43:45 ---> 21e0b27667f0 18:43:45 Step 23/23 : LABEL version=3.0.0-dev.95 18:43:45 ---> Running in 578bc2eb66d9 18:43:45 Removing intermediate container 578bc2eb66d9 18:43:45 ---> 4ceb075b56de 18:43:45 [Warning] One or more build-args [ARCH] were not consumed 18:43:45 Successfully built 4ceb075b56de 18:43:45 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 18:43:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:43:45 18:43:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:43:45 arm64: Pulling from edgex-lftools-log-publisher 18:43:45 8998bd30e6a1: Pulling fs layer 18:43:45 04944245beec: Pulling fs layer 18:43:45 699f458cf7ca: Pulling fs layer 18:43:45 765212b225bb: Pulling fs layer 18:43:45 f23df028b6ca: Pulling fs layer 18:43:45 d65c8cfc05b1: Pulling fs layer 18:43:45 2437ff75d9bd: Pulling fs layer 18:43:45 f23df028b6ca: Waiting 18:43:45 d65c8cfc05b1: Waiting 18:43:45 2437ff75d9bd: Waiting 18:43:45 765212b225bb: Waiting 18:43:46 04944245beec: Verifying Checksum 18:43:46 04944245beec: Download complete 18:43:46 765212b225bb: Verifying Checksum 18:43:46 765212b225bb: Download complete 18:43:46 f23df028b6ca: Verifying Checksum 18:43:46 f23df028b6ca: Download complete 18:43:46 d65c8cfc05b1: Verifying Checksum 18:43:46 d65c8cfc05b1: Download complete 18:43:46 699f458cf7ca: Verifying Checksum 18:43:46 699f458cf7ca: Download complete 18:43:46 8998bd30e6a1: Verifying Checksum 18:43:46 8998bd30e6a1: Download complete 18:43:49 2437ff75d9bd: Verifying Checksum 18:43:49 2437ff75d9bd: Download complete 18:43:52 8998bd30e6a1: Pull complete 18:43:53 04944245beec: Pull complete 18:43:54 699f458cf7ca: Pull complete 18:43:54 765212b225bb: Pull complete 18:43:55 f23df028b6ca: Pull complete 18:43:55 d65c8cfc05b1: Pull complete 18:44:10 2437ff75d9bd: Pull complete 18:44:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:11 prd-ubuntu20.04-docker-arm64-4c-16g-16760 does not seem to be running inside a container 18:44:11 $ 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/226 -v /w/workspace/device-sdk-go/226:/w/workspace/device-sdk-go/226:rw,z -v /w/workspace/device-sdk-go/226@tmp:/w/workspace/device-sdk-go/226@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 18:44:13 $ docker top 60a541ef319648165ed23e516f908336634b751facdfeff6390a7f62190fd44d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:14 ---> job-cost.sh 18:44:14 lf-activate-venv: SKIPPING 18:44:14 INFO: No Stack... 18:44:14 INFO: Retrieving Pricing Info for: v3-standard-4 18:44:15 INFO: Archiving Costs [Pipeline] sh 18:44:16 + cat /w/workspace/device-sdk-go/226/archives/cost.csv 18:44:16 + cut -d, -f6 [Pipeline] lock 18:44:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] 18:44:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] did not exist. Created. 18:44:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:17 /w/workspace/device-sdk-go/226@tmp/durable-0abbab75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:44:18 + echo total: 0.10999999940395355 [Pipeline] stash 18:44:18 Warning: overwriting stash ‘stack-cost’ 18:44:18 Stashed 1 file(s) [Pipeline] } 18:44:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:18 $ docker stop --time=1 60a541ef319648165ed23e516f908336634b751facdfeff6390a7f62190fd44d 18:44:19 $ docker rm -f --volumes 60a541ef319648165ed23e516f908336634b751facdfeff6390a7f62190fd44d [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 18:44:20 provisioning config files... 18:44:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config732992286009899754tmp [Pipeline] { [Pipeline] sh 18:44:20 + set +x 18:44:20 + curl -s https://codecov.io/bash 18:44:20 + bash -s -- 18:44:20 18:44:20 _____ _ 18:44:20 / ____| | | 18:44:20 | | ___ __| | ___ ___ _____ __ 18:44:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:44:20 | |___| (_) | (_| | __/ (_| (_) \ V / 18:44:20 \_____\___/ \__,_|\___|\___\___/ \_/ 18:44:20 Bash-1.0.6 18:44:20 18:44:20 18:44:20 ==> git version 2.25.1 found 18:44:20 ==> 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 18:44:20 Release-Date: 2020-01-08 18:44:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:44:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:44:20 ==> Jenkins CI detected. 18:44:20 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:44:20 project root: . 18:44:20 --> token set from env 18:44:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:44:20 ==> Running gcov in . (disable via -X gcov) 18:44:20 ==> Python coveragepy not found 18:44:20 ==> Searching for coverage reports in: 18:44:20 + . 18:44:20 -> Found 1 reports 18:44:20 ==> Detecting git/mercurial file structure 18:44:20 ==> Reading reports 18:44:20 + ./coverage.out bytes=106150 18:44:20 ==> Appending adjustments 18:44:20 https://docs.codecov.io/docs/fixing-reports 18:44:20 + Found adjustments 18:44:20 ==> Gzipping contents 18:44:20 16K /tmp/codecov.JOhs6n.gz 18:44:20 ==> Uploading reports 18:44:20 url: https://codecov.io 18:44:20 query: branch=main&commit=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:44:20 -> Pinging Codecov 18:44:20 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=5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:44:20 -> Uploading to 18:44:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1/e7e4c800-a62a-43f0-9afc-c29f5dc30ef8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T184420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3bcd2975df39d74585d7dda25a9df8cc5db433396c764b7b0fa09a8e85d481a 18:44:20 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:20 Dload Upload Total Spent Left Speed 18:44:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15125 0 0 100 15125 0 77963 --:--:-- --:--:-- --:--:-- 77963 18:44:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] } 18:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:44:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:44:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:44:21 18:44:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:44:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:44:21 df9b9388f04a: Pulling fs layer 18:44:21 52dc419b0ee2: Pulling fs layer 18:44:21 25bc292e5bac: Pulling fs layer 18:44:21 114826534d7a: Pulling fs layer 18:44:21 4657fd5d0bcf: Pulling fs layer 18:44:21 6ad1cebc031e: Pulling fs layer 18:44:21 8a3aa393b2d8: Pulling fs layer 18:44:21 4657fd5d0bcf: Waiting 18:44:21 6ad1cebc031e: Waiting 18:44:21 8a3aa393b2d8: Waiting 18:44:21 114826534d7a: Waiting 18:44:21 25bc292e5bac: Verifying Checksum 18:44:21 25bc292e5bac: Download complete 18:44:21 52dc419b0ee2: Verifying Checksum 18:44:21 52dc419b0ee2: Download complete 18:44:21 4657fd5d0bcf: Verifying Checksum 18:44:21 df9b9388f04a: Download complete 18:44:22 df9b9388f04a: Pull complete 18:44:22 6ad1cebc031e: Verifying Checksum 18:44:22 6ad1cebc031e: Download complete 18:44:22 52dc419b0ee2: Pull complete 18:44:22 25bc292e5bac: Pull complete 18:44:22 114826534d7a: Verifying Checksum 18:44:22 114826534d7a: Download complete 18:44:22 8a3aa393b2d8: Verifying Checksum 18:44:22 8a3aa393b2d8: Download complete 18:44:25 114826534d7a: Pull complete 18:44:25 4657fd5d0bcf: Pull complete 18:44:26 6ad1cebc031e: Pull complete 18:44:28 8a3aa393b2d8: Pull complete 18:44:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:44:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:28 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:44:30 $ docker top a731af29ebb8990561c2eb6cd14a87f1fd2c398c99c95db8c0759caff330017f -eo pid,comm [Pipeline] { [Pipeline] echo 18:44:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:44:31 + set -o pipefail 18:44:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:44:35 18:44:35 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:44:35 18:44:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/6955bc14-87d9-4262-b246-76b9c0f32a3f 18:44:35 18:44:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:44:35 18:44:35 18:44:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:44:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:44:35 More details here: https://snyk.co/ue1NS [Pipeline] } 18:44:35 $ docker stop --time=1 a731af29ebb8990561c2eb6cd14a87f1fd2c398c99c95db8c0759caff330017f 18:44:37 $ docker rm -f --volumes a731af29ebb8990561c2eb6cd14a87f1fd2c398c99c95db8c0759caff330017f [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 18:44:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:38 provisioning config files... 18:44:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10243031429698203148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:38 --> edgex-publish-swagger.sh 18:44:38 === Publish openapi/v3 API === 18:44:38 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:44:38 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:44:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:38 Dload Upload Total Spent Left Speed 18:44:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 43043 --:--:-- --:--:-- --:--:-- 43043 100 23674 0 0 100 23674 0 43043 --:--:-- --:--:-- --:--:-- 42965 18:44:38 18:44:38 [Pipeline] } 18:44:38 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 18:44:39 + git log --format=format:%s -1 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 [Pipeline] sh 18:44:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:44:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:40 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:44:40 $ docker top 31478e35bbd2994a2aecd7dd361449fd93e0a2494bb0c2ef19b5ae21630d0ed0 -eo pid,comm 18:44:40 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). 18:44:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:44:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:40 [ssh-agent] Looking for ssh-agent implementation... 18:44:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:40 $ docker exec 31478e35bbd2994a2aecd7dd361449fd93e0a2494bb0c2ef19b5ae21630d0ed0 ssh-agent 18:44:40 SSH_AUTH_SOCK=/tmp/ssh-jPjKIN51ZK3S/agent.32 18:44:40 SSH_AGENT_PID=38 18:44:40 Running ssh-add (command line suppressed) 18:44:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12451251372488714596.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12451251372488714596.key) 18:44:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:41 + git semver tag 18:44:41 2023-05-24 18:44:41,335 [run_tag] DEBUG tag force:False 18:44:41 2023-05-24 18:44:41,336 [check_head_tag] DEBUG check head tag 18:44:41 2023-05-24 18:44:41,338 [execute] INFO git cat-file --batch-check 18:44:41 2023-05-24 18:44:41,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:44:41 2023-05-24 18:44:41,341 [execute] INFO git cat-file --batch 18:44:41 2023-05-24 18:44:41,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:44:41 2023-05-24 18:44:41,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:44:41 2023-05-24 18:44:41,379 [execute] INFO git tag -a v3.0.0-dev.95 -m v3.0.0-dev.95 18:44:41 2023-05-24 18:44:41,379 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.95', '-m', 'v3.0.0-dev.95'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:44:41 2023-05-24 18:44:41,385 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:44:41 3.0.0-dev.95 [Pipeline] } 18:44:41 $ docker exec --env ******** --env ******** 31478e35bbd2994a2aecd7dd361449fd93e0a2494bb0c2ef19b5ae21630d0ed0 ssh-agent -k 18:44:41 unset SSH_AUTH_SOCK; 18:44:41 unset SSH_AGENT_PID; 18:44:41 echo Agent pid 38 killed; 18:44:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:41 + git semver [Pipeline] } 18:44:42 $ docker stop --time=1 31478e35bbd2994a2aecd7dd361449fd93e0a2494bb0c2ef19b5ae21630d0ed0 18:44:43 $ docker rm -f --volumes 31478e35bbd2994a2aecd7dd361449fd93e0a2494bb0c2ef19b5ae21630d0ed0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:44:43 18:44:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:44:44 0.23.1-centos7: Pulling from edgex-lftools 18:44:44 ab5ef0e58194: Pulling fs layer 18:44:44 9712f1f96733: Pulling fs layer 18:44:44 63f879dbbcfc: Pulling fs layer 18:44:44 0d9ebad4ef96: Pulling fs layer 18:44:44 e9a5061849ea: Pulling fs layer 18:44:44 d747dcd14b5f: Pulling fs layer 18:44:44 0d9ebad4ef96: Waiting 18:44:44 e9a5061849ea: Waiting 18:44:44 2de7ff778b66: Pulling fs layer 18:44:44 d747dcd14b5f: Waiting 18:44:44 2de7ff778b66: Waiting 18:44:44 9712f1f96733: Verifying Checksum 18:44:44 9712f1f96733: Download complete 18:44:44 63f879dbbcfc: Verifying Checksum 18:44:44 63f879dbbcfc: Download complete 18:44:44 e9a5061849ea: Verifying Checksum 18:44:44 e9a5061849ea: Download complete 18:44:44 d747dcd14b5f: Download complete 18:44:44 0d9ebad4ef96: Verifying Checksum 18:44:44 0d9ebad4ef96: Download complete 18:44:44 ab5ef0e58194: Download complete 18:44:44 2de7ff778b66: Verifying Checksum 18:44:44 2de7ff778b66: Download complete 18:44:47 ab5ef0e58194: Pull complete 18:44:47 9712f1f96733: Pull complete 18:44:48 63f879dbbcfc: Pull complete 18:44:51 0d9ebad4ef96: Pull complete 18:44:51 e9a5061849ea: Pull complete 18:44:51 d747dcd14b5f: Pull complete 18:44:52 2de7ff778b66: Pull complete 18:44:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:44:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:52 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:44:55 $ docker top 8b407e30b2d075c02ff02114c0f894d8d88d141486d0a176879aedc0148762fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:44:55 provisioning config files... 18:44:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14619829537044588503tmp 18:44:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1512136596238918358tmp 18:44:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14322207866419105088tmp [Pipeline] { [Pipeline] echo 18:44:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:44:55 ---> sigul-configuration.sh 18:44:55 gpg: directory `/root/.gnupg' created 18:44:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:44:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:44:55 gpg: keyring `/root/.gnupg/secring.gpg' created 18:44:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:44:55 gpg: CAST5 encrypted data 18:44:55 gpg: encrypted with 1 passphrase 18:44:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:44:55 + mkdir /home/jenkins 18:44:55 + mkdir /home/jenkins/sigul [Pipeline] sh 18:44:55 + 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 18:44:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:44:56 ---> sigul-install.sh 18:44:56 Sigul already installed; skipping installation. [Pipeline] sh 18:44:56 + git tag --list 18:44:56 0.7.1 18:44:56 delhi-tag 18:44:56 v1.0.0 18:44:56 v1.1.0 18:44:56 v1.1.1 18:44:56 v1.1.2 18:44:56 v1.2.0 18:44:56 v1.2.1 18:44:56 v1.2.2 18:44:56 v1.2.3 18:44:56 v1.3.0 18:44:56 v1.4.0 18:44:56 v2.0.0 18:44:56 v2.1.0 18:44:56 v2.1.1 18:44:56 v2.1.1-dev.2 18:44:56 v2.1.1-dev.3 18:44:56 v2.2.0 18:44:56 v2.2.1-dev.1 18:44:56 v2.2.1-dev.10 18:44:56 v2.2.1-dev.11 18:44:56 v2.2.1-dev.12 18:44:56 v2.2.1-dev.13 18:44:56 v2.2.1-dev.14 18:44:56 v2.2.1-dev.2 18:44:56 v2.2.1-dev.3 18:44:56 v2.2.1-dev.4 18:44:56 v2.2.1-dev.5 18:44:56 v2.2.1-dev.6 18:44:56 v2.2.1-dev.7 18:44:56 v2.2.1-dev.8 18:44:56 v2.2.1-dev.9 18:44:56 v2.3.0 18:44:56 v2.3.0-dev.14 18:44:56 v2.3.0-dev.15 18:44:56 v2.3.0-dev.16 18:44:56 v2.3.0-dev.17 18:44:56 v2.3.0-dev.18 18:44:56 v2.3.0-dev.19 18:44:56 v2.3.0-dev.20 18:44:56 v2.3.0-dev.21 18:44:56 v2.3.0-dev.22 18:44:56 v2.3.0-dev.23 18:44:56 v2.3.0-dev.24 18:44:56 v2.3.0-dev.25 18:44:56 v2.3.0-dev.26 18:44:56 v2.3.0-dev.27 18:44:56 v2.3.0-dev.28 18:44:56 v2.3.0-dev.29 18:44:56 v2.3.0-dev.30 18:44:56 v2.3.0-dev.31 18:44:56 v2.3.0-dev.32 18:44:56 v2.3.0-dev.33 18:44:56 v2.3.0-dev.34 18:44:56 v2.3.0-dev.35 18:44:56 v2.3.0-dev.36 18:44:56 v2.3.0-dev.37 18:44:56 v2.3.0-dev.38 18:44:56 v2.3.0-dev.39 18:44:56 v2.3.0-dev.40 18:44:56 v2.3.0-dev.41 18:44:56 v2.3.0-dev.42 18:44:56 v2.3.0-dev.43 18:44:56 v2.3.0-dev.44 18:44:56 v2.3.0-dev.45 18:44:56 v2.3.0-dev.46 18:44:56 v2.3.0-dev.47 18:44:56 v2.3.0-dev.48 18:44:56 v2.3.0-dev.49 18:44:56 v2.3.0-dev.50 18:44:56 v2.3.0-dev.51 18:44:56 v2.3.1 18:44:56 v2.3.1-dev.1 18:44:56 v2.3.1-dev.2 18:44:56 v2.3.1-dev.3 18:44:56 v2.3.1-dev.4 18:44:56 v3.0.0-dev.1 18:44:56 v3.0.0-dev.10 18:44:56 v3.0.0-dev.11 18:44:56 v3.0.0-dev.12 18:44:56 v3.0.0-dev.13 18:44:56 v3.0.0-dev.14 18:44:56 v3.0.0-dev.15 18:44:56 v3.0.0-dev.16 18:44:56 v3.0.0-dev.17 18:44:56 v3.0.0-dev.18 18:44:56 v3.0.0-dev.19 18:44:56 v3.0.0-dev.2 18:44:56 v3.0.0-dev.20 18:44:56 v3.0.0-dev.21 18:44:56 v3.0.0-dev.22 18:44:56 v3.0.0-dev.23 18:44:56 v3.0.0-dev.24 18:44:56 v3.0.0-dev.25 18:44:56 v3.0.0-dev.26 18:44:56 v3.0.0-dev.27 18:44:56 v3.0.0-dev.28 18:44:56 v3.0.0-dev.29 18:44:56 v3.0.0-dev.3 18:44:56 v3.0.0-dev.30 18:44:56 v3.0.0-dev.31 18:44:56 v3.0.0-dev.32 18:44:56 v3.0.0-dev.33 18:44:56 v3.0.0-dev.34 18:44:56 v3.0.0-dev.35 18:44:56 v3.0.0-dev.36 18:44:56 v3.0.0-dev.37 18:44:56 v3.0.0-dev.38 18:44:56 v3.0.0-dev.39 18:44:56 v3.0.0-dev.4 18:44:56 v3.0.0-dev.40 18:44:56 v3.0.0-dev.41 18:44:56 v3.0.0-dev.42 18:44:56 v3.0.0-dev.43 18:44:56 v3.0.0-dev.44 18:44:56 v3.0.0-dev.45 18:44:56 v3.0.0-dev.46 18:44:56 v3.0.0-dev.47 18:44:56 v3.0.0-dev.48 18:44:56 v3.0.0-dev.49 18:44:56 v3.0.0-dev.5 18:44:56 v3.0.0-dev.50 18:44:56 v3.0.0-dev.51 18:44:56 v3.0.0-dev.52 18:44:56 v3.0.0-dev.53 18:44:56 v3.0.0-dev.54 18:44:56 v3.0.0-dev.55 18:44:56 v3.0.0-dev.56 18:44:56 v3.0.0-dev.57 18:44:56 v3.0.0-dev.58 18:44:56 v3.0.0-dev.59 18:44:56 v3.0.0-dev.6 18:44:56 v3.0.0-dev.60 18:44:56 v3.0.0-dev.61 18:44:56 v3.0.0-dev.62 18:44:56 v3.0.0-dev.63 18:44:56 v3.0.0-dev.64 18:44:56 v3.0.0-dev.65 18:44:56 v3.0.0-dev.66 18:44:56 v3.0.0-dev.67 18:44:56 v3.0.0-dev.68 18:44:56 v3.0.0-dev.69 18:44:56 v3.0.0-dev.7 18:44:56 v3.0.0-dev.70 18:44:56 v3.0.0-dev.71 18:44:56 v3.0.0-dev.72 18:44:56 v3.0.0-dev.73 18:44:56 v3.0.0-dev.74 18:44:56 v3.0.0-dev.75 18:44:56 v3.0.0-dev.76 18:44:56 v3.0.0-dev.77 18:44:56 v3.0.0-dev.78 18:44:56 v3.0.0-dev.79 18:44:56 v3.0.0-dev.8 18:44:56 v3.0.0-dev.80 18:44:56 v3.0.0-dev.81 18:44:56 v3.0.0-dev.82 18:44:56 v3.0.0-dev.83 18:44:56 v3.0.0-dev.84 18:44:56 v3.0.0-dev.85 18:44:56 v3.0.0-dev.86 18:44:56 v3.0.0-dev.87 18:44:56 v3.0.0-dev.88 18:44:56 v3.0.0-dev.89 18:44:56 v3.0.0-dev.9 18:44:56 v3.0.0-dev.90 18:44:56 v3.0.0-dev.91 18:44:56 v3.0.0-dev.92 18:44:56 v3.0.0-dev.93 18:44:56 v3.0.0-dev.94 18:44:56 v3.0.0-dev.95 [Pipeline] sh 18:44:56 + lftools sign git-tag v3.0.0-dev.95 18:44:57 Signing Git tag with Sigul... 18:44:57 Signing v3.0.0-dev.95 [Pipeline] echo 18:44:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:44:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:44:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:44:58 $ docker stop --time=1 8b407e30b2d075c02ff02114c0f894d8d88d141486d0a176879aedc0148762fc 18:44:59 $ docker rm -f --volumes 8b407e30b2d075c02ff02114c0f894d8d88d141486d0a176879aedc0148762fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:45:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:45:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:00 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:45:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:45:01 $ docker top 92c278a0b67a3fcd57bbf04c03ba07aef1630193378da7cd296ac1781d72bdb7 -eo pid,comm 18:45:01 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). 18:45:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:01 [ssh-agent] Looking for ssh-agent implementation... 18:45:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:01 $ docker exec 92c278a0b67a3fcd57bbf04c03ba07aef1630193378da7cd296ac1781d72bdb7 ssh-agent 18:45:01 SSH_AUTH_SOCK=/tmp/ssh-kgOKVUaLCZWG/agent.32 18:45:01 SSH_AGENT_PID=38 18:45:01 Running ssh-add (command line suppressed) 18:45:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3230416490057254614.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3230416490057254614.key) 18:45:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:01 + git semver bump pre 18:45:01 2023-05-24 18:45:01,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:45:01 2023-05-24 18:45:01,888 [bump_version] DEBUG bumping version:3.0.0-dev.95 on axis:pre with prefix:dev 18:45:01 2023-05-24 18:45:01,888 [bump_version] DEBUG bumped version:3.0.0-dev.96 18:45:01 2023-05-24 18:45:01,888 [write_version] DEBUG write version:3.0.0-dev.96 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:45:01 2023-05-24 18:45:01,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:45:01 2023-05-24 18:45:01,888 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:45:01 2023-05-24 18:45:01,891 [execute] INFO git cat-file --batch-check 18:45:01 2023-05-24 18:45:01,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:45:01 2023-05-24 18:45:01,895 [execute] INFO git cat-file --batch 18:45:01 2023-05-24 18:45:01,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:45:01 2023-05-24 18:45:01,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:45:01 3.0.0-dev.96 [Pipeline] } 18:45:02 $ docker exec --env ******** --env ******** 92c278a0b67a3fcd57bbf04c03ba07aef1630193378da7cd296ac1781d72bdb7 ssh-agent -k 18:45:02 unset SSH_AUTH_SOCK; 18:45:02 unset SSH_AGENT_PID; 18:45:02 echo Agent pid 38 killed; 18:45:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:02 + git semver [Pipeline] } 18:45:02 $ docker stop --time=1 92c278a0b67a3fcd57bbf04c03ba07aef1630193378da7cd296ac1781d72bdb7 18:45:03 $ docker rm -f --volumes 92c278a0b67a3fcd57bbf04c03ba07aef1630193378da7cd296ac1781d72bdb7 [Pipeline] // withDockerContainer [Pipeline] sh 18:45:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:45:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:04 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:45:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:45:05 $ docker top 9d4a6b659640835eb7ae67c3f29ecf8f004b6fc7160dbea9e32303a74e8b3dec -eo pid,comm 18:45:05 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). 18:45:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:05 [ssh-agent] Looking for ssh-agent implementation... 18:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:05 $ docker exec 9d4a6b659640835eb7ae67c3f29ecf8f004b6fc7160dbea9e32303a74e8b3dec ssh-agent 18:45:05 SSH_AUTH_SOCK=/tmp/ssh-t4UG5d9sEaGB/agent.32 18:45:05 SSH_AGENT_PID=38 18:45:05 Running ssh-add (command line suppressed) 18:45:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1228627071518737860.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1228627071518737860.key) 18:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:05 + git semver push 18:45:06 2023-05-24 18:45:05,907 [run_push] DEBUG push 18:45:06 2023-05-24 18:45:05,908 [execute] INFO git cat-file --batch-check 18:45:06 2023-05-24 18:45:05,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:45:06 2023-05-24 18:45:05,911 [execute] INFO git rev-list b6b9802d636c4fe48240d52bcbd3515fe0405d7a -- 18:45:06 2023-05-24 18:45:05,912 [execute] DEBUG Popen(['git', 'rev-list', 'b6b9802d636c4fe48240d52bcbd3515fe0405d7a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:45:06 2023-05-24 18:45:05,925 [execute] INFO git fetch -v origin 18:45:06 2023-05-24 18:45:05,925 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:45:06 2023-05-24 18:45:06,382 [run_push] DEBUG no remote changes detected 18:45:06 2023-05-24 18:45:06,382 [execute] INFO git push origin semver 18:45:06 2023-05-24 18:45:06,382 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:45:07 2023-05-24 18:45:07,248 [run_push] DEBUG push all version tags 18:45:07 2023-05-24 18:45:07,248 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:45:07 2023-05-24 18:45:07,249 [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) 18:45:08 2023-05-24 18:45:08,037 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:45:08 3.0.0-dev.96 [Pipeline] } 18:45:08 $ docker exec --env ******** --env ******** 9d4a6b659640835eb7ae67c3f29ecf8f004b6fc7160dbea9e32303a74e8b3dec ssh-agent -k 18:45:08 unset SSH_AUTH_SOCK; 18:45:08 unset SSH_AGENT_PID; 18:45:08 echo Agent pid 38 killed; 18:45:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:08 + git semver [Pipeline] } 18:45:08 $ docker stop --time=1 9d4a6b659640835eb7ae67c3f29ecf8f004b6fc7160dbea9e32303a74e8b3dec 18:45:10 $ docker rm -f --volumes 9d4a6b659640835eb7ae67c3f29ecf8f004b6fc7160dbea9e32303a74e8b3dec [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 18:45:10 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:45:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:45:10 total 16 18:45:10 drwxr-xr-x 3 root root 4096 May 24 18:31 . 18:45:10 drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:44 .. 18:45:10 drwxr-xr-x 2 root root 4096 May 24 18:31 cost 18:45:10 -rw-r--r-- 1 root root 85 May 24 18:31 cost.csv 18:45:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:45:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:45:10 total 16 18:45:10 drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:31 . 18:45:10 drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:44 .. 18:45:10 drwxr-xr-x 2 jenkins jenkins 4096 May 24 18:31 cost 18:45:10 -rw-r--r-- 1 jenkins jenkins 85 May 24 18:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:45:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:45:11 ---> package-listing.sh 18:45:11 ++ facter osfamily 18:45:11 ++ tr '[:upper:]' '[:lower:]' 18:45:11 + OS_FAMILY=debian 18:45:11 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:45:11 + START_PACKAGES=/tmp/packages_start.txt 18:45:11 + END_PACKAGES=/tmp/packages_end.txt 18:45:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:45:11 + PACKAGES=/tmp/packages_start.txt 18:45:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:45:11 + PACKAGES=/tmp/packages_end.txt 18:45:11 + case "${OS_FAMILY}" in 18:45:11 + dpkg -l 18:45:11 + grep '^ii' 18:45:11 + '[' -f /tmp/packages_start.txt ']' 18:45:11 + '[' -f /tmp/packages_end.txt ']' 18:45:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:45:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:45:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:45:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:45:11 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 18:45:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:12 prd-ubuntu20.04-docker-8c-8g-16755 does not seem to be running inside a container 18:45:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:13 $ docker top 596cbb9af040fcd23b88d3e0a861db9bba1b2286f2b65724a68ebe949e9290fa -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:13 + touch /tmp/pre-build-complete [Pipeline] sh 18:45:13 + mkdir -p /var/log/sysstat [Pipeline] sh 18:45:14 + ls /var/log/sa-host 18:45:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:14 provisioning config files... 18:45:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3022858852953919727tmp [Pipeline] { [Pipeline] echo 18:45:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:45:14 ---> create-netrc.sh [Pipeline] } 18:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:45:15 ---> python-tools-install.sh [Pipeline] echo 18:45:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:45:15 ---> sudo-logs.sh 18:45:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:45:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:45:15 ---> job-cost.sh 18:45:15 lf-activate-venv: SKIPPING 18:45:15 DEBUG: total: 0.2199999988079071 18:45:15 INFO: Retrieving Stack Cost... 18:45:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:16 INFO: Archiving Costs [Pipeline] echo 18:45:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:45:16 ---> logs-deploy.sh 18:45:16 lf-activate-venv: SKIPPING 18:45:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/226 18:45:16 INFO: archiving workspace using pattern(s): 18:45:17 Archives upload complete. 18:45:17 INFO: archiving logs to Nexus