Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d1a40f8b95de1d6d37730263f65300101497f92 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-ssh8057231374325196987.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-ssh13244381789288643386.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-ssh4804984885647144404.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-ssh8925498636509218346.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-ssh9161747801320165686.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-18466 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 2d1a40f8b95de1d6d37730263f65300101497f92 (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 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466)" > git rev-list --no-walk 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:17 ========================================================= 17:52:17 EdgeX Global Pipelines Version Info 17:52:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:17 ------------------- 17:52:17 stable info: 17:52:17 ------------------- 17:52:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:17 Message: update stable to v1.0.250 17:52:18 ------------------- 17:52:18 experimental info: 17:52:18 ------------------- 17:52:18 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:18 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:18 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d1a40f [Pipeline] echo 17:52:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:19 provisioning config files... 17:52:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6566802018649851132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:19 ---> docker-login.sh 17:52:19 nexus3.edgexfoundry.org:10001 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:19 Configure a credential helper to remove this warning. See 17:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:19 17:52:19 Login Succeeded 17:52:19 nexus3.edgexfoundry.org:10002 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:20 Configure a credential helper to remove this warning. See 17:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:20 17:52:20 Login Succeeded 17:52:20 nexus3.edgexfoundry.org:10003 17:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:20 Configure a credential helper to remove this warning. See 17:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:20 17:52:20 Login Succeeded 17:52:20 nexus3.edgexfoundry.org:10004 17:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:20 Configure a credential helper to remove this warning. See 17:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:20 17:52:20 Login Succeeded 17:52:20 docker.io 17:52:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:20 Configure a credential helper to remove this warning. See 17:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:20 17:52:20 Login Succeeded 17:52:20 ---> docker-login.sh ends [Pipeline] } 17:52:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:21 + git rev-list -1 --merges 2d1a40f8b95de1d6d37730263f65300101497f92~1..2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo 17:52:21 -----------> git rev-list -1 --merges 2d1a40f8b95de1d6d37730263f65300101497f92~1..2d1a40f8b95de1d6d37730263f65300101497f92 2d1a40f8b95de1d6d37730263f65300101497f92 [false] [Pipeline] sh 17:52:21 + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo 17:52:21 ========================================================= 17:52:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:21 + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo 17:52:21 [semverPrep] GIT_COMMIT: 2d1a40f8b95de1d6d37730263f65300101497f92, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466) [Pipeline] echo 17:52:21 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:22 + grep -v github /etc/ssh/ssh_known_hosts 17:52:22 + [ -e /tmp/ssh_known_hosts ] 17:52:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:22 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 17:52:22 tee -a /etc/ssh/ssh_known_hosts 17:52:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:22 17:52:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:22 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:22 b85a868b505f: Pulling fs layer 17:52:22 e2be974225ed: Pulling fs layer 17:52:22 339a4e72a1f5: Pulling fs layer 17:52:22 988bab9f4d93: Pulling fs layer 17:52:22 1469e6f7b9e6: Pulling fs layer 17:52:22 eaf3925da568: Pulling fs layer 17:52:22 bab4dde63d76: Pulling fs layer 17:52:22 bde34c3a00c8: Pulling fs layer 17:52:22 b352a97aabf1: Pulling fs layer 17:52:22 4872d77fe225: Pulling fs layer 17:52:22 5851b861e8e6: Pulling fs layer 17:52:22 1469e6f7b9e6: Waiting 17:52:22 b352a97aabf1: Waiting 17:52:22 eaf3925da568: Waiting 17:52:22 4872d77fe225: Waiting 17:52:22 5851b861e8e6: Waiting 17:52:22 bab4dde63d76: Waiting 17:52:22 e2be974225ed: Download complete 17:52:22 988bab9f4d93: Download complete 17:52:23 1469e6f7b9e6: Verifying Checksum 17:52:23 1469e6f7b9e6: Download complete 17:52:23 339a4e72a1f5: Verifying Checksum 17:52:23 339a4e72a1f5: Download complete 17:52:23 eaf3925da568: Download complete 17:52:23 bde34c3a00c8: Download complete 17:52:23 b352a97aabf1: Verifying Checksum 17:52:23 b352a97aabf1: Download complete 17:52:23 4872d77fe225: Verifying Checksum 17:52:23 4872d77fe225: Download complete 17:52:23 5851b861e8e6: Verifying Checksum 17:52:23 5851b861e8e6: Download complete 17:52:23 b85a868b505f: Verifying Checksum 17:52:23 b85a868b505f: Download complete 17:52:23 bab4dde63d76: Verifying Checksum 17:52:23 bab4dde63d76: Download complete 17:52:24 b85a868b505f: Pull complete 17:52:24 e2be974225ed: Pull complete 17:52:25 339a4e72a1f5: Pull complete 17:52:25 988bab9f4d93: Pull complete 17:52:25 1469e6f7b9e6: Pull complete 17:52:25 eaf3925da568: Pull complete 17:52:27 bab4dde63d76: Pull complete 17:52:27 bde34c3a00c8: Pull complete 17:52:27 b352a97aabf1: Pull complete 17:52:27 4872d77fe225: Pull complete 17:52:27 5851b861e8e6: Pull complete 17:52:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:27 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 17:52:27 $ 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 17:52:30 $ docker top 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 -eo pid,comm 17:52:30 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). 17:52:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:30 [ssh-agent] Looking for ssh-agent implementation... 17:52:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:30 $ docker exec 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent 17:52:30 SSH_AUTH_SOCK=/tmp/ssh-CuNQZgyvAYFj/agent.32 17:52:30 SSH_AGENT_PID=38 17:52:30 Running ssh-add (command line suppressed) 17:52:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6768944324592520140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6768944324592520140.key) 17:52:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:30 + git tag --points-at HEAD [Pipeline] } 17:52:30 $ docker exec --env ******** --env ******** 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent -k 17:52:30 unset SSH_AUTH_SOCK; 17:52:30 unset SSH_AGENT_PID; 17:52:30 echo Agent pid 38 killed; 17:52:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:30 [ssh-agent] Looking for ssh-agent implementation... 17:52:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:31 $ docker exec 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent 17:52:31 SSH_AUTH_SOCK=/tmp/ssh-C44xLwt43eud/agent.70 17:52:31 SSH_AGENT_PID=76 17:52:31 Running ssh-add (command line suppressed) 17:52:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9028606723441328361.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9028606723441328361.key) 17:52:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:31 + git semver init 17:52:31 2023-06-12 17:52:31,750 [run_init] DEBUG init version:0.0.0 force:False 17:52:31 2023-06-12 17:52:31,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:52:31 2023-06-12 17:52:31,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:52:31 2023-06-12 17:52:31,751 [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) 17:52:32 2023-06-12 17:52:32,658 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 17:52:32 2023-06-12 17:52:32,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 17:52:32 2023-06-12 17:52:32,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:52:32 2023-06-12 17:52:32,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:52:32 3.1.0-dev.1 [Pipeline] } 17:52:32 $ docker exec --env ******** --env ******** 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent -k 17:52:32 unset SSH_AUTH_SOCK; 17:52:32 unset SSH_AGENT_PID; 17:52:32 echo Agent pid 76 killed; 17:52:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:33 + git semver [Pipeline] } 17:52:33 $ docker stop --time=1 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 17:52:34 $ docker rm -f --volumes 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:35 Stashed 1 file(s) [Pipeline] echo 17:52:35 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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 17:52:35 provisioning config files... 17:52:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5360604281814213928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:35 ---> docker-login.sh 17:52:35 nexus3.edgexfoundry.org:10001 17:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 nexus3.edgexfoundry.org:10002 17:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 nexus3.edgexfoundry.org:10003 17:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:36 Configure a credential helper to remove this warning. See 17:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:36 17:52:36 Login Succeeded 17:52:36 nexus3.edgexfoundry.org:10004 17:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:36 Configure a credential helper to remove this warning. See 17:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:36 17:52:36 Login Succeeded 17:52:36 docker.io 17:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:36 Configure a credential helper to remove this warning. See 17:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:36 17:52:36 Login Succeeded 17:52:36 ---> docker-login.sh ends [Pipeline] } 17:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:36 ========================================================= 17:52:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:52:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:36 + 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 . 17:52:36 Sending build context to Docker daemon 10.87MB 17:52:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:52:36 Step 2/10 : FROM ${BASE} AS builder 17:52:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:36 f56be85fc22e: Pulling fs layer 17:52:36 85791d961cd3: Pulling fs layer 17:52:36 d694b5ae8c79: Pulling fs layer 17:52:36 9f32a84ed3da: Pulling fs layer 17:52:36 4d19c01a9841: Pulling fs layer 17:52:36 9325e15d5711: Pulling fs layer 17:52:36 556b6ee489ea: Pulling fs layer 17:52:36 c5a4b2cf53e6: Pulling fs layer 17:52:36 9f32a84ed3da: Waiting 17:52:36 4d19c01a9841: Waiting 17:52:36 9325e15d5711: Waiting 17:52:36 556b6ee489ea: Waiting 17:52:36 c5a4b2cf53e6: Waiting 17:52:37 85791d961cd3: Download complete 17:52:37 9f32a84ed3da: Verifying Checksum 17:52:37 9f32a84ed3da: Download complete 17:52:37 4d19c01a9841: Download complete 17:52:37 f56be85fc22e: Verifying Checksum 17:52:37 f56be85fc22e: Download complete 17:52:37 9325e15d5711: Verifying Checksum 17:52:37 9325e15d5711: Download complete 17:52:37 f56be85fc22e: Pull complete 17:52:37 85791d961cd3: Pull complete 17:52:37 d694b5ae8c79: Verifying Checksum 17:52:37 d694b5ae8c79: Download complete 17:52:37 c5a4b2cf53e6: Verifying Checksum 17:52:37 c5a4b2cf53e6: Download complete 17:52:37 556b6ee489ea: Verifying Checksum 17:52:37 556b6ee489ea: Download complete 17:52:41 d694b5ae8c79: Pull complete 17:52:41 9f32a84ed3da: Pull complete 17:52:41 4d19c01a9841: Pull complete 17:52:41 9325e15d5711: Pull complete 17:52:42 556b6ee489ea: Pull complete 17:52:43 c5a4b2cf53e6: Pull complete 17:52:43 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:52:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:52:43 ---> c4be618373d6 17:52:43 Step 3/10 : ARG MAKE=make build 17:52:48 ---> Running in 3a6ce4961d4a 17:52:48 Removing intermediate container 3a6ce4961d4a 17:52:48 ---> b5fdb5a5a924 17:52:48 Step 4/10 : WORKDIR /device-sdk-go 17:52:48 ---> Running in c2578b704098 17:52:48 Removing intermediate container c2578b704098 17:52:48 ---> 735b45846123 17:52:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:52:48 ---> Running in 70b5d40eddcc 17:52:48 Removing intermediate container 70b5d40eddcc 17:52:48 ---> 84e86f0ba1df 17:52:48 Step 6/10 : RUN apk add --update --no-cache make git 17:52:48 ---> Running in f9ed260b0234 17:52:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:52:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:52:48 OK: 265 MiB in 53 packages 17:52:48 Removing intermediate container f9ed260b0234 17:52:48 ---> 9c9f5eef25e4 17:52:48 Step 7/10 : COPY go.mod vendor* ./ 17:52:49 ---> 934265d90574 17:52:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:49 ---> Running in 87c781dfbade 17:52:50 Still waiting to schedule task 17:52:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:53:15 Removing intermediate container 87c781dfbade 17:53:15 ---> f111558125d2 17:53:15 Step 9/10 : COPY . . 17:53:15 ---> 4eb454602a7f 17:53:15 Step 10/10 : RUN ${MAKE} 17:53:15 ---> Running in f6c07e6157b4 17:53:15 noop 17:53:15 Removing intermediate container f6c07e6157b4 17:53:15 ---> a7757d548847 17:53:15 Successfully built a7757d548847 17:53:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:15 + docker inspect -f . ci-base-image-x86_64 17:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:15 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 17:53: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 17:53:16 $ docker top 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:16 + go version 17:53:16 go version go1.20.2 linux/amd64 [Pipeline] } 17:53:16 $ docker stop --time=1 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 17:53:17 $ docker rm -f --volumes 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:18 + docker inspect -f . ci-base-image-x86_64 17:53:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:18 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 17:53: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 17:53:18 $ docker top c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 17:53:19 + make test 17:53:19 go test -race -coverprofile=coverage.out ./... 17:53:25 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:53:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.047s coverage: 80.2% of statements 17:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s coverage: 86.0% of statements 17:53:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:53:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:53:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 77.5% of statements 17:53:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:53:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:53:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.089s coverage: 14.3% of statements 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 68.5% of statements 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements 17:54:06 GO111MODULE=on go vet ./... 17:54:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:09 $ docker stop --time=1 c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b 17:54:12 $ docker rm -f --volumes c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b [Pipeline] // withDockerContainer [Pipeline] sh 17:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:13 + ls -al . 17:54:13 total 284 17:54:13 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:53 . 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 .. 17:54:13 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:52 .dockerignore 17:54:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:52 .git 17:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 .github 17:54:13 -rw-rw-r-- 1 jenkins jenkins 137 Jun 12 17:52 .gitignore 17:54:13 -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:52 .golangci.yml 17:54:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:52 .semver 17:54:13 -rw-rw-r-- 1 jenkins jenkins 44878 Jun 12 17:52 CHANGELOG.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:52 GOVERNANCE.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 885 Jun 12 17:52 Jenkinsfile 17:54:13 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 12 17:52 LICENSE 17:54:13 -rw-rw-r-- 1 jenkins jenkins 1714 Jun 12 17:52 Makefile 17:54:13 -rw-rw-r-- 1 jenkins jenkins 619 Jun 12 17:52 OWNERS.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 4933 Jun 12 17:52 README.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION 17:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 bin 17:54:13 -rw-r--r-- 1 jenkins jenkins 106150 Jun 12 17:53 coverage.out 17:54:13 drwxrwxr-x 5 jenkins jenkins 4096 Jun 12 17:52 example 17:54:13 -rw-rw-r-- 1 jenkins jenkins 3193 Jun 12 17:52 go.mod 17:54:13 -rw-rw-r-- 1 jenkins jenkins 30789 Jun 12 17:52 go.sum 17:54:13 drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 17:52 internal 17:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 openapi 17:54:13 drwxrwxr-x 6 jenkins jenkins 4096 Jun 12 17:52 pkg 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 snap 17:54:13 -rw-rw-r-- 1 jenkins jenkins 222 Jun 12 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:14 + 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=2d1a40f8b95de1d6d37730263f65300101497f92 --label arch=amd64 --label version=3.1.0-dev.1 . 17:54:14 Sending build context to Docker daemon 10.98MB 17:54:14 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 17:54:14 Step 2/23 : FROM ${BASE} AS builder 17:54:14 ---> a7757d548847 17:54:14 Step 3/23 : ARG MAKE=make build 17:54:14 ---> Running in 180dd7bf4520 17:54:14 Removing intermediate container 180dd7bf4520 17:54:14 ---> 998950af6e36 17:54:14 Step 4/23 : WORKDIR /device-sdk-go 17:54:14 ---> Running in d03071cfdd9c 17:54:14 Removing intermediate container d03071cfdd9c 17:54:14 ---> 2e8b7c2a4cc4 17:54:14 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:54:14 ---> Running in fd6f6b4faaa5 17:54:14 Removing intermediate container fd6f6b4faaa5 17:54:14 ---> 8695fe7cf299 17:54:14 Step 6/23 : RUN apk add --update --no-cache make git 17:54:14 ---> Running in 676a859f9005 17:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:15 OK: 265 MiB in 53 packages 17:54:15 Removing intermediate container 676a859f9005 17:54:15 ---> 0fd22c7a2978 17:54:15 Step 7/23 : COPY go.mod vendor* ./ 17:54:15 ---> d31454195a00 17:54:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:15 ---> Running in b2556d7dadf2 17:54:16 Removing intermediate container b2556d7dadf2 17:54:16 ---> ee31377cbd2e 17:54:16 Step 9/23 : COPY . . 17:54:16 ---> 953039ebd626 17:54:16 Step 10/23 : RUN ${MAKE} 17:54:16 ---> Running in e76b3346d8b4 17:54:17 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:54:39 Removing intermediate container e76b3346d8b4 17:54:39 ---> bab61a823d4f 17:54:39 Step 11/23 : FROM alpine:3.17 17:54:39 3.17: Pulling from library/alpine 17:54:39 f56be85fc22e: Already exists 17:54:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:54:39 Status: Downloaded newer image for alpine:3.17 17:54:39 ---> 9ed4aefc74f6 17:54:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:54:39 ---> Running in 232d04140fc4 17:54:39 Removing intermediate container 232d04140fc4 17:54:39 ---> b373c450dc01 17:54:39 Step 13/23 : RUN apk add --update --no-cache 17:54:39 ---> Running in eb4b53be479e 17:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:39 OK: 7 MiB in 15 packages 17:54:39 Removing intermediate container eb4b53be479e 17:54:39 ---> 9cf5bbd47f91 17:54:39 Step 14/23 : WORKDIR / 17:54:39 ---> Running in 009e162db11a 17:54:39 Removing intermediate container 009e162db11a 17:54:39 ---> fa3db4956fe5 17:54:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:54:39 ---> 7fd0dc937476 17:54:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:54:39 ---> 8be85b5413bc 17:54:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:54:39 ---> d5d186dbb4db 17:54:39 Step 18/23 : EXPOSE 59999 17:54:39 ---> Running in 0db2d1007148 17:54:39 Removing intermediate container 0db2d1007148 17:54:39 ---> 16635ac0971d 17:54:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:54:39 ---> Running in 1c7a9f4e0ad8 17:54:39 Removing intermediate container 1c7a9f4e0ad8 17:54:39 ---> 55c1a7e97e92 17:54:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:54:39 ---> Running in b248e3f29c09 17:54:39 Removing intermediate container b248e3f29c09 17:54:39 ---> 5c3640e091b9 17:54:39 Step 21/23 : LABEL arch=amd64 17:54:40 ---> Running in 5cafe4bd12a7 17:54:40 Removing intermediate container 5cafe4bd12a7 17:54:40 ---> f1834353dad4 17:54:40 Step 22/23 : LABEL git_sha=2d1a40f8b95de1d6d37730263f65300101497f92 17:54:40 ---> Running in 617eb7813d13 17:54:40 Removing intermediate container 617eb7813d13 17:54:40 ---> d5a229e27def 17:54:40 Step 23/23 : LABEL version=3.1.0-dev.1 17:54:40 ---> Running in deacad329812 17:54:40 Removing intermediate container deacad329812 17:54:40 ---> 715a303145ee 17:54:40 [Warning] One or more build-args [ARCH] were not consumed 17:54:40 Successfully built 715a303145ee 17:54:40 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 17:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:40 17:54:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:41 latest: Pulling from edgex-lftools-log-publisher 17:54:41 5eb5b503b376: Pulling fs layer 17:54:41 5c69ac0246d0: Pulling fs layer 17:54:41 ec43610c2a17: Pulling fs layer 17:54:41 3a2ae6a8a46f: Pulling fs layer 17:54:41 33b1e0a273af: Pulling fs layer 17:54:41 5d3b04190fa2: Pulling fs layer 17:54:41 2f39f015ded8: Pulling fs layer 17:54:41 2f39f015ded8: Waiting 17:54:41 33b1e0a273af: Waiting 17:54:41 5d3b04190fa2: Waiting 17:54:41 3a2ae6a8a46f: Waiting 17:54:41 5c69ac0246d0: Download complete 17:54:41 3a2ae6a8a46f: Verifying Checksum 17:54:41 3a2ae6a8a46f: Download complete 17:54:41 ec43610c2a17: Verifying Checksum 17:54:41 ec43610c2a17: Download complete 17:54:41 33b1e0a273af: Verifying Checksum 17:54:41 33b1e0a273af: Download complete 17:54:41 5d3b04190fa2: Verifying Checksum 17:54:41 5d3b04190fa2: Download complete 17:54:41 5eb5b503b376: Download complete 17:54:41 2f39f015ded8: Verifying Checksum 17:54:42 5eb5b503b376: Pull complete 17:54:42 5c69ac0246d0: Pull complete 17:54:43 ec43610c2a17: Pull complete 17:54:43 3a2ae6a8a46f: Pull complete 17:54:43 33b1e0a273af: Pull complete 17:54:43 5d3b04190fa2: Pull complete 17:54:48 2f39f015ded8: Pull complete 17:54:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:48 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 17:54:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 17:54:51 $ docker top 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:52 ---> job-cost.sh 17:54:52 lf-activate-venv: SKIPPING 17:54:52 INFO: No Stack... 17:54:52 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:52 INFO: Archiving Costs [Pipeline] sh 17:54:53 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv+ 17:54:53 cut -d, -f6 [Pipeline] lock 17:54:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] 17:54:53 Resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] did not exist. Created. 17:54:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:53 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:53 Stashed 1 file(s) [Pipeline] } 17:54:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:53 $ docker stop --time=1 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a 17:54:54 $ docker rm -f --volumes 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:55:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18471 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 17:55:28 Running in /w/workspace/device-sdk-go/230 [Pipeline] { [Pipeline] checkout 17:55:28 The recommended git tool is: git 17:55:34 using credential edgex-jenkins-ssh 17:55:34 Cloning the remote Git repository 17:55:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:55:35 > git init /w/workspace/device-sdk-go/230 # timeout=10 17:55:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:55:35 > git --version # timeout=10 17:55:35 > git --version # 'git version 2.25.1' 17:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:55:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:55:38 Avoid second fetch 17:55:38 Checking out Revision 2d1a40f8b95de1d6d37730263f65300101497f92 (main) 17:55:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:55:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:55:38 > git config core.sparsecheckout # timeout=10 17:55:38 > git checkout -f 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 17:55:38 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:55:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:55:39 Dload Upload Total Spent Left Speed 17:55:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 17:55:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:55:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:55:40 + sudo tee /etc/docker/daemon.new 17:55:40 { 17:55:40 "registry-mirrors": [ 17:55:40 "https://nexus3.edgexfoundry.org:10001" 17:55:40 ], 17:55:40 "bip": "10.250.0.254/24", 17:55:40 "hosts": [ 17:55:40 "tcp://0.0.0.0:5555", 17:55:40 "unix:///var/run/docker.sock" 17:55:40 ], 17:55:40 "mtu": 1458, 17:55:40 "selinux-enabled": true, 17:55:40 "seccomp-profile": "/etc/docker/seccomp.json" 17:55:40 } [Pipeline] sh 17:55:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:55:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:59 provisioning config files... 17:55:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/230@tmp/config16686973987174141335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:00 ---> docker-login.sh 17:56:00 nexus3.edgexfoundry.org:10001 17:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:01 Configure a credential helper to remove this warning. See 17:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:01 17:56:01 Login Succeeded 17:56:01 nexus3.edgexfoundry.org:10002 17:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:01 Configure a credential helper to remove this warning. See 17:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:01 17:56:01 Login Succeeded 17:56:01 nexus3.edgexfoundry.org:10003 17:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:01 Configure a credential helper to remove this warning. See 17:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:01 17:56:01 Login Succeeded 17:56:01 nexus3.edgexfoundry.org:10004 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 docker.io 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 ---> docker-login.sh ends [Pipeline] } 17:56:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:03 ========================================================= 17:56:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:56:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:03 + 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 . 17:56:03 Sending build context to Docker daemon 5.786MB 17:56:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:56:04 Step 2/10 : FROM ${BASE} AS builder 17:56:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:56:04 c41833b44d91: Pulling fs layer 17:56:04 ed15518f5707: Pulling fs layer 17:56:04 feae8fd75edb: Pulling fs layer 17:56:04 242c74f7c9fa: Pulling fs layer 17:56:04 3cdef696dda3: Pulling fs layer 17:56:04 2ced38df9373: Pulling fs layer 17:56:04 58f1dce35555: Pulling fs layer 17:56:04 242c74f7c9fa: Waiting 17:56:04 3cdef696dda3: Waiting 17:56:04 58f1dce35555: Waiting 17:56:04 2ced38df9373: Waiting 17:56:04 ed15518f5707: Verifying Checksum 17:56:04 ed15518f5707: Download complete 17:56:04 242c74f7c9fa: Verifying Checksum 17:56:04 242c74f7c9fa: Download complete 17:56:04 3cdef696dda3: Verifying Checksum 17:56:04 3cdef696dda3: Download complete 17:56:04 c41833b44d91: Verifying Checksum 17:56:04 c41833b44d91: Download complete 17:56:05 c41833b44d91: Pull complete 17:56:05 58f1dce35555: Verifying Checksum 17:56:06 ed15518f5707: Pull complete 17:56:07 feae8fd75edb: Verifying Checksum 17:56:07 feae8fd75edb: Download complete 17:56:07 2ced38df9373: Verifying Checksum 17:56:07 2ced38df9373: Download complete 17:56:19 feae8fd75edb: Pull complete 17:56:19 242c74f7c9fa: Pull complete 17:56:19 3cdef696dda3: Pull complete 17:56:26 2ced38df9373: Pull complete 17:56:28 58f1dce35555: Pull complete 17:56:28 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:56:28 ---> fadd8f120f05 17:56:28 Step 3/10 : ARG MAKE=make build 17:56:31 ---> Running in 3065cbe6592c 17:56:31 Removing intermediate container 3065cbe6592c 17:56:31 ---> eea1870a2c33 17:56:31 Step 4/10 : WORKDIR /device-sdk-go 17:56:31 ---> Running in cde63da10cfc 17:56:31 Removing intermediate container cde63da10cfc 17:56:31 ---> 7b07e87622ba 17:56:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:56:31 ---> Running in 71dc3ad0d792 17:56:32 Removing intermediate container 71dc3ad0d792 17:56:32 ---> 0f6d4d0ed98b 17:56:32 Step 6/10 : RUN apk add --update --no-cache make git 17:56:32 ---> Running in c201321db68c 17:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:56:35 OK: 263 MiB in 53 packages 17:56:36 Removing intermediate container c201321db68c 17:56:36 ---> 42341265216a 17:56:36 Step 7/10 : COPY go.mod vendor* ./ 17:56:37 ---> fb03044ed146 17:56:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:37 ---> Running in 6a9d11cd4b9e 17:57:45 Removing intermediate container 6a9d11cd4b9e 17:57:45 ---> faaf32ea9c6f 17:57:45 Step 9/10 : COPY . . 17:57:45 ---> cfa8ccabfe8f 17:57:45 Step 10/10 : RUN ${MAKE} 17:57:45 ---> Running in ef85b215f389 17:57:45 noop 17:57:45 Removing intermediate container ef85b215f389 17:57:45 ---> 2f333892c516 17:57:45 Successfully built 2f333892c516 17:57:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:45 + docker inspect -f . ci-base-image-arm64 17:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:45 prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container 17:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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 17:57:47 $ docker top 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:48 + go version 17:57:48 go version go1.20.2 linux/arm64 [Pipeline] } 17:57:48 $ docker stop --time=1 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 17:57:49 $ docker rm -f --volumes 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:50 + docker inspect -f . ci-base-image-arm64 17:57:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:50 prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container 17:57:50 $ 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/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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 17:57:52 $ docker top 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:53 + git config --global --add safe.directory /w/workspace/device-sdk-go/230 [Pipeline] fileExists [Pipeline] sh 17:57:53 + make test 17:57:53 go test -race -coverprofile=coverage.out ./... 17:58:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:01:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements 18:01:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.288s coverage: 80.2% of statements 18:01:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:01:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:01:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.406s coverage: 86.0% of statements 18:01:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:01:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.522s coverage: 77.5% of statements 18:02:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:02:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:02:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:02:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 14.3% of statements 18:02:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.485s coverage: 68.5% of statements 18:02:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.508s coverage: 89.2% of statements 18:02:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:02:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.282s coverage: 5.7% of statements 18:02:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:02:14 GO111MODULE=on go vet ./... 18:05:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:05:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:05:06 ./bin/test-attribution-txt.sh [Pipeline] echo 18:05:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:05:06 $ docker stop --time=1 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 18:05:08 $ docker rm -f --volumes 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:10 Warning: overwriting stash ‘coverage-report’ 18:05:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:05:11 + ls -al . 18:05:11 total 280 18:05:11 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:57 . 18:05:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:55 .. 18:05:11 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:55 .dockerignore 18:05:11 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:55 .git 18:05:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:55 .github 18:05:11 -rw-rw-r-- 1 jenkins jenkins 137 Jun 12 17:55 .gitignore 18:05:11 -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:55 .golangci.yml 18:05:11 -rw-rw-r-- 1 jenkins jenkins 44878 Jun 12 17:55 CHANGELOG.md 18:05:11 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:55 GOVERNANCE.md 18:05:11 -rw-rw-r-- 1 jenkins jenkins 885 Jun 12 17:55 Jenkinsfile 18:05:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 12 17:55 LICENSE 18:05:11 -rw-rw-r-- 1 jenkins jenkins 1714 Jun 12 17:55 Makefile 18:05:11 -rw-rw-r-- 1 jenkins jenkins 619 Jun 12 17:55 OWNERS.md 18:05:11 -rw-rw-r-- 1 jenkins jenkins 4933 Jun 12 17:55 README.md 18:05:11 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION 18:05:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:55 bin 18:05:11 -rw-r--r-- 1 jenkins jenkins 106150 Jun 12 18:02 coverage.out 18:05:11 drwxrwxr-x 5 jenkins jenkins 4096 Jun 12 17:55 example 18:05:11 -rw-rw-r-- 1 jenkins jenkins 3193 Jun 12 17:55 go.mod 18:05:11 -rw-rw-r-- 1 jenkins jenkins 30789 Jun 12 17:55 go.sum 18:05:11 drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 17:55 internal 18:05:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:55 openapi 18:05:11 drwxrwxr-x 6 jenkins jenkins 4096 Jun 12 17:55 pkg 18:05:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:55 snap 18:05:11 -rw-rw-r-- 1 jenkins jenkins 222 Jun 12 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:11 + 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=2d1a40f8b95de1d6d37730263f65300101497f92 --label arch=arm64 --label version=3.1.0-dev.1 . 18:05:12 Sending build context to Docker daemon 5.893MB 18:05:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:05:12 Step 2/23 : FROM ${BASE} AS builder 18:05:12 ---> 2f333892c516 18:05:12 Step 3/23 : ARG MAKE=make build 18:05:12 ---> Running in 7be12fc890eb 18:05:12 Removing intermediate container 7be12fc890eb 18:05:12 ---> 0772315db8b9 18:05:12 Step 4/23 : WORKDIR /device-sdk-go 18:05:12 ---> Running in e0e02e0747e5 18:05:13 Removing intermediate container e0e02e0747e5 18:05:13 ---> 655783c9b929 18:05:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:05:13 ---> Running in d5c9e871f9bb 18:05:13 Removing intermediate container d5c9e871f9bb 18:05:13 ---> 06e9b92756dd 18:05:13 Step 6/23 : RUN apk add --update --no-cache make git 18:05:13 ---> Running in edad5b4600cb 18:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:05:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:05:16 OK: 263 MiB in 53 packages 18:05:17 Removing intermediate container edad5b4600cb 18:05:17 ---> ce270315bece 18:05:17 Step 7/23 : COPY go.mod vendor* ./ 18:05:18 ---> d4b0e1e070f9 18:05:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:18 ---> Running in aae85b18d966 18:05:20 Removing intermediate container aae85b18d966 18:05:20 ---> 87c50774bdb2 18:05:20 Step 9/23 : COPY . . 18:05:22 ---> 22befe0709a1 18:05:22 Step 10/23 : RUN ${MAKE} 18:05:22 ---> Running in 06631d9312c0 18:05:23 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:07:45 Removing intermediate container 06631d9312c0 18:07:45 ---> 891b10f098fd 18:07:45 Step 11/23 : FROM alpine:3.17 18:07:45 3.17: Pulling from library/alpine 18:07:45 c41833b44d91: Already exists 18:07:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:07:45 Status: Downloaded newer image for alpine:3.17 18:07:45 ---> 51e60588ff2c 18:07:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:07:45 ---> Running in 85d8a72bd6f3 18:07:45 Removing intermediate container 85d8a72bd6f3 18:07:45 ---> 269537f778ae 18:07:45 Step 13/23 : RUN apk add --update --no-cache 18:07:45 ---> Running in 0e8c541b9762 18:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:07:48 OK: 7 MiB in 15 packages 18:07:48 Removing intermediate container 0e8c541b9762 18:07:48 ---> 42d47f1fbe96 18:07:48 Step 14/23 : WORKDIR / 18:07:48 ---> Running in 06917ef56c46 18:07:49 Removing intermediate container 06917ef56c46 18:07:49 ---> 3ee671703f74 18:07:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:07:49 ---> 745aab65364b 18:07:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:07:51 ---> 7db5fb771e8d 18:07:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:07:51 ---> de34cf17cc07 18:07:51 Step 18/23 : EXPOSE 59999 18:07:51 ---> Running in fe1ec5af23e5 18:07:51 Removing intermediate container fe1ec5af23e5 18:07:51 ---> a5fbb89e9ffe 18:07:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:07:51 ---> Running in 704616aaedd7 18:07:52 Removing intermediate container 704616aaedd7 18:07:52 ---> d9b9a67c7594 18:07:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:07:52 ---> Running in 302d1ae6074a 18:07:52 Removing intermediate container 302d1ae6074a 18:07:52 ---> 5f6e7f736393 18:07:52 Step 21/23 : LABEL arch=arm64 18:07:52 ---> Running in 81806479e1cf 18:07:53 Removing intermediate container 81806479e1cf 18:07:53 ---> 230cad2ebdd0 18:07:53 Step 22/23 : LABEL git_sha=2d1a40f8b95de1d6d37730263f65300101497f92 18:07:53 ---> Running in 054082af807c 18:07:53 Removing intermediate container 054082af807c 18:07:53 ---> 3dcc849baef0 18:07:53 Step 23/23 : LABEL version=3.1.0-dev.1 18:07:53 ---> Running in 96b7ddc371e2 18:07:53 Removing intermediate container 96b7ddc371e2 18:07:53 ---> 6503195fe7af 18:07:53 [Warning] One or more build-args [ARCH] were not consumed 18:07:53 Successfully built 6503195fe7af 18:07:53 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:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:54 18:07:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:54 arm64: Pulling from edgex-lftools-log-publisher 18:07:54 8998bd30e6a1: Pulling fs layer 18:07:54 04944245beec: Pulling fs layer 18:07:54 699f458cf7ca: Pulling fs layer 18:07:54 765212b225bb: Pulling fs layer 18:07:54 f23df028b6ca: Pulling fs layer 18:07:54 d65c8cfc05b1: Pulling fs layer 18:07:54 2437ff75d9bd: Pulling fs layer 18:07:54 765212b225bb: Waiting 18:07:54 f23df028b6ca: Waiting 18:07:54 d65c8cfc05b1: Waiting 18:07:54 2437ff75d9bd: Waiting 18:07:54 04944245beec: Verifying Checksum 18:07:54 04944245beec: Download complete 18:07:54 765212b225bb: Verifying Checksum 18:07:54 765212b225bb: Download complete 18:07:54 f23df028b6ca: Verifying Checksum 18:07:54 f23df028b6ca: Download complete 18:07:55 d65c8cfc05b1: Verifying Checksum 18:07:55 d65c8cfc05b1: Download complete 18:07:55 699f458cf7ca: Verifying Checksum 18:07:55 699f458cf7ca: Download complete 18:07:55 8998bd30e6a1: Download complete 18:07:58 2437ff75d9bd: Download complete 18:07:59 8998bd30e6a1: Pull complete 18:07:59 04944245beec: Pull complete 18:08:01 699f458cf7ca: Pull complete 18:08:01 765212b225bb: Pull complete 18:08:02 f23df028b6ca: Pull complete 18:08:02 d65c8cfc05b1: Pull complete 18:08:17 2437ff75d9bd: Pull complete 18:08:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:17 prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container 18:08:17 $ 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/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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:08:20 $ docker top 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:21 ---> job-cost.sh 18:08:21 lf-activate-venv: SKIPPING 18:08:21 INFO: No Stack... 18:08:22 INFO: Retrieving Pricing Info for: v3-standard-4 18:08:22 INFO: Archiving Costs [Pipeline] sh 18:08:23 + + cat /w/workspace/device-sdk-go/230/archives/cost.csvcut 18:08:23 -d, -f6 [Pipeline] lock 18:08:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] 18:08:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] did not exist. Created. 18:08:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:08:24 /w/workspace/device-sdk-go/230@tmp/durable-43d3e045/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:08:24 + echo total: 0.10999999940395355 [Pipeline] stash 18:08:24 Warning: overwriting stash ‘stack-cost’ 18:08:24 Stashed 1 file(s) [Pipeline] } 18:08:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } 18:08:24 $ docker stop --time=1 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f 18:08:25 $ docker rm -f --volumes 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f [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:08:26 provisioning config files... 18:08:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16524792034296617613tmp [Pipeline] { [Pipeline] sh 18:08:26 + set +x 18:08:26 + curl -s https://codecov.io/bash 18:08:26 + bash -s -- 18:08:26 18:08:26 _____ _ 18:08:26 / ____| | | 18:08:26 | | ___ __| | ___ ___ _____ __ 18:08:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:08:26 | |___| (_) | (_| | __/ (_| (_) \ V / 18:08:26 \_____\___/ \__,_|\___|\___\___/ \_/ 18:08:26 Bash-1.0.6 18:08:26 18:08:26 18:08:26 ==> git version 2.25.1 found 18:08:26 ==> 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:08:26 Release-Date: 2020-01-08 18:08:26 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:08:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:08:26 ==> Jenkins CI detected. 18:08:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:08:26 project root: . 18:08:26 --> token set from env 18:08:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:08:26 ==> Running gcov in . (disable via -X gcov) 18:08:26 ==> Python coveragepy not found 18:08:26 ==> Searching for coverage reports in: 18:08:26 + . 18:08:26 -> Found 1 reports 18:08:26 ==> Detecting git/mercurial file structure 18:08:26 ==> Reading reports 18:08:26 + ./coverage.out bytes=106150 18:08:26 ==> Appending adjustments 18:08:26 https://docs.codecov.io/docs/fixing-reports 18:08:27 + Found adjustments 18:08:27 ==> Gzipping contents 18:08:27 16K /tmp/codecov.RGEnXv.gz 18:08:27 ==> Uploading reports 18:08:27 url: https://codecov.io 18:08:27 query: branch=main&commit=2d1a40f8b95de1d6d37730263f65300101497f92&build=230&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F230%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:08:27 -> Pinging Codecov 18:08:27 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=2d1a40f8b95de1d6d37730263f65300101497f92&build=230&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F230%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:08:27 -> Uploading to 18:08:27 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7E55EF52A471D76F132DFD9A03CDDE97/2d1a40f8b95de1d6d37730263f65300101497f92/6f25543a-4a0e-4a84-b833-d70b91b3faf9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78872ec63427875644f35217c6af214b02de3ff739ca07ccb07bc8e8a40c2835 18:08:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:08:27 Dload Upload Total Spent Left Speed 18:08:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15152 0 0 100 15152 0 76140 --:--:-- --:--:-- --:--:-- 76140 18:08:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] } 18:08:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:08:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:08:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:08:27 18:08:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:08:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:08:28 df9b9388f04a: Pulling fs layer 18:08:28 52dc419b0ee2: Pulling fs layer 18:08:28 25bc292e5bac: Pulling fs layer 18:08:28 114826534d7a: Pulling fs layer 18:08:28 4657fd5d0bcf: Pulling fs layer 18:08:28 6ad1cebc031e: Pulling fs layer 18:08:28 8a3aa393b2d8: Pulling fs layer 18:08:28 4657fd5d0bcf: Waiting 18:08:28 6ad1cebc031e: Waiting 18:08:28 114826534d7a: Waiting 18:08:28 8a3aa393b2d8: Waiting 18:08:28 25bc292e5bac: Download complete 18:08:28 52dc419b0ee2: Verifying Checksum 18:08:28 52dc419b0ee2: Download complete 18:08:28 4657fd5d0bcf: Download complete 18:08:28 df9b9388f04a: Download complete 18:08:28 df9b9388f04a: Pull complete 18:08:28 6ad1cebc031e: Verifying Checksum 18:08:28 6ad1cebc031e: Download complete 18:08:28 52dc419b0ee2: Pull complete 18:08:28 25bc292e5bac: Pull complete 18:08:29 114826534d7a: Verifying Checksum 18:08:29 114826534d7a: Download complete 18:08:29 8a3aa393b2d8: Verifying Checksum 18:08:29 8a3aa393b2d8: Download complete 18:08:32 114826534d7a: Pull complete 18:08:32 4657fd5d0bcf: Pull complete 18:08:32 6ad1cebc031e: Pull complete 18:08:35 8a3aa393b2d8: Pull complete 18:08:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:08:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:35 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:08:35 $ 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:08:38 $ docker top 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe -eo pid,comm [Pipeline] { [Pipeline] echo 18:08:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:08:38 + set -o pipefail 18:08:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:08:42 18:08:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:08:42 18:08:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c4412271-1444-49ec-ae0c-021449b847e6 18:08:42 18:08:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:08:42 18:08:42 18:08:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:08:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:08:42 More details here: https://snyk.co/ue1NS 18:08:42 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:08:42 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:08:42 $ docker stop --time=1 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe 18:08:45 $ docker rm -f --volumes 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe [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:08:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:46 provisioning config files... 18:08:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11078594926829825472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:46 --> edgex-publish-swagger.sh 18:08:46 === Publish openapi/v3 API === 18:08:46 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:08:46 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:08:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:08:46 Dload Upload Total Spent Left Speed 18:08:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 110k --:--:-- --:--:-- --:--:-- 110k 100 23674 0 0 100 23674 0 40537 --:--:-- --:--:-- --:--:-- 40468 18:08:47 18:08:47 [Pipeline] } 18:08:47 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:08:47 + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] sh 18:08:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:48 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:08:48 $ docker top 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f -eo pid,comm 18:08:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:08:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:48 [ssh-agent] Looking for ssh-agent implementation... 18:08:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:48 $ docker exec 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f ssh-agent 18:08:49 SSH_AUTH_SOCK=/tmp/ssh-XEyv3h8B5R8Q/agent.33 18:08:49 SSH_AGENT_PID=39 18:08:49 Running ssh-add (command line suppressed) 18:08:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3419981305379903941.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3419981305379903941.key) 18:08:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:49 + git semver tag 18:08:49 2023-06-12 18:08:49,677 [run_tag] DEBUG tag force:False 18:08:49 2023-06-12 18:08:49,677 [check_head_tag] DEBUG check head tag 18:08:49 2023-06-12 18:08:49,678 [execute] INFO git cat-file --batch-check 18:08:49 2023-06-12 18:08:49,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:08:49 2023-06-12 18:08:49,682 [execute] INFO git cat-file --batch 18:08:49 2023-06-12 18:08:49,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:08:49 2023-06-12 18:08:49,691 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:08:49 2023-06-12 18:08:49,691 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 18:08:49 2023-06-12 18:08:49,692 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:08:49 2023-06-12 18:08:49,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:08:49 3.1.0-dev.1 [Pipeline] } 18:08:49 $ docker exec --env ******** --env ******** 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f ssh-agent -k 18:08:49 unset SSH_AUTH_SOCK; 18:08:49 unset SSH_AGENT_PID; 18:08:49 echo Agent pid 39 killed; 18:08:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:50 + git semver [Pipeline] } 18:08:50 $ docker stop --time=1 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f 18:08:51 $ docker rm -f --volumes 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:08:52 18:08:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:08:52 0.23.1-centos7: Pulling from edgex-lftools 18:08:52 ab5ef0e58194: Pulling fs layer 18:08:52 9712f1f96733: Pulling fs layer 18:08:52 63f879dbbcfc: Pulling fs layer 18:08:52 0d9ebad4ef96: Pulling fs layer 18:08:52 e9a5061849ea: Pulling fs layer 18:08:52 d747dcd14b5f: Pulling fs layer 18:08:52 2de7ff778b66: Pulling fs layer 18:08:52 d747dcd14b5f: Waiting 18:08:52 2de7ff778b66: Waiting 18:08:52 e9a5061849ea: Waiting 18:08:52 0d9ebad4ef96: Waiting 18:08:52 9712f1f96733: Verifying Checksum 18:08:52 9712f1f96733: Download complete 18:08:52 63f879dbbcfc: Verifying Checksum 18:08:52 63f879dbbcfc: Download complete 18:08:52 e9a5061849ea: Verifying Checksum 18:08:52 e9a5061849ea: Download complete 18:08:52 d747dcd14b5f: Verifying Checksum 18:08:52 d747dcd14b5f: Download complete 18:08:52 0d9ebad4ef96: Verifying Checksum 18:08:52 0d9ebad4ef96: Download complete 18:08:52 ab5ef0e58194: Verifying Checksum 18:08:52 ab5ef0e58194: Download complete 18:08:52 2de7ff778b66: Verifying Checksum 18:08:52 2de7ff778b66: Download complete 18:08:56 ab5ef0e58194: Pull complete 18:08:56 9712f1f96733: Pull complete 18:08:56 63f879dbbcfc: Pull complete 18:09:00 0d9ebad4ef96: Pull complete 18:09:00 e9a5061849ea: Pull complete 18:09:00 d747dcd14b5f: Pull complete 18:09:02 2de7ff778b66: Pull complete 18:09:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:09:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:02 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:09:05 $ docker top e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:09:05 provisioning config files... 18:09:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config982812529493694831tmp 18:09:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12687880460943341881tmp 18:09:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13440600509950606340tmp [Pipeline] { [Pipeline] echo 18:09:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:09:06 ---> sigul-configuration.sh 18:09:06 gpg: directory `/root/.gnupg' created 18:09:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:09:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:09:06 gpg: keyring `/root/.gnupg/secring.gpg' created 18:09:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:09:06 gpg: CAST5 encrypted data 18:09:06 gpg: encrypted with 1 passphrase 18:09:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:09:06 + mkdir /home/jenkins 18:09:06 + mkdir /home/jenkins/sigul [Pipeline] sh 18:09:06 + 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:09:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:09:07 ---> sigul-install.sh 18:09:07 Sigul already installed; skipping installation. [Pipeline] sh 18:09:07 + git tag --list 18:09:07 0.7.1 18:09:07 delhi-tag 18:09:07 v1.0.0 18:09:07 v1.1.0 18:09:07 v1.1.1 18:09:07 v1.1.2 18:09:07 v1.2.0 18:09:07 v1.2.1 18:09:07 v1.2.2 18:09:07 v1.2.3 18:09:07 v1.3.0 18:09:07 v1.4.0 18:09:07 v2.0.0 18:09:07 v2.1.0 18:09:07 v2.1.1 18:09:07 v2.2.0 18:09:07 v2.3.0 18:09:07 v2.3.1 18:09:07 v3.0 18:09:07 v3.0.0 18:09:07 v3.0.1-dev.1 18:09:07 v3.1.0-dev.1 [Pipeline] sh 18:09:07 + lftools sign git-tag v3.1.0-dev.1 18:09:08 Signing Git tag with Sigul... 18:09:08 Signing v3.1.0-dev.1 [Pipeline] echo 18:09:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:09:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:09:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:09:08 $ docker stop --time=1 e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 18:09:10 $ docker rm -f --volumes e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:09:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:09:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:10 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:09:10 $ 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:09:11 $ docker top 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 -eo pid,comm 18:09:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:09:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:11 [ssh-agent] Looking for ssh-agent implementation... 18:09:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:11 $ docker exec 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 ssh-agent 18:09:11 SSH_AUTH_SOCK=/tmp/ssh-uEFGN0iup9pY/agent.34 18:09:11 SSH_AGENT_PID=40 18:09:11 Running ssh-add (command line suppressed) 18:09:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11198971258719886798.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11198971258719886798.key) 18:09:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:12 + git semver bump pre 18:09:12 2023-06-12 18:09:12,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:09:12 2023-06-12 18:09:12,212 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev 18:09:12 2023-06-12 18:09:12,212 [bump_version] DEBUG bumped version:3.1.0-dev.2 18:09:12 2023-06-12 18:09:12,212 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:09:12 2023-06-12 18:09:12,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:09:12 2023-06-12 18:09:12,212 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:09:12 2023-06-12 18:09:12,214 [execute] INFO git cat-file --batch-check 18:09:12 2023-06-12 18:09:12,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:09:12 2023-06-12 18:09:12,219 [execute] INFO git cat-file --batch 18:09:12 2023-06-12 18:09:12,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:09:12 2023-06-12 18:09:12,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:09:12 3.1.0-dev.2 [Pipeline] } 18:09:12 $ docker exec --env ******** --env ******** 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 ssh-agent -k 18:09:12 unset SSH_AUTH_SOCK; 18:09:12 unset SSH_AGENT_PID; 18:09:12 echo Agent pid 40 killed; 18:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:12 + git semver [Pipeline] } 18:09:12 $ docker stop --time=1 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 18:09:14 $ docker rm -f --volumes 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:09:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:14 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:09:14 $ 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:09:15 $ docker top 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:15 [ssh-agent] Looking for ssh-agent implementation... 18:09:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:15 $ docker exec 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 ssh-agent 18:09:15 SSH_AUTH_SOCK=/tmp/ssh-OneauvTOOW6e/agent.32 18:09:15 SSH_AGENT_PID=38 18:09:15 Running ssh-add (command line suppressed) 18:09:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_690582519338911825.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_690582519338911825.key) 18:09:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:16 + git semver push 18:09:16 2023-06-12 18:09:16,223 [run_push] DEBUG push 18:09:16 2023-06-12 18:09:16,224 [execute] INFO git cat-file --batch-check 18:09:16 2023-06-12 18:09:16,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:09:16 2023-06-12 18:09:16,228 [execute] INFO git rev-list bc699c1aa7d41db2d68a4dca0d6309a334418be8 -- 18:09:16 2023-06-12 18:09:16,228 [execute] DEBUG Popen(['git', 'rev-list', 'bc699c1aa7d41db2d68a4dca0d6309a334418be8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:09:16 2023-06-12 18:09:16,242 [execute] INFO git fetch -v origin 18:09:16 2023-06-12 18:09:16,242 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:09:16 2023-06-12 18:09:16,700 [run_push] DEBUG no remote changes detected 18:09:16 2023-06-12 18:09:16,700 [execute] INFO git push origin semver 18:09:16 2023-06-12 18:09:16,701 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:09:17 2023-06-12 18:09:17,483 [run_push] DEBUG push all version tags 18:09:17 2023-06-12 18:09:17,485 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:09:17 2023-06-12 18:09:17,486 [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:09:18 2023-06-12 18:09:18,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:09:18 3.1.0-dev.2 [Pipeline] } 18:09:18 $ docker exec --env ******** --env ******** 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 ssh-agent -k 18:09:18 unset SSH_AUTH_SOCK; 18:09:18 unset SSH_AGENT_PID; 18:09:18 echo Agent pid 38 killed; 18:09:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:18 + git semver [Pipeline] } 18:09:19 $ docker stop --time=1 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 18:09:20 $ docker rm -f --volumes 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 [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:09:20 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:09:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:09:20 total 16 18:09:20 drwxr-xr-x 3 root root 4096 Jun 12 17:54 . 18:09:20 drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 18:09 .. 18:09:20 drwxr-xr-x 2 root root 4096 Jun 12 17:54 cost 18:09:20 -rw-r--r-- 1 root root 85 Jun 12 17:54 cost.csv 18:09:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:09:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:09:20 total 16 18:09:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:54 . 18:09:20 drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 18:09 .. 18:09:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:54 cost 18:09:20 -rw-r--r-- 1 jenkins jenkins 85 Jun 12 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:09:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:09:22 ---> package-listing.sh 18:09:22 ++ facter osfamily 18:09:22 ++ tr '[:upper:]' '[:lower:]' 18:09:22 + OS_FAMILY=debian 18:09:22 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:09:22 + START_PACKAGES=/tmp/packages_start.txt 18:09:22 + END_PACKAGES=/tmp/packages_end.txt 18:09:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:09:22 + PACKAGES=/tmp/packages_start.txt 18:09:22 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:09:22 + PACKAGES=/tmp/packages_end.txt 18:09:22 + case "${OS_FAMILY}" in 18:09:22 + dpkg -l 18:09:22 + grep '^ii' 18:09:22 + '[' -f /tmp/packages_start.txt ']' 18:09:22 + '[' -f /tmp/packages_end.txt ']' 18:09:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:09:22 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:09:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:09:22 + 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:09:22 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:09:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:23 prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container 18:09:23 $ 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:09:23 $ docker top ba4e55e7644d31388a0a123fa0d83ebbc455670b0f29d8fa789dc3fac6c8d20a -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:23 + touch /tmp/pre-build-complete [Pipeline] sh 18:09:24 + mkdir -p /var/log/sysstat [Pipeline] sh 18:09:24 + ls /var/log/sa-host 18:09:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:24 provisioning config files... 18:09:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1589712806888324354tmp [Pipeline] { [Pipeline] echo 18:09:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:09:24 ---> create-netrc.sh [Pipeline] } 18:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:09:25 ---> python-tools-install.sh [Pipeline] echo 18:09:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:09:25 ---> sudo-logs.sh 18:09:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:09:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:09:25 ---> job-cost.sh 18:09:25 lf-activate-venv: SKIPPING 18:09:25 DEBUG: total: 0.2199999988079071 18:09:25 INFO: Retrieving Stack Cost... 18:09:26 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:26 INFO: Archiving Costs [Pipeline] echo 18:09:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:09:26 ---> logs-deploy.sh 18:09:26 lf-activate-venv: SKIPPING 18:09:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/230 18:09:26 INFO: archiving workspace using pattern(s): 18:09:27 Archives upload complete. 18:09:27 INFO: archiving logs to Nexus