Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0776c05133aecd05e9cca04d73874dfbd24934b0 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-ssh5814685330296689055.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16101097542910259065.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6814706406555364494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14807643747665248580.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-ssh821650034027469343.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1595 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 0776c05133aecd05e9cca04d73874dfbd24934b0 (main) Commit message: "feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471)" > 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 0776c05133aecd05e9cca04d73874dfbd24934b0 # timeout=10 > git rev-list --no-walk d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T21:37:11.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T21:37:11.847Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T21:37:11.871Z] ========================================================= [2023-07-19T21:37:11.871Z] EdgeX Global Pipelines Version Info [2023-07-19T21:37:11.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:37:12.603Z] ------------------- [2023-07-19T21:37:12.603Z] stable info: [2023-07-19T21:37:12.603Z] ------------------- [2023-07-19T21:37:12.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T21:37:12.604Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T21:37:12.604Z] Message: update stable to v1.0.250 [2023-07-19T21:37:13.176Z] ------------------- [2023-07-19T21:37:13.176Z] experimental info: [2023-07-19T21:37:13.176Z] ------------------- [2023-07-19T21:37:13.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T21:37:13.176Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T21:37:13.176Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T21:37:13.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-19T21:37:13.346Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-19T21:37:13.366Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T21:37:13.383Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T21:37:13.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T21:37:13.407Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T21:37:13.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T21:37:13.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-19T21:37:13.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T21:37:13.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T21:37:13.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T21:37:13.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-19T21:37:13.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T21:37:13.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T21:37:13.546Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T21:37:13.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T21:37:13.572Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T21:37:13.585Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T21:37:13.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T21:37:13.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T21:37:13.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-19T21:37:13.622Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-19T21:37:13.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T21:37:13.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T21:37:13.668Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T21:37:13.683Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T21:37:13.696Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T21:37:13.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-19T21:37:13.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-19T21:37:13.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-19T21:37:13.733Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo [2023-07-19T21:37:13.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0776c05 [Pipeline] echo [2023-07-19T21:37:13.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:37:13.799Z] provisioning config files... [2023-07-19T21:37:13.814Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5178726531609418411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:37:14.117Z] ---> docker-login.sh [2023-07-19T21:37:14.117Z] nexus3.edgexfoundry.org:10001 [2023-07-19T21:37:14.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:14.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:14.378Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:14.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:14.378Z] [2023-07-19T21:37:14.378Z] Login Succeeded [2023-07-19T21:37:14.378Z] nexus3.edgexfoundry.org:10002 [2023-07-19T21:37:14.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:14.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:14.640Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:14.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:14.640Z] [2023-07-19T21:37:14.640Z] Login Succeeded [2023-07-19T21:37:14.640Z] nexus3.edgexfoundry.org:10003 [2023-07-19T21:37:14.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:14.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:14.640Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:14.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:14.640Z] [2023-07-19T21:37:14.640Z] Login Succeeded [2023-07-19T21:37:14.640Z] nexus3.edgexfoundry.org:10004 [2023-07-19T21:37:14.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:14.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:14.902Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:14.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:14.902Z] [2023-07-19T21:37:14.902Z] Login Succeeded [2023-07-19T21:37:14.902Z] docker.io [2023-07-19T21:37:14.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:15.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:15.164Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:15.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:15.164Z] [2023-07-19T21:37:15.164Z] Login Succeeded [2023-07-19T21:37:15.164Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T21:37:15.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T21:37:15.551Z] + git rev-list -1 --merges 0776c05133aecd05e9cca04d73874dfbd24934b0~1..0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo [2023-07-19T21:37:15.608Z] -----------> git rev-list -1 --merges 0776c05133aecd05e9cca04d73874dfbd24934b0~1..0776c05133aecd05e9cca04d73874dfbd24934b0 0776c05133aecd05e9cca04d73874dfbd24934b0 [false] [Pipeline] sh [2023-07-19T21:37:15.900Z] + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo [2023-07-19T21:37:15.940Z] ========================================================= [2023-07-19T21:37:15.940Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T21:37:15.940Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T21:37:16.308Z] + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo [2023-07-19T21:37:16.318Z] [semverPrep] GIT_COMMIT: 0776c05133aecd05e9cca04d73874dfbd24934b0, Commit Message: feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471) [Pipeline] echo [2023-07-19T21:37:16.327Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T21:37:16.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T21:37:16.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T21:37:16.697Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T21:37:16.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T21:37:16.697Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T21:37:16.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T21:37:16.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:37:17.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:37:17.113Z] [2023-07-19T21:37:17.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:37:17.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:37:17.416Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T21:37:17.416Z] b85a868b505f: Pulling fs layer [2023-07-19T21:37:17.416Z] e2be974225ed: Pulling fs layer [2023-07-19T21:37:17.416Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T21:37:17.416Z] 988bab9f4d93: Pulling fs layer [2023-07-19T21:37:17.416Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T21:37:17.416Z] eaf3925da568: Pulling fs layer [2023-07-19T21:37:17.416Z] bab4dde63d76: Pulling fs layer [2023-07-19T21:37:17.416Z] bde34c3a00c8: Pulling fs layer [2023-07-19T21:37:17.416Z] b352a97aabf1: Pulling fs layer [2023-07-19T21:37:17.416Z] 4872d77fe225: Pulling fs layer [2023-07-19T21:37:17.416Z] 5851b861e8e6: Pulling fs layer [2023-07-19T21:37:17.416Z] b352a97aabf1: Waiting [2023-07-19T21:37:17.416Z] bab4dde63d76: Waiting [2023-07-19T21:37:17.416Z] 4872d77fe225: Waiting [2023-07-19T21:37:17.416Z] 1469e6f7b9e6: Waiting [2023-07-19T21:37:17.416Z] 5851b861e8e6: Waiting [2023-07-19T21:37:17.416Z] bde34c3a00c8: Waiting [2023-07-19T21:37:17.416Z] 988bab9f4d93: Waiting [2023-07-19T21:37:17.416Z] eaf3925da568: Waiting [2023-07-19T21:37:17.416Z] e2be974225ed: Download complete [2023-07-19T21:37:17.416Z] 988bab9f4d93: Download complete [2023-07-19T21:37:17.416Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T21:37:17.416Z] 1469e6f7b9e6: Download complete [2023-07-19T21:37:17.416Z] eaf3925da568: Download complete [2023-07-19T21:37:17.678Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T21:37:17.678Z] 339a4e72a1f5: Download complete [2023-07-19T21:37:17.678Z] bde34c3a00c8: Verifying Checksum [2023-07-19T21:37:17.678Z] bde34c3a00c8: Download complete [2023-07-19T21:37:17.678Z] b352a97aabf1: Download complete [2023-07-19T21:37:17.678Z] 4872d77fe225: Download complete [2023-07-19T21:37:17.678Z] 5851b861e8e6: Verifying Checksum [2023-07-19T21:37:17.678Z] 5851b861e8e6: Download complete [2023-07-19T21:37:17.678Z] b85a868b505f: Verifying Checksum [2023-07-19T21:37:17.678Z] b85a868b505f: Download complete [2023-07-19T21:37:17.938Z] bab4dde63d76: Verifying Checksum [2023-07-19T21:37:17.938Z] bab4dde63d76: Download complete [2023-07-19T21:37:18.878Z] b85a868b505f: Pull complete [2023-07-19T21:37:19.137Z] e2be974225ed: Pull complete [2023-07-19T21:37:19.707Z] 339a4e72a1f5: Pull complete [2023-07-19T21:37:19.707Z] 988bab9f4d93: Pull complete [2023-07-19T21:37:19.970Z] 1469e6f7b9e6: Pull complete [2023-07-19T21:37:19.970Z] eaf3925da568: Pull complete [2023-07-19T21:37:21.882Z] bab4dde63d76: Pull complete [2023-07-19T21:37:21.882Z] bde34c3a00c8: Pull complete [2023-07-19T21:37:22.142Z] b352a97aabf1: Pull complete [2023-07-19T21:37:22.142Z] 4872d77fe225: Pull complete [2023-07-19T21:37:22.142Z] 5851b861e8e6: Pull complete [2023-07-19T21:37:22.142Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T21:37:22.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:37:22.142Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:37:22.249Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:37:22.267Z] $ 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-07-19T21:37:25.245Z] $ docker top ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 -eo pid,comm [2023-07-19T21:37:25.318Z] 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-07-19T21:37:25.318Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T21:37:25.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T21:37:25.362Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T21:37:25.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T21:37:25.471Z] $ docker exec ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent [2023-07-19T21:37:25.594Z] SSH_AUTH_SOCK=/tmp/ssh-gJracp74VGWe/agent.32 [2023-07-19T21:37:25.594Z] SSH_AGENT_PID=38 [2023-07-19T21:37:25.600Z] Running ssh-add (command line suppressed) [2023-07-19T21:37:25.690Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11053444818157330250.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11053444818157330250.key) [2023-07-19T21:37:25.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T21:37:26.004Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T21:37:26.000Z] $ docker exec --env ******** --env ******** ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent -k [2023-07-19T21:37:26.094Z] unset SSH_AUTH_SOCK; [2023-07-19T21:37:26.095Z] unset SSH_AGENT_PID; [2023-07-19T21:37:26.095Z] echo Agent pid 38 killed; [2023-07-19T21:37:26.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T21:37:26.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T21:37:26.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T21:37:26.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T21:37:26.255Z] $ docker exec ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent [2023-07-19T21:37:26.375Z] SSH_AUTH_SOCK=/tmp/ssh-dFbzk2JPdkEj/agent.70 [2023-07-19T21:37:26.375Z] SSH_AGENT_PID=76 [2023-07-19T21:37:26.379Z] Running ssh-add (command line suppressed) [2023-07-19T21:37:26.466Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9356745573278518109.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9356745573278518109.key) [2023-07-19T21:37:26.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T21:37:26.782Z] + git semver init [2023-07-19T21:37:27.043Z] 2023-07-19 21:37:26,955 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T21:37:27.043Z] 2023-07-19 21:37:26,956 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-19T21:37:27.043Z] 2023-07-19 21:37:26,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-19T21:37:27.043Z] 2023-07-19 21:37:26,957 [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-07-19T21:37:27.984Z] 2023-07-19 21:37:27,845 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-07-19T21:37:27.984Z] 2023-07-19 21:37:27,846 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-07-19T21:37:27.984Z] 2023-07-19 21:37:27,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:37:27.984Z] 2023-07-19 21:37:27,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:37:27.984Z] 3.1.0-dev.7 [Pipeline] } [2023-07-19T21:37:27.981Z] $ docker exec --env ******** --env ******** ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent -k [2023-07-19T21:37:28.086Z] unset SSH_AUTH_SOCK; [2023-07-19T21:37:28.086Z] unset SSH_AGENT_PID; [2023-07-19T21:37:28.087Z] echo Agent pid 76 killed; [2023-07-19T21:37:28.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T21:37:28.424Z] + git semver [Pipeline] } [2023-07-19T21:37:28.692Z] $ docker stop --time=1 ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 [2023-07-19T21:37:29.970Z] $ docker rm -f --volumes ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T21:37:30.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T21:37:30.543Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T21:37:30.546Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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-07-19T21:37:30.687Z] provisioning config files... [2023-07-19T21:37:30.697Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11378548440913571129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:37:30.991Z] ---> docker-login.sh [2023-07-19T21:37:30.991Z] nexus3.edgexfoundry.org:10001 [2023-07-19T21:37:30.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:30.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:30.991Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:30.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:30.991Z] [2023-07-19T21:37:30.991Z] Login Succeeded [2023-07-19T21:37:30.991Z] nexus3.edgexfoundry.org:10002 [2023-07-19T21:37:30.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:30.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:30.991Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:30.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:30.991Z] [2023-07-19T21:37:30.991Z] Login Succeeded [2023-07-19T21:37:30.991Z] nexus3.edgexfoundry.org:10003 [2023-07-19T21:37:31.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:31.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:31.251Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:31.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:31.251Z] [2023-07-19T21:37:31.251Z] Login Succeeded [2023-07-19T21:37:31.251Z] nexus3.edgexfoundry.org:10004 [2023-07-19T21:37:31.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:31.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:31.251Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:31.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:31.251Z] [2023-07-19T21:37:31.251Z] Login Succeeded [2023-07-19T21:37:31.251Z] docker.io [2023-07-19T21:37:31.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:37:31.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:37:31.511Z] Configure a credential helper to remove this warning. See [2023-07-19T21:37:31.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:37:31.511Z] [2023-07-19T21:37:31.511Z] Login Succeeded [2023-07-19T21:37:31.511Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T21:37:31.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T21:37:31.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T21:37:31.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T21:37:31.593Z] ========================================================= [2023-07-19T21:37:31.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T21:37:31.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:37:31.894Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T21:37:31.894Z] Sending build context to Docker daemon 10.98MB [2023-07-19T21:37:31.894Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T21:37:31.894Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T21:37:31.894Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T21:37:31.894Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T21:37:31.894Z] 6911f1a30b25: Pulling fs layer [2023-07-19T21:37:31.894Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T21:37:31.894Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T21:37:31.894Z] ec0bb842ea78: Pulling fs layer [2023-07-19T21:37:31.894Z] 40a00589a448: Pulling fs layer [2023-07-19T21:37:31.894Z] 6c08303d61cc: Pulling fs layer [2023-07-19T21:37:31.894Z] 798269fcf238: Pulling fs layer [2023-07-19T21:37:31.894Z] 6c08303d61cc: Waiting [2023-07-19T21:37:31.894Z] 40a00589a448: Waiting [2023-07-19T21:37:31.894Z] 798269fcf238: Waiting [2023-07-19T21:37:31.894Z] ec0bb842ea78: Waiting [2023-07-19T21:37:31.894Z] 6863d3e3a2b1: Waiting [2023-07-19T21:37:32.155Z] 6911f1a30b25: Verifying Checksum [2023-07-19T21:37:32.155Z] 6911f1a30b25: Download complete [2023-07-19T21:37:32.155Z] 6863d3e3a2b1: Download complete [2023-07-19T21:37:32.155Z] ec0bb842ea78: Verifying Checksum [2023-07-19T21:37:32.155Z] ec0bb842ea78: Download complete [2023-07-19T21:37:32.155Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T21:37:32.155Z] 4db1b89c0bd1: Download complete [2023-07-19T21:37:32.155Z] 40a00589a448: Verifying Checksum [2023-07-19T21:37:32.155Z] 40a00589a448: Download complete [2023-07-19T21:37:32.155Z] 4db1b89c0bd1: Pull complete [2023-07-19T21:37:32.417Z] 6911f1a30b25: Pull complete [2023-07-19T21:37:32.678Z] 798269fcf238: Verifying Checksum [2023-07-19T21:37:32.678Z] 798269fcf238: Download complete [2023-07-19T21:37:32.678Z] e194b8c5c2a9: Download complete [2023-07-19T21:37:32.937Z] 6c08303d61cc: Verifying Checksum [2023-07-19T21:37:32.937Z] 6c08303d61cc: Download complete [2023-07-19T21:37:36.218Z] e194b8c5c2a9: Pull complete [2023-07-19T21:37:36.476Z] 6863d3e3a2b1: Pull complete [2023-07-19T21:37:36.476Z] ec0bb842ea78: Pull complete [2023-07-19T21:37:36.476Z] 40a00589a448: Pull complete [2023-07-19T21:37:39.009Z] 6c08303d61cc: Pull complete [2023-07-19T21:37:39.943Z] 798269fcf238: Pull complete [2023-07-19T21:37:39.943Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T21:37:39.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T21:37:39.943Z] ---> ec979cd7f677 [2023-07-19T21:37:39.943Z] Step 3/10 : ARG MAKE=make build [2023-07-19T21:37:44.135Z] ---> Running in 15c9754ed609 [2023-07-19T21:37:44.135Z] Removing intermediate container 15c9754ed609 [2023-07-19T21:37:44.135Z] ---> 9d9ec4d4ae74 [2023-07-19T21:37:44.135Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T21:37:44.135Z] ---> Running in a737879d2b6e [2023-07-19T21:37:44.135Z] Removing intermediate container a737879d2b6e [2023-07-19T21:37:44.135Z] ---> 250075a82b10 [2023-07-19T21:37:44.135Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T21:37:44.135Z] ---> Running in b98d903d4d39 [2023-07-19T21:37:44.135Z] Removing intermediate container b98d903d4d39 [2023-07-19T21:37:44.135Z] ---> 548966646428 [2023-07-19T21:37:44.135Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T21:37:44.135Z] ---> Running in c7f4c62a02f2 [2023-07-19T21:37:44.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T21:37:44.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T21:37:44.653Z] OK: 265 MiB in 53 packages [2023-07-19T21:37:45.220Z] Removing intermediate container c7f4c62a02f2 [2023-07-19T21:37:45.220Z] ---> d1eb38f829bc [2023-07-19T21:37:45.220Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T21:37:45.220Z] ---> bb1f571f608c [2023-07-19T21:37:45.220Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T21:37:45.220Z] ---> Running in cf0ff9ec4247 [2023-07-19T21:37:45.640Z] Still waiting to schedule task [2023-07-19T21:37:45.641Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T21:38:31.935Z] Removing intermediate container cf0ff9ec4247 [2023-07-19T21:38:31.935Z] ---> 883d64d9bd6e [2023-07-19T21:38:31.935Z] Step 9/10 : COPY . . [2023-07-19T21:38:31.935Z] ---> 0d10f29a946a [2023-07-19T21:38:31.935Z] Step 10/10 : RUN ${MAKE} [2023-07-19T21:38:31.935Z] ---> Running in 9ff6143a069e [2023-07-19T21:38:31.935Z] noop [2023-07-19T21:38:31.935Z] Removing intermediate container 9ff6143a069e [2023-07-19T21:38:31.935Z] ---> 609d9fc04712 [2023-07-19T21:38:31.935Z] Successfully built 609d9fc04712 [2023-07-19T21:38:31.935Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:38:32.253Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T21:38:32.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:38:32.321Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:38:32.354Z] $ 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-07-19T21:38:32.736Z] $ docker top 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:38:33.076Z] + go version [2023-07-19T21:38:33.076Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T21:38:33.089Z] $ docker stop --time=1 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 [2023-07-19T21:38:34.355Z] $ docker rm -f --volumes 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:38:34.754Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T21:38:34.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:38:34.831Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:38:34.860Z] $ 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-07-19T21:38:35.210Z] $ docker top 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:38:35.556Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-19T21:38:35.850Z] + make test [2023-07-19T21:38:35.850Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T21:38:42.418Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T21:38:57.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T21:38:57.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-07-19T21:38:57.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T21:38:57.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.087s coverage: 70.6% of statements [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T21:38:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T21:38:57.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T21:39:00.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.3% of statements [2023-07-19T21:39:00.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.402s coverage: 43.8% of statements [2023-07-19T21:39:00.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.063s coverage: 68.5% of statements [2023-07-19T21:39:00.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.131s coverage: 89.2% of statements [2023-07-19T21:39:00.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements [2023-07-19T21:39:15.079Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1596 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-07-19T21:39:15.091Z] Running in /w/workspace/device-sdk-go/236 [Pipeline] { [Pipeline] checkout [2023-07-19T21:39:15.122Z] The recommended git tool is: git [2023-07-19T21:39:20.078Z] using credential edgex-jenkins-ssh [2023-07-19T21:39:20.093Z] Cloning the remote Git repository [2023-07-19T21:39:20.136Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T21:39:20.228Z] > git init /w/workspace/device-sdk-go/236 # timeout=10 [2023-07-19T21:39:20.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T21:39:20.384Z] > git --version # timeout=10 [2023-07-19T21:39:20.419Z] > git --version # 'git version 2.25.1' [2023-07-19T21:39:20.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T21:39:20.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T21:39:22.376Z] GO111MODULE=on go vet ./... [2023-07-19T21:39:22.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T21:39:22.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T21:39:22.921Z] Avoid second fetch [2023-07-19T21:39:22.922Z] Checking out Revision 0776c05133aecd05e9cca04d73874dfbd24934b0 (main) [2023-07-19T21:39:23.481Z] Commit message: "feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-07-19T21:39:22.942Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T21:39:23.016Z] > git checkout -f 0776c05133aecd05e9cca04d73874dfbd24934b0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T21:39:24.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T21:39:24.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T21:39:24.433Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T21:39:24.433Z] Dload Upload Total Spent Left Speed [2023-07-19T21:39:24.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [2023-07-19T21:39:24.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T21:39:24.535Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T21:39:24.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T21:39:24.584Z] $ docker stop --time=1 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 [2023-07-19T21:39:27.764Z] $ docker rm -f --volumes 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-07-19T21:39:28.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T21:39:28.400Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T21:39:28.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-07-19T21:39:28.727Z] + sudo tee /etc/docker/daemon.new [2023-07-19T21:39:28.727Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T21:39:28.727Z] { [2023-07-19T21:39:28.727Z] "registry-mirrors": [ [2023-07-19T21:39:28.727Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T21:39:28.727Z] ], [2023-07-19T21:39:28.727Z] "bip": "10.250.0.254/24", [2023-07-19T21:39:28.727Z] "hosts": [ [2023-07-19T21:39:28.727Z] "tcp://0.0.0.0:5555", [2023-07-19T21:39:28.727Z] "unix:///var/run/docker.sock" [2023-07-19T21:39:28.727Z] ], [2023-07-19T21:39:28.727Z] "mtu": 1458, [2023-07-19T21:39:28.727Z] "selinux-enabled": true, [2023-07-19T21:39:28.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T21:39:28.727Z] } [Pipeline] sh [Pipeline] sh [2023-07-19T21:39:29.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T21:39:29.079Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T21:39:29.300Z] + ls -al . [2023-07-19T21:39:29.300Z] total 300 [2023-07-19T21:39:29.300Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 21:38 . [2023-07-19T21:39:29.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:37 .. [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:37 .dockerignore [2023-07-19T21:39:29.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:37 .git [2023-07-19T21:39:29.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:37 .github [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:37 .gitignore [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:37 .golangci.yml [2023-07-19T21:39:29.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:37 .semver [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:37 CHANGELOG.md [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:37 GOVERNANCE.md [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:37 Jenkinsfile [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:37 LICENSE [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:37 Makefile [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:37 OWNERS.md [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:37 README.md [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:37 VERSION [2023-07-19T21:39:29.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:37 bin [2023-07-19T21:39:29.300Z] -rw-r--r-- 1 jenkins jenkins 119517 Jul 19 21:39 coverage.out [2023-07-19T21:39:29.300Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:37 example [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:37 go.mod [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:37 go.sum [2023-07-19T21:39:29.300Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:37 internal [2023-07-19T21:39:29.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:37 openapi [2023-07-19T21:39:29.300Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:37 pkg [2023-07-19T21:39:29.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:37 snap [2023-07-19T21:39:29.300Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:39:29.417Z] + sudo service docker restart [2023-07-19T21:39:29.602Z] + 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=0776c05133aecd05e9cca04d73874dfbd24934b0 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-07-19T21:39:29.602Z] Sending build context to Docker daemon 11.1MB [2023-07-19T21:39:29.602Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T21:39:29.602Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T21:39:29.602Z] ---> 609d9fc04712 [2023-07-19T21:39:29.602Z] Step 3/23 : ARG MAKE=make build [2023-07-19T21:39:29.860Z] ---> Running in 532d79b0f950 [2023-07-19T21:39:29.860Z] Removing intermediate container 532d79b0f950 [2023-07-19T21:39:29.860Z] ---> cae0d3b63e1d [2023-07-19T21:39:29.860Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T21:39:30.119Z] ---> Running in 3754ea90bcf4 [2023-07-19T21:39:30.119Z] Removing intermediate container 3754ea90bcf4 [2023-07-19T21:39:30.119Z] ---> 7afa30561f7c [2023-07-19T21:39:30.119Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T21:39:30.119Z] ---> Running in ea83153ec306 [2023-07-19T21:39:30.119Z] Removing intermediate container ea83153ec306 [2023-07-19T21:39:30.119Z] ---> 645b5f83f0c6 [2023-07-19T21:39:30.119Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T21:39:30.119Z] ---> Running in 6dd4ed3c55ac [2023-07-19T21:39:30.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T21:39:30.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T21:39:30.896Z] OK: 265 MiB in 53 packages [2023-07-19T21:39:31.155Z] Removing intermediate container 6dd4ed3c55ac [2023-07-19T21:39:31.155Z] ---> 7e76c4137091 [2023-07-19T21:39:31.155Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T21:39:31.413Z] ---> 3716ef943133 [2023-07-19T21:39:31.413Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T21:39:31.413Z] ---> Running in 19a6008329a3 [2023-07-19T21:39:31.980Z] Removing intermediate container 19a6008329a3 [2023-07-19T21:39:31.980Z] ---> 5ebba6283e33 [2023-07-19T21:39:31.980Z] Step 9/23 : COPY . . [2023-07-19T21:39:32.239Z] ---> 87da2fc23c96 [2023-07-19T21:39:32.239Z] Step 10/23 : RUN ${MAKE} [2023-07-19T21:39:32.499Z] ---> Running in 8c8960784123 [2023-07-19T21:39:32.757Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:39:47.663Z] provisioning config files... [2023-07-19T21:39:47.688Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/236@tmp/config15549372696659421788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:39:48.030Z] ---> docker-login.sh [2023-07-19T21:39:48.030Z] nexus3.edgexfoundry.org:10001 [2023-07-19T21:39:48.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:39:48.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:39:48.570Z] Configure a credential helper to remove this warning. See [2023-07-19T21:39:48.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:39:48.570Z] [2023-07-19T21:39:48.570Z] Login Succeeded [2023-07-19T21:39:48.570Z] nexus3.edgexfoundry.org:10002 [2023-07-19T21:39:48.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:39:48.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:39:48.839Z] Configure a credential helper to remove this warning. See [2023-07-19T21:39:48.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:39:48.839Z] [2023-07-19T21:39:48.839Z] Login Succeeded [2023-07-19T21:39:48.839Z] nexus3.edgexfoundry.org:10003 [2023-07-19T21:39:49.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:39:49.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:39:49.384Z] Configure a credential helper to remove this warning. See [2023-07-19T21:39:49.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:39:49.384Z] [2023-07-19T21:39:49.384Z] Login Succeeded [2023-07-19T21:39:49.384Z] nexus3.edgexfoundry.org:10004 [2023-07-19T21:39:49.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:39:49.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:39:49.652Z] Configure a credential helper to remove this warning. See [2023-07-19T21:39:49.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:39:49.652Z] [2023-07-19T21:39:49.652Z] Login Succeeded [2023-07-19T21:39:49.652Z] docker.io [2023-07-19T21:39:49.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T21:39:50.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T21:39:50.185Z] Configure a credential helper to remove this warning. See [2023-07-19T21:39:50.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T21:39:50.185Z] [2023-07-19T21:39:50.185Z] Login Succeeded [2023-07-19T21:39:50.185Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T21:39:50.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T21:39:50.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T21:39:50.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T21:39:50.452Z] ========================================================= [2023-07-19T21:39:50.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T21:39:50.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:39:50.798Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T21:39:50.836Z] Removing intermediate container 8c8960784123 [2023-07-19T21:39:50.836Z] ---> 7c569c63811f [2023-07-19T21:39:50.836Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T21:39:50.836Z] 3.17: Pulling from library/alpine [2023-07-19T21:39:50.836Z] 4db1b89c0bd1: Already exists [2023-07-19T21:39:51.068Z] Sending build context to Docker daemon 5.862MB [2023-07-19T21:39:51.068Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T21:39:51.068Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T21:39:51.094Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T21:39:51.094Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T21:39:51.094Z] ---> 1f73a9d63274 [2023-07-19T21:39:51.094Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T21:39:51.094Z] ---> Running in 1dd91fa1abfa [2023-07-19T21:39:51.094Z] Removing intermediate container 1dd91fa1abfa [2023-07-19T21:39:51.094Z] ---> 90391e0cce1e [2023-07-19T21:39:51.094Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T21:39:51.094Z] ---> Running in c9601cd95c2f [2023-07-19T21:39:51.339Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T21:39:51.339Z] edb6bdbacee9: Pulling fs layer [2023-07-19T21:39:51.339Z] 5f9638ab2659: Pulling fs layer [2023-07-19T21:39:51.339Z] 8d51d6327a98: Pulling fs layer [2023-07-19T21:39:51.339Z] 8b374f2dd631: Pulling fs layer [2023-07-19T21:39:51.339Z] ec14aa9079de: Pulling fs layer [2023-07-19T21:39:51.339Z] 2f466654f4bb: Pulling fs layer [2023-07-19T21:39:51.339Z] 554e91adad29: Pulling fs layer [2023-07-19T21:39:51.339Z] 8b374f2dd631: Waiting [2023-07-19T21:39:51.339Z] ec14aa9079de: Waiting [2023-07-19T21:39:51.339Z] 2f466654f4bb: Waiting [2023-07-19T21:39:51.339Z] 554e91adad29: Waiting [2023-07-19T21:39:51.339Z] 5f9638ab2659: Verifying Checksum [2023-07-19T21:39:51.339Z] 5f9638ab2659: Download complete [2023-07-19T21:39:51.339Z] 8b374f2dd631: Verifying Checksum [2023-07-19T21:39:51.339Z] 8b374f2dd631: Download complete [2023-07-19T21:39:51.339Z] ec14aa9079de: Verifying Checksum [2023-07-19T21:39:51.339Z] ec14aa9079de: Download complete [2023-07-19T21:39:51.339Z] edb6bdbacee9: Download complete [2023-07-19T21:39:51.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T21:39:51.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T21:39:51.871Z] OK: 7 MiB in 15 packages [2023-07-19T21:39:52.130Z] Removing intermediate container c9601cd95c2f [2023-07-19T21:39:52.130Z] ---> 0000992ed1f4 [2023-07-19T21:39:52.130Z] Step 14/23 : WORKDIR / [2023-07-19T21:39:52.130Z] ---> Running in 660b1d98a9f2 [2023-07-19T21:39:52.130Z] Removing intermediate container 660b1d98a9f2 [2023-07-19T21:39:52.130Z] ---> 287e9bf0c180 [2023-07-19T21:39:52.130Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T21:39:52.389Z] ---> 3695f7229d6f [2023-07-19T21:39:52.389Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T21:39:52.773Z] 554e91adad29: Verifying Checksum [2023-07-19T21:39:52.773Z] 554e91adad29: Download complete [2023-07-19T21:39:53.030Z] ---> f68fcad03417 [2023-07-19T21:39:53.030Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T21:39:53.289Z] ---> a4abf3b1d48b [2023-07-19T21:39:53.289Z] Step 18/23 : EXPOSE 59999 [2023-07-19T21:39:53.289Z] ---> Running in f8344c913bc5 [2023-07-19T21:39:53.289Z] Removing intermediate container f8344c913bc5 [2023-07-19T21:39:53.289Z] ---> 62ce704863ee [2023-07-19T21:39:53.289Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T21:39:53.289Z] ---> Running in c259a13db687 [2023-07-19T21:39:53.289Z] Removing intermediate container c259a13db687 [2023-07-19T21:39:53.289Z] ---> 2292d1f79e42 [2023-07-19T21:39:53.289Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T21:39:53.289Z] ---> Running in f2f67ea16ca8 [2023-07-19T21:39:53.547Z] Removing intermediate container f2f67ea16ca8 [2023-07-19T21:39:53.547Z] ---> 468cb7a42300 [2023-07-19T21:39:53.547Z] Step 21/23 : LABEL arch=amd64 [2023-07-19T21:39:53.547Z] ---> Running in bc85134f7791 [2023-07-19T21:39:53.547Z] Removing intermediate container bc85134f7791 [2023-07-19T21:39:53.547Z] ---> c966d3b3caa4 [2023-07-19T21:39:53.547Z] Step 22/23 : LABEL git_sha=0776c05133aecd05e9cca04d73874dfbd24934b0 [2023-07-19T21:39:53.547Z] ---> Running in fee1ed03184c [2023-07-19T21:39:53.547Z] Removing intermediate container fee1ed03184c [2023-07-19T21:39:53.547Z] ---> 8b41a1a2cad3 [2023-07-19T21:39:53.547Z] Step 23/23 : LABEL version=3.1.0-dev.7 [2023-07-19T21:39:53.547Z] ---> Running in ee69cf42d65c [2023-07-19T21:39:53.748Z] 8d51d6327a98: Verifying Checksum [2023-07-19T21:39:53.748Z] 8d51d6327a98: Download complete [2023-07-19T21:39:53.748Z] 2f466654f4bb: Verifying Checksum [2023-07-19T21:39:53.748Z] 2f466654f4bb: Download complete [2023-07-19T21:39:53.808Z] Removing intermediate container ee69cf42d65c [2023-07-19T21:39:53.808Z] ---> 1c65475b696f [2023-07-19T21:39:53.808Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T21:39:53.808Z] Successfully built 1c65475b696f [2023-07-19T21:39:53.808Z] 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-07-19T21:39:54.018Z] edb6bdbacee9: Pull complete [2023-07-19T21:39:54.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T21:39:54.232Z] [2023-07-19T21:39:54.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:39:54.293Z] 5f9638ab2659: Pull complete [2023-07-19T21:39:54.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T21:39:54.534Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T21:39:54.534Z] 5eb5b503b376: Pulling fs layer [2023-07-19T21:39:54.534Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T21:39:54.534Z] ec43610c2a17: Pulling fs layer [2023-07-19T21:39:54.534Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T21:39:54.534Z] 33b1e0a273af: Pulling fs layer [2023-07-19T21:39:54.534Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T21:39:54.534Z] 2f39f015ded8: Pulling fs layer [2023-07-19T21:39:54.534Z] 33b1e0a273af: Waiting [2023-07-19T21:39:54.534Z] 5d3b04190fa2: Waiting [2023-07-19T21:39:54.534Z] 2f39f015ded8: Waiting [2023-07-19T21:39:54.534Z] 3a2ae6a8a46f: Waiting [2023-07-19T21:39:54.534Z] 5c69ac0246d0: Download complete [2023-07-19T21:39:54.534Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T21:39:54.534Z] 3a2ae6a8a46f: Download complete [2023-07-19T21:39:54.534Z] 33b1e0a273af: Verifying Checksum [2023-07-19T21:39:54.534Z] 33b1e0a273af: Download complete [2023-07-19T21:39:54.534Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T21:39:54.534Z] 5d3b04190fa2: Download complete [2023-07-19T21:39:54.534Z] ec43610c2a17: Verifying Checksum [2023-07-19T21:39:54.534Z] ec43610c2a17: Download complete [2023-07-19T21:39:54.793Z] 5eb5b503b376: Verifying Checksum [2023-07-19T21:39:54.793Z] 5eb5b503b376: Download complete [2023-07-19T21:39:55.359Z] 2f39f015ded8: Verifying Checksum [2023-07-19T21:39:55.359Z] 2f39f015ded8: Download complete [2023-07-19T21:39:55.925Z] 5eb5b503b376: Pull complete [2023-07-19T21:39:55.925Z] 5c69ac0246d0: Pull complete [2023-07-19T21:39:56.185Z] ec43610c2a17: Pull complete [2023-07-19T21:39:56.444Z] 3a2ae6a8a46f: Pull complete [2023-07-19T21:39:56.444Z] 33b1e0a273af: Pull complete [2023-07-19T21:39:56.703Z] 5d3b04190fa2: Pull complete [2023-07-19T21:40:00.891Z] 2f39f015ded8: Pull complete [2023-07-19T21:40:00.891Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T21:40:00.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T21:40:00.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:40:00.979Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:40:01.016Z] $ 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-07-19T21:40:04.338Z] $ docker top e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:40:04.732Z] ---> job-cost.sh [2023-07-19T21:40:04.732Z] lf-activate-venv: SKIPPING [2023-07-19T21:40:04.732Z] INFO: No Stack... [2023-07-19T21:40:04.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T21:40:05.560Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T21:40:05.851Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-07-19T21:40:05.851Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T21:40:05.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [2023-07-19T21:40:05.871Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] did not exist. Created. [2023-07-19T21:40:05.871Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T21:40:06.169Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T21:40:06.202Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T21:40:06.210Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T21:40:06.235Z] $ docker stop --time=1 e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 [2023-07-19T21:40:06.628Z] 8d51d6327a98: Pull complete [2023-07-19T21:40:06.628Z] 8b374f2dd631: Pull complete [2023-07-19T21:40:06.628Z] ec14aa9079de: Pull complete [2023-07-19T21:40:07.375Z] $ docker rm -f --volumes e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T21:40:11.996Z] 2f466654f4bb: Pull complete [2023-07-19T21:40:13.969Z] 554e91adad29: Pull complete [2023-07-19T21:40:13.969Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T21:40:13.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T21:40:13.969Z] ---> 1e15ea492957 [2023-07-19T21:40:13.969Z] Step 3/10 : ARG MAKE=make build [2023-07-19T21:40:15.926Z] ---> Running in b1f53a9688e1 [2023-07-19T21:40:15.926Z] Removing intermediate container b1f53a9688e1 [2023-07-19T21:40:15.926Z] ---> ceb86718b078 [2023-07-19T21:40:15.926Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T21:40:16.193Z] ---> Running in 1ac924be1ee1 [2023-07-19T21:40:16.461Z] Removing intermediate container 1ac924be1ee1 [2023-07-19T21:40:16.461Z] ---> 04dd308e778e [2023-07-19T21:40:16.461Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T21:40:16.461Z] ---> Running in a5ca22fbdc9b [2023-07-19T21:40:16.728Z] Removing intermediate container a5ca22fbdc9b [2023-07-19T21:40:16.728Z] ---> e8f894a2a399 [2023-07-19T21:40:16.728Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T21:40:16.996Z] ---> Running in 314e43692ffc [2023-07-19T21:40:17.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T21:40:18.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T21:40:19.505Z] OK: 263 MiB in 53 packages [2023-07-19T21:40:22.929Z] Removing intermediate container 314e43692ffc [2023-07-19T21:40:22.929Z] ---> 1d7e945596e6 [2023-07-19T21:40:22.929Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T21:40:22.929Z] ---> 7baf96770ef7 [2023-07-19T21:40:22.929Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T21:40:22.929Z] ---> Running in 72d240ace75a [2023-07-19T21:41:30.845Z] Removing intermediate container 72d240ace75a [2023-07-19T21:41:30.845Z] ---> 81eae6858894 [2023-07-19T21:41:30.845Z] Step 9/10 : COPY . . [2023-07-19T21:41:30.845Z] ---> 415e475bd50a [2023-07-19T21:41:30.845Z] Step 10/10 : RUN ${MAKE} [2023-07-19T21:41:30.845Z] ---> Running in 9b3ec53863f6 [2023-07-19T21:41:30.845Z] noop [2023-07-19T21:41:30.845Z] Removing intermediate container 9b3ec53863f6 [2023-07-19T21:41:30.845Z] ---> ce0217d5fe03 [2023-07-19T21:41:30.845Z] Successfully built ce0217d5fe03 [2023-07-19T21:41:30.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:41:31.202Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T21:41:31.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:41:31.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2023-07-19T21:41:31.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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-07-19T21:41:32.637Z] $ docker top 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:41:33.452Z] + go version [2023-07-19T21:41:33.452Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T21:41:33.474Z] $ docker stop --time=1 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 [2023-07-19T21:41:35.042Z] $ docker rm -f --volumes 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:41:35.579Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T21:41:35.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:41:35.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2023-07-19T21:41:35.811Z] $ 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/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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-07-19T21:41:36.967Z] $ docker top 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:41:37.464Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/236 [Pipeline] fileExists [Pipeline] sh [2023-07-19T21:41:38.112Z] + make test [2023-07-19T21:41:38.112Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T21:42:16.984Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T21:44:23.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T21:44:23.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T21:44:23.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T21:44:23.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T21:44:23.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T21:44:23.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-07-19T21:44:26.981Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 80.2% of statements [2023-07-19T21:44:41.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T21:44:41.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T21:44:41.988Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.372s coverage: 86.0% of statements [2023-07-19T21:44:47.363Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T21:44:47.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.432s coverage: 70.6% of statements [2023-07-19T21:44:50.713Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.288s coverage: 14.3% of statements [2023-07-19T21:44:52.659Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T21:44:52.659Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T21:44:53.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.967s coverage: 43.8% of statements [2023-07-19T21:44:53.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.424s coverage: 68.5% of statements [2023-07-19T21:44:56.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.431s coverage: 89.2% of statements [2023-07-19T21:44:57.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T21:44:57.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.6% of statements [2023-07-19T21:44:58.397Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T21:44:58.398Z] GO111MODULE=on go vet ./... [2023-07-19T21:47:20.092Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T21:47:20.092Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T21:47:20.092Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T21:47:20.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T21:47:20.127Z] $ docker stop --time=1 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b [2023-07-19T21:47:21.941Z] $ docker rm -f --volumes 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T21:47:23.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T21:47:23.423Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T21:47:23.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T21:47:24.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T21:47:24.620Z] + ls -al . [2023-07-19T21:47:24.620Z] total 296 [2023-07-19T21:47:24.620Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:41 . [2023-07-19T21:47:24.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:39 .. [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:39 .dockerignore [2023-07-19T21:47:24.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:39 .git [2023-07-19T21:47:24.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:39 .github [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:39 .gitignore [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:39 .golangci.yml [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:39 CHANGELOG.md [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:39 GOVERNANCE.md [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:39 Jenkinsfile [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:39 LICENSE [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:39 Makefile [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:39 OWNERS.md [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:39 README.md [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:37 VERSION [2023-07-19T21:47:24.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:39 bin [2023-07-19T21:47:24.620Z] -rw-r--r-- 1 jenkins jenkins 119517 Jul 19 21:44 coverage.out [2023-07-19T21:47:24.620Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:39 example [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:39 go.mod [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:39 go.sum [2023-07-19T21:47:24.620Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:39 internal [2023-07-19T21:47:24.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:39 openapi [2023-07-19T21:47:24.620Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:39 pkg [2023-07-19T21:47:24.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:39 snap [2023-07-19T21:47:24.620Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:47:24.953Z] + 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=0776c05133aecd05e9cca04d73874dfbd24934b0 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-07-19T21:47:25.219Z] Sending build context to Docker daemon 5.982MB [2023-07-19T21:47:25.219Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T21:47:25.219Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T21:47:25.219Z] ---> ce0217d5fe03 [2023-07-19T21:47:25.219Z] Step 3/23 : ARG MAKE=make build [2023-07-19T21:47:25.486Z] ---> Running in 1e27166929b1 [2023-07-19T21:47:25.755Z] Removing intermediate container 1e27166929b1 [2023-07-19T21:47:25.755Z] ---> 58cc114d912c [2023-07-19T21:47:25.755Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T21:47:25.755Z] ---> Running in cf3f2cb6056e [2023-07-19T21:47:26.022Z] Removing intermediate container cf3f2cb6056e [2023-07-19T21:47:26.022Z] ---> f294044a695e [2023-07-19T21:47:26.022Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T21:47:26.022Z] ---> Running in 0292f584dd25 [2023-07-19T21:47:26.289Z] Removing intermediate container 0292f584dd25 [2023-07-19T21:47:26.289Z] ---> 4db4d8e00ff9 [2023-07-19T21:47:26.289Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T21:47:26.566Z] ---> Running in fcb61dd57562 [2023-07-19T21:47:27.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T21:47:28.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T21:47:29.069Z] OK: 263 MiB in 53 packages [2023-07-19T21:47:29.654Z] Removing intermediate container fcb61dd57562 [2023-07-19T21:47:29.654Z] ---> d11131d9fa46 [2023-07-19T21:47:29.654Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T21:47:30.238Z] ---> 42d7fac367e7 [2023-07-19T21:47:30.238Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T21:47:30.238Z] ---> Running in eba58a729bc6 [2023-07-19T21:47:33.450Z] Removing intermediate container eba58a729bc6 [2023-07-19T21:47:33.450Z] ---> 73c8ac6162d7 [2023-07-19T21:47:33.450Z] Step 9/23 : COPY . . [2023-07-19T21:47:34.410Z] ---> 8f569531efe1 [2023-07-19T21:47:34.410Z] Step 10/23 : RUN ${MAKE} [2023-07-19T21:47:34.410Z] ---> Running in bb1028e9cd3a [2023-07-19T21:47:35.367Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-19T21:49:42.249Z] Removing intermediate container bb1028e9cd3a [2023-07-19T21:49:42.249Z] ---> 4a5c48de76fd [2023-07-19T21:49:42.249Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T21:49:42.830Z] 3.17: Pulling from library/alpine [2023-07-19T21:49:42.830Z] edb6bdbacee9: Already exists [2023-07-19T21:49:43.098Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T21:49:43.098Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T21:49:43.098Z] ---> 779605e5fbc0 [2023-07-19T21:49:43.098Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T21:49:43.098Z] ---> Running in 5f0982274773 [2023-07-19T21:49:43.367Z] Removing intermediate container 5f0982274773 [2023-07-19T21:49:43.367Z] ---> a34478310ed4 [2023-07-19T21:49:43.367Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T21:49:43.367Z] ---> Running in 6377abc985b7 [2023-07-19T21:49:44.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T21:49:44.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T21:49:45.865Z] OK: 7 MiB in 15 packages [2023-07-19T21:49:46.828Z] Removing intermediate container 6377abc985b7 [2023-07-19T21:49:46.828Z] ---> 92d8cebf6c4a [2023-07-19T21:49:46.828Z] Step 14/23 : WORKDIR / [2023-07-19T21:49:46.828Z] ---> Running in 5c3abed0f5a0 [2023-07-19T21:49:47.095Z] Removing intermediate container 5c3abed0f5a0 [2023-07-19T21:49:47.095Z] ---> 45edf33b402a [2023-07-19T21:49:47.095Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T21:49:47.680Z] ---> f97285c72656 [2023-07-19T21:49:47.680Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T21:49:49.089Z] ---> 5d846bccf8e9 [2023-07-19T21:49:49.089Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T21:49:49.358Z] ---> 2ac9c3e3eab0 [2023-07-19T21:49:49.358Z] Step 18/23 : EXPOSE 59999 [2023-07-19T21:49:49.358Z] ---> Running in f8480a250008 [2023-07-19T21:49:49.627Z] Removing intermediate container f8480a250008 [2023-07-19T21:49:49.627Z] ---> f5b7ca219125 [2023-07-19T21:49:49.627Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T21:49:49.895Z] ---> Running in 55b0e251dd56 [2023-07-19T21:49:50.163Z] Removing intermediate container 55b0e251dd56 [2023-07-19T21:49:50.163Z] ---> 16b954c65bda [2023-07-19T21:49:50.163Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T21:49:50.163Z] ---> Running in af3e15ff4dbe [2023-07-19T21:49:50.430Z] Removing intermediate container af3e15ff4dbe [2023-07-19T21:49:50.430Z] ---> 64aadae36d21 [2023-07-19T21:49:50.430Z] Step 21/23 : LABEL arch=arm64 [2023-07-19T21:49:50.430Z] ---> Running in ceb61fbee0e1 [2023-07-19T21:49:50.698Z] Removing intermediate container ceb61fbee0e1 [2023-07-19T21:49:50.698Z] ---> 168882eb4e22 [2023-07-19T21:49:50.698Z] Step 22/23 : LABEL git_sha=0776c05133aecd05e9cca04d73874dfbd24934b0 [2023-07-19T21:49:50.698Z] ---> Running in 08854a97dfa3 [2023-07-19T21:49:50.965Z] Removing intermediate container 08854a97dfa3 [2023-07-19T21:49:50.965Z] ---> 768e5a813346 [2023-07-19T21:49:50.965Z] Step 23/23 : LABEL version=3.1.0-dev.7 [2023-07-19T21:49:51.232Z] ---> Running in 55f5ec1fa4a3 [2023-07-19T21:49:51.500Z] Removing intermediate container 55f5ec1fa4a3 [2023-07-19T21:49:51.500Z] ---> 3f48b8376d69 [2023-07-19T21:49:51.500Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T21:49:51.500Z] Successfully built 3f48b8376d69 [2023-07-19T21:49:51.500Z] 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-07-19T21:49:51.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:49:51.928Z] [2023-07-19T21:49:51.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:49:52.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:49:52.254Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T21:49:52.254Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T21:49:52.254Z] 04944245beec: Pulling fs layer [2023-07-19T21:49:52.254Z] 699f458cf7ca: Pulling fs layer [2023-07-19T21:49:52.254Z] 765212b225bb: Pulling fs layer [2023-07-19T21:49:52.254Z] f23df028b6ca: Pulling fs layer [2023-07-19T21:49:52.254Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T21:49:52.254Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T21:49:52.254Z] 765212b225bb: Waiting [2023-07-19T21:49:52.254Z] f23df028b6ca: Waiting [2023-07-19T21:49:52.254Z] d65c8cfc05b1: Waiting [2023-07-19T21:49:52.254Z] 2437ff75d9bd: Waiting [2023-07-19T21:49:52.525Z] 04944245beec: Verifying Checksum [2023-07-19T21:49:52.525Z] 04944245beec: Download complete [2023-07-19T21:49:52.525Z] 765212b225bb: Verifying Checksum [2023-07-19T21:49:52.525Z] 765212b225bb: Download complete [2023-07-19T21:49:52.525Z] f23df028b6ca: Verifying Checksum [2023-07-19T21:49:52.525Z] f23df028b6ca: Download complete [2023-07-19T21:49:52.525Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T21:49:52.525Z] d65c8cfc05b1: Download complete [2023-07-19T21:49:52.525Z] 699f458cf7ca: Verifying Checksum [2023-07-19T21:49:52.525Z] 699f458cf7ca: Download complete [2023-07-19T21:49:53.113Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T21:49:53.113Z] 8998bd30e6a1: Download complete [2023-07-19T21:49:55.056Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T21:49:55.056Z] 2437ff75d9bd: Download complete [2023-07-19T21:49:57.002Z] 8998bd30e6a1: Pull complete [2023-07-19T21:49:57.268Z] 04944245beec: Pull complete [2023-07-19T21:49:58.689Z] 699f458cf7ca: Pull complete [2023-07-19T21:49:58.689Z] 765212b225bb: Pull complete [2023-07-19T21:49:59.669Z] f23df028b6ca: Pull complete [2023-07-19T21:49:59.669Z] d65c8cfc05b1: Pull complete [2023-07-19T21:50:14.657Z] 2437ff75d9bd: Pull complete [2023-07-19T21:50:14.657Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T21:50:14.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T21:50:14.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:50:14.838Z] prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container [2023-07-19T21:50:14.907Z] $ 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/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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-07-19T21:50:17.489Z] $ docker top 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:50:17.990Z] ---> job-cost.sh [2023-07-19T21:50:18.254Z] lf-activate-venv: SKIPPING [2023-07-19T21:50:18.254Z] INFO: No Stack... [2023-07-19T21:50:18.833Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T21:50:19.414Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T21:50:19.730Z] + cat /w/workspace/device-sdk-go/236/archives/cost.csv [2023-07-19T21:50:19.730Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T21:50:20.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [2023-07-19T21:50:20.058Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] did not exist. Created. [2023-07-19T21:50:20.059Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T21:50:20.385Z] /w/workspace/device-sdk-go/236@tmp/durable-c0c9bc6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T21:50:21.037Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T21:50:21.055Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T21:50:21.139Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T21:50:21.147Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T21:50:21.165Z] $ docker stop --time=1 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 [2023-07-19T21:50:22.657Z] $ docker rm -f --volumes 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 [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-07-19T21:50:23.077Z] provisioning config files... [2023-07-19T21:50:23.085Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8327714144308505385tmp [Pipeline] { [Pipeline] sh [2023-07-19T21:50:23.378Z] + set +x [2023-07-19T21:50:23.378Z] + curl -s https://codecov.io/bash [2023-07-19T21:50:23.378Z] + bash -s -- [2023-07-19T21:50:23.378Z] [2023-07-19T21:50:23.378Z] _____ _ [2023-07-19T21:50:23.378Z] / ____| | | [2023-07-19T21:50:23.378Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T21:50:23.378Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T21:50:23.378Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T21:50:23.378Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T21:50:23.378Z] Bash-1.0.6 [2023-07-19T21:50:23.378Z] [2023-07-19T21:50:23.378Z] [2023-07-19T21:50:23.378Z] ==> git version 2.25.1 found [2023-07-19T21:50:23.378Z] ==> 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-07-19T21:50:23.378Z] Release-Date: 2020-01-08 [2023-07-19T21:50:23.378Z] 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-07-19T21:50:23.378Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T21:50:23.378Z] ==> Jenkins CI detected. [2023-07-19T21:50:23.378Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-07-19T21:50:23.378Z] project root: . [2023-07-19T21:50:23.378Z] --> token set from env [2023-07-19T21:50:23.378Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T21:50:23.378Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T21:50:23.378Z] ==> Python coveragepy not found [2023-07-19T21:50:23.378Z] ==> Searching for coverage reports in: [2023-07-19T21:50:23.378Z] + . [2023-07-19T21:50:23.378Z] -> Found 1 reports [2023-07-19T21:50:23.378Z] ==> Detecting git/mercurial file structure [2023-07-19T21:50:23.378Z] ==> Reading reports [2023-07-19T21:50:23.638Z] + ./coverage.out bytes=119517 [2023-07-19T21:50:23.638Z] ==> Appending adjustments [2023-07-19T21:50:23.638Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T21:50:23.897Z] + Found adjustments [2023-07-19T21:50:23.897Z] ==> Gzipping contents [2023-07-19T21:50:23.897Z] 16K /tmp/codecov.x9Vkfu.gz [2023-07-19T21:50:23.897Z] ==> Uploading reports [2023-07-19T21:50:23.897Z] url: https://codecov.io [2023-07-19T21:50:23.897Z] query: branch=main&commit=0776c05133aecd05e9cca04d73874dfbd24934b0&build=236&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F236%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T21:50:23.897Z] -> Pinging Codecov [2023-07-19T21:50:23.898Z] 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=0776c05133aecd05e9cca04d73874dfbd24934b0&build=236&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F236%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T21:50:23.898Z] -> Uploading to [2023-07-19T21:50:23.898Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/0776c05133aecd05e9cca04d73874dfbd24934b0/5311a586-02f1-4208-809b-5f1e378807e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T215023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9dadaf03b7c7eea4e21a257a7f07ee665c75ea60d14db36b4997c9646f652f6 [2023-07-19T21:50:23.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T21:50:23.898Z] Dload Upload Total Spent Left Speed [2023-07-19T21:50:24.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16365 0 0 100 16365 0 93514 --:--:-- --:--:-- --:--:-- 93514 [2023-07-19T21:50:24.157Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] } [2023-07-19T21:50:24.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-19T21:50:24.404Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-19T21:50:24.414Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:50:24.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T21:50:24.714Z] [2023-07-19T21:50:24.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:50:25.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T21:50:25.006Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-19T21:50:25.006Z] df9b9388f04a: Pulling fs layer [2023-07-19T21:50:25.006Z] 52dc419b0ee2: Pulling fs layer [2023-07-19T21:50:25.006Z] 25bc292e5bac: Pulling fs layer [2023-07-19T21:50:25.006Z] 114826534d7a: Pulling fs layer [2023-07-19T21:50:25.006Z] 4657fd5d0bcf: Pulling fs layer [2023-07-19T21:50:25.006Z] 6ad1cebc031e: Pulling fs layer [2023-07-19T21:50:25.006Z] 114826534d7a: Waiting [2023-07-19T21:50:25.006Z] 4657fd5d0bcf: Waiting [2023-07-19T21:50:25.006Z] 8a3aa393b2d8: Pulling fs layer [2023-07-19T21:50:25.006Z] 6ad1cebc031e: Waiting [2023-07-19T21:50:25.006Z] 25bc292e5bac: Verifying Checksum [2023-07-19T21:50:25.006Z] 25bc292e5bac: Download complete [2023-07-19T21:50:25.006Z] 52dc419b0ee2: Download complete [2023-07-19T21:50:25.006Z] 4657fd5d0bcf: Download complete [2023-07-19T21:50:25.006Z] df9b9388f04a: Download complete [2023-07-19T21:50:25.265Z] 6ad1cebc031e: Download complete [2023-07-19T21:50:25.265Z] df9b9388f04a: Pull complete [2023-07-19T21:50:25.265Z] 52dc419b0ee2: Pull complete [2023-07-19T21:50:25.525Z] 25bc292e5bac: Pull complete [2023-07-19T21:50:25.782Z] 114826534d7a: Verifying Checksum [2023-07-19T21:50:25.783Z] 114826534d7a: Download complete [2023-07-19T21:50:25.783Z] 8a3aa393b2d8: Verifying Checksum [2023-07-19T21:50:25.783Z] 8a3aa393b2d8: Download complete [2023-07-19T21:50:29.066Z] 114826534d7a: Pull complete [2023-07-19T21:50:29.066Z] 4657fd5d0bcf: Pull complete [2023-07-19T21:50:29.325Z] 6ad1cebc031e: Pull complete [2023-07-19T21:50:31.887Z] 8a3aa393b2d8: Pull complete [2023-07-19T21:50:31.887Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-19T21:50:31.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T21:50:31.888Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:50:31.959Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:50:32.001Z] $ 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-07-19T21:50:35.654Z] $ docker top 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-19T21:50:35.700Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-07-19T21:50:35.981Z] + set -o pipefail [2023-07-19T21:50:35.981Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-07-19T21:50:42.551Z] [2023-07-19T21:50:42.551Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-07-19T21:50:42.551Z] [2023-07-19T21:50:42.551Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ea50f953-0780-4ccf-9295-bebc957d50bf [2023-07-19T21:50:42.551Z] [2023-07-19T21:50:42.551Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-19T21:50:42.551Z] [2023-07-19T21:50:42.551Z] [2023-07-19T21:50:42.551Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-19T21:50:42.551Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-19T21:50:42.551Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-19T21:50:42.573Z] $ docker stop --time=1 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 [2023-07-19T21:50:46.069Z] $ docker rm -f --volumes 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 [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-07-19T21:50:46.439Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:50:46.451Z] provisioning config files... [2023-07-19T21:50:46.458Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1529117888904106452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:50:46.754Z] --> edgex-publish-swagger.sh [2023-07-19T21:50:46.754Z] === Publish openapi/v3 API === [2023-07-19T21:50:46.754Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-07-19T21:50:46.754Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-07-19T21:50:46.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T21:50:46.754Z] Dload Upload Total Spent Left Speed [2023-07-19T21:50:47.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 55966 --:--:-- --:--:-- --:--:-- 55834 [2023-07-19T21:50:47.013Z] [2023-07-19T21:50:47.013Z] [Pipeline] } [2023-07-19T21:50:47.022Z] 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-07-19T21:50:47.388Z] + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] sh [2023-07-19T21:50:47.678Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T21:50:47.678Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:50:47.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:50:47.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:50:48.047Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:50:48.089Z] $ 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-07-19T21:50:48.547Z] $ docker top 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 -eo pid,comm [2023-07-19T21:50:48.587Z] 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-07-19T21:50:48.587Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T21:50:48.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T21:50:48.623Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T21:50:48.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T21:50:48.746Z] $ docker exec 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 ssh-agent [2023-07-19T21:50:48.837Z] SSH_AUTH_SOCK=/tmp/ssh-L0tf9PcGdaXL/agent.33 [2023-07-19T21:50:48.837Z] SSH_AGENT_PID=39 [2023-07-19T21:50:48.842Z] Running ssh-add (command line suppressed) [2023-07-19T21:50:48.952Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8862038866939534047.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8862038866939534047.key) [2023-07-19T21:50:48.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T21:50:49.243Z] + git semver tag [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,433 [run_tag] DEBUG tag force:False [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,433 [check_head_tag] DEBUG check head tag [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,433 [execute] INFO git cat-file --batch-check [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,437 [execute] INFO git cat-file --batch [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,448 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,449 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-19T21:50:49.502Z] 2023-07-19 21:50:49,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:50:49.502Z] 3.1.0-dev.7 [Pipeline] } [2023-07-19T21:50:49.519Z] $ docker exec --env ******** --env ******** 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 ssh-agent -k [2023-07-19T21:50:49.631Z] unset SSH_AUTH_SOCK; [2023-07-19T21:50:49.632Z] unset SSH_AGENT_PID; [2023-07-19T21:50:49.632Z] echo Agent pid 39 killed; [2023-07-19T21:50:49.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T21:50:49.944Z] + git semver [Pipeline] } [2023-07-19T21:50:50.225Z] $ docker stop --time=1 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 [2023-07-19T21:50:51.492Z] $ docker rm -f --volumes 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:50:51.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T21:50:51.871Z] [2023-07-19T21:50:51.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:50:52.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T21:50:52.168Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-19T21:50:52.168Z] ab5ef0e58194: Pulling fs layer [2023-07-19T21:50:52.168Z] 9712f1f96733: Pulling fs layer [2023-07-19T21:50:52.168Z] 63f879dbbcfc: Pulling fs layer [2023-07-19T21:50:52.168Z] 0d9ebad4ef96: Pulling fs layer [2023-07-19T21:50:52.168Z] e9a5061849ea: Pulling fs layer [2023-07-19T21:50:52.168Z] d747dcd14b5f: Pulling fs layer [2023-07-19T21:50:52.168Z] 2de7ff778b66: Pulling fs layer [2023-07-19T21:50:52.168Z] 0d9ebad4ef96: Waiting [2023-07-19T21:50:52.168Z] 2de7ff778b66: Waiting [2023-07-19T21:50:52.168Z] d747dcd14b5f: Waiting [2023-07-19T21:50:52.168Z] e9a5061849ea: Waiting [2023-07-19T21:50:52.168Z] 9712f1f96733: Download complete [2023-07-19T21:50:52.425Z] 63f879dbbcfc: Verifying Checksum [2023-07-19T21:50:52.425Z] 63f879dbbcfc: Download complete [2023-07-19T21:50:52.683Z] 0d9ebad4ef96: Download complete [2023-07-19T21:50:52.683Z] d747dcd14b5f: Download complete [2023-07-19T21:50:52.683Z] e9a5061849ea: Verifying Checksum [2023-07-19T21:50:52.683Z] e9a5061849ea: Download complete [2023-07-19T21:50:52.683Z] ab5ef0e58194: Verifying Checksum [2023-07-19T21:50:52.683Z] ab5ef0e58194: Download complete [2023-07-19T21:50:52.683Z] 2de7ff778b66: Verifying Checksum [2023-07-19T21:50:52.683Z] 2de7ff778b66: Download complete [2023-07-19T21:50:55.966Z] ab5ef0e58194: Pull complete [2023-07-19T21:50:55.966Z] 9712f1f96733: Pull complete [2023-07-19T21:50:56.224Z] 63f879dbbcfc: Pull complete [2023-07-19T21:50:59.505Z] 0d9ebad4ef96: Pull complete [2023-07-19T21:50:59.765Z] e9a5061849ea: Pull complete [2023-07-19T21:51:00.023Z] d747dcd14b5f: Pull complete [2023-07-19T21:51:00.957Z] 2de7ff778b66: Pull complete [2023-07-19T21:51:00.957Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-19T21:51:00.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T21:51:00.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:51:01.035Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:51:01.073Z] $ 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-07-19T21:51:05.345Z] $ docker top 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:51:05.402Z] provisioning config files... [2023-07-19T21:51:05.409Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12211833663230283786tmp [2023-07-19T21:51:05.418Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13178397868987366364tmp [2023-07-19T21:51:05.427Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1248059746153718100tmp [Pipeline] { [Pipeline] echo [2023-07-19T21:51:05.442Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:05.724Z] ---> sigul-configuration.sh [2023-07-19T21:51:05.724Z] gpg: directory `/root/.gnupg' created [2023-07-19T21:51:05.724Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-19T21:51:05.724Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-19T21:51:05.724Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-19T21:51:05.724Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-19T21:51:05.724Z] gpg: CAST5 encrypted data [2023-07-19T21:51:05.724Z] gpg: encrypted with 1 passphrase [2023-07-19T21:51:05.724Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-19T21:51:06.009Z] + mkdir /home/jenkins [2023-07-19T21:51:06.009Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-19T21:51:06.292Z] + 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-07-19T21:51:06.301Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:06.592Z] ---> sigul-install.sh [2023-07-19T21:51:06.592Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-19T21:51:06.891Z] + git tag --list [2023-07-19T21:51:06.892Z] 0.7.1 [2023-07-19T21:51:06.892Z] delhi-tag [2023-07-19T21:51:06.892Z] v1.0.0 [2023-07-19T21:51:06.892Z] v1.1.0 [2023-07-19T21:51:06.892Z] v1.1.1 [2023-07-19T21:51:06.892Z] v1.1.2 [2023-07-19T21:51:06.892Z] v1.2.0 [2023-07-19T21:51:06.892Z] v1.2.1 [2023-07-19T21:51:06.892Z] v1.2.2 [2023-07-19T21:51:06.892Z] v1.2.3 [2023-07-19T21:51:06.892Z] v1.3.0 [2023-07-19T21:51:06.892Z] v1.4.0 [2023-07-19T21:51:06.892Z] v2.0.0 [2023-07-19T21:51:06.892Z] v2.1.0 [2023-07-19T21:51:06.892Z] v2.1.1 [2023-07-19T21:51:06.892Z] v2.2.0 [2023-07-19T21:51:06.892Z] v2.3.0 [2023-07-19T21:51:06.892Z] v2.3.1 [2023-07-19T21:51:06.892Z] v3.0 [2023-07-19T21:51:06.892Z] v3.0.0 [2023-07-19T21:51:06.892Z] v3.0.1-dev.1 [2023-07-19T21:51:06.892Z] v3.1.0-dev.1 [2023-07-19T21:51:06.892Z] v3.1.0-dev.2 [2023-07-19T21:51:06.892Z] v3.1.0-dev.3 [2023-07-19T21:51:06.892Z] v3.1.0-dev.4 [2023-07-19T21:51:06.892Z] v3.1.0-dev.5 [2023-07-19T21:51:06.892Z] v3.1.0-dev.6 [2023-07-19T21:51:06.892Z] v3.1.0-dev.7 [Pipeline] sh [2023-07-19T21:51:07.175Z] + lftools sign git-tag v3.1.0-dev.7 [2023-07-19T21:51:07.741Z] Signing Git tag with Sigul... [2023-07-19T21:51:07.741Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-07-19T21:51:08.009Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:08.292Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-19T21:51:08.299Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-19T21:51:08.329Z] $ docker stop --time=1 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d [2023-07-19T21:51:09.596Z] $ docker rm -f --volumes 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-19T21:51:10.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T21:51:10.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:51:10.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:51:10.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:51:10.364Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:51:10.402Z] $ 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-07-19T21:51:10.735Z] $ docker top cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f -eo pid,comm [2023-07-19T21:51:10.771Z] 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-07-19T21:51:10.771Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T21:51:10.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T21:51:10.814Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T21:51:10.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T21:51:10.928Z] $ docker exec cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f ssh-agent [2023-07-19T21:51:11.021Z] SSH_AUTH_SOCK=/tmp/ssh-Lo6SijN09Q68/agent.33 [2023-07-19T21:51:11.021Z] SSH_AGENT_PID=39 [2023-07-19T21:51:11.026Z] Running ssh-add (command line suppressed) [2023-07-19T21:51:11.130Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7370387365757260991.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7370387365757260991.key) [2023-07-19T21:51:11.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T21:51:11.416Z] + git semver bump pre [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,571 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,571 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,571 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,574 [execute] INFO git cat-file --batch-check [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,579 [execute] INFO git cat-file --batch [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T21:51:11.675Z] 2023-07-19 21:51:11,584 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:51:11.675Z] 3.1.0-dev.8 [Pipeline] } [2023-07-19T21:51:11.696Z] $ docker exec --env ******** --env ******** cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f ssh-agent -k [2023-07-19T21:51:11.788Z] unset SSH_AUTH_SOCK; [2023-07-19T21:51:11.788Z] unset SSH_AGENT_PID; [2023-07-19T21:51:11.788Z] echo Agent pid 39 killed; [2023-07-19T21:51:11.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T21:51:12.094Z] + git semver [Pipeline] } [2023-07-19T21:51:12.377Z] $ docker stop --time=1 cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f [2023-07-19T21:51:13.669Z] $ docker rm -f --volumes cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T21:51:14.003Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T21:51:14.003Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:51:14.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T21:51:14.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:51:14.369Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:51:14.408Z] $ 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-07-19T21:51:14.706Z] $ docker top 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 -eo pid,comm [2023-07-19T21:51:14.740Z] 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-07-19T21:51:14.740Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T21:51:14.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T21:51:14.780Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T21:51:14.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T21:51:14.893Z] $ docker exec 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 ssh-agent [2023-07-19T21:51:14.988Z] SSH_AUTH_SOCK=/tmp/ssh-7RTjaDY1rtIv/agent.31 [2023-07-19T21:51:14.988Z] SSH_AGENT_PID=37 [2023-07-19T21:51:14.993Z] Running ssh-add (command line suppressed) [2023-07-19T21:51:15.109Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_515270209775496229.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_515270209775496229.key) [2023-07-19T21:51:15.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T21:51:15.398Z] + git semver push [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,559 [run_push] DEBUG push [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,560 [execute] INFO git cat-file --batch-check [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,564 [execute] INFO git rev-list 9aec5b79c8b45e0363680fa3b357c6853413866f -- [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,564 [execute] DEBUG Popen(['git', 'rev-list', '9aec5b79c8b45e0363680fa3b357c6853413866f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,571 [execute] INFO git fetch -v origin [2023-07-19T21:51:15.658Z] 2023-07-19 21:51:15,571 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-19T21:51:16.227Z] 2023-07-19 21:51:16,141 [run_push] DEBUG no remote changes detected [2023-07-19T21:51:16.227Z] 2023-07-19 21:51:16,141 [execute] INFO git push origin semver [2023-07-19T21:51:16.227Z] 2023-07-19 21:51:16,142 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T21:51:17.166Z] 2023-07-19 21:51:16,884 [run_push] DEBUG push all version tags [2023-07-19T21:51:17.166Z] 2023-07-19 21:51:16,885 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-19T21:51:17.166Z] 2023-07-19 21:51:16,885 [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-07-19T21:51:17.738Z] 2023-07-19 21:51:17,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-19T21:51:17.739Z] 3.1.0-dev.8 [Pipeline] } [2023-07-19T21:51:17.759Z] $ docker exec --env ******** --env ******** 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 ssh-agent -k [2023-07-19T21:51:17.857Z] unset SSH_AUTH_SOCK; [2023-07-19T21:51:17.857Z] unset SSH_AGENT_PID; [2023-07-19T21:51:17.857Z] echo Agent pid 37 killed; [2023-07-19T21:51:17.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T21:51:18.163Z] + git semver [Pipeline] } [2023-07-19T21:51:18.445Z] $ docker stop --time=1 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 [2023-07-19T21:51:19.715Z] $ docker rm -f --volumes 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 [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-07-19T21:51:20.298Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-07-19T21:51:20.298Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T21:51:20.298Z] total 16 [2023-07-19T21:51:20.298Z] drwxr-xr-x 3 root root 4096 Jul 19 21:40 . [2023-07-19T21:51:20.298Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:51 .. [2023-07-19T21:51:20.298Z] drwxr-xr-x 2 root root 4096 Jul 19 21:40 cost [2023-07-19T21:51:20.298Z] -rw-r--r-- 1 root root 85 Jul 19 21:40 cost.csv [2023-07-19T21:51:20.298Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T21:51:20.298Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-19T21:51:20.298Z] total 16 [2023-07-19T21:51:20.298Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:40 . [2023-07-19T21:51:20.298Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:51 .. [2023-07-19T21:51:20.298Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 21:40 cost [2023-07-19T21:51:20.298Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 19 21:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:20.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:21.447Z] ---> package-listing.sh [2023-07-19T21:51:21.447Z] ++ facter osfamily [2023-07-19T21:51:21.447Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T21:51:21.706Z] + OS_FAMILY=debian [2023-07-19T21:51:21.706Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-07-19T21:51:21.706Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T21:51:21.706Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T21:51:21.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T21:51:21.706Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T21:51:21.706Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-19T21:51:21.706Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T21:51:21.706Z] + case "${OS_FAMILY}" in [2023-07-19T21:51:21.706Z] + dpkg -l [2023-07-19T21:51:21.706Z] + grep '^ii' [2023-07-19T21:51:21.706Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T21:51:21.706Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T21:51:21.706Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T21:51:21.706Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-19T21:51:21.706Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-07-19T21:51:21.706Z] + 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-07-19T21:51:21.717Z] 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-07-19T21:51:21.993Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T21:51:22.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T21:51:22.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T21:51:22.614Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-07-19T21:51:22.651Z] $ 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-07-19T21:51:22.867Z] $ docker top 8fb40d64d385a7339fe4b8071480464e2a6fc67d21f9a52755a8333cc78ae36f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T21:51:23.197Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T21:51:23.539Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T21:51:23.889Z] + ls /var/log/sa-host [2023-07-19T21:51:23.889Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T21:51:24.066Z] provisioning config files... [2023-07-19T21:51:24.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10128436725951821593tmp [Pipeline] { [Pipeline] echo [2023-07-19T21:51:24.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:24.387Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T21:51:24.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:24.714Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T21:51:24.723Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:25.006Z] ---> sudo-logs.sh [2023-07-19T21:51:25.007Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T21:51:25.038Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:25.320Z] ---> job-cost.sh [2023-07-19T21:51:25.320Z] lf-activate-venv: SKIPPING [2023-07-19T21:51:25.320Z] DEBUG: total: 0.2199999988079071 [2023-07-19T21:51:25.320Z] INFO: Retrieving Stack Cost... [2023-07-19T21:51:25.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T21:51:26.149Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T21:51:26.158Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T21:51:26.442Z] ---> logs-deploy.sh [2023-07-19T21:51:26.442Z] lf-activate-venv: SKIPPING [2023-07-19T21:51:26.442Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/236 [2023-07-19T21:51:26.442Z] INFO: archiving workspace using pattern(s): [2023-07-19T21:51:27.378Z] Archives upload complete. [2023-07-19T21:51:27.378Z] INFO: archiving logs to Nexus