Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d74039b1e75348ec690936aee1c1bcbaac678fee 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-ssh14467633335894014345.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15630042549886102262.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7645061742977426298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5849153003890655983.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-ssh1693280208684128482.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1561 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 d74039b1e75348ec690936aee1c1bcbaac678fee (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 Commit message: "test: Add URI test files (#1481)" > git rev-list --no-walk 1f24b0a1909b23f42318563b740559601ceacb70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:41 ========================================================= 18:41:41 EdgeX Global Pipelines Version Info 18:41:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:41 ------------------- 18:41:41 stable info: 18:41:41 ------------------- 18:41:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:41 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:41:41 Message: update stable to v1.0.250 18:41:42 ------------------- 18:41:42 experimental info: 18:41:42 ------------------- 18:41:42 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:41:42 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74039b [Pipeline] echo 18:41:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:43 provisioning config files... 18:41:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5036978252056570026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:43 ---> docker-login.sh 18:41:43 nexus3.edgexfoundry.org:10001 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:43 Configure a credential helper to remove this warning. See 18:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:43 18:41:43 Login Succeeded 18:41:43 nexus3.edgexfoundry.org:10002 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:44 Configure a credential helper to remove this warning. See 18:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:44 18:41:44 Login Succeeded 18:41:44 nexus3.edgexfoundry.org:10003 18:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:44 Configure a credential helper to remove this warning. See 18:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:44 18:41:44 Login Succeeded 18:41:44 nexus3.edgexfoundry.org:10004 18:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:44 Configure a credential helper to remove this warning. See 18:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:44 18:41:44 Login Succeeded 18:41:44 docker.io 18:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:44 Configure a credential helper to remove this warning. See 18:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:44 18:41:44 Login Succeeded 18:41:44 ---> docker-login.sh ends [Pipeline] } 18:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:44 + git rev-list -1 --merges d74039b1e75348ec690936aee1c1bcbaac678fee~1..d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo 18:41:44 -----------> git rev-list -1 --merges d74039b1e75348ec690936aee1c1bcbaac678fee~1..d74039b1e75348ec690936aee1c1bcbaac678fee d74039b1e75348ec690936aee1c1bcbaac678fee [false] [Pipeline] sh 18:41:45 + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo 18:41:45 ========================================================= 18:41:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:45 + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] echo 18:41:45 [semverPrep] GIT_COMMIT: d74039b1e75348ec690936aee1c1bcbaac678fee, Commit Message: test: Add URI test files (#1481) [Pipeline] echo 18:41:45 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:46 + grep -v github /etc/ssh/ssh_known_hosts 18:41:46 + [ -e /tmp/ssh_known_hosts ] 18:41:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:46 + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:46 18:41:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:46 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:46 b85a868b505f: Pulling fs layer 18:41:46 e2be974225ed: Pulling fs layer 18:41:46 339a4e72a1f5: Pulling fs layer 18:41:46 988bab9f4d93: Pulling fs layer 18:41:46 1469e6f7b9e6: Pulling fs layer 18:41:46 eaf3925da568: Pulling fs layer 18:41:46 bab4dde63d76: Pulling fs layer 18:41:46 bde34c3a00c8: Pulling fs layer 18:41:46 b352a97aabf1: Pulling fs layer 18:41:46 4872d77fe225: Pulling fs layer 18:41:46 5851b861e8e6: Pulling fs layer 18:41:46 b352a97aabf1: Waiting 18:41:46 1469e6f7b9e6: Waiting 18:41:46 4872d77fe225: Waiting 18:41:46 5851b861e8e6: Waiting 18:41:46 eaf3925da568: Waiting 18:41:46 bab4dde63d76: Waiting 18:41:46 988bab9f4d93: Waiting 18:41:46 bde34c3a00c8: Waiting 18:41:46 e2be974225ed: Download complete 18:41:46 988bab9f4d93: Download complete 18:41:46 1469e6f7b9e6: Verifying Checksum 18:41:46 1469e6f7b9e6: Download complete 18:41:46 eaf3925da568: Download complete 18:41:47 339a4e72a1f5: Verifying Checksum 18:41:47 339a4e72a1f5: Download complete 18:41:47 bde34c3a00c8: Download complete 18:41:47 b352a97aabf1: Verifying Checksum 18:41:47 b352a97aabf1: Download complete 18:41:47 4872d77fe225: Download complete 18:41:47 5851b861e8e6: Verifying Checksum 18:41:47 5851b861e8e6: Download complete 18:41:47 b85a868b505f: Download complete 18:41:47 bab4dde63d76: Verifying Checksum 18:41:47 bab4dde63d76: Download complete 18:41:48 b85a868b505f: Pull complete 18:41:48 e2be974225ed: Pull complete 18:41:49 339a4e72a1f5: Pull complete 18:41:49 988bab9f4d93: Pull complete 18:41:49 1469e6f7b9e6: Pull complete 18:41:49 eaf3925da568: Pull complete 18:41:51 bab4dde63d76: Pull complete 18:41:51 bde34c3a00c8: Pull complete 18:41:51 b352a97aabf1: Pull complete 18:41:51 4872d77fe225: Pull complete 18:41:51 5851b861e8e6: Pull complete 18:41:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:51 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:41:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:54 $ docker top 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db -eo pid,comm 18:41:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:54 [ssh-agent] Looking for ssh-agent implementation... 18:41:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:55 $ docker exec 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent 18:41:55 SSH_AUTH_SOCK=/tmp/ssh-yUhc8WHmmGRn/agent.32 18:41:55 SSH_AGENT_PID=38 18:41:55 Running ssh-add (command line suppressed) 18:41:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14529140842587956935.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14529140842587956935.key) 18:41:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:55 + git tag --points-at HEAD [Pipeline] } 18:41:55 $ docker exec --env ******** --env ******** 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent -k 18:41:55 unset SSH_AUTH_SOCK; 18:41:55 unset SSH_AGENT_PID; 18:41:55 echo Agent pid 38 killed; 18:41:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:55 [ssh-agent] Looking for ssh-agent implementation... 18:41:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:55 $ docker exec 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent 18:41:56 SSH_AUTH_SOCK=/tmp/ssh-rFT5Eg4Dkww7/agent.70 18:41:56 SSH_AGENT_PID=76 18:41:56 Running ssh-add (command line suppressed) 18:41:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14490288139127937513.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14490288139127937513.key) 18:41:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:56 + git semver init 18:41:56 2023-07-19 18:41:56,621 [run_init] DEBUG init version:0.0.0 force:False 18:41:56 2023-07-19 18:41:56,621 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:41:56 2023-07-19 18:41:56,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:41:56 2023-07-19 18:41:56,622 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:41:57 2023-07-19 18:41:57,519 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:41:57 2023-07-19 18:41:57,519 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:41:57 2023-07-19 18:41:57,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:57 2023-07-19 18:41:57,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:57 3.1.0-dev.6 [Pipeline] } 18:41:57 $ docker exec --env ******** --env ******** 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db ssh-agent -k 18:41:57 unset SSH_AUTH_SOCK; 18:41:57 unset SSH_AGENT_PID; 18:41:57 echo Agent pid 76 killed; 18:41:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:58 + git semver [Pipeline] } 18:41:58 $ docker stop --time=1 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db 18:41:59 $ docker rm -f --volumes 4cfb77719592f359690431c222f791b350eb779a407ee023bbde0dc5609be8db [Pipeline] // withDockerContainer [Pipeline] sh 18:42:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:00 Stashed 1 file(s) [Pipeline] echo 18:42:00 [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:00 provisioning config files... 18:42:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5407986263911301326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:00 ---> docker-login.sh 18:42:00 nexus3.edgexfoundry.org:10001 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10002 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10003 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10004 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 docker.io 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:01 Configure a credential helper to remove this warning. See 18:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:01 18:42:01 Login Succeeded 18:42:01 ---> docker-login.sh ends [Pipeline] } 18:42:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:01 ========================================================= 18:42:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:42:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:01 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:42:01 Sending build context to Docker daemon 10.92MB 18:42:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:42:01 Step 2/10 : FROM ${BASE} AS builder 18:42:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:01 4db1b89c0bd1: Pulling fs layer 18:42:01 6911f1a30b25: Pulling fs layer 18:42:01 e194b8c5c2a9: Pulling fs layer 18:42:01 6863d3e3a2b1: Pulling fs layer 18:42:01 ec0bb842ea78: Pulling fs layer 18:42:01 40a00589a448: Pulling fs layer 18:42:01 6c08303d61cc: Pulling fs layer 18:42:01 798269fcf238: Pulling fs layer 18:42:01 6863d3e3a2b1: Waiting 18:42:01 6c08303d61cc: Waiting 18:42:01 798269fcf238: Waiting 18:42:01 ec0bb842ea78: Waiting 18:42:01 6911f1a30b25: Verifying Checksum 18:42:01 6911f1a30b25: Download complete 18:42:01 6863d3e3a2b1: Verifying Checksum 18:42:01 6863d3e3a2b1: Download complete 18:42:01 ec0bb842ea78: Download complete 18:42:01 4db1b89c0bd1: Download complete 18:42:01 40a00589a448: Verifying Checksum 18:42:01 40a00589a448: Download complete 18:42:02 4db1b89c0bd1: Pull complete 18:42:02 6911f1a30b25: Pull complete 18:42:02 798269fcf238: Verifying Checksum 18:42:02 798269fcf238: Download complete 18:42:02 e194b8c5c2a9: Download complete 18:42:02 6c08303d61cc: Download complete 18:42:05 e194b8c5c2a9: Pull complete 18:42:05 6863d3e3a2b1: Pull complete 18:42:05 ec0bb842ea78: Pull complete 18:42:06 40a00589a448: Pull complete 18:42:08 6c08303d61cc: Pull complete 18:42:09 798269fcf238: Pull complete 18:42:09 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 18:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:42:09 ---> ec979cd7f677 18:42:09 Step 3/10 : ARG MAKE=make build 18:42:15 Still waiting to schedule task 18:42:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:42:17 ---> Running in 806f162c66da 18:42:18 Removing intermediate container 806f162c66da 18:42:18 ---> 8e34f1798ae6 18:42:18 Step 4/10 : WORKDIR /device-sdk-go 18:42:18 ---> Running in e0041c8dc079 18:42:18 Removing intermediate container e0041c8dc079 18:42:18 ---> e1d78f403b51 18:42:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:18 ---> Running in 67376bca4bd7 18:42:18 Removing intermediate container 67376bca4bd7 18:42:18 ---> 1c4709baa724 18:42:18 Step 6/10 : RUN apk add --update --no-cache make git 18:42:18 ---> Running in cd2d08f91571 18:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:42:19 OK: 265 MiB in 53 packages 18:42:19 Removing intermediate container cd2d08f91571 18:42:19 ---> 9f08114b949b 18:42:19 Step 7/10 : COPY go.mod vendor* ./ 18:42:19 ---> 4c7cf6eddf3a 18:42:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:19 ---> Running in b934436bc37c 18:43:15 Removing intermediate container b934436bc37c 18:43:15 ---> 59e5611c4577 18:43:15 Step 9/10 : COPY . . 18:43:15 ---> 26925f73acdd 18:43:15 Step 10/10 : RUN ${MAKE} 18:43:15 ---> Running in 26e2ea22ea12 18:43:15 noop 18:43:15 Removing intermediate container 26e2ea22ea12 18:43:15 ---> 4c25055e07c9 18:43:15 Successfully built 4c25055e07c9 18:43:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:16 + docker inspect -f . ci-base-image-x86_64 18:43:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:16 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:16 $ docker top 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:17 + go version 18:43:17 go version go1.20.6 linux/amd64 [Pipeline] } 18:43:17 $ docker stop --time=1 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf 18:43:18 $ docker rm -f --volumes 521458fef90d7ecb05c01f2d21e33873bec7e8763c404e1099aef8b2aa1cc7bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:18 + docker inspect -f . ci-base-image-x86_64 18:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:18 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:19 $ docker top dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:43:19 + make test 18:43:19 go test -race -coverprofile=coverage.out ./... 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements 18:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 70.6% of statements 18:43:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements 18:43:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements 18:43:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements 18:43:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.6% of statements 18:43:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1564 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:43:52 Running in /w/workspace/device-sdk-go/235 [Pipeline] { [Pipeline] checkout 18:43:52 The recommended git tool is: git 18:43:57 using credential edgex-jenkins-ssh 18:43:57 Cloning the remote Git repository 18:43:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:43:57 > git init /w/workspace/device-sdk-go/235 # timeout=10 18:43:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:43:57 > git --version # timeout=10 18:43:57 > git --version # 'git version 2.25.1' 18:43:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:43:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:43:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:43:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:00 Avoid second fetch 18:44:00 Checking out Revision d74039b1e75348ec690936aee1c1bcbaac678fee (main) 18:44:00 > git config core.sparsecheckout # timeout=10 18:44:00 > git checkout -f d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 18:44:01 Commit message: "test: Add URI test files (#1481)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:02 Dload Upload Total Spent Left Speed 18:44:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 18:44:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:03 + sudo tee /etc/docker/daemon.new 18:44:03 { 18:44:03 "registry-mirrors": [ 18:44:03 "https://nexus3.edgexfoundry.org:10001" 18:44:03 ], 18:44:03 "bip": "10.250.0.254/24", 18:44:03 "hosts": [ 18:44:03 "tcp://0.0.0.0:5555", 18:44:03 "unix:///var/run/docker.sock" 18:44:03 ], 18:44:03 "mtu": 1458, 18:44:03 "selinux-enabled": true, 18:44:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:03 } [Pipeline] sh 18:44:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:03 + sudo service docker restart 18:44:05 GO111MODULE=on go vet ./... 18:44:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:06 ./bin/test-attribution-txt.sh [Pipeline] echo 18:44:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:44:06 $ docker stop --time=1 dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 18:44:10 $ docker rm -f --volumes dc2e508e8d43c0e6d726bbffcb2d7842685af8e8dbeb790c3f8844653b9d7f47 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:44:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:12 + ls -al . 18:44:12 total 284 18:44:12 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:43 . 18:44:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:41 .. 18:44:12 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:41 .dockerignore 18:44:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:41 .git 18:44:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:41 .github 18:44:12 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:41 .gitignore 18:44:12 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:41 .golangci.yml 18:44:12 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:41 .semver 18:44:12 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:41 CHANGELOG.md 18:44:12 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:41 GOVERNANCE.md 18:44:12 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:41 Jenkinsfile 18:44:12 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:41 LICENSE 18:44:12 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:41 Makefile 18:44:12 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:41 OWNERS.md 18:44:12 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:41 README.md 18:44:12 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 18:42 VERSION 18:44:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:41 bin 18:44:12 -rw-r--r-- 1 jenkins jenkins 104689 Jul 19 18:43 coverage.out 18:44:12 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:41 example 18:44:12 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:41 go.mod 18:44:12 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:41 go.sum 18:44:12 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:41 internal 18:44:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:41 openapi 18:44:12 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:41 pkg 18:44:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:41 snap 18:44:12 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:12 + 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=d74039b1e75348ec690936aee1c1bcbaac678fee --label arch=amd64 --label version=3.1.0-dev.6 . 18:44:12 Sending build context to Docker daemon 11.02MB 18:44:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:44:12 Step 2/23 : FROM ${BASE} AS builder 18:44:12 ---> 4c25055e07c9 18:44:12 Step 3/23 : ARG MAKE=make build 18:44:12 ---> Running in 52840440673c 18:44:12 Removing intermediate container 52840440673c 18:44:12 ---> 1d30a93f80fc 18:44:12 Step 4/23 : WORKDIR /device-sdk-go 18:44:12 ---> Running in 18c01d3a2707 18:44:12 Removing intermediate container 18c01d3a2707 18:44:12 ---> fe1eee6537c6 18:44:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:12 ---> Running in cae9b0cc106e 18:44:12 Removing intermediate container cae9b0cc106e 18:44:12 ---> ae87a2cd6276 18:44:12 Step 6/23 : RUN apk add --update --no-cache make git 18:44:12 ---> Running in 5a0042ddb612 18:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:13 OK: 265 MiB in 53 packages 18:44:13 Removing intermediate container 5a0042ddb612 18:44:13 ---> 922eda89911e 18:44:13 Step 7/23 : COPY go.mod vendor* ./ 18:44:13 ---> 2aea610a60bc 18:44:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:13 ---> Running in fde9eb34ef46 18:44:14 Removing intermediate container fde9eb34ef46 18:44:14 ---> 3165201e4afc 18:44:14 Step 9/23 : COPY . . 18:44:15 ---> a9204e44c02c 18:44:15 Step 10/23 : RUN ${MAKE} 18:44:15 ---> Running in cd78d83dab4e 18:44:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:21 provisioning config files... 18:44:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/235@tmp/config13788835867291433812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:22 ---> docker-login.sh 18:44:22 nexus3.edgexfoundry.org:10001 18:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:22 Configure a credential helper to remove this warning. See 18:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:22 18:44:22 Login Succeeded 18:44:22 nexus3.edgexfoundry.org:10002 18:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:23 Configure a credential helper to remove this warning. See 18:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:23 18:44:23 Login Succeeded 18:44:23 nexus3.edgexfoundry.org:10003 18:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:23 Configure a credential helper to remove this warning. See 18:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:23 18:44:23 Login Succeeded 18:44:23 nexus3.edgexfoundry.org:10004 18:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:24 Configure a credential helper to remove this warning. See 18:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:24 18:44:24 Login Succeeded 18:44:24 docker.io 18:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:24 Configure a credential helper to remove this warning. See 18:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:24 18:44:24 Login Succeeded 18:44:24 ---> docker-login.sh ends [Pipeline] } 18:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:24 ========================================================= 18:44:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:44:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:25 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:44:25 Sending build context to Docker daemon 5.809MB 18:44:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:44:25 Step 2/10 : FROM ${BASE} AS builder 18:44:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:26 edb6bdbacee9: Pulling fs layer 18:44:26 5f9638ab2659: Pulling fs layer 18:44:26 8d51d6327a98: Pulling fs layer 18:44:26 8b374f2dd631: Pulling fs layer 18:44:26 ec14aa9079de: Pulling fs layer 18:44:26 2f466654f4bb: Pulling fs layer 18:44:26 554e91adad29: Pulling fs layer 18:44:26 ec14aa9079de: Waiting 18:44:26 2f466654f4bb: Waiting 18:44:26 554e91adad29: Waiting 18:44:26 8b374f2dd631: Waiting 18:44:26 5f9638ab2659: Download complete 18:44:26 8b374f2dd631: Verifying Checksum 18:44:26 8b374f2dd631: Download complete 18:44:26 ec14aa9079de: Verifying Checksum 18:44:26 ec14aa9079de: Download complete 18:44:26 edb6bdbacee9: Verifying Checksum 18:44:27 edb6bdbacee9: Pull complete 18:44:28 554e91adad29: Verifying Checksum 18:44:28 554e91adad29: Download complete 18:44:28 5f9638ab2659: Pull complete 18:44:29 8d51d6327a98: Verifying Checksum 18:44:29 8d51d6327a98: Download complete 18:44:29 2f466654f4bb: Verifying Checksum 18:44:29 2f466654f4bb: Download complete 18:44:37 Removing intermediate container cd78d83dab4e 18:44:37 ---> 1a6a89e752d0 18:44:37 Step 11/23 : FROM alpine:3.17 18:44:37 3.17: Pulling from library/alpine 18:44:37 4db1b89c0bd1: Already exists 18:44:37 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:44:37 Status: Downloaded newer image for alpine:3.17 18:44:37 ---> 1f73a9d63274 18:44:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:37 ---> Running in 886a27f783f1 18:44:37 Removing intermediate container 886a27f783f1 18:44:37 ---> 335cc4910107 18:44:37 Step 13/23 : RUN apk add --update --no-cache 18:44:37 ---> Running in 20b90b38aad5 18:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:37 OK: 7 MiB in 15 packages 18:44:37 Removing intermediate container 20b90b38aad5 18:44:37 ---> ee0feb5d6d94 18:44:37 Step 14/23 : WORKDIR / 18:44:37 ---> Running in 192c05ce3ec0 18:44:37 Removing intermediate container 192c05ce3ec0 18:44:37 ---> 217e0c0554fe 18:44:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:44:37 ---> 6bef347937e9 18:44:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:44:37 ---> 39cb71cd7f93 18:44:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:44:37 ---> 5bf05e7d8dbe 18:44:37 Step 18/23 : EXPOSE 59999 18:44:37 ---> Running in c498265aad73 18:44:37 Removing intermediate container c498265aad73 18:44:37 ---> 4e167f21fd0b 18:44:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:44:37 ---> Running in 0671f2ecd216 18:44:37 Removing intermediate container 0671f2ecd216 18:44:37 ---> 90cfda4ef33b 18:44:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:37 ---> Running in de1ecc81c4f5 18:44:37 Removing intermediate container de1ecc81c4f5 18:44:37 ---> 85996132bb88 18:44:37 Step 21/23 : LABEL arch=amd64 18:44:37 ---> Running in 91c1fd780e3e 18:44:38 Removing intermediate container 91c1fd780e3e 18:44:38 ---> 48fd7d2122f4 18:44:38 Step 22/23 : LABEL git_sha=d74039b1e75348ec690936aee1c1bcbaac678fee 18:44:38 ---> Running in 8018474296a4 18:44:38 Removing intermediate container 8018474296a4 18:44:38 ---> 31df51ed801e 18:44:38 Step 23/23 : LABEL version=3.1.0-dev.6 18:44:38 ---> Running in 32e2185e2564 18:44:38 Removing intermediate container 32e2185e2564 18:44:38 ---> 8ecdd6fb8dc0 18:44:38 [Warning] One or more build-args [ARCH] were not consumed 18:44:38 Successfully built 8ecdd6fb8dc0 18:44:38 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:38 18:44:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:38 latest: Pulling from edgex-lftools-log-publisher 18:44:38 5eb5b503b376: Pulling fs layer 18:44:38 5c69ac0246d0: Pulling fs layer 18:44:38 ec43610c2a17: Pulling fs layer 18:44:38 3a2ae6a8a46f: Pulling fs layer 18:44:38 33b1e0a273af: Pulling fs layer 18:44:38 5d3b04190fa2: Pulling fs layer 18:44:38 2f39f015ded8: Pulling fs layer 18:44:38 3a2ae6a8a46f: Waiting 18:44:38 33b1e0a273af: Waiting 18:44:38 5d3b04190fa2: Waiting 18:44:38 2f39f015ded8: Waiting 18:44:38 5c69ac0246d0: Verifying Checksum 18:44:38 5c69ac0246d0: Download complete 18:44:38 3a2ae6a8a46f: Verifying Checksum 18:44:38 3a2ae6a8a46f: Download complete 18:44:38 33b1e0a273af: Verifying Checksum 18:44:38 33b1e0a273af: Download complete 18:44:38 5d3b04190fa2: Verifying Checksum 18:44:38 5d3b04190fa2: Download complete 18:44:38 ec43610c2a17: Download complete 18:44:38 5eb5b503b376: Verifying Checksum 18:44:38 5eb5b503b376: Download complete 18:44:39 2f39f015ded8: Download complete 18:44:40 5eb5b503b376: Pull complete 18:44:40 5c69ac0246d0: Pull complete 18:44:40 ec43610c2a17: Pull complete 18:44:40 3a2ae6a8a46f: Pull complete 18:44:40 33b1e0a273af: Pull complete 18:44:40 5d3b04190fa2: Pull complete 18:44:41 8d51d6327a98: Pull complete 18:44:41 8b374f2dd631: Pull complete 18:44:41 ec14aa9079de: Pull complete 18:44:45 2f39f015ded8: Pull complete 18:44:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:45 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:47 2f466654f4bb: Pull complete 18:44:49 554e91adad29: Pull complete 18:44:49 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 18:44:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:44:49 ---> 1e15ea492957 18:44:49 Step 3/10 : ARG MAKE=make build 18:44:50 $ docker top 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:51 ---> job-cost.sh 18:44:51 lf-activate-venv: SKIPPING 18:44:51 INFO: No Stack... 18:44:51 ---> Running in bc0e1bd06b90 18:44:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:51 Removing intermediate container bc0e1bd06b90 18:44:51 ---> 5c8d463e9beb 18:44:51 Step 4/10 : WORKDIR /device-sdk-go 18:44:51 ---> Running in ffd43544cb21 18:44:51 INFO: Archiving Costs [Pipeline] sh 18:44:51 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:44:51 + cut -d, -f6 [Pipeline] lock 18:44:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] 18:44:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] did not exist. Created. 18:44:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:52 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:52 Stashed 1 file(s) [Pipeline] } 18:44:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:52 $ docker stop --time=1 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 18:44:53 $ docker rm -f --volumes 4fff45f0104760fafb2280a2fd48c84242f083c02d2357b4734cc10a7efbdaa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:44:54 Removing intermediate container ffd43544cb21 18:44:54 ---> 4790ec8520b1 18:44:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:54 ---> Running in 9ffdfbf15760 18:44:54 Removing intermediate container 9ffdfbf15760 18:44:54 ---> f2fa567d47bc 18:44:54 Step 6/10 : RUN apk add --update --no-cache make git 18:44:54 ---> Running in ced7fe34a936 18:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:44:57 OK: 263 MiB in 53 packages 18:44:58 Removing intermediate container ced7fe34a936 18:44:58 ---> 5b964b01cae7 18:44:58 Step 7/10 : COPY go.mod vendor* ./ 18:44:58 ---> c723b8909a94 18:44:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:58 ---> Running in e8628a2c50fd 18:46:06 Removing intermediate container e8628a2c50fd 18:46:06 ---> 96deb1d9633d 18:46:06 Step 9/10 : COPY . . 18:46:06 ---> 87ceab3c977b 18:46:06 Step 10/10 : RUN ${MAKE} 18:46:06 ---> Running in b052bc6d782d 18:46:06 noop 18:46:06 Removing intermediate container b052bc6d782d 18:46:06 ---> 486561dbb842 18:46:06 Successfully built 486561dbb842 18:46:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:07 + docker inspect -f . ci-base-image-arm64 18:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:07 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 18:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:08 $ docker top 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:09 + go version 18:46:09 go version go1.20.6 linux/arm64 [Pipeline] } 18:46:09 $ docker stop --time=1 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 18:46:11 $ docker rm -f --volumes 0d2b794521cbcd84a47bb4f34382178d4e9bea66b12f72e74db8fb86a2022081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:11 + docker inspect -f . ci-base-image-arm64 18:46:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:11 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 18:46:11 $ 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/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:13 $ docker top 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/235 [Pipeline] fileExists [Pipeline] sh 18:46:14 + make test 18:46:14 go test -race -coverprofile=coverage.out ./... 18:47:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:49:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements 18:49:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.287s coverage: 80.2% of statements 18:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:49:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.386s coverage: 86.0% of statements 18:49:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:49:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.373s coverage: 70.6% of statements 18:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:50:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:50:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:50:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.316s coverage: 14.3% of statements 18:50:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.456s coverage: 68.5% of statements 18:50:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.473s coverage: 89.2% of statements 18:50:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:50:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 5.6% of statements 18:50:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:50:12 GO111MODULE=on go vet ./... 18:52:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:49 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:49 $ docker stop --time=1 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b 18:52:51 $ docker rm -f --volumes 63e5378586a2b281b9e20eabaa39ce6eb31a627c1ca1a36d29a6b1186072ce3b [Pipeline] // withDockerContainer [Pipeline] sh 18:52:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:53 Warning: overwriting stash ‘coverage-report’ 18:52:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:54 + ls -al . 18:52:54 total 280 18:52:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:46 . 18:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:43 .. 18:52:54 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:44 .dockerignore 18:52:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:44 .git 18:52:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 .github 18:52:54 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:44 .gitignore 18:52:54 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:44 .golangci.yml 18:52:54 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:44 CHANGELOG.md 18:52:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:44 GOVERNANCE.md 18:52:54 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:44 Jenkinsfile 18:52:54 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:44 LICENSE 18:52:54 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:44 Makefile 18:52:54 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:44 OWNERS.md 18:52:54 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:44 README.md 18:52:54 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 18:42 VERSION 18:52:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 bin 18:52:54 -rw-r--r-- 1 jenkins jenkins 104685 Jul 19 18:50 coverage.out 18:52:54 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:44 example 18:52:54 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:44 go.mod 18:52:54 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:44 go.sum 18:52:54 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:44 internal 18:52:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:44 openapi 18:52:54 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:44 pkg 18:52:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:44 snap 18:52:54 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:55 + 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=d74039b1e75348ec690936aee1c1bcbaac678fee --label arch=arm64 --label version=3.1.0-dev.6 . 18:52:55 Sending build context to Docker daemon 5.915MB 18:52:55 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:52:55 Step 2/23 : FROM ${BASE} AS builder 18:52:55 ---> 486561dbb842 18:52:55 Step 3/23 : ARG MAKE=make build 18:52:55 ---> Running in fd2a24623eb6 18:52:56 Removing intermediate container fd2a24623eb6 18:52:56 ---> efebeb950093 18:52:56 Step 4/23 : WORKDIR /device-sdk-go 18:52:56 ---> Running in 5f81425aac48 18:52:56 Removing intermediate container 5f81425aac48 18:52:56 ---> 51e3b40312ca 18:52:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:52:56 ---> Running in aaf44f01b8a7 18:52:56 Removing intermediate container aaf44f01b8a7 18:52:56 ---> 3739328a910c 18:52:56 Step 6/23 : RUN apk add --update --no-cache make git 18:52:56 ---> Running in cdeb49edd108 18:52:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:52:59 OK: 263 MiB in 53 packages 18:53:01 Removing intermediate container cdeb49edd108 18:53:01 ---> 4a130031a2d4 18:53:01 Step 7/23 : COPY go.mod vendor* ./ 18:53:02 ---> d03ed9f483d6 18:53:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:02 ---> Running in c353a9e2a1ae 18:53:04 Removing intermediate container c353a9e2a1ae 18:53:04 ---> e80795159d52 18:53:04 Step 9/23 : COPY . . 18:53:05 ---> c4d702bf9ace 18:53:05 Step 10/23 : RUN ${MAKE} 18:53:05 ---> Running in 1b38ebaad86b 18:53:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:55:43 Removing intermediate container 1b38ebaad86b 18:55:43 ---> d78682c63bf6 18:55:43 Step 11/23 : FROM alpine:3.17 18:55:43 3.17: Pulling from library/alpine 18:55:43 edb6bdbacee9: Already exists 18:55:43 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:55:43 Status: Downloaded newer image for alpine:3.17 18:55:43 ---> 779605e5fbc0 18:55:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:55:43 ---> Running in 3d9334e1c097 18:55:43 Removing intermediate container 3d9334e1c097 18:55:43 ---> e177384659ec 18:55:43 Step 13/23 : RUN apk add --update --no-cache 18:55:43 ---> Running in bf3a3815d96a 18:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:55:43 OK: 7 MiB in 15 packages 18:55:43 Removing intermediate container bf3a3815d96a 18:55:43 ---> fe7fc49ebb5f 18:55:43 Step 14/23 : WORKDIR / 18:55:43 ---> Running in afb8a0fa65fd 18:55:43 Removing intermediate container afb8a0fa65fd 18:55:43 ---> 2f16a0b21860 18:55:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:55:43 ---> 1d55fc2c51e2 18:55:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:55:43 ---> 53f69f07f8e5 18:55:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:55:43 ---> 5a24bbec177d 18:55:43 Step 18/23 : EXPOSE 59999 18:55:43 ---> Running in f430a6a35904 18:55:43 Removing intermediate container f430a6a35904 18:55:43 ---> 97a7f02f18fe 18:55:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:55:43 ---> Running in fc701c575c59 18:55:43 Removing intermediate container fc701c575c59 18:55:43 ---> 866b340a81b5 18:55:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:43 ---> Running in 8111508b7082 18:55:43 Removing intermediate container 8111508b7082 18:55:43 ---> 23741898e758 18:55:43 Step 21/23 : LABEL arch=arm64 18:55:43 ---> Running in 5a4dddafaf1d 18:55:43 Removing intermediate container 5a4dddafaf1d 18:55:43 ---> f75467f1f6c8 18:55:43 Step 22/23 : LABEL git_sha=d74039b1e75348ec690936aee1c1bcbaac678fee 18:55:43 ---> Running in 32f8bcb0dae8 18:55:43 Removing intermediate container 32f8bcb0dae8 18:55:43 ---> 627cc584e1c6 18:55:43 Step 23/23 : LABEL version=3.1.0-dev.6 18:55:43 ---> Running in 08ccc7def644 18:55:43 Removing intermediate container 08ccc7def644 18:55:43 ---> 4e1700bb4026 18:55:43 [Warning] One or more build-args [ARCH] were not consumed 18:55:43 Successfully built 4e1700bb4026 18:55:43 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:43 18:55:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:44 arm64: Pulling from edgex-lftools-log-publisher 18:55:44 8998bd30e6a1: Pulling fs layer 18:55:44 04944245beec: Pulling fs layer 18:55:44 699f458cf7ca: Pulling fs layer 18:55:44 765212b225bb: Pulling fs layer 18:55:44 f23df028b6ca: Pulling fs layer 18:55:44 d65c8cfc05b1: Pulling fs layer 18:55:44 2437ff75d9bd: Pulling fs layer 18:55:44 f23df028b6ca: Waiting 18:55:44 2437ff75d9bd: Waiting 18:55:44 765212b225bb: Waiting 18:55:44 04944245beec: Verifying Checksum 18:55:44 04944245beec: Download complete 18:55:44 765212b225bb: Verifying Checksum 18:55:44 765212b225bb: Download complete 18:55:44 f23df028b6ca: Download complete 18:55:44 d65c8cfc05b1: Download complete 18:55:44 699f458cf7ca: Verifying Checksum 18:55:45 8998bd30e6a1: Verifying Checksum 18:55:45 8998bd30e6a1: Download complete 18:55:47 2437ff75d9bd: Verifying Checksum 18:55:47 2437ff75d9bd: Download complete 18:55:49 8998bd30e6a1: Pull complete 18:55:49 04944245beec: Pull complete 18:55:50 699f458cf7ca: Pull complete 18:55:51 765212b225bb: Pull complete 18:55:51 f23df028b6ca: Pull complete 18:55:51 d65c8cfc05b1: Pull complete 18:56:06 2437ff75d9bd: Pull complete 18:56:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:56:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:07 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 18:56:07 $ 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/235 -v /w/workspace/device-sdk-go/235:/w/workspace/device-sdk-go/235:rw,z -v /w/workspace/device-sdk-go/235@tmp:/w/workspace/device-sdk-go/235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:56:12 $ docker top 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:12 ---> job-cost.sh 18:56:13 lf-activate-venv: SKIPPING 18:56:13 INFO: No Stack... 18:56:13 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:14 INFO: Archiving Costs [Pipeline] sh 18:56:14 + cat /w/workspace/device-sdk-go/235/archives/cost.csv 18:56:14 + cut -d, -f6 [Pipeline] lock 18:56:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] 18:56:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] did not exist. Created. 18:56:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:15 /w/workspace/device-sdk-go/235@tmp/durable-647ab624/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:15 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:15 Warning: overwriting stash ‘stack-cost’ 18:56:15 Stashed 1 file(s) [Pipeline] } 18:56:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-235-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:15 $ docker stop --time=1 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 18:56:17 $ docker rm -f --volumes 81c6fdbbee5a318a3d46ae7a4eff3fd82fdef417c65884b18094a7f33052c814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:56:17 provisioning config files... 18:56:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18081143922178310095tmp [Pipeline] { [Pipeline] sh 18:56:17 + set +x 18:56:17 + curl -s https://codecov.io/bash 18:56:17 + bash -s -- 18:56:17 18:56:17 _____ _ 18:56:17 / ____| | | 18:56:17 | | ___ __| | ___ ___ _____ __ 18:56:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:17 Bash-1.0.6 18:56:17 18:56:17 18:56:17 ==> git version 2.25.1 found 18:56:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:56:17 Release-Date: 2020-01-08 18:56:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:56:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:56:17 ==> Jenkins CI detected. 18:56:17 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:56:17 project root: . 18:56:17 --> token set from env 18:56:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:17 ==> Running gcov in . (disable via -X gcov) 18:56:17 ==> Python coveragepy not found 18:56:17 ==> Searching for coverage reports in: 18:56:17 + . 18:56:17 -> Found 1 reports 18:56:17 ==> Detecting git/mercurial file structure 18:56:17 ==> Reading reports 18:56:17 + ./coverage.out bytes=104685 18:56:17 ==> Appending adjustments 18:56:17 https://docs.codecov.io/docs/fixing-reports 18:56:18 + Found adjustments 18:56:18 ==> Gzipping contents 18:56:18 16K /tmp/codecov.bOvPY8.gz 18:56:18 ==> Uploading reports 18:56:18 url: https://codecov.io 18:56:18 query: branch=main&commit=d74039b1e75348ec690936aee1c1bcbaac678fee&build=235&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F235%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:18 -> Pinging Codecov 18:56:18 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=d74039b1e75348ec690936aee1c1bcbaac678fee&build=235&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F235%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:18 -> Uploading to 18:56:18 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/d74039b1e75348ec690936aee1c1bcbaac678fee/46a8c952-aaec-4654-9376-192cc5bcef5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T185618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58ae72d8714444133d7cefda75e1d620947af94951f70c05898d4c66a2f84b2e 18:56:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:18 Dload Upload Total Spent Left Speed 18:56:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14862 0 0 100 14862 0 77811 --:--:-- --:--:-- --:--:-- 77811 18:56:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] } 18:56:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:56:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:56:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:19 18:56:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:56:19 df9b9388f04a: Pulling fs layer 18:56:19 52dc419b0ee2: Pulling fs layer 18:56:19 25bc292e5bac: Pulling fs layer 18:56:19 114826534d7a: Pulling fs layer 18:56:19 4657fd5d0bcf: Pulling fs layer 18:56:19 6ad1cebc031e: Pulling fs layer 18:56:19 8a3aa393b2d8: Pulling fs layer 18:56:19 6ad1cebc031e: Waiting 18:56:19 4657fd5d0bcf: Waiting 18:56:19 8a3aa393b2d8: Waiting 18:56:19 114826534d7a: Waiting 18:56:19 25bc292e5bac: Download complete 18:56:19 52dc419b0ee2: Verifying Checksum 18:56:19 52dc419b0ee2: Download complete 18:56:19 4657fd5d0bcf: Verifying Checksum 18:56:19 4657fd5d0bcf: Download complete 18:56:19 df9b9388f04a: Verifying Checksum 18:56:19 df9b9388f04a: Download complete 18:56:19 df9b9388f04a: Pull complete 18:56:19 6ad1cebc031e: Download complete 18:56:19 52dc419b0ee2: Pull complete 18:56:19 25bc292e5bac: Pull complete 18:56:20 114826534d7a: Verifying Checksum 18:56:20 114826534d7a: Download complete 18:56:20 8a3aa393b2d8: Verifying Checksum 18:56:20 8a3aa393b2d8: Download complete 18:56:23 114826534d7a: Pull complete 18:56:23 4657fd5d0bcf: Pull complete 18:56:23 6ad1cebc031e: Pull complete 18:56:26 8a3aa393b2d8: Pull complete 18:56:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:26 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:56:26 $ 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 18:56:29 $ docker top a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af -eo pid,comm [Pipeline] { [Pipeline] echo 18:56:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:56:30 + set -o pipefail 18:56:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:56:36 18:56:36 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:56:36 18:56:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4144bc57-5cbd-4ebe-bd0f-0d9717cac9e0 18:56:36 18:56:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:56:36 18:56:37 18:56:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:56:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:56:37 More details here: https://snyk.co/ue1NS [Pipeline] } 18:56:37 $ docker stop --time=1 a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af 18:56:41 $ docker rm -f --volumes a9c6da8adc07f90c8f188616084753c7e96898c149c277994d3f9dff7bc3f5af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:56:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:41 provisioning config files... 18:56:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config432259766291791570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:42 --> edgex-publish-swagger.sh 18:56:42 === Publish openapi/v3 API === 18:56:42 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:56:42 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:56:42 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:42 Dload Upload Total Spent Left Speed 18:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 53440 --:--:-- --:--:-- --:--:-- 53319 100 23674 0 0 100 23674 0 53440 --:--:-- --:--:-- --:--:-- 53319 18:56:42 18:56:42 [Pipeline] } 18:56:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:42 + git log --format=format:%s -1 d74039b1e75348ec690936aee1c1bcbaac678fee [Pipeline] sh 18:56:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:43 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:56:43 $ 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 18:56:43 $ docker top 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 -eo pid,comm 18:56: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). 18:56:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:43 [ssh-agent] Looking for ssh-agent implementation... 18:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:44 $ docker exec 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 ssh-agent 18:56:44 SSH_AUTH_SOCK=/tmp/ssh-ydmGRF0pK8tf/agent.33 18:56:44 SSH_AGENT_PID=39 18:56:44 Running ssh-add (command line suppressed) 18:56:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17363169882317333540.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17363169882317333540.key) 18:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:44 + git semver tag 18:56:44 2023-07-19 18:56:44,712 [run_tag] DEBUG tag force:False 18:56:44 2023-07-19 18:56:44,712 [check_head_tag] DEBUG check head tag 18:56:44 2023-07-19 18:56:44,713 [execute] INFO git cat-file --batch-check 18:56:44 2023-07-19 18:56:44,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:56:44 2023-07-19 18:56:44,717 [execute] INFO git cat-file --batch 18:56:44 2023-07-19 18:56:44,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:56:44 2023-07-19 18:56:44,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:44 2023-07-19 18:56:44,728 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 18:56:44 2023-07-19 18:56:44,728 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:56:44 2023-07-19 18:56:44,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:44 3.1.0-dev.6 [Pipeline] } 18:56:44 $ docker exec --env ******** --env ******** 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 ssh-agent -k 18:56:44 unset SSH_AUTH_SOCK; 18:56:44 unset SSH_AGENT_PID; 18:56:44 echo Agent pid 39 killed; 18:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:45 + git semver [Pipeline] } 18:56:45 $ docker stop --time=1 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 18:56:46 $ docker rm -f --volumes 0725391f4f25bb796767403c0961943ca84ad0e9c1425ffde505d410117bfe82 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:47 18:56:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:47 0.23.1-centos7: Pulling from edgex-lftools 18:56:47 ab5ef0e58194: Pulling fs layer 18:56:47 9712f1f96733: Pulling fs layer 18:56:47 63f879dbbcfc: Pulling fs layer 18:56:47 0d9ebad4ef96: Pulling fs layer 18:56:47 e9a5061849ea: Pulling fs layer 18:56:47 d747dcd14b5f: Pulling fs layer 18:56:47 2de7ff778b66: Pulling fs layer 18:56:47 2de7ff778b66: Waiting 18:56:47 e9a5061849ea: Waiting 18:56:47 d747dcd14b5f: Waiting 18:56:47 0d9ebad4ef96: Waiting 18:56:47 9712f1f96733: Verifying Checksum 18:56:47 9712f1f96733: Download complete 18:56:47 63f879dbbcfc: Verifying Checksum 18:56:47 63f879dbbcfc: Download complete 18:56:47 e9a5061849ea: Verifying Checksum 18:56:47 e9a5061849ea: Download complete 18:56:47 d747dcd14b5f: Verifying Checksum 18:56:47 d747dcd14b5f: Download complete 18:56:47 ab5ef0e58194: Verifying Checksum 18:56:47 ab5ef0e58194: Download complete 18:56:47 0d9ebad4ef96: Verifying Checksum 18:56:47 0d9ebad4ef96: Download complete 18:56:47 2de7ff778b66: Verifying Checksum 18:56:47 2de7ff778b66: Download complete 18:56:50 ab5ef0e58194: Pull complete 18:56:50 9712f1f96733: Pull complete 18:56:51 63f879dbbcfc: Pull complete 18:56:54 0d9ebad4ef96: Pull complete 18:56:54 e9a5061849ea: Pull complete 18:56:54 d747dcd14b5f: Pull complete 18:56:55 2de7ff778b66: Pull complete 18:56:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:55 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:56:55 $ 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 18:57:00 $ docker top 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:57:00 provisioning config files... 18:57:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17332455135889575248tmp 18:57:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1859170232246348985tmp 18:57:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11011376161612208760tmp [Pipeline] { [Pipeline] echo 18:57:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:57:00 ---> sigul-configuration.sh 18:57:00 gpg: directory `/root/.gnupg' created 18:57:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:57:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:57:00 gpg: keyring `/root/.gnupg/secring.gpg' created 18:57:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:57:00 gpg: CAST5 encrypted data 18:57:00 gpg: encrypted with 1 passphrase 18:57:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:57:00 + mkdir /home/jenkins 18:57:00 + mkdir /home/jenkins/sigul [Pipeline] sh 18:57:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:57:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:57:01 ---> sigul-install.sh 18:57:01 Sigul already installed; skipping installation. [Pipeline] sh 18:57:01 + git tag --list 18:57:01 0.7.1 18:57:01 delhi-tag 18:57:01 v1.0.0 18:57:01 v1.1.0 18:57:01 v1.1.1 18:57:01 v1.1.2 18:57:01 v1.2.0 18:57:01 v1.2.1 18:57:01 v1.2.2 18:57:01 v1.2.3 18:57:01 v1.3.0 18:57:01 v1.4.0 18:57:01 v2.0.0 18:57:01 v2.1.0 18:57:01 v2.1.1 18:57:01 v2.2.0 18:57:01 v2.3.0 18:57:01 v2.3.1 18:57:01 v3.0 18:57:01 v3.0.0 18:57:01 v3.0.1-dev.1 18:57:01 v3.1.0-dev.1 18:57:01 v3.1.0-dev.2 18:57:01 v3.1.0-dev.3 18:57:01 v3.1.0-dev.4 18:57:01 v3.1.0-dev.5 18:57:01 v3.1.0-dev.6 [Pipeline] sh 18:57:02 + lftools sign git-tag v3.1.0-dev.6 18:57:02 Signing Git tag with Sigul... 18:57:02 Signing v3.1.0-dev.6 [Pipeline] echo 18:57:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:57:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:57:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:57:03 $ docker stop --time=1 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 18:57:04 $ docker rm -f --volumes 8efc05fa582c0ee02558e84515d655213194cd0fc7d2f75f6903f5e0d63f0dd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:57:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:05 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:57:05 $ 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 18:57:05 $ docker top ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb -eo pid,comm 18:57:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:57:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:05 [ssh-agent] Looking for ssh-agent implementation... 18:57:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:05 $ docker exec ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb ssh-agent 18:57:05 SSH_AUTH_SOCK=/tmp/ssh-JoAqkazHjRvo/agent.32 18:57:05 SSH_AGENT_PID=38 18:57:05 Running ssh-add (command line suppressed) 18:57:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1816485964804463390.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1816485964804463390.key) 18:57:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:06 + git semver bump pre 18:57:06 2023-07-19 18:57:06,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:06 2023-07-19 18:57:06,484 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev 18:57:06 2023-07-19 18:57:06,484 [bump_version] DEBUG bumped version:3.1.0-dev.7 18:57:06 2023-07-19 18:57:06,485 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:57:06 2023-07-19 18:57:06,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:06 2023-07-19 18:57:06,485 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:06 2023-07-19 18:57:06,487 [execute] INFO git cat-file --batch-check 18:57:06 2023-07-19 18:57:06,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:06 2023-07-19 18:57:06,493 [execute] INFO git cat-file --batch 18:57:06 2023-07-19 18:57:06,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:06 2023-07-19 18:57:06,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:06 3.1.0-dev.7 [Pipeline] } 18:57:06 $ docker exec --env ******** --env ******** ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb ssh-agent -k 18:57:06 unset SSH_AUTH_SOCK; 18:57:06 unset SSH_AGENT_PID; 18:57:06 echo Agent pid 38 killed; 18:57:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:06 + git semver [Pipeline] } 18:57:07 $ docker stop --time=1 ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb 18:57:08 $ docker rm -f --volumes ef929f9ac3fbc3e71c65c3ad3391b42b4a5744b3ce91f7cf7be7f24b8c0bdbfb [Pipeline] // withDockerContainer [Pipeline] sh 18:57:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:09 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:57:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:57:09 $ docker top 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 -eo pid,comm 18:57:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:57:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:09 [ssh-agent] Looking for ssh-agent implementation... 18:57:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:09 $ docker exec 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 ssh-agent 18:57:09 SSH_AUTH_SOCK=/tmp/ssh-cIVFLTCaMWr2/agent.32 18:57:09 SSH_AGENT_PID=38 18:57:09 Running ssh-add (command line suppressed) 18:57:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4957579264902541101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4957579264902541101.key) 18:57:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:10 + git semver push 18:57:10 2023-07-19 18:57:10,577 [run_push] DEBUG push 18:57:10 2023-07-19 18:57:10,578 [execute] INFO git cat-file --batch-check 18:57:10 2023-07-19 18:57:10,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:10 2023-07-19 18:57:10,583 [execute] INFO git rev-list 80d1ba3a63b601aea75225d9a90430bcd4a0acaf -- 18:57:10 2023-07-19 18:57:10,584 [execute] DEBUG Popen(['git', 'rev-list', '80d1ba3a63b601aea75225d9a90430bcd4a0acaf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:10 2023-07-19 18:57:10,598 [execute] INFO git fetch -v origin 18:57:10 2023-07-19 18:57:10,598 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:57:11 2023-07-19 18:57:11,062 [run_push] DEBUG no remote changes detected 18:57:11 2023-07-19 18:57:11,063 [execute] INFO git push origin semver 18:57:11 2023-07-19 18:57:11,063 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:12 2023-07-19 18:57:11,826 [run_push] DEBUG push all version tags 18:57:12 2023-07-19 18:57:11,827 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:57:12 2023-07-19 18:57:11,827 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:57:13 2023-07-19 18:57:12,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:13 3.1.0-dev.7 [Pipeline] } 18:57:13 $ docker exec --env ******** --env ******** 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 ssh-agent -k 18:57:13 unset SSH_AUTH_SOCK; 18:57:13 unset SSH_AGENT_PID; 18:57:13 echo Agent pid 38 killed; 18:57:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:13 + git semver [Pipeline] } 18:57:13 $ docker stop --time=1 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 18:57:15 $ docker rm -f --volumes 0f5d3a21e720d0b203f150aa13af012320b1f7454dfb8fe63fe2cd9d43025ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:57:15 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:57:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:15 total 16 18:57:15 drwxr-xr-x 3 root root 4096 Jul 19 18:44 . 18:57:15 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:57 .. 18:57:15 drwxr-xr-x 2 root root 4096 Jul 19 18:44 cost 18:57:15 -rw-r--r-- 1 root root 85 Jul 19 18:44 cost.csv 18:57:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:15 total 16 18:57:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:44 . 18:57:15 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:57 .. 18:57:15 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:44 cost 18:57:15 -rw-r--r-- 1 jenkins jenkins 85 Jul 19 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> package-listing.sh 18:57:16 ++ facter osfamily 18:57:16 ++ tr '[:upper:]' '[:lower:]' 18:57:17 + OS_FAMILY=debian 18:57:17 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:57:17 + START_PACKAGES=/tmp/packages_start.txt 18:57:17 + END_PACKAGES=/tmp/packages_end.txt 18:57:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:17 + PACKAGES=/tmp/packages_start.txt 18:57:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:57:17 + PACKAGES=/tmp/packages_end.txt 18:57:17 + case "${OS_FAMILY}" in 18:57:17 + dpkg -l 18:57:17 + grep '^ii' 18:57:17 + '[' -f /tmp/packages_start.txt ']' 18:57:17 + '[' -f /tmp/packages_end.txt ']' 18:57:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:57:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:57:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:57:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:57:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:18 prd-ubuntu20.04-docker-8c-8g-1561 does not seem to be running inside a container 18:57:18 $ 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 18:57:18 $ docker top a12fe7e517a376318f22edce9114ea971dc850c9572214b98062e7e18f62305d -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:18 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:18 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:19 + ls /var/log/sa-host 18:57:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:19 provisioning config files... 18:57:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18311426096378070731tmp [Pipeline] { [Pipeline] echo 18:57:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:19 ---> create-netrc.sh [Pipeline] } 18:57:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:19 ---> python-tools-install.sh [Pipeline] echo 18:57:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:20 ---> sudo-logs.sh 18:57:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:20 ---> job-cost.sh 18:57:20 lf-activate-venv: SKIPPING 18:57:20 DEBUG: total: 0.2199999988079071 18:57:20 INFO: Retrieving Stack Cost... 18:57:20 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:21 INFO: Archiving Costs [Pipeline] echo 18:57:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:21 ---> logs-deploy.sh 18:57:21 lf-activate-venv: SKIPPING 18:57:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/235 18:57:21 INFO: archiving workspace using pattern(s): 18:57:22 Archives upload complete. 18:57:22 INFO: archiving logs to Nexus