Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfe51486b41881a5fce950743db7c47f3e9bb02a 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-ssh17430658932851443052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2025887702869483868.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1676606924244577953.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13012573513311936373.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-ssh16452605640983818965.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 ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5102’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5104 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bfe51486b41881a5fce950743db7c47f3e9bb02a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfe51486b41881a5fce950743db7c47f3e9bb02a # timeout=10 Commit message: "Merge pull request #1400 from weichou1229/issue-1397" > git rev-list --no-walk c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:59:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:59:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:59:58 ========================================================= 03:59:58 EdgeX Global Pipelines Version Info 03:59:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:59:59 ------------------- 03:59:59 stable info: 03:59:59 ------------------- 03:59:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:59:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:59:59 Message: update stable to v1.0.245 04:00:00 ------------------- 04:00:00 experimental info: 04:00:00 ------------------- 04:00:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:00:00 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 04:00:00 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfe5148 [Pipeline] echo 04:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:00 provisioning config files... 04:00:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12409826051952284398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:00 ---> docker-login.sh 04:00:00 nexus3.edgexfoundry.org:10001 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10002 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10003 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10004 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 docker.io 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:02 Configure a credential helper to remove this warning. See 04:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:02 04:00:02 Login Succeeded 04:00:02 ---> docker-login.sh ends [Pipeline] } 04:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:00:03 + git rev-list -1 --merges bfe51486b41881a5fce950743db7c47f3e9bb02a~1..bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] echo 04:00:03 -----------> git rev-list -1 --merges bfe51486b41881a5fce950743db7c47f3e9bb02a~1..bfe51486b41881a5fce950743db7c47f3e9bb02a bfe51486b41881a5fce950743db7c47f3e9bb02a 04:00:03 bfe51486b41881a5fce950743db7c47f3e9bb02a [false] [Pipeline] sh 04:00:03 + git log --format=format:%s -1 bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] echo 04:00:03 ========================================================= 04:00:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:00:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:03 + git log --format=format:%s -1 bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] echo 04:00:03 [semverPrep] GIT_COMMIT: bfe51486b41881a5fce950743db7c47f3e9bb02a, Commit Message: Merge pull request #1400 from weichou1229/issue-1397 [Pipeline] echo 04:00:03 [semverPrep] This is not a build commit. [Pipeline] sh 04:00:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:04 + grep -v github /etc/ssh/ssh_known_hosts 04:00:04 + [ -e /tmp/ssh_known_hosts ] 04:00:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:00:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:00:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:00:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:04 04:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:04 0.1.4: Pulling from edgex-devops/py-git-semver 04:00:04 b85a868b505f: Pulling fs layer 04:00:04 e2be974225ed: Pulling fs layer 04:00:04 339a4e72a1f5: Pulling fs layer 04:00:04 988bab9f4d93: Pulling fs layer 04:00:04 1469e6f7b9e6: Pulling fs layer 04:00:04 eaf3925da568: Pulling fs layer 04:00:04 bab4dde63d76: Pulling fs layer 04:00:04 bde34c3a00c8: Pulling fs layer 04:00:04 b352a97aabf1: Pulling fs layer 04:00:04 4872d77fe225: Pulling fs layer 04:00:04 5851b861e8e6: Pulling fs layer 04:00:04 1469e6f7b9e6: Waiting 04:00:04 eaf3925da568: Waiting 04:00:04 bab4dde63d76: Waiting 04:00:04 bde34c3a00c8: Waiting 04:00:04 988bab9f4d93: Waiting 04:00:04 b352a97aabf1: Waiting 04:00:04 4872d77fe225: Waiting 04:00:04 5851b861e8e6: Waiting 04:00:04 e2be974225ed: Verifying Checksum 04:00:04 e2be974225ed: Download complete 04:00:04 988bab9f4d93: Verifying Checksum 04:00:04 988bab9f4d93: Download complete 04:00:04 1469e6f7b9e6: Verifying Checksum 04:00:04 1469e6f7b9e6: Download complete 04:00:04 eaf3925da568: Verifying Checksum 04:00:04 eaf3925da568: Download complete 04:00:04 339a4e72a1f5: Verifying Checksum 04:00:04 339a4e72a1f5: Download complete 04:00:04 bde34c3a00c8: Download complete 04:00:04 b352a97aabf1: Download complete 04:00:04 4872d77fe225: Download complete 04:00:04 b85a868b505f: Verifying Checksum 04:00:04 b85a868b505f: Download complete 04:00:05 5851b861e8e6: Verifying Checksum 04:00:05 5851b861e8e6: Download complete 04:00:05 bab4dde63d76: Verifying Checksum 04:00:05 bab4dde63d76: Download complete 04:00:06 b85a868b505f: Pull complete 04:00:06 e2be974225ed: Pull complete 04:00:07 339a4e72a1f5: Pull complete 04:00:07 988bab9f4d93: Pull complete 04:00:07 1469e6f7b9e6: Pull complete 04:00:07 eaf3925da568: Pull complete 04:00:09 bab4dde63d76: Pull complete 04:00:09 bde34c3a00c8: Pull complete 04:00:09 b352a97aabf1: Pull complete 04:00:09 4872d77fe225: Pull complete 04:00:09 5851b861e8e6: Pull complete 04:00:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:09 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:00:11 $ docker top 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 -eo pid,comm 04:00:11 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). 04:00:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:11 [ssh-agent] Looking for ssh-agent implementation... 04:00:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:11 $ docker exec 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 ssh-agent 04:00:11 SSH_AUTH_SOCK=/tmp/ssh-aVvHbbvzXbH2/agent.32 04:00:11 SSH_AGENT_PID=38 04:00:11 Running ssh-add (command line suppressed) 04:00:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11414752855448853812.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11414752855448853812.key) 04:00:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:12 + git tag --points-at HEAD [Pipeline] } 04:00:12 $ docker exec --env ******** --env ******** 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 ssh-agent -k 04:00:12 unset SSH_AUTH_SOCK; 04:00:12 unset SSH_AGENT_PID; 04:00:12 echo Agent pid 38 killed; 04:00:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:00:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:12 [ssh-agent] Looking for ssh-agent implementation... 04:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:12 $ docker exec 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 ssh-agent 04:00:12 SSH_AUTH_SOCK=/tmp/ssh-SUY2nEwbGPqT/agent.70 04:00:12 SSH_AGENT_PID=76 04:00:12 Running ssh-add (command line suppressed) 04:00:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12552177642131396402.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12552177642131396402.key) 04:00:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:12 + git semver init 04:00:13 2023-03-22 04:00:13,131 [run_init] DEBUG init version:0.0.0 force:False 04:00:13 2023-03-22 04:00:13,133 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:00:13 2023-03-22 04:00:13,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:00:13 2023-03-22 04:00:13,134 [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) 04:00:14 2023-03-22 04:00:14,014 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:00:14 2023-03-22 04:00:14,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:00:14 2023-03-22 04:00:14,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:00:14 2023-03-22 04:00:14,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:00:14 3.0.0-dev.58 [Pipeline] } 04:00:14 $ docker exec --env ******** --env ******** 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 ssh-agent -k 04:00:14 unset SSH_AUTH_SOCK; 04:00:14 unset SSH_AGENT_PID; 04:00:14 echo Agent pid 76 killed; 04:00:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:14 + git semver [Pipeline] } 04:00:15 $ docker stop --time=1 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 04:00:16 $ docker rm -f --volumes 9885f6d1230afece2bf8a2a41ad9077a91a2f32cd51966021d48fa608181ab79 [Pipeline] // withDockerContainer [Pipeline] sh 04:00:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:00:17 Stashed 1 file(s) [Pipeline] echo 04:00:17 [edgeXSemver]: initialized semver on version 3.0.0-dev.58 [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 04:00:17 provisioning config files... 04:00:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8841583851871682725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:17 ---> docker-login.sh 04:00:17 nexus3.edgexfoundry.org:10001 04:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:17 Configure a credential helper to remove this warning. See 04:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:17 04:00:17 Login Succeeded 04:00:17 nexus3.edgexfoundry.org:10002 04:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:17 Configure a credential helper to remove this warning. See 04:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:17 04:00:17 Login Succeeded 04:00:17 nexus3.edgexfoundry.org:10003 04:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:17 Configure a credential helper to remove this warning. See 04:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:17 04:00:17 Login Succeeded 04:00:17 nexus3.edgexfoundry.org:10004 04:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:17 Configure a credential helper to remove this warning. See 04:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:17 04:00:17 Login Succeeded 04:00:17 docker.io 04:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:18 Configure a credential helper to remove this warning. See 04:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:18 04:00:18 Login Succeeded 04:00:18 ---> docker-login.sh ends [Pipeline] } 04:00:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:18 ========================================================= 04:00:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:00:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:18 + 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 . 04:00:18 Sending build context to Docker daemon 10.79MB 04:00:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:00:18 Step 2/10 : FROM ${BASE} AS builder 04:00:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:00:18 63b65145d645: Pulling fs layer 04:00:18 a2d21d5440eb: Pulling fs layer 04:00:18 935e6c44a52c: Pulling fs layer 04:00:18 94cc34f8dd06: Pulling fs layer 04:00:18 30dea6a524f1: Pulling fs layer 04:00:18 a2aff8979fd8: Pulling fs layer 04:00:18 6808be2612f2: Pulling fs layer 04:00:18 f25807f1079a: Pulling fs layer 04:00:18 6808be2612f2: Waiting 04:00:18 a2aff8979fd8: Waiting 04:00:18 f25807f1079a: Waiting 04:00:18 30dea6a524f1: Waiting 04:00:18 94cc34f8dd06: Waiting 04:00:18 a2d21d5440eb: Verifying Checksum 04:00:18 a2d21d5440eb: Download complete 04:00:18 94cc34f8dd06: Verifying Checksum 04:00:18 94cc34f8dd06: Download complete 04:00:18 30dea6a524f1: Verifying Checksum 04:00:18 30dea6a524f1: Download complete 04:00:18 63b65145d645: Verifying Checksum 04:00:18 63b65145d645: Download complete 04:00:18 a2aff8979fd8: Verifying Checksum 04:00:18 a2aff8979fd8: Download complete 04:00:18 63b65145d645: Pull complete 04:00:19 a2d21d5440eb: Pull complete 04:00:19 f25807f1079a: Verifying Checksum 04:00:19 f25807f1079a: Download complete 04:00:19 935e6c44a52c: Verifying Checksum 04:00:19 935e6c44a52c: Download complete 04:00:19 6808be2612f2: Verifying Checksum 04:00:19 6808be2612f2: Download complete 04:00:23 935e6c44a52c: Pull complete 04:00:23 94cc34f8dd06: Pull complete 04:00:23 30dea6a524f1: Pull complete 04:00:23 a2aff8979fd8: Pull complete 04:00:25 6808be2612f2: Pull complete 04:00:26 f25807f1079a: Pull complete 04:00:26 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:00:26 ---> 3b553350e43f 04:00:26 Step 3/10 : ARG MAKE=make build 04:00:28 ---> Running in 0d193c3d0f42 04:00:28 Removing intermediate container 0d193c3d0f42 04:00:28 ---> 7e6efe0c0a13 04:00:28 Step 4/10 : WORKDIR /device-sdk-go 04:00:28 ---> Running in 48e41726ccf0 04:00:28 Removing intermediate container 48e41726ccf0 04:00:28 ---> 380a8fcab006 04:00:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:00:28 ---> Running in 7e3993a440c1 04:00:28 Removing intermediate container 7e3993a440c1 04:00:28 ---> b5fbb22ebe03 04:00:28 Step 6/10 : RUN apk add --update --no-cache make git 04:00:28 ---> Running in d27a9f10c886 04:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:00:29 OK: 265 MiB in 53 packages 04:00:29 Removing intermediate container d27a9f10c886 04:00:29 ---> 8074808c063e 04:00:29 Step 7/10 : COPY go.mod vendor* ./ 04:00:29 ---> 7b30a901b9ba 04:00:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:29 ---> Running in 54d9d6be7a71 04:00:32 Still waiting to schedule task 04:00:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5103’ 04:01:08 Removing intermediate container 54d9d6be7a71 04:01:08 ---> fe830dcf2dce 04:01:08 Step 9/10 : COPY . . 04:01:08 ---> 9922f20a2a59 04:01:08 Step 10/10 : RUN ${MAKE} 04:01:08 ---> Running in aa6d0e8b6063 04:01:08 noop 04:01:08 Removing intermediate container aa6d0e8b6063 04:01:08 ---> fedcb47536e8 04:01:08 Successfully built fedcb47536e8 04:01:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:08 + docker inspect -f . ci-base-image-x86_64 04:01:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:09 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:09 $ docker top 7f718f2b167686129d67d36ca36b01030bf4b8fdc3e700b4b4c2e459965cce6a -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:09 + go version 04:01:09 go version go1.20.2 linux/amd64 [Pipeline] } 04:01:09 $ docker stop --time=1 7f718f2b167686129d67d36ca36b01030bf4b8fdc3e700b4b4c2e459965cce6a 04:01:11 $ docker rm -f --volumes 7f718f2b167686129d67d36ca36b01030bf4b8fdc3e700b4b4c2e459965cce6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:11 + docker inspect -f . ci-base-image-x86_64 04:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:11 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:11 $ docker top 0c7b878f3b4cd8816b2bee38e8f654ef9375b12cf2857d3deecdde40d4308ab4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:01:12 + make test 04:01:12 go test -race -coverprofile=coverage.out ./... 04:01:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:01:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements 04:01:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements 04:01:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:01:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.089s coverage: 75.9% of statements 04:01:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:01:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:01:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:01:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.2% of statements 04:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 65.7% of statements 04:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.127s coverage: 89.2% of statements 04:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements 04:02:00 GO111MODULE=on go vet ./... 04:02:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:00 ./bin/test-attribution-txt.sh [Pipeline] echo 04:02:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:02:00 $ docker stop --time=1 0c7b878f3b4cd8816b2bee38e8f654ef9375b12cf2857d3deecdde40d4308ab4 04:02:02 $ docker rm -f --volumes 0c7b878f3b4cd8816b2bee38e8f654ef9375b12cf2857d3deecdde40d4308ab4 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:02:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:04 + ls -al . 04:02:04 total 276 04:02:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 04:01 . 04:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 03:59 .. 04:02:04 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 03:59 .dockerignore 04:02:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:00 .git 04:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 03:59 .github 04:02:04 -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 03:59 .gitignore 04:02:04 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 03:59 .golangci.yml 04:02:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:00 .semver 04:02:04 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 03:59 CHANGELOG.md 04:02:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 03:59 GOVERNANCE.md 04:02:04 -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 03:59 Jenkinsfile 04:02:04 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 03:59 LICENSE 04:02:04 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 03:59 Makefile 04:02:04 -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 03:59 OWNERS.md 04:02:04 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 03:59 README.md 04:02:04 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 04:00 VERSION 04:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 03:59 bin 04:02:04 -rw-r--r-- 1 jenkins jenkins 109538 Mar 22 04:01 coverage.out 04:02:04 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 03:59 example 04:02:04 -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 03:59 go.mod 04:02:04 -rw-rw-r-- 1 jenkins jenkins 30841 Mar 22 03:59 go.sum 04:02:04 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 03:59 internal 04:02:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 03:59 openapi 04:02:04 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 03:59 pkg 04:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 03:59 snap 04:02:04 -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:04 + 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=bfe51486b41881a5fce950743db7c47f3e9bb02a --label arch=amd64 --label version=3.0.0-dev.58 . 04:02:04 Sending build context to Docker daemon 10.9MB 04:02:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:02:04 Step 2/23 : FROM ${BASE} AS builder 04:02:04 ---> fedcb47536e8 04:02:04 Step 3/23 : ARG MAKE=make build 04:02:04 ---> Running in fdda9fcb46d6 04:02:04 Removing intermediate container fdda9fcb46d6 04:02:04 ---> 4069857836b4 04:02:04 Step 4/23 : WORKDIR /device-sdk-go 04:02:04 ---> Running in 3f54b199b720 04:02:04 Removing intermediate container 3f54b199b720 04:02:04 ---> be3307d42ffe 04:02:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:02:04 ---> Running in e54948c3c53f 04:02:05 Removing intermediate container e54948c3c53f 04:02:05 ---> 945580b9f022 04:02:05 Step 6/23 : RUN apk add --update --no-cache make git 04:02:05 ---> Running in dd58d960f674 04:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:05 OK: 265 MiB in 53 packages 04:02:05 Removing intermediate container dd58d960f674 04:02:05 ---> 9d0ea22c2b45 04:02:05 Step 7/23 : COPY go.mod vendor* ./ 04:02:06 ---> c4f0fc1ed165 04:02:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:06 ---> Running in 7799973f1f43 04:02:07 Removing intermediate container 7799973f1f43 04:02:07 ---> 368b764a5b67 04:02:07 Step 9/23 : COPY . . 04:02:07 ---> dce5a0e5d38d 04:02:07 Step 10/23 : RUN ${MAKE} 04:02:07 ---> Running in ee1245cbc454 04:02:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.58" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:02:25 Removing intermediate container ee1245cbc454 04:02:25 ---> e8b1b0c39633 04:02:25 Step 11/23 : FROM alpine:3.17 04:02:25 3.17: Pulling from library/alpine 04:02:25 63b65145d645: Already exists 04:02:25 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:02:25 Status: Downloaded newer image for alpine:3.17 04:02:25 ---> b2aa39c304c2 04:02:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:02:25 ---> Running in 0a8f280e0cda 04:02:25 Removing intermediate container 0a8f280e0cda 04:02:25 ---> 1c8cf8807b79 04:02:25 Step 13/23 : RUN apk add --update --no-cache 04:02:25 ---> Running in ce2caaf9fd32 04:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:26 OK: 7 MiB in 15 packages 04:02:26 Removing intermediate container ce2caaf9fd32 04:02:26 ---> a2742856529e 04:02:26 Step 14/23 : WORKDIR / 04:02:26 ---> Running in 495ca5ffcbd1 04:02:26 Removing intermediate container 495ca5ffcbd1 04:02:26 ---> 9fbdae8f3af0 04:02:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:02:26 ---> 2c9c9a493caf 04:02:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:02:27 ---> 5246ae662742 04:02:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:02:27 ---> e6b28497c647 04:02:27 Step 18/23 : EXPOSE 59999 04:02:27 ---> Running in 9c7b36999138 04:02:27 Removing intermediate container 9c7b36999138 04:02:27 ---> b93284686662 04:02:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:02:27 ---> Running in 2395d02e7681 04:02:27 Removing intermediate container 2395d02e7681 04:02:27 ---> 80a5d9da8781 04:02:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:02:27 ---> Running in 77bbeae91717 04:02:27 Removing intermediate container 77bbeae91717 04:02:27 ---> bcb39bf4af7c 04:02:27 Step 21/23 : LABEL arch=amd64 04:02:27 ---> Running in 51ed1ea67db9 04:02:27 Removing intermediate container 51ed1ea67db9 04:02:27 ---> cc34f6f2aeab 04:02:27 Step 22/23 : LABEL git_sha=bfe51486b41881a5fce950743db7c47f3e9bb02a 04:02:27 ---> Running in 0e5062931117 04:02:28 Removing intermediate container 0e5062931117 04:02:28 ---> 4db107510a86 04:02:28 Step 23/23 : LABEL version=3.0.0-dev.58 04:02:28 ---> Running in 6a1e44cfb77c 04:02:28 Removing intermediate container 6a1e44cfb77c 04:02:28 ---> 03f4b3e10208 04:02:28 [Warning] One or more build-args [ARCH] were not consumed 04:02:28 Successfully built 03f4b3e10208 04:02:28 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 04:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:28 04:02:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:28 latest: Pulling from edgex-lftools-log-publisher 04:02:28 5eb5b503b376: Pulling fs layer 04:02:28 5c69ac0246d0: Pulling fs layer 04:02:28 ec43610c2a17: Pulling fs layer 04:02:28 3a2ae6a8a46f: Pulling fs layer 04:02:28 33b1e0a273af: Pulling fs layer 04:02:28 33b1e0a273af: Waiting 04:02:28 3a2ae6a8a46f: Waiting 04:02:28 5d3b04190fa2: Pulling fs layer 04:02:28 2f39f015ded8: Pulling fs layer 04:02:28 2f39f015ded8: Waiting 04:02:28 5c69ac0246d0: Verifying Checksum 04:02:28 5c69ac0246d0: Download complete 04:02:28 3a2ae6a8a46f: Verifying Checksum 04:02:28 3a2ae6a8a46f: Download complete 04:02:29 33b1e0a273af: Verifying Checksum 04:02:29 33b1e0a273af: Download complete 04:02:29 5d3b04190fa2: Verifying Checksum 04:02:29 5d3b04190fa2: Download complete 04:02:29 ec43610c2a17: Download complete 04:02:29 5eb5b503b376: Verifying Checksum 04:02:29 5eb5b503b376: Download complete 04:02:29 2f39f015ded8: Download complete 04:02:30 5eb5b503b376: Pull complete 04:02:30 5c69ac0246d0: Pull complete 04:02:30 ec43610c2a17: Pull complete 04:02:30 3a2ae6a8a46f: Pull complete 04:02:30 33b1e0a273af: Pull complete 04:02:31 5d3b04190fa2: Pull complete 04:02:35 2f39f015ded8: Pull complete 04:02:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:35 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:02:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:02:37 $ docker top 98e018b24b0793a7097d367ab3758cfa794825c36ea766e34f28aa851d0620ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:37 ---> job-cost.sh 04:02:37 lf-activate-venv: SKIPPING 04:02:37 INFO: No Stack... 04:02:37 INFO: Retrieving Pricing Info for: v3-standard-8 04:02:38 INFO: Archiving Costs [Pipeline] sh 04:02:38 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:02:38 + cut -d, -f6 [Pipeline] lock 04:02:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] 04:02:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] did not exist. Created. 04:02:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:38 + echo total: 0.2199999988079071 [Pipeline] stash 04:02:38 Stashed 1 file(s) [Pipeline] } 04:02:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 04:02:38 $ docker stop --time=1 98e018b24b0793a7097d367ab3758cfa794825c36ea766e34f28aa851d0620ad 04:02:39 $ docker rm -f --volumes 98e018b24b0793a7097d367ab3758cfa794825c36ea766e34f28aa851d0620ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:02:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5105 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:02:50 Running in /w/workspace/device-sdk-go/189 [Pipeline] { [Pipeline] checkout 04:02:50 The recommended git tool is: git 04:02:57 using credential edgex-jenkins-ssh 04:02:57 Cloning the remote Git repository 04:02:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:02:57 > git init /w/workspace/device-sdk-go/189 # timeout=10 04:02:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:02:57 > git --version # timeout=10 04:02:57 > git --version # 'git version 2.25.1' 04:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:02:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:00 Avoid second fetch 04:03:00 Checking out Revision bfe51486b41881a5fce950743db7c47f3e9bb02a (main) 04:03:00 > git config core.sparsecheckout # timeout=10 04:03:00 > git checkout -f bfe51486b41881a5fce950743db7c47f3e9bb02a # timeout=10 04:03:00 Commit message: "Merge pull request #1400 from weichou1229/issue-1397" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:03:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:01 Dload Upload Total Spent Left Speed 04:03:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 04:03:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:03:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 04:03:02 tee /etc/docker/daemon.new 04:03:02 { 04:03:02 "registry-mirrors": [ 04:03:02 "https://nexus3.edgexfoundry.org:10001" 04:03:02 ], 04:03:02 "bip": "10.250.0.254/24", 04:03:02 "hosts": [ 04:03:02 "tcp://0.0.0.0:5555", 04:03:02 "unix:///var/run/docker.sock" 04:03:02 ], 04:03:02 "mtu": 1458, 04:03:02 "selinux-enabled": true, 04:03:02 "seccomp-profile": "/etc/docker/seccomp.json" 04:03:02 } [Pipeline] sh 04:03:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:03:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:21 provisioning config files... 04:03:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/189@tmp/config7029863443234776731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:22 ---> docker-login.sh 04:03:22 nexus3.edgexfoundry.org:10001 04:03:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:22 Configure a credential helper to remove this warning. See 04:03:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:22 04:03:22 Login Succeeded 04:03:22 nexus3.edgexfoundry.org:10002 04:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:23 Configure a credential helper to remove this warning. See 04:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:23 04:03:23 Login Succeeded 04:03:23 nexus3.edgexfoundry.org:10003 04:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:23 Configure a credential helper to remove this warning. See 04:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:23 04:03:23 Login Succeeded 04:03:23 nexus3.edgexfoundry.org:10004 04:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:23 Configure a credential helper to remove this warning. See 04:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:23 04:03:23 Login Succeeded 04:03:23 docker.io 04:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:24 Configure a credential helper to remove this warning. See 04:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:24 04:03:24 Login Succeeded 04:03:24 ---> docker-login.sh ends [Pipeline] } 04:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:03:24 ========================================================= 04:03:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:03:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:25 + 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 . 04:03:25 Sending build context to Docker daemon 5.8MB 04:03:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:03:25 Step 2/10 : FROM ${BASE} AS builder 04:03:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:03:25 af6eaf76a39c: Pulling fs layer 04:03:25 55522c791124: Pulling fs layer 04:03:25 ce5c4a1c91eb: Pulling fs layer 04:03:25 169dfbe0d373: Pulling fs layer 04:03:25 e1ff8fa3b103: Pulling fs layer 04:03:25 52ebb69f0ebf: Pulling fs layer 04:03:25 5abe8eddf0d5: Pulling fs layer 04:03:25 169dfbe0d373: Waiting 04:03:25 e1ff8fa3b103: Waiting 04:03:25 52ebb69f0ebf: Waiting 04:03:25 55522c791124: Download complete 04:03:25 169dfbe0d373: Verifying Checksum 04:03:25 169dfbe0d373: Download complete 04:03:25 e1ff8fa3b103: Download complete 04:03:25 af6eaf76a39c: Verifying Checksum 04:03:26 af6eaf76a39c: Pull complete 04:03:27 55522c791124: Pull complete 04:03:27 5abe8eddf0d5: Download complete 04:03:28 52ebb69f0ebf: Download complete 04:03:28 ce5c4a1c91eb: Verifying Checksum 04:03:28 ce5c4a1c91eb: Download complete 04:03:40 ce5c4a1c91eb: Pull complete 04:03:40 169dfbe0d373: Pull complete 04:03:40 e1ff8fa3b103: Pull complete 04:03:46 52ebb69f0ebf: Pull complete 04:03:48 5abe8eddf0d5: Pull complete 04:03:48 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:03:48 ---> 6cb57ee374ae 04:03:48 Step 3/10 : ARG MAKE=make build 04:03:50 ---> Running in 21c4b11e580e 04:03:50 Removing intermediate container 21c4b11e580e 04:03:50 ---> d2d0d9337d9c 04:03:50 Step 4/10 : WORKDIR /device-sdk-go 04:03:50 ---> Running in 94902859712e 04:03:51 Removing intermediate container 94902859712e 04:03:51 ---> c3a8d4dcd721 04:03:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:03:51 ---> Running in 4282158251bb 04:03:51 Removing intermediate container 4282158251bb 04:03:51 ---> 0c30a0804360 04:03:51 Step 6/10 : RUN apk add --update --no-cache make git 04:03:51 ---> Running in 1225553467a2 04:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:03:54 OK: 263 MiB in 53 packages 04:03:55 Removing intermediate container 1225553467a2 04:03:55 ---> f4c8b76527c1 04:03:55 Step 7/10 : COPY go.mod vendor* ./ 04:03:56 ---> 4738d13e66e3 04:03:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:56 ---> Running in a6bd8e54b274 04:05:03 Removing intermediate container a6bd8e54b274 04:05:03 ---> c908adcb09ca 04:05:03 Step 9/10 : COPY . . 04:05:03 ---> ff9997703e72 04:05:03 Step 10/10 : RUN ${MAKE} 04:05:03 ---> Running in f286b04dce7c 04:05:03 noop 04:05:04 Removing intermediate container f286b04dce7c 04:05:04 ---> 5e92844c545e 04:05:04 Successfully built 5e92844c545e 04:05:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:05 + docker inspect -f . ci-base-image-arm64 04:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:05 prd-ubuntu20.04-docker-arm64-4c-16g-5105 does not seem to be running inside a container 04:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/189 -v /w/workspace/device-sdk-go/189:/w/workspace/device-sdk-go/189:rw,z -v /w/workspace/device-sdk-go/189@tmp:/w/workspace/device-sdk-go/189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:05:06 $ docker top 3af0a875acaad9330c6e2e7e575c458fd5471e6c32d6a7d88a478699dfb2684c -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:07 + go version 04:05:07 go version go1.20.2 linux/arm64 [Pipeline] } 04:05:07 $ docker stop --time=1 3af0a875acaad9330c6e2e7e575c458fd5471e6c32d6a7d88a478699dfb2684c 04:05:09 $ docker rm -f --volumes 3af0a875acaad9330c6e2e7e575c458fd5471e6c32d6a7d88a478699dfb2684c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:09 + docker inspect -f . ci-base-image-arm64 04:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:09 prd-ubuntu20.04-docker-arm64-4c-16g-5105 does not seem to be running inside a container 04:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/189 -v /w/workspace/device-sdk-go/189:/w/workspace/device-sdk-go/189:rw,z -v /w/workspace/device-sdk-go/189@tmp:/w/workspace/device-sdk-go/189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:05:11 $ docker top ba25907ed01d3dce2bd633ff5f53166b6c871b3cd4fc8f5a50ee67ff2ee4d846 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/189 [Pipeline] fileExists [Pipeline] sh 04:05:12 + make test 04:05:12 go test -race -coverprofile=coverage.out ./... 04:05:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:08:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:08:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:08:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:08:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:08:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:08:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.233s coverage: 27.6% of statements 04:08:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.254s coverage: 78.9% of statements 04:08:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:08:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:08:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.345s coverage: 86.0% of statements 04:08:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:08:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.438s coverage: 75.9% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:08:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:08:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:08:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.257s coverage: 15.2% of statements 04:08:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 65.7% of statements 04:08:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.441s coverage: 89.2% of statements 04:08:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:08:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.258s coverage: 5.5% of statements 04:08:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:08:58 GO111MODULE=on go vet ./... 04:11:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:35 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:35 $ docker stop --time=1 ba25907ed01d3dce2bd633ff5f53166b6c871b3cd4fc8f5a50ee67ff2ee4d846 04:11:37 $ docker rm -f --volumes ba25907ed01d3dce2bd633ff5f53166b6c871b3cd4fc8f5a50ee67ff2ee4d846 [Pipeline] // withDockerContainer [Pipeline] sh 04:11:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:41 Warning: overwriting stash ‘coverage-report’ 04:11:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:42 + ls -al . 04:11:42 total 272 04:11:42 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 04:05 . 04:11:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:02 .. 04:11:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:03 .dockerignore 04:11:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:03 .git 04:11:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:03 .github 04:11:42 -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:03 .gitignore 04:11:42 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:03 .golangci.yml 04:11:42 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:03 CHANGELOG.md 04:11:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:03 GOVERNANCE.md 04:11:42 -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:03 Jenkinsfile 04:11:42 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:03 LICENSE 04:11:42 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:03 Makefile 04:11:42 -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:03 OWNERS.md 04:11:42 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:03 README.md 04:11:42 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 04:00 VERSION 04:11:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:03 bin 04:11:42 -rw-r--r-- 1 jenkins jenkins 109539 Mar 22 04:08 coverage.out 04:11:42 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:03 example 04:11:42 -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:03 go.mod 04:11:42 -rw-rw-r-- 1 jenkins jenkins 30841 Mar 22 04:03 go.sum 04:11:42 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:03 internal 04:11:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:03 openapi 04:11:42 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:03 pkg 04:11:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:03 snap 04:11:42 -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:42 + 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=bfe51486b41881a5fce950743db7c47f3e9bb02a --label arch=arm64 --label version=3.0.0-dev.58 . 04:11:43 Sending build context to Docker daemon 5.911MB 04:11:43 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:11:43 Step 2/23 : FROM ${BASE} AS builder 04:11:43 ---> 5e92844c545e 04:11:43 Step 3/23 : ARG MAKE=make build 04:11:43 ---> Running in 76adf3678098 04:11:43 Removing intermediate container 76adf3678098 04:11:43 ---> 28e551bace7d 04:11:43 Step 4/23 : WORKDIR /device-sdk-go 04:11:43 ---> Running in 343e1739772d 04:11:44 Removing intermediate container 343e1739772d 04:11:44 ---> 5f054078137a 04:11:44 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:11:44 ---> Running in f0565c174f5c 04:11:44 Removing intermediate container f0565c174f5c 04:11:44 ---> d7a590514af7 04:11:44 Step 6/23 : RUN apk add --update --no-cache make git 04:11:44 ---> Running in b117addc9f3e 04:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:11:47 OK: 263 MiB in 53 packages 04:11:48 Removing intermediate container b117addc9f3e 04:11:48 ---> 5680f30d75ab 04:11:48 Step 7/23 : COPY go.mod vendor* ./ 04:11:48 ---> f2b8e594028d 04:11:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:48 ---> Running in fb439dab0669 04:11:51 Removing intermediate container fb439dab0669 04:11:51 ---> 3829235167a4 04:11:51 Step 9/23 : COPY . . 04:11:52 ---> cc8a453f67bd 04:11:52 Step 10/23 : RUN ${MAKE} 04:11:52 ---> Running in ec84fe8deb84 04:11:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.58" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:14:30 Removing intermediate container ec84fe8deb84 04:14:30 ---> 7b745f30c3b8 04:14:30 Step 11/23 : FROM alpine:3.17 04:14:30 3.17: Pulling from library/alpine 04:14:30 af6eaf76a39c: Already exists 04:14:30 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:14:30 Status: Downloaded newer image for alpine:3.17 04:14:30 ---> d74e625d9115 04:14:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:14:30 ---> Running in 61e6aa38442f 04:14:30 Removing intermediate container 61e6aa38442f 04:14:30 ---> 07e9de9c11b3 04:14:30 Step 13/23 : RUN apk add --update --no-cache 04:14:30 ---> Running in 0eacbba0cd3d 04:14:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:14:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:14:30 OK: 7 MiB in 15 packages 04:14:30 Removing intermediate container 0eacbba0cd3d 04:14:30 ---> a68a2c9233d0 04:14:30 Step 14/23 : WORKDIR / 04:14:30 ---> Running in 97977e85aec8 04:14:30 Removing intermediate container 97977e85aec8 04:14:30 ---> 95dd27928c08 04:14:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:14:30 ---> d57af7726b09 04:14:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:14:30 ---> b80646e6465d 04:14:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:14:30 ---> deebdcd774bb 04:14:30 Step 18/23 : EXPOSE 59999 04:14:30 ---> Running in 25ae57dc9b1c 04:14:30 Removing intermediate container 25ae57dc9b1c 04:14:30 ---> d2aea2567df1 04:14:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:14:30 ---> Running in 3ba1d0458fb7 04:14:30 Removing intermediate container 3ba1d0458fb7 04:14:30 ---> 55263a570fa5 04:14:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:14:30 ---> Running in eabcb73e6bdb 04:14:30 Removing intermediate container eabcb73e6bdb 04:14:30 ---> 3bcd2cfe5ac9 04:14:30 Step 21/23 : LABEL arch=arm64 04:14:30 ---> Running in 71ff7b4a0d05 04:14:30 Removing intermediate container 71ff7b4a0d05 04:14:30 ---> c46fcd82433e 04:14:30 Step 22/23 : LABEL git_sha=bfe51486b41881a5fce950743db7c47f3e9bb02a 04:14:30 ---> Running in 085d39964378 04:14:30 Removing intermediate container 085d39964378 04:14:30 ---> c1b19e71dace 04:14:30 Step 23/23 : LABEL version=3.0.0-dev.58 04:14:30 ---> Running in f5e838d17980 04:14:30 Removing intermediate container f5e838d17980 04:14:30 ---> 3d9b3fc1e7b4 04:14:30 [Warning] One or more build-args [ARCH] were not consumed 04:14:30 Successfully built 3d9b3fc1e7b4 04:14:30 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 04:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:30 04:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:31 arm64: Pulling from edgex-lftools-log-publisher 04:14:31 8998bd30e6a1: Pulling fs layer 04:14:31 04944245beec: Pulling fs layer 04:14:31 699f458cf7ca: Pulling fs layer 04:14:31 765212b225bb: Pulling fs layer 04:14:31 f23df028b6ca: Pulling fs layer 04:14:31 d65c8cfc05b1: Pulling fs layer 04:14:31 2437ff75d9bd: Pulling fs layer 04:14:31 765212b225bb: Waiting 04:14:31 f23df028b6ca: Waiting 04:14:31 d65c8cfc05b1: Waiting 04:14:31 2437ff75d9bd: Waiting 04:14:31 04944245beec: Verifying Checksum 04:14:31 04944245beec: Download complete 04:14:31 765212b225bb: Verifying Checksum 04:14:31 765212b225bb: Download complete 04:14:31 f23df028b6ca: Verifying Checksum 04:14:31 f23df028b6ca: Download complete 04:14:31 d65c8cfc05b1: Verifying Checksum 04:14:31 d65c8cfc05b1: Download complete 04:14:31 699f458cf7ca: Verifying Checksum 04:14:31 699f458cf7ca: Download complete 04:14:32 8998bd30e6a1: Verifying Checksum 04:14:34 2437ff75d9bd: Verifying Checksum 04:14:34 2437ff75d9bd: Download complete 04:14:36 8998bd30e6a1: Pull complete 04:14:36 04944245beec: Pull complete 04:14:38 699f458cf7ca: Pull complete 04:14:38 765212b225bb: Pull complete 04:14:39 f23df028b6ca: Pull complete 04:14:39 d65c8cfc05b1: Pull complete 04:14:54 2437ff75d9bd: Pull complete 04:14:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:14:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:54 prd-ubuntu20.04-docker-arm64-4c-16g-5105 does not seem to be running inside a container 04:14:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/189 -v /w/workspace/device-sdk-go/189:/w/workspace/device-sdk-go/189:rw,z -v /w/workspace/device-sdk-go/189@tmp:/w/workspace/device-sdk-go/189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:14:57 $ docker top 85e121000ba9e09acb5548aaab5c171cb5602f837f5a0acf28085e30e317ba10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:58 ---> job-cost.sh 04:14:58 lf-activate-venv: SKIPPING 04:14:58 INFO: No Stack... 04:14:58 INFO: Retrieving Pricing Info for: v3-standard-4 04:14:59 INFO: Archiving Costs [Pipeline] sh 04:15:00 + cat /w/workspace/device-sdk-go/189/archives/cost.csv 04:15:00 + cut -d, -f6 [Pipeline] lock 04:15:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] 04:15:00 Resource [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] did not exist. Created. 04:15:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:15:00 /w/workspace/device-sdk-go/189@tmp/durable-fe762494/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:15:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:15:01 Warning: overwriting stash ‘stack-cost’ 04:15:01 Stashed 1 file(s) [Pipeline] } 04:15:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:01 $ docker stop --time=1 85e121000ba9e09acb5548aaab5c171cb5602f837f5a0acf28085e30e317ba10 04:15:03 $ docker rm -f --volumes 85e121000ba9e09acb5548aaab5c171cb5602f837f5a0acf28085e30e317ba10 [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 04:15:03 provisioning config files... 04:15:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11552813171099462746tmp [Pipeline] { [Pipeline] sh 04:15:03 + set +x 04:15:03 + curl -s https://codecov.io/bash 04:15:03 + bash -s -- 04:15:03 04:15:03 _____ _ 04:15:03 / ____| | | 04:15:03 | | ___ __| | ___ ___ _____ __ 04:15:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:15:03 | |___| (_) | (_| | __/ (_| (_) \ V / 04:15:03 \_____\___/ \__,_|\___|\___\___/ \_/ 04:15:03 Bash-1.0.6 04:15:03 04:15:03 04:15:03 ==> git version 2.25.1 found 04:15:03 ==> 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 04:15:03 Release-Date: 2020-01-08 04:15:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:15:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:15:03 ==> Jenkins CI detected. 04:15:03 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:15:03 project root: . 04:15:03 --> token set from env 04:15:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:15:03 ==> Running gcov in . (disable via -X gcov) 04:15:03 ==> Python coveragepy not found 04:15:03 ==> Searching for coverage reports in: 04:15:03 + . 04:15:03 -> Found 1 reports 04:15:03 ==> Detecting git/mercurial file structure 04:15:03 ==> Reading reports 04:15:03 + ./coverage.out bytes=109539 04:15:03 ==> Appending adjustments 04:15:03 https://docs.codecov.io/docs/fixing-reports 04:15:04 + Found adjustments 04:15:04 ==> Gzipping contents 04:15:04 16K /tmp/codecov.3cSgWG.gz 04:15:04 ==> Uploading reports 04:15:04 url: https://codecov.io 04:15:04 query: branch=main&commit=bfe51486b41881a5fce950743db7c47f3e9bb02a&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:15:04 -> Pinging Codecov 04:15:04 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=bfe51486b41881a5fce950743db7c47f3e9bb02a&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:15:04 -> Uploading to 04:15:04 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/bfe51486b41881a5fce950743db7c47f3e9bb02a/0464dcff-1368-4090-98e0-eb7e7c06aa06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T041504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18336c70ff6761b29ba1095546de49f7e6b3fdb5aafc8ff40b785fa2ba9eaa0c 04:15:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:04 Dload Upload Total Spent Left Speed 04:15:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15242 0 0 100 15242 0 49973 --:--:-- --:--:-- --:--:-- 49973 04:15:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] } 04:15:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:15:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:15:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:15:05 04:15:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:15:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:15:05 df9b9388f04a: Pulling fs layer 04:15:05 52dc419b0ee2: Pulling fs layer 04:15:05 25bc292e5bac: Pulling fs layer 04:15:05 114826534d7a: Pulling fs layer 04:15:05 4657fd5d0bcf: Pulling fs layer 04:15:05 6ad1cebc031e: Pulling fs layer 04:15:05 8a3aa393b2d8: Pulling fs layer 04:15:05 4657fd5d0bcf: Waiting 04:15:05 6ad1cebc031e: Waiting 04:15:05 8a3aa393b2d8: Waiting 04:15:05 25bc292e5bac: Verifying Checksum 04:15:05 25bc292e5bac: Download complete 04:15:05 52dc419b0ee2: Verifying Checksum 04:15:05 52dc419b0ee2: Download complete 04:15:05 4657fd5d0bcf: Verifying Checksum 04:15:05 4657fd5d0bcf: Download complete 04:15:05 df9b9388f04a: Verifying Checksum 04:15:05 df9b9388f04a: Download complete 04:15:05 df9b9388f04a: Pull complete 04:15:06 6ad1cebc031e: Verifying Checksum 04:15:06 6ad1cebc031e: Download complete 04:15:06 52dc419b0ee2: Pull complete 04:15:06 25bc292e5bac: Pull complete 04:15:06 114826534d7a: Download complete 04:15:06 8a3aa393b2d8: Verifying Checksum 04:15:06 8a3aa393b2d8: Download complete 04:15:10 114826534d7a: Pull complete 04:15:10 4657fd5d0bcf: Pull complete 04:15:10 6ad1cebc031e: Pull complete 04:15:14 8a3aa393b2d8: Pull complete 04:15:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:15:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:14 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:15:16 $ docker top b57bfbd50c4057d1486fff1e97841e14c38008e742cb9bc690f8ff67ef3b6e63 -eo pid,comm [Pipeline] { [Pipeline] echo 04:15:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:15:16 + set -o pipefail 04:15:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:15:21 04:15:21 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:15:21 04:15:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/550afa5b-fffb-49d7-8bbd-cbd6be003e4d 04:15:21 04:15:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:15:21 04:15:21 04:15:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:15:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:15:21 More details here: https://snyk.co/ue1NS [Pipeline] } 04:15:21 $ docker stop --time=1 b57bfbd50c4057d1486fff1e97841e14c38008e742cb9bc690f8ff67ef3b6e63 04:15:23 $ docker rm -f --volumes b57bfbd50c4057d1486fff1e97841e14c38008e742cb9bc690f8ff67ef3b6e63 [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 04:15:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:24 provisioning config files... 04:15:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4596236551099296449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:24 --> edgex-publish-swagger.sh 04:15:24 === Publish openapi/v3 API === 04:15:24 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:15:24 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:15:24 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:24 Dload Upload Total Spent Left Speed 04:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 37295 --:--:-- --:--:-- --:--:-- 37236 100 23571 0 0 100 23571 0 37295 --:--:-- --:--:-- --:--:-- 37236 04:15:25 04:15:25 [Pipeline] } 04:15:25 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 04:15:25 + git log --format=format:%s -1 bfe51486b41881a5fce950743db7c47f3e9bb02a [Pipeline] sh 04:15:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:26 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:15:26 $ docker top c08d8777d9d67becb28b1ebda433972014eab6c8b4ae9c46742fafd8fbe348c3 -eo pid,comm 04:15:26 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). 04:15:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:26 [ssh-agent] Looking for ssh-agent implementation... 04:15:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:26 $ docker exec c08d8777d9d67becb28b1ebda433972014eab6c8b4ae9c46742fafd8fbe348c3 ssh-agent 04:15:27 SSH_AUTH_SOCK=/tmp/ssh-mofdGiL61Bbu/agent.31 04:15:27 SSH_AGENT_PID=37 04:15:27 Running ssh-add (command line suppressed) 04:15:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13672975208130004582.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13672975208130004582.key) 04:15:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:27 + git semver tag 04:15:28 2023-03-22 04:15:27,734 [run_tag] DEBUG tag force:False 04:15:28 2023-03-22 04:15:27,734 [check_head_tag] DEBUG check head tag 04:15:28 2023-03-22 04:15:27,736 [execute] INFO git cat-file --batch-check 04:15:28 2023-03-22 04:15:27,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:15:28 2023-03-22 04:15:27,741 [execute] INFO git cat-file --batch 04:15:28 2023-03-22 04:15:27,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:15:28 2023-03-22 04:15:27,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:28 2023-03-22 04:15:27,789 [execute] INFO git tag -a v3.0.0-dev.58 -m v3.0.0-dev.58 04:15:28 2023-03-22 04:15:27,789 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.58', '-m', 'v3.0.0-dev.58'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:15:28 2023-03-22 04:15:27,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:28 3.0.0-dev.58 [Pipeline] } 04:15:28 $ docker exec --env ******** --env ******** c08d8777d9d67becb28b1ebda433972014eab6c8b4ae9c46742fafd8fbe348c3 ssh-agent -k 04:15:28 unset SSH_AUTH_SOCK; 04:15:28 unset SSH_AGENT_PID; 04:15:28 echo Agent pid 37 killed; 04:15:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:28 + git semver [Pipeline] } 04:15:29 $ docker stop --time=1 c08d8777d9d67becb28b1ebda433972014eab6c8b4ae9c46742fafd8fbe348c3 04:15:30 $ docker rm -f --volumes c08d8777d9d67becb28b1ebda433972014eab6c8b4ae9c46742fafd8fbe348c3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:15:30 04:15:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:15:31 0.23.1-centos7: Pulling from edgex-lftools 04:15:31 ab5ef0e58194: Pulling fs layer 04:15:31 9712f1f96733: Pulling fs layer 04:15:31 63f879dbbcfc: Pulling fs layer 04:15:31 0d9ebad4ef96: Pulling fs layer 04:15:31 e9a5061849ea: Pulling fs layer 04:15:31 d747dcd14b5f: Pulling fs layer 04:15:31 2de7ff778b66: Pulling fs layer 04:15:31 d747dcd14b5f: Waiting 04:15:31 2de7ff778b66: Waiting 04:15:31 0d9ebad4ef96: Waiting 04:15:31 e9a5061849ea: Waiting 04:15:31 9712f1f96733: Verifying Checksum 04:15:31 9712f1f96733: Download complete 04:15:31 63f879dbbcfc: Verifying Checksum 04:15:31 63f879dbbcfc: Download complete 04:15:31 e9a5061849ea: Verifying Checksum 04:15:31 e9a5061849ea: Download complete 04:15:31 0d9ebad4ef96: Verifying Checksum 04:15:31 0d9ebad4ef96: Download complete 04:15:31 d747dcd14b5f: Download complete 04:15:31 ab5ef0e58194: Verifying Checksum 04:15:31 ab5ef0e58194: Download complete 04:15:31 2de7ff778b66: Verifying Checksum 04:15:31 2de7ff778b66: Download complete 04:15:35 ab5ef0e58194: Pull complete 04:15:35 9712f1f96733: Pull complete 04:15:35 63f879dbbcfc: Pull complete 04:15:39 0d9ebad4ef96: Pull complete 04:15:39 e9a5061849ea: Pull complete 04:15:39 d747dcd14b5f: Pull complete 04:15:40 2de7ff778b66: Pull complete 04:15:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:15:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:15:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:40 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:15:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:15:43 $ docker top 540005c8cd62eeea3549e9f5f298ad53788541e62630cabef518c7cf471b80e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:15:43 provisioning config files... 04:15:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16963518125173087332tmp 04:15:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8341875983975384456tmp 04:15:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10777944769331731757tmp [Pipeline] { [Pipeline] echo 04:15:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:15:43 ---> sigul-configuration.sh 04:15:43 gpg: directory `/root/.gnupg' created 04:15:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:15:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:15:43 gpg: keyring `/root/.gnupg/secring.gpg' created 04:15:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:15:43 gpg: CAST5 encrypted data 04:15:43 gpg: encrypted with 1 passphrase 04:15:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:15:43 + mkdir /home/jenkins 04:15:43 + mkdir /home/jenkins/sigul [Pipeline] sh 04:15:43 + 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 04:15:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:15:44 ---> sigul-install.sh 04:15:44 Sigul already installed; skipping installation. [Pipeline] sh 04:15:44 + git tag --list 04:15:44 0.7.1 04:15:44 delhi-tag 04:15:44 v1.0.0 04:15:44 v1.1.0 04:15:44 v1.1.1 04:15:44 v1.1.2 04:15:44 v1.2.0 04:15:44 v1.2.1 04:15:44 v1.2.2 04:15:44 v1.2.3 04:15:44 v1.3.0 04:15:44 v1.4.0 04:15:44 v2.0.0 04:15:44 v2.1.0 04:15:44 v2.1.1 04:15:44 v2.1.1-dev.2 04:15:44 v2.1.1-dev.3 04:15:44 v2.2.0 04:15:44 v2.2.1-dev.1 04:15:44 v2.2.1-dev.10 04:15:44 v2.2.1-dev.11 04:15:44 v2.2.1-dev.12 04:15:44 v2.2.1-dev.13 04:15:44 v2.2.1-dev.14 04:15:44 v2.2.1-dev.2 04:15:44 v2.2.1-dev.3 04:15:44 v2.2.1-dev.4 04:15:44 v2.2.1-dev.5 04:15:44 v2.2.1-dev.6 04:15:44 v2.2.1-dev.7 04:15:44 v2.2.1-dev.8 04:15:44 v2.2.1-dev.9 04:15:44 v2.3.0 04:15:44 v2.3.0-dev.14 04:15:44 v2.3.0-dev.15 04:15:44 v2.3.0-dev.16 04:15:44 v2.3.0-dev.17 04:15:44 v2.3.0-dev.18 04:15:44 v2.3.0-dev.19 04:15:44 v2.3.0-dev.20 04:15:44 v2.3.0-dev.21 04:15:44 v2.3.0-dev.22 04:15:44 v2.3.0-dev.23 04:15:44 v2.3.0-dev.24 04:15:44 v2.3.0-dev.25 04:15:44 v2.3.0-dev.26 04:15:44 v2.3.0-dev.27 04:15:44 v2.3.0-dev.28 04:15:44 v2.3.0-dev.29 04:15:44 v2.3.0-dev.30 04:15:44 v2.3.0-dev.31 04:15:44 v2.3.0-dev.32 04:15:44 v2.3.0-dev.33 04:15:44 v2.3.0-dev.34 04:15:44 v2.3.0-dev.35 04:15:44 v2.3.0-dev.36 04:15:44 v2.3.0-dev.37 04:15:44 v2.3.0-dev.38 04:15:44 v2.3.0-dev.39 04:15:44 v2.3.0-dev.40 04:15:44 v2.3.0-dev.41 04:15:44 v2.3.0-dev.42 04:15:44 v2.3.0-dev.43 04:15:44 v2.3.0-dev.44 04:15:44 v2.3.0-dev.45 04:15:44 v2.3.0-dev.46 04:15:44 v2.3.0-dev.47 04:15:44 v2.3.0-dev.48 04:15:44 v2.3.0-dev.49 04:15:44 v2.3.0-dev.50 04:15:44 v2.3.0-dev.51 04:15:44 v2.3.1 04:15:44 v2.3.1-dev.1 04:15:44 v2.3.1-dev.2 04:15:44 v2.3.1-dev.3 04:15:44 v2.3.1-dev.4 04:15:44 v3.0.0-dev.1 04:15:44 v3.0.0-dev.10 04:15:44 v3.0.0-dev.11 04:15:44 v3.0.0-dev.12 04:15:44 v3.0.0-dev.13 04:15:44 v3.0.0-dev.14 04:15:44 v3.0.0-dev.15 04:15:44 v3.0.0-dev.16 04:15:44 v3.0.0-dev.17 04:15:44 v3.0.0-dev.18 04:15:44 v3.0.0-dev.19 04:15:44 v3.0.0-dev.2 04:15:44 v3.0.0-dev.20 04:15:44 v3.0.0-dev.21 04:15:44 v3.0.0-dev.22 04:15:44 v3.0.0-dev.23 04:15:44 v3.0.0-dev.24 04:15:44 v3.0.0-dev.25 04:15:44 v3.0.0-dev.26 04:15:44 v3.0.0-dev.27 04:15:44 v3.0.0-dev.28 04:15:44 v3.0.0-dev.29 04:15:44 v3.0.0-dev.3 04:15:44 v3.0.0-dev.30 04:15:44 v3.0.0-dev.31 04:15:44 v3.0.0-dev.32 04:15:44 v3.0.0-dev.33 04:15:44 v3.0.0-dev.34 04:15:44 v3.0.0-dev.35 04:15:44 v3.0.0-dev.36 04:15:44 v3.0.0-dev.37 04:15:44 v3.0.0-dev.38 04:15:44 v3.0.0-dev.39 04:15:44 v3.0.0-dev.4 04:15:44 v3.0.0-dev.40 04:15:44 v3.0.0-dev.41 04:15:44 v3.0.0-dev.42 04:15:44 v3.0.0-dev.43 04:15:44 v3.0.0-dev.44 04:15:44 v3.0.0-dev.45 04:15:44 v3.0.0-dev.46 04:15:44 v3.0.0-dev.47 04:15:44 v3.0.0-dev.48 04:15:44 v3.0.0-dev.49 04:15:44 v3.0.0-dev.5 04:15:44 v3.0.0-dev.50 04:15:44 v3.0.0-dev.51 04:15:44 v3.0.0-dev.52 04:15:44 v3.0.0-dev.53 04:15:44 v3.0.0-dev.54 04:15:44 v3.0.0-dev.55 04:15:44 v3.0.0-dev.56 04:15:44 v3.0.0-dev.57 04:15:44 v3.0.0-dev.58 04:15:44 v3.0.0-dev.6 04:15:44 v3.0.0-dev.7 04:15:44 v3.0.0-dev.8 04:15:44 v3.0.0-dev.9 [Pipeline] sh 04:15:44 + lftools sign git-tag v3.0.0-dev.58 04:15:45 Signing Git tag with Sigul... 04:15:45 Signing v3.0.0-dev.58 [Pipeline] echo 04:15:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:15:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:15:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:15:46 $ docker stop --time=1 540005c8cd62eeea3549e9f5f298ad53788541e62630cabef518c7cf471b80e8 04:15:47 $ docker rm -f --volumes 540005c8cd62eeea3549e9f5f298ad53788541e62630cabef518c7cf471b80e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:15:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:48 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:15:48 $ docker top 4d06b9dbb857beffb2b09c017bda48b7baf90f111e7e126fb10d3bbf559ea1ab -eo pid,comm 04:15:48 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). 04:15:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:48 [ssh-agent] Looking for ssh-agent implementation... 04:15:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:48 $ docker exec 4d06b9dbb857beffb2b09c017bda48b7baf90f111e7e126fb10d3bbf559ea1ab ssh-agent 04:15:49 SSH_AUTH_SOCK=/tmp/ssh-gaGP6vsroIz4/agent.33 04:15:49 SSH_AGENT_PID=39 04:15:49 Running ssh-add (command line suppressed) 04:15:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12528340302208962604.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12528340302208962604.key) 04:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:49 + git semver bump pre 04:15:50 2023-03-22 04:15:49,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:50 2023-03-22 04:15:49,786 [bump_version] DEBUG bumping version:3.0.0-dev.58 on axis:pre with prefix:dev 04:15:50 2023-03-22 04:15:49,786 [bump_version] DEBUG bumped version:3.0.0-dev.59 04:15:50 2023-03-22 04:15:49,786 [write_version] DEBUG write version:3.0.0-dev.59 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:15:50 2023-03-22 04:15:49,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:50 2023-03-22 04:15:49,786 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:50 2023-03-22 04:15:49,788 [execute] INFO git cat-file --batch-check 04:15:50 2023-03-22 04:15:49,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:15:50 2023-03-22 04:15:49,793 [execute] INFO git cat-file --batch 04:15:50 2023-03-22 04:15:49,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:15:50 2023-03-22 04:15:49,797 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:50 3.0.0-dev.59 [Pipeline] } 04:15:50 $ docker exec --env ******** --env ******** 4d06b9dbb857beffb2b09c017bda48b7baf90f111e7e126fb10d3bbf559ea1ab ssh-agent -k 04:15:50 unset SSH_AUTH_SOCK; 04:15:50 unset SSH_AGENT_PID; 04:15:50 echo Agent pid 39 killed; 04:15:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:50 + git semver [Pipeline] } 04:15:51 $ docker stop --time=1 4d06b9dbb857beffb2b09c017bda48b7baf90f111e7e126fb10d3bbf559ea1ab 04:15:52 $ docker rm -f --volumes 4d06b9dbb857beffb2b09c017bda48b7baf90f111e7e126fb10d3bbf559ea1ab [Pipeline] // withDockerContainer [Pipeline] sh 04:15:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:53 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:15:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:15:53 $ docker top 03738ee1eba4a829447339d189915c81058f8d6d86bbc197baeffb9b8cfb94c7 -eo pid,comm 04:15:53 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). 04:15:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:53 [ssh-agent] Looking for ssh-agent implementation... 04:15:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:53 $ docker exec 03738ee1eba4a829447339d189915c81058f8d6d86bbc197baeffb9b8cfb94c7 ssh-agent 04:15:53 SSH_AUTH_SOCK=/tmp/ssh-dyaBDVDe5zuj/agent.32 04:15:53 SSH_AGENT_PID=39 04:15:53 Running ssh-add (command line suppressed) 04:15:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8036703546413651930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8036703546413651930.key) 04:15:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:54 + git semver push 04:15:54 2023-03-22 04:15:54,480 [run_push] DEBUG push 04:15:54 2023-03-22 04:15:54,480 [execute] INFO git cat-file --batch-check 04:15:54 2023-03-22 04:15:54,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:15:54 2023-03-22 04:15:54,484 [execute] INFO git rev-list ffcd496b4ffd0baf156726e04325327314a3fc95 -- 04:15:54 2023-03-22 04:15:54,484 [execute] DEBUG Popen(['git', 'rev-list', 'ffcd496b4ffd0baf156726e04325327314a3fc95', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:15:54 2023-03-22 04:15:54,494 [execute] INFO git fetch -v origin 04:15:54 2023-03-22 04:15:54,495 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:15:55 2023-03-22 04:15:55,080 [run_push] DEBUG no remote changes detected 04:15:55 2023-03-22 04:15:55,081 [execute] INFO git push origin semver 04:15:55 2023-03-22 04:15:55,081 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:15:55 2023-03-22 04:15:55,884 [run_push] DEBUG push all version tags 04:15:55 2023-03-22 04:15:55,885 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:15:55 2023-03-22 04:15:55,886 [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) 04:15:56 2023-03-22 04:15:56,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:56 3.0.0-dev.59 [Pipeline] } 04:15:56 $ docker exec --env ******** --env ******** 03738ee1eba4a829447339d189915c81058f8d6d86bbc197baeffb9b8cfb94c7 ssh-agent -k 04:15:56 unset SSH_AUTH_SOCK; 04:15:56 unset SSH_AGENT_PID; 04:15:56 echo Agent pid 39 killed; 04:15:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:57 + git semver [Pipeline] } 04:15:57 $ docker stop --time=1 03738ee1eba4a829447339d189915c81058f8d6d86bbc197baeffb9b8cfb94c7 04:15:59 $ docker rm -f --volumes 03738ee1eba4a829447339d189915c81058f8d6d86bbc197baeffb9b8cfb94c7 [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 04:15:59 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:15:59 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:15:59 total 16 04:15:59 drwxr-xr-x 3 root root 4096 Mar 22 04:02 . 04:15:59 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:15 .. 04:15:59 drwxr-xr-x 2 root root 4096 Mar 22 04:02 cost 04:15:59 -rw-r--r-- 1 root root 85 Mar 22 04:02 cost.csv 04:15:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:15:59 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:15:59 total 16 04:15:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:02 . 04:15:59 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:15 .. 04:15:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 04:02 cost 04:15:59 -rw-r--r-- 1 jenkins jenkins 85 Mar 22 04:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:00 ---> package-listing.sh 04:16:00 ++ tr '[:upper:]' '[:lower:]' 04:16:00 ++ facter osfamily 04:16:01 + OS_FAMILY=debian 04:16:01 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:16:01 + START_PACKAGES=/tmp/packages_start.txt 04:16:01 + END_PACKAGES=/tmp/packages_end.txt 04:16:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:01 + PACKAGES=/tmp/packages_start.txt 04:16:01 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:16:01 + PACKAGES=/tmp/packages_end.txt 04:16:01 + case "${OS_FAMILY}" in 04:16:01 + dpkg -l 04:16:01 + grep '^ii' 04:16:01 + '[' -f /tmp/packages_start.txt ']' 04:16:01 + '[' -f /tmp/packages_end.txt ']' 04:16:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:01 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:16:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:16:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:16:01 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 04:16:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:02 prd-ubuntu20.04-docker-8c-8g-5104 does not seem to be running inside a container 04:16:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:16:02 $ docker top de8a3872ed8bc57aea98ce07c581842f4ca2d5e5dcc91e434f277548a9b998b3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:03 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:03 + ls /var/log/sa-host 04:16:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:03 provisioning config files... 04:16:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13127783521827725331tmp [Pipeline] { [Pipeline] echo 04:16:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:03 ---> create-netrc.sh [Pipeline] } 04:16:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:04 ---> python-tools-install.sh [Pipeline] echo 04:16:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:04 ---> sudo-logs.sh 04:16:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:16:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:04 ---> job-cost.sh 04:16:04 lf-activate-venv: SKIPPING 04:16:04 DEBUG: total: 0.2199999988079071 04:16:04 INFO: Retrieving Stack Cost... 04:16:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:05 INFO: Archiving Costs [Pipeline] echo 04:16:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:05 ---> logs-deploy.sh 04:16:05 lf-activate-venv: SKIPPING 04:16:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/189 04:16:05 INFO: archiving workspace using pattern(s): 04:16:07 Archives upload complete. 04:16:07 INFO: archiving logs to Nexus