Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 64ca9b081847739b4160c0dc87966f6c81a47c16 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-ssh16444855944675726926.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5186447456244616614.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4221304033415011841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17898352813217830868.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-ssh7601822122133305162.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6565’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6567 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 64ca9b081847739b4160c0dc87966f6c81a47c16 (main) Commit message: "Merge pull request #1333 from judehung/contracts-issue-769" > 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-list --no-walk f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-18T08:00:14.318Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-18T08:00:14.380Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-18T08:00:14.396Z] ========================================================= [2023-02-18T08:00:14.396Z] EdgeX Global Pipelines Version Info [2023-02-18T08:00:14.396Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:00:15.098Z] ------------------- [2023-02-18T08:00:15.098Z] stable info: [2023-02-18T08:00:15.098Z] ------------------- [2023-02-18T08:00:15.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-18T08:00:15.098Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-18T08:00:15.098Z] Message: update stable to v1.0.244 [2023-02-18T08:00:15.669Z] ------------------- [2023-02-18T08:00:15.669Z] experimental info: [2023-02-18T08:00:15.669Z] ------------------- [2023-02-18T08:00:15.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-18T08:00:15.669Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-18T08:00:15.669Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-18T08:00:15.831Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-18T08:00:15.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-18T08:00:15.855Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-18T08:00:15.870Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-18T08:00:15.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-18T08:00:15.899Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-18T08:00:15.909Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-18T08:00:15.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-18T08:00:15.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-18T08:00:15.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-18T08:00:15.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-18T08:00:15.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-18T08:00:15.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-18T08:00:16.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-18T08:00:16.018Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-18T08:00:16.030Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T08:00:16.043Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T08:00:16.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T08:00:16.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-18T08:00:16.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-18T08:00:16.099Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-18T08:00:16.110Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-18T08:00:16.124Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-18T08:00:16.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-18T08:00:16.153Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-18T08:00:16.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-18T08:00:16.187Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-18T08:00:16.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-18T08:00:16.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-18T08:00:16.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-18T08:00:16.235Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] echo [2023-02-18T08:00:16.248Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64ca9b0 [Pipeline] echo [2023-02-18T08:00:16.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T08:00:16.300Z] provisioning config files... [2023-02-18T08:00:16.316Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7936474705916118299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:00:16.621Z] ---> docker-login.sh [2023-02-18T08:00:16.621Z] nexus3.edgexfoundry.org:10001 [2023-02-18T08:00:16.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:16.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:16.882Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:16.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:16.882Z] [2023-02-18T08:00:16.882Z] Login Succeeded [2023-02-18T08:00:16.882Z] nexus3.edgexfoundry.org:10002 [2023-02-18T08:00:17.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:17.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:17.143Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:17.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:17.143Z] [2023-02-18T08:00:17.143Z] Login Succeeded [2023-02-18T08:00:17.143Z] nexus3.edgexfoundry.org:10003 [2023-02-18T08:00:17.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:17.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:17.143Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:17.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:17.143Z] [2023-02-18T08:00:17.143Z] Login Succeeded [2023-02-18T08:00:17.143Z] nexus3.edgexfoundry.org:10004 [2023-02-18T08:00:17.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:17.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:17.403Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:17.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:17.404Z] [2023-02-18T08:00:17.404Z] Login Succeeded [2023-02-18T08:00:17.404Z] docker.io [2023-02-18T08:00:17.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:17.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:17.664Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:17.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:17.664Z] [2023-02-18T08:00:17.664Z] Login Succeeded [2023-02-18T08:00:17.664Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T08:00:17.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-18T08:00:18.077Z] + git rev-list -1 --merges 64ca9b081847739b4160c0dc87966f6c81a47c16~1..64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] echo [2023-02-18T08:00:18.123Z] -----------> git rev-list -1 --merges 64ca9b081847739b4160c0dc87966f6c81a47c16~1..64ca9b081847739b4160c0dc87966f6c81a47c16 64ca9b081847739b4160c0dc87966f6c81a47c16 [2023-02-18T08:00:18.123Z] 64ca9b081847739b4160c0dc87966f6c81a47c16 [false] [Pipeline] sh [2023-02-18T08:00:18.409Z] + git log --format=format:%s -1 64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] echo [2023-02-18T08:00:18.443Z] ========================================================= [2023-02-18T08:00:18.443Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-18T08:00:18.443Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-18T08:00:18.784Z] + git log --format=format:%s -1 64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] echo [2023-02-18T08:00:18.795Z] [semverPrep] GIT_COMMIT: 64ca9b081847739b4160c0dc87966f6c81a47c16, Commit Message: Merge pull request #1333 from judehung/contracts-issue-769 [Pipeline] echo [2023-02-18T08:00:18.806Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-18T08:00:19.176Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-18T08:00:19.176Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-18T08:00:19.176Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-18T08:00:19.176Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-18T08:00:19.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-18T08:00:19.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-18T08:00:19.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:00:20.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:00:20.167Z] [2023-02-18T08:00:20.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:00:20.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:00:20.476Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-18T08:00:20.476Z] b85a868b505f: Pulling fs layer [2023-02-18T08:00:20.476Z] e2be974225ed: Pulling fs layer [2023-02-18T08:00:20.476Z] 339a4e72a1f5: Pulling fs layer [2023-02-18T08:00:20.476Z] 988bab9f4d93: Pulling fs layer [2023-02-18T08:00:20.476Z] 1469e6f7b9e6: Pulling fs layer [2023-02-18T08:00:20.476Z] eaf3925da568: Pulling fs layer [2023-02-18T08:00:20.476Z] bab4dde63d76: Pulling fs layer [2023-02-18T08:00:20.476Z] bde34c3a00c8: Pulling fs layer [2023-02-18T08:00:20.476Z] b352a97aabf1: Pulling fs layer [2023-02-18T08:00:20.476Z] 4872d77fe225: Pulling fs layer [2023-02-18T08:00:20.476Z] 5851b861e8e6: Pulling fs layer [2023-02-18T08:00:20.476Z] eaf3925da568: Waiting [2023-02-18T08:00:20.476Z] bab4dde63d76: Waiting [2023-02-18T08:00:20.476Z] bde34c3a00c8: Waiting [2023-02-18T08:00:20.476Z] b352a97aabf1: Waiting [2023-02-18T08:00:20.476Z] 4872d77fe225: Waiting [2023-02-18T08:00:20.476Z] 5851b861e8e6: Waiting [2023-02-18T08:00:20.476Z] 988bab9f4d93: Waiting [2023-02-18T08:00:20.476Z] 1469e6f7b9e6: Waiting [2023-02-18T08:00:20.476Z] e2be974225ed: Download complete [2023-02-18T08:00:20.476Z] 988bab9f4d93: Download complete [2023-02-18T08:00:20.735Z] 339a4e72a1f5: Verifying Checksum [2023-02-18T08:00:20.735Z] 339a4e72a1f5: Download complete [2023-02-18T08:00:20.735Z] 1469e6f7b9e6: Verifying Checksum [2023-02-18T08:00:20.735Z] 1469e6f7b9e6: Download complete [2023-02-18T08:00:20.735Z] eaf3925da568: Verifying Checksum [2023-02-18T08:00:20.735Z] eaf3925da568: Download complete [2023-02-18T08:00:20.735Z] bde34c3a00c8: Download complete [2023-02-18T08:00:20.735Z] b352a97aabf1: Verifying Checksum [2023-02-18T08:00:20.735Z] b352a97aabf1: Download complete [2023-02-18T08:00:20.735Z] 4872d77fe225: Download complete [2023-02-18T08:00:20.735Z] 5851b861e8e6: Verifying Checksum [2023-02-18T08:00:20.735Z] 5851b861e8e6: Download complete [2023-02-18T08:00:20.735Z] b85a868b505f: Verifying Checksum [2023-02-18T08:00:20.735Z] b85a868b505f: Download complete [2023-02-18T08:00:21.301Z] bab4dde63d76: Verifying Checksum [2023-02-18T08:00:21.301Z] bab4dde63d76: Download complete [2023-02-18T08:00:22.238Z] b85a868b505f: Pull complete [2023-02-18T08:00:22.238Z] e2be974225ed: Pull complete [2023-02-18T08:00:22.808Z] 339a4e72a1f5: Pull complete [2023-02-18T08:00:22.808Z] 988bab9f4d93: Pull complete [2023-02-18T08:00:23.066Z] 1469e6f7b9e6: Pull complete [2023-02-18T08:00:23.067Z] eaf3925da568: Pull complete [2023-02-18T08:00:24.969Z] bab4dde63d76: Pull complete [2023-02-18T08:00:24.969Z] bde34c3a00c8: Pull complete [2023-02-18T08:00:25.228Z] b352a97aabf1: Pull complete [2023-02-18T08:00:25.228Z] 4872d77fe225: Pull complete [2023-02-18T08:00:25.488Z] 5851b861e8e6: Pull complete [2023-02-18T08:00:25.488Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-18T08:00:25.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:00:25.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:00:25.573Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:00:25.598Z] $ 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 [2023-02-18T08:00:27.319Z] $ docker top b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 -eo pid,comm [2023-02-18T08:00:27.379Z] 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). [2023-02-18T08:00:27.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-18T08:00:27.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T08:00:27.418Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T08:00:27.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T08:00:27.522Z] $ docker exec b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 ssh-agent [2023-02-18T08:00:27.635Z] SSH_AUTH_SOCK=/tmp/ssh-sa6dWwvGbPh9/agent.32 [2023-02-18T08:00:27.635Z] SSH_AGENT_PID=38 [2023-02-18T08:00:27.642Z] Running ssh-add (command line suppressed) [2023-02-18T08:00:27.735Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7759718122969246735.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7759718122969246735.key) [2023-02-18T08:00:27.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T08:00:28.039Z] + git tag --points-at HEAD [Pipeline] } [2023-02-18T08:00:28.051Z] $ docker exec --env ******** --env ******** b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 ssh-agent -k [2023-02-18T08:00:28.142Z] unset SSH_AUTH_SOCK; [2023-02-18T08:00:28.142Z] unset SSH_AGENT_PID; [2023-02-18T08:00:28.142Z] echo Agent pid 38 killed; [2023-02-18T08:00:28.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-18T08:00:28.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T08:00:28.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T08:00:28.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T08:00:28.276Z] $ docker exec b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 ssh-agent [2023-02-18T08:00:28.392Z] SSH_AUTH_SOCK=/tmp/ssh-V0mzRfp7kLQy/agent.70 [2023-02-18T08:00:28.392Z] SSH_AGENT_PID=76 [2023-02-18T08:00:28.396Z] Running ssh-add (command line suppressed) [2023-02-18T08:00:28.495Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16077704818466976538.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16077704818466976538.key) [2023-02-18T08:00:28.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T08:00:28.799Z] + git semver init [2023-02-18T08:00:29.059Z] 2023-02-18 08:00:28,956 [run_init] DEBUG init version:0.0.0 force:False [2023-02-18T08:00:29.059Z] 2023-02-18 08:00:28,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-02-18T08:00:29.059Z] 2023-02-18 08:00:28,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-02-18T08:00:29.059Z] 2023-02-18 08:00:28,958 [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) [2023-02-18T08:00:30.963Z] 2023-02-18 08:00:30,699 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-02-18T08:00:30.963Z] 2023-02-18 08:00:30,699 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-02-18T08:00:30.963Z] 2023-02-18 08:00:30,699 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:00:30.963Z] 2023-02-18 08:00:30,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:00:30.963Z] 3.0.0-dev.34 [Pipeline] } [2023-02-18T08:00:30.969Z] $ docker exec --env ******** --env ******** b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 ssh-agent -k [2023-02-18T08:00:31.064Z] unset SSH_AUTH_SOCK; [2023-02-18T08:00:31.065Z] unset SSH_AGENT_PID; [2023-02-18T08:00:31.065Z] echo Agent pid 76 killed; [2023-02-18T08:00:31.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-18T08:00:31.386Z] + git semver [Pipeline] } [2023-02-18T08:00:31.655Z] $ docker stop --time=1 b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 [2023-02-18T08:00:32.995Z] $ docker rm -f --volumes b6ae4817cd3db17fa8522d4043ecd6ce8432db5027088b5746f1366c1ecd8719 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T08:00:33.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-18T08:00:33.559Z] Stashed 1 file(s) [Pipeline] echo [2023-02-18T08:00:33.562Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.34 [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 [2023-02-18T08:00:33.724Z] provisioning config files... [2023-02-18T08:00:33.734Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6135916590355287120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:00:34.029Z] ---> docker-login.sh [2023-02-18T08:00:34.029Z] nexus3.edgexfoundry.org:10001 [2023-02-18T08:00:34.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:34.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:34.029Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:34.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:34.029Z] [2023-02-18T08:00:34.029Z] Login Succeeded [2023-02-18T08:00:34.029Z] nexus3.edgexfoundry.org:10002 [2023-02-18T08:00:34.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:34.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:34.029Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:34.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:34.029Z] [2023-02-18T08:00:34.029Z] Login Succeeded [2023-02-18T08:00:34.029Z] nexus3.edgexfoundry.org:10003 [2023-02-18T08:00:34.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:34.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:34.288Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:34.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:34.288Z] [2023-02-18T08:00:34.288Z] Login Succeeded [2023-02-18T08:00:34.288Z] nexus3.edgexfoundry.org:10004 [2023-02-18T08:00:34.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:34.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:34.288Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:34.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:34.288Z] [2023-02-18T08:00:34.288Z] Login Succeeded [2023-02-18T08:00:34.288Z] docker.io [2023-02-18T08:00:34.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:00:34.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:00:34.548Z] Configure a credential helper to remove this warning. See [2023-02-18T08:00:34.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:00:34.548Z] [2023-02-18T08:00:34.548Z] Login Succeeded [2023-02-18T08:00:34.548Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T08:00:34.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-18T08:00:34.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T08:00:34.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T08:00:34.638Z] ========================================================= [2023-02-18T08:00:34.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-18T08:00:34.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:00:34.946Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-18T08:00:34.946Z] Sending build context to Docker daemon 10.52MB [2023-02-18T08:00:34.946Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T08:00:34.946Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-18T08:00:34.946Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-18T08:00:34.946Z] 213ec9aee27d: Pulling fs layer [2023-02-18T08:00:34.946Z] 4583459ba037: Pulling fs layer [2023-02-18T08:00:34.946Z] 93c1e223e6f2: Pulling fs layer [2023-02-18T08:00:34.946Z] 53926ce57604: Pulling fs layer [2023-02-18T08:00:34.946Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-18T08:00:34.947Z] 22ff95d597cd: Pulling fs layer [2023-02-18T08:00:34.947Z] 12d6caf4c0d1: Pulling fs layer [2023-02-18T08:00:34.947Z] 96b7cbca73a9: Pulling fs layer [2023-02-18T08:00:34.947Z] a7acece74701: Pulling fs layer [2023-02-18T08:00:34.947Z] 22ff95d597cd: Waiting [2023-02-18T08:00:34.947Z] 12d6caf4c0d1: Waiting [2023-02-18T08:00:34.947Z] 96b7cbca73a9: Waiting [2023-02-18T08:00:34.947Z] a7acece74701: Waiting [2023-02-18T08:00:34.947Z] 53926ce57604: Waiting [2023-02-18T08:00:34.947Z] 21b2b0c7a3f4: Waiting [2023-02-18T08:00:34.947Z] 93c1e223e6f2: Verifying Checksum [2023-02-18T08:00:34.947Z] 93c1e223e6f2: Download complete [2023-02-18T08:00:35.212Z] 4583459ba037: Verifying Checksum [2023-02-18T08:00:35.212Z] 4583459ba037: Download complete [2023-02-18T08:00:35.212Z] 21b2b0c7a3f4: Download complete [2023-02-18T08:00:35.212Z] 22ff95d597cd: Verifying Checksum [2023-02-18T08:00:35.212Z] 22ff95d597cd: Download complete [2023-02-18T08:00:35.212Z] 213ec9aee27d: Verifying Checksum [2023-02-18T08:00:35.212Z] 213ec9aee27d: Download complete [2023-02-18T08:00:35.212Z] 12d6caf4c0d1: Download complete [2023-02-18T08:00:35.212Z] 213ec9aee27d: Pull complete [2023-02-18T08:00:35.475Z] 4583459ba037: Pull complete [2023-02-18T08:00:35.475Z] 93c1e223e6f2: Pull complete [2023-02-18T08:00:35.738Z] a7acece74701: Verifying Checksum [2023-02-18T08:00:35.738Z] a7acece74701: Download complete [2023-02-18T08:00:35.997Z] 96b7cbca73a9: Verifying Checksum [2023-02-18T08:00:35.997Z] 53926ce57604: Verifying Checksum [2023-02-18T08:00:35.997Z] 53926ce57604: Download complete [2023-02-18T08:00:40.185Z] 53926ce57604: Pull complete [2023-02-18T08:00:40.185Z] 21b2b0c7a3f4: Pull complete [2023-02-18T08:00:40.185Z] 22ff95d597cd: Pull complete [2023-02-18T08:00:40.185Z] 12d6caf4c0d1: Pull complete [2023-02-18T08:00:42.082Z] 96b7cbca73a9: Pull complete [2023-02-18T08:00:43.018Z] a7acece74701: Pull complete [2023-02-18T08:00:43.018Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-18T08:00:43.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-18T08:00:43.018Z] ---> db6d94c90886 [2023-02-18T08:00:43.018Z] Step 3/10 : ARG MAKE=make build [2023-02-18T08:00:45.558Z] ---> Running in 33c5cdee76a0 [2023-02-18T08:00:45.558Z] Removing intermediate container 33c5cdee76a0 [2023-02-18T08:00:45.558Z] ---> a023b994cdba [2023-02-18T08:00:45.558Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-18T08:00:45.558Z] ---> Running in 32556069a7d4 [2023-02-18T08:00:45.558Z] Removing intermediate container 32556069a7d4 [2023-02-18T08:00:45.558Z] ---> d32b6afdd0e1 [2023-02-18T08:00:45.558Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T08:00:45.558Z] ---> Running in 6770f7b38de6 [2023-02-18T08:00:45.558Z] Removing intermediate container 6770f7b38de6 [2023-02-18T08:00:45.558Z] ---> 9dbbfc0e9398 [2023-02-18T08:00:45.558Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-18T08:00:45.558Z] ---> Running in db9526bb43e5 [2023-02-18T08:00:45.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T08:00:46.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T08:00:46.335Z] OK: 211 MiB in 51 packages [2023-02-18T08:00:46.595Z] Removing intermediate container db9526bb43e5 [2023-02-18T08:00:46.595Z] ---> 7b18d3a5abe3 [2023-02-18T08:00:46.595Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-18T08:00:46.854Z] ---> 3f1b567edf5b [2023-02-18T08:00:46.854Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T08:00:46.854Z] ---> Running in 96b48bc9af9c [2023-02-18T08:00:48.669Z] Still waiting to schedule task [2023-02-18T08:00:48.669Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6566’ is offline [2023-02-18T08:01:08.779Z] Removing intermediate container 96b48bc9af9c [2023-02-18T08:01:08.779Z] ---> 9c338bc97574 [2023-02-18T08:01:08.779Z] Step 9/10 : COPY . . [2023-02-18T08:01:08.779Z] ---> 307abd6518c6 [2023-02-18T08:01:08.779Z] Step 10/10 : RUN ${MAKE} [2023-02-18T08:01:08.779Z] ---> Running in 0881ed6e7774 [2023-02-18T08:01:08.779Z] noop [2023-02-18T08:01:08.779Z] Removing intermediate container 0881ed6e7774 [2023-02-18T08:01:08.779Z] ---> 00bf8ec240cc [2023-02-18T08:01:08.779Z] Successfully built 00bf8ec240cc [2023-02-18T08:01:08.779Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:01:09.090Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-18T08:01:09.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:01:09.155Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:01:09.178Z] $ 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 [2023-02-18T08:01:09.540Z] $ docker top 3b00904a3a9475634a23141247c6a9734dacd599565ba9933f16e6277f3b0176 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T08:01:09.873Z] + go version [2023-02-18T08:01:09.874Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-18T08:01:09.883Z] $ docker stop --time=1 3b00904a3a9475634a23141247c6a9734dacd599565ba9933f16e6277f3b0176 [2023-02-18T08:01:11.148Z] $ docker rm -f --volumes 3b00904a3a9475634a23141247c6a9734dacd599565ba9933f16e6277f3b0176 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:01:11.546Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-18T08:01:11.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:01:11.614Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:01:11.641Z] $ 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 [2023-02-18T08:01:11.980Z] $ docker top 145b6b00491a12455ab1b2e7fcc7749a1569fa5d88f3e49b07e84b78986b80e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T08:01:12.323Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-18T08:01:12.621Z] + make test [2023-02-18T08:01:12.621Z] go test -race -coverprofile=coverage.out ./... [2023-02-18T08:01:19.184Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-18T08:01:31.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-02-18T08:01:31.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 78.9% of statements [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-18T08:01:31.385Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.114s coverage: 86.0% of statements [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-18T08:01:31.385Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-18T08:01:31.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.0% of statements [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-18T08:01:31.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-18T08:01:31.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.736s coverage: 89.2% of statements [2023-02-18T08:01:31.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-18T08:01:31.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-18T08:01:31.906Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-18T08:01:46.781Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-18T08:01:46.781Z] GO111MODULE=on go vet ./... [2023-02-18T08:01:48.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-18T08:01:48.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-18T08:01:48.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-18T08:01:48.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-18T08:01:48.711Z] $ docker stop --time=1 145b6b00491a12455ab1b2e7fcc7749a1569fa5d88f3e49b07e84b78986b80e4 [2023-02-18T08:01:51.240Z] $ docker rm -f --volumes 145b6b00491a12455ab1b2e7fcc7749a1569fa5d88f3e49b07e84b78986b80e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T08:01:51.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-18T08:01:51.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-18T08:01:52.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-18T08:01:52.573Z] + ls -al . [2023-02-18T08:01:52.573Z] total 272 [2023-02-18T08:01:52.573Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 18 08:01 . [2023-02-18T08:01:52.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 08:00 .. [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 08:00 .dockerignore [2023-02-18T08:01:52.573Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 08:01 .git [2023-02-18T08:01:52.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 08:00 .github [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 18 08:00 .gitignore [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 18 08:00 .golangci.yml [2023-02-18T08:01:52.573Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 08:00 .semver [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 18 08:00 CHANGELOG.md [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 08:00 GOVERNANCE.md [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 18 08:00 Jenkinsfile [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 08:00 LICENSE [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 18 08:00 Makefile [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 18 08:00 OWNERS.md [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 18 08:00 README.md [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 18 08:00 VERSION [2023-02-18T08:01:52.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 08:00 bin [2023-02-18T08:01:52.573Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 18 08:01 coverage.out [2023-02-18T08:01:52.573Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 08:00 example [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 18 08:00 go.mod [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 18 08:00 go.sum [2023-02-18T08:01:52.573Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 08:00 internal [2023-02-18T08:01:52.573Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 08:00 openapi [2023-02-18T08:01:52.573Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 18 08:00 pkg [2023-02-18T08:01:52.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 08:00 snap [2023-02-18T08:01:52.573Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 08:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:01:52.876Z] + 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=64ca9b081847739b4160c0dc87966f6c81a47c16 --label arch=amd64 --label version=3.0.0-dev.34 . [2023-02-18T08:01:52.876Z] Sending build context to Docker daemon 10.62MB [2023-02-18T08:01:52.876Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T08:01:52.876Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-18T08:01:52.876Z] ---> 00bf8ec240cc [2023-02-18T08:01:52.876Z] Step 3/23 : ARG MAKE=make build [2023-02-18T08:01:53.136Z] ---> Running in 9dcc00c046cf [2023-02-18T08:01:53.136Z] Removing intermediate container 9dcc00c046cf [2023-02-18T08:01:53.136Z] ---> 4d9ff6b4bb13 [2023-02-18T08:01:53.136Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-18T08:01:53.136Z] ---> Running in 60954e0135e9 [2023-02-18T08:01:53.136Z] Removing intermediate container 60954e0135e9 [2023-02-18T08:01:53.136Z] ---> 4eb159ab60f9 [2023-02-18T08:01:53.136Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T08:01:53.136Z] ---> Running in 4b49da4bbf76 [2023-02-18T08:01:53.395Z] Removing intermediate container 4b49da4bbf76 [2023-02-18T08:01:53.395Z] ---> 4f2a2680193e [2023-02-18T08:01:53.395Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-18T08:01:53.395Z] ---> Running in fef0188fee09 [2023-02-18T08:01:53.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T08:01:53.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T08:01:54.487Z] OK: 211 MiB in 51 packages [2023-02-18T08:01:54.745Z] Removing intermediate container fef0188fee09 [2023-02-18T08:01:54.745Z] ---> 7c510652683f [2023-02-18T08:01:54.745Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-18T08:01:55.004Z] ---> 5a918ab3d4a5 [2023-02-18T08:01:55.004Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T08:01:55.004Z] ---> Running in dcf44e9bf42c [2023-02-18T08:01:55.939Z] Removing intermediate container dcf44e9bf42c [2023-02-18T08:01:55.939Z] ---> 538d2a05d68d [2023-02-18T08:01:55.939Z] Step 9/23 : COPY . . [2023-02-18T08:01:56.198Z] ---> 60511ae227f7 [2023-02-18T08:01:56.198Z] Step 10/23 : RUN ${MAKE} [2023-02-18T08:01:56.198Z] ---> Running in a82fad683599 [2023-02-18T08:01:56.455Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.34" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-18T08:02:14.529Z] Removing intermediate container a82fad683599 [2023-02-18T08:02:14.529Z] ---> e8ae87672ca1 [2023-02-18T08:02:14.529Z] Step 11/23 : FROM alpine:3.16 [2023-02-18T08:02:14.529Z] 3.16: Pulling from library/alpine [2023-02-18T08:02:14.529Z] ef5531b6e74e: Pulling fs layer [2023-02-18T08:02:14.529Z] ef5531b6e74e: Verifying Checksum [2023-02-18T08:02:14.529Z] ef5531b6e74e: Download complete [2023-02-18T08:02:14.529Z] ef5531b6e74e: Pull complete [2023-02-18T08:02:14.529Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-18T08:02:14.529Z] Status: Downloaded newer image for alpine:3.16 [2023-02-18T08:02:14.529Z] ---> dfd21b5a31f5 [2023-02-18T08:02:14.529Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-18T08:02:14.529Z] ---> Running in a39de6a62a3e [2023-02-18T08:02:14.529Z] Removing intermediate container a39de6a62a3e [2023-02-18T08:02:14.529Z] ---> d9192bafc3e6 [2023-02-18T08:02:14.529Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-18T08:02:14.529Z] ---> Running in 748dc5fb7fc9 [2023-02-18T08:02:14.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T08:02:14.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T08:02:14.787Z] OK: 6 MiB in 14 packages [2023-02-18T08:02:15.046Z] Removing intermediate container 748dc5fb7fc9 [2023-02-18T08:02:15.046Z] ---> fa86d79029d1 [2023-02-18T08:02:15.046Z] Step 14/23 : WORKDIR / [2023-02-18T08:02:15.305Z] ---> Running in da5503f0fe2d [2023-02-18T08:02:15.305Z] Removing intermediate container da5503f0fe2d [2023-02-18T08:02:15.305Z] ---> 3474fb73fdd9 [2023-02-18T08:02:15.305Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-18T08:02:15.305Z] ---> 7db50ddd69a1 [2023-02-18T08:02:15.305Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-18T08:02:15.888Z] ---> ed8a91f0dcec [2023-02-18T08:02:15.888Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-18T08:02:16.159Z] ---> 7962678a56b4 [2023-02-18T08:02:16.159Z] Step 18/23 : EXPOSE 59999 [2023-02-18T08:02:16.159Z] ---> Running in 01dd6382420e [2023-02-18T08:02:16.159Z] Removing intermediate container 01dd6382420e [2023-02-18T08:02:16.159Z] ---> e62298dbcedd [2023-02-18T08:02:16.159Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-18T08:02:16.456Z] ---> Running in b19d9c5f81f8 [2023-02-18T08:02:16.456Z] Removing intermediate container b19d9c5f81f8 [2023-02-18T08:02:16.456Z] ---> 1b4698ea6a68 [2023-02-18T08:02:16.456Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-18T08:02:16.456Z] ---> Running in b34b91fe5e24 [2023-02-18T08:02:16.456Z] Removing intermediate container b34b91fe5e24 [2023-02-18T08:02:16.456Z] ---> 7598188dda68 [2023-02-18T08:02:16.456Z] Step 21/23 : LABEL arch=amd64 [2023-02-18T08:02:16.762Z] ---> Running in 9ee49492227b [2023-02-18T08:02:16.762Z] Removing intermediate container 9ee49492227b [2023-02-18T08:02:16.762Z] ---> b1ac03e7054d [2023-02-18T08:02:16.762Z] Step 22/23 : LABEL git_sha=64ca9b081847739b4160c0dc87966f6c81a47c16 [2023-02-18T08:02:16.762Z] ---> Running in c0530c2fdae0 [2023-02-18T08:02:16.762Z] Removing intermediate container c0530c2fdae0 [2023-02-18T08:02:16.762Z] ---> 2ca657573bf8 [2023-02-18T08:02:16.762Z] Step 23/23 : LABEL version=3.0.0-dev.34 [2023-02-18T08:02:17.021Z] ---> Running in d9396560adbf [2023-02-18T08:02:17.021Z] Removing intermediate container d9396560adbf [2023-02-18T08:02:17.021Z] ---> 889a5f503ed6 [2023-02-18T08:02:17.021Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-18T08:02:17.021Z] Successfully built 889a5f503ed6 [2023-02-18T08:02:17.021Z] 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 [2023-02-18T08:02:17.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T08:02:17.454Z] [2023-02-18T08:02:17.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:02:17.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T08:02:17.760Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-18T08:02:17.760Z] 5eb5b503b376: Pulling fs layer [2023-02-18T08:02:17.760Z] 5c69ac0246d0: Pulling fs layer [2023-02-18T08:02:17.760Z] ec43610c2a17: Pulling fs layer [2023-02-18T08:02:17.760Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-18T08:02:17.760Z] 33b1e0a273af: Pulling fs layer [2023-02-18T08:02:17.760Z] 5d3b04190fa2: Pulling fs layer [2023-02-18T08:02:17.760Z] 2f39f015ded8: Pulling fs layer [2023-02-18T08:02:17.760Z] 3a2ae6a8a46f: Waiting [2023-02-18T08:02:17.760Z] 33b1e0a273af: Waiting [2023-02-18T08:02:17.760Z] 5d3b04190fa2: Waiting [2023-02-18T08:02:17.760Z] 2f39f015ded8: Waiting [2023-02-18T08:02:17.760Z] 5c69ac0246d0: Verifying Checksum [2023-02-18T08:02:17.760Z] 5c69ac0246d0: Download complete [2023-02-18T08:02:17.760Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-18T08:02:17.760Z] 3a2ae6a8a46f: Download complete [2023-02-18T08:02:18.020Z] 33b1e0a273af: Verifying Checksum [2023-02-18T08:02:18.020Z] 33b1e0a273af: Download complete [2023-02-18T08:02:18.020Z] 5d3b04190fa2: Download complete [2023-02-18T08:02:18.020Z] ec43610c2a17: Verifying Checksum [2023-02-18T08:02:18.020Z] ec43610c2a17: Download complete [2023-02-18T08:02:18.279Z] 5eb5b503b376: Download complete [2023-02-18T08:02:18.842Z] 2f39f015ded8: Verifying Checksum [2023-02-18T08:02:18.842Z] 2f39f015ded8: Download complete [2023-02-18T08:02:19.099Z] 5eb5b503b376: Pull complete [2023-02-18T08:02:19.356Z] 5c69ac0246d0: Pull complete [2023-02-18T08:02:19.614Z] ec43610c2a17: Pull complete [2023-02-18T08:02:19.872Z] 3a2ae6a8a46f: Pull complete [2023-02-18T08:02:19.872Z] 33b1e0a273af: Pull complete [2023-02-18T08:02:20.130Z] 5d3b04190fa2: Pull complete [2023-02-18T08:02:23.408Z] 2f39f015ded8: Pull complete [2023-02-18T08:02:23.408Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-18T08:02:23.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T08:02:23.408Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:02:23.487Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:02:23.517Z] $ 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 [2023-02-18T08:02:25.477Z] $ docker top 862c0ed22b1d56e3e4ed25c4721ac7df435422f95e2c7f6de0e38619ef705178 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:02:25.877Z] ---> job-cost.sh [2023-02-18T08:02:25.878Z] lf-activate-venv: SKIPPING [2023-02-18T08:02:25.878Z] INFO: No Stack... [2023-02-18T08:02:25.963Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6569 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-02-18T08:02:25.975Z] Running in /w/workspace/device-sdk-go/164 [Pipeline] { [Pipeline] checkout [2023-02-18T08:02:26.002Z] The recommended git tool is: git [2023-02-18T08:02:26.136Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-18T08:02:26.394Z] INFO: Archiving Costs [Pipeline] sh [2023-02-18T08:02:26.683Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-02-18T08:02:26.683Z] + cut -d, -f6 [Pipeline] lock [2023-02-18T08:02:26.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [2023-02-18T08:02:26.702Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] did not exist. Created. [2023-02-18T08:02:26.703Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-18T08:02:27.001Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-18T08:02:27.033Z] Stashed 1 file(s) [Pipeline] } [2023-02-18T08:02:27.039Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-18T08:02:27.056Z] $ docker stop --time=1 862c0ed22b1d56e3e4ed25c4721ac7df435422f95e2c7f6de0e38619ef705178 [2023-02-18T08:02:28.208Z] $ docker rm -f --volumes 862c0ed22b1d56e3e4ed25c4721ac7df435422f95e2c7f6de0e38619ef705178 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-18T08:02:31.080Z] using credential edgex-jenkins-ssh [2023-02-18T08:02:31.101Z] Cloning the remote Git repository [2023-02-18T08:02:31.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-18T08:02:31.227Z] > git init /w/workspace/device-sdk-go/164 # timeout=10 [2023-02-18T08:02:31.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-18T08:02:31.395Z] > git --version # timeout=10 [2023-02-18T08:02:31.415Z] > git --version # 'git version 2.25.1' [2023-02-18T08:02:31.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-18T08:02:31.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-18T08:02:33.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-18T08:02:33.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-18T08:02:33.878Z] Avoid second fetch [2023-02-18T08:02:33.878Z] Checking out Revision 64ca9b081847739b4160c0dc87966f6c81a47c16 (main) [2023-02-18T08:02:34.434Z] Commit message: "Merge pull request #1333 from judehung/contracts-issue-769" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2023-02-18T08:02:33.892Z] > git config core.sparsecheckout # timeout=10 [2023-02-18T08:02:33.909Z] > git checkout -f 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 [Pipeline] { [Pipeline] sh [2023-02-18T08:02:35.281Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-18T08:02:35.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-18T08:02:35.281Z] Dload Upload Total Spent Left Speed [2023-02-18T08:02:35.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2023-02-18T08:02:35.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-18T08:02:36.196Z] + sudo tee /etc/docker/daemon.new [2023-02-18T08:02:36.196Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-18T08:02:36.196Z] { [2023-02-18T08:02:36.196Z] "registry-mirrors": [ [2023-02-18T08:02:36.196Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-18T08:02:36.196Z] ], [2023-02-18T08:02:36.196Z] "bip": "10.250.0.254/24", [2023-02-18T08:02:36.196Z] "hosts": [ [2023-02-18T08:02:36.196Z] "tcp://0.0.0.0:5555", [2023-02-18T08:02:36.196Z] "unix:///var/run/docker.sock" [2023-02-18T08:02:36.196Z] ], [2023-02-18T08:02:36.196Z] "mtu": 1458, [2023-02-18T08:02:36.196Z] "selinux-enabled": true, [2023-02-18T08:02:36.196Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-18T08:02:36.196Z] } [Pipeline] sh [2023-02-18T08:02:36.529Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-18T08:02:36.858Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T08:02:55.142Z] provisioning config files... [2023-02-18T08:02:55.168Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/164@tmp/config14923895767954646324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:02:55.525Z] ---> docker-login.sh [2023-02-18T08:02:55.525Z] nexus3.edgexfoundry.org:10001 [2023-02-18T08:02:55.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:02:56.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:02:56.069Z] Configure a credential helper to remove this warning. See [2023-02-18T08:02:56.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:02:56.069Z] [2023-02-18T08:02:56.069Z] Login Succeeded [2023-02-18T08:02:56.069Z] nexus3.edgexfoundry.org:10002 [2023-02-18T08:02:56.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:02:56.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:02:56.610Z] Configure a credential helper to remove this warning. See [2023-02-18T08:02:56.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:02:56.610Z] [2023-02-18T08:02:56.610Z] Login Succeeded [2023-02-18T08:02:56.610Z] nexus3.edgexfoundry.org:10003 [2023-02-18T08:02:56.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:02:56.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:02:56.881Z] Configure a credential helper to remove this warning. See [2023-02-18T08:02:56.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:02:56.881Z] [2023-02-18T08:02:56.881Z] Login Succeeded [2023-02-18T08:02:56.881Z] nexus3.edgexfoundry.org:10004 [2023-02-18T08:02:57.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:02:57.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:02:57.152Z] Configure a credential helper to remove this warning. See [2023-02-18T08:02:57.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:02:57.152Z] [2023-02-18T08:02:57.152Z] Login Succeeded [2023-02-18T08:02:57.152Z] docker.io [2023-02-18T08:02:57.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T08:02:57.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T08:02:57.689Z] Configure a credential helper to remove this warning. See [2023-02-18T08:02:57.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T08:02:57.689Z] [2023-02-18T08:02:57.689Z] Login Succeeded [2023-02-18T08:02:57.689Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T08:02:57.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-18T08:02:57.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T08:02:57.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T08:02:57.948Z] ========================================================= [2023-02-18T08:02:57.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-18T08:02:57.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:02:58.281Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-18T08:02:58.868Z] Sending build context to Docker daemon 5.651MB [2023-02-18T08:02:58.868Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T08:02:58.868Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-18T08:02:58.868Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-18T08:02:58.868Z] 9b18e9b68314: Pulling fs layer [2023-02-18T08:02:58.868Z] 35d82f9e3411: Pulling fs layer [2023-02-18T08:02:58.868Z] e16973657156: Pulling fs layer [2023-02-18T08:02:58.868Z] fc693d55d65f: Pulling fs layer [2023-02-18T08:02:58.868Z] 7e9fc2657dce: Pulling fs layer [2023-02-18T08:02:58.868Z] dda99020689f: Pulling fs layer [2023-02-18T08:02:58.868Z] db1c61fa0a46: Pulling fs layer [2023-02-18T08:02:58.868Z] 891c053d2c06: Pulling fs layer [2023-02-18T08:02:58.868Z] dda99020689f: Waiting [2023-02-18T08:02:58.868Z] db1c61fa0a46: Waiting [2023-02-18T08:02:58.868Z] 891c053d2c06: Waiting [2023-02-18T08:02:58.868Z] fc693d55d65f: Waiting [2023-02-18T08:02:58.868Z] 7e9fc2657dce: Waiting [2023-02-18T08:02:58.868Z] e16973657156: Download complete [2023-02-18T08:02:58.868Z] 35d82f9e3411: Verifying Checksum [2023-02-18T08:02:58.868Z] 35d82f9e3411: Download complete [2023-02-18T08:02:58.868Z] 7e9fc2657dce: Verifying Checksum [2023-02-18T08:02:58.868Z] 7e9fc2657dce: Download complete [2023-02-18T08:02:58.868Z] dda99020689f: Verifying Checksum [2023-02-18T08:02:58.868Z] dda99020689f: Download complete [2023-02-18T08:02:58.868Z] 9b18e9b68314: Verifying Checksum [2023-02-18T08:02:58.868Z] 9b18e9b68314: Download complete [2023-02-18T08:02:59.860Z] 9b18e9b68314: Pull complete [2023-02-18T08:03:00.131Z] 891c053d2c06: Verifying Checksum [2023-02-18T08:03:00.131Z] 891c053d2c06: Download complete [2023-02-18T08:03:01.566Z] db1c61fa0a46: Verifying Checksum [2023-02-18T08:03:01.566Z] db1c61fa0a46: Download complete [2023-02-18T08:03:01.835Z] fc693d55d65f: Verifying Checksum [2023-02-18T08:03:02.108Z] 35d82f9e3411: Pull complete [2023-02-18T08:03:02.377Z] e16973657156: Pull complete [2023-02-18T08:03:14.701Z] fc693d55d65f: Pull complete [2023-02-18T08:03:14.701Z] 7e9fc2657dce: Pull complete [2023-02-18T08:03:14.701Z] dda99020689f: Pull complete [2023-02-18T08:03:18.973Z] db1c61fa0a46: Pull complete [2023-02-18T08:03:20.393Z] 891c053d2c06: Pull complete [2023-02-18T08:03:20.393Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-18T08:03:20.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-18T08:03:20.393Z] ---> f96f9c87975a [2023-02-18T08:03:20.393Z] Step 3/10 : ARG MAKE=make build [2023-02-18T08:03:22.343Z] ---> Running in 848ee4f490b7 [2023-02-18T08:03:22.343Z] Removing intermediate container 848ee4f490b7 [2023-02-18T08:03:22.343Z] ---> 53b10412ae23 [2023-02-18T08:03:22.343Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-18T08:03:22.343Z] ---> Running in acfb9414ced3 [2023-02-18T08:03:22.612Z] Removing intermediate container acfb9414ced3 [2023-02-18T08:03:22.612Z] ---> 96f4626c41d0 [2023-02-18T08:03:22.612Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T08:03:22.612Z] ---> Running in eaf4451ab406 [2023-02-18T08:03:23.205Z] Removing intermediate container eaf4451ab406 [2023-02-18T08:03:23.205Z] ---> 6ccbc7e2946d [2023-02-18T08:03:23.205Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-18T08:03:23.205Z] ---> Running in baa1a2b5460c [2023-02-18T08:03:24.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T08:03:24.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T08:03:25.404Z] OK: 221 MiB in 51 packages [2023-02-18T08:03:26.371Z] Removing intermediate container baa1a2b5460c [2023-02-18T08:03:26.371Z] ---> 8ddecb2caba4 [2023-02-18T08:03:26.371Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-18T08:03:27.332Z] ---> beb8df2686ea [2023-02-18T08:03:27.332Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T08:03:27.332Z] ---> Running in 90ab5c477f50 [2023-02-18T08:04:35.412Z] Removing intermediate container 90ab5c477f50 [2023-02-18T08:04:35.412Z] ---> d0f0a5f7b3f3 [2023-02-18T08:04:35.412Z] Step 9/10 : COPY . . [2023-02-18T08:04:35.412Z] ---> 154898ff142b [2023-02-18T08:04:35.412Z] Step 10/10 : RUN ${MAKE} [2023-02-18T08:04:35.412Z] ---> Running in a677c497b253 [2023-02-18T08:04:35.412Z] noop [2023-02-18T08:04:35.412Z] Removing intermediate container a677c497b253 [2023-02-18T08:04:35.412Z] ---> 7585974dbc82 [2023-02-18T08:04:35.412Z] Successfully built 7585974dbc82 [2023-02-18T08:04:35.412Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:04:35.765Z] + docker inspect -f . ci-base-image-arm64 [2023-02-18T08:04:35.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:04:35.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-6569 does not seem to be running inside a container [2023-02-18T08:04:35.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 [2023-02-18T08:04:37.142Z] $ docker top 3be1dbea697816958dff01a7df7fdce8b7a35addbacd25171fd0ec709af7f662 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T08:04:37.968Z] + go version [2023-02-18T08:04:37.968Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-18T08:04:37.987Z] $ docker stop --time=1 3be1dbea697816958dff01a7df7fdce8b7a35addbacd25171fd0ec709af7f662 [2023-02-18T08:04:39.611Z] $ docker rm -f --volumes 3be1dbea697816958dff01a7df7fdce8b7a35addbacd25171fd0ec709af7f662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:04:40.121Z] + docker inspect -f . ci-base-image-arm64 [2023-02-18T08:04:40.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:04:40.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-6569 does not seem to be running inside a container [2023-02-18T08:04:40.410Z] $ 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/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 [2023-02-18T08:04:41.580Z] $ docker top e81ecff8a01c34a939f5b7a61345fb1b81ce3d735d09cc10effcc970f19b1918 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T08:04:42.405Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/164 [Pipeline] fileExists [Pipeline] sh [2023-02-18T08:04:42.735Z] + make test [2023-02-18T08:04:43.003Z] go test -race -coverprofile=coverage.out ./... [2023-02-18T08:05:15.231Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-18T08:07:06.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-18T08:07:06.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-18T08:07:06.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-18T08:07:06.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-18T08:07:06.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-18T08:07:09.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.417s coverage: 27.6% of statements [2023-02-18T08:07:10.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.413s coverage: 78.9% of statements [2023-02-18T08:07:10.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-18T08:07:16.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.451s coverage: 86.0% of statements [2023-02-18T08:07:16.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-18T08:07:16.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-18T08:07:19.411Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s coverage: 77.0% of statements [2023-02-18T08:07:19.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-18T08:07:19.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-18T08:07:19.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-18T08:07:19.411Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.443s coverage: 65.2% of statements [2023-02-18T08:07:19.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-18T08:07:19.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-18T08:07:20.826Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.259s coverage: 89.2% of statements [2023-02-18T08:07:20.827Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-18T08:07:20.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.491s coverage: 4.7% of statements [2023-02-18T08:07:20.827Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-18T08:07:21.414Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-18T08:07:21.414Z] GO111MODULE=on go vet ./... [2023-02-18T08:08:58.078Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-18T08:08:58.078Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-18T08:08:58.078Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-18T08:08:58.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-18T08:08:58.113Z] $ docker stop --time=1 e81ecff8a01c34a939f5b7a61345fb1b81ce3d735d09cc10effcc970f19b1918 [2023-02-18T08:08:59.970Z] $ docker rm -f --volumes e81ecff8a01c34a939f5b7a61345fb1b81ce3d735d09cc10effcc970f19b1918 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T08:09:01.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-18T08:09:01.527Z] Warning: overwriting stash ‘coverage-report’ [2023-02-18T08:09:02.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-18T08:09:02.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-18T08:09:02.827Z] + ls -al . [2023-02-18T08:09:02.827Z] total 268 [2023-02-18T08:09:02.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 08:04 . [2023-02-18T08:09:02.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 08:02 .. [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 08:02 .dockerignore [2023-02-18T08:09:02.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 08:02 .git [2023-02-18T08:09:02.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 08:02 .github [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 18 08:02 .gitignore [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 18 08:02 .golangci.yml [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 18 08:02 CHANGELOG.md [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 08:02 GOVERNANCE.md [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 18 08:02 Jenkinsfile [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 08:02 LICENSE [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 18 08:02 Makefile [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 18 08:02 OWNERS.md [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 18 08:02 README.md [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 18 08:00 VERSION [2023-02-18T08:09:02.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 08:02 bin [2023-02-18T08:09:02.828Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 18 08:07 coverage.out [2023-02-18T08:09:02.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 08:02 example [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 18 08:02 go.mod [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 18 08:02 go.sum [2023-02-18T08:09:02.828Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 08:02 internal [2023-02-18T08:09:02.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 08:02 openapi [2023-02-18T08:09:02.828Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 18 08:02 pkg [2023-02-18T08:09:02.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 08:02 snap [2023-02-18T08:09:02.828Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 08:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:09:03.164Z] + 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=64ca9b081847739b4160c0dc87966f6c81a47c16 --label arch=arm64 --label version=3.0.0-dev.34 . [2023-02-18T08:09:03.435Z] Sending build context to Docker daemon 5.751MB [2023-02-18T08:09:03.435Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T08:09:03.435Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-18T08:09:03.435Z] ---> 7585974dbc82 [2023-02-18T08:09:03.435Z] Step 3/23 : ARG MAKE=make build [2023-02-18T08:09:04.025Z] ---> Running in 5294a4ff12b5 [2023-02-18T08:09:04.293Z] Removing intermediate container 5294a4ff12b5 [2023-02-18T08:09:04.293Z] ---> 6e7f4f4e6344 [2023-02-18T08:09:04.293Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-18T08:09:04.293Z] ---> Running in 8204cac7a214 [2023-02-18T08:09:04.560Z] Removing intermediate container 8204cac7a214 [2023-02-18T08:09:04.561Z] ---> f43928a32ebc [2023-02-18T08:09:04.561Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T08:09:04.561Z] ---> Running in f3cf0e7974c6 [2023-02-18T08:09:04.829Z] Removing intermediate container f3cf0e7974c6 [2023-02-18T08:09:04.829Z] ---> dacd89a2fee5 [2023-02-18T08:09:04.829Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-18T08:09:05.103Z] ---> Running in 7dfe022de3cd [2023-02-18T08:09:06.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T08:09:06.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T08:09:07.289Z] OK: 221 MiB in 51 packages [2023-02-18T08:09:08.263Z] Removing intermediate container 7dfe022de3cd [2023-02-18T08:09:08.263Z] ---> 323c1a1f1503 [2023-02-18T08:09:08.263Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-18T08:09:08.534Z] ---> 2ded92b369c2 [2023-02-18T08:09:08.534Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T08:09:08.534Z] ---> Running in 2fa5e286969b [2023-02-18T08:09:11.124Z] Removing intermediate container 2fa5e286969b [2023-02-18T08:09:11.124Z] ---> 9e3ce14dccf9 [2023-02-18T08:09:11.124Z] Step 9/23 : COPY . . [2023-02-18T08:09:12.533Z] ---> 753e3735131b [2023-02-18T08:09:12.533Z] Step 10/23 : RUN ${MAKE} [2023-02-18T08:09:12.533Z] ---> Running in a16288707c5a [2023-02-18T08:09:13.494Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.34" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-18T08:11:20.167Z] Removing intermediate container a16288707c5a [2023-02-18T08:11:20.167Z] ---> 90e8942ef0b0 [2023-02-18T08:11:20.167Z] Step 11/23 : FROM alpine:3.16 [2023-02-18T08:11:20.167Z] 3.16: Pulling from library/alpine [2023-02-18T08:11:20.167Z] 3760b48202b3: Pulling fs layer [2023-02-18T08:11:20.167Z] 3760b48202b3: Verifying Checksum [2023-02-18T08:11:20.167Z] 3760b48202b3: Download complete [2023-02-18T08:11:20.167Z] 3760b48202b3: Pull complete [2023-02-18T08:11:20.167Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-18T08:11:20.167Z] Status: Downloaded newer image for alpine:3.16 [2023-02-18T08:11:20.167Z] ---> 4c81e5bf8899 [2023-02-18T08:11:20.167Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-18T08:11:20.167Z] ---> Running in 86386b23cf7b [2023-02-18T08:11:20.167Z] Removing intermediate container 86386b23cf7b [2023-02-18T08:11:20.167Z] ---> b437a430e692 [2023-02-18T08:11:20.167Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-18T08:11:20.167Z] ---> Running in 513c9038f1f6 [2023-02-18T08:11:20.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T08:11:20.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T08:11:20.167Z] OK: 5 MiB in 14 packages [2023-02-18T08:11:20.167Z] Removing intermediate container 513c9038f1f6 [2023-02-18T08:11:20.167Z] ---> eb51747aa996 [2023-02-18T08:11:20.167Z] Step 14/23 : WORKDIR / [2023-02-18T08:11:20.167Z] ---> Running in b68eaef7aca1 [2023-02-18T08:11:20.167Z] Removing intermediate container b68eaef7aca1 [2023-02-18T08:11:20.167Z] ---> c2b67bbc8da6 [2023-02-18T08:11:20.167Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-18T08:11:20.167Z] ---> bb5f34e09cf9 [2023-02-18T08:11:20.167Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-18T08:11:20.167Z] ---> 9957e4a24a4f [2023-02-18T08:11:20.167Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-18T08:11:20.167Z] ---> 0aada38f55d7 [2023-02-18T08:11:20.167Z] Step 18/23 : EXPOSE 59999 [2023-02-18T08:11:20.167Z] ---> Running in f41759ff4544 [2023-02-18T08:11:20.167Z] Removing intermediate container f41759ff4544 [2023-02-18T08:11:20.167Z] ---> 78eaead80809 [2023-02-18T08:11:20.167Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-18T08:11:20.167Z] ---> Running in d350d3686a51 [2023-02-18T08:11:20.167Z] Removing intermediate container d350d3686a51 [2023-02-18T08:11:20.167Z] ---> 854bc96203c9 [2023-02-18T08:11:20.167Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-18T08:11:20.167Z] ---> Running in 62d3bb7023e4 [2023-02-18T08:11:20.167Z] Removing intermediate container 62d3bb7023e4 [2023-02-18T08:11:20.167Z] ---> 59bf66b2b38a [2023-02-18T08:11:20.167Z] Step 21/23 : LABEL arch=arm64 [2023-02-18T08:11:20.168Z] ---> Running in c1ab9b422f76 [2023-02-18T08:11:20.168Z] Removing intermediate container c1ab9b422f76 [2023-02-18T08:11:20.168Z] ---> 56c5badda38e [2023-02-18T08:11:20.168Z] Step 22/23 : LABEL git_sha=64ca9b081847739b4160c0dc87966f6c81a47c16 [2023-02-18T08:11:20.168Z] ---> Running in fd183c2a1da0 [2023-02-18T08:11:20.168Z] Removing intermediate container fd183c2a1da0 [2023-02-18T08:11:20.168Z] ---> 54bc2b061ab9 [2023-02-18T08:11:20.168Z] Step 23/23 : LABEL version=3.0.0-dev.34 [2023-02-18T08:11:20.168Z] ---> Running in 607e22619695 [2023-02-18T08:11:20.168Z] Removing intermediate container 607e22619695 [2023-02-18T08:11:20.168Z] ---> 84bae4b9787a [2023-02-18T08:11:20.168Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-18T08:11:20.168Z] Successfully built 84bae4b9787a [2023-02-18T08:11:20.168Z] 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 [2023-02-18T08:11:20.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T08:11:20.590Z] [2023-02-18T08:11:20.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:11:20.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T08:11:20.924Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-18T08:11:20.924Z] 8998bd30e6a1: Pulling fs layer [2023-02-18T08:11:20.924Z] 04944245beec: Pulling fs layer [2023-02-18T08:11:20.924Z] 699f458cf7ca: Pulling fs layer [2023-02-18T08:11:20.924Z] 765212b225bb: Pulling fs layer [2023-02-18T08:11:20.924Z] f23df028b6ca: Pulling fs layer [2023-02-18T08:11:20.924Z] d65c8cfc05b1: Pulling fs layer [2023-02-18T08:11:20.924Z] 2437ff75d9bd: Pulling fs layer [2023-02-18T08:11:20.924Z] f23df028b6ca: Waiting [2023-02-18T08:11:20.924Z] 765212b225bb: Waiting [2023-02-18T08:11:20.924Z] d65c8cfc05b1: Waiting [2023-02-18T08:11:20.924Z] 2437ff75d9bd: Waiting [2023-02-18T08:11:21.196Z] 04944245beec: Verifying Checksum [2023-02-18T08:11:21.197Z] 04944245beec: Download complete [2023-02-18T08:11:21.197Z] 765212b225bb: Verifying Checksum [2023-02-18T08:11:21.197Z] 765212b225bb: Download complete [2023-02-18T08:11:21.197Z] f23df028b6ca: Verifying Checksum [2023-02-18T08:11:21.197Z] f23df028b6ca: Download complete [2023-02-18T08:11:21.197Z] d65c8cfc05b1: Verifying Checksum [2023-02-18T08:11:21.197Z] d65c8cfc05b1: Download complete [2023-02-18T08:11:21.467Z] 699f458cf7ca: Verifying Checksum [2023-02-18T08:11:21.467Z] 699f458cf7ca: Download complete [2023-02-18T08:11:21.735Z] 8998bd30e6a1: Verifying Checksum [2023-02-18T08:11:21.735Z] 8998bd30e6a1: Download complete [2023-02-18T08:11:24.316Z] 2437ff75d9bd: Verifying Checksum [2023-02-18T08:11:24.316Z] 2437ff75d9bd: Download complete [2023-02-18T08:11:25.735Z] 8998bd30e6a1: Pull complete [2023-02-18T08:11:26.003Z] 04944245beec: Pull complete [2023-02-18T08:11:27.411Z] 699f458cf7ca: Pull complete [2023-02-18T08:11:27.411Z] 765212b225bb: Pull complete [2023-02-18T08:11:28.371Z] f23df028b6ca: Pull complete [2023-02-18T08:11:28.371Z] d65c8cfc05b1: Pull complete [2023-02-18T08:11:43.431Z] 2437ff75d9bd: Pull complete [2023-02-18T08:11:43.431Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-18T08:11:43.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T08:11:43.431Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:11:43.633Z] prd-ubuntu20.04-docker-arm64-4c-16g-6569 does not seem to be running inside a container [2023-02-18T08:11:43.714Z] $ 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/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 [2023-02-18T08:11:46.138Z] $ docker top 983bfcc42590b072baec77f6382db3bae2317288814d48fc229104e39518262f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:11:46.981Z] ---> job-cost.sh [2023-02-18T08:11:46.981Z] lf-activate-venv: SKIPPING [2023-02-18T08:11:46.981Z] INFO: No Stack... [2023-02-18T08:11:47.562Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-18T08:11:48.145Z] INFO: Archiving Costs [Pipeline] sh [2023-02-18T08:11:48.472Z] + cut -d, -f6 [2023-02-18T08:11:48.472Z] + cat /w/workspace/device-sdk-go/164/archives/cost.csv [Pipeline] lock [2023-02-18T08:11:48.541Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [2023-02-18T08:11:48.547Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] did not exist. Created. [2023-02-18T08:11:48.547Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-18T08:11:49.204Z] /w/workspace/device-sdk-go/164@tmp/durable-2b465b0c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-18T08:11:49.538Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-18T08:11:49.575Z] Warning: overwriting stash ‘stack-cost’ [2023-02-18T08:11:49.646Z] Stashed 1 file(s) [Pipeline] } [2023-02-18T08:11:49.653Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-18T08:11:49.669Z] $ docker stop --time=1 983bfcc42590b072baec77f6382db3bae2317288814d48fc229104e39518262f [2023-02-18T08:11:51.156Z] $ docker rm -f --volumes 983bfcc42590b072baec77f6382db3bae2317288814d48fc229104e39518262f [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 [2023-02-18T08:11:51.525Z] provisioning config files... [2023-02-18T08:11:51.530Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3140955081204888770tmp [Pipeline] { [Pipeline] sh [2023-02-18T08:11:51.819Z] + set +x [2023-02-18T08:11:51.819Z] + curl -s https://codecov.io/bash [2023-02-18T08:11:51.819Z] + bash -s -- [2023-02-18T08:11:51.819Z] [2023-02-18T08:11:51.819Z] _____ _ [2023-02-18T08:11:51.819Z] / ____| | | [2023-02-18T08:11:51.820Z] | | ___ __| | ___ ___ _____ __ [2023-02-18T08:11:51.820Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-18T08:11:51.820Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-18T08:11:51.820Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-18T08:11:51.820Z] Bash-1.0.6 [2023-02-18T08:11:51.820Z] [2023-02-18T08:11:51.820Z] [2023-02-18T08:11:51.820Z] ==> git version 2.25.1 found [2023-02-18T08:11:51.820Z] ==> 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 [2023-02-18T08:11:51.820Z] Release-Date: 2020-01-08 [2023-02-18T08:11:51.820Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-18T08:11:51.820Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-18T08:11:51.820Z] ==> Jenkins CI detected. [2023-02-18T08:11:51.820Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-02-18T08:11:51.820Z] project root: . [2023-02-18T08:11:51.820Z] --> token set from env [2023-02-18T08:11:51.820Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-18T08:11:51.820Z] ==> Running gcov in . (disable via -X gcov) [2023-02-18T08:11:51.820Z] ==> Python coveragepy not found [2023-02-18T08:11:51.820Z] ==> Searching for coverage reports in: [2023-02-18T08:11:51.820Z] + . [2023-02-18T08:11:51.820Z] -> Found 1 reports [2023-02-18T08:11:51.820Z] ==> Detecting git/mercurial file structure [2023-02-18T08:11:51.820Z] ==> Reading reports [2023-02-18T08:11:51.820Z] + ./coverage.out bytes=98530 [2023-02-18T08:11:51.820Z] ==> Appending adjustments [2023-02-18T08:11:51.820Z] https://docs.codecov.io/docs/fixing-reports [2023-02-18T08:11:52.388Z] + Found adjustments [2023-02-18T08:11:52.388Z] ==> Gzipping contents [2023-02-18T08:11:52.388Z] 16K /tmp/codecov.U8tqJ9.gz [2023-02-18T08:11:52.388Z] ==> Uploading reports [2023-02-18T08:11:52.388Z] url: https://codecov.io [2023-02-18T08:11:52.388Z] query: branch=main&commit=64ca9b081847739b4160c0dc87966f6c81a47c16&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-18T08:11:52.388Z] -> Pinging Codecov [2023-02-18T08:11:52.388Z] 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=64ca9b081847739b4160c0dc87966f6c81a47c16&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-18T08:11:52.388Z] -> Uploading to [2023-02-18T08:11:52.388Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-18/7E55EF52A471D76F132DFD9A03CDDE97/64ca9b081847739b4160c0dc87966f6c81a47c16/40ba7e5f-9b62-4d13-a18d-dfd17ce9567b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230218T081152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7112044067d2d3ee9d357348faa991cdc65fc6686a3c38e225cf220dd04df0e4 [2023-02-18T08:11:52.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-18T08:11:52.388Z] Dload Upload Total Spent Left Speed [2023-02-18T08:11:52.647Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14361 0 0 100 14361 0 64689 --:--:-- --:--:-- --:--:-- 64399 100 14361 0 0 100 14361 0 51289 --:--:-- --:--:-- --:--:-- 51106 [2023-02-18T08:11:52.647Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] } [2023-02-18T08:11:52.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-18T08:11:52.832Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-18T08:11:52.840Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:11:53.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-18T08:11:53.131Z] [2023-02-18T08:11:53.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:11:53.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-18T08:11:53.430Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-18T08:11:53.430Z] df9b9388f04a: Pulling fs layer [2023-02-18T08:11:53.430Z] 52dc419b0ee2: Pulling fs layer [2023-02-18T08:11:53.430Z] 25bc292e5bac: Pulling fs layer [2023-02-18T08:11:53.430Z] 114826534d7a: Pulling fs layer [2023-02-18T08:11:53.430Z] 4657fd5d0bcf: Pulling fs layer [2023-02-18T08:11:53.430Z] 6ad1cebc031e: Pulling fs layer [2023-02-18T08:11:53.430Z] 8a3aa393b2d8: Pulling fs layer [2023-02-18T08:11:53.430Z] 4657fd5d0bcf: Waiting [2023-02-18T08:11:53.430Z] 6ad1cebc031e: Waiting [2023-02-18T08:11:53.430Z] 8a3aa393b2d8: Waiting [2023-02-18T08:11:53.430Z] 114826534d7a: Waiting [2023-02-18T08:11:53.430Z] 25bc292e5bac: Verifying Checksum [2023-02-18T08:11:53.430Z] 25bc292e5bac: Download complete [2023-02-18T08:11:53.430Z] df9b9388f04a: Download complete [2023-02-18T08:11:53.430Z] 4657fd5d0bcf: Verifying Checksum [2023-02-18T08:11:53.430Z] 4657fd5d0bcf: Download complete [2023-02-18T08:11:53.692Z] df9b9388f04a: Pull complete [2023-02-18T08:11:53.692Z] 52dc419b0ee2: Verifying Checksum [2023-02-18T08:11:53.692Z] 52dc419b0ee2: Download complete [2023-02-18T08:11:53.692Z] 6ad1cebc031e: Verifying Checksum [2023-02-18T08:11:53.692Z] 6ad1cebc031e: Download complete [2023-02-18T08:11:53.692Z] 52dc419b0ee2: Pull complete [2023-02-18T08:11:53.692Z] 25bc292e5bac: Pull complete [2023-02-18T08:11:54.261Z] 114826534d7a: Verifying Checksum [2023-02-18T08:11:54.261Z] 114826534d7a: Download complete [2023-02-18T08:11:54.518Z] 8a3aa393b2d8: Verifying Checksum [2023-02-18T08:11:54.518Z] 8a3aa393b2d8: Download complete [2023-02-18T08:11:57.797Z] 114826534d7a: Pull complete [2023-02-18T08:11:57.797Z] 4657fd5d0bcf: Pull complete [2023-02-18T08:11:57.797Z] 6ad1cebc031e: Pull complete [2023-02-18T08:12:00.326Z] 8a3aa393b2d8: Pull complete [2023-02-18T08:12:00.326Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-18T08:12:00.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-18T08:12:00.326Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:00.404Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:00.434Z] $ 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 [2023-02-18T08:12:02.597Z] $ docker top 0b4029b6affdc5f3d9d7b5d57ab3ea440b0f8b9c1c73abf353836ff949d1e52c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-18T08:12:02.659Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-02-18T08:12:02.939Z] + set -o pipefail [2023-02-18T08:12:02.939Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-02-18T08:12:09.502Z] [2023-02-18T08:12:09.502Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-02-18T08:12:09.502Z] [2023-02-18T08:12:09.502Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/774463af-f745-4d57-b9cb-091085df0392 [2023-02-18T08:12:09.502Z] [2023-02-18T08:12:09.502Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-18T08:12:09.502Z] [2023-02-18T08:12:09.502Z] [2023-02-18T08:12:09.502Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-18T08:12:09.502Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-18T08:12:09.502Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-18T08:12:09.513Z] $ docker stop --time=1 0b4029b6affdc5f3d9d7b5d57ab3ea440b0f8b9c1c73abf353836ff949d1e52c [2023-02-18T08:12:11.614Z] $ docker rm -f --volumes 0b4029b6affdc5f3d9d7b5d57ab3ea440b0f8b9c1c73abf353836ff949d1e52c [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 [2023-02-18T08:12:11.961Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T08:12:11.975Z] provisioning config files... [2023-02-18T08:12:11.982Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3285836592984630423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:12.274Z] --> edgex-publish-swagger.sh [2023-02-18T08:12:12.274Z] === Publish openapi/v3 API === [2023-02-18T08:12:12.274Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-02-18T08:12:12.274Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-02-18T08:12:12.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-18T08:12:12.274Z] Dload Upload Total Spent Left Speed [2023-02-18T08:12:12.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24713 0 0 100 24713 0 40314 --:--:-- --:--:-- --:--:-- 40249 100 24713 0 0 100 24713 0 40314 --:--:-- --:--:-- --:--:-- 40249 [2023-02-18T08:12:12.853Z] [2023-02-18T08:12:12.853Z] [Pipeline] } [2023-02-18T08:12:12.868Z] 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 [2023-02-18T08:12:13.270Z] + git log --format=format:%s -1 64ca9b081847739b4160c0dc87966f6c81a47c16 [Pipeline] sh [2023-02-18T08:12:13.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-18T08:12:13.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:13.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:12:13.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:13.930Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:13.959Z] $ 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 [2023-02-18T08:12:14.371Z] $ docker top 3c56861138770bba3138dffdaa93bf1c64c7a430e9dedc188a1b4ce830edc675 -eo pid,comm [2023-02-18T08:12:14.415Z] 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). [2023-02-18T08:12:14.415Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-18T08:12:14.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T08:12:14.447Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T08:12:14.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T08:12:14.568Z] $ docker exec 3c56861138770bba3138dffdaa93bf1c64c7a430e9dedc188a1b4ce830edc675 ssh-agent [2023-02-18T08:12:14.680Z] SSH_AUTH_SOCK=/tmp/ssh-KBnxZIw9KMxg/agent.34 [2023-02-18T08:12:14.680Z] SSH_AGENT_PID=40 [2023-02-18T08:12:14.685Z] Running ssh-add (command line suppressed) [2023-02-18T08:12:14.780Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11308268120292181162.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11308268120292181162.key) [2023-02-18T08:12:14.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T08:12:15.080Z] + git semver tag [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,258 [run_tag] DEBUG tag force:False [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,259 [check_head_tag] DEBUG check head tag [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,260 [execute] INFO git cat-file --batch-check [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,264 [execute] INFO git cat-file --batch [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,296 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,296 [execute] INFO git tag -a v3.0.0-dev.34 -m v3.0.0-dev.34 [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,297 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.34', '-m', 'v3.0.0-dev.34'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-18T08:12:15.339Z] 2023-02-18 08:12:15,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:15.339Z] 3.0.0-dev.34 [Pipeline] } [2023-02-18T08:12:15.348Z] $ docker exec --env ******** --env ******** 3c56861138770bba3138dffdaa93bf1c64c7a430e9dedc188a1b4ce830edc675 ssh-agent -k [2023-02-18T08:12:15.450Z] unset SSH_AUTH_SOCK; [2023-02-18T08:12:15.450Z] unset SSH_AGENT_PID; [2023-02-18T08:12:15.450Z] echo Agent pid 40 killed; [2023-02-18T08:12:15.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-18T08:12:15.767Z] + git semver [Pipeline] } [2023-02-18T08:12:16.037Z] $ docker stop --time=1 3c56861138770bba3138dffdaa93bf1c64c7a430e9dedc188a1b4ce830edc675 [2023-02-18T08:12:17.333Z] $ docker rm -f --volumes 3c56861138770bba3138dffdaa93bf1c64c7a430e9dedc188a1b4ce830edc675 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:17.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-18T08:12:17.723Z] [2023-02-18T08:12:17.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:18.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-18T08:12:18.026Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-18T08:12:18.026Z] ab5ef0e58194: Pulling fs layer [2023-02-18T08:12:18.026Z] 9712f1f96733: Pulling fs layer [2023-02-18T08:12:18.026Z] 63f879dbbcfc: Pulling fs layer [2023-02-18T08:12:18.026Z] 0d9ebad4ef96: Pulling fs layer [2023-02-18T08:12:18.026Z] e9a5061849ea: Pulling fs layer [2023-02-18T08:12:18.026Z] d747dcd14b5f: Pulling fs layer [2023-02-18T08:12:18.026Z] 2de7ff778b66: Pulling fs layer [2023-02-18T08:12:18.026Z] 0d9ebad4ef96: Waiting [2023-02-18T08:12:18.026Z] e9a5061849ea: Waiting [2023-02-18T08:12:18.026Z] d747dcd14b5f: Waiting [2023-02-18T08:12:18.026Z] 2de7ff778b66: Waiting [2023-02-18T08:12:18.026Z] 9712f1f96733: Verifying Checksum [2023-02-18T08:12:18.026Z] 9712f1f96733: Download complete [2023-02-18T08:12:18.602Z] 63f879dbbcfc: Verifying Checksum [2023-02-18T08:12:18.602Z] 63f879dbbcfc: Download complete [2023-02-18T08:12:18.602Z] 0d9ebad4ef96: Verifying Checksum [2023-02-18T08:12:18.602Z] 0d9ebad4ef96: Download complete [2023-02-18T08:12:18.602Z] d747dcd14b5f: Verifying Checksum [2023-02-18T08:12:18.602Z] d747dcd14b5f: Download complete [2023-02-18T08:12:18.602Z] e9a5061849ea: Verifying Checksum [2023-02-18T08:12:18.602Z] e9a5061849ea: Download complete [2023-02-18T08:12:18.602Z] ab5ef0e58194: Verifying Checksum [2023-02-18T08:12:18.602Z] ab5ef0e58194: Download complete [2023-02-18T08:12:18.861Z] 2de7ff778b66: Verifying Checksum [2023-02-18T08:12:18.861Z] 2de7ff778b66: Download complete [2023-02-18T08:12:21.390Z] ab5ef0e58194: Pull complete [2023-02-18T08:12:21.390Z] 9712f1f96733: Pull complete [2023-02-18T08:12:21.954Z] 63f879dbbcfc: Pull complete [2023-02-18T08:12:25.234Z] 0d9ebad4ef96: Pull complete [2023-02-18T08:12:25.234Z] e9a5061849ea: Pull complete [2023-02-18T08:12:25.234Z] d747dcd14b5f: Pull complete [2023-02-18T08:12:26.169Z] 2de7ff778b66: Pull complete [2023-02-18T08:12:26.169Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-18T08:12:26.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-18T08:12:26.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:26.264Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:26.292Z] $ 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 [2023-02-18T08:12:28.746Z] $ docker top 4024b868a3a07661bea3d3d14c36ef43f722780626fa5fe1379bab50e86d40e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-18T08:12:28.814Z] provisioning config files... [2023-02-18T08:12:28.820Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17984618749055432696tmp [2023-02-18T08:12:28.829Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17249529316356516159tmp [2023-02-18T08:12:28.836Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4228441606832646842tmp [Pipeline] { [Pipeline] echo [2023-02-18T08:12:28.847Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:29.128Z] ---> sigul-configuration.sh [2023-02-18T08:12:29.128Z] gpg: directory `/root/.gnupg' created [2023-02-18T08:12:29.128Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-18T08:12:29.128Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-18T08:12:29.128Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-18T08:12:29.128Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-18T08:12:29.128Z] gpg: CAST5 encrypted data [2023-02-18T08:12:29.128Z] gpg: encrypted with 1 passphrase [2023-02-18T08:12:29.128Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-18T08:12:29.415Z] + mkdir /home/jenkins [2023-02-18T08:12:29.415Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-18T08:12:29.702Z] + 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 [2023-02-18T08:12:29.710Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:29.992Z] ---> sigul-install.sh [2023-02-18T08:12:29.992Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-18T08:12:30.276Z] + git tag --list [2023-02-18T08:12:30.276Z] 0.7.1 [2023-02-18T08:12:30.276Z] delhi-tag [2023-02-18T08:12:30.276Z] v1.0.0 [2023-02-18T08:12:30.276Z] v1.1.0 [2023-02-18T08:12:30.276Z] v1.1.1 [2023-02-18T08:12:30.276Z] v1.1.2 [2023-02-18T08:12:30.276Z] v1.2.0 [2023-02-18T08:12:30.276Z] v1.2.1 [2023-02-18T08:12:30.276Z] v1.2.2 [2023-02-18T08:12:30.276Z] v1.2.3 [2023-02-18T08:12:30.276Z] v1.3.0 [2023-02-18T08:12:30.276Z] v1.4.0 [2023-02-18T08:12:30.276Z] v2.0.0 [2023-02-18T08:12:30.276Z] v2.1.0 [2023-02-18T08:12:30.276Z] v2.1.1 [2023-02-18T08:12:30.276Z] v2.1.1-dev.2 [2023-02-18T08:12:30.276Z] v2.1.1-dev.3 [2023-02-18T08:12:30.276Z] v2.2.0 [2023-02-18T08:12:30.276Z] v2.2.1-dev.1 [2023-02-18T08:12:30.276Z] v2.2.1-dev.10 [2023-02-18T08:12:30.276Z] v2.2.1-dev.11 [2023-02-18T08:12:30.276Z] v2.2.1-dev.12 [2023-02-18T08:12:30.276Z] v2.2.1-dev.13 [2023-02-18T08:12:30.276Z] v2.2.1-dev.14 [2023-02-18T08:12:30.276Z] v2.2.1-dev.2 [2023-02-18T08:12:30.276Z] v2.2.1-dev.3 [2023-02-18T08:12:30.276Z] v2.2.1-dev.4 [2023-02-18T08:12:30.276Z] v2.2.1-dev.5 [2023-02-18T08:12:30.276Z] v2.2.1-dev.6 [2023-02-18T08:12:30.276Z] v2.2.1-dev.7 [2023-02-18T08:12:30.276Z] v2.2.1-dev.8 [2023-02-18T08:12:30.276Z] v2.2.1-dev.9 [2023-02-18T08:12:30.276Z] v2.3.0 [2023-02-18T08:12:30.276Z] v2.3.0-dev.14 [2023-02-18T08:12:30.276Z] v2.3.0-dev.15 [2023-02-18T08:12:30.276Z] v2.3.0-dev.16 [2023-02-18T08:12:30.276Z] v2.3.0-dev.17 [2023-02-18T08:12:30.276Z] v2.3.0-dev.18 [2023-02-18T08:12:30.276Z] v2.3.0-dev.19 [2023-02-18T08:12:30.276Z] v2.3.0-dev.20 [2023-02-18T08:12:30.276Z] v2.3.0-dev.21 [2023-02-18T08:12:30.276Z] v2.3.0-dev.22 [2023-02-18T08:12:30.276Z] v2.3.0-dev.23 [2023-02-18T08:12:30.276Z] v2.3.0-dev.24 [2023-02-18T08:12:30.276Z] v2.3.0-dev.25 [2023-02-18T08:12:30.276Z] v2.3.0-dev.26 [2023-02-18T08:12:30.276Z] v2.3.0-dev.27 [2023-02-18T08:12:30.276Z] v2.3.0-dev.28 [2023-02-18T08:12:30.276Z] v2.3.0-dev.29 [2023-02-18T08:12:30.276Z] v2.3.0-dev.30 [2023-02-18T08:12:30.276Z] v2.3.0-dev.31 [2023-02-18T08:12:30.276Z] v2.3.0-dev.32 [2023-02-18T08:12:30.276Z] v2.3.0-dev.33 [2023-02-18T08:12:30.276Z] v2.3.0-dev.34 [2023-02-18T08:12:30.276Z] v2.3.0-dev.35 [2023-02-18T08:12:30.276Z] v2.3.0-dev.36 [2023-02-18T08:12:30.276Z] v2.3.0-dev.37 [2023-02-18T08:12:30.276Z] v2.3.0-dev.38 [2023-02-18T08:12:30.276Z] v2.3.0-dev.39 [2023-02-18T08:12:30.276Z] v2.3.0-dev.40 [2023-02-18T08:12:30.276Z] v2.3.0-dev.41 [2023-02-18T08:12:30.276Z] v2.3.0-dev.42 [2023-02-18T08:12:30.276Z] v2.3.0-dev.43 [2023-02-18T08:12:30.276Z] v2.3.0-dev.44 [2023-02-18T08:12:30.276Z] v2.3.0-dev.45 [2023-02-18T08:12:30.276Z] v2.3.0-dev.46 [2023-02-18T08:12:30.276Z] v2.3.0-dev.47 [2023-02-18T08:12:30.276Z] v2.3.0-dev.48 [2023-02-18T08:12:30.276Z] v2.3.0-dev.49 [2023-02-18T08:12:30.276Z] v2.3.0-dev.50 [2023-02-18T08:12:30.276Z] v2.3.0-dev.51 [2023-02-18T08:12:30.276Z] v2.3.1-dev.1 [2023-02-18T08:12:30.276Z] v2.3.1-dev.2 [2023-02-18T08:12:30.276Z] v3.0.0-dev.1 [2023-02-18T08:12:30.276Z] v3.0.0-dev.10 [2023-02-18T08:12:30.276Z] v3.0.0-dev.11 [2023-02-18T08:12:30.276Z] v3.0.0-dev.12 [2023-02-18T08:12:30.276Z] v3.0.0-dev.13 [2023-02-18T08:12:30.276Z] v3.0.0-dev.14 [2023-02-18T08:12:30.276Z] v3.0.0-dev.15 [2023-02-18T08:12:30.276Z] v3.0.0-dev.16 [2023-02-18T08:12:30.276Z] v3.0.0-dev.17 [2023-02-18T08:12:30.276Z] v3.0.0-dev.18 [2023-02-18T08:12:30.276Z] v3.0.0-dev.19 [2023-02-18T08:12:30.276Z] v3.0.0-dev.2 [2023-02-18T08:12:30.276Z] v3.0.0-dev.20 [2023-02-18T08:12:30.276Z] v3.0.0-dev.21 [2023-02-18T08:12:30.276Z] v3.0.0-dev.22 [2023-02-18T08:12:30.276Z] v3.0.0-dev.23 [2023-02-18T08:12:30.276Z] v3.0.0-dev.24 [2023-02-18T08:12:30.276Z] v3.0.0-dev.25 [2023-02-18T08:12:30.276Z] v3.0.0-dev.26 [2023-02-18T08:12:30.276Z] v3.0.0-dev.27 [2023-02-18T08:12:30.276Z] v3.0.0-dev.28 [2023-02-18T08:12:30.276Z] v3.0.0-dev.29 [2023-02-18T08:12:30.276Z] v3.0.0-dev.3 [2023-02-18T08:12:30.276Z] v3.0.0-dev.30 [2023-02-18T08:12:30.276Z] v3.0.0-dev.31 [2023-02-18T08:12:30.276Z] v3.0.0-dev.32 [2023-02-18T08:12:30.276Z] v3.0.0-dev.33 [2023-02-18T08:12:30.276Z] v3.0.0-dev.34 [2023-02-18T08:12:30.276Z] v3.0.0-dev.4 [2023-02-18T08:12:30.276Z] v3.0.0-dev.5 [2023-02-18T08:12:30.276Z] v3.0.0-dev.6 [2023-02-18T08:12:30.276Z] v3.0.0-dev.7 [2023-02-18T08:12:30.276Z] v3.0.0-dev.8 [2023-02-18T08:12:30.276Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-18T08:12:30.558Z] + lftools sign git-tag v3.0.0-dev.34 [2023-02-18T08:12:31.126Z] Signing Git tag with Sigul... [2023-02-18T08:12:31.126Z] Signing v3.0.0-dev.34 [Pipeline] echo [2023-02-18T08:12:31.701Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:31.987Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-18T08:12:31.994Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-18T08:12:32.010Z] $ docker stop --time=1 4024b868a3a07661bea3d3d14c36ef43f722780626fa5fe1379bab50e86d40e1 [2023-02-18T08:12:33.455Z] $ docker rm -f --volumes 4024b868a3a07661bea3d3d14c36ef43f722780626fa5fe1379bab50e86d40e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-18T08:12:33.887Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-18T08:12:33.887Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:34.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:12:34.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:34.247Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:34.273Z] $ 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 [2023-02-18T08:12:34.743Z] $ docker top 89b746d5722e6574a9f52d22441dc87e693551c6a082585159b3093da61bbbeb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-18T08:12:34.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T08:12:34.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T08:12:34.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T08:12:34.942Z] $ docker exec 89b746d5722e6574a9f52d22441dc87e693551c6a082585159b3093da61bbbeb ssh-agent [2023-02-18T08:12:35.045Z] SSH_AUTH_SOCK=/tmp/ssh-rx6mmUG6daP8/agent.32 [2023-02-18T08:12:35.045Z] SSH_AGENT_PID=38 [2023-02-18T08:12:35.052Z] Running ssh-add (command line suppressed) [2023-02-18T08:12:35.151Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2760430019718293080.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2760430019718293080.key) [2023-02-18T08:12:35.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T08:12:35.450Z] + git semver bump pre [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,612 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,612 [bump_version] DEBUG bumping version:3.0.0-dev.34 on axis:pre with prefix:dev [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,612 [bump_version] DEBUG bumped version:3.0.0-dev.35 [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,612 [write_version] DEBUG write version:3.0.0-dev.35 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,613 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,615 [execute] INFO git cat-file --batch-check [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,620 [execute] INFO git cat-file --batch [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-18T08:12:35.709Z] 2023-02-18 08:12:35,625 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:35.709Z] 3.0.0-dev.35 [Pipeline] } [2023-02-18T08:12:35.719Z] $ docker exec --env ******** --env ******** 89b746d5722e6574a9f52d22441dc87e693551c6a082585159b3093da61bbbeb ssh-agent -k [2023-02-18T08:12:35.806Z] unset SSH_AUTH_SOCK; [2023-02-18T08:12:35.806Z] unset SSH_AGENT_PID; [2023-02-18T08:12:35.806Z] echo Agent pid 38 killed; [2023-02-18T08:12:35.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-18T08:12:36.116Z] + git semver [Pipeline] } [2023-02-18T08:12:36.387Z] $ docker stop --time=1 89b746d5722e6574a9f52d22441dc87e693551c6a082585159b3093da61bbbeb [2023-02-18T08:12:37.704Z] $ docker rm -f --volumes 89b746d5722e6574a9f52d22441dc87e693551c6a082585159b3093da61bbbeb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T08:12:38.039Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-18T08:12:38.040Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:38.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T08:12:38.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:38.420Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:38.447Z] $ 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 [2023-02-18T08:12:38.799Z] $ docker top af28b44fc4ec3564f95421bf2dfde6625383e13360379a73e866dac2b5f249fc -eo pid,comm [2023-02-18T08:12:38.847Z] 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). [2023-02-18T08:12:38.847Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-18T08:12:38.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T08:12:38.880Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T08:12:38.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T08:12:38.991Z] $ docker exec af28b44fc4ec3564f95421bf2dfde6625383e13360379a73e866dac2b5f249fc ssh-agent [2023-02-18T08:12:39.100Z] SSH_AUTH_SOCK=/tmp/ssh-OJBSIGSP6tW6/agent.31 [2023-02-18T08:12:39.100Z] SSH_AGENT_PID=37 [2023-02-18T08:12:39.105Z] Running ssh-add (command line suppressed) [2023-02-18T08:12:39.195Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14225849886313181701.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14225849886313181701.key) [2023-02-18T08:12:39.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T08:12:39.497Z] + git semver push [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,673 [run_push] DEBUG push [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,674 [execute] INFO git cat-file --batch-check [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,678 [execute] INFO git rev-list 102de186edab36666aa6ce5903d5d6243d627b63 -- [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,678 [execute] DEBUG Popen(['git', 'rev-list', '102de186edab36666aa6ce5903d5d6243d627b63', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,690 [execute] INFO git fetch -v origin [2023-02-18T08:12:39.755Z] 2023-02-18 08:12:39,690 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-18T08:12:40.324Z] 2023-02-18 08:12:40,225 [run_push] DEBUG no remote changes detected [2023-02-18T08:12:40.324Z] 2023-02-18 08:12:40,226 [execute] INFO git push origin semver [2023-02-18T08:12:40.324Z] 2023-02-18 08:12:40,226 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-18T08:12:41.262Z] 2023-02-18 08:12:41,063 [run_push] DEBUG push all version tags [2023-02-18T08:12:41.262Z] 2023-02-18 08:12:41,064 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-18T08:12:41.262Z] 2023-02-18 08:12:41,064 [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) [2023-02-18T08:12:42.200Z] 2023-02-18 08:12:41,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-02-18T08:12:42.200Z] 3.0.0-dev.35 [Pipeline] } [2023-02-18T08:12:42.209Z] $ docker exec --env ******** --env ******** af28b44fc4ec3564f95421bf2dfde6625383e13360379a73e866dac2b5f249fc ssh-agent -k [2023-02-18T08:12:42.302Z] unset SSH_AUTH_SOCK; [2023-02-18T08:12:42.302Z] unset SSH_AGENT_PID; [2023-02-18T08:12:42.302Z] echo Agent pid 37 killed; [2023-02-18T08:12:42.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-18T08:12:42.623Z] + git semver [Pipeline] } [2023-02-18T08:12:42.895Z] $ docker stop --time=1 af28b44fc4ec3564f95421bf2dfde6625383e13360379a73e866dac2b5f249fc [2023-02-18T08:12:44.172Z] $ docker rm -f --volumes af28b44fc4ec3564f95421bf2dfde6625383e13360379a73e866dac2b5f249fc [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 [2023-02-18T08:12:44.711Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-02-18T08:12:44.711Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-02-18T08:12:44.711Z] total 16 [2023-02-18T08:12:44.711Z] drwxr-xr-x 3 root root 4096 Feb 18 08:02 . [2023-02-18T08:12:44.711Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 18 08:12 .. [2023-02-18T08:12:44.711Z] drwxr-xr-x 2 root root 4096 Feb 18 08:02 cost [2023-02-18T08:12:44.711Z] -rw-r--r-- 1 root root 85 Feb 18 08:02 cost.csv [2023-02-18T08:12:44.711Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-02-18T08:12:44.711Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-02-18T08:12:44.711Z] total 16 [2023-02-18T08:12:44.711Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 08:02 . [2023-02-18T08:12:44.711Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 18 08:12 .. [2023-02-18T08:12:44.711Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 18 08:02 cost [2023-02-18T08:12:44.711Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 18 08:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:44.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:45.854Z] ---> package-listing.sh [2023-02-18T08:12:45.855Z] ++ facter osfamily [2023-02-18T08:12:45.855Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-18T08:12:46.114Z] + OS_FAMILY=debian [2023-02-18T08:12:46.114Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-02-18T08:12:46.114Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-18T08:12:46.114Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-18T08:12:46.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-18T08:12:46.114Z] + PACKAGES=/tmp/packages_start.txt [2023-02-18T08:12:46.114Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-02-18T08:12:46.114Z] + PACKAGES=/tmp/packages_end.txt [2023-02-18T08:12:46.114Z] + case "${OS_FAMILY}" in [2023-02-18T08:12:46.114Z] + dpkg -l [2023-02-18T08:12:46.114Z] + grep '^ii' [2023-02-18T08:12:46.114Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-18T08:12:46.114Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-18T08:12:46.114Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-18T08:12:46.114Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-02-18T08:12:46.114Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-02-18T08:12:46.114Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-02-18T08:12:46.125Z] 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 [2023-02-18T08:12:46.404Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T08:12:46.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T08:12:46.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T08:12:47.040Z] prd-ubuntu20.04-docker-8c-8g-6567 does not seem to be running inside a container [2023-02-18T08:12:47.069Z] $ 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 [2023-02-18T08:12:47.304Z] $ docker top 8f6393f4dae126e9978a587474ab51a7571025a9108665f0f025ca86bc20255c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T08:12:47.660Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-18T08:12:47.947Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-18T08:12:48.233Z] + ls /var/log/sa-host [2023-02-18T08:12:48.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T08:12:48.377Z] provisioning config files... [2023-02-18T08:12:48.387Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15802015996996659571tmp [Pipeline] { [Pipeline] echo [2023-02-18T08:12:48.398Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:48.682Z] ---> create-netrc.sh [Pipeline] } [2023-02-18T08:12:48.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:49.016Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-18T08:12:49.023Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:49.305Z] ---> sudo-logs.sh [2023-02-18T08:12:49.306Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-18T08:12:49.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:49.615Z] ---> job-cost.sh [2023-02-18T08:12:49.615Z] lf-activate-venv: SKIPPING [2023-02-18T08:12:49.615Z] DEBUG: total: 0.2199999988079071 [2023-02-18T08:12:49.615Z] INFO: Retrieving Stack Cost... [2023-02-18T08:12:50.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-18T08:12:50.442Z] INFO: Archiving Costs [Pipeline] echo [2023-02-18T08:12:50.454Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T08:12:50.736Z] ---> logs-deploy.sh [2023-02-18T08:12:50.737Z] lf-activate-venv: SKIPPING [2023-02-18T08:12:50.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/164 [2023-02-18T08:12:50.737Z] INFO: archiving workspace using pattern(s): [2023-02-18T08:12:51.673Z] Archives upload complete. [2023-02-18T08:12:51.673Z] INFO: archiving logs to Nexus