Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6846a58e9a18fc50eb2597edee49cc2f283037fd 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-ssh7661364340777678778.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18011375928632532965.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8250921798527907547.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11327820805084300114.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-ssh10437870398947058137.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5705 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 6846a58e9a18fc50eb2597edee49cc2f283037fd (main) Commit message: "Merge pull request #1402 from weichou1229/apply-pw-changes" > 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 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 > git rev-list --no-walk ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:38:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:38:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:38:50 ========================================================= 11:38:50 EdgeX Global Pipelines Version Info 11:38:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:38:51 ------------------- 11:38:51 stable info: 11:38:51 ------------------- 11:38:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:38:51 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:38:51 Message: update stable to v1.0.245 11:38:51 ------------------- 11:38:51 experimental info: 11:38:51 ------------------- 11:38:51 Commited By: **** collab-it+edgex@linuxfoundation.org 11:38:51 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 11:38:51 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6846a58 [Pipeline] echo 11:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:38:52 provisioning config files... 11:38:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7226034912435847139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:52 ---> docker-login.sh 11:38:52 nexus3.edgexfoundry.org:10001 11:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:52 Configure a credential helper to remove this warning. See 11:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:52 11:38:52 Login Succeeded 11:38:52 nexus3.edgexfoundry.org:10002 11:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:52 Configure a credential helper to remove this warning. See 11:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:52 11:38:52 Login Succeeded 11:38:52 nexus3.edgexfoundry.org:10003 11:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:52 Configure a credential helper to remove this warning. See 11:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:52 11:38:52 Login Succeeded 11:38:52 nexus3.edgexfoundry.org:10004 11:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:52 Configure a credential helper to remove this warning. See 11:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:52 11:38:52 Login Succeeded 11:38:52 docker.io 11:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:53 Configure a credential helper to remove this warning. See 11:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:53 11:38:53 Login Succeeded 11:38:53 ---> docker-login.sh ends [Pipeline] } 11:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:38:53 + git rev-list -1 --merges 6846a58e9a18fc50eb2597edee49cc2f283037fd~1..6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] echo 11:38:53 -----------> git rev-list -1 --merges 6846a58e9a18fc50eb2597edee49cc2f283037fd~1..6846a58e9a18fc50eb2597edee49cc2f283037fd 6846a58e9a18fc50eb2597edee49cc2f283037fd 11:38:53 6846a58e9a18fc50eb2597edee49cc2f283037fd [false] [Pipeline] sh 11:38:54 + git log --format=format:%s -1 6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] echo 11:38:54 ========================================================= 11:38:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:38:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:38:54 + git log --format=format:%s -1 6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] echo 11:38:54 [semverPrep] GIT_COMMIT: 6846a58e9a18fc50eb2597edee49cc2f283037fd, Commit Message: Merge pull request #1402 from weichou1229/apply-pw-changes [Pipeline] echo 11:38:54 [semverPrep] This is not a build commit. [Pipeline] sh 11:38:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:38:54 + grep -v github /etc/ssh/ssh_known_hosts 11:38:54 + [ -e /tmp/ssh_known_hosts ] 11:38:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:38:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:38:54 + sudo tee -a /etc/ssh/ssh_known_hosts 11:38:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:55 11:38:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:55 0.1.4: Pulling from edgex-devops/py-git-semver 11:38:55 b85a868b505f: Pulling fs layer 11:38:55 e2be974225ed: Pulling fs layer 11:38:55 339a4e72a1f5: Pulling fs layer 11:38:55 988bab9f4d93: Pulling fs layer 11:38:55 1469e6f7b9e6: Pulling fs layer 11:38:55 eaf3925da568: Pulling fs layer 11:38:55 bab4dde63d76: Pulling fs layer 11:38:55 bde34c3a00c8: Pulling fs layer 11:38:55 b352a97aabf1: Pulling fs layer 11:38:55 4872d77fe225: Pulling fs layer 11:38:55 5851b861e8e6: Pulling fs layer 11:38:55 bab4dde63d76: Waiting 11:38:55 bde34c3a00c8: Waiting 11:38:55 b352a97aabf1: Waiting 11:38:55 4872d77fe225: Waiting 11:38:55 5851b861e8e6: Waiting 11:38:55 eaf3925da568: Waiting 11:38:55 1469e6f7b9e6: Waiting 11:38:55 988bab9f4d93: Waiting 11:38:55 e2be974225ed: Download complete 11:38:55 988bab9f4d93: Verifying Checksum 11:38:55 988bab9f4d93: Download complete 11:38:55 1469e6f7b9e6: Verifying Checksum 11:38:55 1469e6f7b9e6: Download complete 11:38:55 eaf3925da568: Verifying Checksum 11:38:55 eaf3925da568: Download complete 11:38:55 339a4e72a1f5: Verifying Checksum 11:38:55 339a4e72a1f5: Download complete 11:38:55 bde34c3a00c8: Verifying Checksum 11:38:55 b352a97aabf1: Download complete 11:38:55 4872d77fe225: Verifying Checksum 11:38:55 4872d77fe225: Download complete 11:38:55 5851b861e8e6: Download complete 11:38:55 b85a868b505f: Download complete 11:38:56 bab4dde63d76: Verifying Checksum 11:38:56 bab4dde63d76: Download complete 11:38:57 b85a868b505f: Pull complete 11:38:57 e2be974225ed: Pull complete 11:38:57 339a4e72a1f5: Pull complete 11:38:57 988bab9f4d93: Pull complete 11:38:57 1469e6f7b9e6: Pull complete 11:38:58 eaf3925da568: Pull complete 11:38:59 bab4dde63d76: Pull complete 11:38:59 bde34c3a00c8: Pull complete 11:38:59 b352a97aabf1: Pull complete 11:38:59 4872d77fe225: Pull complete 11:38:59 5851b861e8e6: Pull complete 11:38:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:38:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:00 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:39: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:39:01 $ docker top fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed -eo pid,comm 11:39: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). 11:39:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:39:01 [ssh-agent] Looking for ssh-agent implementation... 11:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:39:01 $ docker exec fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed ssh-agent 11:39:01 SSH_AUTH_SOCK=/tmp/ssh-EqJO9BORsS26/agent.32 11:39:01 SSH_AGENT_PID=38 11:39:01 Running ssh-add (command line suppressed) 11:39:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1309948972427242597.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1309948972427242597.key) 11:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:39:02 + git tag --points-at HEAD [Pipeline] } 11:39:02 $ docker exec --env ******** --env ******** fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed ssh-agent -k 11:39:02 unset SSH_AUTH_SOCK; 11:39:02 unset SSH_AGENT_PID; 11:39:02 echo Agent pid 38 killed; 11:39:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:39:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:39:02 [ssh-agent] Looking for ssh-agent implementation... 11:39:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:39:02 $ docker exec fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed ssh-agent 11:39:02 SSH_AUTH_SOCK=/tmp/ssh-KZUHh0YjfESH/agent.70 11:39:02 SSH_AGENT_PID=76 11:39:02 Running ssh-add (command line suppressed) 11:39:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10753458391294624337.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10753458391294624337.key) 11:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:39:02 + git semver init 11:39:03 2023-03-24 11:39:03,113 [run_init] DEBUG init version:0.0.0 force:False 11:39:03 2023-03-24 11:39:03,113 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:39:03 2023-03-24 11:39:03,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:39:03 2023-03-24 11:39:03,114 [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) 11:39:04 2023-03-24 11:39:03,986 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 11:39:04 2023-03-24 11:39:03,986 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 11:39:04 2023-03-24 11:39:03,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:39:04 2023-03-24 11:39:03,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:39:04 3.0.0-dev.61 [Pipeline] } 11:39:04 $ docker exec --env ******** --env ******** fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed ssh-agent -k 11:39:04 unset SSH_AUTH_SOCK; 11:39:04 unset SSH_AGENT_PID; 11:39:04 echo Agent pid 76 killed; 11:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:39:04 + git semver [Pipeline] } 11:39:04 $ docker stop --time=1 fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed 11:39:06 $ docker rm -f --volumes fc6aa5cf9cc48f14f55fbc5e83dff428699467e098cfc9ef4cb6aaaa5b3461ed [Pipeline] // withDockerContainer [Pipeline] sh 11:39:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:39:06 Stashed 1 file(s) [Pipeline] echo 11:39:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.61 [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 11:39:06 provisioning config files... 11:39:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13454887260467024707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:39:07 ---> docker-login.sh 11:39:07 nexus3.edgexfoundry.org:10001 11:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:39:07 Configure a credential helper to remove this warning. See 11:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:39:07 11:39:07 Login Succeeded 11:39:07 nexus3.edgexfoundry.org:10002 11:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:39:07 Configure a credential helper to remove this warning. See 11:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:39:07 11:39:07 Login Succeeded 11:39:07 nexus3.edgexfoundry.org:10003 11:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:39:07 Configure a credential helper to remove this warning. See 11:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:39:07 11:39:07 Login Succeeded 11:39:07 nexus3.edgexfoundry.org:10004 11:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:39:07 Configure a credential helper to remove this warning. See 11:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:39:07 11:39:07 Login Succeeded 11:39:07 docker.io 11:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:39:07 Configure a credential helper to remove this warning. See 11:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:39:07 11:39:07 Login Succeeded 11:39:07 ---> docker-login.sh ends [Pipeline] } 11:39:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:39:07 ========================================================= 11:39:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:39:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:08 + 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 . 11:39:08 Sending build context to Docker daemon 10.82MB 11:39:08 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:39:08 Step 2/10 : FROM ${BASE} AS builder 11:39:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:39:08 63b65145d645: Pulling fs layer 11:39:08 a2d21d5440eb: Pulling fs layer 11:39:08 935e6c44a52c: Pulling fs layer 11:39:08 94cc34f8dd06: Pulling fs layer 11:39:08 30dea6a524f1: Pulling fs layer 11:39:08 a2aff8979fd8: Pulling fs layer 11:39:08 6808be2612f2: Pulling fs layer 11:39:08 f25807f1079a: Pulling fs layer 11:39:08 94cc34f8dd06: Waiting 11:39:08 a2aff8979fd8: Waiting 11:39:08 6808be2612f2: Waiting 11:39:08 f25807f1079a: Waiting 11:39:08 30dea6a524f1: Waiting 11:39:08 a2d21d5440eb: Verifying Checksum 11:39:08 a2d21d5440eb: Download complete 11:39:08 94cc34f8dd06: Verifying Checksum 11:39:08 94cc34f8dd06: Download complete 11:39:08 30dea6a524f1: Verifying Checksum 11:39:08 30dea6a524f1: Download complete 11:39:08 63b65145d645: Verifying Checksum 11:39:08 63b65145d645: Download complete 11:39:08 a2aff8979fd8: Verifying Checksum 11:39:08 a2aff8979fd8: Download complete 11:39:08 63b65145d645: Pull complete 11:39:08 a2d21d5440eb: Pull complete 11:39:08 f25807f1079a: Download complete 11:39:08 935e6c44a52c: Download complete 11:39:09 6808be2612f2: Verifying Checksum 11:39:09 6808be2612f2: Download complete 11:39:12 935e6c44a52c: Pull complete 11:39:12 94cc34f8dd06: Pull complete 11:39:12 30dea6a524f1: Pull complete 11:39:12 a2aff8979fd8: Pull complete 11:39:14 6808be2612f2: Pull complete 11:39:15 f25807f1079a: Pull complete 11:39:15 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:39:15 ---> 3b553350e43f 11:39:15 Step 3/10 : ARG MAKE=make build 11:39:16 ---> Running in 67f51caa358c 11:39:16 Removing intermediate container 67f51caa358c 11:39:16 ---> e17baba254da 11:39:16 Step 4/10 : WORKDIR /device-sdk-go 11:39:16 ---> Running in 2729a60c7fef 11:39:16 Removing intermediate container 2729a60c7fef 11:39:16 ---> f29f0190298e 11:39:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:39:17 ---> Running in c3469a7e3238 11:39:17 Removing intermediate container c3469a7e3238 11:39:17 ---> 90d58c65713a 11:39:17 Step 6/10 : RUN apk add --update --no-cache make git 11:39:17 ---> Running in 103ad40ba82f 11:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:39:17 OK: 265 MiB in 53 packages 11:39:18 Removing intermediate container 103ad40ba82f 11:39:18 ---> e8315b2ae47f 11:39:18 Step 7/10 : COPY go.mod vendor* ./ 11:39:18 ---> bd1b7d8ea97e 11:39:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:18 ---> Running in af1afcc4ee36 11:39:21 Still waiting to schedule task 11:39:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:39:57 Removing intermediate container af1afcc4ee36 11:39:57 ---> 66e326a68b28 11:39:57 Step 9/10 : COPY . . 11:39:57 ---> 17f4bb26b1e0 11:39:57 Step 10/10 : RUN ${MAKE} 11:39:57 ---> Running in cbddd0adf2cc 11:39:57 noop 11:39:57 Removing intermediate container cbddd0adf2cc 11:39:57 ---> 809928f92c31 11:39:57 Successfully built 809928f92c31 11:39:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:57 + docker inspect -f . ci-base-image-x86_64 11:39:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:57 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:39:57 $ docker top 037a0b2ea03e5f1bbf470eb5600d365ab3dac64c888dcda743de8aeed03be870 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:58 + go version 11:39:58 go version go1.20.2 linux/amd64 [Pipeline] } 11:39:58 $ docker stop --time=1 037a0b2ea03e5f1bbf470eb5600d365ab3dac64c888dcda743de8aeed03be870 11:39:59 $ docker rm -f --volumes 037a0b2ea03e5f1bbf470eb5600d365ab3dac64c888dcda743de8aeed03be870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:59 + docker inspect -f . ci-base-image-x86_64 11:39:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:59 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:40:00 $ docker top 2facd03d036d1debf5473cc5e949979676d33cc206edc6f853b39aaa6abaa7f3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:40:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 11:40:00 + make test 11:40:00 go test -race -coverprofile=coverage.out ./... 11:40:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 78.9% of statements 11:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:40:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 75.9% of statements 11:40:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:40:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.050s coverage: 15.2% of statements 11:40:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements 11:40:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements 11:40:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements 11:40:43 GO111MODULE=on go vet ./... 11:40:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:40:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:40:46 ./bin/test-attribution-txt.sh [Pipeline] echo 11:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:40:47 $ docker stop --time=1 2facd03d036d1debf5473cc5e949979676d33cc206edc6f853b39aaa6abaa7f3 11:40:49 $ docker rm -f --volumes 2facd03d036d1debf5473cc5e949979676d33cc206edc6f853b39aaa6abaa7f3 [Pipeline] // withDockerContainer [Pipeline] sh 11:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:40:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:40:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:40:50 + ls -al . 11:40:50 total 272 11:40:50 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 11:40 . 11:40:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:38 .. 11:40:50 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 11:38 .dockerignore 11:40:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 11:39 .git 11:40:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:38 .github 11:40:50 -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 11:38 .gitignore 11:40:50 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 11:38 .golangci.yml 11:40:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 11:39 .semver 11:40:50 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 11:38 CHANGELOG.md 11:40:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 11:38 GOVERNANCE.md 11:40:50 -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 11:38 Jenkinsfile 11:40:50 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 11:38 LICENSE 11:40:50 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 11:38 Makefile 11:40:50 -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 11:38 OWNERS.md 11:40:50 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 11:38 README.md 11:40:50 -rw-rw-r-- 1 jenkins jenkins 12 Mar 24 11:39 VERSION 11:40:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:38 bin 11:40:50 -rw-r--r-- 1 jenkins jenkins 105813 Mar 24 11:40 coverage.out 11:40:50 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 11:38 example 11:40:50 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 11:38 go.mod 11:40:50 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 11:38 go.sum 11:40:50 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:38 internal 11:40:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 11:38 openapi 11:40:50 drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 11:38 pkg 11:40:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:38 snap 11:40:50 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 11:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:51 + 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=6846a58e9a18fc50eb2597edee49cc2f283037fd --label arch=amd64 --label version=3.0.0-dev.61 . 11:40:51 Sending build context to Docker daemon 10.92MB 11:40:51 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:40:51 Step 2/23 : FROM ${BASE} AS builder 11:40:51 ---> 809928f92c31 11:40:51 Step 3/23 : ARG MAKE=make build 11:40:51 ---> Running in 565b44e9a8b4 11:40:51 Removing intermediate container 565b44e9a8b4 11:40:51 ---> d6bcbecd823a 11:40:51 Step 4/23 : WORKDIR /device-sdk-go 11:40:51 ---> Running in e96405a2005b 11:40:51 Removing intermediate container e96405a2005b 11:40:51 ---> 6b9a45117963 11:40:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:40:51 ---> Running in a8d3f98e17f3 11:40:51 Removing intermediate container a8d3f98e17f3 11:40:51 ---> 96303b9c3727 11:40:51 Step 6/23 : RUN apk add --update --no-cache make git 11:40:51 ---> Running in 0c3dd7b84829 11:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:40:52 OK: 265 MiB in 53 packages 11:40:52 Removing intermediate container 0c3dd7b84829 11:40:52 ---> e9a24f62acd0 11:40:52 Step 7/23 : COPY go.mod vendor* ./ 11:40:52 ---> d5ccc353fa79 11:40:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:52 ---> Running in 8f69c128743c 11:40:53 Removing intermediate container 8f69c128743c 11:40:53 ---> a8ec29225e69 11:40:53 Step 9/23 : COPY . . 11:40:54 ---> 70c20f10771c 11:40:54 Step 10/23 : RUN ${MAKE} 11:40:54 ---> Running in fb94e1d76ec8 11:40:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.61" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:41:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5707 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 11:41:01 Running in /w/workspace/device-sdk-go/192 [Pipeline] { [Pipeline] checkout 11:41:01 The recommended git tool is: git 11:41:06 using credential edgex-jenkins-ssh 11:41:06 Cloning the remote Git repository 11:41:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:41:07 > git init /w/workspace/device-sdk-go/192 # timeout=10 11:41:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:41:07 > git --version # timeout=10 11:41:07 > git --version # 'git version 2.25.1' 11:41:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:41:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:41:09 Avoid second fetch 11:41:09 Checking out Revision 6846a58e9a18fc50eb2597edee49cc2f283037fd (main) 11:41:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:41:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:41:09 > git config core.sparsecheckout # timeout=10 11:41:09 > git checkout -f 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 11:41:10 Commit message: "Merge pull request #1402 from weichou1229/apply-pw-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:41:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:41:11 Dload Upload Total Spent Left Speed 11:41:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 11:41:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:41:12 + sudo tee /etc/docker/daemon.new 11:41:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:41:12 { 11:41:12 "registry-mirrors": [ 11:41:12 "https://nexus3.edgexfoundry.org:10001" 11:41:12 ], 11:41:12 "bip": "10.250.0.254/24", 11:41:12 "hosts": [ 11:41:12 "tcp://0.0.0.0:5555", 11:41:12 "unix:///var/run/docker.sock" 11:41:12 ], 11:41:12 "mtu": 1458, 11:41:12 "selinux-enabled": true, 11:41:12 "seccomp-profile": "/etc/docker/seccomp.json" 11:41:12 } [Pipeline] sh 11:41:12 Removing intermediate container fb94e1d76ec8 11:41:12 ---> 84244769b426 11:41:12 Step 11/23 : FROM alpine:3.17 11:41:12 3.17: Pulling from library/alpine 11:41:12 63b65145d645: Already exists 11:41:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:41:12 Status: Downloaded newer image for alpine:3.17 11:41:12 ---> b2aa39c304c2 11:41:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:41:12 ---> Running in 2d444ea8dfef 11:41:12 Removing intermediate container 2d444ea8dfef 11:41:12 ---> 098b53bf5a45 11:41:12 Step 13/23 : RUN apk add --update --no-cache 11:41:12 ---> Running in cc4f5276eb0f 11:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:41:12 OK: 7 MiB in 15 packages 11:41:12 Removing intermediate container cc4f5276eb0f 11:41:12 ---> 73ae014e1727 11:41:12 Step 14/23 : WORKDIR / 11:41:12 ---> Running in a090878cbc39 11:41:12 Removing intermediate container a090878cbc39 11:41:12 ---> bb7ba6b330c9 11:41:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:41:12 ---> a62e1539ead1 11:41:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:41:12 ---> 93c1ca66a255 11:41:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:41:12 ---> d17864bf0669 11:41:12 Step 18/23 : EXPOSE 59999 11:41:12 ---> Running in dad2270e372a 11:41:12 Removing intermediate container dad2270e372a 11:41:12 ---> 44aa6b58f3c9 11:41:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:41:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:41:12 ---> Running in a34fc229c926 11:41:12 Removing intermediate container a34fc229c926 11:41:12 ---> 0e1d54db8ae8 11:41:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:41:12 ---> Running in a3194bef9177 11:41:12 Removing intermediate container a3194bef9177 11:41:12 ---> c0b0f0bca33a 11:41:12 Step 21/23 : LABEL arch=amd64 11:41:12 ---> Running in 4caedc6e2482 11:41:12 Removing intermediate container 4caedc6e2482 11:41:12 ---> bc1bb4548cb1 11:41:12 Step 22/23 : LABEL git_sha=6846a58e9a18fc50eb2597edee49cc2f283037fd 11:41:12 ---> Running in a9d82e497b16 11:41:12 Removing intermediate container a9d82e497b16 11:41:12 ---> 5e983817710e 11:41:12 Step 23/23 : LABEL version=3.0.0-dev.61 11:41:13 + sudo service docker restart 11:41:13 ---> Running in dddbb0423659 11:41:13 Removing intermediate container dddbb0423659 11:41:13 ---> ae8c77b94724 11:41:13 [Warning] One or more build-args [ARCH] were not consumed 11:41:13 Successfully built ae8c77b94724 11:41:13 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 11:41:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:13 11:41:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:13 latest: Pulling from edgex-lftools-log-publisher 11:41:13 5eb5b503b376: Pulling fs layer 11:41:13 5c69ac0246d0: Pulling fs layer 11:41:13 ec43610c2a17: Pulling fs layer 11:41:13 3a2ae6a8a46f: Pulling fs layer 11:41:13 33b1e0a273af: Pulling fs layer 11:41:13 5d3b04190fa2: Pulling fs layer 11:41:13 2f39f015ded8: Pulling fs layer 11:41:13 33b1e0a273af: Waiting 11:41:13 5d3b04190fa2: Waiting 11:41:13 2f39f015ded8: Waiting 11:41:13 3a2ae6a8a46f: Waiting 11:41:13 5c69ac0246d0: Verifying Checksum 11:41:13 5c69ac0246d0: Download complete 11:41:13 3a2ae6a8a46f: Verifying Checksum 11:41:13 3a2ae6a8a46f: Download complete 11:41:13 33b1e0a273af: Verifying Checksum 11:41:13 33b1e0a273af: Download complete 11:41:14 5d3b04190fa2: Verifying Checksum 11:41:14 5d3b04190fa2: Download complete 11:41:14 ec43610c2a17: Verifying Checksum 11:41:14 ec43610c2a17: Download complete 11:41:14 5eb5b503b376: Verifying Checksum 11:41:14 5eb5b503b376: Download complete 11:41:14 2f39f015ded8: Verifying Checksum 11:41:14 2f39f015ded8: Download complete 11:41:15 5eb5b503b376: Pull complete 11:41:15 5c69ac0246d0: Pull complete 11:41:15 ec43610c2a17: Pull complete 11:41:16 3a2ae6a8a46f: Pull complete 11:41:16 33b1e0a273af: Pull complete 11:41:16 5d3b04190fa2: Pull complete 11:41:20 2f39f015ded8: Pull complete 11:41:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:41:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:20 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:41:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:41:22 $ docker top 76b281089f294269740f4d89958a0805379433608b2ed27746d409c2df268d05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:22 ---> job-cost.sh 11:41:22 lf-activate-venv: SKIPPING 11:41:22 INFO: No Stack... 11:41:23 INFO: Retrieving Pricing Info for: v3-standard-8 11:41:23 INFO: Archiving Costs [Pipeline] sh 11:41:23 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 11:41:23 + cut -d, -f6 [Pipeline] lock 11:41:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] 11:41:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] did not exist. Created. 11:41:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:41:23 + echo total: 0.2199999988079071 [Pipeline] stash 11:41:23 Stashed 1 file(s) [Pipeline] } 11:41:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 11:41:23 $ docker stop --time=1 76b281089f294269740f4d89958a0805379433608b2ed27746d409c2df268d05 11:41:25 $ docker rm -f --volumes 76b281089f294269740f4d89958a0805379433608b2ed27746d409c2df268d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:31 provisioning config files... 11:41:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/192@tmp/config6019765008221378402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:31 ---> docker-login.sh 11:41:31 nexus3.edgexfoundry.org:10001 11:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:32 Configure a credential helper to remove this warning. See 11:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:32 11:41:32 Login Succeeded 11:41:32 nexus3.edgexfoundry.org:10002 11:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:32 Configure a credential helper to remove this warning. See 11:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:32 11:41:32 Login Succeeded 11:41:32 nexus3.edgexfoundry.org:10003 11:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:33 Configure a credential helper to remove this warning. See 11:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:33 11:41:33 Login Succeeded 11:41:33 nexus3.edgexfoundry.org:10004 11:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:33 Configure a credential helper to remove this warning. See 11:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:33 11:41:33 Login Succeeded 11:41:33 docker.io 11:41:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:33 Configure a credential helper to remove this warning. See 11:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:33 11:41:33 Login Succeeded 11:41:33 ---> docker-login.sh ends [Pipeline] } 11:41:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:41:34 ========================================================= 11:41:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:41:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:34 + 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 . 11:41:34 Sending build context to Docker daemon 5.812MB 11:41:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:41:34 Step 2/10 : FROM ${BASE} AS builder 11:41:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:41:35 af6eaf76a39c: Pulling fs layer 11:41:35 55522c791124: Pulling fs layer 11:41:35 ce5c4a1c91eb: Pulling fs layer 11:41:35 169dfbe0d373: Pulling fs layer 11:41:35 e1ff8fa3b103: Pulling fs layer 11:41:35 52ebb69f0ebf: Pulling fs layer 11:41:35 5abe8eddf0d5: Pulling fs layer 11:41:35 169dfbe0d373: Waiting 11:41:35 e1ff8fa3b103: Waiting 11:41:35 52ebb69f0ebf: Waiting 11:41:35 169dfbe0d373: Verifying Checksum 11:41:35 169dfbe0d373: Download complete 11:41:35 e1ff8fa3b103: Download complete 11:41:35 af6eaf76a39c: Verifying Checksum 11:41:35 af6eaf76a39c: Download complete 11:41:36 af6eaf76a39c: Pull complete 11:41:36 5abe8eddf0d5: Verifying Checksum 11:41:36 5abe8eddf0d5: Download complete 11:41:36 55522c791124: Pull complete 11:41:37 52ebb69f0ebf: Download complete 11:41:37 ce5c4a1c91eb: Download complete 11:41:49 ce5c4a1c91eb: Pull complete 11:41:49 169dfbe0d373: Pull complete 11:41:49 e1ff8fa3b103: Pull complete 11:41:55 52ebb69f0ebf: Pull complete 11:41:56 5abe8eddf0d5: Pull complete 11:41:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 11:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:41:56 ---> 6cb57ee374ae 11:41:56 Step 3/10 : ARG MAKE=make build 11:41:58 ---> Running in 51e8d697074f 11:41:58 Removing intermediate container 51e8d697074f 11:41:58 ---> a0adda6f1004 11:41:58 Step 4/10 : WORKDIR /device-sdk-go 11:41:58 ---> Running in 8e0cab88aca5 11:41:59 Removing intermediate container 8e0cab88aca5 11:41:59 ---> fd795570367e 11:41:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:41:59 ---> Running in 1dc010dcf134 11:41:59 Removing intermediate container 1dc010dcf134 11:41:59 ---> e570ce95d772 11:41:59 Step 6/10 : RUN apk add --update --no-cache make git 11:41:59 ---> Running in 1b2ba2f41ed4 11:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:42:02 OK: 263 MiB in 53 packages 11:42:03 Removing intermediate container 1b2ba2f41ed4 11:42:03 ---> 44222d816d83 11:42:03 Step 7/10 : COPY go.mod vendor* ./ 11:42:03 ---> 5c83a25bad95 11:42:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:03 ---> Running in 5cbdc2ccbb02 11:43:00 Removing intermediate container 5cbdc2ccbb02 11:43:00 ---> b032fa75fd2d 11:43:00 Step 9/10 : COPY . . 11:43:03 ---> 0ad2c0e8de07 11:43:03 Step 10/10 : RUN ${MAKE} 11:43:03 ---> Running in ced4d2cb7484 11:43:04 noop 11:43:04 Removing intermediate container ced4d2cb7484 11:43:04 ---> d8a5993c1c40 11:43:04 Successfully built d8a5993c1c40 11:43:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:05 + docker inspect -f . ci-base-image-arm64 11:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:05 prd-ubuntu20.04-docker-arm64-4c-16g-5707 does not seem to be running inside a container 11:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/192 -v /w/workspace/device-sdk-go/192:/w/workspace/device-sdk-go/192:rw,z -v /w/workspace/device-sdk-go/192@tmp:/w/workspace/device-sdk-go/192@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-arm64 cat 11:43:06 $ docker top 2d6391450160b5175ad8a7e5a4efe9cc799f54e3d4add8e8094ccef3dc308ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:07 + go version 11:43:07 go version go1.20.2 linux/arm64 [Pipeline] } 11:43:07 $ docker stop --time=1 2d6391450160b5175ad8a7e5a4efe9cc799f54e3d4add8e8094ccef3dc308ea5 11:43:09 $ docker rm -f --volumes 2d6391450160b5175ad8a7e5a4efe9cc799f54e3d4add8e8094ccef3dc308ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:09 + docker inspect -f . ci-base-image-arm64 11:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:09 prd-ubuntu20.04-docker-arm64-4c-16g-5707 does not seem to be running inside a container 11:43:10 $ 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/192 -v /w/workspace/device-sdk-go/192:/w/workspace/device-sdk-go/192:rw,z -v /w/workspace/device-sdk-go/192@tmp:/w/workspace/device-sdk-go/192@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-arm64 cat 11:43:11 $ docker top 6f3953822b56406b0de91032cd6ffc0210a3e1b730827eceaf815529060151c7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/192 [Pipeline] fileExists [Pipeline] sh 11:43:12 + make test 11:43:12 go test -race -coverprofile=coverage.out ./... 11:43:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:45:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:45:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:45:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:45:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:45:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:46:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements 11:46:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.269s coverage: 78.9% of statements 11:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:46:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.344s coverage: 86.0% of statements 11:46:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:46:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.470s coverage: 75.9% of statements 11:46:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:46:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:46:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:46:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.295s coverage: 15.2% of statements 11:46:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.442s coverage: 68.5% of statements 11:46:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.564s coverage: 89.2% of statements 11:46:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:46:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 5.5% of statements 11:46:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:46:39 GO111MODULE=on go vet ./... 11:49:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:49:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:49:00 ./bin/test-attribution-txt.sh [Pipeline] echo 11:49:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:49:00 $ docker stop --time=1 6f3953822b56406b0de91032cd6ffc0210a3e1b730827eceaf815529060151c7 11:49:02 $ docker rm -f --volumes 6f3953822b56406b0de91032cd6ffc0210a3e1b730827eceaf815529060151c7 [Pipeline] // withDockerContainer [Pipeline] sh 11:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:49:04 Warning: overwriting stash ‘coverage-report’ 11:49:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:49:05 + ls -al . 11:49:05 total 268 11:49:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 11:43 . 11:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:41 .. 11:49:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 11:41 .dockerignore 11:49:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 11:41 .git 11:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:41 .github 11:49:05 -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 11:41 .gitignore 11:49:05 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 11:41 .golangci.yml 11:49:05 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 11:41 CHANGELOG.md 11:49:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 11:41 GOVERNANCE.md 11:49:05 -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 11:41 Jenkinsfile 11:49:05 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 11:41 LICENSE 11:49:05 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 11:41 Makefile 11:49:05 -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 11:41 OWNERS.md 11:49:05 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 11:41 README.md 11:49:05 -rw-rw-r-- 1 jenkins jenkins 12 Mar 24 11:39 VERSION 11:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 11:41 bin 11:49:05 -rw-r--r-- 1 jenkins jenkins 105812 Mar 24 11:46 coverage.out 11:49:05 drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 11:41 example 11:49:05 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 11:41 go.mod 11:49:05 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 11:41 go.sum 11:49:05 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:41 internal 11:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 11:41 openapi 11:49:05 drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 11:41 pkg 11:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 11:41 snap 11:49:05 -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 11:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:05 + 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=6846a58e9a18fc50eb2597edee49cc2f283037fd --label arch=arm64 --label version=3.0.0-dev.61 . 11:49:06 Sending build context to Docker daemon 5.919MB 11:49:06 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 11:49:06 Step 2/23 : FROM ${BASE} AS builder 11:49:06 ---> d8a5993c1c40 11:49:06 Step 3/23 : ARG MAKE=make build 11:49:06 ---> Running in b2a6272ba22b 11:49:06 Removing intermediate container b2a6272ba22b 11:49:06 ---> b6ea67fc0471 11:49:06 Step 4/23 : WORKDIR /device-sdk-go 11:49:06 ---> Running in bb53ad8c31dd 11:49:07 Removing intermediate container bb53ad8c31dd 11:49:07 ---> f07b48535a9c 11:49:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:49:07 ---> Running in 0efcf534cd6d 11:49:07 Removing intermediate container 0efcf534cd6d 11:49:07 ---> 979fd5ba4a5e 11:49:07 Step 6/23 : RUN apk add --update --no-cache make git 11:49:07 ---> Running in 4314c88f7d8e 11:49:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:49:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:49:10 OK: 263 MiB in 53 packages 11:49:11 Removing intermediate container 4314c88f7d8e 11:49:11 ---> e028811ae4d2 11:49:11 Step 7/23 : COPY go.mod vendor* ./ 11:49:12 ---> c6402d77be6e 11:49:12 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:49:12 ---> Running in 004dd1f950c1 11:49:14 Removing intermediate container 004dd1f950c1 11:49:14 ---> 11357a8a1539 11:49:14 Step 9/23 : COPY . . 11:49:16 ---> 09c743e01e78 11:49:16 Step 10/23 : RUN ${MAKE} 11:49:16 ---> Running in c2d4f9805ba3 11:49:17 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.61" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:51:38 Removing intermediate container c2d4f9805ba3 11:51:38 ---> bbb31975dafc 11:51:38 Step 11/23 : FROM alpine:3.17 11:51:38 3.17: Pulling from library/alpine 11:51:38 af6eaf76a39c: Already exists 11:51:38 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:51:38 Status: Downloaded newer image for alpine:3.17 11:51:38 ---> d74e625d9115 11:51:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:51:38 ---> Running in e40fec0ef9f8 11:51:38 Removing intermediate container e40fec0ef9f8 11:51:38 ---> 6e4fbea2de26 11:51:38 Step 13/23 : RUN apk add --update --no-cache 11:51:38 ---> Running in 37dca5563212 11:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:51:38 OK: 7 MiB in 15 packages 11:51:38 Removing intermediate container 37dca5563212 11:51:38 ---> 5fa447a61e3f 11:51:38 Step 14/23 : WORKDIR / 11:51:38 ---> Running in 44286f8a81fd 11:51:38 Removing intermediate container 44286f8a81fd 11:51:38 ---> 04b65a5618d1 11:51:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:51:38 ---> c996fcf84d66 11:51:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:51:38 ---> 930fb3bbb113 11:51:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:51:38 ---> 001b2fced24f 11:51:38 Step 18/23 : EXPOSE 59999 11:51:38 ---> Running in f3386d8303e7 11:51:38 Removing intermediate container f3386d8303e7 11:51:38 ---> b478f72b57c9 11:51:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:51:38 ---> Running in 03c083b35e41 11:51:38 Removing intermediate container 03c083b35e41 11:51:38 ---> 8fb0a67ded86 11:51:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:51:38 ---> Running in d5e7621998d7 11:51:38 Removing intermediate container d5e7621998d7 11:51:38 ---> 770dcd3bf7c4 11:51:38 Step 21/23 : LABEL arch=arm64 11:51:38 ---> Running in dfec0c594f79 11:51:38 Removing intermediate container dfec0c594f79 11:51:38 ---> 6c6e2a0f8397 11:51:38 Step 22/23 : LABEL git_sha=6846a58e9a18fc50eb2597edee49cc2f283037fd 11:51:38 ---> Running in e8f33c294b2c 11:51:38 Removing intermediate container e8f33c294b2c 11:51:38 ---> fa4b70ca522a 11:51:38 Step 23/23 : LABEL version=3.0.0-dev.61 11:51:38 ---> Running in 2d38708d3f2b 11:51:38 Removing intermediate container 2d38708d3f2b 11:51:38 ---> e45b09101895 11:51:38 [Warning] One or more build-args [ARCH] were not consumed 11:51:38 Successfully built e45b09101895 11:51:38 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 11:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:39 11:51:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:39 arm64: Pulling from edgex-lftools-log-publisher 11:51:39 8998bd30e6a1: Pulling fs layer 11:51:39 04944245beec: Pulling fs layer 11:51:39 699f458cf7ca: Pulling fs layer 11:51:39 765212b225bb: Pulling fs layer 11:51:39 f23df028b6ca: Pulling fs layer 11:51:39 d65c8cfc05b1: Pulling fs layer 11:51:39 2437ff75d9bd: Pulling fs layer 11:51:39 765212b225bb: Waiting 11:51:39 f23df028b6ca: Waiting 11:51:39 d65c8cfc05b1: Waiting 11:51:39 2437ff75d9bd: Waiting 11:51:39 04944245beec: Verifying Checksum 11:51:39 04944245beec: Download complete 11:51:39 765212b225bb: Verifying Checksum 11:51:39 765212b225bb: Download complete 11:51:39 f23df028b6ca: Download complete 11:51:39 d65c8cfc05b1: Verifying Checksum 11:51:39 d65c8cfc05b1: Download complete 11:51:40 699f458cf7ca: Verifying Checksum 11:51:40 699f458cf7ca: Download complete 11:51:40 8998bd30e6a1: Verifying Checksum 11:51:40 8998bd30e6a1: Download complete 11:51:43 2437ff75d9bd: Verifying Checksum 11:51:43 2437ff75d9bd: Download complete 11:51:44 8998bd30e6a1: Pull complete 11:51:45 04944245beec: Pull complete 11:51:46 699f458cf7ca: Pull complete 11:51:46 765212b225bb: Pull complete 11:51:49 f23df028b6ca: Pull complete 11:51:49 d65c8cfc05b1: Pull complete 11:52:04 2437ff75d9bd: Pull complete 11:52:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:52:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:04 prd-ubuntu20.04-docker-arm64-4c-16g-5707 does not seem to be running inside a container 11:52:04 $ 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/192 -v /w/workspace/device-sdk-go/192:/w/workspace/device-sdk-go/192:rw,z -v /w/workspace/device-sdk-go/192@tmp:/w/workspace/device-sdk-go/192@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:arm64 cat 11:52:07 $ docker top d64de34b37a71cd4cb8b1516d62e7fbc9fbee300186545edadf3a6aaf6e3dc77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:07 ---> job-cost.sh 11:52:07 lf-activate-venv: SKIPPING 11:52:07 INFO: No Stack... 11:52:08 INFO: Retrieving Pricing Info for: v3-standard-4 11:52:09 INFO: Archiving Costs [Pipeline] sh 11:52:10 + cut -d, -f6 11:52:10 + cat /w/workspace/device-sdk-go/192/archives/cost.csv [Pipeline] lock 11:52:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] 11:52:10 Resource [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] did not exist. Created. 11:52:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:52:10 /w/workspace/device-sdk-go/192@tmp/durable-e3930837/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:52:10 + echo total: 0.10999999940395355 [Pipeline] stash 11:52:11 Warning: overwriting stash ‘stack-cost’ 11:52:11 Stashed 1 file(s) [Pipeline] } 11:52:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 11:52:11 $ docker stop --time=1 d64de34b37a71cd4cb8b1516d62e7fbc9fbee300186545edadf3a6aaf6e3dc77 11:52:12 $ docker rm -f --volumes d64de34b37a71cd4cb8b1516d62e7fbc9fbee300186545edadf3a6aaf6e3dc77 [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 11:52:13 provisioning config files... 11:52:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6295833997382654697tmp [Pipeline] { [Pipeline] sh 11:52:13 + set +x 11:52:13 + bash -s -- 11:52:13 + curl -s https://codecov.io/bash 11:52:13 11:52:13 _____ _ 11:52:13 / ____| | | 11:52:13 | | ___ __| | ___ ___ _____ __ 11:52:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:52:13 | |___| (_) | (_| | __/ (_| (_) \ V / 11:52:13 \_____\___/ \__,_|\___|\___\___/ \_/ 11:52:13 Bash-1.0.6 11:52:13 11:52:13 11:52:13 ==> git version 2.25.1 found 11:52:13 ==> 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 11:52:13 Release-Date: 2020-01-08 11:52:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:52:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:52:13 ==> Jenkins CI detected. 11:52:13 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 11:52:13 project root: . 11:52:13 --> token set from env 11:52:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:52:13 ==> Running gcov in . (disable via -X gcov) 11:52:13 ==> Python coveragepy not found 11:52:13 ==> Searching for coverage reports in: 11:52:13 + . 11:52:13 -> Found 1 reports 11:52:13 ==> Detecting git/mercurial file structure 11:52:13 ==> Reading reports 11:52:13 + ./coverage.out bytes=105812 11:52:13 ==> Appending adjustments 11:52:13 https://docs.codecov.io/docs/fixing-reports 11:52:13 + Found adjustments 11:52:13 ==> Gzipping contents 11:52:13 16K /tmp/codecov.WGx1gA.gz 11:52:13 ==> Uploading reports 11:52:13 url: https://codecov.io 11:52:13 query: branch=main&commit=6846a58e9a18fc50eb2597edee49cc2f283037fd&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:52:13 -> Pinging Codecov 11:52:13 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=6846a58e9a18fc50eb2597edee49cc2f283037fd&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:52:13 -> Uploading to 11:52:13 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/7E55EF52A471D76F132DFD9A03CDDE97/6846a58e9a18fc50eb2597edee49cc2f283037fd/6bfcb469-629d-4e0e-b3a4-e26efe461beb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T115213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e35b1af0140340f3fbfcf6b5395042fe26e43284744bde461913b6b7a00ba3f 11:52:13 % Total % Received % Xferd Average Speed Time Time Time Current 11:52:13 Dload Upload Total Spent Left Speed 11:52:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14996 0 0 100 14996 0 58807 --:--:-- --:--:-- --:--:-- 58807 11:52:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] } 11:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:52:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:52:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:52:14 11:52:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:52:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:52:14 df9b9388f04a: Pulling fs layer 11:52:14 52dc419b0ee2: Pulling fs layer 11:52:14 25bc292e5bac: Pulling fs layer 11:52:14 114826534d7a: Pulling fs layer 11:52:14 4657fd5d0bcf: Pulling fs layer 11:52:14 6ad1cebc031e: Pulling fs layer 11:52:14 8a3aa393b2d8: Pulling fs layer 11:52:14 4657fd5d0bcf: Waiting 11:52:14 6ad1cebc031e: Waiting 11:52:14 8a3aa393b2d8: Waiting 11:52:14 114826534d7a: Waiting 11:52:14 25bc292e5bac: Verifying Checksum 11:52:14 25bc292e5bac: Download complete 11:52:14 52dc419b0ee2: Download complete 11:52:14 4657fd5d0bcf: Verifying Checksum 11:52:14 4657fd5d0bcf: Download complete 11:52:14 df9b9388f04a: Verifying Checksum 11:52:14 df9b9388f04a: Download complete 11:52:15 df9b9388f04a: Pull complete 11:52:15 6ad1cebc031e: Verifying Checksum 11:52:15 6ad1cebc031e: Download complete 11:52:15 52dc419b0ee2: Pull complete 11:52:15 25bc292e5bac: Pull complete 11:52:15 114826534d7a: Verifying Checksum 11:52:15 114826534d7a: Download complete 11:52:15 8a3aa393b2d8: Verifying Checksum 11:52:15 8a3aa393b2d8: Download complete 11:52:19 114826534d7a: Pull complete 11:52:19 4657fd5d0bcf: Pull complete 11:52:19 6ad1cebc031e: Pull complete 11:52:22 8a3aa393b2d8: Pull complete 11:52:22 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:52:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:22 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:52:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:52:24 $ docker top da304ded0dedf3042b2d7ad4befb3253ac9db049fc28ba107d45b7e571a06751 -eo pid,comm [Pipeline] { [Pipeline] echo 11:52:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 11:52:24 + set -o pipefail 11:52:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 11:52:29 11:52:29 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 11:52:29 11:52:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c7447560-bea5-40f3-9824-cc128534bae8 11:52:29 11:52:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:52:29 11:52:30 11:52:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:52:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:52:30 More details here: https://snyk.co/ue1NS [Pipeline] } 11:52:30 $ docker stop --time=1 da304ded0dedf3042b2d7ad4befb3253ac9db049fc28ba107d45b7e571a06751 11:52:32 $ docker rm -f --volumes da304ded0dedf3042b2d7ad4befb3253ac9db049fc28ba107d45b7e571a06751 [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 11:52:32 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:52:32 provisioning config files... 11:52:32 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5369332259415791648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:32 --> edgex-publish-swagger.sh 11:52:32 === Publish openapi/v3 API === 11:52:32 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 11:52:32 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 11:52:32 % Total % Received % Xferd Average Speed Time Time Time Current 11:52:32 Dload Upload Total Spent Left Speed 11:52:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 36041 --:--:-- --:--:-- --:--:-- 35986 100 23571 0 0 100 23571 0 35986 --:--:-- --:--:-- --:--:-- 35931 11:52:33 11:52:33 [Pipeline] } 11:52:33 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 11:52:33 + git log --format=format:%s -1 6846a58e9a18fc50eb2597edee49cc2f283037fd [Pipeline] sh 11:52:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:52:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:34 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:52:34 $ docker top 29800669633c17191c92e817a126e4ddee244ce303256f681f127c5c5d70383e -eo pid,comm 11:52:34 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). 11:52:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:34 [ssh-agent] Looking for ssh-agent implementation... 11:52:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:35 $ docker exec 29800669633c17191c92e817a126e4ddee244ce303256f681f127c5c5d70383e ssh-agent 11:52:35 SSH_AUTH_SOCK=/tmp/ssh-NhyrirsQ2tAd/agent.31 11:52:35 SSH_AGENT_PID=37 11:52:35 Running ssh-add (command line suppressed) 11:52:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12420703961863720280.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12420703961863720280.key) 11:52:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:35 + git semver tag 11:52:35 2023-03-24 11:52:35,742 [run_tag] DEBUG tag force:False 11:52:35 2023-03-24 11:52:35,742 [check_head_tag] DEBUG check head tag 11:52:35 2023-03-24 11:52:35,747 [execute] INFO git cat-file --batch-check 11:52:35 2023-03-24 11:52:35,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:52:35 2023-03-24 11:52:35,751 [execute] INFO git cat-file --batch 11:52:35 2023-03-24 11:52:35,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:52:35 2023-03-24 11:52:35,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:35 2023-03-24 11:52:35,787 [execute] INFO git tag -a v3.0.0-dev.61 -m v3.0.0-dev.61 11:52:35 2023-03-24 11:52:35,788 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.61', '-m', 'v3.0.0-dev.61'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 11:52:35 2023-03-24 11:52:35,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:35 3.0.0-dev.61 [Pipeline] } 11:52:35 $ docker exec --env ******** --env ******** 29800669633c17191c92e817a126e4ddee244ce303256f681f127c5c5d70383e ssh-agent -k 11:52:35 unset SSH_AUTH_SOCK; 11:52:35 unset SSH_AGENT_PID; 11:52:35 echo Agent pid 37 killed; 11:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:36 + git semver [Pipeline] } 11:52:36 $ docker stop --time=1 29800669633c17191c92e817a126e4ddee244ce303256f681f127c5c5d70383e 11:52:37 $ docker rm -f --volumes 29800669633c17191c92e817a126e4ddee244ce303256f681f127c5c5d70383e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:38 11:52:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:38 0.23.1-centos7: Pulling from edgex-lftools 11:52:38 ab5ef0e58194: Pulling fs layer 11:52:38 9712f1f96733: Pulling fs layer 11:52:38 63f879dbbcfc: Pulling fs layer 11:52:38 0d9ebad4ef96: Pulling fs layer 11:52:38 e9a5061849ea: Pulling fs layer 11:52:38 d747dcd14b5f: Pulling fs layer 11:52:38 2de7ff778b66: Pulling fs layer 11:52:38 0d9ebad4ef96: Waiting 11:52:38 e9a5061849ea: Waiting 11:52:38 d747dcd14b5f: Waiting 11:52:38 2de7ff778b66: Waiting 11:52:38 9712f1f96733: Verifying Checksum 11:52:38 9712f1f96733: Download complete 11:52:38 63f879dbbcfc: Verifying Checksum 11:52:38 63f879dbbcfc: Download complete 11:52:39 e9a5061849ea: Verifying Checksum 11:52:39 e9a5061849ea: Download complete 11:52:39 d747dcd14b5f: Download complete 11:52:39 0d9ebad4ef96: Verifying Checksum 11:52:39 0d9ebad4ef96: Download complete 11:52:39 ab5ef0e58194: Verifying Checksum 11:52:39 ab5ef0e58194: Download complete 11:52:39 2de7ff778b66: Verifying Checksum 11:52:39 2de7ff778b66: Download complete 11:52:41 ab5ef0e58194: Pull complete 11:52:41 9712f1f96733: Pull complete 11:52:42 63f879dbbcfc: Pull complete 11:52:45 0d9ebad4ef96: Pull complete 11:52:45 e9a5061849ea: Pull complete 11:52:45 d747dcd14b5f: Pull complete 11:52:46 2de7ff778b66: Pull complete 11:52:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:52:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:46 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:52:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:52:48 $ docker top 9d6882facca5bdd7e129afe1f48647204c1faf81213ba0ff58a8793f8b556686 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:52:48 provisioning config files... 11:52:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13867416417699366607tmp 11:52:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9280279239958317994tmp 11:52:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10495714905416436172tmp [Pipeline] { [Pipeline] echo 11:52:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:52:49 ---> sigul-configuration.sh 11:52:49 gpg: directory `/root/.gnupg' created 11:52:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:52:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:52:49 gpg: keyring `/root/.gnupg/secring.gpg' created 11:52:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:52:49 gpg: CAST5 encrypted data 11:52:49 gpg: encrypted with 1 passphrase 11:52:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:52:49 + mkdir /home/jenkins 11:52:49 + mkdir /home/jenkins/sigul [Pipeline] sh 11:52:49 + 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 11:52:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:52:49 ---> sigul-install.sh 11:52:49 Sigul already installed; skipping installation. [Pipeline] sh 11:52:50 + git tag --list 11:52:50 0.7.1 11:52:50 delhi-tag 11:52:50 v1.0.0 11:52:50 v1.1.0 11:52:50 v1.1.1 11:52:50 v1.1.2 11:52:50 v1.2.0 11:52:50 v1.2.1 11:52:50 v1.2.2 11:52:50 v1.2.3 11:52:50 v1.3.0 11:52:50 v1.4.0 11:52:50 v2.0.0 11:52:50 v2.1.0 11:52:50 v2.1.1 11:52:50 v2.1.1-dev.2 11:52:50 v2.1.1-dev.3 11:52:50 v2.2.0 11:52:50 v2.2.1-dev.1 11:52:50 v2.2.1-dev.10 11:52:50 v2.2.1-dev.11 11:52:50 v2.2.1-dev.12 11:52:50 v2.2.1-dev.13 11:52:50 v2.2.1-dev.14 11:52:50 v2.2.1-dev.2 11:52:50 v2.2.1-dev.3 11:52:50 v2.2.1-dev.4 11:52:50 v2.2.1-dev.5 11:52:50 v2.2.1-dev.6 11:52:50 v2.2.1-dev.7 11:52:50 v2.2.1-dev.8 11:52:50 v2.2.1-dev.9 11:52:50 v2.3.0 11:52:50 v2.3.0-dev.14 11:52:50 v2.3.0-dev.15 11:52:50 v2.3.0-dev.16 11:52:50 v2.3.0-dev.17 11:52:50 v2.3.0-dev.18 11:52:50 v2.3.0-dev.19 11:52:50 v2.3.0-dev.20 11:52:50 v2.3.0-dev.21 11:52:50 v2.3.0-dev.22 11:52:50 v2.3.0-dev.23 11:52:50 v2.3.0-dev.24 11:52:50 v2.3.0-dev.25 11:52:50 v2.3.0-dev.26 11:52:50 v2.3.0-dev.27 11:52:50 v2.3.0-dev.28 11:52:50 v2.3.0-dev.29 11:52:50 v2.3.0-dev.30 11:52:50 v2.3.0-dev.31 11:52:50 v2.3.0-dev.32 11:52:50 v2.3.0-dev.33 11:52:50 v2.3.0-dev.34 11:52:50 v2.3.0-dev.35 11:52:50 v2.3.0-dev.36 11:52:50 v2.3.0-dev.37 11:52:50 v2.3.0-dev.38 11:52:50 v2.3.0-dev.39 11:52:50 v2.3.0-dev.40 11:52:50 v2.3.0-dev.41 11:52:50 v2.3.0-dev.42 11:52:50 v2.3.0-dev.43 11:52:50 v2.3.0-dev.44 11:52:50 v2.3.0-dev.45 11:52:50 v2.3.0-dev.46 11:52:50 v2.3.0-dev.47 11:52:50 v2.3.0-dev.48 11:52:50 v2.3.0-dev.49 11:52:50 v2.3.0-dev.50 11:52:50 v2.3.0-dev.51 11:52:50 v2.3.1 11:52:50 v2.3.1-dev.1 11:52:50 v2.3.1-dev.2 11:52:50 v2.3.1-dev.3 11:52:50 v2.3.1-dev.4 11:52:50 v3.0.0-dev.1 11:52:50 v3.0.0-dev.10 11:52:50 v3.0.0-dev.11 11:52:50 v3.0.0-dev.12 11:52:50 v3.0.0-dev.13 11:52:50 v3.0.0-dev.14 11:52:50 v3.0.0-dev.15 11:52:50 v3.0.0-dev.16 11:52:50 v3.0.0-dev.17 11:52:50 v3.0.0-dev.18 11:52:50 v3.0.0-dev.19 11:52:50 v3.0.0-dev.2 11:52:50 v3.0.0-dev.20 11:52:50 v3.0.0-dev.21 11:52:50 v3.0.0-dev.22 11:52:50 v3.0.0-dev.23 11:52:50 v3.0.0-dev.24 11:52:50 v3.0.0-dev.25 11:52:50 v3.0.0-dev.26 11:52:50 v3.0.0-dev.27 11:52:50 v3.0.0-dev.28 11:52:50 v3.0.0-dev.29 11:52:50 v3.0.0-dev.3 11:52:50 v3.0.0-dev.30 11:52:50 v3.0.0-dev.31 11:52:50 v3.0.0-dev.32 11:52:50 v3.0.0-dev.33 11:52:50 v3.0.0-dev.34 11:52:50 v3.0.0-dev.35 11:52:50 v3.0.0-dev.36 11:52:50 v3.0.0-dev.37 11:52:50 v3.0.0-dev.38 11:52:50 v3.0.0-dev.39 11:52:50 v3.0.0-dev.4 11:52:50 v3.0.0-dev.40 11:52:50 v3.0.0-dev.41 11:52:50 v3.0.0-dev.42 11:52:50 v3.0.0-dev.43 11:52:50 v3.0.0-dev.44 11:52:50 v3.0.0-dev.45 11:52:50 v3.0.0-dev.46 11:52:50 v3.0.0-dev.47 11:52:50 v3.0.0-dev.48 11:52:50 v3.0.0-dev.49 11:52:50 v3.0.0-dev.5 11:52:50 v3.0.0-dev.50 11:52:50 v3.0.0-dev.51 11:52:50 v3.0.0-dev.52 11:52:50 v3.0.0-dev.53 11:52:50 v3.0.0-dev.54 11:52:50 v3.0.0-dev.55 11:52:50 v3.0.0-dev.56 11:52:50 v3.0.0-dev.57 11:52:50 v3.0.0-dev.58 11:52:50 v3.0.0-dev.59 11:52:50 v3.0.0-dev.6 11:52:50 v3.0.0-dev.60 11:52:50 v3.0.0-dev.61 11:52:50 v3.0.0-dev.7 11:52:50 v3.0.0-dev.8 11:52:50 v3.0.0-dev.9 [Pipeline] sh 11:52:50 + lftools sign git-tag v3.0.0-dev.61 11:52:51 Signing Git tag with Sigul... 11:52:51 Signing v3.0.0-dev.61 [Pipeline] echo 11:52:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:52:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:52:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:52:51 $ docker stop --time=1 9d6882facca5bdd7e129afe1f48647204c1faf81213ba0ff58a8793f8b556686 11:52:53 $ docker rm -f --volumes 9d6882facca5bdd7e129afe1f48647204c1faf81213ba0ff58a8793f8b556686 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:52:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:52:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:53 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:52:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:52:54 $ docker top 712638c2eb59fac238f492ec914a10f42467ebf09eef14dcfb579e3ab1669407 -eo pid,comm 11:52:54 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). 11:52:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:54 [ssh-agent] Looking for ssh-agent implementation... 11:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:54 $ docker exec 712638c2eb59fac238f492ec914a10f42467ebf09eef14dcfb579e3ab1669407 ssh-agent 11:52:54 SSH_AUTH_SOCK=/tmp/ssh-RhOcnIyAZ1eT/agent.33 11:52:54 SSH_AGENT_PID=39 11:52:54 Running ssh-add (command line suppressed) 11:52:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14751800225881189612.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14751800225881189612.key) 11:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:55 + git semver bump pre 11:52:55 2023-03-24 11:52:55,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:55 2023-03-24 11:52:55,254 [bump_version] DEBUG bumping version:3.0.0-dev.61 on axis:pre with prefix:dev 11:52:55 2023-03-24 11:52:55,254 [bump_version] DEBUG bumped version:3.0.0-dev.62 11:52:55 2023-03-24 11:52:55,254 [write_version] DEBUG write version:3.0.0-dev.62 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 11:52:55 2023-03-24 11:52:55,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:55 2023-03-24 11:52:55,254 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:55 2023-03-24 11:52:55,256 [execute] INFO git cat-file --batch-check 11:52:55 2023-03-24 11:52:55,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:52:55 2023-03-24 11:52:55,261 [execute] INFO git cat-file --batch 11:52:55 2023-03-24 11:52:55,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:52:55 2023-03-24 11:52:55,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:52:55 3.0.0-dev.62 [Pipeline] } 11:52:55 $ docker exec --env ******** --env ******** 712638c2eb59fac238f492ec914a10f42467ebf09eef14dcfb579e3ab1669407 ssh-agent -k 11:52:55 unset SSH_AUTH_SOCK; 11:52:55 unset SSH_AGENT_PID; 11:52:55 echo Agent pid 39 killed; 11:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:55 + git semver [Pipeline] } 11:52:56 $ docker stop --time=1 712638c2eb59fac238f492ec914a10f42467ebf09eef14dcfb579e3ab1669407 11:52:57 $ docker rm -f --volumes 712638c2eb59fac238f492ec914a10f42467ebf09eef14dcfb579e3ab1669407 [Pipeline] // withDockerContainer [Pipeline] sh 11:52:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:52:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:58 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:52:58 $ docker top f9dc7a023cfb00fb6b3f38b7deef61472d3150960b8c00db646cf65e58859b30 -eo pid,comm 11:52:58 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). 11:52:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:58 [ssh-agent] Looking for ssh-agent implementation... 11:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:58 $ docker exec f9dc7a023cfb00fb6b3f38b7deef61472d3150960b8c00db646cf65e58859b30 ssh-agent 11:52:58 SSH_AUTH_SOCK=/tmp/ssh-s32lT1wD53Pc/agent.32 11:52:58 SSH_AGENT_PID=38 11:52:58 Running ssh-add (command line suppressed) 11:52:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8164212840216414259.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8164212840216414259.key) 11:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:59 + git semver push 11:52:59 2023-03-24 11:52:59,291 [run_push] DEBUG push 11:52:59 2023-03-24 11:52:59,291 [execute] INFO git cat-file --batch-check 11:52:59 2023-03-24 11:52:59,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:52:59 2023-03-24 11:52:59,295 [execute] INFO git rev-list 6b28b042bf92e22e430d236ffc85fd3282670a86 -- 11:52:59 2023-03-24 11:52:59,295 [execute] DEBUG Popen(['git', 'rev-list', '6b28b042bf92e22e430d236ffc85fd3282670a86', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:52:59 2023-03-24 11:52:59,308 [execute] INFO git fetch -v origin 11:52:59 2023-03-24 11:52:59,308 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:52:59 2023-03-24 11:52:59,791 [run_push] DEBUG no remote changes detected 11:52:59 2023-03-24 11:52:59,791 [execute] INFO git push origin semver 11:52:59 2023-03-24 11:52:59,792 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:53:00 2023-03-24 11:53:00,629 [run_push] DEBUG push all version tags 11:53:00 2023-03-24 11:53:00,630 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:53:00 2023-03-24 11:53:00,630 [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) 11:53:01 2023-03-24 11:53:01,575 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:53:01 3.0.0-dev.62 [Pipeline] } 11:53:01 $ docker exec --env ******** --env ******** f9dc7a023cfb00fb6b3f38b7deef61472d3150960b8c00db646cf65e58859b30 ssh-agent -k 11:53:01 unset SSH_AUTH_SOCK; 11:53:01 unset SSH_AGENT_PID; 11:53:01 echo Agent pid 38 killed; 11:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:53:02 + git semver [Pipeline] } 11:53:02 $ docker stop --time=1 f9dc7a023cfb00fb6b3f38b7deef61472d3150960b8c00db646cf65e58859b30 11:53:03 $ docker rm -f --volumes f9dc7a023cfb00fb6b3f38b7deef61472d3150960b8c00db646cf65e58859b30 [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 11:53:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 11:53:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:53:04 total 16 11:53:04 drwxr-xr-x 3 root root 4096 Mar 24 11:41 . 11:53:04 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:52 .. 11:53:04 drwxr-xr-x 2 root root 4096 Mar 24 11:41 cost 11:53:04 -rw-r--r-- 1 root root 85 Mar 24 11:41 cost.csv 11:53:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:53:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:53:04 total 16 11:53:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 11:41 . 11:53:04 drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 11:52 .. 11:53:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 11:41 cost 11:53:04 -rw-r--r-- 1 jenkins jenkins 85 Mar 24 11:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:53:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:53:05 ---> package-listing.sh 11:53:05 ++ facter osfamily 11:53:05 ++ tr '[:upper:]' '[:lower:]' 11:53:05 + OS_FAMILY=debian 11:53:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 11:53:05 + START_PACKAGES=/tmp/packages_start.txt 11:53:05 + END_PACKAGES=/tmp/packages_end.txt 11:53:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:53:05 + PACKAGES=/tmp/packages_start.txt 11:53:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:53:05 + PACKAGES=/tmp/packages_end.txt 11:53:05 + case "${OS_FAMILY}" in 11:53:05 + dpkg -l 11:53:05 + grep '^ii' 11:53:05 + '[' -f /tmp/packages_start.txt ']' 11:53:05 + '[' -f /tmp/packages_end.txt ']' 11:53:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:53:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:53:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 11:53:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 11:53:05 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 11:53:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:06 prd-ubuntu20.04-docker-8c-8g-5705 does not seem to be running inside a container 11:53:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:53:07 $ docker top 90e340856e79894dd35b3dcd98747f77a3f10b18fb0e6de0e7fcf56fd8447d1b -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:07 + touch /tmp/pre-build-complete [Pipeline] sh 11:53:07 + mkdir -p /var/log/sysstat [Pipeline] sh 11:53:08 + ls /var/log/sa-host 11:53:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:53:08 provisioning config files... 11:53:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17677642844250772715tmp [Pipeline] { [Pipeline] echo 11:53:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:53:08 ---> create-netrc.sh [Pipeline] } 11:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:53:08 ---> python-tools-install.sh [Pipeline] echo 11:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:53:09 ---> sudo-logs.sh 11:53:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:53:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:53:09 ---> job-cost.sh 11:53:09 lf-activate-venv: SKIPPING 11:53:09 DEBUG: total: 0.2199999988079071 11:53:09 INFO: Retrieving Stack Cost... 11:53:09 INFO: Retrieving Pricing Info for: v3-standard-8 11:53:10 INFO: Archiving Costs [Pipeline] echo 11:53:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:53:10 ---> logs-deploy.sh 11:53:10 lf-activate-venv: SKIPPING 11:53:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/192 11:53:10 INFO: archiving workspace using pattern(s): 11:53:11 Archives upload complete. 11:53:11 INFO: archiving logs to Nexus