Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2da8002a0f90c09723ed576a82490c9132775745 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-ssh1283013579856163090.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7167525986386078923.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1839810866495573479.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh16459692573512656450.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-rest-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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12190454271808355234.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8416 in /w/workspace/edgexfoundry_device-rest-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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2da8002a0f90c09723ed576a82490c9132775745 (main) Commit message: "Merge pull request #289 from weichou1229/interface-change" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 > git rev-list --no-walk 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:02 ========================================================= 07:19:02 EdgeX Global Pipelines Version Info 07:19:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:02 ------------------- 07:19:02 stable info: 07:19:02 ------------------- 07:19:02 Commited By: Bill Mahoney bill.mahoney@intel.com 07:19:02 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:19:02 Message: update stable to v1.0.248 07:19:03 ------------------- 07:19:03 experimental info: 07:19:03 ------------------- 07:19:03 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:03 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:19:03 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] echo 07:19:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2da8002 [Pipeline] echo 07:19:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:04 provisioning config files... 07:19:04 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8573252854938857889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:04 ---> docker-login.sh 07:19:04 nexus3.edgexfoundry.org:10001 07:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:04 Configure a credential helper to remove this warning. See 07:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:04 07:19:04 Login Succeeded 07:19:04 nexus3.edgexfoundry.org:10002 07:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:04 Configure a credential helper to remove this warning. See 07:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:04 07:19:04 Login Succeeded 07:19:04 nexus3.edgexfoundry.org:10003 07:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:04 Configure a credential helper to remove this warning. See 07:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:04 07:19:04 Login Succeeded 07:19:04 nexus3.edgexfoundry.org:10004 07:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:05 Configure a credential helper to remove this warning. See 07:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:05 07:19:05 Login Succeeded 07:19:05 docker.io 07:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:05 Configure a credential helper to remove this warning. See 07:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:05 07:19:05 Login Succeeded 07:19:05 ---> docker-login.sh ends [Pipeline] } 07:19:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:05 + git rev-list -1 --merges 2da8002a0f90c09723ed576a82490c9132775745~1..2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] echo 07:19:05 -----------> git rev-list -1 --merges 2da8002a0f90c09723ed576a82490c9132775745~1..2da8002a0f90c09723ed576a82490c9132775745 2da8002a0f90c09723ed576a82490c9132775745 07:19:05 2da8002a0f90c09723ed576a82490c9132775745 [false] [Pipeline] sh 07:19:06 + git log --format=format:%s -1 2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] echo 07:19:06 ========================================================= 07:19:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:06 + git log --format=format:%s -1 2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] echo 07:19:06 [semverPrep] GIT_COMMIT: 2da8002a0f90c09723ed576a82490c9132775745, Commit Message: Merge pull request #289 from weichou1229/interface-change [Pipeline] echo 07:19:06 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:06 + grep -v github /etc/ssh/ssh_known_hosts 07:19:06 + [ -e /tmp/ssh_known_hosts ] 07:19:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:06 + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:07 07:19:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:07 0.1.4: Pulling from edgex-devops/py-git-semver 07:19:07 b85a868b505f: Pulling fs layer 07:19:07 e2be974225ed: Pulling fs layer 07:19:07 339a4e72a1f5: Pulling fs layer 07:19:07 988bab9f4d93: Pulling fs layer 07:19:07 1469e6f7b9e6: Pulling fs layer 07:19:07 eaf3925da568: Pulling fs layer 07:19:07 bab4dde63d76: Pulling fs layer 07:19:07 bde34c3a00c8: Pulling fs layer 07:19:07 b352a97aabf1: Pulling fs layer 07:19:07 4872d77fe225: Pulling fs layer 07:19:07 5851b861e8e6: Pulling fs layer 07:19:07 988bab9f4d93: Waiting 07:19:07 1469e6f7b9e6: Waiting 07:19:07 eaf3925da568: Waiting 07:19:07 bab4dde63d76: Waiting 07:19:07 bde34c3a00c8: Waiting 07:19:07 b352a97aabf1: Waiting 07:19:07 e2be974225ed: Verifying Checksum 07:19:07 e2be974225ed: Download complete 07:19:07 988bab9f4d93: Verifying Checksum 07:19:07 988bab9f4d93: Download complete 07:19:07 339a4e72a1f5: Verifying Checksum 07:19:07 339a4e72a1f5: Download complete 07:19:07 eaf3925da568: Verifying Checksum 07:19:07 eaf3925da568: Download complete 07:19:07 1469e6f7b9e6: Verifying Checksum 07:19:07 1469e6f7b9e6: Download complete 07:19:07 bde34c3a00c8: Verifying Checksum 07:19:07 bde34c3a00c8: Download complete 07:19:07 b352a97aabf1: Verifying Checksum 07:19:07 b352a97aabf1: Download complete 07:19:07 4872d77fe225: Download complete 07:19:07 5851b861e8e6: Download complete 07:19:07 b85a868b505f: Verifying Checksum 07:19:07 b85a868b505f: Download complete 07:19:08 bab4dde63d76: Verifying Checksum 07:19:08 bab4dde63d76: Download complete 07:19:08 b85a868b505f: Pull complete 07:19:09 e2be974225ed: Pull complete 07:19:09 339a4e72a1f5: Pull complete 07:19:09 988bab9f4d93: Pull complete 07:19:10 1469e6f7b9e6: Pull complete 07:19:10 eaf3925da568: Pull complete 07:19:11 bab4dde63d76: Pull complete 07:19:11 bde34c3a00c8: Pull complete 07:19:12 b352a97aabf1: Pull complete 07:19:12 4872d77fe225: Pull complete 07:19:12 5851b861e8e6: Pull complete 07:19:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:12 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:19:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:19:14 $ docker top f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 -eo pid,comm 07:19:14 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). 07:19:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:14 [ssh-agent] Looking for ssh-agent implementation... 07:19:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:15 $ docker exec f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 ssh-agent 07:19:15 SSH_AUTH_SOCK=/tmp/ssh-VtpiJ2ARMFgt/agent.33 07:19:15 SSH_AGENT_PID=39 07:19:15 Running ssh-add (command line suppressed) 07:19:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2811631898712827464.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2811631898712827464.key) 07:19:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:15 + git tag --points-at HEAD [Pipeline] } 07:19:15 $ docker exec --env ******** --env ******** f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 ssh-agent -k 07:19:15 unset SSH_AUTH_SOCK; 07:19:15 unset SSH_AGENT_PID; 07:19:15 echo Agent pid 39 killed; 07:19:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:15 [ssh-agent] Looking for ssh-agent implementation... 07:19:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:15 $ docker exec f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 ssh-agent 07:19:16 SSH_AUTH_SOCK=/tmp/ssh-ZcMVnFFnCa16/agent.72 07:19:16 SSH_AGENT_PID=78 07:19:16 Running ssh-add (command line suppressed) 07:19:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6100543654090906914.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6100543654090906914.key) 07:19:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:16 + git semver init 07:19:16 2023-04-13 07:19:16,642 [run_init] DEBUG init version:0.0.0 force:False 07:19:16 2023-04-13 07:19:16,643 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 07:19:16 2023-04-13 07:19:16,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 07:19:16 2023-04-13 07:19:16,644 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 07:19:18 2023-04-13 07:19:17,713 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 07:19:18 2023-04-13 07:19:17,714 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 07:19:18 2023-04-13 07:19:17,714 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:19:18 2023-04-13 07:19:17,714 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:19:18 3.0.0-dev.26 [Pipeline] } 07:19:18 $ docker exec --env ******** --env ******** f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 ssh-agent -k 07:19:18 unset SSH_AUTH_SOCK; 07:19:18 unset SSH_AGENT_PID; 07:19:18 echo Agent pid 78 killed; 07:19:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:18 + git semver [Pipeline] } 07:19:18 $ docker stop --time=1 f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 07:19:20 $ docker rm -f --volumes f2ffe45c97566f491f8a620389308bdbf805bc5de8b757c76251d4f6ef5e60d9 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:20 Stashed 1 file(s) [Pipeline] echo 07:19:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [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 07:19:20 provisioning config files... 07:19:20 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config189641081165837595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:21 ---> docker-login.sh 07:19:21 nexus3.edgexfoundry.org:10001 07:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:21 Configure a credential helper to remove this warning. See 07:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:21 07:19:21 Login Succeeded 07:19:21 nexus3.edgexfoundry.org:10002 07:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:21 Configure a credential helper to remove this warning. See 07:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:21 07:19:21 Login Succeeded 07:19:21 nexus3.edgexfoundry.org:10003 07:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:21 Configure a credential helper to remove this warning. See 07:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:21 07:19:21 Login Succeeded 07:19:21 nexus3.edgexfoundry.org:10004 07:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:21 Configure a credential helper to remove this warning. See 07:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:21 07:19:21 Login Succeeded 07:19:21 docker.io 07:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:21 Configure a credential helper to remove this warning. See 07:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:21 07:19:21 Login Succeeded 07:19:21 ---> docker-login.sh ends [Pipeline] } 07:19:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:21 ========================================================= 07:19:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:19:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:19:22 Sending build context to Docker daemon 10.87MB 07:19:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:19:22 Step 2/12 : FROM ${BASE} AS builder 07:19:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:22 63b65145d645: Pulling fs layer 07:19:22 a2d21d5440eb: Pulling fs layer 07:19:22 935e6c44a52c: Pulling fs layer 07:19:22 94cc34f8dd06: Pulling fs layer 07:19:22 30dea6a524f1: Pulling fs layer 07:19:22 a2aff8979fd8: Pulling fs layer 07:19:22 6808be2612f2: Pulling fs layer 07:19:22 f25807f1079a: Pulling fs layer 07:19:22 94cc34f8dd06: Waiting 07:19:22 30dea6a524f1: Waiting 07:19:22 6808be2612f2: Waiting 07:19:22 a2aff8979fd8: Waiting 07:19:22 f25807f1079a: Waiting 07:19:22 a2d21d5440eb: Download complete 07:19:22 94cc34f8dd06: Verifying Checksum 07:19:22 94cc34f8dd06: Download complete 07:19:22 30dea6a524f1: Verifying Checksum 07:19:22 30dea6a524f1: Download complete 07:19:22 63b65145d645: Verifying Checksum 07:19:22 63b65145d645: Download complete 07:19:22 a2aff8979fd8: Verifying Checksum 07:19:22 a2aff8979fd8: Download complete 07:19:22 63b65145d645: Pull complete 07:19:22 a2d21d5440eb: Pull complete 07:19:22 f25807f1079a: Verifying Checksum 07:19:22 f25807f1079a: Download complete 07:19:22 935e6c44a52c: Verifying Checksum 07:19:22 935e6c44a52c: Download complete 07:19:23 6808be2612f2: Verifying Checksum 07:19:23 6808be2612f2: Download complete 07:19:26 935e6c44a52c: Pull complete 07:19:26 94cc34f8dd06: Pull complete 07:19:26 30dea6a524f1: Pull complete 07:19:26 a2aff8979fd8: Pull complete 07:19:29 6808be2612f2: Pull complete 07:19:29 f25807f1079a: Pull complete 07:19:29 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:19:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:19:29 ---> 3b553350e43f 07:19:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:19:33 ---> Running in 18a78ee3d51c 07:19:33 Removing intermediate container 18a78ee3d51c 07:19:33 ---> 8c8143404143 07:19:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:33 ---> Running in 64636115078d 07:19:33 Removing intermediate container 64636115078d 07:19:33 ---> 0af3fd152a51 07:19:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:19:33 ---> Running in 015f194f835f 07:19:33 Removing intermediate container 015f194f835f 07:19:33 ---> f966f23505e7 07:19:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:19:33 ---> Running in 9864ea69be22 07:19:33 Removing intermediate container 9864ea69be22 07:19:33 ---> 8e0f002ff8df 07:19:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:33 ---> Running in 6222116fa3a0 07:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:19:34 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:19:34 (2/4) Installing libedit (20221030.3.1-r0) 07:19:34 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:19:34 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:19:34 Executing busybox-1.35.0-r29.trigger 07:19:34 OK: 269 MiB in 57 packages 07:19:35 Removing intermediate container 6222116fa3a0 07:19:35 ---> afaab1d050f6 07:19:35 Step 8/12 : WORKDIR /device-rest-go 07:19:35 ---> Running in 8293d2aa107b 07:19:35 Removing intermediate container 8293d2aa107b 07:19:35 ---> b9da6b158878 07:19:35 Step 9/12 : COPY go.mod vendor* ./ 07:19:35 ---> c298c72e7430 07:19:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:35 ---> Running in 1bb97608ec1f 07:19:35 Still waiting to schedule task 07:19:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:20:01 Removing intermediate container 1bb97608ec1f 07:20:01 ---> f94ec6c591f0 07:20:01 Step 11/12 : COPY . . 07:20:01 ---> de9cbf6a1f52 07:20:01 Step 12/12 : RUN $MAKE 07:20:01 ---> Running in 36c9de6cc807 07:20:01 noop 07:20:01 Removing intermediate container 36c9de6cc807 07:20:01 ---> 291b556758de 07:20:01 Successfully built 291b556758de 07:20:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:02 + docker inspect -f . ci-base-image-x86_64 07:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:02 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:20:02 $ docker top cbd1de86f7f68234144ddf38638187a208138a92e8e22a76dd07f909ae424e88 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:03 + go version 07:20:03 go version go1.20.2 linux/amd64 [Pipeline] } 07:20:03 $ docker stop --time=1 cbd1de86f7f68234144ddf38638187a208138a92e8e22a76dd07f909ae424e88 07:20:04 $ docker rm -f --volumes cbd1de86f7f68234144ddf38638187a208138a92e8e22a76dd07f909ae424e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:04 + docker inspect -f . ci-base-image-x86_64 07:20:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:04 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:20:04 $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:20:05 $ docker top a26be05b317a872ca2710aab25651bdde1a1c2668ef7f6cd60dfaa86e0f07523 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 07:20:05 + make test 07:20:05 go test ./... -coverprofile=coverage.out ./... 07:20:11 ? github.com/edgexfoundry/device-rest-go [no test files] 07:20:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:20:20 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.3% of statements 07:20:27 go vet ./... 07:20:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:30 ./bin/test-attribution-txt.sh 07:20:30 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:20:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:30 $ docker stop --time=1 a26be05b317a872ca2710aab25651bdde1a1c2668ef7f6cd60dfaa86e0f07523 07:20:33 $ docker rm -f --volumes a26be05b317a872ca2710aab25651bdde1a1c2668ef7f6cd60dfaa86e0f07523 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:34 + ls -al . 07:20:34 total 184 07:20:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:20 . 07:20:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:19 .. 07:20:34 -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 07:19 .dockerignore 07:20:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:19 .git 07:20:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:19 .github 07:20:34 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:19 .gitignore 07:20:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:19 .golangci.yml 07:20:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:19 .semver 07:20:34 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 07:19 Attribution.txt 07:20:34 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 07:19 CHANGELOG.md 07:20:34 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 07:19 Dockerfile 07:20:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:19 GOVERNANCE.md 07:20:34 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:19 Jenkinsfile 07:20:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:19 LICENSE 07:20:34 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 07:19 Makefile 07:20:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:19 OWNERS.md 07:20:34 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 07:19 README.md 07:20:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:19 VERSION 07:20:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:19 bin 07:20:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:19 cmd 07:20:34 -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 07:20 coverage.out 07:20:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:19 driver 07:20:34 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 07:19 go.mod 07:20:34 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:19 go.sum 07:20:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:19 snap 07:20:34 -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:35 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2da8002a0f90c09723ed576a82490c9132775745 --label arch=amd64 --label version=3.0.0-dev.26 . 07:20:35 Sending build context to Docker daemon 10.89MB 07:20:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:20:35 Step 2/25 : FROM ${BASE} AS builder 07:20:35 ---> 291b556758de 07:20:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:20:35 ---> Running in 4e3ae69be128 07:20:35 Removing intermediate container 4e3ae69be128 07:20:35 ---> 84ed979dd917 07:20:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:35 ---> Running in db680f00e118 07:20:35 Removing intermediate container db680f00e118 07:20:35 ---> c9e690682853 07:20:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:20:35 ---> Running in f1b13dd20938 07:20:35 Removing intermediate container f1b13dd20938 07:20:35 ---> 16ea906a1ca2 07:20:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:20:35 ---> Running in dd8626223089 07:20:35 Removing intermediate container dd8626223089 07:20:35 ---> 74ae36dc1333 07:20:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:35 ---> Running in 259e19ef06de 07:20:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:36 OK: 269 MiB in 57 packages 07:20:36 Removing intermediate container 259e19ef06de 07:20:36 ---> f4a61a0ced7c 07:20:36 Step 8/25 : WORKDIR /device-rest-go 07:20:36 ---> Running in cc1b22a2738e 07:20:36 Removing intermediate container cc1b22a2738e 07:20:36 ---> 1739c5bfe027 07:20:36 Step 9/25 : COPY go.mod vendor* ./ 07:20:36 ---> 95cf81763482 07:20:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:36 ---> Running in 56f7fd6b3077 07:20:37 Removing intermediate container 56f7fd6b3077 07:20:37 ---> 42d65a2e9eed 07:20:37 Step 11/25 : COPY . . 07:20:37 ---> 29714e7b986c 07:20:37 Step 12/25 : RUN $MAKE 07:20:38 ---> Running in 68786e3bb724 07:20:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:20:56 Removing intermediate container 68786e3bb724 07:20:56 ---> d456183f6094 07:20:56 Step 13/25 : FROM alpine:3.17 07:20:56 3.17: Pulling from library/alpine 07:20:56 f56be85fc22e: Pulling fs layer 07:20:56 f56be85fc22e: Download complete 07:20:56 f56be85fc22e: Pull complete 07:20:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:20:56 Status: Downloaded newer image for alpine:3.17 07:20:56 ---> 9ed4aefc74f6 07:20:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:20:57 ---> Running in b03074c7f51f 07:20:57 Removing intermediate container b03074c7f51f 07:20:57 ---> c271aa5aca72 07:20:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:20:57 ---> Running in 146ec9cac73c 07:20:57 Removing intermediate container 146ec9cac73c 07:20:57 ---> c16091e7d6c1 07:20:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:20:57 ---> Running in 1b07446e3fbc 07:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:57 (1/1) Installing dumb-init (1.2.5-r2) 07:20:57 Executing busybox-1.35.0-r29.trigger 07:20:57 OK: 7 MiB in 16 packages 07:20:58 Removing intermediate container 1b07446e3fbc 07:20:58 ---> 831ef0c18c65 07:20:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:20:58 ---> 4acc60166bc9 07:20:58 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:20:58 ---> 0a6ca7eb1b1c 07:20:58 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:20:58 ---> ebe457b12c0a 07:20:58 Step 20/25 : EXPOSE 59986 07:20:58 ---> Running in 53827c40db0e 07:20:58 Removing intermediate container 53827c40db0e 07:20:58 ---> 0040e902b9eb 07:20:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:20:58 ---> Running in 7489ddf4bdba 07:20:59 Removing intermediate container 7489ddf4bdba 07:20:59 ---> eb7327904063 07:20:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:20:59 ---> Running in 84a5c65d0dc7 07:20:59 Removing intermediate container 84a5c65d0dc7 07:20:59 ---> e6f221a18efb 07:20:59 Step 23/25 : LABEL arch=amd64 07:20:59 ---> Running in e59e487e376a 07:20:59 Removing intermediate container e59e487e376a 07:20:59 ---> fc39656ff5d6 07:20:59 Step 24/25 : LABEL git_sha=2da8002a0f90c09723ed576a82490c9132775745 07:20:59 ---> Running in b39a4d4670ae 07:20:59 Removing intermediate container b39a4d4670ae 07:20:59 ---> 931a618093e8 07:20:59 Step 25/25 : LABEL version=3.0.0-dev.26 07:20:59 ---> Running in 6dc00b1a2679 07:20:59 Removing intermediate container 6dc00b1a2679 07:20:59 ---> 2800ad8a26c8 07:20:59 [Warning] One or more build-args [ARCH] were not consumed 07:20:59 Successfully built 2800ad8a26c8 07:20:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:59 provisioning config files... 07:20:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2123104369728921517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:59 ---> docker-login.sh 07:20:59 nexus3.edgexfoundry.org:10001 07:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:59 Configure a credential helper to remove this warning. See 07:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:59 07:20:59 Login Succeeded 07:20:59 nexus3.edgexfoundry.org:10002 07:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:59 Configure a credential helper to remove this warning. See 07:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:59 07:20:59 Login Succeeded 07:20:59 nexus3.edgexfoundry.org:10003 07:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:00 Configure a credential helper to remove this warning. See 07:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:00 07:21:00 Login Succeeded 07:21:00 nexus3.edgexfoundry.org:10004 07:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:00 Configure a credential helper to remove this warning. See 07:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:00 07:21:00 Login Succeeded 07:21:00 docker.io 07:21:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:00 Configure a credential helper to remove this warning. See 07:21:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:00 07:21:00 Login Succeeded 07:21:00 ---> docker-login.sh ends [Pipeline] } 07:21:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:21:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 07:21:00 2da8002a0f90c09723ed576a82490c9132775745 07:21:00 latest 07:21:00 3.0.0-dev.26 07:21:00 2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:21:00 main 07:21:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745 07:21:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:21:01 1eb12db44dd6: Preparing 07:21:01 e02e32d75e77: Preparing 07:21:01 86eaf8af9a15: Preparing 07:21:01 bc6eafeb46a3: Preparing 07:21:01 f1417ff83b31: Preparing 07:21:01 f1417ff83b31: Layer already exists 07:21:01 bc6eafeb46a3: Pushed 07:21:01 1eb12db44dd6: Pushed 07:21:01 e02e32d75e77: Pushed 07:21:03 86eaf8af9a15: Pushed 07:21:03 2da8002a0f90c09723ed576a82490c9132775745: digest: sha256:7d8a01642d11618e75539a2e5b461a29aa83da5355bbb7ccdeeb982557a930f0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 07:21:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:21:04 1eb12db44dd6: Preparing 07:21:04 e02e32d75e77: Preparing 07:21:04 86eaf8af9a15: Preparing 07:21:04 bc6eafeb46a3: Preparing 07:21:04 f1417ff83b31: Preparing 07:21:04 86eaf8af9a15: Layer already exists 07:21:04 f1417ff83b31: Layer already exists 07:21:04 e02e32d75e77: Layer already exists 07:21:04 1eb12db44dd6: Layer already exists 07:21:04 bc6eafeb46a3: Layer already exists 07:21:04 latest: digest: sha256:7d8a01642d11618e75539a2e5b461a29aa83da5355bbb7ccdeeb982557a930f0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.26 07:21:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:21:04 1eb12db44dd6: Preparing 07:21:04 e02e32d75e77: Preparing 07:21:04 86eaf8af9a15: Preparing 07:21:04 bc6eafeb46a3: Preparing 07:21:04 f1417ff83b31: Preparing 07:21:04 f1417ff83b31: Layer already exists 07:21:04 86eaf8af9a15: Layer already exists 07:21:04 bc6eafeb46a3: Layer already exists 07:21:04 e02e32d75e77: Layer already exists 07:21:04 1eb12db44dd6: Layer already exists 07:21:04 3.0.0-dev.26: digest: sha256:7d8a01642d11618e75539a2e5b461a29aa83da5355bbb7ccdeeb982557a930f0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:21:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:21:05 1eb12db44dd6: Preparing 07:21:05 e02e32d75e77: Preparing 07:21:05 86eaf8af9a15: Preparing 07:21:05 bc6eafeb46a3: Preparing 07:21:05 f1417ff83b31: Preparing 07:21:05 e02e32d75e77: Layer already exists 07:21:05 bc6eafeb46a3: Layer already exists 07:21:05 1eb12db44dd6: Layer already exists 07:21:05 86eaf8af9a15: Layer already exists 07:21:05 f1417ff83b31: Layer already exists 07:21:05 2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26: digest: sha256:7d8a01642d11618e75539a2e5b461a29aa83da5355bbb7ccdeeb982557a930f0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 07:21:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:21:06 1eb12db44dd6: Preparing 07:21:06 e02e32d75e77: Preparing 07:21:06 86eaf8af9a15: Preparing 07:21:06 bc6eafeb46a3: Preparing 07:21:06 f1417ff83b31: Preparing 07:21:06 1eb12db44dd6: Layer already exists 07:21:06 f1417ff83b31: Layer already exists 07:21:06 e02e32d75e77: Layer already exists 07:21:06 86eaf8af9a15: Layer already exists 07:21:06 bc6eafeb46a3: Layer already exists 07:21:06 main: digest: sha256:7d8a01642d11618e75539a2e5b461a29aa83da5355bbb7ccdeeb982557a930f0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:06 ===================================================== [Pipeline] echo 07:21:06 taggedImages: 07:21:06 - nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745 07:21:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 07:21:06 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.26 07:21:06 - nexus3.edgexfoundry.org:10004/device-rest:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:21:06 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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 07:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:06 07:21:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:06 latest: Pulling from edgex-lftools-log-publisher 07:21:06 5eb5b503b376: Pulling fs layer 07:21:06 5c69ac0246d0: Pulling fs layer 07:21:06 ec43610c2a17: Pulling fs layer 07:21:06 3a2ae6a8a46f: Pulling fs layer 07:21:06 33b1e0a273af: Pulling fs layer 07:21:06 5d3b04190fa2: Pulling fs layer 07:21:06 2f39f015ded8: Pulling fs layer 07:21:06 3a2ae6a8a46f: Waiting 07:21:06 33b1e0a273af: Waiting 07:21:06 5d3b04190fa2: Waiting 07:21:06 2f39f015ded8: Waiting 07:21:06 5c69ac0246d0: Verifying Checksum 07:21:06 5c69ac0246d0: Download complete 07:21:06 3a2ae6a8a46f: Download complete 07:21:06 ec43610c2a17: Verifying Checksum 07:21:06 ec43610c2a17: Download complete 07:21:06 33b1e0a273af: Verifying Checksum 07:21:06 33b1e0a273af: Download complete 07:21:06 5d3b04190fa2: Download complete 07:21:07 5eb5b503b376: Verifying Checksum 07:21:07 5eb5b503b376: Download complete 07:21:07 2f39f015ded8: Download complete 07:21:08 5eb5b503b376: Pull complete 07:21:08 5c69ac0246d0: Pull complete 07:21:08 ec43610c2a17: Pull complete 07:21:08 3a2ae6a8a46f: Pull complete 07:21:08 33b1e0a273af: Pull complete 07:21:08 5d3b04190fa2: Pull complete 07:21:13 2f39f015ded8: Pull complete 07:21:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:21:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:13 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:21:13 $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:21:15 $ docker top 0eee6783d3aa9503b4e5539f7ec087859ba9519236755a5a69c4c8c01900ce8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:15 ---> job-cost.sh 07:21:15 lf-activate-venv: SKIPPING 07:21:15 INFO: No Stack... 07:21:16 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:16 INFO: Archiving Costs [Pipeline] sh 07:21:16 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 07:21:16 + cut -d, -f6 [Pipeline] lock 07:21:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] 07:21:16 Resource [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] did not exist. Created. 07:21:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:17 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:17 Stashed 1 file(s) [Pipeline] } 07:21:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:17 $ docker stop --time=1 0eee6783d3aa9503b4e5539f7ec087859ba9519236755a5a69c4c8c01900ce8c 07:21:18 $ docker rm -f --volumes 0eee6783d3aa9503b4e5539f7ec087859ba9519236755a5a69c4c8c01900ce8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8420 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 07:22:14 Running in /w/workspace/device-rest-go/98 [Pipeline] { [Pipeline] checkout 07:22:14 The recommended git tool is: git 07:22:21 using credential edgex-jenkins-ssh 07:22:21 Cloning the remote Git repository 07:22:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:22:21 > git init /w/workspace/device-rest-go/98 # timeout=10 07:22:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:22:21 > git --version # timeout=10 07:22:21 > git --version # 'git version 2.25.1' 07:22:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:22:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:25 Avoid second fetch 07:22:25 Checking out Revision 2da8002a0f90c09723ed576a82490c9132775745 (main) 07:22:25 Commit message: "Merge pull request #289 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:25 > git config core.sparsecheckout # timeout=10 07:22:25 > git checkout -f 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 07:22:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:26 Dload Upload Total Spent Left Speed 07:22:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10502 0 0 60356 0 --:--:-- --:--:-- --:--:-- 60011 100 12751 100 12751 0 0 72448 0 --:--:-- --:--:-- --:--:-- 72039 [Pipeline] sh 07:22:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:27 + sudo tee /etc/docker/daemon.new 07:22:27 { 07:22:27 "registry-mirrors": [ 07:22:27 "https://nexus3.edgexfoundry.org:10001" 07:22:27 ], 07:22:27 "bip": "10.250.0.254/24", 07:22:27 "hosts": [ 07:22:27 "tcp://0.0.0.0:5555", 07:22:27 "unix:///var/run/docker.sock" 07:22:27 ], 07:22:27 "mtu": 1458, 07:22:27 "selinux-enabled": true, 07:22:27 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:27 } [Pipeline] sh 07:22:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:22:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:46 provisioning config files... 07:22:46 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/98@tmp/config12864674906228435346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:47 ---> docker-login.sh 07:22:47 nexus3.edgexfoundry.org:10001 07:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:47 Configure a credential helper to remove this warning. See 07:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:47 07:22:47 Login Succeeded 07:22:47 nexus3.edgexfoundry.org:10002 07:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:48 Configure a credential helper to remove this warning. See 07:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:48 07:22:48 Login Succeeded 07:22:48 nexus3.edgexfoundry.org:10003 07:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:48 Configure a credential helper to remove this warning. See 07:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:48 07:22:48 Login Succeeded 07:22:48 nexus3.edgexfoundry.org:10004 07:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:49 Configure a credential helper to remove this warning. See 07:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:49 07:22:49 Login Succeeded 07:22:49 docker.io 07:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:49 Configure a credential helper to remove this warning. See 07:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:49 07:22:49 Login Succeeded 07:22:49 ---> docker-login.sh ends [Pipeline] } 07:22:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:22:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:50 ========================================================= 07:22:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:22:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:22:50 Sending build context to Docker daemon 137.2kB 07:22:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:22:50 Step 2/12 : FROM ${BASE} AS builder 07:22:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:22:51 af6eaf76a39c: Pulling fs layer 07:22:51 55522c791124: Pulling fs layer 07:22:51 ce5c4a1c91eb: Pulling fs layer 07:22:51 169dfbe0d373: Pulling fs layer 07:22:51 e1ff8fa3b103: Pulling fs layer 07:22:51 52ebb69f0ebf: Pulling fs layer 07:22:51 5abe8eddf0d5: Pulling fs layer 07:22:51 169dfbe0d373: Waiting 07:22:51 e1ff8fa3b103: Waiting 07:22:51 5abe8eddf0d5: Waiting 07:22:51 55522c791124: Verifying Checksum 07:22:51 55522c791124: Download complete 07:22:51 169dfbe0d373: Download complete 07:22:51 e1ff8fa3b103: Verifying Checksum 07:22:51 e1ff8fa3b103: Download complete 07:22:51 af6eaf76a39c: Verifying Checksum 07:22:51 af6eaf76a39c: Download complete 07:22:52 5abe8eddf0d5: Verifying Checksum 07:22:52 5abe8eddf0d5: Download complete 07:22:53 ce5c4a1c91eb: Verifying Checksum 07:22:53 ce5c4a1c91eb: Download complete 07:22:53 52ebb69f0ebf: Download complete 07:22:53 af6eaf76a39c: Pull complete 07:22:54 55522c791124: Pull complete 07:23:09 ce5c4a1c91eb: Pull complete 07:23:09 169dfbe0d373: Pull complete 07:23:09 e1ff8fa3b103: Pull complete 07:23:16 52ebb69f0ebf: Pull complete 07:23:17 5abe8eddf0d5: Pull complete 07:23:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:23:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:23:17 ---> 6cb57ee374ae 07:23:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:23:19 ---> Running in 441966eb88c1 07:23:19 Removing intermediate container 441966eb88c1 07:23:19 ---> fb696583c7a5 07:23:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:23:19 ---> Running in 08c2fe1109ff 07:23:19 Removing intermediate container 08c2fe1109ff 07:23:19 ---> c772d415a433 07:23:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:23:19 ---> Running in 0d2dd4f1b813 07:23:19 Removing intermediate container 0d2dd4f1b813 07:23:19 ---> e952c5916540 07:23:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:23:20 ---> Running in dc436bd5379e 07:23:20 Removing intermediate container dc436bd5379e 07:23:20 ---> 637755254e60 07:23:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:20 ---> Running in a52a7fa455b2 07:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:23:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:23:23 (2/4) Installing libedit (20221030.3.1-r0) 07:23:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:23:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:23:23 Executing busybox-1.35.0-r29.trigger 07:23:23 OK: 268 MiB in 57 packages 07:23:24 Removing intermediate container a52a7fa455b2 07:23:24 ---> ba3f44669191 07:23:24 Step 8/12 : WORKDIR /device-rest-go 07:23:24 ---> Running in 854c3b829481 07:23:25 Removing intermediate container 854c3b829481 07:23:25 ---> 230755b6c9ed 07:23:25 Step 9/12 : COPY go.mod vendor* ./ 07:23:25 ---> a6639e4cfcc0 07:23:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:25 ---> Running in 1f7eb233e312 07:24:33 Removing intermediate container 1f7eb233e312 07:24:33 ---> 8cc40d0a6979 07:24:33 Step 11/12 : COPY . . 07:24:33 ---> 96a63b57f2ac 07:24:33 Step 12/12 : RUN $MAKE 07:24:33 ---> Running in 9372b4a09bec 07:24:33 noop 07:24:33 Removing intermediate container 9372b4a09bec 07:24:33 ---> b4174583396a 07:24:33 Successfully built b4174583396a 07:24:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:34 + docker inspect -f . ci-base-image-arm64 07:24:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:34 prd-ubuntu20.04-docker-arm64-4c-16g-8420 does not seem to be running inside a container 07:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/98 -v /w/workspace/device-rest-go/98:/w/workspace/device-rest-go/98:rw,z -v /w/workspace/device-rest-go/98@tmp:/w/workspace/device-rest-go/98@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 07:24:35 $ docker top 5273ab6571ded232ca2e2b6ef3c481d75db876ed050d16301f398b4e16628104 -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:36 + go version 07:24:36 go version go1.20.2 linux/arm64 [Pipeline] } 07:24:36 $ docker stop --time=1 5273ab6571ded232ca2e2b6ef3c481d75db876ed050d16301f398b4e16628104 07:24:38 $ docker rm -f --volumes 5273ab6571ded232ca2e2b6ef3c481d75db876ed050d16301f398b4e16628104 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:38 + docker inspect -f . ci-base-image-arm64 07:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:38 prd-ubuntu20.04-docker-arm64-4c-16g-8420 does not seem to be running inside a container 07:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/98 -v /w/workspace/device-rest-go/98:/w/workspace/device-rest-go/98:rw,z -v /w/workspace/device-rest-go/98@tmp:/w/workspace/device-rest-go/98@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 07:24:40 $ docker top 1c5fe3a843734eec0d180de15a41ab453875664d7ec5a14b88f5836d17885fef -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:40 + git config --global --add safe.directory /w/workspace/device-rest-go/98 [Pipeline] fileExists [Pipeline] sh 07:24:41 + make test 07:24:41 go test ./... -coverprofile=coverage.out ./... 07:25:20 ? github.com/edgexfoundry/device-rest-go [no test files] 07:27:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:27:57 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 32.3% of statements 07:27:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:27:57 go vet ./... 07:28:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:28:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:28:23 ./bin/test-attribution-txt.sh 07:28:23 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:28:23 $ docker stop --time=1 1c5fe3a843734eec0d180de15a41ab453875664d7ec5a14b88f5836d17885fef 07:28:25 $ docker rm -f --volumes 1c5fe3a843734eec0d180de15a41ab453875664d7ec5a14b88f5836d17885fef [Pipeline] // withDockerContainer [Pipeline] sh 07:28:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:28:27 Warning: overwriting stash ‘coverage-report’ 07:28:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:28:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:28:28 + ls -al . 07:28:28 total 180 07:28:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:24 . 07:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:22 .. 07:28:28 -rw-rw-r-- 1 jenkins jenkins 151 Apr 13 07:22 .dockerignore 07:28:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:22 .git 07:28:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:22 .github 07:28:28 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:22 .gitignore 07:28:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:22 .golangci.yml 07:28:28 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 13 07:22 Attribution.txt 07:28:28 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 13 07:22 CHANGELOG.md 07:28:28 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 13 07:22 Dockerfile 07:28:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:22 GOVERNANCE.md 07:28:28 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 07:22 Jenkinsfile 07:28:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:22 LICENSE 07:28:28 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 13 07:22 Makefile 07:28:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:22 OWNERS.md 07:28:28 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 13 07:22 README.md 07:28:28 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:19 VERSION 07:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:22 bin 07:28:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:22 cmd 07:28:28 -rw-r--r-- 1 jenkins jenkins 14587 Apr 13 07:27 coverage.out 07:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:22 driver 07:28:28 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 13 07:22 go.mod 07:28:28 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:22 go.sum 07:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:22 snap 07:28:28 -rw-rw-r-- 1 jenkins jenkins 713 Apr 13 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:28 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2da8002a0f90c09723ed576a82490c9132775745 --label arch=arm64 --label version=3.0.0-dev.26 . 07:28:28 Sending build context to Docker daemon 152.6kB 07:28:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:28:29 Step 2/25 : FROM ${BASE} AS builder 07:28:29 ---> b4174583396a 07:28:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:28:29 ---> Running in 2a3076b621c9 07:28:29 Removing intermediate container 2a3076b621c9 07:28:29 ---> c74fa55680ae 07:28:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:28:29 ---> Running in 28b947f0d260 07:28:30 Removing intermediate container 28b947f0d260 07:28:30 ---> 22587820e122 07:28:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:28:30 ---> Running in 9ac64fe7b2cd 07:28:30 Removing intermediate container 9ac64fe7b2cd 07:28:30 ---> 64cf400c3621 07:28:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:28:30 ---> Running in be8b2805db5b 07:28:30 Removing intermediate container be8b2805db5b 07:28:30 ---> a019cc0da441 07:28:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:31 ---> Running in 1a8a7bf584df 07:28:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:28:34 OK: 268 MiB in 57 packages 07:28:35 Removing intermediate container 1a8a7bf584df 07:28:35 ---> 727d79ac06a1 07:28:35 Step 8/25 : WORKDIR /device-rest-go 07:28:35 ---> Running in 1b1370fd77d1 07:28:36 Removing intermediate container 1b1370fd77d1 07:28:36 ---> 42c3dfa7d783 07:28:36 Step 9/25 : COPY go.mod vendor* ./ 07:28:36 ---> 33013792c702 07:28:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:36 ---> Running in 14ccd0d1ec61 07:28:40 Removing intermediate container 14ccd0d1ec61 07:28:40 ---> 12c8a084e137 07:28:40 Step 11/25 : COPY . . 07:28:40 ---> 801acdd15e06 07:28:40 Step 12/25 : RUN $MAKE 07:28:40 ---> Running in 78ca1a9b1305 07:28:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:31:18 Removing intermediate container 78ca1a9b1305 07:31:18 ---> 0ad28f9cb605 07:31:18 Step 13/25 : FROM alpine:3.17 07:31:18 3.17: Pulling from library/alpine 07:31:18 c41833b44d91: Pulling fs layer 07:31:18 c41833b44d91: Verifying Checksum 07:31:18 c41833b44d91: Download complete 07:31:18 c41833b44d91: Pull complete 07:31:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:31:18 Status: Downloaded newer image for alpine:3.17 07:31:18 ---> 51e60588ff2c 07:31:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:31:18 ---> Running in 110fa827f0ef 07:31:18 Removing intermediate container 110fa827f0ef 07:31:18 ---> 0a411a043f01 07:31:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:31:18 ---> Running in c7122cedb3a3 07:31:18 Removing intermediate container c7122cedb3a3 07:31:18 ---> 6e07d268a545 07:31:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:31:18 ---> Running in 652257b5fa02 07:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:31:19 (1/1) Installing dumb-init (1.2.5-r2) 07:31:19 Executing busybox-1.35.0-r29.trigger 07:31:19 OK: 8 MiB in 16 packages 07:31:19 Removing intermediate container 652257b5fa02 07:31:19 ---> 193ed31e37bb 07:31:19 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:31:21 ---> 628ab7c4f92c 07:31:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:31:21 ---> 6b4f5607e911 07:31:21 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:31:22 ---> bb42eaa98f64 07:31:22 Step 20/25 : EXPOSE 59986 07:31:22 ---> Running in eaa7db92d5f6 07:31:22 Removing intermediate container eaa7db92d5f6 07:31:22 ---> 24c63b8bb6e4 07:31:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:31:22 ---> Running in 4ac2a128c30e 07:31:23 Removing intermediate container 4ac2a128c30e 07:31:23 ---> 426c0fdb5ee2 07:31:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:31:23 ---> Running in 536f4b7e5ff7 07:31:23 Removing intermediate container 536f4b7e5ff7 07:31:23 ---> e4a8caa94cd2 07:31:23 Step 23/25 : LABEL arch=arm64 07:31:23 ---> Running in b6bc0cf7ea6c 07:31:23 Removing intermediate container b6bc0cf7ea6c 07:31:23 ---> 7547f5604a57 07:31:23 Step 24/25 : LABEL git_sha=2da8002a0f90c09723ed576a82490c9132775745 07:31:23 ---> Running in 2ef6aed8c6ad 07:31:25 Removing intermediate container 2ef6aed8c6ad 07:31:25 ---> 1c2bdf585489 07:31:25 Step 25/25 : LABEL version=3.0.0-dev.26 07:31:25 ---> Running in 628d278e1a4b 07:31:25 Removing intermediate container 628d278e1a4b 07:31:25 ---> ae9ffdda1955 07:31:25 [Warning] One or more build-args [ARCH] were not consumed 07:31:25 Successfully built ae9ffdda1955 07:31:25 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:25 provisioning config files... 07:31:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/98@tmp/config16336959209423187466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:25 ---> docker-login.sh 07:31:25 nexus3.edgexfoundry.org:10001 07:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:26 Configure a credential helper to remove this warning. See 07:31:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:26 07:31:26 Login Succeeded 07:31:26 nexus3.edgexfoundry.org:10002 07:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:26 Configure a credential helper to remove this warning. See 07:31:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:26 07:31:26 Login Succeeded 07:31:26 nexus3.edgexfoundry.org:10003 07:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:27 Configure a credential helper to remove this warning. See 07:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:27 07:31:27 Login Succeeded 07:31:27 nexus3.edgexfoundry.org:10004 07:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:27 Configure a credential helper to remove this warning. See 07:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:27 07:31:27 Login Succeeded 07:31:27 docker.io 07:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:27 Configure a credential helper to remove this warning. See 07:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:27 07:31:27 Login Succeeded 07:31:27 ---> docker-login.sh ends [Pipeline] } 07:31:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:31:27 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 07:31:27 2da8002a0f90c09723ed576a82490c9132775745 07:31:27 latest 07:31:27 3.0.0-dev.26 07:31:27 2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:31:27 main 07:31:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745 07:31:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:31:28 b7c2810d5b99: Preparing 07:31:28 a1edfe642ddb: Preparing 07:31:28 965bc58f1ebf: Preparing 07:31:28 d424431447f5: Preparing 07:31:28 26cbea5cba74: Preparing 07:31:28 26cbea5cba74: Layer already exists 07:31:28 a1edfe642ddb: Pushed 07:31:28 d424431447f5: Pushed 07:31:28 b7c2810d5b99: Pushed 07:31:35 965bc58f1ebf: Pushed 07:31:35 2da8002a0f90c09723ed576a82490c9132775745: digest: sha256:fca504f451a680020a2862a349bb97f15faaa5e99fc9326902aa65e8c8f9e991 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:31:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:31:36 b7c2810d5b99: Preparing 07:31:36 a1edfe642ddb: Preparing 07:31:36 965bc58f1ebf: Preparing 07:31:36 d424431447f5: Preparing 07:31:36 26cbea5cba74: Preparing 07:31:36 965bc58f1ebf: Layer already exists 07:31:36 d424431447f5: Layer already exists 07:31:36 b7c2810d5b99: Layer already exists 07:31:36 26cbea5cba74: Layer already exists 07:31:36 a1edfe642ddb: Layer already exists 07:31:36 latest: digest: sha256:fca504f451a680020a2862a349bb97f15faaa5e99fc9326902aa65e8c8f9e991 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.26 07:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:31:37 b7c2810d5b99: Preparing 07:31:37 a1edfe642ddb: Preparing 07:31:37 965bc58f1ebf: Preparing 07:31:37 d424431447f5: Preparing 07:31:37 26cbea5cba74: Preparing 07:31:37 a1edfe642ddb: Layer already exists 07:31:37 b7c2810d5b99: Layer already exists 07:31:37 d424431447f5: Layer already exists 07:31:37 26cbea5cba74: Layer already exists 07:31:37 965bc58f1ebf: Layer already exists 07:31:37 3.0.0-dev.26: digest: sha256:fca504f451a680020a2862a349bb97f15faaa5e99fc9326902aa65e8c8f9e991 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:31:38 b7c2810d5b99: Preparing 07:31:38 a1edfe642ddb: Preparing 07:31:38 965bc58f1ebf: Preparing 07:31:38 d424431447f5: Preparing 07:31:38 26cbea5cba74: Preparing 07:31:38 965bc58f1ebf: Layer already exists 07:31:38 a1edfe642ddb: Layer already exists 07:31:38 d424431447f5: Layer already exists 07:31:38 b7c2810d5b99: Layer already exists 07:31:38 26cbea5cba74: Layer already exists 07:31:38 2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26: digest: sha256:fca504f451a680020a2862a349bb97f15faaa5e99fc9326902aa65e8c8f9e991 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 07:31:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:31:39 b7c2810d5b99: Preparing 07:31:39 a1edfe642ddb: Preparing 07:31:39 965bc58f1ebf: Preparing 07:31:39 d424431447f5: Preparing 07:31:39 26cbea5cba74: Preparing 07:31:39 26cbea5cba74: Layer already exists 07:31:39 b7c2810d5b99: Layer already exists 07:31:39 965bc58f1ebf: Layer already exists 07:31:39 d424431447f5: Layer already exists 07:31:39 a1edfe642ddb: Layer already exists 07:31:39 main: digest: sha256:fca504f451a680020a2862a349bb97f15faaa5e99fc9326902aa65e8c8f9e991 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:31:39 ===================================================== [Pipeline] echo 07:31:39 taggedImages: 07:31:39 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745 07:31:39 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:31:39 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.26 07:31:39 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2da8002a0f90c09723ed576a82490c9132775745-3.0.0-dev.26 07:31:39 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:31:39 07:31:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:31:40 arm64: Pulling from edgex-lftools-log-publisher 07:31:40 8998bd30e6a1: Pulling fs layer 07:31:40 04944245beec: Pulling fs layer 07:31:40 699f458cf7ca: Pulling fs layer 07:31:40 765212b225bb: Pulling fs layer 07:31:40 f23df028b6ca: Pulling fs layer 07:31:40 d65c8cfc05b1: Pulling fs layer 07:31:40 2437ff75d9bd: Pulling fs layer 07:31:40 765212b225bb: Waiting 07:31:40 f23df028b6ca: Waiting 07:31:40 2437ff75d9bd: Waiting 07:31:40 d65c8cfc05b1: Waiting 07:31:40 04944245beec: Verifying Checksum 07:31:40 04944245beec: Download complete 07:31:40 765212b225bb: Verifying Checksum 07:31:40 765212b225bb: Download complete 07:31:40 f23df028b6ca: Download complete 07:31:40 d65c8cfc05b1: Verifying Checksum 07:31:40 d65c8cfc05b1: Download complete 07:31:40 699f458cf7ca: Verifying Checksum 07:31:40 699f458cf7ca: Download complete 07:31:41 8998bd30e6a1: Verifying Checksum 07:31:41 8998bd30e6a1: Download complete 07:31:43 2437ff75d9bd: Download complete 07:31:45 8998bd30e6a1: Pull complete 07:31:45 04944245beec: Pull complete 07:31:47 699f458cf7ca: Pull complete 07:31:47 765212b225bb: Pull complete 07:31:48 f23df028b6ca: Pull complete 07:31:48 d65c8cfc05b1: Pull complete 07:32:03 2437ff75d9bd: Pull complete 07:32:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:32:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:03 prd-ubuntu20.04-docker-arm64-4c-16g-8420 does not seem to be running inside a container 07:32:03 $ 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-rest-go/98 -v /w/workspace/device-rest-go/98:/w/workspace/device-rest-go/98:rw,z -v /w/workspace/device-rest-go/98@tmp:/w/workspace/device-rest-go/98@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 07:32:06 $ docker top 6d07397c707a74b658e0c4f3ffaa26ecdf6c26927e77c8fa8c079a56490f9b39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:07 ---> job-cost.sh 07:32:07 lf-activate-venv: SKIPPING 07:32:07 INFO: No Stack... 07:32:07 INFO: Retrieving Pricing Info for: v3-standard-4 07:32:08 INFO: Archiving Costs [Pipeline] sh 07:32:09 + cat /w/workspace/device-rest-go/98/archives/cost.csv 07:32:09 + cut -d, -f6 [Pipeline] lock 07:32:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] 07:32:09 Resource [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] did not exist. Created. 07:32:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:10 /w/workspace/device-rest-go/98@tmp/durable-e3506568/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:32:10 + echo total: 0.10999999940395355 [Pipeline] stash 07:32:10 Warning: overwriting stash ‘stack-cost’ 07:32:10 Stashed 1 file(s) [Pipeline] } 07:32:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 07:32:10 $ docker stop --time=1 6d07397c707a74b658e0c4f3ffaa26ecdf6c26927e77c8fa8c079a56490f9b39 07:32:12 $ docker rm -f --volumes 6d07397c707a74b658e0c4f3ffaa26ecdf6c26927e77c8fa8c079a56490f9b39 [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 07:32:12 provisioning config files... 07:32:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9450212953856852953tmp [Pipeline] { [Pipeline] sh 07:32:13 + set +x 07:32:13 + curl -s https://codecov.io/bash 07:32:13 + bash -s -- 07:32:13 07:32:13 _____ _ 07:32:13 / ____| | | 07:32:13 | | ___ __| | ___ ___ _____ __ 07:32:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:32:13 | |___| (_) | (_| | __/ (_| (_) \ V / 07:32:13 \_____\___/ \__,_|\___|\___\___/ \_/ 07:32:13 Bash-1.0.6 07:32:13 07:32:13 07:32:13 ==> git version 2.25.1 found 07:32:13 ==> 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 07:32:13 Release-Date: 2020-01-08 07:32:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:32:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:32:13 ==> Jenkins CI detected. 07:32:13 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 07:32:13 project root: . 07:32:13 --> token set from env 07:32:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:32:13 ==> Running gcov in . (disable via -X gcov) 07:32:13 ==> Python coveragepy not found 07:32:13 ==> Searching for coverage reports in: 07:32:13 + . 07:32:13 -> Found 1 reports 07:32:13 ==> Detecting git/mercurial file structure 07:32:13 ==> Reading reports 07:32:13 + ./coverage.out bytes=14587 07:32:13 ==> Appending adjustments 07:32:13 https://docs.codecov.io/docs/fixing-reports 07:32:13 + Found adjustments 07:32:13 ==> Gzipping contents 07:32:13 4.0K /tmp/codecov.f1yG4C.gz 07:32:13 ==> Uploading reports 07:32:13 url: https://codecov.io 07:32:13 query: branch=main&commit=2da8002a0f90c09723ed576a82490c9132775745&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:32:13 -> Pinging Codecov 07:32:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=2da8002a0f90c09723ed576a82490c9132775745&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:32:13 -> Uploading to 07:32:13 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/4E5D53B4F1F92C436F7061BF334D961C/2da8002a0f90c09723ed576a82490c9132775745/a47ae2a9-2422-4bca-93ec-c24d129700f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T073213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef57309fd964540713430abc4999adce17e407642a6768274b3e2e45b2831190 07:32:13 % Total % Received % Xferd Average Speed Time Time Time Current 07:32:13 Dload Upload Total Spent Left Speed 07:32:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9776 --:--:-- --:--:-- --:--:-- 9738 100 2493 0 0 100 2493 0 9776 --:--:-- --:--:-- --:--:-- 9738 07:32:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] } 07:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:32:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:32:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:14 07:32:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:32:14 df9b9388f04a: Pulling fs layer 07:32:14 52dc419b0ee2: Pulling fs layer 07:32:14 25bc292e5bac: Pulling fs layer 07:32:14 114826534d7a: Pulling fs layer 07:32:14 4657fd5d0bcf: Pulling fs layer 07:32:14 6ad1cebc031e: Pulling fs layer 07:32:14 8a3aa393b2d8: Pulling fs layer 07:32:14 4657fd5d0bcf: Waiting 07:32:14 6ad1cebc031e: Waiting 07:32:14 114826534d7a: Waiting 07:32:14 25bc292e5bac: Verifying Checksum 07:32:14 25bc292e5bac: Download complete 07:32:14 52dc419b0ee2: Verifying Checksum 07:32:14 52dc419b0ee2: Download complete 07:32:14 4657fd5d0bcf: Verifying Checksum 07:32:14 4657fd5d0bcf: Download complete 07:32:14 df9b9388f04a: Verifying Checksum 07:32:14 df9b9388f04a: Download complete 07:32:14 6ad1cebc031e: Verifying Checksum 07:32:14 6ad1cebc031e: Download complete 07:32:14 df9b9388f04a: Pull complete 07:32:14 52dc419b0ee2: Pull complete 07:32:14 25bc292e5bac: Pull complete 07:32:15 114826534d7a: Verifying Checksum 07:32:15 114826534d7a: Download complete 07:32:15 8a3aa393b2d8: Verifying Checksum 07:32:15 8a3aa393b2d8: Download complete 07:32:18 114826534d7a: Pull complete 07:32:18 4657fd5d0bcf: Pull complete 07:32:18 6ad1cebc031e: Pull complete 07:32:21 8a3aa393b2d8: Pull complete 07:32:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:32:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:21 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:32:21 $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:32:24 $ docker top 5ccd56557dd39dcea6a740ea3c798673b69a65d03025f8e8d8097ebc7e23d732 -eo pid,comm [Pipeline] { [Pipeline] echo 07:32:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 07:32:24 + set -o pipefail 07:32:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 07:32:29 07:32:29 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 07:32:29 07:32:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/a8e885a8-76c8-4847-96a9-f6825d52b42c 07:32:29 07:32:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:32:29 07:32:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:32:29 07:32:29 07:32:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:32:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:32:29 More details here: https://snyk.co/ue1NS 07:32:29 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:32:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:32:29 $ docker stop --time=1 5ccd56557dd39dcea6a740ea3c798673b69a65d03025f8e8d8097ebc7e23d732 07:32:32 $ docker rm -f --volumes 5ccd56557dd39dcea6a740ea3c798673b69a65d03025f8e8d8097ebc7e23d732 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:33 + git log --format=format:%s -1 2da8002a0f90c09723ed576a82490c9132775745 [Pipeline] sh 07:32:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:33 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:32:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:32:34 $ docker top 09a70ac953048fd47b53a7fb92fbaad0a884a8bfaf51949e530506fea2f07384 -eo pid,comm 07:32:34 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). 07:32:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:32:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:34 [ssh-agent] Looking for ssh-agent implementation... 07:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:34 $ docker exec 09a70ac953048fd47b53a7fb92fbaad0a884a8bfaf51949e530506fea2f07384 ssh-agent 07:32:34 SSH_AUTH_SOCK=/tmp/ssh-vdCXDmD5mhnh/agent.32 07:32:34 SSH_AGENT_PID=38 07:32:34 Running ssh-add (command line suppressed) 07:32:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9639022231812421201.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9639022231812421201.key) 07:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:32:35 + git semver tag 07:32:35 2023-04-13 07:32:35,208 [run_tag] DEBUG tag force:False 07:32:35 2023-04-13 07:32:35,209 [check_head_tag] DEBUG check head tag 07:32:35 2023-04-13 07:32:35,210 [execute] INFO git cat-file --batch-check 07:32:35 2023-04-13 07:32:35,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:32:35 2023-04-13 07:32:35,214 [execute] INFO git cat-file --batch 07:32:35 2023-04-13 07:32:35,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:32:35 2023-04-13 07:32:35,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:35 2023-04-13 07:32:35,235 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 07:32:35 2023-04-13 07:32:35,236 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 07:32:35 2023-04-13 07:32:35,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:35 3.0.0-dev.26 [Pipeline] } 07:32:35 $ docker exec --env ******** --env ******** 09a70ac953048fd47b53a7fb92fbaad0a884a8bfaf51949e530506fea2f07384 ssh-agent -k 07:32:35 unset SSH_AUTH_SOCK; 07:32:35 unset SSH_AGENT_PID; 07:32:35 echo Agent pid 38 killed; 07:32:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:32:35 + git semver [Pipeline] } 07:32:35 $ docker stop --time=1 09a70ac953048fd47b53a7fb92fbaad0a884a8bfaf51949e530506fea2f07384 07:32:37 $ docker rm -f --volumes 09a70ac953048fd47b53a7fb92fbaad0a884a8bfaf51949e530506fea2f07384 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:37 07:32:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:37 0.23.1-centos7: Pulling from edgex-lftools 07:32:37 ab5ef0e58194: Pulling fs layer 07:32:37 9712f1f96733: Pulling fs layer 07:32:37 63f879dbbcfc: Pulling fs layer 07:32:37 0d9ebad4ef96: Pulling fs layer 07:32:37 e9a5061849ea: Pulling fs layer 07:32:37 d747dcd14b5f: Pulling fs layer 07:32:37 2de7ff778b66: Pulling fs layer 07:32:37 0d9ebad4ef96: Waiting 07:32:37 e9a5061849ea: Waiting 07:32:37 d747dcd14b5f: Waiting 07:32:37 2de7ff778b66: Waiting 07:32:37 9712f1f96733: Download complete 07:32:38 63f879dbbcfc: Verifying Checksum 07:32:38 63f879dbbcfc: Download complete 07:32:38 e9a5061849ea: Verifying Checksum 07:32:38 e9a5061849ea: Download complete 07:32:38 d747dcd14b5f: Verifying Checksum 07:32:38 d747dcd14b5f: Download complete 07:32:38 ab5ef0e58194: Download complete 07:32:38 0d9ebad4ef96: Download complete 07:32:38 2de7ff778b66: Verifying Checksum 07:32:38 2de7ff778b66: Download complete 07:32:41 ab5ef0e58194: Pull complete 07:32:41 9712f1f96733: Pull complete 07:32:41 63f879dbbcfc: Pull complete 07:32:44 0d9ebad4ef96: Pull complete 07:32:45 e9a5061849ea: Pull complete 07:32:45 d747dcd14b5f: Pull complete 07:32:46 2de7ff778b66: Pull complete 07:32:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:32:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:46 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:32:50 $ docker top 195a61c4541f545aace5bc08c6663840e03b8087e9403fa415df3a99037a8a2a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:32:50 provisioning config files... 07:32:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15066431094056865331tmp 07:32:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config137835858003288002tmp 07:32:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17251424121992509719tmp [Pipeline] { [Pipeline] echo 07:32:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:32:50 ---> sigul-configuration.sh 07:32:50 gpg: directory `/root/.gnupg' created 07:32:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:32:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:32:50 gpg: keyring `/root/.gnupg/secring.gpg' created 07:32:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:32:50 gpg: CAST5 encrypted data 07:32:50 gpg: encrypted with 1 passphrase 07:32:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:32:50 + mkdir /home/jenkins 07:32:50 + mkdir /home/jenkins/sigul [Pipeline] sh 07:32:51 + 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 07:32:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:32:51 ---> sigul-install.sh 07:32:51 Sigul already installed; skipping installation. [Pipeline] sh 07:32:51 + git tag --list 07:32:51 v1.0.0 07:32:51 v1.1.0 07:32:51 v1.1.1 07:32:51 v1.1.2 07:32:51 v1.2.0 07:32:51 v1.2.1 07:32:51 v2.0.0 07:32:51 v2.1.0 07:32:51 v2.1.1 07:32:51 v2.1.1-dev.1 07:32:51 v2.1.1-dev.2 07:32:51 v2.1.1-dev.3 07:32:51 v2.2.0 07:32:51 v2.2.1-dev.1 07:32:51 v2.2.1-dev.2 07:32:51 v2.2.1-dev.3 07:32:51 v2.2.1-dev.4 07:32:51 v2.2.1-dev.5 07:32:51 v2.2.1-dev.6 07:32:51 v2.2.1-dev.7 07:32:51 v2.2.1-dev.8 07:32:51 v2.2.1-dev.9 07:32:51 v2.3.0 07:32:51 v2.3.0-dev.10 07:32:51 v2.3.0-dev.11 07:32:51 v2.3.0-dev.12 07:32:51 v2.3.0-dev.13 07:32:51 v2.3.0-dev.14 07:32:51 v2.3.0-dev.15 07:32:51 v2.3.0-dev.16 07:32:51 v2.3.0-dev.17 07:32:51 v2.3.0-dev.18 07:32:51 v2.3.0-dev.19 07:32:51 v2.3.0-dev.20 07:32:51 v2.3.0-dev.21 07:32:51 v2.3.0-dev.22 07:32:51 v2.3.0-dev.23 07:32:51 v2.3.0-dev.24 07:32:51 v2.3.0-dev.25 07:32:51 v2.3.0-dev.9 07:32:51 v3.0.0-dev.1 07:32:51 v3.0.0-dev.10 07:32:51 v3.0.0-dev.11 07:32:51 v3.0.0-dev.12 07:32:51 v3.0.0-dev.13 07:32:51 v3.0.0-dev.14 07:32:51 v3.0.0-dev.15 07:32:51 v3.0.0-dev.16 07:32:51 v3.0.0-dev.17 07:32:51 v3.0.0-dev.18 07:32:51 v3.0.0-dev.19 07:32:51 v3.0.0-dev.2 07:32:51 v3.0.0-dev.20 07:32:51 v3.0.0-dev.21 07:32:51 v3.0.0-dev.22 07:32:51 v3.0.0-dev.23 07:32:51 v3.0.0-dev.24 07:32:51 v3.0.0-dev.25 07:32:51 v3.0.0-dev.26 07:32:51 v3.0.0-dev.3 07:32:51 v3.0.0-dev.4 07:32:51 v3.0.0-dev.5 07:32:51 v3.0.0-dev.6 07:32:51 v3.0.0-dev.7 07:32:51 v3.0.0-dev.8 07:32:51 v3.0.0-dev.9 [Pipeline] sh 07:32:51 + lftools sign git-tag v3.0.0-dev.26 07:32:52 Signing Git tag with Sigul... 07:32:52 Signing v3.0.0-dev.26 [Pipeline] echo 07:32:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:32:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:32:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:32:53 $ docker stop --time=1 195a61c4541f545aace5bc08c6663840e03b8087e9403fa415df3a99037a8a2a 07:32:54 $ docker rm -f --volumes 195a61c4541f545aace5bc08c6663840e03b8087e9403fa415df3a99037a8a2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:32:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:55 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:32:55 $ docker top ff9745490fdff4b5e0466bf136181f6fdb175dac23dff49a9f92af6ed56b8d9d -eo pid,comm 07:32:55 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). 07:32:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:55 [ssh-agent] Looking for ssh-agent implementation... 07:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:55 $ docker exec ff9745490fdff4b5e0466bf136181f6fdb175dac23dff49a9f92af6ed56b8d9d ssh-agent 07:32:55 SSH_AUTH_SOCK=/tmp/ssh-eeAaI2zNuPpU/agent.33 07:32:55 SSH_AGENT_PID=39 07:32:55 Running ssh-add (command line suppressed) 07:32:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13929092561678601182.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13929092561678601182.key) 07:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:32:56 + git semver bump pre 07:32:56 2023-04-13 07:32:56,316 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:56 2023-04-13 07:32:56,317 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 07:32:56 2023-04-13 07:32:56,317 [bump_version] DEBUG bumped version:3.0.0-dev.27 07:32:56 2023-04-13 07:32:56,317 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 07:32:56 2023-04-13 07:32:56,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:56 2023-04-13 07:32:56,317 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:56 2023-04-13 07:32:56,319 [execute] INFO git cat-file --batch-check 07:32:56 2023-04-13 07:32:56,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:32:56 2023-04-13 07:32:56,325 [execute] INFO git cat-file --batch 07:32:56 2023-04-13 07:32:56,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:32:56 2023-04-13 07:32:56,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:32:56 3.0.0-dev.27 [Pipeline] } 07:32:56 $ docker exec --env ******** --env ******** ff9745490fdff4b5e0466bf136181f6fdb175dac23dff49a9f92af6ed56b8d9d ssh-agent -k 07:32:56 unset SSH_AUTH_SOCK; 07:32:56 unset SSH_AGENT_PID; 07:32:56 echo Agent pid 39 killed; 07:32:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:32:56 + git semver [Pipeline] } 07:32:57 $ docker stop --time=1 ff9745490fdff4b5e0466bf136181f6fdb175dac23dff49a9f92af6ed56b8d9d 07:32:58 $ docker rm -f --volumes ff9745490fdff4b5e0466bf136181f6fdb175dac23dff49a9f92af6ed56b8d9d [Pipeline] // withDockerContainer [Pipeline] sh 07:32:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:59 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:32:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:32:59 $ docker top ef5adaacedad5cb7eb7c74bd9e39b18f3940acbb881ffec909440dba7ad2b6a2 -eo pid,comm 07:32:59 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). 07:32:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:32:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:59 [ssh-agent] Looking for ssh-agent implementation... 07:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:59 $ docker exec ef5adaacedad5cb7eb7c74bd9e39b18f3940acbb881ffec909440dba7ad2b6a2 ssh-agent 07:32:59 SSH_AUTH_SOCK=/tmp/ssh-AazFko5lhi0K/agent.32 07:32:59 SSH_AGENT_PID=38 07:32:59 Running ssh-add (command line suppressed) 07:32:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7570247069629892016.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7570247069629892016.key) 07:32:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:00 + git semver push 07:33:00 2023-04-13 07:33:00,239 [run_push] DEBUG push 07:33:00 2023-04-13 07:33:00,240 [execute] INFO git cat-file --batch-check 07:33:00 2023-04-13 07:33:00,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:00 2023-04-13 07:33:00,244 [execute] INFO git rev-list 38ac099de0cd0e3aefbb63523a2a89c0eabd57b1 -- 07:33:00 2023-04-13 07:33:00,244 [execute] DEBUG Popen(['git', 'rev-list', '38ac099de0cd0e3aefbb63523a2a89c0eabd57b1', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:00 2023-04-13 07:33:00,252 [execute] INFO git fetch -v origin 07:33:00 2023-04-13 07:33:00,253 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:33:00 2023-04-13 07:33:00,735 [run_push] DEBUG no remote changes detected 07:33:00 2023-04-13 07:33:00,735 [execute] INFO git push origin semver 07:33:00 2023-04-13 07:33:00,735 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:01 2023-04-13 07:33:01,523 [run_push] DEBUG push all version tags 07:33:01 2023-04-13 07:33:01,523 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:33:01 2023-04-13 07:33:01,524 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 07:33:02 2023-04-13 07:33:02,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:33:02 3.0.0-dev.27 [Pipeline] } 07:33:02 $ docker exec --env ******** --env ******** ef5adaacedad5cb7eb7c74bd9e39b18f3940acbb881ffec909440dba7ad2b6a2 ssh-agent -k 07:33:02 unset SSH_AUTH_SOCK; 07:33:02 unset SSH_AGENT_PID; 07:33:02 echo Agent pid 38 killed; 07:33:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:03 + git semver [Pipeline] } 07:33:03 $ docker stop --time=1 ef5adaacedad5cb7eb7c74bd9e39b18f3940acbb881ffec909440dba7ad2b6a2 07:33:04 $ docker rm -f --volumes ef5adaacedad5cb7eb7c74bd9e39b18f3940acbb881ffec909440dba7ad2b6a2 [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 07:33:05 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 07:33:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:33:05 total 16 07:33:05 drwxr-xr-x 3 root root 4096 Apr 13 07:21 . 07:33:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:32 .. 07:33:05 drwxr-xr-x 2 root root 4096 Apr 13 07:21 cost 07:33:05 -rw-r--r-- 1 root root 85 Apr 13 07:21 cost.csv 07:33:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 07:33:05 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:33:05 total 16 07:33:05 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:21 . 07:33:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:32 .. 07:33:05 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:21 cost 07:33:05 -rw-r--r-- 1 jenkins jenkins 85 Apr 13 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:33:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:33:06 ---> package-listing.sh 07:33:06 ++ facter osfamily 07:33:06 ++ tr '[:upper:]' '[:lower:]' 07:33:06 + OS_FAMILY=debian 07:33:06 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 07:33:06 + START_PACKAGES=/tmp/packages_start.txt 07:33:06 + END_PACKAGES=/tmp/packages_end.txt 07:33:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:33:06 + PACKAGES=/tmp/packages_start.txt 07:33:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:33:06 + PACKAGES=/tmp/packages_end.txt 07:33:06 + case "${OS_FAMILY}" in 07:33:06 + dpkg -l 07:33:06 + grep '^ii' 07:33:06 + '[' -f /tmp/packages_start.txt ']' 07:33:06 + '[' -f /tmp/packages_end.txt ']' 07:33:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:33:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:33:06 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 07:33:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 07:33:06 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:33:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:07 prd-ubuntu20.04-docker-8c-8g-8416 does not seem to be running inside a container 07:33:07 $ 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-rest-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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 07:33:07 $ docker top 1667a88cb2fd262a0e67da36e2ff465be34e3be99bd1069615e743bdc0dbdc0d -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:08 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:08 + mkdir -p /var/log/sysstat [Pipeline] sh 07:33:08 + ls /var/log/sa-host 07:33:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:08 provisioning config files... 07:33:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9543138530395403683tmp [Pipeline] { [Pipeline] echo 07:33:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:09 ---> create-netrc.sh [Pipeline] } 07:33:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:33:09 ---> python-tools-install.sh [Pipeline] echo 07:33:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:09 ---> sudo-logs.sh 07:33:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:10 ---> job-cost.sh 07:33:10 lf-activate-venv: SKIPPING 07:33:10 DEBUG: total: 0.2199999988079071 07:33:10 INFO: Retrieving Stack Cost... 07:33:10 INFO: Retrieving Pricing Info for: v3-standard-8 07:33:10 INFO: Archiving Costs [Pipeline] echo 07:33:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:11 ---> logs-deploy.sh 07:33:11 lf-activate-venv: SKIPPING 07:33:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/98 07:33:11 INFO: archiving workspace using pattern(s): 07:33:12 Archives upload complete. 07:33:12 INFO: archiving logs to Nexus 07:33:12 ---> uname -a: 07:33:12 Linux prd-ubuntu20-04-docker-8c-8g-8416 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 07:33:12 07:33:12 07:33:12 ---> lscpu: 07:33:12 Architecture: x86_64 07:33:12 CPU op-mode(s): 32-bit, 64-bit 07:33:12 Byte Order: Little Endian 07:33:12 Address sizes: 40 bits physical, 48 bits virtual 07:33:12 CPU(s): 8 07:33:12 On-line CPU(s) list: 0-7 07:33:12 Thread(s) per core: 1 07:33:12 Core(s) per socket: 1 07:33:12 Socket(s): 8 07:33:12 NUMA node(s): 1 07:33:12 Vendor ID: AuthenticAMD 07:33:12 CPU family: 23 07:33:12 Model: 49 07:33:12 Model name: AMD EPYC-Rome Processor 07:33:12 Stepping: 0 07:33:12 CPU MHz: 2799.956 07:33:12 BogoMIPS: 5599.91 07:33:12 Virtualization: AMD-V 07:33:12 Hypervisor vendor: KVM 07:33:12 Virtualization type: full 07:33:12 L1d cache: 256 KiB 07:33:12 L1i cache: 256 KiB 07:33:12 L2 cache: 4 MiB 07:33:12 L3 cache: 128 MiB 07:33:12 NUMA node0 CPU(s): 0-7 07:33:12 Vulnerability Itlb multihit: Not affected 07:33:12 Vulnerability L1tf: Not affected 07:33:12 Vulnerability Mds: Not affected 07:33:12 Vulnerability Meltdown: Not affected 07:33:12 Vulnerability Mmio stale data: Not affected 07:33:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:33:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:33:12 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 07:33:12 Vulnerability Srbds: Not affected 07:33:12 Vulnerability Tsx async abort: Not affected 07:33:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 07:33:12 07:33:12 07:33:12 ---> nproc: 07:33:12 8 07:33:12 07:33:12 07:33:12 ---> df -h: 07:33:12 Filesystem Size Used Avail Use% Mounted on 07:33:12 overlay 155G 13G 143G 9% / 07:33:12 tmpfs 64M 0 64M 0% /dev 07:33:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:33:12 shm 64M 0 64M 0% /dev/shm 07:33:12 /dev/vda1 155G 13G 143G 9% /facter-os 07:33:12 07:33:12