Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 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-ssh8978110754116758815.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15999398573851322942.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6669152624757231173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15475128341589192712.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-ssh1580301780733269090.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8445’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8447 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (main) Commit message: "Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46" > 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-list --no-walk 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T04:30:18.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T04:30:18.717Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T04:30:18.732Z] ========================================================= [2023-10-04T04:30:18.732Z] EdgeX Global Pipelines Version Info [2023-10-04T04:30:18.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:30:19.464Z] ------------------- [2023-10-04T04:30:19.464Z] stable info: [2023-10-04T04:30:19.464Z] ------------------- [2023-10-04T04:30:19.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T04:30:19.465Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T04:30:19.465Z] Message: update stable to v1.0.254 [2023-10-04T04:30:20.034Z] ------------------- [2023-10-04T04:30:20.034Z] experimental info: [2023-10-04T04:30:20.034Z] ------------------- [2023-10-04T04:30:20.034Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T04:30:20.034Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T04:30:20.034Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T04:30:20.202Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-04T04:30:20.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-04T04:30:20.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T04:30:20.236Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T04:30:20.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T04:30:20.256Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T04:30:20.264Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T04:30:20.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-04T04:30:20.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T04:30:20.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T04:30:20.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T04:30:20.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-04T04:30:20.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T04:30:20.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T04:30:20.381Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T04:30:20.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:30:20.421Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:30:20.441Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:30:20.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T04:30:20.475Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T04:30:20.494Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-04T04:30:20.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-04T04:30:20.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T04:30:20.543Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T04:30:20.558Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T04:30:20.569Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T04:30:20.583Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T04:30:20.599Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-04T04:30:20.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-04T04:30:20.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-04T04:30:20.654Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo [2023-10-04T04:30:20.665Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a4e603 [Pipeline] echo [2023-10-04T04:30:20.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:30:20.723Z] provisioning config files... [2023-10-04T04:30:20.736Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7835801077029903852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:30:21.043Z] ---> docker-login.sh [2023-10-04T04:30:21.043Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:30:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:21.303Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:21.303Z] [2023-10-04T04:30:21.303Z] Login Succeeded [2023-10-04T04:30:21.303Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:30:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:21.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:21.562Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:21.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:21.562Z] [2023-10-04T04:30:21.562Z] Login Succeeded [2023-10-04T04:30:21.562Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:30:21.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:21.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:21.562Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:21.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:21.562Z] [2023-10-04T04:30:21.562Z] Login Succeeded [2023-10-04T04:30:21.562Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:30:21.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:21.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:21.822Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:21.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:21.822Z] [2023-10-04T04:30:21.822Z] Login Succeeded [2023-10-04T04:30:21.822Z] docker.io [2023-10-04T04:30:21.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:22.080Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:22.080Z] [2023-10-04T04:30:22.080Z] Login Succeeded [2023-10-04T04:30:22.080Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:30:22.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T04:30:22.460Z] + git rev-list -1 --merges 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017~1..8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo [2023-10-04T04:30:22.505Z] -----------> git rev-list -1 --merges 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017~1..8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [2023-10-04T04:30:22.505Z] 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [false] [Pipeline] sh [2023-10-04T04:30:22.794Z] + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo [2023-10-04T04:30:22.835Z] ========================================================= [2023-10-04T04:30:22.836Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T04:30:22.836Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:30:23.180Z] + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo [2023-10-04T04:30:23.192Z] [semverPrep] GIT_COMMIT: 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017, Commit Message: Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46 [Pipeline] echo [2023-10-04T04:30:23.201Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T04:30:23.551Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T04:30:23.551Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T04:30:23.551Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T04:30:23.551Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T04:30:23.551Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T04:30:23.551Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T04:30:23.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:30:23.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:30:23.909Z] [2023-10-04T04:30:23.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:30:24.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:30:24.223Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T04:30:24.223Z] b85a868b505f: Pulling fs layer [2023-10-04T04:30:24.223Z] e2be974225ed: Pulling fs layer [2023-10-04T04:30:24.223Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T04:30:24.223Z] 988bab9f4d93: Pulling fs layer [2023-10-04T04:30:24.223Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T04:30:24.223Z] eaf3925da568: Pulling fs layer [2023-10-04T04:30:24.223Z] bab4dde63d76: Pulling fs layer [2023-10-04T04:30:24.223Z] bde34c3a00c8: Pulling fs layer [2023-10-04T04:30:24.223Z] b352a97aabf1: Pulling fs layer [2023-10-04T04:30:24.223Z] 4872d77fe225: Pulling fs layer [2023-10-04T04:30:24.223Z] 5851b861e8e6: Pulling fs layer [2023-10-04T04:30:24.223Z] 988bab9f4d93: Waiting [2023-10-04T04:30:24.223Z] 1469e6f7b9e6: Waiting [2023-10-04T04:30:24.223Z] bab4dde63d76: Waiting [2023-10-04T04:30:24.223Z] eaf3925da568: Waiting [2023-10-04T04:30:24.223Z] bde34c3a00c8: Waiting [2023-10-04T04:30:24.223Z] b352a97aabf1: Waiting [2023-10-04T04:30:24.223Z] 5851b861e8e6: Waiting [2023-10-04T04:30:24.223Z] e2be974225ed: Download complete [2023-10-04T04:30:24.223Z] 988bab9f4d93: Verifying Checksum [2023-10-04T04:30:24.223Z] 988bab9f4d93: Download complete [2023-10-04T04:30:24.223Z] 1469e6f7b9e6: Download complete [2023-10-04T04:30:24.223Z] eaf3925da568: Verifying Checksum [2023-10-04T04:30:24.223Z] eaf3925da568: Download complete [2023-10-04T04:30:24.482Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T04:30:24.482Z] 339a4e72a1f5: Download complete [2023-10-04T04:30:24.482Z] bde34c3a00c8: Download complete [2023-10-04T04:30:24.482Z] b352a97aabf1: Verifying Checksum [2023-10-04T04:30:24.482Z] b352a97aabf1: Download complete [2023-10-04T04:30:24.482Z] 4872d77fe225: Verifying Checksum [2023-10-04T04:30:24.482Z] 4872d77fe225: Download complete [2023-10-04T04:30:24.482Z] 5851b861e8e6: Verifying Checksum [2023-10-04T04:30:24.482Z] 5851b861e8e6: Download complete [2023-10-04T04:30:24.482Z] b85a868b505f: Download complete [2023-10-04T04:30:24.742Z] bab4dde63d76: Verifying Checksum [2023-10-04T04:30:24.742Z] bab4dde63d76: Download complete [2023-10-04T04:30:25.680Z] b85a868b505f: Pull complete [2023-10-04T04:30:25.939Z] e2be974225ed: Pull complete [2023-10-04T04:30:26.508Z] 339a4e72a1f5: Pull complete [2023-10-04T04:30:26.508Z] 988bab9f4d93: Pull complete [2023-10-04T04:30:26.769Z] 1469e6f7b9e6: Pull complete [2023-10-04T04:30:26.769Z] eaf3925da568: Pull complete [2023-10-04T04:30:28.674Z] bab4dde63d76: Pull complete [2023-10-04T04:30:28.674Z] bde34c3a00c8: Pull complete [2023-10-04T04:30:28.674Z] b352a97aabf1: Pull complete [2023-10-04T04:30:28.674Z] 4872d77fe225: Pull complete [2023-10-04T04:30:28.674Z] 5851b861e8e6: Pull complete [2023-10-04T04:30:28.674Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T04:30:28.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:30:28.674Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:30:28.780Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:30:28.817Z] $ 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-10-04T04:30:32.634Z] $ docker top 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea -eo pid,comm [2023-10-04T04:30:32.685Z] 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-10-04T04:30:32.685Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T04:30:32.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:30:32.722Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:30:32.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:30:32.840Z] $ docker exec 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent [2023-10-04T04:30:32.946Z] SSH_AUTH_SOCK=/tmp/ssh-bBmKTNfqcS8K/agent.33 [2023-10-04T04:30:32.946Z] SSH_AGENT_PID=39 [2023-10-04T04:30:32.953Z] Running ssh-add (command line suppressed) [2023-10-04T04:30:33.056Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3243060926376841713.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3243060926376841713.key) [2023-10-04T04:30:33.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:30:33.353Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T04:30:33.374Z] $ docker exec --env ******** --env ******** 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent -k [2023-10-04T04:30:33.464Z] unset SSH_AUTH_SOCK; [2023-10-04T04:30:33.464Z] unset SSH_AGENT_PID; [2023-10-04T04:30:33.465Z] echo Agent pid 39 killed; [2023-10-04T04:30:33.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T04:30:33.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:30:33.498Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:30:33.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:30:33.612Z] $ docker exec 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent [2023-10-04T04:30:33.697Z] SSH_AUTH_SOCK=/tmp/ssh-iNi1ESeVuZ80/agent.71 [2023-10-04T04:30:33.697Z] SSH_AGENT_PID=77 [2023-10-04T04:30:33.702Z] Running ssh-add (command line suppressed) [2023-10-04T04:30:33.796Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15993335030096652575.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15993335030096652575.key) [2023-10-04T04:30:33.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:30:34.092Z] + git semver init [2023-10-04T04:30:34.353Z] 2023-10-04 04:30:34,271 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T04:30:34.353Z] 2023-10-04 04:30:34,272 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-10-04T04:30:34.353Z] 2023-10-04 04:30:34,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-10-04T04:30:34.353Z] 2023-10-04 04:30:34,273 [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-10-04T04:30:35.733Z] 2023-10-04 04:30:35,309 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-10-04T04:30:35.733Z] 2023-10-04 04:30:35,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-10-04T04:30:35.733Z] 2023-10-04 04:30:35,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:30:35.733Z] 2023-10-04 04:30:35,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:30:35.733Z] 3.1.0-dev.33 [Pipeline] } [2023-10-04T04:30:35.747Z] $ docker exec --env ******** --env ******** 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent -k [2023-10-04T04:30:35.836Z] unset SSH_AUTH_SOCK; [2023-10-04T04:30:35.837Z] unset SSH_AGENT_PID; [2023-10-04T04:30:35.837Z] echo Agent pid 77 killed; [2023-10-04T04:30:35.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T04:30:36.149Z] + git semver [Pipeline] } [2023-10-04T04:30:36.424Z] $ docker stop --time=1 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea [2023-10-04T04:30:37.731Z] $ docker rm -f --volumes 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:30:38.066Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T04:30:38.275Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T04:30:38.277Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.33 [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-10-04T04:30:38.448Z] provisioning config files... [2023-10-04T04:30:38.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12623511941277489839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:30:38.751Z] ---> docker-login.sh [2023-10-04T04:30:38.751Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:30:38.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:38.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:38.751Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:38.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:38.751Z] [2023-10-04T04:30:38.751Z] Login Succeeded [2023-10-04T04:30:38.751Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:30:38.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:38.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:38.751Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:38.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:38.751Z] [2023-10-04T04:30:38.751Z] Login Succeeded [2023-10-04T04:30:38.751Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:30:39.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:39.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:39.009Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:39.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:39.009Z] [2023-10-04T04:30:39.009Z] Login Succeeded [2023-10-04T04:30:39.009Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:30:39.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:39.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:39.009Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:39.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:39.009Z] [2023-10-04T04:30:39.009Z] Login Succeeded [2023-10-04T04:30:39.009Z] docker.io [2023-10-04T04:30:39.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:30:39.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:30:39.268Z] Configure a credential helper to remove this warning. See [2023-10-04T04:30:39.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:30:39.268Z] [2023-10-04T04:30:39.268Z] Login Succeeded [2023-10-04T04:30:39.268Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:30:39.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T04:30:39.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:30:39.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:30:39.370Z] ========================================================= [2023-10-04T04:30:39.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T04:30:39.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:30:39.695Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T04:30:39.695Z] Sending build context to Docker daemon 11.2MB [2023-10-04T04:30:39.695Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:30:39.695Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T04:30:39.695Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T04:30:39.695Z] 7264a8db6415: Pulling fs layer [2023-10-04T04:30:39.695Z] c4d48a809fc2: Pulling fs layer [2023-10-04T04:30:39.695Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T04:30:39.695Z] ad3a456e5733: Pulling fs layer [2023-10-04T04:30:39.695Z] 33e27b845d1e: Pulling fs layer [2023-10-04T04:30:39.695Z] c68163c4e522: Pulling fs layer [2023-10-04T04:30:39.695Z] 50da416c3ac9: Pulling fs layer [2023-10-04T04:30:39.695Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T04:30:39.695Z] c68163c4e522: Waiting [2023-10-04T04:30:39.695Z] 33e27b845d1e: Waiting [2023-10-04T04:30:39.695Z] ad3a456e5733: Waiting [2023-10-04T04:30:39.695Z] 23d2d4c4bb30: Waiting [2023-10-04T04:30:39.954Z] c4d48a809fc2: Verifying Checksum [2023-10-04T04:30:39.954Z] c4d48a809fc2: Download complete [2023-10-04T04:30:39.954Z] ad3a456e5733: Download complete [2023-10-04T04:30:39.954Z] 33e27b845d1e: Verifying Checksum [2023-10-04T04:30:39.954Z] 33e27b845d1e: Download complete [2023-10-04T04:30:39.954Z] 7264a8db6415: Verifying Checksum [2023-10-04T04:30:39.954Z] 7264a8db6415: Download complete [2023-10-04T04:30:39.954Z] c68163c4e522: Verifying Checksum [2023-10-04T04:30:39.954Z] c68163c4e522: Download complete [2023-10-04T04:30:39.954Z] 7264a8db6415: Pull complete [2023-10-04T04:30:40.213Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T04:30:40.213Z] 23d2d4c4bb30: Download complete [2023-10-04T04:30:40.213Z] c4d48a809fc2: Pull complete [2023-10-04T04:30:40.473Z] 4f1c88b9dad5: Verifying Checksum [2023-10-04T04:30:40.473Z] 4f1c88b9dad5: Download complete [2023-10-04T04:30:40.730Z] 50da416c3ac9: Verifying Checksum [2023-10-04T04:30:40.730Z] 50da416c3ac9: Download complete [2023-10-04T04:30:43.258Z] 4f1c88b9dad5: Pull complete [2023-10-04T04:30:43.258Z] ad3a456e5733: Pull complete [2023-10-04T04:30:43.516Z] 33e27b845d1e: Pull complete [2023-10-04T04:30:43.516Z] c68163c4e522: Pull complete [2023-10-04T04:30:46.043Z] 50da416c3ac9: Pull complete [2023-10-04T04:30:46.303Z] 23d2d4c4bb30: Pull complete [2023-10-04T04:30:46.303Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T04:30:46.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T04:30:46.303Z] ---> 0786185ac409 [2023-10-04T04:30:46.303Z] Step 3/10 : ARG MAKE=make build [2023-10-04T04:30:51.615Z] ---> Running in 83741293c3ee [2023-10-04T04:30:51.615Z] Removing intermediate container 83741293c3ee [2023-10-04T04:30:51.615Z] ---> 6dbb8d71f7f5 [2023-10-04T04:30:51.615Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-04T04:30:51.615Z] ---> Running in 82b8cc8398e3 [2023-10-04T04:30:51.615Z] Removing intermediate container 82b8cc8398e3 [2023-10-04T04:30:51.615Z] ---> 2a1afda61fcd [2023-10-04T04:30:51.615Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:30:51.615Z] ---> Running in 4c72fd4733fc [2023-10-04T04:30:51.615Z] Removing intermediate container 4c72fd4733fc [2023-10-04T04:30:51.615Z] ---> 8869d2f31792 [2023-10-04T04:30:51.615Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-04T04:30:51.615Z] ---> Running in 6ffc777d3540 [2023-10-04T04:30:51.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:30:51.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:30:52.135Z] OK: 264 MiB in 52 packages [2023-10-04T04:30:52.396Z] Removing intermediate container 6ffc777d3540 [2023-10-04T04:30:52.396Z] ---> 42a1c35cb136 [2023-10-04T04:30:52.396Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T04:30:52.656Z] ---> e0fc0710abf0 [2023-10-04T04:30:52.656Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:30:52.656Z] ---> Running in 24488644fad1 [2023-10-04T04:30:53.396Z] Still waiting to schedule task [2023-10-04T04:30:53.396Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8446’ is offline [2023-10-04T04:32:00.351Z] Removing intermediate container 24488644fad1 [2023-10-04T04:32:00.351Z] ---> ac0901c4326c [2023-10-04T04:32:00.351Z] Step 9/10 : COPY . . [2023-10-04T04:32:00.351Z] ---> 058de3319eb0 [2023-10-04T04:32:00.351Z] Step 10/10 : RUN ${MAKE} [2023-10-04T04:32:00.351Z] ---> Running in dd90b75c6176 [2023-10-04T04:32:00.351Z] noop [2023-10-04T04:32:00.351Z] Removing intermediate container dd90b75c6176 [2023-10-04T04:32:00.351Z] ---> 367bf156100e [2023-10-04T04:32:00.351Z] Successfully built 367bf156100e [2023-10-04T04:32:00.351Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:32:00.663Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T04:32:00.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:32:00.735Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:32:00.771Z] $ 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-10-04T04:32:01.109Z] $ docker top ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:32:01.448Z] + go version [2023-10-04T04:32:01.448Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T04:32:01.462Z] $ docker stop --time=1 ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 [2023-10-04T04:32:02.776Z] $ docker rm -f --volumes ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:32:03.181Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T04:32:03.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:32:03.252Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:32:03.289Z] $ 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-10-04T04:32:03.646Z] $ docker top d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:32:04.018Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-04T04:32:04.326Z] + make test [2023-10-04T04:32:04.326Z] go test -race -coverprofile=coverage.out ./... [2023-10-04T04:32:10.887Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-04T04:32:21.368Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8448 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-10-04T04:32:21.380Z] Running in /w/workspace/device-sdk-go/262 [Pipeline] { [Pipeline] checkout [2023-10-04T04:32:21.410Z] The recommended git tool is: git [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-04T04:32:25.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-04T04:32:25.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.044s coverage: 27.6% of statements [2023-10-04T04:32:26.013Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-04T04:32:26.013Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2023-10-04T04:32:26.013Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2023-10-04T04:32:26.598Z] using credential edgex-jenkins-ssh [2023-10-04T04:32:26.613Z] Cloning the remote Git repository [2023-10-04T04:32:26.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 71.8% of statements [2023-10-04T04:32:26.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-04T04:32:26.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-04T04:32:27.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-04T04:32:26.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-04T04:32:26.739Z] > git init /w/workspace/device-sdk-go/262 # timeout=10 [2023-10-04T04:32:26.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-04T04:32:26.888Z] > git --version # timeout=10 [2023-10-04T04:32:26.908Z] > git --version # 'git version 2.25.1' [2023-10-04T04:32:26.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T04:32:27.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T04:32:28.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-04T04:32:28.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T04:32:29.499Z] Avoid second fetch [2023-10-04T04:32:29.500Z] Checking out Revision 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (main) [2023-10-04T04:32:30.064Z] Commit message: "Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46" [2023-10-04T04:32:29.513Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T04:32:29.580Z] > git checkout -f 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 [2023-10-04T04:32:30.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.061s coverage: 14.4% of statements [2023-10-04T04:32:30.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.821s coverage: 45.9% of statements [2023-10-04T04:32:30.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.086s coverage: 68.5% of statements [2023-10-04T04:32:30.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements [2023-10-04T04:32:30.494Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:32:31.159Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T04:32:31.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T04:32:31.159Z] Dload Upload Total Spent Left Speed [2023-10-04T04:32:31.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2023-10-04T04:32:31.821Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T04:32:32.148Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T04:32:32.148Z] + sudo tee /etc/docker/daemon.new [2023-10-04T04:32:34.099Z] { [2023-10-04T04:32:34.099Z] "registry-mirrors": [ [2023-10-04T04:32:34.099Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T04:32:34.099Z] ], [2023-10-04T04:32:34.099Z] "bip": "10.250.0.254/24", [2023-10-04T04:32:34.099Z] "hosts": [ [2023-10-04T04:32:34.099Z] "tcp://0.0.0.0:5555", [2023-10-04T04:32:34.099Z] "unix:///var/run/docker.sock" [2023-10-04T04:32:34.099Z] ], [2023-10-04T04:32:34.099Z] "mtu": 1458, [2023-10-04T04:32:34.099Z] "selinux-enabled": true, [2023-10-04T04:32:34.099Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T04:32:34.099Z] } [Pipeline] sh [2023-10-04T04:32:34.422Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T04:32:34.755Z] + sudo service docker restart [2023-10-04T04:32:48.567Z] GO111MODULE=on go vet ./... [2023-10-04T04:32:52.746Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T04:32:52.746Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T04:32:52.746Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T04:32:52.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T04:32:52.771Z] $ docker stop --time=1 d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 [2023-10-04T04:32:57.375Z] $ docker rm -f --volumes d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:32:57.660Z] provisioning config files... [2023-10-04T04:32:57.688Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/262@tmp/config8667818008886945167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:32:57.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T04:32:57.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-10-04T04:32:58.039Z] ---> docker-login.sh [2023-10-04T04:32:58.039Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:32:58.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2023-10-04T04:32:58.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:32:58.580Z] Configure a credential helper to remove this warning. See [2023-10-04T04:32:58.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:32:58.580Z] [2023-10-04T04:32:58.580Z] Login Succeeded [2023-10-04T04:32:58.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T04:32:58.855Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:32:58.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:32:58.888Z] + ls -al . [2023-10-04T04:32:58.889Z] total 304 [2023-10-04T04:32:58.889Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:32 . [2023-10-04T04:32:58.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:30 .. [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:30 .dockerignore [2023-10-04T04:32:58.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:32 .git [2023-10-04T04:32:58.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:30 .github [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:30 .gitignore [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:30 .golangci.yml [2023-10-04T04:32:58.889Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:30 .semver [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:30 CHANGELOG.md [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:30 GOVERNANCE.md [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:30 Jenkinsfile [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:30 LICENSE [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:30 Makefile [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:30 OWNERS.md [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:30 README.md [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:30 VERSION [2023-10-04T04:32:58.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:30 bin [2023-10-04T04:32:58.889Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 4 04:32 coverage.out [2023-10-04T04:32:58.889Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:30 example [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:30 go.mod [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:30 go.sum [2023-10-04T04:32:58.889Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:30 internal [2023-10-04T04:32:58.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:30 openapi [2023-10-04T04:32:58.889Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:30 pkg [2023-10-04T04:32:58.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:30 snap [2023-10-04T04:32:58.889Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:32:59.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:32:59.124Z] Configure a credential helper to remove this warning. See [2023-10-04T04:32:59.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:32:59.124Z] [2023-10-04T04:32:59.124Z] Login Succeeded [2023-10-04T04:32:59.124Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:32:59.189Z] + 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 --label arch=amd64 --label version=3.1.0-dev.33 . [2023-10-04T04:32:59.189Z] Sending build context to Docker daemon 11.33MB [2023-10-04T04:32:59.189Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:32:59.189Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-04T04:32:59.189Z] ---> 367bf156100e [2023-10-04T04:32:59.189Z] Step 3/23 : ARG MAKE=make build [2023-10-04T04:32:59.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:32:59.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:32:59.394Z] Configure a credential helper to remove this warning. See [2023-10-04T04:32:59.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:32:59.394Z] [2023-10-04T04:32:59.394Z] Login Succeeded [2023-10-04T04:32:59.394Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:32:59.448Z] ---> Running in c6f446b1b7bb [2023-10-04T04:32:59.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:32:59.706Z] Removing intermediate container c6f446b1b7bb [2023-10-04T04:32:59.706Z] ---> d8f186394068 [2023-10-04T04:32:59.706Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-04T04:32:59.706Z] ---> Running in a405923feb6b [2023-10-04T04:32:59.706Z] Removing intermediate container a405923feb6b [2023-10-04T04:32:59.706Z] ---> 508dbdbb12e1 [2023-10-04T04:32:59.706Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:32:59.706Z] ---> Running in 8c5e6ee120cb [2023-10-04T04:32:59.706Z] Removing intermediate container 8c5e6ee120cb [2023-10-04T04:32:59.706Z] ---> 3caf551f00dc [2023-10-04T04:32:59.706Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-04T04:32:59.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:32:59.932Z] Configure a credential helper to remove this warning. See [2023-10-04T04:32:59.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:32:59.932Z] [2023-10-04T04:32:59.932Z] Login Succeeded [2023-10-04T04:32:59.932Z] docker.io [2023-10-04T04:32:59.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:32:59.965Z] ---> Running in ce2b30813702 [2023-10-04T04:33:00.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:33:00.201Z] Configure a credential helper to remove this warning. See [2023-10-04T04:33:00.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:33:00.201Z] [2023-10-04T04:33:00.201Z] Login Succeeded [2023-10-04T04:33:00.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:33:00.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:33:00.468Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:33:00.482Z] Deleting 1 temporary files [2023-10-04T04:33:00.483Z] OK: 264 MiB in 52 packages [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T04:33:00.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-10-04T04:33:00.742Z] Removing intermediate container ce2b30813702 [2023-10-04T04:33:00.742Z] ---> 89be6a2d3f14 [2023-10-04T04:33:00.742Z] Step 7/23 : COPY go.mod vendor* ./ [Pipeline] echo [2023-10-04T04:33:00.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:33:00.767Z] ========================================================= [2023-10-04T04:33:00.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T04:33:00.768Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:33:01.000Z] ---> 0ba7f375cff1 [2023-10-04T04:33:01.001Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:33:01.001Z] ---> Running in 857097647ce5 [2023-10-04T04:33:01.122Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T04:33:01.391Z] Sending build context to Docker daemon 5.992MB [2023-10-04T04:33:01.391Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:33:01.391Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T04:33:01.565Z] Removing intermediate container 857097647ce5 [2023-10-04T04:33:01.565Z] ---> f950aa8d8399 [2023-10-04T04:33:01.565Z] Step 9/23 : COPY . . [2023-10-04T04:33:01.664Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T04:33:01.664Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T04:33:01.664Z] 5d54e960e981: Pulling fs layer [2023-10-04T04:33:01.664Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T04:33:01.664Z] f0e02332f6b5: Pulling fs layer [2023-10-04T04:33:01.664Z] cefa15bbcfad: Pulling fs layer [2023-10-04T04:33:01.664Z] 17808c966233: Pulling fs layer [2023-10-04T04:33:01.665Z] f4c1fc716caa: Pulling fs layer [2023-10-04T04:33:01.665Z] f0e02332f6b5: Waiting [2023-10-04T04:33:01.665Z] cefa15bbcfad: Waiting [2023-10-04T04:33:01.665Z] 17808c966233: Waiting [2023-10-04T04:33:01.665Z] 5d54e960e981: Verifying Checksum [2023-10-04T04:33:01.665Z] 5d54e960e981: Download complete [2023-10-04T04:33:01.665Z] f0e02332f6b5: Download complete [2023-10-04T04:33:01.665Z] cefa15bbcfad: Verifying Checksum [2023-10-04T04:33:01.665Z] cefa15bbcfad: Download complete [2023-10-04T04:33:01.665Z] 9fda8d8052c6: Download complete [2023-10-04T04:33:02.133Z] ---> 16e10aa1d6d5 [2023-10-04T04:33:02.133Z] Step 10/23 : RUN ${MAKE} [2023-10-04T04:33:02.133Z] ---> Running in e0ce6437e9c9 [2023-10-04T04:33:02.257Z] f4c1fc716caa: Verifying Checksum [2023-10-04T04:33:02.257Z] f4c1fc716caa: Download complete [2023-10-04T04:33:02.392Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-04T04:33:02.525Z] 9fda8d8052c6: Pull complete [2023-10-04T04:33:03.120Z] 5d54e960e981: Pull complete [2023-10-04T04:33:03.386Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T04:33:03.386Z] c4a7e357bf2a: Download complete [2023-10-04T04:33:04.351Z] 17808c966233: Verifying Checksum [2023-10-04T04:33:04.351Z] 17808c966233: Download complete [2023-10-04T04:33:14.440Z] c4a7e357bf2a: Pull complete [2023-10-04T04:33:14.440Z] f0e02332f6b5: Pull complete [2023-10-04T04:33:14.709Z] cefa15bbcfad: Pull complete [2023-10-04T04:33:21.368Z] 17808c966233: Pull complete [2023-10-04T04:33:22.786Z] f4c1fc716caa: Pull complete [2023-10-04T04:33:22.786Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T04:33:22.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T04:33:22.786Z] ---> ea914061e18c [2023-10-04T04:33:22.786Z] Step 3/10 : ARG MAKE=make build [2023-10-04T04:33:24.197Z] ---> Running in 5b19a0d2bf04 [2023-10-04T04:33:24.466Z] Removing intermediate container 5b19a0d2bf04 [2023-10-04T04:33:24.466Z] ---> 4843d0bfa135 [2023-10-04T04:33:24.466Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-04T04:33:24.466Z] ---> Running in 0e5145fcbeb7 [2023-10-04T04:33:24.758Z] Removing intermediate container 0e5145fcbeb7 [2023-10-04T04:33:24.758Z] ---> 86abbeec3a6a [2023-10-04T04:33:24.758Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:33:25.039Z] ---> Running in 9a68c50b4922 [2023-10-04T04:33:25.330Z] Removing intermediate container 9a68c50b4922 [2023-10-04T04:33:25.330Z] ---> 7ab923e1cc68 [2023-10-04T04:33:25.330Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-04T04:33:25.330Z] ---> Running in 56c923fa566a [2023-10-04T04:33:26.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:33:26.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:33:27.750Z] OK: 266 MiB in 52 packages [2023-10-04T04:33:28.715Z] Removing intermediate container 56c923fa566a [2023-10-04T04:33:28.715Z] ---> 0fc380366694 [2023-10-04T04:33:28.715Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T04:33:28.982Z] Removing intermediate container e0ce6437e9c9 [2023-10-04T04:33:28.982Z] ---> 6ef4738e9d4c [2023-10-04T04:33:28.982Z] Step 11/23 : FROM alpine:3.18 [2023-10-04T04:33:28.982Z] 3.18: Pulling from library/alpine [2023-10-04T04:33:28.982Z] 96526aa774ef: Pulling fs layer [2023-10-04T04:33:28.982Z] 96526aa774ef: Verifying Checksum [2023-10-04T04:33:28.982Z] 96526aa774ef: Download complete [2023-10-04T04:33:28.982Z] 96526aa774ef: Pull complete [2023-10-04T04:33:28.982Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T04:33:28.982Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T04:33:28.982Z] ---> 8ca4688f4f35 [2023-10-04T04:33:28.982Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-04T04:33:28.982Z] ---> Running in f2fa2d870226 [2023-10-04T04:33:28.982Z] Removing intermediate container f2fa2d870226 [2023-10-04T04:33:28.982Z] ---> 669e60424829 [2023-10-04T04:33:28.982Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-04T04:33:28.982Z] ---> Running in 09d3a28903e6 [2023-10-04T04:33:28.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:33:28.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:33:28.982Z] OK: 7 MiB in 15 packages [2023-10-04T04:33:28.982Z] Removing intermediate container 09d3a28903e6 [2023-10-04T04:33:28.982Z] ---> ed81a428796f [2023-10-04T04:33:28.982Z] Step 14/23 : WORKDIR / [2023-10-04T04:33:28.982Z] ---> Running in a99bba885f19 [2023-10-04T04:33:28.982Z] Removing intermediate container a99bba885f19 [2023-10-04T04:33:28.982Z] ---> ffd2c208cd79 [2023-10-04T04:33:28.982Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-04T04:33:28.982Z] ---> 00f25a900b35 [2023-10-04T04:33:28.982Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-04T04:33:28.982Z] ---> 9b31fd2c2f93 [2023-10-04T04:33:28.982Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-04T04:33:28.982Z] ---> f7ccbba78590 [2023-10-04T04:33:28.982Z] Step 18/23 : EXPOSE 59999 [2023-10-04T04:33:28.982Z] ---> Running in 927fca8e8b79 [2023-10-04T04:33:28.982Z] Removing intermediate container 927fca8e8b79 [2023-10-04T04:33:28.982Z] ---> cb22e3f71241 [2023-10-04T04:33:28.982Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-04T04:33:28.982Z] ---> Running in 76de7cd2c21e [2023-10-04T04:33:28.982Z] Removing intermediate container 76de7cd2c21e [2023-10-04T04:33:28.982Z] ---> aefb7f38650b [2023-10-04T04:33:28.982Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T04:33:28.982Z] ---> Running in f8d9931726f6 [2023-10-04T04:33:28.982Z] Removing intermediate container f8d9931726f6 [2023-10-04T04:33:28.982Z] ---> 6f952c8db315 [2023-10-04T04:33:28.982Z] Step 21/23 : LABEL arch=amd64 [2023-10-04T04:33:28.982Z] ---> Running in 07346a42ec17 [2023-10-04T04:33:29.241Z] Removing intermediate container 07346a42ec17 [2023-10-04T04:33:29.241Z] ---> a51aaa213106 [2023-10-04T04:33:29.241Z] Step 22/23 : LABEL git_sha=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [2023-10-04T04:33:29.241Z] ---> Running in 39f890780086 [2023-10-04T04:33:29.241Z] Removing intermediate container 39f890780086 [2023-10-04T04:33:29.241Z] ---> 58f5053fe9d8 [2023-10-04T04:33:29.241Z] Step 23/23 : LABEL version=3.1.0-dev.33 [2023-10-04T04:33:29.241Z] ---> Running in 71006e55142a [2023-10-04T04:33:29.241Z] Removing intermediate container 71006e55142a [2023-10-04T04:33:29.241Z] ---> 47b3fd404c0e [2023-10-04T04:33:29.241Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T04:33:29.241Z] Successfully built 47b3fd404c0e [2023-10-04T04:33:29.241Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-10-04T04:33:29.304Z] ---> 7f98c0fcc993 [2023-10-04T04:33:29.304Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:33:29.304Z] ---> Running in 885378498e4b 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-10-04T04:33:29.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:33:29.681Z] [2023-10-04T04:33:29.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:33:29.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:33:29.974Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T04:33:29.974Z] 5eb5b503b376: Pulling fs layer [2023-10-04T04:33:29.974Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T04:33:29.974Z] ec43610c2a17: Pulling fs layer [2023-10-04T04:33:29.974Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T04:33:29.974Z] 33b1e0a273af: Pulling fs layer [2023-10-04T04:33:29.974Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T04:33:29.974Z] 2f39f015ded8: Pulling fs layer [2023-10-04T04:33:29.974Z] 3a2ae6a8a46f: Waiting [2023-10-04T04:33:29.974Z] 33b1e0a273af: Waiting [2023-10-04T04:33:29.974Z] 5d3b04190fa2: Waiting [2023-10-04T04:33:29.974Z] 2f39f015ded8: Waiting [2023-10-04T04:33:29.974Z] 5c69ac0246d0: Download complete [2023-10-04T04:33:29.974Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T04:33:29.974Z] 3a2ae6a8a46f: Download complete [2023-10-04T04:33:29.974Z] 33b1e0a273af: Verifying Checksum [2023-10-04T04:33:29.974Z] 33b1e0a273af: Download complete [2023-10-04T04:33:29.974Z] 5d3b04190fa2: Verifying Checksum [2023-10-04T04:33:29.974Z] 5d3b04190fa2: Download complete [2023-10-04T04:33:29.974Z] ec43610c2a17: Verifying Checksum [2023-10-04T04:33:29.974Z] ec43610c2a17: Download complete [2023-10-04T04:33:30.232Z] 5eb5b503b376: Verifying Checksum [2023-10-04T04:33:30.232Z] 5eb5b503b376: Download complete [2023-10-04T04:33:30.798Z] 2f39f015ded8: Download complete [2023-10-04T04:33:31.730Z] 5eb5b503b376: Pull complete [2023-10-04T04:33:31.730Z] 5c69ac0246d0: Pull complete [2023-10-04T04:33:32.296Z] ec43610c2a17: Pull complete [2023-10-04T04:33:32.297Z] 3a2ae6a8a46f: Pull complete [2023-10-04T04:33:32.555Z] 33b1e0a273af: Pull complete [2023-10-04T04:33:32.555Z] 5d3b04190fa2: Pull complete [2023-10-04T04:33:37.841Z] 2f39f015ded8: Pull complete [2023-10-04T04:33:37.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T04:33:37.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:33:37.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:33:37.926Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:33:37.960Z] $ 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-10-04T04:33:46.204Z] $ docker top a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:33:46.582Z] ---> job-cost.sh [2023-10-04T04:33:46.582Z] lf-activate-venv: SKIPPING [2023-10-04T04:33:46.582Z] INFO: No Stack... [2023-10-04T04:33:46.844Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T04:33:47.103Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T04:33:47.392Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-10-04T04:33:47.392Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T04:33:47.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [2023-10-04T04:33:47.412Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] did not exist. Created. [2023-10-04T04:33:47.412Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T04:33:47.716Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T04:33:47.752Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T04:33:47.760Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T04:33:47.782Z] $ docker stop --time=1 a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 [2023-10-04T04:33:48.946Z] $ docker rm -f --volumes a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-04T04:34:37.203Z] Removing intermediate container 885378498e4b [2023-10-04T04:34:37.203Z] ---> 1db6c71635d7 [2023-10-04T04:34:37.203Z] Step 9/10 : COPY . . [2023-10-04T04:34:37.203Z] ---> 785e1f7dba11 [2023-10-04T04:34:37.203Z] Step 10/10 : RUN ${MAKE} [2023-10-04T04:34:37.203Z] ---> Running in 8a0cee6bc8af [2023-10-04T04:34:37.203Z] noop [2023-10-04T04:34:37.788Z] Removing intermediate container 8a0cee6bc8af [2023-10-04T04:34:37.788Z] ---> b575d9d61153 [2023-10-04T04:34:37.788Z] Successfully built b575d9d61153 [2023-10-04T04:34:37.788Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:34:38.144Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T04:34:38.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:34:38.342Z] prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container [2023-10-04T04:34:38.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@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-10-04T04:34:39.531Z] $ docker top 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:34:40.346Z] + go version [2023-10-04T04:34:40.347Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T04:34:40.366Z] $ docker stop --time=1 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d [2023-10-04T04:34:41.996Z] $ docker rm -f --volumes 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:34:42.549Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T04:34:42.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:34:42.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container [2023-10-04T04:34:42.785Z] $ 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/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@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-10-04T04:34:43.915Z] $ docker top 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:34:44.421Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/262 [Pipeline] fileExists [Pipeline] sh [2023-10-04T04:34:45.328Z] + make test [2023-10-04T04:34:45.328Z] go test -race -coverprofile=coverage.out ./... [2023-10-04T04:35:17.557Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-04T04:36:54.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-04T04:36:54.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-04T04:36:54.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-04T04:36:54.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-04T04:36:54.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-04T04:36:54.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.216s coverage: 27.6% of statements [2023-10-04T04:37:02.998Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.242s coverage: 81.5% of statements [2023-10-04T04:37:13.089Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-04T04:37:13.089Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-04T04:37:13.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.351s coverage: 86.0% of statements [2023-10-04T04:37:18.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-04T04:37:20.395Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.450s coverage: 71.8% of statements [2023-10-04T04:37:23.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.403s coverage: 14.4% of statements [2023-10-04T04:37:23.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.828s coverage: 45.9% of statements [2023-10-04T04:37:24.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-04T04:37:24.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-04T04:37:25.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.454s coverage: 68.5% of statements [2023-10-04T04:37:28.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.435s coverage: 89.2% of statements [2023-10-04T04:37:28.971Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-04T04:37:30.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.225s coverage: 5.5% of statements [2023-10-04T04:37:31.337Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T04:37:31.337Z] GO111MODULE=on go vet ./... [2023-10-04T04:39:22.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T04:39:22.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T04:39:22.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T04:39:23.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T04:39:23.026Z] $ docker stop --time=1 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 [2023-10-04T04:39:24.930Z] $ docker rm -f --volumes 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:39:26.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T04:39:26.468Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T04:39:26.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:39:27.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T04:39:27.666Z] + ls -al . [2023-10-04T04:39:27.666Z] total 300 [2023-10-04T04:39:27.666Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:34 . [2023-10-04T04:39:27.666Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:32 .. [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:32 .dockerignore [2023-10-04T04:39:27.666Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:32 .git [2023-10-04T04:39:27.666Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:32 .github [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:32 .gitignore [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:32 .golangci.yml [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:32 CHANGELOG.md [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:32 GOVERNANCE.md [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:32 Jenkinsfile [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:32 LICENSE [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:32 Makefile [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:32 OWNERS.md [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:32 README.md [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:30 VERSION [2023-10-04T04:39:27.666Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:32 bin [2023-10-04T04:39:27.666Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 4 04:37 coverage.out [2023-10-04T04:39:27.666Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:32 example [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:32 go.mod [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:32 go.sum [2023-10-04T04:39:27.666Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:32 internal [2023-10-04T04:39:27.666Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:32 openapi [2023-10-04T04:39:27.666Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:32 pkg [2023-10-04T04:39:27.666Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:32 snap [2023-10-04T04:39:27.666Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:39:28.006Z] + 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 --label arch=arm64 --label version=3.1.0-dev.33 . [2023-10-04T04:39:28.272Z] Sending build context to Docker daemon 6.115MB [2023-10-04T04:39:28.272Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:39:28.272Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-04T04:39:28.272Z] ---> b575d9d61153 [2023-10-04T04:39:28.272Z] Step 3/23 : ARG MAKE=make build [2023-10-04T04:39:28.537Z] ---> Running in 28addb836470 [2023-10-04T04:39:28.804Z] Removing intermediate container 28addb836470 [2023-10-04T04:39:28.804Z] ---> 97da1e200e77 [2023-10-04T04:39:28.804Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-04T04:39:28.804Z] ---> Running in 774a3ad96ae7 [2023-10-04T04:39:29.071Z] Removing intermediate container 774a3ad96ae7 [2023-10-04T04:39:29.071Z] ---> 737dd0b722bc [2023-10-04T04:39:29.071Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:39:29.071Z] ---> Running in 7f7fd0e824ae [2023-10-04T04:39:29.337Z] Removing intermediate container 7f7fd0e824ae [2023-10-04T04:39:29.337Z] ---> 8ab603da8d0a [2023-10-04T04:39:29.337Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-04T04:39:29.337Z] ---> Running in c2879ddae36f [2023-10-04T04:39:30.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:39:30.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:39:31.839Z] OK: 266 MiB in 52 packages [2023-10-04T04:39:34.412Z] Removing intermediate container c2879ddae36f [2023-10-04T04:39:34.412Z] ---> 8fff16783736 [2023-10-04T04:39:34.412Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-04T04:39:34.678Z] ---> fed3b2ff86de [2023-10-04T04:39:34.678Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:39:34.678Z] ---> Running in 471a006ebed4 [2023-10-04T04:39:36.626Z] Removing intermediate container 471a006ebed4 [2023-10-04T04:39:36.626Z] ---> f73d8704a5d4 [2023-10-04T04:39:36.626Z] Step 9/23 : COPY . . [2023-10-04T04:39:37.591Z] ---> d0c00e159a3b [2023-10-04T04:39:37.591Z] Step 10/23 : RUN ${MAKE} [2023-10-04T04:39:37.859Z] ---> Running in 76e84898acb6 [2023-10-04T04:39:38.818Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-04T04:41:30.442Z] Removing intermediate container 76e84898acb6 [2023-10-04T04:41:30.442Z] ---> e106481ff59e [2023-10-04T04:41:30.442Z] Step 11/23 : FROM alpine:3.18 [2023-10-04T04:41:30.442Z] 3.18: Pulling from library/alpine [2023-10-04T04:41:30.442Z] 579b34f0a95b: Pulling fs layer [2023-10-04T04:41:30.442Z] 579b34f0a95b: Verifying Checksum [2023-10-04T04:41:30.442Z] 579b34f0a95b: Download complete [2023-10-04T04:41:30.442Z] 579b34f0a95b: Pull complete [2023-10-04T04:41:30.442Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T04:41:30.442Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T04:41:30.442Z] ---> 3cc203321400 [2023-10-04T04:41:30.443Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-04T04:41:30.443Z] ---> Running in c7b672dd5ede [2023-10-04T04:41:30.443Z] Removing intermediate container c7b672dd5ede [2023-10-04T04:41:30.443Z] ---> 0cb786f127a3 [2023-10-04T04:41:30.443Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-04T04:41:30.443Z] ---> Running in d4ce6a0f3edd [2023-10-04T04:41:30.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:41:30.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:41:30.443Z] OK: 8 MiB in 15 packages [2023-10-04T04:41:30.443Z] Removing intermediate container d4ce6a0f3edd [2023-10-04T04:41:30.443Z] ---> d0502a6dba0c [2023-10-04T04:41:30.443Z] Step 14/23 : WORKDIR / [2023-10-04T04:41:30.443Z] ---> Running in 89ece48b73ad [2023-10-04T04:41:30.443Z] Removing intermediate container 89ece48b73ad [2023-10-04T04:41:30.443Z] ---> 5f6f8f5fc78f [2023-10-04T04:41:30.443Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-04T04:41:30.443Z] ---> 0bde6f1a08c2 [2023-10-04T04:41:30.443Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-04T04:41:30.443Z] ---> d215bbbb443b [2023-10-04T04:41:30.443Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-04T04:41:30.443Z] ---> 534613216efa [2023-10-04T04:41:30.443Z] Step 18/23 : EXPOSE 59999 [2023-10-04T04:41:30.443Z] ---> Running in 8bfa1d9b2e7f [2023-10-04T04:41:30.443Z] Removing intermediate container 8bfa1d9b2e7f [2023-10-04T04:41:30.443Z] ---> ceb80d66ebf1 [2023-10-04T04:41:30.443Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-04T04:41:30.443Z] ---> Running in bbd5059b09e5 [2023-10-04T04:41:30.443Z] Removing intermediate container bbd5059b09e5 [2023-10-04T04:41:30.443Z] ---> ecd3e2a7b16f [2023-10-04T04:41:30.443Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T04:41:30.443Z] ---> Running in f765c1f04781 [2023-10-04T04:41:30.443Z] Removing intermediate container f765c1f04781 [2023-10-04T04:41:30.443Z] ---> a745a3a9f034 [2023-10-04T04:41:30.443Z] Step 21/23 : LABEL arch=arm64 [2023-10-04T04:41:30.443Z] ---> Running in 244ede90074a [2023-10-04T04:41:30.443Z] Removing intermediate container 244ede90074a [2023-10-04T04:41:30.443Z] ---> 96dc643a8dc1 [2023-10-04T04:41:30.443Z] Step 22/23 : LABEL git_sha=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [2023-10-04T04:41:30.443Z] ---> Running in 7b72514678f1 [2023-10-04T04:41:30.443Z] Removing intermediate container 7b72514678f1 [2023-10-04T04:41:30.443Z] ---> 52f5f3979334 [2023-10-04T04:41:30.443Z] Step 23/23 : LABEL version=3.1.0-dev.33 [2023-10-04T04:41:30.443Z] ---> Running in 4dc6e04cb9ea [2023-10-04T04:41:30.443Z] Removing intermediate container 4dc6e04cb9ea [2023-10-04T04:41:30.443Z] ---> 96c2e77d5054 [2023-10-04T04:41:30.443Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T04:41:30.443Z] Successfully built 96c2e77d5054 [2023-10-04T04:41:30.443Z] 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-10-04T04:41:30.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:41:30.889Z] [2023-10-04T04:41:30.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:41:31.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:41:31.321Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T04:41:31.321Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T04:41:31.321Z] 04944245beec: Pulling fs layer [2023-10-04T04:41:31.321Z] 699f458cf7ca: Pulling fs layer [2023-10-04T04:41:31.321Z] 765212b225bb: Pulling fs layer [2023-10-04T04:41:31.321Z] f23df028b6ca: Pulling fs layer [2023-10-04T04:41:31.321Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T04:41:31.321Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T04:41:31.321Z] 765212b225bb: Waiting [2023-10-04T04:41:31.321Z] f23df028b6ca: Waiting [2023-10-04T04:41:31.321Z] d65c8cfc05b1: Waiting [2023-10-04T04:41:31.321Z] 2437ff75d9bd: Waiting [2023-10-04T04:41:31.616Z] 04944245beec: Verifying Checksum [2023-10-04T04:41:31.616Z] 04944245beec: Download complete [2023-10-04T04:41:31.616Z] 765212b225bb: Verifying Checksum [2023-10-04T04:41:31.616Z] 765212b225bb: Download complete [2023-10-04T04:41:31.616Z] f23df028b6ca: Verifying Checksum [2023-10-04T04:41:31.616Z] f23df028b6ca: Download complete [2023-10-04T04:41:31.616Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T04:41:31.616Z] d65c8cfc05b1: Download complete [2023-10-04T04:41:31.616Z] 699f458cf7ca: Verifying Checksum [2023-10-04T04:41:31.616Z] 699f458cf7ca: Download complete [2023-10-04T04:41:32.226Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T04:41:32.226Z] 8998bd30e6a1: Download complete [2023-10-04T04:41:34.222Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T04:41:34.222Z] 2437ff75d9bd: Download complete [2023-10-04T04:41:36.190Z] 8998bd30e6a1: Pull complete [2023-10-04T04:41:36.457Z] 04944245beec: Pull complete [2023-10-04T04:41:37.865Z] 699f458cf7ca: Pull complete [2023-10-04T04:41:37.865Z] 765212b225bb: Pull complete [2023-10-04T04:41:38.836Z] f23df028b6ca: Pull complete [2023-10-04T04:41:38.836Z] d65c8cfc05b1: Pull complete [2023-10-04T04:41:53.843Z] 2437ff75d9bd: Pull complete [2023-10-04T04:41:53.843Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T04:41:53.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:41:53.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:41:54.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container [2023-10-04T04:41:54.077Z] $ 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/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@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-10-04T04:41:56.635Z] $ docker top c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:41:57.470Z] ---> job-cost.sh [2023-10-04T04:41:57.470Z] lf-activate-venv: SKIPPING [2023-10-04T04:41:57.470Z] INFO: No Stack... [2023-10-04T04:41:57.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T04:41:58.691Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T04:41:59.009Z] + cat+ /w/workspace/device-sdk-go/262/archives/cost.csv [2023-10-04T04:41:59.009Z] cut -d, -f6 [Pipeline] lock [2023-10-04T04:41:59.333Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [2023-10-04T04:41:59.340Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] did not exist. Created. [2023-10-04T04:41:59.340Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T04:41:59.681Z] /w/workspace/device-sdk-go/262@tmp/durable-a037bff4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T04:42:00.016Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T04:42:00.042Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T04:42:00.113Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T04:42:00.120Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T04:42:00.134Z] $ docker stop --time=1 c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 [2023-10-04T04:42:01.632Z] $ docker rm -f --volumes c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 [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-10-04T04:42:02.016Z] provisioning config files... [2023-10-04T04:42:02.022Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6912691872508271239tmp [Pipeline] { [Pipeline] sh [2023-10-04T04:42:02.315Z] + set +x [2023-10-04T04:42:02.315Z] + bash+ -s -- [2023-10-04T04:42:02.315Z] curl -s https://codecov.io/bash [2023-10-04T04:42:02.315Z] [2023-10-04T04:42:02.315Z] _____ _ [2023-10-04T04:42:02.315Z] / ____| | | [2023-10-04T04:42:02.315Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T04:42:02.315Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T04:42:02.315Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T04:42:02.315Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T04:42:02.315Z] Bash-1.0.6 [2023-10-04T04:42:02.315Z] [2023-10-04T04:42:02.315Z] [2023-10-04T04:42:02.315Z] ==> git version 2.25.1 found [2023-10-04T04:42:02.315Z] ==> 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-10-04T04:42:02.315Z] Release-Date: 2020-01-08 [2023-10-04T04:42:02.315Z] 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-10-04T04:42:02.315Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T04:42:02.315Z] ==> Jenkins CI detected. [2023-10-04T04:42:02.315Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-10-04T04:42:02.315Z] project root: . [2023-10-04T04:42:02.315Z] --> token set from env [2023-10-04T04:42:02.315Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T04:42:02.315Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T04:42:02.316Z] ==> Python coveragepy not found [2023-10-04T04:42:02.316Z] ==> Searching for coverage reports in: [2023-10-04T04:42:02.316Z] + . [2023-10-04T04:42:02.316Z] -> Found 1 reports [2023-10-04T04:42:02.316Z] ==> Detecting git/mercurial file structure [2023-10-04T04:42:02.575Z] ==> Reading reports [2023-10-04T04:42:02.575Z] + ./coverage.out bytes=122155 [2023-10-04T04:42:02.575Z] ==> Appending adjustments [2023-10-04T04:42:02.575Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T04:42:02.834Z] + Found adjustments [2023-10-04T04:42:02.834Z] ==> Gzipping contents [2023-10-04T04:42:02.834Z] 20K /tmp/codecov.DfFhtX.gz [2023-10-04T04:42:02.834Z] ==> Uploading reports [2023-10-04T04:42:02.834Z] url: https://codecov.io [2023-10-04T04:42:02.834Z] query: branch=main&commit=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017&build=262&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F262%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T04:42:02.834Z] -> Pinging Codecov [2023-10-04T04:42:02.834Z] 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017&build=262&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F262%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-04T04:42:02.834Z] -> Uploading to [2023-10-04T04:42:02.834Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/7E55EF52A471D76F132DFD9A03CDDE97/8a4e603c9daa9d98ee8f2e5896cc64fc9a451017/011c431b-c880-440d-87b9-124a5f0d3b0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T044202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0b9951c195e91cbec04543c1fb36682dd223735def0aadb70a2d835062a60fb [2023-10-04T04:42:02.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T04:42:02.834Z] Dload Upload Total Spent Left Speed [2023-10-04T04:42:03.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16755 0 0 100 16755 0 59839 --:--:-- --:--:-- --:--:-- 59626 100 16755 0 0 100 16755 0 59626 --:--:-- --:--:-- --:--:-- 59414 [2023-10-04T04:42:03.094Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] } [2023-10-04T04:42:03.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-04T04:42:03.346Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-04T04:42:03.357Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:03.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T04:42:03.666Z] [2023-10-04T04:42:03.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:03.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T04:42:03.973Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-04T04:42:03.973Z] df9b9388f04a: Pulling fs layer [2023-10-04T04:42:03.973Z] 52dc419b0ee2: Pulling fs layer [2023-10-04T04:42:03.973Z] 25bc292e5bac: Pulling fs layer [2023-10-04T04:42:03.973Z] 114826534d7a: Pulling fs layer [2023-10-04T04:42:03.973Z] 4657fd5d0bcf: Pulling fs layer [2023-10-04T04:42:03.973Z] 6ad1cebc031e: Pulling fs layer [2023-10-04T04:42:03.973Z] 8a3aa393b2d8: Pulling fs layer [2023-10-04T04:42:03.973Z] 114826534d7a: Waiting [2023-10-04T04:42:03.973Z] 6ad1cebc031e: Waiting [2023-10-04T04:42:03.973Z] 8a3aa393b2d8: Waiting [2023-10-04T04:42:03.973Z] 4657fd5d0bcf: Waiting [2023-10-04T04:42:03.973Z] 25bc292e5bac: Verifying Checksum [2023-10-04T04:42:03.973Z] 25bc292e5bac: Download complete [2023-10-04T04:42:03.973Z] 52dc419b0ee2: Verifying Checksum [2023-10-04T04:42:03.973Z] 52dc419b0ee2: Download complete [2023-10-04T04:42:03.973Z] 4657fd5d0bcf: Verifying Checksum [2023-10-04T04:42:03.973Z] 4657fd5d0bcf: Download complete [2023-10-04T04:42:03.973Z] df9b9388f04a: Download complete [2023-10-04T04:42:04.233Z] df9b9388f04a: Pull complete [2023-10-04T04:42:04.233Z] 6ad1cebc031e: Verifying Checksum [2023-10-04T04:42:04.233Z] 6ad1cebc031e: Download complete [2023-10-04T04:42:04.233Z] 52dc419b0ee2: Pull complete [2023-10-04T04:42:04.233Z] 25bc292e5bac: Pull complete [2023-10-04T04:42:04.801Z] 114826534d7a: Verifying Checksum [2023-10-04T04:42:04.801Z] 114826534d7a: Download complete [2023-10-04T04:42:05.059Z] 8a3aa393b2d8: Verifying Checksum [2023-10-04T04:42:05.059Z] 8a3aa393b2d8: Download complete [2023-10-04T04:42:08.345Z] 114826534d7a: Pull complete [2023-10-04T04:42:08.345Z] 4657fd5d0bcf: Pull complete [2023-10-04T04:42:08.603Z] 6ad1cebc031e: Pull complete [2023-10-04T04:42:11.892Z] 8a3aa393b2d8: Pull complete [2023-10-04T04:42:11.892Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-04T04:42:11.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-04T04:42:11.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:42:11.990Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:42:12.024Z] $ 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-10-04T04:42:17.326Z] $ docker top 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-04T04:42:17.395Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-10-04T04:42:17.674Z] + set -o pipefail [2023-10-04T04:42:17.674Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-10-04T04:42:22.950Z] [2023-10-04T04:42:22.950Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-10-04T04:42:22.950Z] [2023-10-04T04:42:22.950Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/223960d3-959e-46a2-9c0c-121841a35c5d [2023-10-04T04:42:22.950Z] [2023-10-04T04:42:22.950Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-04T04:42:22.950Z] [2023-10-04T04:42:23.210Z] [2023-10-04T04:42:23.210Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-04T04:42:23.210Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-04T04:42:23.210Z] More details here: https://snyk.co/ue1NS [2023-10-04T04:42:23.210Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-04T04:42:23.211Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-04T04:42:23.222Z] $ docker stop --time=1 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 [2023-10-04T04:42:27.342Z] $ docker rm -f --volumes 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 [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-10-04T04:42:27.731Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:42:27.743Z] provisioning config files... [2023-10-04T04:42:27.750Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13154354824497796417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:42:28.042Z] --> edgex-publish-swagger.sh [2023-10-04T04:42:28.042Z] === Publish openapi/v3 API === [2023-10-04T04:42:28.042Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-10-04T04:42:28.042Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-10-04T04:42:28.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T04:42:28.042Z] Dload Upload Total Spent Left Speed [2023-10-04T04:42:28.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 104k --:--:-- --:--:-- --:--:-- 104k 100 23674 0 0 100 23674 0 51689 --:--:-- --:--:-- --:--:-- 51577 [2023-10-04T04:42:28.301Z] [2023-10-04T04:42:28.301Z] [Pipeline] } [2023-10-04T04:42:28.307Z] 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-10-04T04:42:28.721Z] + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] sh [2023-10-04T04:42:29.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T04:42:29.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:29.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:42:29.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:42:29.373Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:42:29.405Z] $ 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-10-04T04:42:29.923Z] $ docker top 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 -eo pid,comm [2023-10-04T04:42:29.971Z] 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-10-04T04:42:29.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T04:42:30.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:42:30.008Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:42:30.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:42:30.138Z] $ docker exec 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 ssh-agent [2023-10-04T04:42:30.230Z] SSH_AUTH_SOCK=/tmp/ssh-iLqv8rGG3H4V/agent.32 [2023-10-04T04:42:30.230Z] SSH_AGENT_PID=38 [2023-10-04T04:42:30.234Z] Running ssh-add (command line suppressed) [2023-10-04T04:42:30.330Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15613042225458387468.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15613042225458387468.key) [2023-10-04T04:42:30.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:42:30.625Z] + git semver tag [2023-10-04T04:42:30.883Z] 2023-10-04 04:42:30,781 [run_tag] DEBUG tag force:False [2023-10-04T04:42:30.883Z] 2023-10-04 04:42:30,781 [check_head_tag] DEBUG check head tag [2023-10-04T04:42:30.883Z] 2023-10-04 04:42:30,782 [execute] INFO git cat-file --batch-check [2023-10-04T04:42:30.883Z] 2023-10-04 04:42:30,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,785 [execute] INFO git cat-file --batch [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,802 [execute] INFO git tag -a v3.1.0-dev.33 -m v3.1.0-dev.33 [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,802 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.33', '-m', 'v3.1.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-04T04:42:30.884Z] 2023-10-04 04:42:30,806 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:30.884Z] 3.1.0-dev.33 [Pipeline] } [2023-10-04T04:42:30.893Z] $ docker exec --env ******** --env ******** 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 ssh-agent -k [2023-10-04T04:42:30.987Z] unset SSH_AUTH_SOCK; [2023-10-04T04:42:30.987Z] unset SSH_AGENT_PID; [2023-10-04T04:42:30.987Z] echo Agent pid 38 killed; [2023-10-04T04:42:30.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T04:42:31.294Z] + git semver [Pipeline] } [2023-10-04T04:42:31.567Z] $ docker stop --time=1 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 [2023-10-04T04:42:32.836Z] $ docker rm -f --volumes 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:33.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T04:42:33.232Z] [2023-10-04T04:42:33.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:33.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T04:42:33.530Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-04T04:42:33.530Z] ab5ef0e58194: Pulling fs layer [2023-10-04T04:42:33.530Z] 9712f1f96733: Pulling fs layer [2023-10-04T04:42:33.530Z] 63f879dbbcfc: Pulling fs layer [2023-10-04T04:42:33.530Z] 0d9ebad4ef96: Pulling fs layer [2023-10-04T04:42:33.530Z] e9a5061849ea: Pulling fs layer [2023-10-04T04:42:33.530Z] d747dcd14b5f: Pulling fs layer [2023-10-04T04:42:33.531Z] 2de7ff778b66: Pulling fs layer [2023-10-04T04:42:33.531Z] 0d9ebad4ef96: Waiting [2023-10-04T04:42:33.531Z] e9a5061849ea: Waiting [2023-10-04T04:42:33.531Z] 2de7ff778b66: Waiting [2023-10-04T04:42:33.531Z] d747dcd14b5f: Waiting [2023-10-04T04:42:33.531Z] 9712f1f96733: Verifying Checksum [2023-10-04T04:42:33.531Z] 9712f1f96733: Download complete [2023-10-04T04:42:34.099Z] 63f879dbbcfc: Verifying Checksum [2023-10-04T04:42:34.099Z] 63f879dbbcfc: Download complete [2023-10-04T04:42:34.099Z] 0d9ebad4ef96: Verifying Checksum [2023-10-04T04:42:34.099Z] 0d9ebad4ef96: Download complete [2023-10-04T04:42:34.099Z] e9a5061849ea: Verifying Checksum [2023-10-04T04:42:34.099Z] e9a5061849ea: Download complete [2023-10-04T04:42:34.099Z] d747dcd14b5f: Verifying Checksum [2023-10-04T04:42:34.099Z] d747dcd14b5f: Download complete [2023-10-04T04:42:34.099Z] ab5ef0e58194: Verifying Checksum [2023-10-04T04:42:34.099Z] ab5ef0e58194: Download complete [2023-10-04T04:42:34.099Z] 2de7ff778b66: Verifying Checksum [2023-10-04T04:42:34.099Z] 2de7ff778b66: Download complete [2023-10-04T04:42:36.626Z] ab5ef0e58194: Pull complete [2023-10-04T04:42:36.626Z] 9712f1f96733: Pull complete [2023-10-04T04:42:37.192Z] 63f879dbbcfc: Pull complete [2023-10-04T04:42:41.375Z] 0d9ebad4ef96: Pull complete [2023-10-04T04:42:41.375Z] e9a5061849ea: Pull complete [2023-10-04T04:42:41.375Z] d747dcd14b5f: Pull complete [2023-10-04T04:42:41.941Z] 2de7ff778b66: Pull complete [2023-10-04T04:42:41.941Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-04T04:42:41.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-04T04:42:41.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:42:42.033Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:42:42.059Z] $ 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-10-04T04:42:48.380Z] $ docker top ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:42:48.447Z] provisioning config files... [2023-10-04T04:42:48.454Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9768929320800523499tmp [2023-10-04T04:42:48.466Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config151901743454002104tmp [2023-10-04T04:42:48.475Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2537107978991693220tmp [Pipeline] { [Pipeline] echo [2023-10-04T04:42:48.488Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:42:48.770Z] ---> sigul-configuration.sh [2023-10-04T04:42:48.770Z] gpg: directory `/root/.gnupg' created [2023-10-04T04:42:48.770Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-04T04:42:48.770Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-04T04:42:48.770Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-04T04:42:48.770Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-04T04:42:48.770Z] gpg: CAST5 encrypted data [2023-10-04T04:42:48.770Z] gpg: encrypted with 1 passphrase [2023-10-04T04:42:48.770Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-04T04:42:49.055Z] + mkdir /home/jenkins [2023-10-04T04:42:49.055Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-04T04:42:49.341Z] + 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-10-04T04:42:49.351Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:42:49.635Z] ---> sigul-install.sh [2023-10-04T04:42:49.635Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-04T04:42:49.920Z] + git tag --list [2023-10-04T04:42:49.920Z] 0.7.1 [2023-10-04T04:42:49.920Z] delhi-tag [2023-10-04T04:42:49.920Z] v1.0.0 [2023-10-04T04:42:49.920Z] v1.1.0 [2023-10-04T04:42:49.920Z] v1.1.1 [2023-10-04T04:42:49.920Z] v1.1.2 [2023-10-04T04:42:49.920Z] v1.2.0 [2023-10-04T04:42:49.920Z] v1.2.1 [2023-10-04T04:42:49.920Z] v1.2.2 [2023-10-04T04:42:49.920Z] v1.2.3 [2023-10-04T04:42:49.920Z] v1.3.0 [2023-10-04T04:42:49.920Z] v1.4.0 [2023-10-04T04:42:49.920Z] v2.0.0 [2023-10-04T04:42:49.920Z] v2.1.0 [2023-10-04T04:42:49.920Z] v2.1.1 [2023-10-04T04:42:49.920Z] v2.2.0 [2023-10-04T04:42:49.920Z] v2.3.0 [2023-10-04T04:42:49.920Z] v2.3.1 [2023-10-04T04:42:49.920Z] v3.0 [2023-10-04T04:42:49.920Z] v3.0.0 [2023-10-04T04:42:49.920Z] v3.0.1-dev.1 [2023-10-04T04:42:49.920Z] v3.1.0-dev.1 [2023-10-04T04:42:49.920Z] v3.1.0-dev.10 [2023-10-04T04:42:49.920Z] v3.1.0-dev.11 [2023-10-04T04:42:49.920Z] v3.1.0-dev.12 [2023-10-04T04:42:49.920Z] v3.1.0-dev.13 [2023-10-04T04:42:49.920Z] v3.1.0-dev.14 [2023-10-04T04:42:49.920Z] v3.1.0-dev.15 [2023-10-04T04:42:49.920Z] v3.1.0-dev.16 [2023-10-04T04:42:49.920Z] v3.1.0-dev.17 [2023-10-04T04:42:49.920Z] v3.1.0-dev.18 [2023-10-04T04:42:49.920Z] v3.1.0-dev.19 [2023-10-04T04:42:49.920Z] v3.1.0-dev.2 [2023-10-04T04:42:49.920Z] v3.1.0-dev.20 [2023-10-04T04:42:49.920Z] v3.1.0-dev.21 [2023-10-04T04:42:49.920Z] v3.1.0-dev.22 [2023-10-04T04:42:49.920Z] v3.1.0-dev.23 [2023-10-04T04:42:49.920Z] v3.1.0-dev.24 [2023-10-04T04:42:49.920Z] v3.1.0-dev.25 [2023-10-04T04:42:49.920Z] v3.1.0-dev.26 [2023-10-04T04:42:49.920Z] v3.1.0-dev.27 [2023-10-04T04:42:49.920Z] v3.1.0-dev.28 [2023-10-04T04:42:49.920Z] v3.1.0-dev.29 [2023-10-04T04:42:49.920Z] v3.1.0-dev.3 [2023-10-04T04:42:49.920Z] v3.1.0-dev.30 [2023-10-04T04:42:49.920Z] v3.1.0-dev.31 [2023-10-04T04:42:49.920Z] v3.1.0-dev.32 [2023-10-04T04:42:49.920Z] v3.1.0-dev.33 [2023-10-04T04:42:49.920Z] v3.1.0-dev.4 [2023-10-04T04:42:49.920Z] v3.1.0-dev.5 [2023-10-04T04:42:49.920Z] v3.1.0-dev.6 [2023-10-04T04:42:49.920Z] v3.1.0-dev.7 [2023-10-04T04:42:49.920Z] v3.1.0-dev.8 [2023-10-04T04:42:49.920Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-04T04:42:50.206Z] + lftools sign git-tag v3.1.0-dev.33 [2023-10-04T04:42:50.790Z] Signing Git tag with Sigul... [2023-10-04T04:42:50.790Z] Signing v3.1.0-dev.33 [Pipeline] echo [2023-10-04T04:42:51.057Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:42:51.341Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-04T04:42:51.348Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-04T04:42:51.370Z] $ docker stop --time=1 ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 [2023-10-04T04:42:52.642Z] $ docker rm -f --volumes ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-04T04:42:53.035Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T04:42:53.035Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:53.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:42:53.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:42:53.406Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:42:53.433Z] $ 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-10-04T04:42:53.761Z] $ docker top b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 -eo pid,comm [2023-10-04T04:42:53.807Z] 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-10-04T04:42:53.807Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T04:42:53.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:42:53.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:42:53.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:42:53.962Z] $ docker exec b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 ssh-agent [2023-10-04T04:42:54.073Z] SSH_AUTH_SOCK=/tmp/ssh-Duh9JNKyMHmU/agent.33 [2023-10-04T04:42:54.073Z] SSH_AGENT_PID=39 [2023-10-04T04:42:54.077Z] Running ssh-add (command line suppressed) [2023-10-04T04:42:54.167Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8208012781578266448.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8208012781578266448.key) [2023-10-04T04:42:54.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:42:54.463Z] + git semver bump pre [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,634 [bump_version] DEBUG bumping version:3.1.0-dev.33 on axis:pre with prefix:dev [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,635 [bump_version] DEBUG bumped version:3.1.0-dev.34 [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,635 [write_version] DEBUG write version:3.1.0-dev.34 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,635 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,637 [execute] INFO git cat-file --batch-check [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,643 [execute] INFO git cat-file --batch [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T04:42:54.721Z] 2023-10-04 04:42:54,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:42:54.721Z] 3.1.0-dev.34 [Pipeline] } [2023-10-04T04:42:54.730Z] $ docker exec --env ******** --env ******** b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 ssh-agent -k [2023-10-04T04:42:54.827Z] unset SSH_AUTH_SOCK; [2023-10-04T04:42:54.827Z] unset SSH_AGENT_PID; [2023-10-04T04:42:54.827Z] echo Agent pid 39 killed; [2023-10-04T04:42:54.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T04:42:55.148Z] + git semver [Pipeline] } [2023-10-04T04:42:55.419Z] $ docker stop --time=1 b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 [2023-10-04T04:42:56.697Z] $ docker rm -f --volumes b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:42:57.043Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T04:42:57.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:42:57.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:42:57.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:42:57.417Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:42:57.446Z] $ 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-10-04T04:42:57.755Z] $ docker top 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 -eo pid,comm [2023-10-04T04:42:57.805Z] 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-10-04T04:42:57.805Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T04:42:57.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:42:57.841Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:42:57.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:42:57.943Z] $ docker exec 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 ssh-agent [2023-10-04T04:42:58.039Z] SSH_AUTH_SOCK=/tmp/ssh-FU5lCVDU64dC/agent.32 [2023-10-04T04:42:58.039Z] SSH_AGENT_PID=39 [2023-10-04T04:42:58.043Z] Running ssh-add (command line suppressed) [2023-10-04T04:42:58.129Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2041352031383898426.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2041352031383898426.key) [2023-10-04T04:42:58.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:42:58.425Z] + git semver push [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,589 [run_push] DEBUG push [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,590 [execute] INFO git cat-file --batch-check [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,594 [execute] INFO git rev-list b7ce0e7fdd5ef1ef1de53f051b1ad9fe861bc860 -- [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,594 [execute] DEBUG Popen(['git', 'rev-list', 'b7ce0e7fdd5ef1ef1de53f051b1ad9fe861bc860', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,606 [execute] INFO git fetch -v origin [2023-10-04T04:42:58.685Z] 2023-10-04 04:42:58,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-04T04:42:59.253Z] 2023-10-04 04:42:59,145 [run_push] DEBUG no remote changes detected [2023-10-04T04:42:59.253Z] 2023-10-04 04:42:59,146 [execute] INFO git push origin semver [2023-10-04T04:42:59.253Z] 2023-10-04 04:42:59,146 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-04T04:43:00.194Z] 2023-10-04 04:43:00,098 [run_push] DEBUG push all version tags [2023-10-04T04:43:00.194Z] 2023-10-04 04:43:00,098 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-04T04:43:00.194Z] 2023-10-04 04:43:00,099 [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-10-04T04:43:01.573Z] 2023-10-04 04:43:01,153 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-10-04T04:43:01.573Z] 3.1.0-dev.34 [Pipeline] } [2023-10-04T04:43:01.581Z] $ docker exec --env ******** --env ******** 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 ssh-agent -k [2023-10-04T04:43:01.678Z] unset SSH_AUTH_SOCK; [2023-10-04T04:43:01.679Z] unset SSH_AGENT_PID; [2023-10-04T04:43:01.679Z] echo Agent pid 39 killed; [2023-10-04T04:43:01.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T04:43:01.985Z] + git semver [Pipeline] } [2023-10-04T04:43:02.256Z] $ docker stop --time=1 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 [2023-10-04T04:43:03.515Z] $ docker rm -f --volumes 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 [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-10-04T04:43:04.084Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-10-04T04:43:04.084Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-04T04:43:04.084Z] total 16 [2023-10-04T04:43:04.084Z] drwxr-xr-x 3 root root 4096 Oct 4 04:33 . [2023-10-04T04:43:04.084Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:42 .. [2023-10-04T04:43:04.084Z] drwxr-xr-x 2 root root 4096 Oct 4 04:33 cost [2023-10-04T04:43:04.084Z] -rw-r--r-- 1 root root 85 Oct 4 04:33 cost.csv [2023-10-04T04:43:04.084Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-04T04:43:04.084Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-10-04T04:43:04.084Z] total 16 [2023-10-04T04:43:04.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:33 . [2023-10-04T04:43:04.084Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:42 .. [2023-10-04T04:43:04.084Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:33 cost [2023-10-04T04:43:04.084Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 4 04:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:04.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:05.228Z] ---> package-listing.sh [2023-10-04T04:43:05.228Z] ++ facter osfamily [2023-10-04T04:43:05.228Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T04:43:05.487Z] + OS_FAMILY=debian [2023-10-04T04:43:05.487Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-10-04T04:43:05.487Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T04:43:05.487Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T04:43:05.487Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T04:43:05.487Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T04:43:05.487Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-10-04T04:43:05.487Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T04:43:05.487Z] + case "${OS_FAMILY}" in [2023-10-04T04:43:05.487Z] + dpkg -l [2023-10-04T04:43:05.487Z] + grep '^ii' [2023-10-04T04:43:05.487Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T04:43:05.487Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T04:43:05.487Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T04:43:05.487Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-10-04T04:43:05.487Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-10-04T04:43:05.487Z] + 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-10-04T04:43:05.497Z] 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-10-04T04:43:05.812Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:43:06.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:43:06.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:43:06.299Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2023-10-04T04:43:06.339Z] $ 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-10-04T04:43:06.543Z] $ docker top 216268f0de503df02bfddc7d7f3bd8b2ad79927568d00dd8e75c819fa1c999b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:43:06.890Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T04:43:07.173Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T04:43:07.454Z] + ls /var/log/sa-host [2023-10-04T04:43:07.454Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:43:07.516Z] provisioning config files... [2023-10-04T04:43:07.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6205012475303245259tmp [Pipeline] { [Pipeline] echo [2023-10-04T04:43:07.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:07.816Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T04:43:07.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:08.157Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T04:43:08.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:08.446Z] ---> sudo-logs.sh [2023-10-04T04:43:08.446Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T04:43:08.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:08.744Z] ---> job-cost.sh [2023-10-04T04:43:08.744Z] lf-activate-venv: SKIPPING [2023-10-04T04:43:08.744Z] DEBUG: total: 0.2199999988079071 [2023-10-04T04:43:08.744Z] INFO: Retrieving Stack Cost... [2023-10-04T04:43:09.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T04:43:09.568Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T04:43:09.580Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:43:09.859Z] ---> logs-deploy.sh [2023-10-04T04:43:09.859Z] lf-activate-venv: SKIPPING [2023-10-04T04:43:09.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/262 [2023-10-04T04:43:09.859Z] INFO: archiving workspace using pattern(s): [2023-10-04T04:43:10.795Z] Archives upload complete. [2023-10-04T04:43:10.795Z] INFO: archiving logs to Nexus