Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76ea4d1458b486cd84374d1f970a86ad0e64425c 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-ssh12001915806436124656.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-ssh5388469140350192278.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-ssh11070634402528989048.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-ssh7253338836116734742.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-ssh2436067159257057789.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-79 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 76ea4d1458b486cd84374d1f970a86ad0e64425c (main) Commit message: "Merge pull request #1378 from hahattan/dp-update" > 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 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 > git rev-list --no-walk 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:23:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:23:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:23:38 ========================================================= 07:23:38 EdgeX Global Pipelines Version Info 07:23:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:23:39 ------------------- 07:23:39 stable info: 07:23:39 ------------------- 07:23:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:23:39 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:23:39 Message: update stable to v1.0.245 07:23:39 ------------------- 07:23:39 experimental info: 07:23:39 ------------------- 07:23:39 Commited By: **** collab-it+edgex@linuxfoundation.org 07:23:39 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:23:39 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:23:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76ea4d1 [Pipeline] echo 07:23:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:40 provisioning config files... 07:23:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5301111105888788138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:40 ---> docker-login.sh 07:23:40 nexus3.edgexfoundry.org:10001 07:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:40 Configure a credential helper to remove this warning. See 07:23:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:40 07:23:40 Login Succeeded 07:23:40 nexus3.edgexfoundry.org:10002 07:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:41 Configure a credential helper to remove this warning. See 07:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:41 07:23:41 Login Succeeded 07:23:41 nexus3.edgexfoundry.org:10003 07:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:41 Configure a credential helper to remove this warning. See 07:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:41 07:23:41 Login Succeeded 07:23:41 nexus3.edgexfoundry.org:10004 07:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:41 Configure a credential helper to remove this warning. See 07:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:41 07:23:41 Login Succeeded 07:23:41 docker.io 07:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:41 Configure a credential helper to remove this warning. See 07:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:41 07:23:41 Login Succeeded 07:23:41 ---> docker-login.sh ends [Pipeline] } 07:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:23:42 + git rev-list -1 --merges 76ea4d1458b486cd84374d1f970a86ad0e64425c~1..76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] echo 07:23:42 -----------> git rev-list -1 --merges 76ea4d1458b486cd84374d1f970a86ad0e64425c~1..76ea4d1458b486cd84374d1f970a86ad0e64425c 76ea4d1458b486cd84374d1f970a86ad0e64425c 07:23:42 76ea4d1458b486cd84374d1f970a86ad0e64425c [false] [Pipeline] sh 07:23:42 + git log --format=format:%s -1 76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] echo 07:23:42 ========================================================= 07:23:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:23:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:42 + git log --format=format:%s -1 76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] echo 07:23:42 [semverPrep] GIT_COMMIT: 76ea4d1458b486cd84374d1f970a86ad0e64425c, Commit Message: Merge pull request #1378 from hahattan/dp-update [Pipeline] echo 07:23:42 [semverPrep] This is not a build commit. [Pipeline] sh 07:23:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:43 + grep -v github /etc/ssh/ssh_known_hosts 07:23:43 + [ -e /tmp/ssh_known_hosts ] 07:23:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:23:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:23:43 + sudo tee -a /etc/ssh/ssh_known_hosts 07:23:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:43 07:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:43 0.1.4: Pulling from edgex-devops/py-git-semver 07:23:43 b85a868b505f: Pulling fs layer 07:23:43 e2be974225ed: Pulling fs layer 07:23:43 339a4e72a1f5: Pulling fs layer 07:23:43 988bab9f4d93: Pulling fs layer 07:23:43 1469e6f7b9e6: Pulling fs layer 07:23:43 eaf3925da568: Pulling fs layer 07:23:43 bab4dde63d76: Pulling fs layer 07:23:43 bde34c3a00c8: Pulling fs layer 07:23:43 b352a97aabf1: Pulling fs layer 07:23:43 4872d77fe225: Pulling fs layer 07:23:43 5851b861e8e6: Pulling fs layer 07:23:43 bab4dde63d76: Waiting 07:23:43 bde34c3a00c8: Waiting 07:23:43 b352a97aabf1: Waiting 07:23:43 4872d77fe225: Waiting 07:23:43 5851b861e8e6: Waiting 07:23:43 988bab9f4d93: Waiting 07:23:43 1469e6f7b9e6: Waiting 07:23:43 eaf3925da568: Waiting 07:23:43 e2be974225ed: Verifying Checksum 07:23:43 e2be974225ed: Download complete 07:23:43 988bab9f4d93: Verifying Checksum 07:23:43 988bab9f4d93: Download complete 07:23:44 1469e6f7b9e6: Verifying Checksum 07:23:44 1469e6f7b9e6: Download complete 07:23:44 eaf3925da568: Verifying Checksum 07:23:44 eaf3925da568: Download complete 07:23:44 339a4e72a1f5: Verifying Checksum 07:23:44 339a4e72a1f5: Download complete 07:23:44 bde34c3a00c8: Download complete 07:23:44 b352a97aabf1: Download complete 07:23:44 4872d77fe225: Verifying Checksum 07:23:44 4872d77fe225: Download complete 07:23:44 5851b861e8e6: Verifying Checksum 07:23:44 5851b861e8e6: Download complete 07:23:44 b85a868b505f: Verifying Checksum 07:23:44 b85a868b505f: Download complete 07:23:44 bab4dde63d76: Verifying Checksum 07:23:44 bab4dde63d76: Download complete 07:23:45 b85a868b505f: Pull complete 07:23:45 e2be974225ed: Pull complete 07:23:46 339a4e72a1f5: Pull complete 07:23:46 988bab9f4d93: Pull complete 07:23:46 1469e6f7b9e6: Pull complete 07:23:46 eaf3925da568: Pull complete 07:23:48 bab4dde63d76: Pull complete 07:23:48 bde34c3a00c8: Pull complete 07:23:48 b352a97aabf1: Pull complete 07:23:48 4872d77fe225: Pull complete 07:23:48 5851b861e8e6: Pull complete 07:23:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:48 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:23: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:23:50 $ docker top 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 -eo pid,comm 07:23:50 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). 07:23:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:51 [ssh-agent] Looking for ssh-agent implementation... 07:23:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:51 $ docker exec 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 ssh-agent 07:23:51 SSH_AUTH_SOCK=/tmp/ssh-4CzvERwHKCoi/agent.31 07:23:51 SSH_AGENT_PID=37 07:23:51 Running ssh-add (command line suppressed) 07:23:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4047368545373880945.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4047368545373880945.key) 07:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:51 + git tag --points-at HEAD [Pipeline] } 07:23:51 $ docker exec --env ******** --env ******** 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 ssh-agent -k 07:23:51 unset SSH_AUTH_SOCK; 07:23:51 unset SSH_AGENT_PID; 07:23:51 echo Agent pid 37 killed; 07:23:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:51 [ssh-agent] Looking for ssh-agent implementation... 07:23:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:51 $ docker exec 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 ssh-agent 07:23:52 SSH_AUTH_SOCK=/tmp/ssh-6ZpGxbhiycQi/agent.69 07:23:52 SSH_AGENT_PID=75 07:23:52 Running ssh-add (command line suppressed) 07:23:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10893428740581074324.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10893428740581074324.key) 07:23:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:52 + git semver init 07:23:52 2023-03-14 07:23:52,720 [run_init] DEBUG init version:0.0.0 force:False 07:23:52 2023-03-14 07:23:52,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:23:52 2023-03-14 07:23:52,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:23:52 2023-03-14 07:23:52,722 [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) 07:23:53 2023-03-14 07:23:53,656 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:23:53 2023-03-14 07:23:53,656 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:23:53 2023-03-14 07:23:53,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:23:53 2023-03-14 07:23:53,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:23:53 3.0.0-dev.52 [Pipeline] } 07:23:53 $ docker exec --env ******** --env ******** 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 ssh-agent -k 07:23:53 unset SSH_AUTH_SOCK; 07:23:53 unset SSH_AGENT_PID; 07:23:53 echo Agent pid 75 killed; 07:23:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:54 + git semver [Pipeline] } 07:23:54 $ docker stop --time=1 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 07:23:55 $ docker rm -f --volumes 43e7b1c302fe6bbd735ecc3d4f64afeb60747034863a5316a21ca3fdd0648d10 [Pipeline] // withDockerContainer [Pipeline] sh 07:23:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:23:56 Stashed 1 file(s) [Pipeline] echo 07:23:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.52 [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 07:23:56 provisioning config files... 07:23:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14556401953440011269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:56 ---> docker-login.sh 07:23:56 nexus3.edgexfoundry.org:10001 07:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:56 Configure a credential helper to remove this warning. See 07:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:56 07:23:56 Login Succeeded 07:23:56 nexus3.edgexfoundry.org:10002 07:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:56 Configure a credential helper to remove this warning. See 07:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:56 07:23:56 Login Succeeded 07:23:56 nexus3.edgexfoundry.org:10003 07:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:56 Configure a credential helper to remove this warning. See 07:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:56 07:23:56 Login Succeeded 07:23:56 nexus3.edgexfoundry.org:10004 07:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:56 Configure a credential helper to remove this warning. See 07:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:56 07:23:56 Login Succeeded 07:23:56 docker.io 07:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:57 Configure a credential helper to remove this warning. See 07:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:57 07:23:57 Login Succeeded 07:23:57 ---> docker-login.sh ends [Pipeline] } 07:23:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:57 ========================================================= 07:23:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:23:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:57 + 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 . 07:23:57 Sending build context to Docker daemon 10.76MB 07:23:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:23:57 Step 2/10 : FROM ${BASE} AS builder 07:23:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:23:58 63b65145d645: Pulling fs layer 07:23:58 a2d21d5440eb: Pulling fs layer 07:23:58 935e6c44a52c: Pulling fs layer 07:23:58 94cc34f8dd06: Pulling fs layer 07:23:58 30dea6a524f1: Pulling fs layer 07:23:58 a2aff8979fd8: Pulling fs layer 07:23:58 6808be2612f2: Pulling fs layer 07:23:58 f25807f1079a: Pulling fs layer 07:23:58 94cc34f8dd06: Waiting 07:23:58 30dea6a524f1: Waiting 07:23:58 a2aff8979fd8: Waiting 07:23:58 6808be2612f2: Waiting 07:23:58 f25807f1079a: Waiting 07:23:58 a2d21d5440eb: Verifying Checksum 07:23:58 a2d21d5440eb: Download complete 07:23:58 94cc34f8dd06: Verifying Checksum 07:23:58 94cc34f8dd06: Download complete 07:23:58 30dea6a524f1: Verifying Checksum 07:23:58 30dea6a524f1: Download complete 07:23:58 63b65145d645: Verifying Checksum 07:23:58 63b65145d645: Download complete 07:23:58 a2aff8979fd8: Verifying Checksum 07:23:58 a2aff8979fd8: Download complete 07:23:58 63b65145d645: Pull complete 07:23:59 a2d21d5440eb: Pull complete 07:23:59 f25807f1079a: Verifying Checksum 07:23:59 f25807f1079a: Download complete 07:23:59 935e6c44a52c: Download complete 07:23:59 6808be2612f2: Verifying Checksum 07:23:59 6808be2612f2: Download complete 07:24:03 935e6c44a52c: Pull complete 07:24:03 94cc34f8dd06: Pull complete 07:24:03 30dea6a524f1: Pull complete 07:24:03 a2aff8979fd8: Pull complete 07:24:05 6808be2612f2: Pull complete 07:24:06 f25807f1079a: Pull complete 07:24:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:24:06 ---> 3b553350e43f 07:24:06 Step 3/10 : ARG MAKE=make build 07:24:10 ---> Running in bfbe367dbdad 07:24:10 Removing intermediate container bfbe367dbdad 07:24:10 ---> 9c680110f5c3 07:24:10 Step 4/10 : WORKDIR /device-sdk-go 07:24:10 ---> Running in a622e77493ef 07:24:10 Removing intermediate container a622e77493ef 07:24:10 ---> a519696488e0 07:24:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:24:10 ---> Running in f3b4704f76b8 07:24:10 Removing intermediate container f3b4704f76b8 07:24:10 ---> 0daad5078a36 07:24:10 Step 6/10 : RUN apk add --update --no-cache make git 07:24:10 ---> Running in d3ce9b763402 07:24:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:24:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:24:11 OK: 265 MiB in 53 packages 07:24:11 Still waiting to schedule task 07:24:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:24:11 Removing intermediate container d3ce9b763402 07:24:11 ---> f6beb8c7c053 07:24:11 Step 7/10 : COPY go.mod vendor* ./ 07:24:11 ---> 12330c8365ae 07:24:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:11 ---> Running in 75d91012a2d7 07:24:50 Removing intermediate container 75d91012a2d7 07:24:50 ---> ed598a6442ec 07:24:50 Step 9/10 : COPY . . 07:24:50 ---> ca90934bf6cb 07:24:50 Step 10/10 : RUN ${MAKE} 07:24:50 ---> Running in 08bb4f1a7d7e 07:24:50 noop 07:24:50 Removing intermediate container 08bb4f1a7d7e 07:24:50 ---> 34e26e1ad28e 07:24:50 Successfully built 34e26e1ad28e 07:24:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:50 + docker inspect -f . ci-base-image-x86_64 07:24:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:50 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:24:51 $ docker top 08db8490ee114a7f2e7faa04b1fdc6582ad566d60b9a7b7e313927815d6e4486 -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:51 + go version 07:24:51 go version go1.20.2 linux/amd64 [Pipeline] } 07:24:51 $ docker stop --time=1 08db8490ee114a7f2e7faa04b1fdc6582ad566d60b9a7b7e313927815d6e4486 07:24:52 $ docker rm -f --volumes 08db8490ee114a7f2e7faa04b1fdc6582ad566d60b9a7b7e313927815d6e4486 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:53 + docker inspect -f . ci-base-image-x86_64 07:24:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:53 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:24:53 $ docker top eb3ba5865811fb9a6f4660d4578a7c55b63b504e41fe92f638e9b63d62f068c2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:24:54 + make test 07:24:54 go test -race -coverprofile=coverage.out ./... 07:25:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.087s coverage: 27.6% of statements 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 78.9% of statements 07:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.114s coverage: 86.0% of statements 07:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.9% of statements 07:25:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:25:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:25:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:25:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:25:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.085s coverage: 15.2% of statements 07:25:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 65.7% of statements 07:25:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.504s coverage: 89.2% of statements 07:25:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements 07:25:41 GO111MODULE=on go vet ./... 07:25:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:44 ./bin/test-attribution-txt.sh [Pipeline] echo 07:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:25:44 $ docker stop --time=1 eb3ba5865811fb9a6f4660d4578a7c55b63b504e41fe92f638e9b63d62f068c2 07:25:48 $ docker rm -f --volumes eb3ba5865811fb9a6f4660d4578a7c55b63b504e41fe92f638e9b63d62f068c2 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:25:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:49 + ls -al . 07:25:49 total 276 07:25:49 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 07:24 . 07:25:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:23 .. 07:25:49 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 07:23 .dockerignore 07:25:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 07:23 .git 07:25:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:23 .github 07:25:49 -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 07:23 .gitignore 07:25:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 07:23 .golangci.yml 07:25:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 07:23 .semver 07:25:49 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 07:23 CHANGELOG.md 07:25:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 07:23 GOVERNANCE.md 07:25:49 -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 07:23 Jenkinsfile 07:25:49 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 07:23 LICENSE 07:25:49 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 07:23 Makefile 07:25:49 -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 07:23 OWNERS.md 07:25:49 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 07:23 README.md 07:25:49 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 07:23 VERSION 07:25:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:23 bin 07:25:49 -rw-r--r-- 1 jenkins jenkins 109536 Mar 14 07:25 coverage.out 07:25:49 drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 07:23 example 07:25:49 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 07:23 go.mod 07:25:49 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 07:23 go.sum 07:25:49 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:23 internal 07:25:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 07:23 openapi 07:25:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 07:23 pkg 07:25:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:23 snap 07:25:49 -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-82 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:25:49 Running in /w/workspace/device-sdk-go/182 [Pipeline] { [Pipeline] checkout 07:25:49 The recommended git tool is: git 07:25:49 + 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=76ea4d1458b486cd84374d1f970a86ad0e64425c --label arch=amd64 --label version=3.0.0-dev.52 . 07:25:49 Sending build context to Docker daemon 10.87MB 07:25:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:25:49 Step 2/23 : FROM ${BASE} AS builder 07:25:49 ---> 34e26e1ad28e 07:25:49 Step 3/23 : ARG MAKE=make build 07:25:50 ---> Running in e105bf8cda81 07:25:50 Removing intermediate container e105bf8cda81 07:25:50 ---> a55be202d295 07:25:50 Step 4/23 : WORKDIR /device-sdk-go 07:25:50 ---> Running in b9749c3aa9f7 07:25:50 Removing intermediate container b9749c3aa9f7 07:25:50 ---> 3fa4b1f5af80 07:25:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:25:50 ---> Running in bbf52896c720 07:25:50 Removing intermediate container bbf52896c720 07:25:50 ---> 4165f5e7f8bb 07:25:50 Step 6/23 : RUN apk add --update --no-cache make git 07:25:50 ---> Running in 1051b60f36a3 07:25:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:25:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:25:51 OK: 265 MiB in 53 packages 07:25:51 Removing intermediate container 1051b60f36a3 07:25:51 ---> f984c4a7b6bd 07:25:51 Step 7/23 : COPY go.mod vendor* ./ 07:25:51 ---> 1649c00e3eda 07:25:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:51 ---> Running in 2d5b131034d6 07:25:52 Removing intermediate container 2d5b131034d6 07:25:52 ---> ace74c459db9 07:25:52 Step 9/23 : COPY . . 07:25:53 ---> 95698bd94442 07:25:53 Step 10/23 : RUN ${MAKE} 07:25:53 ---> Running in 58684651f378 07:25:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.52" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:25:55 using credential edgex-jenkins-ssh 07:25:55 Cloning the remote Git repository 07:25:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:25:55 > git init /w/workspace/device-sdk-go/182 # timeout=10 07:25:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:25:55 > git --version # timeout=10 07:25:55 > git --version # 'git version 2.25.1' 07:25:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:25:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:25:58 Avoid second fetch 07:25:58 Checking out Revision 76ea4d1458b486cd84374d1f970a86ad0e64425c (main) 07:25:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:25:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:25:58 > git config core.sparsecheckout # timeout=10 07:25:59 Commit message: "Merge pull request #1378 from hahattan/dp-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:25:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:59 Dload Upload Total Spent Left Speed 07:25:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k 07:25:58 > git checkout -f 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 [Pipeline] sh 07:26:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:26:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:26:00 + sudo tee /etc/docker/daemon.new 07:26:00 { 07:26:00 "registry-mirrors": [ 07:26:00 "https://nexus3.edgexfoundry.org:10001" 07:26:00 ], 07:26:00 "bip": "10.250.0.254/24", 07:26:00 "hosts": [ 07:26:00 "tcp://0.0.0.0:5555", 07:26:00 "unix:///var/run/docker.sock" 07:26:00 ], 07:26:00 "mtu": 1458, 07:26:00 "selinux-enabled": true, 07:26:00 "seccomp-profile": "/etc/docker/seccomp.json" 07:26:00 } [Pipeline] sh 07:26:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:26:01 + sudo service docker restart 07:26:15 Removing intermediate container 58684651f378 07:26:15 ---> ab599967410f 07:26:15 Step 11/23 : FROM alpine:3.16 07:26:15 3.16: Pulling from library/alpine 07:26:15 ef5531b6e74e: Pulling fs layer 07:26:15 ef5531b6e74e: Verifying Checksum 07:26:15 ef5531b6e74e: Download complete 07:26:15 ef5531b6e74e: Pull complete 07:26:15 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 07:26:15 Status: Downloaded newer image for alpine:3.16 07:26:15 ---> dfd21b5a31f5 07:26:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:26:15 ---> Running in f3ab0bcd8f3a 07:26:15 Removing intermediate container f3ab0bcd8f3a 07:26:15 ---> df0502928d50 07:26:15 Step 13/23 : RUN apk add --update --no-cache 07:26:15 ---> Running in e12982291583 07:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:26:15 OK: 6 MiB in 14 packages 07:26:15 Removing intermediate container e12982291583 07:26:15 ---> ae3a546d846a 07:26:15 Step 14/23 : WORKDIR / 07:26:15 ---> Running in fb6cede0bdfb 07:26:15 Removing intermediate container fb6cede0bdfb 07:26:15 ---> 8122d66f9dfb 07:26:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:26:15 ---> d5f759934abc 07:26:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:26:15 ---> 9d6871f6b2ff 07:26:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:26:15 ---> a4554ea9fe55 07:26:15 Step 18/23 : EXPOSE 59999 07:26:15 ---> Running in be6311ebab2f 07:26:15 Removing intermediate container be6311ebab2f 07:26:15 ---> a52c9bcf660a 07:26:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:26:15 ---> Running in b7dbc25c274e 07:26:15 Removing intermediate container b7dbc25c274e 07:26:15 ---> d12f1fa941df 07:26:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:26:15 ---> Running in 2c0f1c29f5f5 07:26:15 Removing intermediate container 2c0f1c29f5f5 07:26:15 ---> 5aa7bacf9488 07:26:15 Step 21/23 : LABEL arch=amd64 07:26:15 ---> Running in 15e1c39bb408 07:26:15 Removing intermediate container 15e1c39bb408 07:26:15 ---> 554c6a65abde 07:26:15 Step 22/23 : LABEL git_sha=76ea4d1458b486cd84374d1f970a86ad0e64425c 07:26:15 ---> Running in 969de9e4aa5f 07:26:15 Removing intermediate container 969de9e4aa5f 07:26:15 ---> a779e9b60d19 07:26:15 Step 23/23 : LABEL version=3.0.0-dev.52 07:26:15 ---> Running in 3ed3dd770084 07:26:15 Removing intermediate container 3ed3dd770084 07:26:15 ---> 85c1f98140a4 07:26:15 [Warning] One or more build-args [ARCH] were not consumed 07:26:15 Successfully built 85c1f98140a4 07:26:15 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 07:26:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:16 07:26:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:16 latest: Pulling from edgex-lftools-log-publisher 07:26:16 5eb5b503b376: Pulling fs layer 07:26:16 5c69ac0246d0: Pulling fs layer 07:26:16 ec43610c2a17: Pulling fs layer 07:26:16 3a2ae6a8a46f: Pulling fs layer 07:26:16 33b1e0a273af: Pulling fs layer 07:26:16 5d3b04190fa2: Pulling fs layer 07:26:16 2f39f015ded8: Pulling fs layer 07:26:16 5d3b04190fa2: Waiting 07:26:16 3a2ae6a8a46f: Waiting 07:26:16 2f39f015ded8: Waiting 07:26:16 33b1e0a273af: Waiting 07:26:16 5c69ac0246d0: Verifying Checksum 07:26:16 5c69ac0246d0: Download complete 07:26:16 3a2ae6a8a46f: Verifying Checksum 07:26:16 3a2ae6a8a46f: Download complete 07:26:16 33b1e0a273af: Verifying Checksum 07:26:16 33b1e0a273af: Download complete 07:26:16 5d3b04190fa2: Verifying Checksum 07:26:16 5d3b04190fa2: Download complete 07:26:16 ec43610c2a17: Verifying Checksum 07:26:16 ec43610c2a17: Download complete 07:26:16 5eb5b503b376: Verifying Checksum 07:26:16 5eb5b503b376: Download complete 07:26:17 2f39f015ded8: Download complete 07:26:17 5eb5b503b376: Pull complete 07:26:17 5c69ac0246d0: Pull complete 07:26:18 ec43610c2a17: Pull complete 07:26:18 3a2ae6a8a46f: Pull complete 07:26:18 33b1e0a273af: Pull complete 07:26:18 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:19 provisioning config files... 07:26:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/182@tmp/config9689105990489260189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:20 ---> docker-login.sh 07:26:20 nexus3.edgexfoundry.org:10001 07:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:20 Configure a credential helper to remove this warning. See 07:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:20 07:26:20 Login Succeeded 07:26:20 nexus3.edgexfoundry.org:10002 07:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:20 Configure a credential helper to remove this warning. See 07:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:20 07:26:20 Login Succeeded 07:26:20 nexus3.edgexfoundry.org:10003 07:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:21 Configure a credential helper to remove this warning. See 07:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:21 07:26:21 Login Succeeded 07:26:21 nexus3.edgexfoundry.org:10004 07:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:21 Configure a credential helper to remove this warning. See 07:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:21 07:26:21 Login Succeeded 07:26:21 docker.io 07:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:22 Configure a credential helper to remove this warning. See 07:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:22 07:26:22 Login Succeeded 07:26:22 ---> docker-login.sh ends [Pipeline] } 07:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:26:22 ========================================================= 07:26:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:26:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:22 2f39f015ded8: Pull complete 07:26:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:22 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:26:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:26:22 + 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 . 07:26:23 Sending build context to Docker daemon 5.778MB 07:26:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:26:23 Step 2/10 : FROM ${BASE} AS builder 07:26:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:26:25 af6eaf76a39c: Pulling fs layer 07:26:25 55522c791124: Pulling fs layer 07:26:25 ce5c4a1c91eb: Pulling fs layer 07:26:25 169dfbe0d373: Pulling fs layer 07:26:25 e1ff8fa3b103: Pulling fs layer 07:26:25 52ebb69f0ebf: Pulling fs layer 07:26:25 5abe8eddf0d5: Pulling fs layer 07:26:25 e1ff8fa3b103: Waiting 07:26:25 52ebb69f0ebf: Waiting 07:26:25 5abe8eddf0d5: Waiting 07:26:25 169dfbe0d373: Waiting 07:26:25 55522c791124: Verifying Checksum 07:26:25 55522c791124: Download complete 07:26:25 169dfbe0d373: Verifying Checksum 07:26:25 169dfbe0d373: Download complete 07:26:25 e1ff8fa3b103: Verifying Checksum 07:26:25 e1ff8fa3b103: Download complete 07:26:25 af6eaf76a39c: Download complete 07:26:25 $ docker top 7822eb13e4e4e9afdcda63323e2361095fbe054ebaf68ac7a186424c0d1b49a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:25 ---> job-cost.sh 07:26:25 lf-activate-venv: SKIPPING 07:26:25 INFO: No Stack... 07:26:26 5abe8eddf0d5: Verifying Checksum 07:26:26 5abe8eddf0d5: Download complete 07:26:26 af6eaf76a39c: Pull complete 07:26:26 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:26 INFO: Archiving Costs [Pipeline] sh 07:26:26 55522c791124: Pull complete 07:26:26 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:26:26 + cut -d, -f6 [Pipeline] lock 07:26:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] 07:26:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] did not exist. Created. 07:26:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:26:27 + echo total: 0.2199999988079071 [Pipeline] stash 07:26:27 Stashed 1 file(s) [Pipeline] } 07:26:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 07:26:27 $ docker stop --time=1 7822eb13e4e4e9afdcda63323e2361095fbe054ebaf68ac7a186424c0d1b49a3 07:26:27 ce5c4a1c91eb: Verifying Checksum 07:26:27 ce5c4a1c91eb: Download complete 07:26:27 52ebb69f0ebf: Verifying Checksum 07:26:27 52ebb69f0ebf: Download complete 07:26:28 $ docker rm -f --volumes 7822eb13e4e4e9afdcda63323e2361095fbe054ebaf68ac7a186424c0d1b49a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:26:39 ce5c4a1c91eb: Pull complete 07:26:39 169dfbe0d373: Pull complete 07:26:39 e1ff8fa3b103: Pull complete 07:26:46 52ebb69f0ebf: Pull complete 07:26:48 5abe8eddf0d5: Pull complete 07:26:48 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:26:48 ---> 6cb57ee374ae 07:26:48 Step 3/10 : ARG MAKE=make build 07:26:50 ---> Running in e51880091e1b 07:26:50 Removing intermediate container e51880091e1b 07:26:50 ---> 6405d86b0f46 07:26:50 Step 4/10 : WORKDIR /device-sdk-go 07:26:50 ---> Running in df25621e051b 07:26:51 Removing intermediate container df25621e051b 07:26:51 ---> ea6cebe2d35b 07:26:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:26:51 ---> Running in 54db10d57e21 07:26:51 Removing intermediate container 54db10d57e21 07:26:51 ---> 04fc607803c9 07:26:51 Step 6/10 : RUN apk add --update --no-cache make git 07:26:51 ---> Running in 90293d505103 07:26:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:26:54 OK: 263 MiB in 53 packages 07:26:55 Removing intermediate container 90293d505103 07:26:55 ---> 67fbf99e99ab 07:26:55 Step 7/10 : COPY go.mod vendor* ./ 07:26:55 ---> dd2ef88f7024 07:26:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:26:55 ---> Running in 98bbe39bb56e 07:28:03 Removing intermediate container 98bbe39bb56e 07:28:03 ---> 7827bee1ced4 07:28:03 Step 9/10 : COPY . . 07:28:03 ---> cf57fa26d5d8 07:28:03 Step 10/10 : RUN ${MAKE} 07:28:03 ---> Running in 530148ccd420 07:28:03 noop 07:28:03 Removing intermediate container 530148ccd420 07:28:03 ---> 7b0de8c29dec 07:28:03 Successfully built 7b0de8c29dec 07:28:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:04 + docker inspect -f . ci-base-image-arm64 07:28:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:04 prd-ubuntu20.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 07:28:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/182 -v /w/workspace/device-sdk-go/182:/w/workspace/device-sdk-go/182:rw,z -v /w/workspace/device-sdk-go/182@tmp:/w/workspace/device-sdk-go/182@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 07:28:05 $ docker top fd779a7b3cf80b65d873e5bc47c8f0951adb1a0fff0c22207b07d4bf3271017c -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:06 + go version 07:28:06 go version go1.20.2 linux/arm64 [Pipeline] } 07:28:06 $ docker stop --time=1 fd779a7b3cf80b65d873e5bc47c8f0951adb1a0fff0c22207b07d4bf3271017c 07:28:08 $ docker rm -f --volumes fd779a7b3cf80b65d873e5bc47c8f0951adb1a0fff0c22207b07d4bf3271017c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:08 + docker inspect -f . ci-base-image-arm64 07:28:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:08 prd-ubuntu20.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 07:28: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/182 -v /w/workspace/device-sdk-go/182:/w/workspace/device-sdk-go/182:rw,z -v /w/workspace/device-sdk-go/182@tmp:/w/workspace/device-sdk-go/182@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 07:28:10 $ docker top 65d4bd7da03de681b52db3cf135e99da7a4d128de32eef2ff641ad4de04eed85 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/182 [Pipeline] fileExists [Pipeline] sh 07:28:10 + make test 07:28:10 go test -race -coverprofile=coverage.out ./... 07:28:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:31:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:31:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:31:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:31:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:31:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:31:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements 07:31:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.282s coverage: 78.9% of statements 07:31:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:31:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:31:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.332s coverage: 86.0% of statements 07:31:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:31:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.433s coverage: 75.9% of statements 07:31:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:31:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:31:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:31:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.260s coverage: 15.2% of statements 07:31:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.437s coverage: 65.7% of statements 07:31:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:31:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.614s coverage: 89.2% of statements 07:31:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.258s coverage: 5.5% of statements 07:31:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:31:57 GO111MODULE=on go vet ./... 07:34:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:34:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:34:34 ./bin/test-attribution-txt.sh [Pipeline] echo 07:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:34:34 $ docker stop --time=1 65d4bd7da03de681b52db3cf135e99da7a4d128de32eef2ff641ad4de04eed85 07:34:35 $ docker rm -f --volumes 65d4bd7da03de681b52db3cf135e99da7a4d128de32eef2ff641ad4de04eed85 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:34:37 Warning: overwriting stash ‘coverage-report’ 07:34:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:34:38 + ls -al . 07:34:38 total 272 07:34:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 07:28 . 07:34:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:25 .. 07:34:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 07:25 .dockerignore 07:34:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 07:25 .git 07:34:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:25 .github 07:34:38 -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 07:25 .gitignore 07:34:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 07:25 .golangci.yml 07:34:38 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 07:25 CHANGELOG.md 07:34:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 07:25 GOVERNANCE.md 07:34:38 -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 07:25 Jenkinsfile 07:34:38 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 07:25 LICENSE 07:34:38 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 07:25 Makefile 07:34:38 -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 07:25 OWNERS.md 07:34:38 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 07:25 README.md 07:34:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 07:23 VERSION 07:34:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 07:25 bin 07:34:38 -rw-r--r-- 1 jenkins jenkins 109538 Mar 14 07:31 coverage.out 07:34:38 drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 07:25 example 07:34:38 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 07:25 go.mod 07:34:38 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 07:25 go.sum 07:34:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:25 internal 07:34:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 07:25 openapi 07:34:38 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 07:25 pkg 07:34:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 07:25 snap 07:34:38 -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 07:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:39 + 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=76ea4d1458b486cd84374d1f970a86ad0e64425c --label arch=arm64 --label version=3.0.0-dev.52 . 07:34:39 Sending build context to Docker daemon 5.888MB 07:34:39 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:34:39 Step 2/23 : FROM ${BASE} AS builder 07:34:39 ---> 7b0de8c29dec 07:34:39 Step 3/23 : ARG MAKE=make build 07:34:41 ---> Running in b3a866ed093b 07:34:41 Removing intermediate container b3a866ed093b 07:34:41 ---> b9a4ac557ad0 07:34:41 Step 4/23 : WORKDIR /device-sdk-go 07:34:41 ---> Running in 23aa65e6be65 07:34:42 Removing intermediate container 23aa65e6be65 07:34:42 ---> bc3bec2df757 07:34:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:34:42 ---> Running in 775178b43cb3 07:34:42 Removing intermediate container 775178b43cb3 07:34:42 ---> fbc4f5de8c42 07:34:42 Step 6/23 : RUN apk add --update --no-cache make git 07:34:42 ---> Running in 1ccddf46fea9 07:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:34:45 OK: 263 MiB in 53 packages 07:34:46 Removing intermediate container 1ccddf46fea9 07:34:46 ---> f614e229ccfc 07:34:46 Step 7/23 : COPY go.mod vendor* ./ 07:34:46 ---> 524d0b97d1fd 07:34:46 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:46 ---> Running in 88d8bbc9f5a7 07:34:49 Removing intermediate container 88d8bbc9f5a7 07:34:49 ---> 017b4bb83580 07:34:49 Step 9/23 : COPY . . 07:34:50 ---> dffa37fdf7ea 07:34:50 Step 10/23 : RUN ${MAKE} 07:34:50 ---> Running in d807258bcf96 07:34:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.52" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:37:13 Removing intermediate container d807258bcf96 07:37:13 ---> ebfc666e19bf 07:37:13 Step 11/23 : FROM alpine:3.16 07:37:13 3.16: Pulling from library/alpine 07:37:13 3760b48202b3: Pulling fs layer 07:37:13 3760b48202b3: Verifying Checksum 07:37:13 3760b48202b3: Download complete 07:37:13 3760b48202b3: Pull complete 07:37:13 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 07:37:13 Status: Downloaded newer image for alpine:3.16 07:37:13 ---> 4c81e5bf8899 07:37:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:37:13 ---> Running in e1461f0fa4be 07:37:13 Removing intermediate container e1461f0fa4be 07:37:13 ---> 035934252819 07:37:13 Step 13/23 : RUN apk add --update --no-cache 07:37:13 ---> Running in df0f9e04ff4e 07:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:37:14 OK: 5 MiB in 14 packages 07:37:16 Removing intermediate container df0f9e04ff4e 07:37:16 ---> f97efcbd61c1 07:37:16 Step 14/23 : WORKDIR / 07:37:17 ---> Running in 17625438a3a3 07:37:17 Removing intermediate container 17625438a3a3 07:37:17 ---> d6359a018036 07:37:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:37:18 ---> c3dc196c90ae 07:37:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:37:19 ---> b5c3a52b78c3 07:37:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:37:19 ---> 1f58b689dc61 07:37:19 Step 18/23 : EXPOSE 59999 07:37:20 ---> Running in dd258a4cffd3 07:37:20 Removing intermediate container dd258a4cffd3 07:37:20 ---> ea7465e2da3a 07:37:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:37:20 ---> Running in 23882bba6026 07:37:20 Removing intermediate container 23882bba6026 07:37:20 ---> 1b0b0daada71 07:37:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:37:20 ---> Running in 75195eacecd2 07:37:21 Removing intermediate container 75195eacecd2 07:37:21 ---> 3fa30da03b9a 07:37:21 Step 21/23 : LABEL arch=arm64 07:37:21 ---> Running in 44288573977b 07:37:21 Removing intermediate container 44288573977b 07:37:21 ---> a49d3cd9b794 07:37:21 Step 22/23 : LABEL git_sha=76ea4d1458b486cd84374d1f970a86ad0e64425c 07:37:21 ---> Running in f07b6faa7114 07:37:21 Removing intermediate container f07b6faa7114 07:37:21 ---> fe674a944918 07:37:21 Step 23/23 : LABEL version=3.0.0-dev.52 07:37:21 ---> Running in 90a8f3d749ff 07:37:22 Removing intermediate container 90a8f3d749ff 07:37:22 ---> faf2101531e7 07:37:22 [Warning] One or more build-args [ARCH] were not consumed 07:37:22 Successfully built faf2101531e7 07:37:22 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 07:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:37:22 07:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:37:23 arm64: Pulling from edgex-lftools-log-publisher 07:37:23 8998bd30e6a1: Pulling fs layer 07:37:23 04944245beec: Pulling fs layer 07:37:23 699f458cf7ca: Pulling fs layer 07:37:23 765212b225bb: Pulling fs layer 07:37:23 f23df028b6ca: Pulling fs layer 07:37:23 d65c8cfc05b1: Pulling fs layer 07:37:23 2437ff75d9bd: Pulling fs layer 07:37:23 f23df028b6ca: Waiting 07:37:23 d65c8cfc05b1: Waiting 07:37:23 765212b225bb: Waiting 07:37:23 2437ff75d9bd: Waiting 07:37:23 04944245beec: Verifying Checksum 07:37:23 04944245beec: Download complete 07:37:23 765212b225bb: Verifying Checksum 07:37:23 765212b225bb: Download complete 07:37:23 f23df028b6ca: Verifying Checksum 07:37:23 f23df028b6ca: Download complete 07:37:23 d65c8cfc05b1: Verifying Checksum 07:37:23 d65c8cfc05b1: Download complete 07:37:23 699f458cf7ca: Verifying Checksum 07:37:23 699f458cf7ca: Download complete 07:37:24 8998bd30e6a1: Verifying Checksum 07:37:24 8998bd30e6a1: Download complete 07:37:26 2437ff75d9bd: Verifying Checksum 07:37:26 2437ff75d9bd: Download complete 07:37:31 8998bd30e6a1: Pull complete 07:37:31 04944245beec: Pull complete 07:37:32 699f458cf7ca: Pull complete 07:37:32 765212b225bb: Pull complete 07:37:33 f23df028b6ca: Pull complete 07:37:33 d65c8cfc05b1: Pull complete 07:37:48 2437ff75d9bd: Pull complete 07:37:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:37:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:48 prd-ubuntu20.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 07:37:48 $ 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/182 -v /w/workspace/device-sdk-go/182:/w/workspace/device-sdk-go/182:rw,z -v /w/workspace/device-sdk-go/182@tmp:/w/workspace/device-sdk-go/182@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 07:37:51 $ docker top 9bdfe88dccacb5c603c85287f071615d0d59b406acceaa46c1f6f536150a0525 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:52 ---> job-cost.sh 07:37:52 lf-activate-venv: SKIPPING 07:37:52 INFO: No Stack... 07:37:52 INFO: Retrieving Pricing Info for: v3-standard-4 07:37:53 INFO: Archiving Costs [Pipeline] sh 07:37:53 + cat /w/workspace/device-sdk-go/182/archives/cost.csv 07:37:53 + cut -d, -f6 [Pipeline] lock 07:37:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] 07:37:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] did not exist. Created. 07:37:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:37:54 /w/workspace/device-sdk-go/182@tmp/durable-6d506fb2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:37:55 + echo total: 0.10999999940395355 [Pipeline] stash 07:37:55 Warning: overwriting stash ‘stack-cost’ 07:37:55 Stashed 1 file(s) [Pipeline] } 07:37:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 07:37:55 $ docker stop --time=1 9bdfe88dccacb5c603c85287f071615d0d59b406acceaa46c1f6f536150a0525 07:37:58 $ docker rm -f --volumes 9bdfe88dccacb5c603c85287f071615d0d59b406acceaa46c1f6f536150a0525 [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 07:37:58 provisioning config files... 07:37:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14937514371940029345tmp [Pipeline] { [Pipeline] sh 07:37:58 + set +x 07:37:58 + + curl -s https://codecov.io/bash 07:37:58 bash -s -- 07:37:58 07:37:58 _____ _ 07:37:58 / ____| | | 07:37:58 | | ___ __| | ___ ___ _____ __ 07:37:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:37:58 | |___| (_) | (_| | __/ (_| (_) \ V / 07:37:58 \_____\___/ \__,_|\___|\___\___/ \_/ 07:37:58 Bash-1.0.6 07:37:58 07:37:58 07:37:58 ==> git version 2.25.1 found 07:37:58 ==> 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 07:37:58 Release-Date: 2020-01-08 07:37:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:37:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:37:58 ==> Jenkins CI detected. 07:37:58 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:37:58 project root: . 07:37:58 --> token set from env 07:37:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:37:58 ==> Running gcov in . (disable via -X gcov) 07:37:58 ==> Python coveragepy not found 07:37:58 ==> Searching for coverage reports in: 07:37:58 + . 07:37:58 -> Found 1 reports 07:37:58 ==> Detecting git/mercurial file structure 07:37:58 ==> Reading reports 07:37:58 + ./coverage.out bytes=109538 07:37:58 ==> Appending adjustments 07:37:58 https://docs.codecov.io/docs/fixing-reports 07:37:58 + Found adjustments 07:37:58 ==> Gzipping contents 07:37:59 16K /tmp/codecov.V7vK8m.gz 07:37:59 ==> Uploading reports 07:37:59 url: https://codecov.io 07:37:59 query: branch=main&commit=76ea4d1458b486cd84374d1f970a86ad0e64425c&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:37:59 -> Pinging Codecov 07:37:59 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=76ea4d1458b486cd84374d1f970a86ad0e64425c&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:37:59 -> Uploading to 07:37:59 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/76ea4d1458b486cd84374d1f970a86ad0e64425c/3b13ee07-caef-4203-be4a-1fe90afbd984.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T073759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f6ebf8f3786fb51da2f0982c223e09178eb624875e86b7371a08320c3314e15 07:37:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:37:59 Dload Upload Total Spent Left Speed 07:37:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15210 0 0 100 15210 0 47383 --:--:-- --:--:-- --:--:-- 47383 07:37:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] } 07:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:37:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:37:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:37:59 07:37:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:38:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:38:00 df9b9388f04a: Pulling fs layer 07:38:00 52dc419b0ee2: Pulling fs layer 07:38:00 25bc292e5bac: Pulling fs layer 07:38:00 114826534d7a: Pulling fs layer 07:38:00 4657fd5d0bcf: Pulling fs layer 07:38:00 6ad1cebc031e: Pulling fs layer 07:38:00 8a3aa393b2d8: Pulling fs layer 07:38:00 114826534d7a: Waiting 07:38:00 4657fd5d0bcf: Waiting 07:38:00 6ad1cebc031e: Waiting 07:38:00 25bc292e5bac: Download complete 07:38:00 52dc419b0ee2: Verifying Checksum 07:38:00 52dc419b0ee2: Download complete 07:38:00 4657fd5d0bcf: Verifying Checksum 07:38:00 4657fd5d0bcf: Download complete 07:38:00 df9b9388f04a: Verifying Checksum 07:38:00 df9b9388f04a: Download complete 07:38:00 df9b9388f04a: Pull complete 07:38:00 6ad1cebc031e: Verifying Checksum 07:38:00 6ad1cebc031e: Download complete 07:38:00 52dc419b0ee2: Pull complete 07:38:00 25bc292e5bac: Pull complete 07:38:01 114826534d7a: Verifying Checksum 07:38:01 114826534d7a: Download complete 07:38:01 8a3aa393b2d8: Verifying Checksum 07:38:01 8a3aa393b2d8: Download complete 07:38:04 114826534d7a: Pull complete 07:38:04 4657fd5d0bcf: Pull complete 07:38:04 6ad1cebc031e: Pull complete 07:38:07 8a3aa393b2d8: Pull complete 07:38:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:38:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:38:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:07 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:38:10 $ docker top dfab9555a6c3d7ed2e4dd547fee20c07484a88ed468d5addd42aa119a63d9877 -eo pid,comm [Pipeline] { [Pipeline] echo 07:38:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:38:10 + set -o pipefail 07:38:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:38:15 07:38:15 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:38:15 07:38:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/96181fb6-2ca0-4d1f-9a37-59d27d214ffa 07:38:15 07:38:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:38:15 07:38:17 07:38:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:38:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:38:17 More details here: https://snyk.co/ue1NS 07:38:17 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 07:38:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:38:17 $ docker stop --time=1 dfab9555a6c3d7ed2e4dd547fee20c07484a88ed468d5addd42aa119a63d9877 07:38:19 $ docker rm -f --volumes dfab9555a6c3d7ed2e4dd547fee20c07484a88ed468d5addd42aa119a63d9877 [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 07:38:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:20 provisioning config files... 07:38:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6193730077585239353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:20 --> edgex-publish-swagger.sh 07:38:20 === Publish openapi/v3 API === 07:38:20 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:38:20 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:38:20 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:20 Dload Upload Total Spent Left Speed 07:38:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 41136 --:--:-- --:--:-- --:--:-- 41064 100 23571 0 0 100 23571 0 41064 --:--:-- --:--:-- --:--:-- 40993 07:38:21 07:38:21 [Pipeline] } 07:38:21 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 07:38:21 + git log --format=format:%s -1 76ea4d1458b486cd84374d1f970a86ad0e64425c [Pipeline] sh 07:38:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:22 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:38:22 $ docker top b1a3e02a4ba4ea0f6e4bdb5153ec540947eb856cc34a796dc113c70b24fa68a0 -eo pid,comm 07:38:22 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). 07:38:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:22 [ssh-agent] Looking for ssh-agent implementation... 07:38:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:22 $ docker exec b1a3e02a4ba4ea0f6e4bdb5153ec540947eb856cc34a796dc113c70b24fa68a0 ssh-agent 07:38:22 SSH_AUTH_SOCK=/tmp/ssh-aKh3tWTLv9H9/agent.32 07:38:22 SSH_AGENT_PID=38 07:38:22 Running ssh-add (command line suppressed) 07:38:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7512356177472450713.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7512356177472450713.key) 07:38:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:23 + git semver tag 07:38:23 2023-03-14 07:38:23,446 [run_tag] DEBUG tag force:False 07:38:23 2023-03-14 07:38:23,446 [check_head_tag] DEBUG check head tag 07:38:23 2023-03-14 07:38:23,447 [execute] INFO git cat-file --batch-check 07:38:23 2023-03-14 07:38:23,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:38:23 2023-03-14 07:38:23,451 [execute] INFO git cat-file --batch 07:38:23 2023-03-14 07:38:23,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:38:23 2023-03-14 07:38:23,482 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:23 2023-03-14 07:38:23,482 [execute] INFO git tag -a v3.0.0-dev.52 -m v3.0.0-dev.52 07:38:23 2023-03-14 07:38:23,482 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.52', '-m', 'v3.0.0-dev.52'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:38:23 2023-03-14 07:38:23,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:23 3.0.0-dev.52 [Pipeline] } 07:38:23 $ docker exec --env ******** --env ******** b1a3e02a4ba4ea0f6e4bdb5153ec540947eb856cc34a796dc113c70b24fa68a0 ssh-agent -k 07:38:23 unset SSH_AUTH_SOCK; 07:38:23 unset SSH_AGENT_PID; 07:38:23 echo Agent pid 38 killed; 07:38:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:23 + git semver [Pipeline] } 07:38:24 $ docker stop --time=1 b1a3e02a4ba4ea0f6e4bdb5153ec540947eb856cc34a796dc113c70b24fa68a0 07:38:25 $ docker rm -f --volumes b1a3e02a4ba4ea0f6e4bdb5153ec540947eb856cc34a796dc113c70b24fa68a0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:38:25 07:38:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:38:26 0.23.1-centos7: Pulling from edgex-lftools 07:38:26 ab5ef0e58194: Pulling fs layer 07:38:26 9712f1f96733: Pulling fs layer 07:38:26 63f879dbbcfc: Pulling fs layer 07:38:26 0d9ebad4ef96: Pulling fs layer 07:38:26 e9a5061849ea: Pulling fs layer 07:38:26 d747dcd14b5f: Pulling fs layer 07:38:26 0d9ebad4ef96: Waiting 07:38:26 e9a5061849ea: Waiting 07:38:26 2de7ff778b66: Pulling fs layer 07:38:26 d747dcd14b5f: Waiting 07:38:26 2de7ff778b66: Waiting 07:38:26 9712f1f96733: Download complete 07:38:26 63f879dbbcfc: Verifying Checksum 07:38:26 63f879dbbcfc: Download complete 07:38:26 0d9ebad4ef96: Verifying Checksum 07:38:26 0d9ebad4ef96: Download complete 07:38:26 d747dcd14b5f: Verifying Checksum 07:38:26 d747dcd14b5f: Download complete 07:38:26 ab5ef0e58194: Verifying Checksum 07:38:26 ab5ef0e58194: Download complete 07:38:26 e9a5061849ea: Verifying Checksum 07:38:26 e9a5061849ea: Download complete 07:38:26 2de7ff778b66: Verifying Checksum 07:38:26 2de7ff778b66: Download complete 07:38:29 ab5ef0e58194: Pull complete 07:38:29 9712f1f96733: Pull complete 07:38:29 63f879dbbcfc: Pull complete 07:38:33 0d9ebad4ef96: Pull complete 07:38:33 e9a5061849ea: Pull complete 07:38:33 d747dcd14b5f: Pull complete 07:38:34 2de7ff778b66: Pull complete 07:38:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:38:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:38:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:34 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:38:37 $ docker top f1d8e8787de37186b7be584e45febabc1441988982cb19813cb3c4ff15c4ecad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:38:37 provisioning config files... 07:38:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9464729123622553034tmp 07:38:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5404783366065565944tmp 07:38:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7431447274120655657tmp [Pipeline] { [Pipeline] echo 07:38:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:38:38 ---> sigul-configuration.sh 07:38:38 gpg: directory `/root/.gnupg' created 07:38:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:38:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:38:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:38:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:38:38 gpg: CAST5 encrypted data 07:38:38 gpg: encrypted with 1 passphrase 07:38:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:38:38 + mkdir /home/jenkins 07:38:38 + mkdir /home/jenkins/sigul [Pipeline] sh 07:38:38 + 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 07:38:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:38:39 ---> sigul-install.sh 07:38:39 Sigul already installed; skipping installation. [Pipeline] sh 07:38:39 + git tag --list 07:38:39 0.7.1 07:38:39 delhi-tag 07:38:39 v1.0.0 07:38:39 v1.1.0 07:38:39 v1.1.1 07:38:39 v1.1.2 07:38:39 v1.2.0 07:38:39 v1.2.1 07:38:39 v1.2.2 07:38:39 v1.2.3 07:38:39 v1.3.0 07:38:39 v1.4.0 07:38:39 v2.0.0 07:38:39 v2.1.0 07:38:39 v2.1.1 07:38:39 v2.1.1-dev.2 07:38:39 v2.1.1-dev.3 07:38:39 v2.2.0 07:38:39 v2.2.1-dev.1 07:38:39 v2.2.1-dev.10 07:38:39 v2.2.1-dev.11 07:38:39 v2.2.1-dev.12 07:38:39 v2.2.1-dev.13 07:38:39 v2.2.1-dev.14 07:38:39 v2.2.1-dev.2 07:38:39 v2.2.1-dev.3 07:38:39 v2.2.1-dev.4 07:38:39 v2.2.1-dev.5 07:38:39 v2.2.1-dev.6 07:38:39 v2.2.1-dev.7 07:38:39 v2.2.1-dev.8 07:38:39 v2.2.1-dev.9 07:38:39 v2.3.0 07:38:39 v2.3.0-dev.14 07:38:39 v2.3.0-dev.15 07:38:39 v2.3.0-dev.16 07:38:39 v2.3.0-dev.17 07:38:39 v2.3.0-dev.18 07:38:39 v2.3.0-dev.19 07:38:39 v2.3.0-dev.20 07:38:39 v2.3.0-dev.21 07:38:39 v2.3.0-dev.22 07:38:39 v2.3.0-dev.23 07:38:39 v2.3.0-dev.24 07:38:39 v2.3.0-dev.25 07:38:39 v2.3.0-dev.26 07:38:39 v2.3.0-dev.27 07:38:39 v2.3.0-dev.28 07:38:39 v2.3.0-dev.29 07:38:39 v2.3.0-dev.30 07:38:39 v2.3.0-dev.31 07:38:39 v2.3.0-dev.32 07:38:39 v2.3.0-dev.33 07:38:39 v2.3.0-dev.34 07:38:39 v2.3.0-dev.35 07:38:39 v2.3.0-dev.36 07:38:39 v2.3.0-dev.37 07:38:39 v2.3.0-dev.38 07:38:39 v2.3.0-dev.39 07:38:39 v2.3.0-dev.40 07:38:39 v2.3.0-dev.41 07:38:39 v2.3.0-dev.42 07:38:39 v2.3.0-dev.43 07:38:39 v2.3.0-dev.44 07:38:39 v2.3.0-dev.45 07:38:39 v2.3.0-dev.46 07:38:39 v2.3.0-dev.47 07:38:39 v2.3.0-dev.48 07:38:39 v2.3.0-dev.49 07:38:39 v2.3.0-dev.50 07:38:39 v2.3.0-dev.51 07:38:39 v2.3.1-dev.1 07:38:39 v2.3.1-dev.2 07:38:39 v3.0.0-dev.1 07:38:39 v3.0.0-dev.10 07:38:39 v3.0.0-dev.11 07:38:39 v3.0.0-dev.12 07:38:39 v3.0.0-dev.13 07:38:39 v3.0.0-dev.14 07:38:39 v3.0.0-dev.15 07:38:39 v3.0.0-dev.16 07:38:39 v3.0.0-dev.17 07:38:39 v3.0.0-dev.18 07:38:39 v3.0.0-dev.19 07:38:39 v3.0.0-dev.2 07:38:39 v3.0.0-dev.20 07:38:39 v3.0.0-dev.21 07:38:39 v3.0.0-dev.22 07:38:39 v3.0.0-dev.23 07:38:39 v3.0.0-dev.24 07:38:39 v3.0.0-dev.25 07:38:39 v3.0.0-dev.26 07:38:39 v3.0.0-dev.27 07:38:39 v3.0.0-dev.28 07:38:39 v3.0.0-dev.29 07:38:39 v3.0.0-dev.3 07:38:39 v3.0.0-dev.30 07:38:39 v3.0.0-dev.31 07:38:39 v3.0.0-dev.32 07:38:39 v3.0.0-dev.33 07:38:39 v3.0.0-dev.34 07:38:39 v3.0.0-dev.35 07:38:39 v3.0.0-dev.36 07:38:39 v3.0.0-dev.37 07:38:39 v3.0.0-dev.38 07:38:39 v3.0.0-dev.39 07:38:39 v3.0.0-dev.4 07:38:39 v3.0.0-dev.40 07:38:39 v3.0.0-dev.41 07:38:39 v3.0.0-dev.42 07:38:39 v3.0.0-dev.43 07:38:39 v3.0.0-dev.44 07:38:39 v3.0.0-dev.45 07:38:39 v3.0.0-dev.46 07:38:39 v3.0.0-dev.47 07:38:39 v3.0.0-dev.48 07:38:39 v3.0.0-dev.49 07:38:39 v3.0.0-dev.5 07:38:39 v3.0.0-dev.50 07:38:39 v3.0.0-dev.51 07:38:39 v3.0.0-dev.52 07:38:39 v3.0.0-dev.6 07:38:39 v3.0.0-dev.7 07:38:39 v3.0.0-dev.8 07:38:39 v3.0.0-dev.9 [Pipeline] sh 07:38:39 + lftools sign git-tag v3.0.0-dev.52 07:38:40 Signing Git tag with Sigul... 07:38:40 Signing v3.0.0-dev.52 [Pipeline] echo 07:38:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:38:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:38:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:38:40 $ docker stop --time=1 f1d8e8787de37186b7be584e45febabc1441988982cb19813cb3c4ff15c4ecad 07:38:42 $ docker rm -f --volumes f1d8e8787de37186b7be584e45febabc1441988982cb19813cb3c4ff15c4ecad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:38:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:42 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:38:43 $ docker top 71b5992b467808020f96f89c5393d2c17071a088cc43ea1eef4331337175ecdb -eo pid,comm 07:38:43 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). 07:38:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:43 [ssh-agent] Looking for ssh-agent implementation... 07:38:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:43 $ docker exec 71b5992b467808020f96f89c5393d2c17071a088cc43ea1eef4331337175ecdb ssh-agent 07:38:43 SSH_AUTH_SOCK=/tmp/ssh-jO1AgPuRidXL/agent.32 07:38:43 SSH_AGENT_PID=38 07:38:43 Running ssh-add (command line suppressed) 07:38:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9411235991673891166.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9411235991673891166.key) 07:38:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:43 + git semver bump pre 07:38:44 2023-03-14 07:38:44,157 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:44 2023-03-14 07:38:44,157 [bump_version] DEBUG bumping version:3.0.0-dev.52 on axis:pre with prefix:dev 07:38:44 2023-03-14 07:38:44,158 [bump_version] DEBUG bumped version:3.0.0-dev.53 07:38:44 2023-03-14 07:38:44,158 [write_version] DEBUG write version:3.0.0-dev.53 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:38:44 2023-03-14 07:38:44,158 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:44 2023-03-14 07:38:44,158 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:44 2023-03-14 07:38:44,160 [execute] INFO git cat-file --batch-check 07:38:44 2023-03-14 07:38:44,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:38:44 2023-03-14 07:38:44,166 [execute] INFO git cat-file --batch 07:38:44 2023-03-14 07:38:44,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:38:44 2023-03-14 07:38:44,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:44 3.0.0-dev.53 [Pipeline] } 07:38:44 $ docker exec --env ******** --env ******** 71b5992b467808020f96f89c5393d2c17071a088cc43ea1eef4331337175ecdb ssh-agent -k 07:38:44 unset SSH_AUTH_SOCK; 07:38:44 unset SSH_AGENT_PID; 07:38:44 echo Agent pid 38 killed; 07:38:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:44 + git semver [Pipeline] } 07:38:44 $ docker stop --time=1 71b5992b467808020f96f89c5393d2c17071a088cc43ea1eef4331337175ecdb 07:38:46 $ docker rm -f --volumes 71b5992b467808020f96f89c5393d2c17071a088cc43ea1eef4331337175ecdb [Pipeline] // withDockerContainer [Pipeline] sh 07:38:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:46 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:38:47 $ docker top 4926cb1214e5c3fb68d8476282fe92472b4dc6d414584346a02ed8d2a54b0f39 -eo pid,comm 07:38:47 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). 07:38:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:47 [ssh-agent] Looking for ssh-agent implementation... 07:38:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:47 $ docker exec 4926cb1214e5c3fb68d8476282fe92472b4dc6d414584346a02ed8d2a54b0f39 ssh-agent 07:38:47 SSH_AUTH_SOCK=/tmp/ssh-tHSAZVkVZYzb/agent.32 07:38:47 SSH_AGENT_PID=38 07:38:47 Running ssh-add (command line suppressed) 07:38:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15973674591743703620.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15973674591743703620.key) 07:38:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:47 + git semver push 07:38:48 2023-03-14 07:38:48,134 [run_push] DEBUG push 07:38:48 2023-03-14 07:38:48,135 [execute] INFO git cat-file --batch-check 07:38:48 2023-03-14 07:38:48,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:38:48 2023-03-14 07:38:48,138 [execute] INFO git rev-list 88d18c06a49b88ba50c19d1dfef5f500197a243a -- 07:38:48 2023-03-14 07:38:48,139 [execute] DEBUG Popen(['git', 'rev-list', '88d18c06a49b88ba50c19d1dfef5f500197a243a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:38:48 2023-03-14 07:38:48,151 [execute] INFO git fetch -v origin 07:38:48 2023-03-14 07:38:48,151 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:38:48 2023-03-14 07:38:48,602 [run_push] DEBUG no remote changes detected 07:38:48 2023-03-14 07:38:48,603 [execute] INFO git push origin semver 07:38:48 2023-03-14 07:38:48,603 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:38:49 2023-03-14 07:38:49,387 [run_push] DEBUG push all version tags 07:38:49 2023-03-14 07:38:49,387 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:38:49 2023-03-14 07:38:49,388 [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) 07:38:50 2023-03-14 07:38:50,264 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:38:50 3.0.0-dev.53 [Pipeline] } 07:38:50 $ docker exec --env ******** --env ******** 4926cb1214e5c3fb68d8476282fe92472b4dc6d414584346a02ed8d2a54b0f39 ssh-agent -k 07:38:50 unset SSH_AUTH_SOCK; 07:38:50 unset SSH_AGENT_PID; 07:38:50 echo Agent pid 38 killed; 07:38:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:50 + git semver [Pipeline] } 07:38:50 $ docker stop --time=1 4926cb1214e5c3fb68d8476282fe92472b4dc6d414584346a02ed8d2a54b0f39 07:38:52 $ docker rm -f --volumes 4926cb1214e5c3fb68d8476282fe92472b4dc6d414584346a02ed8d2a54b0f39 [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 07:38:52 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:38:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:38:52 total 16 07:38:52 drwxr-xr-x 3 root root 4096 Mar 14 07:26 . 07:38:52 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:38 .. 07:38:52 drwxr-xr-x 2 root root 4096 Mar 14 07:26 cost 07:38:52 -rw-r--r-- 1 root root 85 Mar 14 07:26 cost.csv 07:38:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:38:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:38:52 total 16 07:38:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 07:26 . 07:38:52 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 07:38 .. 07:38:52 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 07:26 cost 07:38:52 -rw-r--r-- 1 jenkins jenkins 85 Mar 14 07:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:38:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:38:53 ---> package-listing.sh 07:38:53 ++ facter osfamily 07:38:53 ++ tr '[:upper:]' '[:lower:]' 07:38:54 + OS_FAMILY=debian 07:38:54 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:38:54 + START_PACKAGES=/tmp/packages_start.txt 07:38:54 + END_PACKAGES=/tmp/packages_end.txt 07:38:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:38:54 + PACKAGES=/tmp/packages_start.txt 07:38:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:38:54 + PACKAGES=/tmp/packages_end.txt 07:38:54 + case "${OS_FAMILY}" in 07:38:54 + dpkg -l 07:38:54 + grep '^ii' 07:38:54 + '[' -f /tmp/packages_start.txt ']' 07:38:54 + '[' -f /tmp/packages_end.txt ']' 07:38:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:38:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:38:54 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:38:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:38:54 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 07:38:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:55 prd-ubuntu20.04-docker-8c-8g-79 does not seem to be running inside a container 07:38:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:38:55 $ docker top cb2c67300842a2556d5e8f7b6c574933487d8a3fdc7331adb514e1cbf6a6052c -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:38:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:38:56 + ls /var/log/sa-host 07:38:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:56 provisioning config files... 07:38:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1518728362518924290tmp [Pipeline] { [Pipeline] echo 07:38:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:38:56 ---> create-netrc.sh [Pipeline] } 07:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:38:56 ---> python-tools-install.sh [Pipeline] echo 07:38:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:38:57 ---> sudo-logs.sh 07:38:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:38:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:38:57 ---> job-cost.sh 07:38:57 lf-activate-venv: SKIPPING 07:38:57 DEBUG: total: 0.2199999988079071 07:38:57 INFO: Retrieving Stack Cost... 07:38:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:38:58 INFO: Archiving Costs [Pipeline] echo 07:38:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:38:58 ---> logs-deploy.sh 07:38:58 lf-activate-venv: SKIPPING 07:38:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/182 07:38:58 INFO: archiving workspace using pattern(s): 07:38:59 Archives upload complete. 07:38:59 INFO: archiving logs to Nexus 07:39:00 ---> uname -a: 07:39:00 Linux prd-ubuntu20-04-docker-8c-8g-79 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 07:39:00 07:39:00 07:39:00 ---> lscpu: 07:39:00 Architecture: x86_64 07:39:00 CPU op-mode(s): 32-bit, 64-bit 07:39:00 Byte Order: Little Endian 07:39:00 Address sizes: 40 bits physical, 48 bits virtual 07:39:00 CPU(s): 8 07:39:00 On-line CPU(s) list: 0-7 07:39:00 Thread(s) per core: 1 07:39:00 Core(s) per socket: 1 07:39:00 Socket(s): 8 07:39:00 NUMA node(s): 1 07:39:00 Vendor ID: AuthenticAMD 07:39:00 CPU family: 23 07:39:00 Model: 49 07:39:00 Model name: AMD EPYC-Rome Processor 07:39:00 Stepping: 0 07:39:00 CPU MHz: 2800.000 07:39:00 BogoMIPS: 5600.00 07:39:00 Virtualization: AMD-V 07:39:00 Hypervisor vendor: KVM 07:39:00 Virtualization type: full 07:39:00 L1d cache: 256 KiB 07:39:00 L1i cache: 256 KiB 07:39:00 L2 cache: 4 MiB 07:39:00 L3 cache: 128 MiB 07:39:00 NUMA node0 CPU(s): 0-7 07:39:00 Vulnerability Itlb multihit: Not affected 07:39:00 Vulnerability L1tf: Not affected 07:39:00 Vulnerability Mds: Not affected 07:39:00 Vulnerability Meltdown: Not affected 07:39:00 Vulnerability Mmio stale data: Not affected 07:39:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:39:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:39:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 07:39:00 Vulnerability Srbds: Not affected 07:39:00 Vulnerability Tsx async abort: Not affected 07:39:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 07:39:00 07:39:00 07:39:00 ---> nproc: 07:39:00 8 07:39:00 07:39:00 07:39:00 ---> df -h: 07:39:00 Filesystem Size Used Avail Use% Mounted on 07:39:00 overlay 155G 13G 143G 9% / 07:39:00 tmpfs 64M 0 64M 0% /dev 07:39:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:39:00 shm 64M 0 64M 0% /dev/shm 07:39:00 /dev/vda1 155G 13G 143G 9% /facter-os 07:39:00 07:39:00