Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c046c07be681eb47061b9e73bdc74da4165eb351 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-ssh13799027249878873719.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1879808386671598192.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15935500588083935226.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14056899803044826257.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-ssh11077146266118695437.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16337’ Running on prd-ubuntu20.04-docker-8c-8g-16344 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 > 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 Avoid second fetch Checking out Revision c046c07be681eb47061b9e73bdc74da4165eb351 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1461)" > git config core.sparsecheckout # timeout=10 > git checkout -f c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 > git rev-list --no-walk a7496c2eac89da67a3eb73648901a7f4e26950f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:52:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:52:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:52:41 ========================================================= 18:52:41 EdgeX Global Pipelines Version Info 18:52:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:52:42 ------------------- 18:52:42 stable info: 18:52:42 ------------------- 18:52:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:52:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:52:42 Message: update stable to v1.0.249 18:52:42 ------------------- 18:52:42 experimental info: 18:52:42 ------------------- 18:52:42 Commited By: **** collab-it+edgex@linuxfoundation.org 18:52:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:52:42 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c046c07 [Pipeline] echo 18:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:43 provisioning config files... 18:52:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8821029906038441490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:43 ---> docker-login.sh 18:52:43 nexus3.edgexfoundry.org:10001 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 nexus3.edgexfoundry.org:10002 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 nexus3.edgexfoundry.org:10003 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 nexus3.edgexfoundry.org:10004 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 docker.io 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 ---> docker-login.sh ends [Pipeline] } 18:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:52:45 + git rev-list -1 --merges c046c07be681eb47061b9e73bdc74da4165eb351~1..c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] echo 18:52:45 -----------> git rev-list -1 --merges c046c07be681eb47061b9e73bdc74da4165eb351~1..c046c07be681eb47061b9e73bdc74da4165eb351 c046c07be681eb47061b9e73bdc74da4165eb351 [false] [Pipeline] sh 18:52:45 + git log --format=format:%s -1 c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] echo 18:52:45 ========================================================= 18:52:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:52:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:45 + git log --format=format:%s -1 c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] echo 18:52:45 [semverPrep] GIT_COMMIT: c046c07be681eb47061b9e73bdc74da4165eb351, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1461) [Pipeline] echo 18:52:45 [semverPrep] This is not a build commit. [Pipeline] sh 18:52:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:46 + grep -v github /etc/ssh/ssh_known_hosts 18:52:46 + [ -e /tmp/ssh_known_hosts ] 18:52:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:52:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:52:46 + sudo tee -a /etc/ssh/ssh_known_hosts 18:52:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:46 18:52:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:46 0.1.4: Pulling from edgex-devops/py-git-semver 18:52:46 b85a868b505f: Pulling fs layer 18:52:46 e2be974225ed: Pulling fs layer 18:52:46 339a4e72a1f5: Pulling fs layer 18:52:46 988bab9f4d93: Pulling fs layer 18:52:46 1469e6f7b9e6: Pulling fs layer 18:52:46 eaf3925da568: Pulling fs layer 18:52:46 bab4dde63d76: Pulling fs layer 18:52:46 bde34c3a00c8: Pulling fs layer 18:52:46 b352a97aabf1: Pulling fs layer 18:52:46 4872d77fe225: Pulling fs layer 18:52:46 5851b861e8e6: Pulling fs layer 18:52:46 988bab9f4d93: Waiting 18:52:46 1469e6f7b9e6: Waiting 18:52:46 eaf3925da568: Waiting 18:52:46 bab4dde63d76: Waiting 18:52:46 bde34c3a00c8: Waiting 18:52:46 4872d77fe225: Waiting 18:52:46 b352a97aabf1: Waiting 18:52:46 5851b861e8e6: Waiting 18:52:46 e2be974225ed: Verifying Checksum 18:52:46 e2be974225ed: Download complete 18:52:46 988bab9f4d93: Verifying Checksum 18:52:46 1469e6f7b9e6: Verifying Checksum 18:52:46 1469e6f7b9e6: Download complete 18:52:46 eaf3925da568: Verifying Checksum 18:52:46 eaf3925da568: Download complete 18:52:46 339a4e72a1f5: Verifying Checksum 18:52:46 339a4e72a1f5: Download complete 18:52:46 bde34c3a00c8: Verifying Checksum 18:52:46 bde34c3a00c8: Download complete 18:52:46 b352a97aabf1: Verifying Checksum 18:52:46 b352a97aabf1: Download complete 18:52:46 4872d77fe225: Verifying Checksum 18:52:46 4872d77fe225: Download complete 18:52:46 5851b861e8e6: Verifying Checksum 18:52:46 5851b861e8e6: Download complete 18:52:46 b85a868b505f: Download complete 18:52:47 bab4dde63d76: Verifying Checksum 18:52:47 bab4dde63d76: Download complete 18:52:48 b85a868b505f: Pull complete 18:52:48 e2be974225ed: Pull complete 18:52:48 339a4e72a1f5: Pull complete 18:52:48 988bab9f4d93: Pull complete 18:52:49 1469e6f7b9e6: Pull complete 18:52:49 eaf3925da568: Pull complete 18:52:51 bab4dde63d76: Pull complete 18:52:51 bde34c3a00c8: Pull complete 18:52:51 b352a97aabf1: Pull complete 18:52:51 4872d77fe225: Pull complete 18:52:51 5851b861e8e6: Pull complete 18:52:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:51 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 18:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:54 $ docker top e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 -eo pid,comm 18: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). 18:52:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:54 [ssh-agent] Looking for ssh-agent implementation... 18:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:54 $ docker exec e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 ssh-agent 18:52:54 SSH_AUTH_SOCK=/tmp/ssh-BopM9j5xECEO/agent.32 18:52:54 SSH_AGENT_PID=38 18:52:54 Running ssh-add (command line suppressed) 18:52:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14362612362810256114.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14362612362810256114.key) 18:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:55 + git tag --points-at HEAD [Pipeline] } 18:52:55 $ docker exec --env ******** --env ******** e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 ssh-agent -k 18:52:55 unset SSH_AUTH_SOCK; 18:52:55 unset SSH_AGENT_PID; 18:52:55 echo Agent pid 38 killed; 18:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:52:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:55 [ssh-agent] Looking for ssh-agent implementation... 18:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:55 $ docker exec e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 ssh-agent 18:52:55 SSH_AUTH_SOCK=/tmp/ssh-IrCGIUjBDq63/agent.71 18:52:55 SSH_AGENT_PID=77 18:52:55 Running ssh-add (command line suppressed) 18:52:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10122717331771639647.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10122717331771639647.key) 18:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:56 + git semver init 18:52:56 2023-05-22 18:52:56,382 [run_init] DEBUG init version:0.0.0 force:False 18:52:56 2023-05-22 18:52:56,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:52:56 2023-05-22 18:52:56,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:52:56 2023-05-22 18:52:56,385 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:52:57 2023-05-22 18:52:57,279 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:52:57 2023-05-22 18:52:57,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:52:57 2023-05-22 18:52:57,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:57 2023-05-22 18:52:57,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:57 3.0.0-dev.93 [Pipeline] } 18:52:57 $ docker exec --env ******** --env ******** e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 ssh-agent -k 18:52:57 unset SSH_AUTH_SOCK; 18:52:57 unset SSH_AGENT_PID; 18:52:57 echo Agent pid 77 killed; 18:52:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:57 + git semver [Pipeline] } 18:52:58 $ docker stop --time=1 e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 18:52:59 $ docker rm -f --volumes e1509ef528761daf64a870ac8b109e4fb5e6f60117bc804c4960bfe5cc67bb05 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:59 Stashed 1 file(s) [Pipeline] echo 18:52:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.93 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:00 provisioning config files... 18:53:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7650584084944830464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:00 ---> docker-login.sh 18:53:00 nexus3.edgexfoundry.org:10001 18:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:00 Configure a credential helper to remove this warning. See 18:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:00 18:53:00 Login Succeeded 18:53:00 nexus3.edgexfoundry.org:10002 18:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:00 Configure a credential helper to remove this warning. See 18:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:00 18:53:00 Login Succeeded 18:53:00 nexus3.edgexfoundry.org:10003 18:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:00 Configure a credential helper to remove this warning. See 18:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:00 18:53:00 Login Succeeded 18:53:00 nexus3.edgexfoundry.org:10004 18:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:00 Configure a credential helper to remove this warning. See 18:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:00 18:53:00 Login Succeeded 18:53:00 docker.io 18:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:00 Configure a credential helper to remove this warning. See 18:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:00 18:53:00 Login Succeeded 18:53:00 ---> docker-login.sh ends [Pipeline] } 18:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:00 ========================================================= 18:53:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:53:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:01 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:53:01 Sending build context to Docker daemon 11.17MB 18:53:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:53:01 Step 2/10 : FROM ${BASE} AS builder 18:53:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:01 f56be85fc22e: Pulling fs layer 18:53:01 85791d961cd3: Pulling fs layer 18:53:01 d694b5ae8c79: Pulling fs layer 18:53:01 9f32a84ed3da: Pulling fs layer 18:53:01 4d19c01a9841: Pulling fs layer 18:53:01 9325e15d5711: Pulling fs layer 18:53:01 556b6ee489ea: Pulling fs layer 18:53:01 c5a4b2cf53e6: Pulling fs layer 18:53:01 9f32a84ed3da: Waiting 18:53:01 4d19c01a9841: Waiting 18:53:01 9325e15d5711: Waiting 18:53:01 556b6ee489ea: Waiting 18:53:01 c5a4b2cf53e6: Waiting 18:53:01 85791d961cd3: Download complete 18:53:01 9f32a84ed3da: Verifying Checksum 18:53:01 9f32a84ed3da: Download complete 18:53:01 4d19c01a9841: Verifying Checksum 18:53:01 4d19c01a9841: Download complete 18:53:01 f56be85fc22e: Download complete 18:53:01 9325e15d5711: Verifying Checksum 18:53:01 9325e15d5711: Download complete 18:53:01 f56be85fc22e: Pull complete 18:53:01 85791d961cd3: Pull complete 18:53:02 c5a4b2cf53e6: Verifying Checksum 18:53:02 c5a4b2cf53e6: Download complete 18:53:02 d694b5ae8c79: Download complete 18:53:02 556b6ee489ea: Verifying Checksum 18:53:02 556b6ee489ea: Download complete 18:53:05 d694b5ae8c79: Pull complete 18:53:05 9f32a84ed3da: Pull complete 18:53:05 4d19c01a9841: Pull complete 18:53:05 9325e15d5711: Pull complete 18:53:08 556b6ee489ea: Pull complete 18:53:09 c5a4b2cf53e6: Pull complete 18:53:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:53:09 ---> c4be618373d6 18:53:09 Step 3/10 : ARG MAKE=make build 18:53:14 ---> Running in 763ad0efe2bd 18:53:14 Removing intermediate container 763ad0efe2bd 18:53:14 ---> bb975670e3be 18:53:14 Step 4/10 : WORKDIR /device-sdk-go 18:53:14 ---> Running in 8713dd2905c6 18:53:14 Removing intermediate container 8713dd2905c6 18:53:14 ---> 02d5721eb4ba 18:53:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:53:14 ---> Running in 907ade26cd7b 18:53:14 Removing intermediate container 907ade26cd7b 18:53:14 ---> ff8ea27d3bbd 18:53:14 Step 6/10 : RUN apk add --update --no-cache make git 18:53:14 ---> Running in e13229b2d55d 18:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:14 OK: 265 MiB in 53 packages 18:53:15 Still waiting to schedule task 18:53:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16340’ 18:53:15 Removing intermediate container e13229b2d55d 18:53:15 ---> 4b718902eac6 18:53:15 Step 7/10 : COPY go.mod vendor* ./ 18:53:15 ---> dc2e410b9eef 18:53:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:15 ---> Running in 306a0001499a 18:54:02 Removing intermediate container 306a0001499a 18:54:02 ---> e97dc9f092e1 18:54:02 Step 9/10 : COPY . . 18:54:02 ---> 6354d82bd468 18:54:02 Step 10/10 : RUN ${MAKE} 18:54:02 ---> Running in 7454db758a65 18:54:02 noop 18:54:02 Removing intermediate container 7454db758a65 18:54:02 ---> 8279589beb66 18:54:02 Successfully built 8279589beb66 18:54:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:02 + docker inspect -f . ci-base-image-x86_64 18:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:02 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 18:54:02 $ 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 18:54:03 $ docker top c2dbf6aaa1020fa44149489eff43c705f756a76c44b914431e27fc7dd220b07c -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:03 + go version 18:54:03 go version go1.20.2 linux/amd64 [Pipeline] } 18:54:03 $ docker stop --time=1 c2dbf6aaa1020fa44149489eff43c705f756a76c44b914431e27fc7dd220b07c 18:54:04 $ docker rm -f --volumes c2dbf6aaa1020fa44149489eff43c705f756a76c44b914431e27fc7dd220b07c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:05 + docker inspect -f . ci-base-image-x86_64 18:54:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:05 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 18:54:05 $ 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 18:54:05 $ docker top a1cc7625d376af2d309cb46daf21c7c3657249a9246d0f29fe69393cb562b3ae -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:54:06 + make test 18:54:06 go test -race -coverprofile=coverage.out ./... 18:54:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:54:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:54:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements 18:54:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s coverage: 86.0% of statements 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:54:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 77.5% of statements 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:54:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:54:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 14.3% of statements 18:54:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements 18:54:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements 18:54:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.7% of statements 18:54:48 GO111MODULE=on go vet ./... 18:54:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:51 $ docker stop --time=1 a1cc7625d376af2d309cb46daf21c7c3657249a9246d0f29fe69393cb562b3ae 18:54:55 $ docker rm -f --volumes a1cc7625d376af2d309cb46daf21c7c3657249a9246d0f29fe69393cb562b3ae [Pipeline] // withDockerContainer [Pipeline] sh 18:54:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:54:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:57 + ls -al . 18:54:57 total 272 18:54:57 drwxrwxr-x 11 jenkins jenkins 4096 May 22 18:54 . 18:54:57 drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:52 .. 18:54:57 -rw-rw-r-- 1 jenkins jenkins 140 May 22 18:52 .dockerignore 18:54:57 drwxrwxr-x 8 jenkins jenkins 4096 May 22 18:52 .git 18:54:57 drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:52 .github 18:54:57 -rw-rw-r-- 1 jenkins jenkins 137 May 22 18:52 .gitignore 18:54:57 -rw-rw-r-- 1 jenkins jenkins 42 May 22 18:52 .golangci.yml 18:54:57 drwxr-xr-x 3 jenkins jenkins 4096 May 22 18:52 .semver 18:54:57 -rw-rw-r-- 1 jenkins jenkins 31677 May 22 18:52 CHANGELOG.md 18:54:57 -rw-rw-r-- 1 jenkins jenkins 677 May 22 18:52 GOVERNANCE.md 18:54:57 -rw-rw-r-- 1 jenkins jenkins 885 May 22 18:52 Jenkinsfile 18:54:57 -rw-rw-r-- 1 jenkins jenkins 11341 May 22 18:52 LICENSE 18:54:57 -rw-rw-r-- 1 jenkins jenkins 1714 May 22 18:52 Makefile 18:54:57 -rw-rw-r-- 1 jenkins jenkins 619 May 22 18:52 OWNERS.md 18:54:57 -rw-rw-r-- 1 jenkins jenkins 4891 May 22 18:52 README.md 18:54:57 -rw-rw-r-- 1 jenkins jenkins 12 May 22 18:52 VERSION 18:54:57 drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:52 bin 18:54:57 -rw-r--r-- 1 jenkins jenkins 106150 May 22 18:54 coverage.out 18:54:57 drwxrwxr-x 5 jenkins jenkins 4096 May 22 18:52 example 18:54:57 -rw-rw-r-- 1 jenkins jenkins 3234 May 22 18:52 go.mod 18:54:57 -rw-rw-r-- 1 jenkins jenkins 30781 May 22 18:52 go.sum 18:54:57 drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:52 internal 18:54:57 drwxrwxr-x 3 jenkins jenkins 4096 May 22 18:52 openapi 18:54:57 drwxrwxr-x 6 jenkins jenkins 4096 May 22 18:52 pkg 18:54:57 drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:52 snap 18:54:57 -rw-rw-r-- 1 jenkins jenkins 222 May 22 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:57 + 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=c046c07be681eb47061b9e73bdc74da4165eb351 --label arch=amd64 --label version=3.0.0-dev.93 . 18:54:57 Sending build context to Docker daemon 11.27MB 18:54:57 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:54:57 Step 2/23 : FROM ${BASE} AS builder 18:54:57 ---> 8279589beb66 18:54:57 Step 3/23 : ARG MAKE=make build 18:54:57 ---> Running in 4396e8b0a8f2 18:54:57 Removing intermediate container 4396e8b0a8f2 18:54:57 ---> f8d4cdb283d7 18:54:57 Step 4/23 : WORKDIR /device-sdk-go 18:54:57 ---> Running in e2acc9644c43 18:54:57 Removing intermediate container e2acc9644c43 18:54:57 ---> bc2302f50628 18:54:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:54:57 ---> Running in 187cf4b1dce4 18:54:57 Removing intermediate container 187cf4b1dce4 18:54:57 ---> aedae9559eab 18:54:57 Step 6/23 : RUN apk add --update --no-cache make git 18:54:57 ---> Running in 4e0e408bc942 18:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:58 OK: 265 MiB in 53 packages 18:54:59 Removing intermediate container 4e0e408bc942 18:54:59 ---> fdb318b3b1b0 18:54:59 Step 7/23 : COPY go.mod vendor* ./ 18:54:59 ---> 6fbcb61ec3db 18:54:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:59 ---> Running in fd6ecd100c15 18:55:00 Removing intermediate container fd6ecd100c15 18:55:00 ---> 3dfc2ef01a01 18:55:00 Step 9/23 : COPY . . 18:55:00 ---> aa60a2a55bb7 18:55:00 Step 10/23 : RUN ${MAKE} 18:55:00 ---> Running in 0fe0ba65c907 18:55:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.93" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:55:18 Removing intermediate container 0fe0ba65c907 18:55:18 ---> 91eb622d6f74 18:55:18 Step 11/23 : FROM alpine:3.17 18:55:18 3.17: Pulling from library/alpine 18:55:18 f56be85fc22e: Already exists 18:55:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:55:18 Status: Downloaded newer image for alpine:3.17 18:55:18 ---> 9ed4aefc74f6 18:55:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:55:18 ---> Running in f4e8bd5bfbc1 18:55:18 Removing intermediate container f4e8bd5bfbc1 18:55:18 ---> 69bf351686f5 18:55:18 Step 13/23 : RUN apk add --update --no-cache 18:55:18 ---> Running in 7fc35efd5537 18:55:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:18 OK: 7 MiB in 15 packages 18:55:19 Removing intermediate container 7fc35efd5537 18:55:19 ---> eead7b379d08 18:55:19 Step 14/23 : WORKDIR / 18:55:19 ---> Running in e3a506451f45 18:55:19 Removing intermediate container e3a506451f45 18:55:19 ---> 0591ac2688bd 18:55:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:55:19 ---> 0d36b145a007 18:55:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:55:20 ---> b48fda602872 18:55:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:55:20 ---> 1ef401e4bd5e 18:55:20 Step 18/23 : EXPOSE 59999 18:55:20 ---> Running in 9abdf54f3e47 18:55:20 Removing intermediate container 9abdf54f3e47 18:55:20 ---> 7fc13849bafa 18:55:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:55:20 ---> Running in a2f8903c09e0 18:55:20 Removing intermediate container a2f8903c09e0 18:55:20 ---> a8e9e6dfa572 18:55:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:20 ---> Running in 00caca9a212b 18:55:20 Removing intermediate container 00caca9a212b 18:55:20 ---> 15297cc3f7df 18:55:20 Step 21/23 : LABEL arch=amd64 18:55:20 ---> Running in 4126022b9bab 18:55:20 Removing intermediate container 4126022b9bab 18:55:20 ---> 2a627dbbf2e5 18:55:20 Step 22/23 : LABEL git_sha=c046c07be681eb47061b9e73bdc74da4165eb351 18:55:20 ---> Running in 3cd1902166dc 18:55:20 Removing intermediate container 3cd1902166dc 18:55:20 ---> 41f68ca562d0 18:55:20 Step 23/23 : LABEL version=3.0.0-dev.93 18:55:20 ---> Running in cb1b1cb91baf 18:55:20 Removing intermediate container cb1b1cb91baf 18:55:20 ---> 53cda993be49 18:55:20 [Warning] One or more build-args [ARCH] were not consumed 18:55:20 Successfully built 53cda993be49 18:55:20 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:21 18:55:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:21 latest: Pulling from edgex-lftools-log-publisher 18:55:21 5eb5b503b376: Pulling fs layer 18:55:21 5c69ac0246d0: Pulling fs layer 18:55:21 ec43610c2a17: Pulling fs layer 18:55:21 3a2ae6a8a46f: Pulling fs layer 18:55:21 33b1e0a273af: Pulling fs layer 18:55:21 5d3b04190fa2: Pulling fs layer 18:55:21 2f39f015ded8: Pulling fs layer 18:55:21 3a2ae6a8a46f: Waiting 18:55:21 2f39f015ded8: Waiting 18:55:21 33b1e0a273af: Waiting 18:55:21 5c69ac0246d0: Download complete 18:55:21 3a2ae6a8a46f: Verifying Checksum 18:55:21 3a2ae6a8a46f: Download complete 18:55:21 33b1e0a273af: Verifying Checksum 18:55:21 33b1e0a273af: Download complete 18:55:21 5d3b04190fa2: Verifying Checksum 18:55:21 5d3b04190fa2: Download complete 18:55:21 ec43610c2a17: Verifying Checksum 18:55:21 ec43610c2a17: Download complete 18:55:21 5eb5b503b376: Verifying Checksum 18:55:21 5eb5b503b376: Download complete 18:55:22 2f39f015ded8: Download complete 18:55:22 5eb5b503b376: Pull complete 18:55:22 5c69ac0246d0: Pull complete 18:55:23 ec43610c2a17: Pull complete 18:55:23 3a2ae6a8a46f: Pull complete 18:55:23 33b1e0a273af: Pull complete 18:55:23 5d3b04190fa2: Pull complete 18:55:27 2f39f015ded8: Pull complete 18:55:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:27 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 18:55:28 $ 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 18:55:31 $ docker top 02833b9f894999adebee142cdc2dd0ec9916517fabd6572f785e0da4b12ee4ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:31 ---> job-cost.sh 18:55:31 lf-activate-venv: SKIPPING 18:55:31 INFO: No Stack... 18:55:32 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:32 INFO: Archiving Costs [Pipeline] sh 18:55:32 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:55:32 + cut -d, -f6 [Pipeline] lock 18:55:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] 18:55:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] did not exist. Created. 18:55:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:51 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:51 Stashed 1 file(s) [Pipeline] } 18:55:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:51 $ docker stop --time=1 02833b9f894999adebee142cdc2dd0ec9916517fabd6572f785e0da4b12ee4ad 18:55:52 $ docker rm -f --volumes 02833b9f894999adebee142cdc2dd0ec9916517fabd6572f785e0da4b12ee4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:56:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16347 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:56:31 Running in /w/workspace/device-sdk-go/224 [Pipeline] { [Pipeline] checkout 18:56:31 The recommended git tool is: git 18:56:38 using credential edgex-jenkins-ssh 18:56:38 Cloning the remote Git repository 18:56:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:56:38 > git init /w/workspace/device-sdk-go/224 # timeout=10 18:56:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:56:38 > git --version # timeout=10 18:56:38 > git --version # 'git version 2.25.1' 18:56:38 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:56:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:41 Avoid second fetch 18:56:41 Checking out Revision c046c07be681eb47061b9e73bdc74da4165eb351 (main) 18:56:41 > git config core.sparsecheckout # timeout=10 18:56:41 > git checkout -f c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 18:56:42 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1461)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:56:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:43 Dload Upload Total Spent Left Speed 18:56:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 18:56:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:56:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:56:44 + sudo tee /etc/docker/daemon.new 18:56:44 { 18:56:44 "registry-mirrors": [ 18:56:44 "https://nexus3.edgexfoundry.org:10001" 18:56:44 ], 18:56:44 "bip": "10.250.0.254/24", 18:56:44 "hosts": [ 18:56:44 "tcp://0.0.0.0:5555", 18:56:44 "unix:///var/run/docker.sock" 18:56:44 ], 18:56:44 "mtu": 1458, 18:56:44 "selinux-enabled": true, 18:56:44 "seccomp-profile": "/etc/docker/seccomp.json" 18:56:44 } [Pipeline] sh 18:56:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:56:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:03 provisioning config files... 18:57:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/224@tmp/config4843776731271722243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:03 ---> docker-login.sh 18:57:03 nexus3.edgexfoundry.org:10001 18:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:04 Configure a credential helper to remove this warning. See 18:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:04 18:57:04 Login Succeeded 18:57:04 nexus3.edgexfoundry.org:10002 18:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:04 Configure a credential helper to remove this warning. See 18:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:04 18:57:04 Login Succeeded 18:57:04 nexus3.edgexfoundry.org:10003 18:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:05 Configure a credential helper to remove this warning. See 18:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:05 18:57:05 Login Succeeded 18:57:05 nexus3.edgexfoundry.org:10004 18:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:05 Configure a credential helper to remove this warning. See 18:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:05 18:57:05 Login Succeeded 18:57:05 docker.io 18:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:06 Configure a credential helper to remove this warning. See 18:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:06 18:57:06 Login Succeeded 18:57:06 ---> docker-login.sh ends [Pipeline] } 18:57:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:06 ========================================================= 18:57:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:57:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:07 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:57:07 Sending build context to Docker daemon 6.004MB 18:57:07 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:57:07 Step 2/10 : FROM ${BASE} AS builder 18:57:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:57:07 c41833b44d91: Pulling fs layer 18:57:07 ed15518f5707: Pulling fs layer 18:57:07 feae8fd75edb: Pulling fs layer 18:57:07 242c74f7c9fa: Pulling fs layer 18:57:07 3cdef696dda3: Pulling fs layer 18:57:07 2ced38df9373: Pulling fs layer 18:57:07 58f1dce35555: Pulling fs layer 18:57:07 3cdef696dda3: Waiting 18:57:07 2ced38df9373: Waiting 18:57:07 58f1dce35555: Waiting 18:57:07 242c74f7c9fa: Waiting 18:57:07 ed15518f5707: Download complete 18:57:07 242c74f7c9fa: Verifying Checksum 18:57:07 242c74f7c9fa: Download complete 18:57:07 3cdef696dda3: Verifying Checksum 18:57:07 3cdef696dda3: Download complete 18:57:07 c41833b44d91: Verifying Checksum 18:57:07 c41833b44d91: Download complete 18:57:09 c41833b44d91: Pull complete 18:57:09 58f1dce35555: Verifying Checksum 18:57:09 58f1dce35555: Download complete 18:57:09 ed15518f5707: Pull complete 18:57:10 feae8fd75edb: Download complete 18:57:10 2ced38df9373: Download complete 18:57:20 feae8fd75edb: Pull complete 18:57:20 242c74f7c9fa: Pull complete 18:57:20 3cdef696dda3: Pull complete 18:57:27 2ced38df9373: Pull complete 18:57:30 58f1dce35555: Pull complete 18:57:30 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:57:30 ---> fadd8f120f05 18:57:30 Step 3/10 : ARG MAKE=make build 18:57:31 ---> Running in 49c3073570a0 18:57:31 Removing intermediate container 49c3073570a0 18:57:31 ---> 8e8d377c953f 18:57:31 Step 4/10 : WORKDIR /device-sdk-go 18:57:31 ---> Running in 6f846c4577a3 18:57:32 Removing intermediate container 6f846c4577a3 18:57:32 ---> 6ff55813f1c2 18:57:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:57:32 ---> Running in d4046397e25c 18:57:32 Removing intermediate container d4046397e25c 18:57:32 ---> eccd0572e097 18:57:32 Step 6/10 : RUN apk add --update --no-cache make git 18:57:32 ---> Running in ebe34f362239 18:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:57:35 OK: 263 MiB in 53 packages 18:57:36 Removing intermediate container ebe34f362239 18:57:36 ---> a9793f92fba4 18:57:36 Step 7/10 : COPY go.mod vendor* ./ 18:57:41 ---> 82c079cd2686 18:57:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:41 ---> Running in 5bed1b505c60 18:58:49 Removing intermediate container 5bed1b505c60 18:58:49 ---> 530fe9e1c2d7 18:58:49 Step 9/10 : COPY . . 18:58:49 ---> 39687549ab90 18:58:49 Step 10/10 : RUN ${MAKE} 18:58:49 ---> Running in 2f3b6c8139fb 18:58:49 noop 18:58:49 Removing intermediate container 2f3b6c8139fb 18:58:49 ---> 87d09dc7b112 18:58:49 Successfully built 87d09dc7b112 18:58:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:49 + docker inspect -f . ci-base-image-arm64 18:58:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:49 prd-ubuntu20.04-docker-arm64-4c-16g-16347 does not seem to be running inside a container 18:58:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/224 -v /w/workspace/device-sdk-go/224:/w/workspace/device-sdk-go/224:rw,z -v /w/workspace/device-sdk-go/224@tmp:/w/workspace/device-sdk-go/224@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 18:58:51 $ docker top b5d451393f07099aac01cdaaaa2551748180fd76147a13bafda8f307d60fa50a -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:51 + go version 18:58:51 go version go1.20.2 linux/arm64 [Pipeline] } 18:58:51 $ docker stop --time=1 b5d451393f07099aac01cdaaaa2551748180fd76147a13bafda8f307d60fa50a 18:58:53 $ docker rm -f --volumes b5d451393f07099aac01cdaaaa2551748180fd76147a13bafda8f307d60fa50a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:54 + docker inspect -f . ci-base-image-arm64 18:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:54 prd-ubuntu20.04-docker-arm64-4c-16g-16347 does not seem to be running inside a container 18:58:54 $ 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/224 -v /w/workspace/device-sdk-go/224:/w/workspace/device-sdk-go/224:rw,z -v /w/workspace/device-sdk-go/224@tmp:/w/workspace/device-sdk-go/224@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 18:58:55 $ docker top c3c4bc98eb8ddf75614c553190e2c8d0d1e0b7110bc77cc4da3f4c7a2d9cf968 -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/224 [Pipeline] fileExists [Pipeline] sh 18:58:57 + make test 18:58:57 go test -race -coverprofile=coverage.out ./... 18:59:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:02:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.240s coverage: 27.6% of statements 19:02:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.262s coverage: 80.2% of statements 19:02:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:02:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:02:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.398s coverage: 86.0% of statements 19:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 19:02:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.491s coverage: 77.5% of statements 19:02:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.284s coverage: 14.3% of statements 19:02:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:02:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 68.5% of statements 19:02:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.475s coverage: 89.2% of statements 19:02:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:02:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.260s coverage: 5.7% of statements 19:02:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:02:42 GO111MODULE=on go vet ./... 19:05:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:05:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:05:19 ./bin/test-attribution-txt.sh [Pipeline] echo 19:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:05:19 $ docker stop --time=1 c3c4bc98eb8ddf75614c553190e2c8d0d1e0b7110bc77cc4da3f4c7a2d9cf968 19:05:21 $ docker rm -f --volumes c3c4bc98eb8ddf75614c553190e2c8d0d1e0b7110bc77cc4da3f4c7a2d9cf968 [Pipeline] // withDockerContainer [Pipeline] sh 19:05:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:22 Warning: overwriting stash ‘coverage-report’ 19:05:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:23 + ls -al . 19:05:23 total 268 19:05:23 drwxrwxr-x 10 jenkins jenkins 4096 May 22 18:59 . 19:05:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:56 .. 19:05:23 -rw-rw-r-- 1 jenkins jenkins 140 May 22 18:56 .dockerignore 19:05:23 drwxrwxr-x 8 jenkins jenkins 4096 May 22 18:56 .git 19:05:23 drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:56 .github 19:05:23 -rw-rw-r-- 1 jenkins jenkins 137 May 22 18:56 .gitignore 19:05:23 -rw-rw-r-- 1 jenkins jenkins 42 May 22 18:56 .golangci.yml 19:05:23 -rw-rw-r-- 1 jenkins jenkins 31677 May 22 18:56 CHANGELOG.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 677 May 22 18:56 GOVERNANCE.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 885 May 22 18:56 Jenkinsfile 19:05:23 -rw-rw-r-- 1 jenkins jenkins 11341 May 22 18:56 LICENSE 19:05:23 -rw-rw-r-- 1 jenkins jenkins 1714 May 22 18:56 Makefile 19:05:23 -rw-rw-r-- 1 jenkins jenkins 619 May 22 18:56 OWNERS.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 4891 May 22 18:56 README.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 12 May 22 18:52 VERSION 19:05:23 drwxrwxr-x 2 jenkins jenkins 4096 May 22 18:56 bin 19:05:23 -rw-r--r-- 1 jenkins jenkins 106152 May 22 19:02 coverage.out 19:05:23 drwxrwxr-x 5 jenkins jenkins 4096 May 22 18:56 example 19:05:23 -rw-rw-r-- 1 jenkins jenkins 3234 May 22 18:56 go.mod 19:05:23 -rw-rw-r-- 1 jenkins jenkins 30781 May 22 18:56 go.sum 19:05:23 drwxrwxr-x 12 jenkins jenkins 4096 May 22 18:56 internal 19:05:23 drwxrwxr-x 3 jenkins jenkins 4096 May 22 18:56 openapi 19:05:23 drwxrwxr-x 6 jenkins jenkins 4096 May 22 18:56 pkg 19:05:23 drwxrwxr-x 4 jenkins jenkins 4096 May 22 18:56 snap 19:05:23 -rw-rw-r-- 1 jenkins jenkins 222 May 22 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:24 + 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=c046c07be681eb47061b9e73bdc74da4165eb351 --label arch=arm64 --label version=3.0.0-dev.93 . 19:05:24 Sending build context to Docker daemon 6.111MB 19:05:24 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:05:24 Step 2/23 : FROM ${BASE} AS builder 19:05:24 ---> 87d09dc7b112 19:05:24 Step 3/23 : ARG MAKE=make build 19:05:24 ---> Running in d47d17adf43c 19:05:24 Removing intermediate container d47d17adf43c 19:05:24 ---> 63400716f0b4 19:05:24 Step 4/23 : WORKDIR /device-sdk-go 19:05:24 ---> Running in 0ff93a2763ed 19:05:25 Removing intermediate container 0ff93a2763ed 19:05:25 ---> 61016b435caf 19:05:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:05:25 ---> Running in cb8308e3e6da 19:05:25 Removing intermediate container cb8308e3e6da 19:05:25 ---> 89d88f996741 19:05:25 Step 6/23 : RUN apk add --update --no-cache make git 19:05:25 ---> Running in 7ae0b7757737 19:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:05:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:05:28 OK: 263 MiB in 53 packages 19:05:29 Removing intermediate container 7ae0b7757737 19:05:29 ---> 65d7ed05fe4d 19:05:29 Step 7/23 : COPY go.mod vendor* ./ 19:05:29 ---> 3143b8f3bc12 19:05:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:29 ---> Running in 5213e96f2f7a 19:05:32 Removing intermediate container 5213e96f2f7a 19:05:32 ---> a17982314cfd 19:05:32 Step 9/23 : COPY . . 19:05:33 ---> be12831af9cc 19:05:33 Step 10/23 : RUN ${MAKE} 19:05:33 ---> Running in 357fb3c4c3e2 19:05:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.93" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:07:41 Removing intermediate container 357fb3c4c3e2 19:07:41 ---> abaa2cedfa22 19:07:41 Step 11/23 : FROM alpine:3.17 19:07:41 3.17: Pulling from library/alpine 19:07:41 c41833b44d91: Already exists 19:07:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:07:41 Status: Downloaded newer image for alpine:3.17 19:07:41 ---> 51e60588ff2c 19:07:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:07:41 ---> Running in 8d05963acad5 19:07:41 Removing intermediate container 8d05963acad5 19:07:41 ---> 1ce411602787 19:07:41 Step 13/23 : RUN apk add --update --no-cache 19:07:41 ---> Running in db156bfaccb6 19:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:07:44 OK: 7 MiB in 15 packages 19:07:44 Removing intermediate container db156bfaccb6 19:07:44 ---> 5fcd668cf867 19:07:44 Step 14/23 : WORKDIR / 19:07:44 ---> Running in 294ae61fb313 19:07:45 Removing intermediate container 294ae61fb313 19:07:45 ---> 5cd973691c89 19:07:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:07:45 ---> dece2ee260b2 19:07:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:07:47 ---> 8eb879c4d87c 19:07:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:07:47 ---> d34284b4a49e 19:07:47 Step 18/23 : EXPOSE 59999 19:07:47 ---> Running in 79839036211b 19:07:47 Removing intermediate container 79839036211b 19:07:47 ---> 11d05d34602c 19:07:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:07:47 ---> Running in ebedec0ab216 19:07:47 Removing intermediate container ebedec0ab216 19:07:47 ---> 157c8c64a453 19:07:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:07:48 ---> Running in 87240e49b20a 19:07:48 Removing intermediate container 87240e49b20a 19:07:48 ---> 2bbc8eeaceba 19:07:48 Step 21/23 : LABEL arch=arm64 19:07:48 ---> Running in 0b536cae368c 19:07:48 Removing intermediate container 0b536cae368c 19:07:48 ---> f0a64f9ae25a 19:07:48 Step 22/23 : LABEL git_sha=c046c07be681eb47061b9e73bdc74da4165eb351 19:07:48 ---> Running in 1dbfb059d19b 19:07:49 Removing intermediate container 1dbfb059d19b 19:07:49 ---> 335b3f4ed921 19:07:49 Step 23/23 : LABEL version=3.0.0-dev.93 19:07:49 ---> Running in be6c17734885 19:07:49 Removing intermediate container be6c17734885 19:07:49 ---> dcd3e99d79c7 19:07:49 [Warning] One or more build-args [ARCH] were not consumed 19:07:49 Successfully built dcd3e99d79c7 19:07:49 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:49 19:07:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:50 arm64: Pulling from edgex-lftools-log-publisher 19:07:50 8998bd30e6a1: Pulling fs layer 19:07:50 04944245beec: Pulling fs layer 19:07:50 699f458cf7ca: Pulling fs layer 19:07:50 765212b225bb: Pulling fs layer 19:07:50 f23df028b6ca: Pulling fs layer 19:07:50 d65c8cfc05b1: Pulling fs layer 19:07:50 2437ff75d9bd: Pulling fs layer 19:07:50 765212b225bb: Waiting 19:07:50 d65c8cfc05b1: Waiting 19:07:50 2437ff75d9bd: Waiting 19:07:50 f23df028b6ca: Waiting 19:07:50 04944245beec: Verifying Checksum 19:07:50 04944245beec: Download complete 19:07:50 765212b225bb: Verifying Checksum 19:07:50 765212b225bb: Download complete 19:07:50 f23df028b6ca: Verifying Checksum 19:07:50 f23df028b6ca: Download complete 19:07:50 d65c8cfc05b1: Verifying Checksum 19:07:50 d65c8cfc05b1: Download complete 19:07:50 699f458cf7ca: Download complete 19:07:51 8998bd30e6a1: Download complete 19:07:53 2437ff75d9bd: Verifying Checksum 19:07:53 2437ff75d9bd: Download complete 19:07:55 8998bd30e6a1: Pull complete 19:07:57 04944245beec: Pull complete 19:07:57 699f458cf7ca: Pull complete 19:07:58 765212b225bb: Pull complete 19:07:59 f23df028b6ca: Pull complete 19:07:59 d65c8cfc05b1: Pull complete 19:08:14 2437ff75d9bd: Pull complete 19:08:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:08:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:08:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:14 prd-ubuntu20.04-docker-arm64-4c-16g-16347 does not seem to be running inside a container 19:08:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/224 -v /w/workspace/device-sdk-go/224:/w/workspace/device-sdk-go/224:rw,z -v /w/workspace/device-sdk-go/224@tmp:/w/workspace/device-sdk-go/224@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 19:08:17 $ docker top 0f52fe3837d50bd3142c1c7a65fbe00ec161b92f5a93fda89b0f739c6ff0e30f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:17 ---> job-cost.sh 19:08:17 lf-activate-venv: SKIPPING 19:08:17 INFO: No Stack... 19:08:18 INFO: Retrieving Pricing Info for: v3-standard-4 19:08:19 INFO: Archiving Costs [Pipeline] sh 19:08:19 + cat /w/workspace/device-sdk-go/224/archives/cost.csv 19:08:19 + cut -d, -f6 [Pipeline] lock 19:08:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] 19:08:19 Resource [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] did not exist. Created. 19:08:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:20 /w/workspace/device-sdk-go/224@tmp/durable-e7256efa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:08:20 + echo total: 0.10999999940395355 [Pipeline] stash 19:08:20 Warning: overwriting stash ‘stack-cost’ 19:08:20 Stashed 1 file(s) [Pipeline] } 19:08:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-224-stack-cost] [Pipeline] // lock [Pipeline] } 19:08:20 $ docker stop --time=1 0f52fe3837d50bd3142c1c7a65fbe00ec161b92f5a93fda89b0f739c6ff0e30f 19:08:23 $ docker rm -f --volumes 0f52fe3837d50bd3142c1c7a65fbe00ec161b92f5a93fda89b0f739c6ff0e30f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:08:24 provisioning config files... 19:08:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18050601466153773392tmp [Pipeline] { [Pipeline] sh 19:08:24 + set +x 19:08:24 + bash -s -- 19:08:24 + curl -s https://codecov.io/bash 19:08:24 19:08:24 _____ _ 19:08:24 / ____| | | 19:08:24 | | ___ __| | ___ ___ _____ __ 19:08:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:08:24 | |___| (_) | (_| | __/ (_| (_) \ V / 19:08:24 \_____\___/ \__,_|\___|\___\___/ \_/ 19:08:24 Bash-1.0.6 19:08:24 19:08:24 19:08:24 ==> git version 2.25.1 found 19:08:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:08:24 Release-Date: 2020-01-08 19:08:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:08:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:08:24 ==> Jenkins CI detected. 19:08:24 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:08:24 project root: . 19:08:24 --> token set from env 19:08:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:08:24 ==> Running gcov in . (disable via -X gcov) 19:08:24 ==> Python coveragepy not found 19:08:24 ==> Searching for coverage reports in: 19:08:24 + . 19:08:24 -> Found 1 reports 19:08:24 ==> Detecting git/mercurial file structure 19:08:24 ==> Reading reports 19:08:24 + ./coverage.out bytes=106152 19:08:24 ==> Appending adjustments 19:08:24 https://docs.codecov.io/docs/fixing-reports 19:08:24 + Found adjustments 19:08:24 ==> Gzipping contents 19:08:25 16K /tmp/codecov.3slwRj.gz 19:08:25 ==> Uploading reports 19:08:25 url: https://codecov.io 19:08:25 query: branch=main&commit=c046c07be681eb47061b9e73bdc74da4165eb351&build=224&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F224%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:25 -> Pinging Codecov 19:08:25 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=c046c07be681eb47061b9e73bdc74da4165eb351&build=224&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F224%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:25 -> Uploading to 19:08:25 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/7E55EF52A471D76F132DFD9A03CDDE97/c046c07be681eb47061b9e73bdc74da4165eb351/55359879-e4d3-4a51-b106-2f5577620e58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T190824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70778691ea28106b3e4d6c8c9765b8067a4f7a0a4162354ebf1376db4d62e7b3 19:08:25 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:25 Dload Upload Total Spent Left Speed 19:08:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15118 0 0 100 15118 0 76353 --:--:-- --:--:-- --:--:-- 75969 100 15118 0 0 100 15118 0 76353 --:--:-- --:--:-- --:--:-- 75969 19:08:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] } 19:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:08:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:08:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:25 19:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:08:26 df9b9388f04a: Pulling fs layer 19:08:26 52dc419b0ee2: Pulling fs layer 19:08:26 25bc292e5bac: Pulling fs layer 19:08:26 114826534d7a: Pulling fs layer 19:08:26 4657fd5d0bcf: Pulling fs layer 19:08:26 6ad1cebc031e: Pulling fs layer 19:08:26 8a3aa393b2d8: Pulling fs layer 19:08:26 6ad1cebc031e: Waiting 19:08:26 4657fd5d0bcf: Waiting 19:08:26 114826534d7a: Waiting 19:08:26 8a3aa393b2d8: Waiting 19:08:26 25bc292e5bac: Download complete 19:08:26 52dc419b0ee2: Verifying Checksum 19:08:26 52dc419b0ee2: Download complete 19:08:26 4657fd5d0bcf: Verifying Checksum 19:08:26 4657fd5d0bcf: Download complete 19:08:26 df9b9388f04a: Download complete 19:08:26 6ad1cebc031e: Verifying Checksum 19:08:26 6ad1cebc031e: Download complete 19:08:26 df9b9388f04a: Pull complete 19:08:26 52dc419b0ee2: Pull complete 19:08:26 25bc292e5bac: Pull complete 19:08:26 114826534d7a: Verifying Checksum 19:08:26 114826534d7a: Download complete 19:08:26 8a3aa393b2d8: Download complete 19:08:30 114826534d7a: Pull complete 19:08:30 4657fd5d0bcf: Pull complete 19:08:30 6ad1cebc031e: Pull complete 19:08:32 8a3aa393b2d8: Pull complete 19:08:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:32 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:08:33 $ 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 19:08:38 $ docker top 853311780c85e92d27c629d995d4ce26b24360cd2b062ca947c403156cb5af80 -eo pid,comm [Pipeline] { [Pipeline] echo 19:08:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:08:39 + set -o pipefail 19:08:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:08:43 19:08:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:08:43 19:08:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7f81a95b-c723-4654-9358-3ab2112c6fd7 19:08:43 19:08:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:08:43 19:08:43 19:08:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:08:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:08:43 More details here: https://snyk.co/ue1NS [Pipeline] } 19:08:43 $ docker stop --time=1 853311780c85e92d27c629d995d4ce26b24360cd2b062ca947c403156cb5af80 19:08:49 $ docker rm -f --volumes 853311780c85e92d27c629d995d4ce26b24360cd2b062ca947c403156cb5af80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 19:08:50 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:50 provisioning config files... 19:08:50 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16884373280016174241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:50 --> edgex-publish-swagger.sh 19:08:50 === Publish openapi/v3 API === 19:08:50 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:08:50 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:08:50 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:50 Dload Upload Total Spent Left Speed 19:08:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 40193 --:--:-- --:--:-- --:--:-- 40193 19:08:51 19:08:51 [Pipeline] } 19:08:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:51 + git log --format=format:%s -1 c046c07be681eb47061b9e73bdc74da4165eb351 [Pipeline] sh 19:08:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:52 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:08:52 $ 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 19:08:52 $ docker top bfa07824ca44f6404e56bbddf7abaa61c37c028d42c753dad07f4add8b63b95a -eo pid,comm 19:08:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:08:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:52 [ssh-agent] Looking for ssh-agent implementation... 19:08:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:52 $ docker exec bfa07824ca44f6404e56bbddf7abaa61c37c028d42c753dad07f4add8b63b95a ssh-agent 19:08:53 SSH_AUTH_SOCK=/tmp/ssh-SuLb2TjhYlJJ/agent.32 19:08:53 SSH_AGENT_PID=38 19:08:53 Running ssh-add (command line suppressed) 19:08:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6880000778882561258.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6880000778882561258.key) 19:08:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:53 + git semver tag 19:08:53 2023-05-22 19:08:53,665 [run_tag] DEBUG tag force:False 19:08:53 2023-05-22 19:08:53,665 [check_head_tag] DEBUG check head tag 19:08:53 2023-05-22 19:08:53,667 [execute] INFO git cat-file --batch-check 19:08:53 2023-05-22 19:08:53,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:08:53 2023-05-22 19:08:53,670 [execute] INFO git cat-file --batch 19:08:53 2023-05-22 19:08:53,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:08:53 2023-05-22 19:08:53,721 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:08:53 2023-05-22 19:08:53,721 [execute] INFO git tag -a v3.0.0-dev.93 -m v3.0.0-dev.93 19:08:53 2023-05-22 19:08:53,721 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.93', '-m', 'v3.0.0-dev.93'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:08:53 2023-05-22 19:08:53,726 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:08:53 3.0.0-dev.93 [Pipeline] } 19:08:53 $ docker exec --env ******** --env ******** bfa07824ca44f6404e56bbddf7abaa61c37c028d42c753dad07f4add8b63b95a ssh-agent -k 19:08:53 unset SSH_AUTH_SOCK; 19:08:53 unset SSH_AGENT_PID; 19:08:53 echo Agent pid 38 killed; 19:08:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:54 + git semver [Pipeline] } 19:08:54 $ docker stop --time=1 bfa07824ca44f6404e56bbddf7abaa61c37c028d42c753dad07f4add8b63b95a 19:08:55 $ docker rm -f --volumes bfa07824ca44f6404e56bbddf7abaa61c37c028d42c753dad07f4add8b63b95a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:56 19:08:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:56 0.23.1-centos7: Pulling from edgex-lftools 19:08:56 ab5ef0e58194: Pulling fs layer 19:08:56 9712f1f96733: Pulling fs layer 19:08:56 63f879dbbcfc: Pulling fs layer 19:08:56 0d9ebad4ef96: Pulling fs layer 19:08:56 e9a5061849ea: Pulling fs layer 19:08:56 d747dcd14b5f: Pulling fs layer 19:08:56 2de7ff778b66: Pulling fs layer 19:08:56 e9a5061849ea: Waiting 19:08:56 d747dcd14b5f: Waiting 19:08:56 2de7ff778b66: Waiting 19:08:56 0d9ebad4ef96: Waiting 19:08:56 9712f1f96733: Verifying Checksum 19:08:56 9712f1f96733: Download complete 19:08:56 63f879dbbcfc: Verifying Checksum 19:08:56 63f879dbbcfc: Download complete 19:08:57 0d9ebad4ef96: Verifying Checksum 19:08:57 0d9ebad4ef96: Download complete 19:08:57 d747dcd14b5f: Verifying Checksum 19:08:57 d747dcd14b5f: Download complete 19:08:57 e9a5061849ea: Verifying Checksum 19:08:57 e9a5061849ea: Download complete 19:08:57 ab5ef0e58194: Download complete 19:08:57 2de7ff778b66: Verifying Checksum 19:08:57 2de7ff778b66: Download complete 19:08:59 ab5ef0e58194: Pull complete 19:08:59 9712f1f96733: Pull complete 19:09:00 63f879dbbcfc: Pull complete 19:09:03 0d9ebad4ef96: Pull complete 19:09:04 e9a5061849ea: Pull complete 19:09:04 d747dcd14b5f: Pull complete 19:09:05 2de7ff778b66: Pull complete 19:09:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:09:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:05 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:09:05 $ 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 19:09:10 $ docker top 35bd5027639db4b8035a9ba44d57a757bc045f6eb29e9d23c7183f28cc5eb438 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:09:10 provisioning config files... 19:09:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15519449666075000385tmp 19:09:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14168766563818907715tmp 19:09:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18089985337457339811tmp [Pipeline] { [Pipeline] echo 19:09:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:09:10 ---> sigul-configuration.sh 19:09:10 gpg: directory `/root/.gnupg' created 19:09:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:09:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:09:10 gpg: keyring `/root/.gnupg/secring.gpg' created 19:09:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:09:10 gpg: CAST5 encrypted data 19:09:10 gpg: encrypted with 1 passphrase 19:09:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:09:12 + mkdir /home/jenkins 19:09:12 + mkdir /home/jenkins/sigul [Pipeline] sh 19:09:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:09:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:09:12 ---> sigul-install.sh 19:09:12 Sigul already installed; skipping installation. [Pipeline] sh 19:09:12 + git tag --list 19:09:12 0.7.1 19:09:12 delhi-tag 19:09:12 v1.0.0 19:09:12 v1.1.0 19:09:12 v1.1.1 19:09:12 v1.1.2 19:09:12 v1.2.0 19:09:12 v1.2.1 19:09:12 v1.2.2 19:09:12 v1.2.3 19:09:12 v1.3.0 19:09:12 v1.4.0 19:09:12 v2.0.0 19:09:12 v2.1.0 19:09:12 v2.1.1 19:09:12 v2.1.1-dev.2 19:09:12 v2.1.1-dev.3 19:09:12 v2.2.0 19:09:12 v2.2.1-dev.1 19:09:12 v2.2.1-dev.10 19:09:12 v2.2.1-dev.11 19:09:12 v2.2.1-dev.12 19:09:12 v2.2.1-dev.13 19:09:12 v2.2.1-dev.14 19:09:12 v2.2.1-dev.2 19:09:12 v2.2.1-dev.3 19:09:12 v2.2.1-dev.4 19:09:12 v2.2.1-dev.5 19:09:12 v2.2.1-dev.6 19:09:12 v2.2.1-dev.7 19:09:12 v2.2.1-dev.8 19:09:12 v2.2.1-dev.9 19:09:12 v2.3.0 19:09:12 v2.3.0-dev.14 19:09:12 v2.3.0-dev.15 19:09:12 v2.3.0-dev.16 19:09:12 v2.3.0-dev.17 19:09:12 v2.3.0-dev.18 19:09:12 v2.3.0-dev.19 19:09:12 v2.3.0-dev.20 19:09:12 v2.3.0-dev.21 19:09:12 v2.3.0-dev.22 19:09:12 v2.3.0-dev.23 19:09:12 v2.3.0-dev.24 19:09:12 v2.3.0-dev.25 19:09:12 v2.3.0-dev.26 19:09:12 v2.3.0-dev.27 19:09:12 v2.3.0-dev.28 19:09:12 v2.3.0-dev.29 19:09:12 v2.3.0-dev.30 19:09:12 v2.3.0-dev.31 19:09:12 v2.3.0-dev.32 19:09:12 v2.3.0-dev.33 19:09:12 v2.3.0-dev.34 19:09:12 v2.3.0-dev.35 19:09:12 v2.3.0-dev.36 19:09:12 v2.3.0-dev.37 19:09:12 v2.3.0-dev.38 19:09:12 v2.3.0-dev.39 19:09:12 v2.3.0-dev.40 19:09:12 v2.3.0-dev.41 19:09:12 v2.3.0-dev.42 19:09:12 v2.3.0-dev.43 19:09:12 v2.3.0-dev.44 19:09:12 v2.3.0-dev.45 19:09:12 v2.3.0-dev.46 19:09:12 v2.3.0-dev.47 19:09:12 v2.3.0-dev.48 19:09:12 v2.3.0-dev.49 19:09:12 v2.3.0-dev.50 19:09:12 v2.3.0-dev.51 19:09:12 v2.3.1 19:09:12 v2.3.1-dev.1 19:09:12 v2.3.1-dev.2 19:09:12 v2.3.1-dev.3 19:09:12 v2.3.1-dev.4 19:09:12 v3.0.0-dev.1 19:09:12 v3.0.0-dev.10 19:09:12 v3.0.0-dev.11 19:09:12 v3.0.0-dev.12 19:09:12 v3.0.0-dev.13 19:09:12 v3.0.0-dev.14 19:09:12 v3.0.0-dev.15 19:09:12 v3.0.0-dev.16 19:09:12 v3.0.0-dev.17 19:09:12 v3.0.0-dev.18 19:09:12 v3.0.0-dev.19 19:09:12 v3.0.0-dev.2 19:09:12 v3.0.0-dev.20 19:09:12 v3.0.0-dev.21 19:09:12 v3.0.0-dev.22 19:09:12 v3.0.0-dev.23 19:09:12 v3.0.0-dev.24 19:09:12 v3.0.0-dev.25 19:09:12 v3.0.0-dev.26 19:09:12 v3.0.0-dev.27 19:09:12 v3.0.0-dev.28 19:09:12 v3.0.0-dev.29 19:09:12 v3.0.0-dev.3 19:09:12 v3.0.0-dev.30 19:09:12 v3.0.0-dev.31 19:09:12 v3.0.0-dev.32 19:09:12 v3.0.0-dev.33 19:09:12 v3.0.0-dev.34 19:09:12 v3.0.0-dev.35 19:09:12 v3.0.0-dev.36 19:09:12 v3.0.0-dev.37 19:09:12 v3.0.0-dev.38 19:09:12 v3.0.0-dev.39 19:09:12 v3.0.0-dev.4 19:09:12 v3.0.0-dev.40 19:09:12 v3.0.0-dev.41 19:09:12 v3.0.0-dev.42 19:09:12 v3.0.0-dev.43 19:09:12 v3.0.0-dev.44 19:09:12 v3.0.0-dev.45 19:09:12 v3.0.0-dev.46 19:09:12 v3.0.0-dev.47 19:09:12 v3.0.0-dev.48 19:09:12 v3.0.0-dev.49 19:09:12 v3.0.0-dev.5 19:09:12 v3.0.0-dev.50 19:09:12 v3.0.0-dev.51 19:09:12 v3.0.0-dev.52 19:09:12 v3.0.0-dev.53 19:09:12 v3.0.0-dev.54 19:09:12 v3.0.0-dev.55 19:09:12 v3.0.0-dev.56 19:09:12 v3.0.0-dev.57 19:09:12 v3.0.0-dev.58 19:09:12 v3.0.0-dev.59 19:09:12 v3.0.0-dev.6 19:09:12 v3.0.0-dev.60 19:09:12 v3.0.0-dev.61 19:09:12 v3.0.0-dev.62 19:09:12 v3.0.0-dev.63 19:09:12 v3.0.0-dev.64 19:09:12 v3.0.0-dev.65 19:09:12 v3.0.0-dev.66 19:09:12 v3.0.0-dev.67 19:09:12 v3.0.0-dev.68 19:09:12 v3.0.0-dev.69 19:09:12 v3.0.0-dev.7 19:09:12 v3.0.0-dev.70 19:09:12 v3.0.0-dev.71 19:09:12 v3.0.0-dev.72 19:09:12 v3.0.0-dev.73 19:09:12 v3.0.0-dev.74 19:09:12 v3.0.0-dev.75 19:09:12 v3.0.0-dev.76 19:09:12 v3.0.0-dev.77 19:09:12 v3.0.0-dev.78 19:09:12 v3.0.0-dev.79 19:09:12 v3.0.0-dev.8 19:09:12 v3.0.0-dev.80 19:09:12 v3.0.0-dev.81 19:09:12 v3.0.0-dev.82 19:09:12 v3.0.0-dev.83 19:09:12 v3.0.0-dev.84 19:09:12 v3.0.0-dev.85 19:09:12 v3.0.0-dev.86 19:09:12 v3.0.0-dev.87 19:09:12 v3.0.0-dev.88 19:09:12 v3.0.0-dev.89 19:09:12 v3.0.0-dev.9 19:09:12 v3.0.0-dev.90 19:09:12 v3.0.0-dev.91 19:09:12 v3.0.0-dev.92 19:09:12 v3.0.0-dev.93 [Pipeline] sh 19:09:13 + lftools sign git-tag v3.0.0-dev.93 19:09:13 Signing Git tag with Sigul... 19:09:13 Signing v3.0.0-dev.93 [Pipeline] echo 19:09:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:09:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:09:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:09:14 $ docker stop --time=1 35bd5027639db4b8035a9ba44d57a757bc045f6eb29e9d23c7183f28cc5eb438 19:09:16 $ docker rm -f --volumes 35bd5027639db4b8035a9ba44d57a757bc045f6eb29e9d23c7183f28cc5eb438 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:09:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:16 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:09:16 $ 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 19:09:17 $ docker top b5ee60238619e75a664a7cabca32e7a86ea2cc2e3a8013f5764c8be1823e6d92 -eo pid,comm 19:09:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:09:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:17 [ssh-agent] Looking for ssh-agent implementation... 19:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:17 $ docker exec b5ee60238619e75a664a7cabca32e7a86ea2cc2e3a8013f5764c8be1823e6d92 ssh-agent 19:09:17 SSH_AUTH_SOCK=/tmp/ssh-1BmobMLvbwBi/agent.31 19:09:17 SSH_AGENT_PID=37 19:09:17 Running ssh-add (command line suppressed) 19:09:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8778004836817618361.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8778004836817618361.key) 19:09:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:17 + git semver bump pre 19:09:18 2023-05-22 19:09:18,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:09:18 2023-05-22 19:09:18,003 [bump_version] DEBUG bumping version:3.0.0-dev.93 on axis:pre with prefix:dev 19:09:18 2023-05-22 19:09:18,003 [bump_version] DEBUG bumped version:3.0.0-dev.94 19:09:18 2023-05-22 19:09:18,003 [write_version] DEBUG write version:3.0.0-dev.94 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:09:18 2023-05-22 19:09:18,003 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:09:18 2023-05-22 19:09:18,003 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:09:18 2023-05-22 19:09:18,005 [execute] INFO git cat-file --batch-check 19:09:18 2023-05-22 19:09:18,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:18 2023-05-22 19:09:18,010 [execute] INFO git cat-file --batch 19:09:18 2023-05-22 19:09:18,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:18 2023-05-22 19:09:18,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:09:18 3.0.0-dev.94 [Pipeline] } 19:09:18 $ docker exec --env ******** --env ******** b5ee60238619e75a664a7cabca32e7a86ea2cc2e3a8013f5764c8be1823e6d92 ssh-agent -k 19:09:18 unset SSH_AUTH_SOCK; 19:09:18 unset SSH_AGENT_PID; 19:09:18 echo Agent pid 37 killed; 19:09:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:18 + git semver [Pipeline] } 19:09:18 $ docker stop --time=1 b5ee60238619e75a664a7cabca32e7a86ea2cc2e3a8013f5764c8be1823e6d92 19:09:20 $ docker rm -f --volumes b5ee60238619e75a664a7cabca32e7a86ea2cc2e3a8013f5764c8be1823e6d92 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:20 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:09:20 $ 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 19:09:21 $ docker top 8a68799309a68a23834def248961aa02e5ba65554386257a607a31c6d048aef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:21 [ssh-agent] Looking for ssh-agent implementation... 19:09:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:21 $ docker exec 8a68799309a68a23834def248961aa02e5ba65554386257a607a31c6d048aef7 ssh-agent 19:09:21 SSH_AUTH_SOCK=/tmp/ssh-1tgzTXcEg2c8/agent.31 19:09:21 SSH_AGENT_PID=37 19:09:21 Running ssh-add (command line suppressed) 19:09:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13847090962832361860.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13847090962832361860.key) 19:09:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:21 + git semver push 19:09:22 2023-05-22 19:09:22,086 [run_push] DEBUG push 19:09:22 2023-05-22 19:09:22,086 [execute] INFO git cat-file --batch-check 19:09:22 2023-05-22 19:09:22,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:22 2023-05-22 19:09:22,091 [execute] INFO git rev-list ea518dabbae91430603640c06c19bdda85d84a1f -- 19:09:22 2023-05-22 19:09:22,091 [execute] DEBUG Popen(['git', 'rev-list', 'ea518dabbae91430603640c06c19bdda85d84a1f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:22 2023-05-22 19:09:22,106 [execute] INFO git fetch -v origin 19:09:22 2023-05-22 19:09:22,106 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:09:22 2023-05-22 19:09:22,552 [run_push] DEBUG no remote changes detected 19:09:22 2023-05-22 19:09:22,552 [execute] INFO git push origin semver 19:09:22 2023-05-22 19:09:22,552 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:23 2023-05-22 19:09:23,355 [run_push] DEBUG push all version tags 19:09:23 2023-05-22 19:09:23,355 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:09:23 2023-05-22 19:09:23,356 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:09:24 2023-05-22 19:09:24,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:09:24 3.0.0-dev.94 [Pipeline] } 19:09:24 $ docker exec --env ******** --env ******** 8a68799309a68a23834def248961aa02e5ba65554386257a607a31c6d048aef7 ssh-agent -k 19:09:24 unset SSH_AUTH_SOCK; 19:09:24 unset SSH_AGENT_PID; 19:09:24 echo Agent pid 37 killed; 19:09:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:24 + git semver [Pipeline] } 19:09:24 $ docker stop --time=1 8a68799309a68a23834def248961aa02e5ba65554386257a607a31c6d048aef7 19:09:26 $ docker rm -f --volumes 8a68799309a68a23834def248961aa02e5ba65554386257a607a31c6d048aef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:09:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:09:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:09:26 total 16 19:09:26 drwxr-xr-x 3 root root 4096 May 22 18:55 . 19:09:26 drwxrwxr-x 12 jenkins jenkins 4096 May 22 19:09 .. 19:09:26 drwxr-xr-x 2 root root 4096 May 22 18:55 cost 19:09:26 -rw-r--r-- 1 root root 85 May 22 18:55 cost.csv 19:09:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:09:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:09:26 total 16 19:09:26 drwxr-xr-x 3 jenkins jenkins 4096 May 22 18:55 . 19:09:26 drwxrwxr-x 12 jenkins jenkins 4096 May 22 19:09 .. 19:09:26 drwxr-xr-x 2 jenkins jenkins 4096 May 22 18:55 cost 19:09:26 -rw-r--r-- 1 jenkins jenkins 85 May 22 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:09:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:09:27 ---> package-listing.sh 19:09:27 ++ facter osfamily 19:09:27 ++ tr '[:upper:]' '[:lower:]' 19:09:28 + OS_FAMILY=debian 19:09:28 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:09:28 + START_PACKAGES=/tmp/packages_start.txt 19:09:28 + END_PACKAGES=/tmp/packages_end.txt 19:09:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:09:28 + PACKAGES=/tmp/packages_start.txt 19:09:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:09:28 + PACKAGES=/tmp/packages_end.txt 19:09:28 + case "${OS_FAMILY}" in 19:09:28 + dpkg -l 19:09:28 + grep '^ii' 19:09:28 + '[' -f /tmp/packages_start.txt ']' 19:09:28 + '[' -f /tmp/packages_end.txt ']' 19:09:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:09:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:09:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:09:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:09:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:09:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:29 prd-ubuntu20.04-docker-8c-8g-16344 does not seem to be running inside a container 19:09:29 $ 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 19:09:29 $ docker top b5585c08cfd16dc4a2a4ce0d5bd322376876eb7c77a95e07cd39f6ce2d8c38a9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:29 + touch /tmp/pre-build-complete [Pipeline] sh 19:09:29 + mkdir -p /var/log/sysstat [Pipeline] sh 19:09:30 + ls /var/log/sa-host 19:09:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:30 provisioning config files... 19:09:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5450584696976257500tmp [Pipeline] { [Pipeline] echo 19:09:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:09:30 ---> create-netrc.sh [Pipeline] } 19:09:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:09:30 ---> python-tools-install.sh [Pipeline] echo 19:09:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:09:31 ---> sudo-logs.sh 19:09:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:09:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:09:31 ---> job-cost.sh 19:09:31 lf-activate-venv: SKIPPING 19:09:31 DEBUG: total: 0.2199999988079071 19:09:31 INFO: Retrieving Stack Cost... 19:09:31 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:32 INFO: Archiving Costs [Pipeline] echo 19:09:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:09:32 ---> logs-deploy.sh 19:09:32 lf-activate-venv: SKIPPING 19:09:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/224 19:09:32 INFO: archiving workspace using pattern(s): 19:09:33 Archives upload complete. 19:09:34 INFO: archiving logs to Nexus