Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6f941c2af2fad29136a7acf5385bb2680494e78 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-ssh11576119503935446432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15030603042599308273.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh17365315071712850516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3977645455128285999.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-ssh13956523989020455596.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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7700 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 d6f941c2af2fad29136a7acf5385bb2680494e78 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345)" > 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 d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 > git rev-list --no-walk a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:36:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:36:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:36:53 ========================================================= 14:36:53 EdgeX Global Pipelines Version Info 14:36:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:36:53 ------------------- 14:36:53 stable info: 14:36:53 ------------------- 14:36:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:36:53 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:36:53 Message: update stable to v1.0.254 14:36:54 ------------------- 14:36:54 experimental info: 14:36:54 ------------------- 14:36:54 Commited By: **** collab-it+edgex@linuxfoundation.org 14:36:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 14:36:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:36:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6f941c [Pipeline] echo 14:36:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:55 provisioning config files... 14:36:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5122683796725272875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:55 ---> docker-login.sh 14:36:55 nexus3.edgexfoundry.org:10001 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 nexus3.edgexfoundry.org:10002 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 nexus3.edgexfoundry.org:10003 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 nexus3.edgexfoundry.org:10004 14:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:55 Configure a credential helper to remove this warning. See 14:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:55 14:36:55 Login Succeeded 14:36:55 docker.io 14:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:56 Configure a credential helper to remove this warning. See 14:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:56 14:36:56 Login Succeeded 14:36:56 ---> docker-login.sh ends [Pipeline] } 14:36:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:36:56 + git rev-list -1 --merges d6f941c2af2fad29136a7acf5385bb2680494e78~1..d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo 14:36:56 -----------> git rev-list -1 --merges d6f941c2af2fad29136a7acf5385bb2680494e78~1..d6f941c2af2fad29136a7acf5385bb2680494e78 d6f941c2af2fad29136a7acf5385bb2680494e78 [false] [Pipeline] sh 14:36:57 + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo 14:36:57 ========================================================= 14:36:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:36:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:36:57 + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo 14:36:57 [semverPrep] GIT_COMMIT: d6f941c2af2fad29136a7acf5385bb2680494e78, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345) [Pipeline] echo 14:36:57 [semverPrep] This is not a build commit. [Pipeline] sh 14:36:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:36:57 + grep -v github /etc/ssh/ssh_known_hosts 14:36:57 + [ -e /tmp/ssh_known_hosts ] 14:36:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:36:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:36:57 + sudo tee -a /etc/ssh/ssh_known_hosts 14:36:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:36:58 14:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:36:58 0.1.4: Pulling from edgex-devops/py-git-semver 14:36:58 b85a868b505f: Pulling fs layer 14:36:58 e2be974225ed: Pulling fs layer 14:36:58 339a4e72a1f5: Pulling fs layer 14:36:58 988bab9f4d93: Pulling fs layer 14:36:58 1469e6f7b9e6: Pulling fs layer 14:36:58 eaf3925da568: Pulling fs layer 14:36:58 bab4dde63d76: Pulling fs layer 14:36:58 bde34c3a00c8: Pulling fs layer 14:36:58 b352a97aabf1: Pulling fs layer 14:36:58 4872d77fe225: Pulling fs layer 14:36:58 5851b861e8e6: Pulling fs layer 14:36:58 988bab9f4d93: Waiting 14:36:58 1469e6f7b9e6: Waiting 14:36:58 eaf3925da568: Waiting 14:36:58 4872d77fe225: Waiting 14:36:58 bab4dde63d76: Waiting 14:36:58 bde34c3a00c8: Waiting 14:36:58 5851b861e8e6: Waiting 14:36:58 b352a97aabf1: Waiting 14:36:58 e2be974225ed: Verifying Checksum 14:36:58 e2be974225ed: Download complete 14:36:58 988bab9f4d93: Download complete 14:36:58 1469e6f7b9e6: Verifying Checksum 14:36:58 1469e6f7b9e6: Download complete 14:36:58 eaf3925da568: Verifying Checksum 14:36:58 eaf3925da568: Download complete 14:36:58 339a4e72a1f5: Verifying Checksum 14:36:58 339a4e72a1f5: Download complete 14:36:58 bde34c3a00c8: Verifying Checksum 14:36:58 bde34c3a00c8: Download complete 14:36:58 b352a97aabf1: Download complete 14:36:58 4872d77fe225: Verifying Checksum 14:36:58 4872d77fe225: Download complete 14:36:58 5851b861e8e6: Verifying Checksum 14:36:58 5851b861e8e6: Download complete 14:36:58 b85a868b505f: Verifying Checksum 14:36:58 b85a868b505f: Download complete 14:36:59 bab4dde63d76: Verifying Checksum 14:36:59 bab4dde63d76: Download complete 14:37:00 b85a868b505f: Pull complete 14:37:00 e2be974225ed: Pull complete 14:37:00 339a4e72a1f5: Pull complete 14:37:00 988bab9f4d93: Pull complete 14:37:00 1469e6f7b9e6: Pull complete 14:37:00 eaf3925da568: Pull complete 14:37:02 bab4dde63d76: Pull complete 14:37:02 bde34c3a00c8: Pull complete 14:37:02 b352a97aabf1: Pull complete 14:37:02 4872d77fe225: Pull complete 14:37:02 5851b861e8e6: Pull complete 14:37:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:37:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:02 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:37:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:37:05 $ docker top 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 -eo pid,comm 14:37:05 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). 14:37:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:05 [ssh-agent] Looking for ssh-agent implementation... 14:37:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:05 $ docker exec 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent 14:37:05 SSH_AUTH_SOCK=/tmp/ssh-QAYKso0lTOSp/agent.33 14:37:05 SSH_AGENT_PID=39 14:37:05 Running ssh-add (command line suppressed) 14:37:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17679108923179815652.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17679108923179815652.key) 14:37:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:05 + git tag --points-at HEAD [Pipeline] } 14:37:06 $ docker exec --env ******** --env ******** 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent -k 14:37:06 unset SSH_AUTH_SOCK; 14:37:06 unset SSH_AGENT_PID; 14:37:06 echo Agent pid 39 killed; 14:37:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:37:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:06 [ssh-agent] Looking for ssh-agent implementation... 14:37:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:06 $ docker exec 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent 14:37:06 SSH_AUTH_SOCK=/tmp/ssh-xrBFpqxERerO/agent.72 14:37:06 SSH_AGENT_PID=78 14:37:06 Running ssh-add (command line suppressed) 14:37:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8537180197257485000.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8537180197257485000.key) 14:37:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:06 + git semver init 14:37:07 2023-09-23 14:37:06,939 [run_init] DEBUG init version:0.0.0 force:False 14:37:07 2023-09-23 14:37:06,940 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 14:37:07 2023-09-23 14:37:06,941 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:37:07 2023-09-23 14:37:06,941 [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) 14:37:07 2023-09-23 14:37:07,952 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 14:37:07 2023-09-23 14:37:07,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 14:37:07 2023-09-23 14:37:07,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:37:07 2023-09-23 14:37:07,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:37:07 3.1.0-dev.17 [Pipeline] } 14:37:07 $ docker exec --env ******** --env ******** 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent -k 14:37:08 unset SSH_AUTH_SOCK; 14:37:08 unset SSH_AGENT_PID; 14:37:08 echo Agent pid 78 killed; 14:37:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:08 + git semver [Pipeline] } 14:37:08 $ docker stop --time=1 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 14:37:10 $ docker rm -f --volumes 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 [Pipeline] // withDockerContainer [Pipeline] sh 14:37:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:37:10 Stashed 1 file(s) [Pipeline] echo 14:37:10 [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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 14:37:10 provisioning config files... 14:37:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11603279172696390358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:37:11 ---> docker-login.sh 14:37:11 nexus3.edgexfoundry.org:10001 14:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:11 Configure a credential helper to remove this warning. See 14:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:11 14:37:11 Login Succeeded 14:37:11 nexus3.edgexfoundry.org:10002 14:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:11 Configure a credential helper to remove this warning. See 14:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:11 14:37:11 Login Succeeded 14:37:11 nexus3.edgexfoundry.org:10003 14:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:11 Configure a credential helper to remove this warning. See 14:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:11 14:37:11 Login Succeeded 14:37:11 nexus3.edgexfoundry.org:10004 14:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:11 Configure a credential helper to remove this warning. See 14:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:11 14:37:11 Login Succeeded 14:37:11 docker.io 14:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:37:11 Configure a credential helper to remove this warning. See 14:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:37:11 14:37:11 Login Succeeded 14:37:11 ---> docker-login.sh ends [Pipeline] } 14:37:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:37:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:37:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:37:11 ========================================================= 14:37:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:37:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:37:11 Sending build context to Docker daemon 10.91MB 14:37:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:37:11 Step 2/12 : FROM ${BASE} AS builder 14:37:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:37:11 7264a8db6415: Pulling fs layer 14:37:11 c4d48a809fc2: Pulling fs layer 14:37:11 4f1c88b9dad5: Pulling fs layer 14:37:11 ad3a456e5733: Pulling fs layer 14:37:11 33e27b845d1e: Pulling fs layer 14:37:11 c68163c4e522: Pulling fs layer 14:37:11 50da416c3ac9: Pulling fs layer 14:37:11 23d2d4c4bb30: Pulling fs layer 14:37:11 33e27b845d1e: Waiting 14:37:11 c68163c4e522: Waiting 14:37:11 50da416c3ac9: Waiting 14:37:11 23d2d4c4bb30: Waiting 14:37:11 c4d48a809fc2: Verifying Checksum 14:37:11 c4d48a809fc2: Download complete 14:37:11 ad3a456e5733: Verifying Checksum 14:37:11 ad3a456e5733: Download complete 14:37:12 7264a8db6415: Verifying Checksum 14:37:12 7264a8db6415: Download complete 14:37:12 c68163c4e522: Verifying Checksum 14:37:12 c68163c4e522: Download complete 14:37:12 7264a8db6415: Pull complete 14:37:12 c4d48a809fc2: Pull complete 14:37:12 23d2d4c4bb30: Verifying Checksum 14:37:12 23d2d4c4bb30: Download complete 14:37:12 4f1c88b9dad5: Download complete 14:37:13 50da416c3ac9: Verifying Checksum 14:37:13 50da416c3ac9: Download complete 14:37:15 4f1c88b9dad5: Pull complete 14:37:15 ad3a456e5733: Pull complete 14:37:15 33e27b845d1e: Pull complete 14:37:15 c68163c4e522: Pull complete 14:37:18 50da416c3ac9: Pull complete 14:37:18 23d2d4c4bb30: Pull complete 14:37:18 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:37:18 ---> 0786185ac409 14:37:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:37:21 ---> Running in 0aebe5bac165 14:37:21 Removing intermediate container 0aebe5bac165 14:37:21 ---> 78fa675be885 14:37:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:37:21 ---> Running in 2272ad67a02d 14:37:21 Removing intermediate container 2272ad67a02d 14:37:21 ---> e92602a88a3a 14:37:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:37:21 ---> Running in 429271c1b93c 14:37:22 Removing intermediate container 429271c1b93c 14:37:22 ---> 9e0ab817c90b 14:37:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:37:22 ---> Running in 6200fa157070 14:37:22 Removing intermediate container 6200fa157070 14:37:22 ---> 4f76710b8add 14:37:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:22 ---> Running in 6bca3973da5f 14:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:37:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:37:22 (2/4) Installing libedit (20221030.3.1-r1) 14:37:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:37:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:37:22 Executing busybox-1.36.1-r2.trigger 14:37:22 OK: 268 MiB in 56 packages 14:37:23 Removing intermediate container 6bca3973da5f 14:37:23 ---> 593ad732955b 14:37:23 Step 8/12 : WORKDIR /device-rest-go 14:37:23 ---> Running in a606bb386856 14:37:23 Removing intermediate container a606bb386856 14:37:23 ---> 0bd704cd3af2 14:37:23 Step 9/12 : COPY go.mod vendor* ./ 14:37:23 ---> 65f08c215c31 14:37:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:23 ---> Running in fe9ef7800045 14:37:25 Still waiting to schedule task 14:37:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:37:50 Removing intermediate container fe9ef7800045 14:37:50 ---> 3af58027e5ec 14:37:50 Step 11/12 : COPY . . 14:37:50 ---> 8ca5f059705c 14:37:50 Step 12/12 : RUN $MAKE 14:37:50 ---> Running in 85efbc28010d 14:37:50 noop 14:37:50 Removing intermediate container 85efbc28010d 14:37:50 ---> e20c2e80dd00 14:37:50 Successfully built e20c2e80dd00 14:37:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:50 + docker inspect -f . ci-base-image-x86_64 14:37:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:50 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:37:50 $ 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 ******** ci-base-image-x86_64 cat 14:37:50 $ docker top 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:51 + go version 14:37:51 go version go1.21.0 linux/amd64 [Pipeline] } 14:37:51 $ docker stop --time=1 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 14:37:52 $ docker rm -f --volumes 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:53 + docker inspect -f . ci-base-image-x86_64 14:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:53 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:37:53 $ 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 ******** ci-base-image-x86_64 cat 14:37:53 $ docker top 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 14:37:54 + make test 14:37:54 go test ./... -coverprofile=coverage.out ./... 14:37:55 ? github.com/edgexfoundry/device-rest-go [no test files] 14:38:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:38:05 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 14:38:12 go vet ./... 14:38:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:38:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:38:15 ./bin/test-attribution-txt.sh [Pipeline] echo 14:38:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:38:15 $ docker stop --time=1 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 14:38:18 $ docker rm -f --volumes 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 [Pipeline] // withDockerContainer [Pipeline] sh 14:38:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:38:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:38:19 + ls -al . 14:38:19 total 188 14:38:19 drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 14:37 . 14:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:36 .. 14:38:19 -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 14:36 .dockerignore 14:38:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:38 .git 14:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:36 .github 14:38:19 -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 14:36 .gitignore 14:38:19 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 14:36 .golangci.yml 14:38:19 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 14:37 .semver 14:38:19 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 23 14:36 Attribution.txt 14:38:19 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 23 14:36 CHANGELOG.md 14:38:19 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 23 14:36 Dockerfile 14:38:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 14:36 GOVERNANCE.md 14:38:19 -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 14:36 Jenkinsfile 14:38:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 14:36 LICENSE 14:38:19 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 23 14:36 Makefile 14:38:19 -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 14:36 OWNERS.md 14:38:19 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 23 14:36 README.md 14:38:19 -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 14:37 VERSION 14:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:36 bin 14:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:36 cmd 14:38:19 -rw-r--r-- 1 jenkins jenkins 14499 Sep 23 14:38 coverage.out 14:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:36 driver 14:38:19 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 23 14:36 go.mod 14:38:19 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 14:36 go.sum 14:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:36 snap 14:38:19 -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 14:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:20 + 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=d6f941c2af2fad29136a7acf5385bb2680494e78 --label arch=amd64 --label version=3.1.0-dev.17 . 14:38:20 Sending build context to Docker daemon 10.93MB 14:38:20 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:38:20 Step 2/25 : FROM ${BASE} AS builder 14:38:20 ---> e20c2e80dd00 14:38:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:38:20 ---> Running in 08f771df9c93 14:38:20 Removing intermediate container 08f771df9c93 14:38:20 ---> d9a18016a23f 14:38:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:38:20 ---> Running in 1586299f33f3 14:38:20 Removing intermediate container 1586299f33f3 14:38:20 ---> a303d610366f 14:38:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:38:20 ---> Running in 388ba20b1769 14:38:20 Removing intermediate container 388ba20b1769 14:38:20 ---> 93bcba7cee28 14:38:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:38:20 ---> Running in a6c78957d8d7 14:38:20 Removing intermediate container a6c78957d8d7 14:38:20 ---> 72639732c9fc 14:38:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:38:20 ---> Running in 66bc1a3efd70 14:38:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:38:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:38:21 OK: 268 MiB in 56 packages 14:38:21 Removing intermediate container 66bc1a3efd70 14:38:21 ---> d99ddcde9e95 14:38:21 Step 8/25 : WORKDIR /device-rest-go 14:38:21 ---> Running in da7d862e70b0 14:38:21 Removing intermediate container da7d862e70b0 14:38:21 ---> b536bca51e7d 14:38:21 Step 9/25 : COPY go.mod vendor* ./ 14:38:21 ---> bd2f8c91e7fc 14:38:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:38:22 ---> Running in 92ff0ade1a4e 14:38:22 Removing intermediate container 92ff0ade1a4e 14:38:22 ---> 1ffcc8a1cd46 14:38:22 Step 11/25 : COPY . . 14:38:23 ---> 09a04b9d710e 14:38:23 Step 12/25 : RUN $MAKE 14:38:23 ---> Running in 46858b6a0eb8 14:38:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:38:45 Removing intermediate container 46858b6a0eb8 14:38:45 ---> f87e46c06f00 14:38:45 Step 13/25 : FROM alpine:3.18 14:38:45 3.18: Pulling from library/alpine 14:38:45 7264a8db6415: Already exists 14:38:45 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 14:38:45 Status: Downloaded newer image for alpine:3.18 14:38:45 ---> 7e01a0d0a1dc 14:38:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:38:45 ---> Running in 6a19f2863330 14:38:45 Removing intermediate container 6a19f2863330 14:38:45 ---> 6cdaba1f5289 14:38:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:38:45 ---> Running in 6ffc26824f39 14:38:45 Removing intermediate container 6ffc26824f39 14:38:45 ---> 417c582314fa 14:38:45 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:38:45 ---> Running in 9e027a169a01 14:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:38:45 (1/1) Installing dumb-init (1.2.5-r2) 14:38:45 Executing busybox-1.36.1-r2.trigger 14:38:45 OK: 7 MiB in 16 packages 14:38:45 Removing intermediate container 9e027a169a01 14:38:45 ---> 82d10c023444 14:38:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:38:45 ---> 930ec602d74b 14:38:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:38:45 ---> 35a231faae23 14:38:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:38:45 ---> b57e57cac65d 14:38:45 Step 20/25 : EXPOSE 59986 14:38:45 ---> Running in 82d043f8bd36 14:38:45 Removing intermediate container 82d043f8bd36 14:38:45 ---> 9ef794747ea4 14:38:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:38:45 ---> Running in c1720fabdbaa 14:38:45 Removing intermediate container c1720fabdbaa 14:38:45 ---> 4299e52915e6 14:38:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:38:45 ---> Running in 706a1d7351e5 14:38:45 Removing intermediate container 706a1d7351e5 14:38:45 ---> 5ad7a1650aa1 14:38:45 Step 23/25 : LABEL arch=amd64 14:38:45 ---> Running in 12089742bdfd 14:38:45 Removing intermediate container 12089742bdfd 14:38:45 ---> ec15ac1e16f1 14:38:45 Step 24/25 : LABEL git_sha=d6f941c2af2fad29136a7acf5385bb2680494e78 14:38:45 ---> Running in cf4ca40f74dd 14:38:45 Removing intermediate container cf4ca40f74dd 14:38:45 ---> e169f5ccddda 14:38:45 Step 25/25 : LABEL version=3.1.0-dev.17 14:38:45 ---> Running in 5da2bb546929 14:38:45 Removing intermediate container 5da2bb546929 14:38:45 ---> 5d75ffff9ea2 14:38:45 [Warning] One or more build-args [ARCH] were not consumed 14:38:45 Successfully built 5d75ffff9ea2 14:38:45 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:38:45 provisioning config files... 14:38:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7780157124642229878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:38:45 ---> docker-login.sh 14:38:45 nexus3.edgexfoundry.org:10001 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 nexus3.edgexfoundry.org:10002 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 nexus3.edgexfoundry.org:10003 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 nexus3.edgexfoundry.org:10004 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:45 Configure a credential helper to remove this warning. See 14:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:45 14:38:45 Login Succeeded 14:38:45 docker.io 14:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:38:46 Configure a credential helper to remove this warning. See 14:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:46 14:38:46 Login Succeeded 14:38:46 ---> docker-login.sh ends [Pipeline] } 14:38:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:38:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:38:46 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:38:46 d6f941c2af2fad29136a7acf5385bb2680494e78 14:38:46 latest 14:38:46 3.1.0-dev.17 14:38:46 d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:38:46 main 14:38:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 14:38:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:38:46 ca4cf8d6cac2: Preparing 14:38:46 a477fef2201a: Preparing 14:38:46 7fe3467fe55c: Preparing 14:38:46 feb5033757af: Preparing 14:38:46 4693057ce236: Preparing 14:38:46 4693057ce236: Layer already exists 14:38:46 feb5033757af: Pushed 14:38:46 ca4cf8d6cac2: Pushed 14:38:46 a477fef2201a: Pushed 14:38:50 7fe3467fe55c: Pushed 14:38:50 d6f941c2af2fad29136a7acf5385bb2680494e78: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:38:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:38:50 ca4cf8d6cac2: Preparing 14:38:50 a477fef2201a: Preparing 14:38:50 7fe3467fe55c: Preparing 14:38:50 feb5033757af: Preparing 14:38:50 4693057ce236: Preparing 14:38:50 7fe3467fe55c: Layer already exists 14:38:50 a477fef2201a: Layer already exists 14:38:50 4693057ce236: Layer already exists 14:38:50 ca4cf8d6cac2: Layer already exists 14:38:50 feb5033757af: Layer already exists 14:38:50 latest: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 14:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:38:51 ca4cf8d6cac2: Preparing 14:38:51 a477fef2201a: Preparing 14:38:51 7fe3467fe55c: Preparing 14:38:51 feb5033757af: Preparing 14:38:51 4693057ce236: Preparing 14:38:51 feb5033757af: Layer already exists 14:38:51 4693057ce236: Layer already exists 14:38:51 a477fef2201a: Layer already exists 14:38:51 ca4cf8d6cac2: Layer already exists 14:38:51 7fe3467fe55c: Layer already exists 14:38:51 3.1.0-dev.17: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:38:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:38:52 ca4cf8d6cac2: Preparing 14:38:52 a477fef2201a: Preparing 14:38:52 7fe3467fe55c: Preparing 14:38:52 feb5033757af: Preparing 14:38:52 4693057ce236: Preparing 14:38:52 ca4cf8d6cac2: Layer already exists 14:38:52 7fe3467fe55c: Layer already exists 14:38:52 feb5033757af: Layer already exists 14:38:52 4693057ce236: Layer already exists 14:38:52 a477fef2201a: Layer already exists 14:38:52 d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:38:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:38:52 ca4cf8d6cac2: Preparing 14:38:52 a477fef2201a: Preparing 14:38:52 7fe3467fe55c: Preparing 14:38:52 feb5033757af: Preparing 14:38:52 4693057ce236: Preparing 14:38:52 a477fef2201a: Layer already exists 14:38:52 feb5033757af: Layer already exists 14:38:52 4693057ce236: Layer already exists 14:38:52 7fe3467fe55c: Layer already exists 14:38:52 ca4cf8d6cac2: Layer already exists 14:38:52 main: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:38:52 ===================================================== [Pipeline] echo 14:38:52 taggedImages: 14:38:52 - nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 14:38:52 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:38:52 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 14:38:52 - nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:38:52 - 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 14:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:38:53 14:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:38:53 latest: Pulling from edgex-lftools-log-publisher 14:38:53 5eb5b503b376: Pulling fs layer 14:38:53 5c69ac0246d0: Pulling fs layer 14:38:53 ec43610c2a17: Pulling fs layer 14:38:53 3a2ae6a8a46f: Pulling fs layer 14:38:53 33b1e0a273af: Pulling fs layer 14:38:53 5d3b04190fa2: Pulling fs layer 14:38:53 2f39f015ded8: Pulling fs layer 14:38:53 33b1e0a273af: Waiting 14:38:53 2f39f015ded8: Waiting 14:38:53 5d3b04190fa2: Waiting 14:38:53 3a2ae6a8a46f: Waiting 14:38:53 5c69ac0246d0: Verifying Checksum 14:38:53 5c69ac0246d0: Download complete 14:38:53 3a2ae6a8a46f: Verifying Checksum 14:38:53 3a2ae6a8a46f: Download complete 14:38:53 33b1e0a273af: Verifying Checksum 14:38:53 33b1e0a273af: Download complete 14:38:53 5d3b04190fa2: Download complete 14:38:53 ec43610c2a17: Download complete 14:38:53 5eb5b503b376: Verifying Checksum 14:38:53 5eb5b503b376: Download complete 14:38:54 2f39f015ded8: Verifying Checksum 14:38:54 2f39f015ded8: Download complete 14:38:54 5eb5b503b376: Pull complete 14:38:55 5c69ac0246d0: Pull complete 14:38:55 ec43610c2a17: Pull complete 14:38:55 3a2ae6a8a46f: Pull complete 14:38:55 33b1e0a273af: Pull complete 14:38:55 5d3b04190fa2: Pull complete 14:39:00 2f39f015ded8: Pull complete 14:39:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:39:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:39:00 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:39:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:39:04 $ docker top 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:39:05 ---> job-cost.sh 14:39:05 lf-activate-venv: SKIPPING 14:39:05 INFO: No Stack... 14:39:05 INFO: Retrieving Pricing Info for: v3-standard-8 14:39:05 INFO: Archiving Costs [Pipeline] sh 14:39:06 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:39:06 + cut -d, -f6 [Pipeline] lock 14:39:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] 14:39:06 Resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] did not exist. Created. 14:39:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:39:06 + echo total: 0.2199999988079071 [Pipeline] stash 14:39:06 Stashed 1 file(s) [Pipeline] } 14:39:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 14:39:06 $ docker stop --time=1 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c 14:39:07 $ docker rm -f --volumes 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:39:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7703 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:39:51 Running in /w/workspace/device-rest-go/137 [Pipeline] { [Pipeline] checkout 14:39:51 The recommended git tool is: git 14:39:56 using credential edgex-jenkins-ssh 14:39:56 Cloning the remote Git repository 14:39:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:39:56 > git init /w/workspace/device-rest-go/137 # timeout=10 14:39:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:39:56 > git --version # timeout=10 14:39:56 > git --version # 'git version 2.25.1' 14:39:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:39:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:39:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:39:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:40:00 Avoid second fetch 14:40:00 Checking out Revision d6f941c2af2fad29136a7acf5385bb2680494e78 (main) 14:40:00 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345)" 14:40:00 > git config core.sparsecheckout # timeout=10 14:40:00 > git checkout -f d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:40:01 % Total % Received % Xferd Average Speed Time Time Time Current 14:40:01 Dload Upload Total Spent Left Speed 14:40:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 14:40:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:40:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:40:02 + sudo tee /etc/docker/daemon.new 14:40:02 { 14:40:02 "registry-mirrors": [ 14:40:02 "https://nexus3.edgexfoundry.org:10001" 14:40:02 ], 14:40:02 "bip": "10.250.0.254/24", 14:40:02 "hosts": [ 14:40:02 "tcp://0.0.0.0:5555", 14:40:02 "unix:///var/run/docker.sock" 14:40:02 ], 14:40:02 "mtu": 1458, 14:40:02 "selinux-enabled": true, 14:40:02 "seccomp-profile": "/etc/docker/seccomp.json" 14:40:02 } [Pipeline] sh 14:40:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:40:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:21 provisioning config files... 14:40:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/137@tmp/config4559148584012384103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:22 ---> docker-login.sh 14:40:22 nexus3.edgexfoundry.org:10001 14:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:22 Configure a credential helper to remove this warning. See 14:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:22 14:40:22 Login Succeeded 14:40:22 nexus3.edgexfoundry.org:10002 14:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:23 Configure a credential helper to remove this warning. See 14:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:23 14:40:23 Login Succeeded 14:40:23 nexus3.edgexfoundry.org:10003 14:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:23 Configure a credential helper to remove this warning. See 14:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:23 14:40:23 Login Succeeded 14:40:23 nexus3.edgexfoundry.org:10004 14:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:23 Configure a credential helper to remove this warning. See 14:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:23 14:40:23 Login Succeeded 14:40:23 docker.io 14:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:24 Configure a credential helper to remove this warning. See 14:40:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:24 14:40:24 Login Succeeded 14:40:24 ---> docker-login.sh ends [Pipeline] } 14:40:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:40:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:40:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:40:24 ========================================================= 14:40:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:40:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:40:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:40:25 Sending build context to Docker daemon 144.4kB 14:40:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:40:25 Step 2/12 : FROM ${BASE} AS builder 14:40:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:40:25 9fda8d8052c6: Pulling fs layer 14:40:25 5d54e960e981: Pulling fs layer 14:40:25 c4a7e357bf2a: Pulling fs layer 14:40:25 f0e02332f6b5: Pulling fs layer 14:40:25 cefa15bbcfad: Pulling fs layer 14:40:25 17808c966233: Pulling fs layer 14:40:25 f4c1fc716caa: Pulling fs layer 14:40:25 f0e02332f6b5: Waiting 14:40:25 cefa15bbcfad: Waiting 14:40:25 17808c966233: Waiting 14:40:25 f4c1fc716caa: Waiting 14:40:25 5d54e960e981: Verifying Checksum 14:40:25 5d54e960e981: Download complete 14:40:25 f0e02332f6b5: Verifying Checksum 14:40:25 f0e02332f6b5: Download complete 14:40:25 cefa15bbcfad: Download complete 14:40:25 9fda8d8052c6: Verifying Checksum 14:40:25 9fda8d8052c6: Download complete 14:40:26 f4c1fc716caa: Verifying Checksum 14:40:26 f4c1fc716caa: Download complete 14:40:26 9fda8d8052c6: Pull complete 14:40:27 5d54e960e981: Pull complete 14:40:27 c4a7e357bf2a: Verifying Checksum 14:40:27 c4a7e357bf2a: Download complete 14:40:28 17808c966233: Download complete 14:40:38 c4a7e357bf2a: Pull complete 14:40:38 f0e02332f6b5: Pull complete 14:40:38 cefa15bbcfad: Pull complete 14:40:45 17808c966233: Pull complete 14:40:46 f4c1fc716caa: Pull complete 14:40:46 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:40:46 ---> ea914061e18c 14:40:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:40:48 ---> Running in d1d187642400 14:40:48 Removing intermediate container d1d187642400 14:40:48 ---> c992b53cfd18 14:40:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:40:48 ---> Running in 5fc4ef87ac0d 14:40:49 Removing intermediate container 5fc4ef87ac0d 14:40:49 ---> 75a309b3e7c2 14:40:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:40:49 ---> Running in 4407feac28dc 14:40:49 Removing intermediate container 4407feac28dc 14:40:49 ---> b4532773c5a9 14:40:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:40:49 ---> Running in b0f3e646a2c7 14:40:49 Removing intermediate container b0f3e646a2c7 14:40:49 ---> 460f28547eac 14:40:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:40:49 ---> Running in 3469164d1cc1 14:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:40:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:40:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:40:53 (2/4) Installing libedit (20221030.3.1-r1) 14:40:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:40:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:40:53 Executing busybox-1.36.1-r2.trigger 14:40:53 OK: 270 MiB in 56 packages 14:40:53 Removing intermediate container 3469164d1cc1 14:40:53 ---> 883eff8d0e61 14:40:53 Step 8/12 : WORKDIR /device-rest-go 14:40:53 ---> Running in a23b4d6ebf39 14:40:54 Removing intermediate container a23b4d6ebf39 14:40:54 ---> 9ce8772348f1 14:40:54 Step 9/12 : COPY go.mod vendor* ./ 14:40:54 ---> 98d45a6d1841 14:40:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:40:54 ---> Running in 82645814e949 14:42:02 Removing intermediate container 82645814e949 14:42:02 ---> f51fb8915bb5 14:42:02 Step 11/12 : COPY . . 14:42:02 ---> 8d4066805491 14:42:02 Step 12/12 : RUN $MAKE 14:42:02 ---> Running in ba8693168582 14:42:02 noop 14:42:02 Removing intermediate container ba8693168582 14:42:02 ---> 2dd5b159d0f4 14:42:02 Successfully built 2dd5b159d0f4 14:42:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:03 + docker inspect -f . ci-base-image-arm64 14:42:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:42:03 prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container 14:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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 14:42:05 $ docker top 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 -eo pid,comm [Pipeline] { [Pipeline] sh 14:42:06 + go version 14:42:06 go version go1.21.0 linux/arm64 [Pipeline] } 14:42:06 $ docker stop --time=1 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 14:42:08 $ docker rm -f --volumes 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:08 + docker inspect -f . ci-base-image-arm64 14:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:42:09 prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container 14:42:09 $ 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/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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 14:42:10 $ docker top e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 -eo pid,comm [Pipeline] { [Pipeline] sh 14:42:10 + git config --global --add safe.directory /w/workspace/device-rest-go/137 [Pipeline] fileExists [Pipeline] sh 14:42:11 + make test 14:42:11 go test ./... -coverprofile=coverage.out ./... 14:42:15 ? github.com/edgexfoundry/device-rest-go [no test files] 14:43:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:43:51 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 14:43:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:43:51 go vet ./... 14:44:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:44:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:44:14 ./bin/test-attribution-txt.sh [Pipeline] echo 14:44:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:44:14 $ docker stop --time=1 e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 14:44:16 $ docker rm -f --volumes e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 [Pipeline] // withDockerContainer [Pipeline] sh 14:44:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:44:17 Warning: overwriting stash ‘coverage-report’ 14:44:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:18 + ls -al . 14:44:18 total 184 14:44:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:42 . 14:44:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:39 .. 14:44:18 -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 14:40 .dockerignore 14:44:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:40 .git 14:44:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:40 .github 14:44:18 -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 14:40 .gitignore 14:44:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 14:40 .golangci.yml 14:44:18 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 23 14:40 Attribution.txt 14:44:18 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 23 14:40 CHANGELOG.md 14:44:18 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 23 14:40 Dockerfile 14:44:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 14:40 GOVERNANCE.md 14:44:18 -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 14:40 Jenkinsfile 14:44:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 14:40 LICENSE 14:44:18 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 23 14:40 Makefile 14:44:18 -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 14:40 OWNERS.md 14:44:18 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 23 14:40 README.md 14:44:18 -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 14:37 VERSION 14:44:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:40 bin 14:44:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:40 cmd 14:44:18 -rw-r--r-- 1 jenkins jenkins 14499 Sep 23 14:43 coverage.out 14:44:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:40 driver 14:44:18 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 23 14:40 go.mod 14:44:18 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 14:40 go.sum 14:44:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:40 snap 14:44:18 -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 14:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:44:18 + 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=d6f941c2af2fad29136a7acf5385bb2680494e78 --label arch=arm64 --label version=3.1.0-dev.17 . 14:44:18 Sending build context to Docker daemon 159.7kB 14:44:18 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:44:18 Step 2/25 : FROM ${BASE} AS builder 14:44:18 ---> 2dd5b159d0f4 14:44:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:44:18 ---> Running in e468dd5431b0 14:44:19 Removing intermediate container e468dd5431b0 14:44:19 ---> e483539e2d06 14:44:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:44:19 ---> Running in 3728bba8153f 14:44:19 Removing intermediate container 3728bba8153f 14:44:19 ---> dceee8d7005c 14:44:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:44:19 ---> Running in 0f78c9b79c10 14:44:20 Removing intermediate container 0f78c9b79c10 14:44:20 ---> 309c6c00ceb1 14:44:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:44:20 ---> Running in 67e0e702b909 14:44:20 Removing intermediate container 67e0e702b909 14:44:20 ---> efa329382c62 14:44:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:44:20 ---> Running in 020e49b2bf6b 14:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:44:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:44:24 OK: 270 MiB in 56 packages 14:44:24 Removing intermediate container 020e49b2bf6b 14:44:24 ---> 9fed31a51c4c 14:44:24 Step 8/25 : WORKDIR /device-rest-go 14:44:24 ---> Running in b2b4d8dc144a 14:44:25 Removing intermediate container b2b4d8dc144a 14:44:25 ---> 0828a8a975e9 14:44:25 Step 9/25 : COPY go.mod vendor* ./ 14:44:25 ---> 6dd778daa3b3 14:44:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:44:25 ---> Running in 0aaff07fbb55 14:44:29 Removing intermediate container 0aaff07fbb55 14:44:29 ---> a6d3735efd6d 14:44:29 Step 11/25 : COPY . . 14:44:29 ---> af78722cd930 14:44:29 Step 12/25 : RUN $MAKE 14:44:29 ---> Running in 2f0b8fd0b397 14:44:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:46:52 Removing intermediate container 2f0b8fd0b397 14:46:52 ---> 116a13ded43d 14:46:52 Step 13/25 : FROM alpine:3.18 14:46:52 3.18: Pulling from library/alpine 14:46:52 9fda8d8052c6: Already exists 14:46:52 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 14:46:52 Status: Downloaded newer image for alpine:3.18 14:46:52 ---> f6648c04cd6c 14:46:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:46:52 ---> Running in 33c3573b1e00 14:46:52 Removing intermediate container 33c3573b1e00 14:46:52 ---> 36b68d0b08b0 14:46:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:46:52 ---> Running in 3ce8c4d7c85d 14:46:52 Removing intermediate container 3ce8c4d7c85d 14:46:52 ---> 7d055d7a3f59 14:46:52 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:46:52 ---> Running in a76a16142031 14:46:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:46:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:46:52 (1/1) Installing dumb-init (1.2.5-r2) 14:46:52 Executing busybox-1.36.1-r2.trigger 14:46:52 OK: 8 MiB in 16 packages 14:46:52 Removing intermediate container a76a16142031 14:46:52 ---> 6a6cfbafa755 14:46:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:46:52 ---> da0bf23b2e09 14:46:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:46:52 ---> 88841b4b2877 14:46:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:46:52 ---> 4a39a8be59d6 14:46:52 Step 20/25 : EXPOSE 59986 14:46:52 ---> Running in d8e4a9ea9fd9 14:46:52 Removing intermediate container d8e4a9ea9fd9 14:46:52 ---> e6e35d8b1f5e 14:46:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:46:52 ---> Running in e571948d1dea 14:46:52 Removing intermediate container e571948d1dea 14:46:52 ---> ed9e10eec126 14:46:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:46:52 ---> Running in f9f08612b94e 14:46:52 Removing intermediate container f9f08612b94e 14:46:52 ---> 6066af5a4a36 14:46:52 Step 23/25 : LABEL arch=arm64 14:46:52 ---> Running in 7465769fc37c 14:46:52 Removing intermediate container 7465769fc37c 14:46:52 ---> 4b020c0ae789 14:46:52 Step 24/25 : LABEL git_sha=d6f941c2af2fad29136a7acf5385bb2680494e78 14:46:52 ---> Running in 08f7b4d4464d 14:46:52 Removing intermediate container 08f7b4d4464d 14:46:52 ---> e8140905c775 14:46:52 Step 25/25 : LABEL version=3.1.0-dev.17 14:46:52 ---> Running in a75d8cfdcefd 14:46:52 Removing intermediate container a75d8cfdcefd 14:46:52 ---> 305f62181305 14:46:52 [Warning] One or more build-args [ARCH] were not consumed 14:46:52 Successfully built 305f62181305 14:46:52 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 14:46:52 provisioning config files... 14:46:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/137@tmp/config5841142067716052381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:46:53 ---> docker-login.sh 14:46:53 nexus3.edgexfoundry.org:10001 14:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:53 Configure a credential helper to remove this warning. See 14:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:53 14:46:53 Login Succeeded 14:46:53 nexus3.edgexfoundry.org:10002 14:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:53 Configure a credential helper to remove this warning. See 14:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:53 14:46:53 Login Succeeded 14:46:53 nexus3.edgexfoundry.org:10003 14:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:54 Configure a credential helper to remove this warning. See 14:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:54 14:46:54 Login Succeeded 14:46:54 nexus3.edgexfoundry.org:10004 14:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:54 Configure a credential helper to remove this warning. See 14:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:54 14:46:54 Login Succeeded 14:46:54 docker.io 14:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:55 Configure a credential helper to remove this warning. See 14:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:55 14:46:55 Login Succeeded 14:46:55 ---> docker-login.sh ends [Pipeline] } 14:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:46:55 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:46:55 d6f941c2af2fad29136a7acf5385bb2680494e78 14:46:55 latest 14:46:55 3.1.0-dev.17 14:46:55 d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:46:55 main 14:46:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 14:46:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:46:55 6666a077dcf3: Preparing 14:46:55 a9da2126522c: Preparing 14:46:55 c3828e506385: Preparing 14:46:55 b65fb83f15bb: Preparing 14:46:55 b2191e2be29d: Preparing 14:46:55 b2191e2be29d: Layer already exists 14:46:56 6666a077dcf3: Pushed 14:46:56 b65fb83f15bb: Pushed 14:46:56 a9da2126522c: Pushed 14:47:02 c3828e506385: Pushed 14:47:02 d6f941c2af2fad29136a7acf5385bb2680494e78: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:47:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:47:03 6666a077dcf3: Preparing 14:47:03 a9da2126522c: Preparing 14:47:03 c3828e506385: Preparing 14:47:03 b65fb83f15bb: Preparing 14:47:03 b2191e2be29d: Preparing 14:47:03 c3828e506385: Layer already exists 14:47:03 b65fb83f15bb: Layer already exists 14:47:03 a9da2126522c: Layer already exists 14:47:03 6666a077dcf3: Layer already exists 14:47:03 b2191e2be29d: Layer already exists 14:47:03 latest: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 14:47:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:47:04 6666a077dcf3: Preparing 14:47:04 a9da2126522c: Preparing 14:47:04 c3828e506385: Preparing 14:47:04 b65fb83f15bb: Preparing 14:47:04 b2191e2be29d: Preparing 14:47:04 b65fb83f15bb: Layer already exists 14:47:04 c3828e506385: Layer already exists 14:47:04 b2191e2be29d: Layer already exists 14:47:04 6666a077dcf3: Layer already exists 14:47:04 a9da2126522c: Layer already exists 14:47:04 3.1.0-dev.17: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:47:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:47:05 6666a077dcf3: Preparing 14:47:05 a9da2126522c: Preparing 14:47:05 c3828e506385: Preparing 14:47:05 b65fb83f15bb: Preparing 14:47:05 b2191e2be29d: Preparing 14:47:05 c3828e506385: Layer already exists 14:47:05 a9da2126522c: Layer already exists 14:47:05 b65fb83f15bb: Layer already exists 14:47:05 6666a077dcf3: Layer already exists 14:47:05 b2191e2be29d: Layer already exists 14:47:05 d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:47:06 6666a077dcf3: Preparing 14:47:06 a9da2126522c: Preparing 14:47:06 c3828e506385: Preparing 14:47:06 b65fb83f15bb: Preparing 14:47:06 b2191e2be29d: Preparing 14:47:06 6666a077dcf3: Layer already exists 14:47:06 c3828e506385: Layer already exists 14:47:06 b65fb83f15bb: Layer already exists 14:47:06 b2191e2be29d: Layer already exists 14:47:06 a9da2126522c: Layer already exists 14:47:06 main: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:47:06 ===================================================== [Pipeline] echo 14:47:06 taggedImages: 14:47:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 14:47:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:47:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 14:47:06 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 14:47:06 - 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 14:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:47:06 14:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:47:07 arm64: Pulling from edgex-lftools-log-publisher 14:47:07 8998bd30e6a1: Pulling fs layer 14:47:07 04944245beec: Pulling fs layer 14:47:07 699f458cf7ca: Pulling fs layer 14:47:07 765212b225bb: Pulling fs layer 14:47:07 f23df028b6ca: Pulling fs layer 14:47:07 d65c8cfc05b1: Pulling fs layer 14:47:07 2437ff75d9bd: Pulling fs layer 14:47:07 765212b225bb: Waiting 14:47:07 f23df028b6ca: Waiting 14:47:07 d65c8cfc05b1: Waiting 14:47:07 2437ff75d9bd: Waiting 14:47:07 04944245beec: Verifying Checksum 14:47:07 04944245beec: Download complete 14:47:07 765212b225bb: Verifying Checksum 14:47:07 765212b225bb: Download complete 14:47:07 f23df028b6ca: Download complete 14:47:07 d65c8cfc05b1: Verifying Checksum 14:47:07 d65c8cfc05b1: Download complete 14:47:07 699f458cf7ca: Verifying Checksum 14:47:07 699f458cf7ca: Download complete 14:47:08 8998bd30e6a1: Verifying Checksum 14:47:08 8998bd30e6a1: Download complete 14:47:10 2437ff75d9bd: Verifying Checksum 14:47:10 2437ff75d9bd: Download complete 14:47:11 8998bd30e6a1: Pull complete 14:47:11 04944245beec: Pull complete 14:47:13 699f458cf7ca: Pull complete 14:47:13 765212b225bb: Pull complete 14:47:14 f23df028b6ca: Pull complete 14:47:14 d65c8cfc05b1: Pull complete 14:47:29 2437ff75d9bd: Pull complete 14:47:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container 14:47:29 $ 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/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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 14:47:32 $ docker top e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:33 ---> job-cost.sh 14:47:33 lf-activate-venv: SKIPPING 14:47:33 INFO: No Stack... 14:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 14:47:34 INFO: Archiving Costs [Pipeline] sh 14:47:34 + cat /w/workspace/device-rest-go/137/archives/cost.csv 14:47:34 + cut -d, -f6 [Pipeline] lock 14:47:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] 14:47:35 Resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] did not exist. Created. 14:47:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:47:35 /w/workspace/device-rest-go/137@tmp/durable-4cf73160/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:47:36 + echo total: 0.10999999940395355 [Pipeline] stash 14:47:36 Warning: overwriting stash ‘stack-cost’ 14:47:36 Stashed 1 file(s) [Pipeline] } 14:47:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 14:47:36 $ docker stop --time=1 e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 14:47:37 $ docker rm -f --volumes e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 [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 14:47:38 provisioning config files... 14:47:38 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13036867528186103710tmp [Pipeline] { [Pipeline] sh 14:47:38 + set +x 14:47:38 + curl -s https://codecov.io/bash 14:47:38 + bash -s -- 14:47:38 14:47:38 _____ _ 14:47:38 / ____| | | 14:47:38 | | ___ __| | ___ ___ _____ __ 14:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 14:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 14:47:38 Bash-1.0.6 14:47:38 14:47:38 14:47:38 ==> git version 2.25.1 found 14:47:38 ==> 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 14:47:38 Release-Date: 2020-01-08 14:47:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:47:38 ==> Jenkins CI detected. 14:47:38 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:47:38 project root: . 14:47:38 --> token set from env 14:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:47:38 ==> Running gcov in . (disable via -X gcov) 14:47:38 ==> Python coveragepy not found 14:47:38 ==> Searching for coverage reports in: 14:47:38 + . 14:47:38 -> Found 1 reports 14:47:38 ==> Detecting git/mercurial file structure 14:47:38 ==> Reading reports 14:47:38 + ./coverage.out bytes=14499 14:47:38 ==> Appending adjustments 14:47:38 https://docs.codecov.io/docs/fixing-reports 14:47:38 + Found adjustments 14:47:38 ==> Gzipping contents 14:47:38 4.0K /tmp/codecov.aHH4i6.gz 14:47:38 ==> Uploading reports 14:47:38 url: https://codecov.io 14:47:38 query: branch=main&commit=d6f941c2af2fad29136a7acf5385bb2680494e78&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:47:38 -> Pinging Codecov 14:47:38 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=d6f941c2af2fad29136a7acf5385bb2680494e78&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:47:38 -> Uploading to 14:47:38 https://storage.googleapis.com/codecov/v4/raw/2023-09-23/4E5D53B4F1F92C436F7061BF334D961C/d6f941c2af2fad29136a7acf5385bb2680494e78/4cd9c43f-3679-4b1e-9132-77b283fae81c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T144738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33238041af13585ccc444f8774e14d51140c6ad2eb4b55a625f755bdddb88b6b 14:47:38 % Total % Received % Xferd Average Speed Time Time Time Current 14:47:38 Dload Upload Total Spent Left Speed 14:47:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12654 --:--:-- --:--:-- --:--:-- 12654 14:47:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } 14:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:47:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:47:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:47:39 14:47:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:47:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:47:39 df9b9388f04a: Pulling fs layer 14:47:39 52dc419b0ee2: Pulling fs layer 14:47:39 25bc292e5bac: Pulling fs layer 14:47:39 114826534d7a: Pulling fs layer 14:47:39 4657fd5d0bcf: Pulling fs layer 14:47:39 6ad1cebc031e: Pulling fs layer 14:47:39 8a3aa393b2d8: Pulling fs layer 14:47:39 8a3aa393b2d8: Waiting 14:47:39 114826534d7a: Waiting 14:47:39 6ad1cebc031e: Waiting 14:47:39 4657fd5d0bcf: Waiting 14:47:39 25bc292e5bac: Verifying Checksum 14:47:39 25bc292e5bac: Download complete 14:47:39 52dc419b0ee2: Verifying Checksum 14:47:39 52dc419b0ee2: Download complete 14:47:39 4657fd5d0bcf: Verifying Checksum 14:47:39 4657fd5d0bcf: Download complete 14:47:39 df9b9388f04a: Verifying Checksum 14:47:39 df9b9388f04a: Download complete 14:47:40 df9b9388f04a: Pull complete 14:47:40 6ad1cebc031e: Verifying Checksum 14:47:40 6ad1cebc031e: Download complete 14:47:40 52dc419b0ee2: Pull complete 14:47:40 25bc292e5bac: Pull complete 14:47:40 114826534d7a: Download complete 14:47:40 8a3aa393b2d8: Verifying Checksum 14:47:40 8a3aa393b2d8: Download complete 14:47:44 114826534d7a: Pull complete 14:47:44 4657fd5d0bcf: Pull complete 14:47:44 6ad1cebc031e: Pull complete 14:47:46 8a3aa393b2d8: Pull complete 14:47:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:47:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:47:47 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:47:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:47:50 $ docker top 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce -eo pid,comm [Pipeline] { [Pipeline] echo 14:47:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 14:47:50 + set -o pipefail 14:47:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 14:47:55 14:47:55 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:47:55 14:47:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f8dee277-cdb8-436e-ae37-6204f891241f 14:47:55 14:47:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:47:55 14:47:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:47:55 14:47:56 14:47:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:47:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:47:56 More details here: https://snyk.co/ue1NS [Pipeline] } 14:47:56 $ docker stop --time=1 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce 14:47:59 $ docker rm -f --volumes 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce [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 14:47:59 + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] sh 14:48:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:48:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:00 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:48:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:48:00 $ docker top 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 -eo pid,comm 14:48:00 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). 14:48:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:48:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:00 [ssh-agent] Looking for ssh-agent implementation... 14:48:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:01 $ docker exec 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 ssh-agent 14:48:01 SSH_AUTH_SOCK=/tmp/ssh-AZwpVUzKdLJA/agent.32 14:48:01 SSH_AGENT_PID=38 14:48:01 Running ssh-add (command line suppressed) 14:48:01 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12428875400865686374.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12428875400865686374.key) 14:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:01 + git semver tag 14:48:01 2023-09-23 14:48:01,756 [run_tag] DEBUG tag force:False 14:48:01 2023-09-23 14:48:01,756 [check_head_tag] DEBUG check head tag 14:48:01 2023-09-23 14:48:01,757 [execute] INFO git cat-file --batch-check 14:48:01 2023-09-23 14:48:01,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:48:01 2023-09-23 14:48:01,760 [execute] INFO git cat-file --batch 14:48:01 2023-09-23 14:48:01,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 14:48:01 2023-09-23 14:48:01,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:01 2023-09-23 14:48:01,771 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 14:48:01 2023-09-23 14:48:01,771 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 14:48:01 2023-09-23 14:48:01,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:01 3.1.0-dev.17 [Pipeline] } 14:48:01 $ docker exec --env ******** --env ******** 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 ssh-agent -k 14:48:01 unset SSH_AUTH_SOCK; 14:48:01 unset SSH_AGENT_PID; 14:48:01 echo Agent pid 38 killed; 14:48:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:48:02 + git semver [Pipeline] } 14:48:02 $ docker stop --time=1 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 14:48:03 $ docker rm -f --volumes 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:48:04 14:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:48:04 0.23.1-centos7: Pulling from edgex-lftools 14:48:04 ab5ef0e58194: Pulling fs layer 14:48:04 9712f1f96733: Pulling fs layer 14:48:04 63f879dbbcfc: Pulling fs layer 14:48:04 0d9ebad4ef96: Pulling fs layer 14:48:04 e9a5061849ea: Pulling fs layer 14:48:04 d747dcd14b5f: Pulling fs layer 14:48:04 2de7ff778b66: Pulling fs layer 14:48:04 e9a5061849ea: Waiting 14:48:04 d747dcd14b5f: Waiting 14:48:04 2de7ff778b66: Waiting 14:48:04 9712f1f96733: Verifying Checksum 14:48:04 9712f1f96733: Download complete 14:48:04 63f879dbbcfc: Verifying Checksum 14:48:04 63f879dbbcfc: Download complete 14:48:05 e9a5061849ea: Verifying Checksum 14:48:05 e9a5061849ea: Download complete 14:48:05 d747dcd14b5f: Verifying Checksum 14:48:05 d747dcd14b5f: Download complete 14:48:05 0d9ebad4ef96: Verifying Checksum 14:48:05 0d9ebad4ef96: Download complete 14:48:05 ab5ef0e58194: Verifying Checksum 14:48:05 ab5ef0e58194: Download complete 14:48:05 2de7ff778b66: Verifying Checksum 14:48:05 2de7ff778b66: Download complete 14:48:07 ab5ef0e58194: Pull complete 14:48:07 9712f1f96733: Pull complete 14:48:08 63f879dbbcfc: Pull complete 14:48:11 0d9ebad4ef96: Pull complete 14:48:11 e9a5061849ea: Pull complete 14:48:11 d747dcd14b5f: Pull complete 14:48:12 2de7ff778b66: Pull complete 14:48:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:48:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:12 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:48:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:48:17 $ docker top 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:48:17 provisioning config files... 14:48:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16001486798147335708tmp 14:48:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7169023905387666963tmp 14:48:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2287083616358492765tmp [Pipeline] { [Pipeline] echo 14:48:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:48:17 ---> sigul-configuration.sh 14:48:17 gpg: directory `/root/.gnupg' created 14:48:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:48:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:48:17 gpg: keyring `/root/.gnupg/secring.gpg' created 14:48:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:48:17 gpg: CAST5 encrypted data 14:48:17 gpg: encrypted with 1 passphrase 14:48:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:48:18 + mkdir /home/jenkins 14:48:18 + mkdir /home/jenkins/sigul [Pipeline] sh 14:48:18 + 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 14:48:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:48:18 ---> sigul-install.sh 14:48:18 Sigul already installed; skipping installation. [Pipeline] sh 14:48:19 + git tag --list 14:48:19 v1.0.0 14:48:19 v1.1.0 14:48:19 v1.1.1 14:48:19 v1.1.2 14:48:19 v1.2.0 14:48:19 v1.2.1 14:48:19 v2.0.0 14:48:19 v2.1.0 14:48:19 v2.1.1 14:48:19 v2.2.0 14:48:19 v2.3.0 14:48:19 v3.0 14:48:19 v3.0.0 14:48:19 v3.1.0-dev.1 14:48:19 v3.1.0-dev.10 14:48:19 v3.1.0-dev.11 14:48:19 v3.1.0-dev.12 14:48:19 v3.1.0-dev.13 14:48:19 v3.1.0-dev.14 14:48:19 v3.1.0-dev.15 14:48:19 v3.1.0-dev.16 14:48:19 v3.1.0-dev.17 14:48:19 v3.1.0-dev.2 14:48:19 v3.1.0-dev.3 14:48:19 v3.1.0-dev.4 14:48:19 v3.1.0-dev.5 14:48:19 v3.1.0-dev.6 14:48:19 v3.1.0-dev.7 14:48:19 v3.1.0-dev.8 14:48:19 v3.1.0-dev.9 [Pipeline] sh 14:48:19 + lftools sign git-tag v3.1.0-dev.17 14:48:19 Signing Git tag with Sigul... 14:48:19 Signing v3.1.0-dev.17 [Pipeline] echo 14:48:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:48:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:48:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:48:20 $ docker stop --time=1 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 14:48:21 $ docker rm -f --volumes 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:48:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:48:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:22 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:48:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:48:22 $ docker top 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 -eo pid,comm 14:48:23 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). 14:48:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:23 [ssh-agent] Looking for ssh-agent implementation... 14:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:23 $ docker exec 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 ssh-agent 14:48:23 SSH_AUTH_SOCK=/tmp/ssh-loyQePUrEVNS/agent.32 14:48:23 SSH_AGENT_PID=38 14:48:23 Running ssh-add (command line suppressed) 14:48:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6616073064028727685.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6616073064028727685.key) 14:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:23 + git semver bump pre 14:48:23 2023-09-23 14:48:23,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:23 2023-09-23 14:48:23,881 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev 14:48:23 2023-09-23 14:48:23,881 [bump_version] DEBUG bumped version:3.1.0-dev.18 14:48:23 2023-09-23 14:48:23,881 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 14:48:23 2023-09-23 14:48:23,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:23 2023-09-23 14:48:23,881 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:23 2023-09-23 14:48:23,883 [execute] INFO git cat-file --batch-check 14:48:23 2023-09-23 14:48:23,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:48:23 2023-09-23 14:48:23,888 [execute] INFO git cat-file --batch 14:48:23 2023-09-23 14:48:23,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:48:23 2023-09-23 14:48:23,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:23 3.1.0-dev.18 [Pipeline] } 14:48:23 $ docker exec --env ******** --env ******** 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 ssh-agent -k 14:48:24 unset SSH_AUTH_SOCK; 14:48:24 unset SSH_AGENT_PID; 14:48:24 echo Agent pid 38 killed; 14:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:48:24 + git semver [Pipeline] } 14:48:24 $ docker stop --time=1 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 14:48:25 $ docker rm -f --volumes 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 [Pipeline] // withDockerContainer [Pipeline] sh 14:48:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:48:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:26 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:48:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:48:27 $ docker top 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba -eo pid,comm 14:48:27 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). 14:48:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:48:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:27 [ssh-agent] Looking for ssh-agent implementation... 14:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:27 $ docker exec 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba ssh-agent 14:48:27 SSH_AUTH_SOCK=/tmp/ssh-39pNkzElo9e8/agent.32 14:48:27 SSH_AGENT_PID=38 14:48:27 Running ssh-add (command line suppressed) 14:48:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6211466794284188188.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6211466794284188188.key) 14:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:27 + git semver push 14:48:28 2023-09-23 14:48:28,120 [run_push] DEBUG push 14:48:28 2023-09-23 14:48:28,121 [execute] INFO git cat-file --batch-check 14:48:28 2023-09-23 14:48:28,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:48:28 2023-09-23 14:48:28,125 [execute] INFO git rev-list 3d427d1e6c99dd63a250fed234575c85e66a3d5c -- 14:48:28 2023-09-23 14:48:28,125 [execute] DEBUG Popen(['git', 'rev-list', '3d427d1e6c99dd63a250fed234575c85e66a3d5c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:48:28 2023-09-23 14:48:28,133 [execute] INFO git fetch -v origin 14:48:28 2023-09-23 14:48:28,133 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:48:28 2023-09-23 14:48:28,608 [run_push] DEBUG no remote changes detected 14:48:28 2023-09-23 14:48:28,608 [execute] INFO git push origin semver 14:48:28 2023-09-23 14:48:28,609 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:48:29 2023-09-23 14:48:29,328 [run_push] DEBUG push all version tags 14:48:29 2023-09-23 14:48:29,328 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:48:29 2023-09-23 14:48:29,329 [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) 14:48:30 2023-09-23 14:48:30,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 14:48:30 3.1.0-dev.18 [Pipeline] } 14:48:30 $ docker exec --env ******** --env ******** 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba ssh-agent -k 14:48:30 unset SSH_AUTH_SOCK; 14:48:30 unset SSH_AGENT_PID; 14:48:30 echo Agent pid 38 killed; 14:48:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:48:30 + git semver [Pipeline] } 14:48:30 $ docker stop --time=1 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba 14:48:32 $ docker rm -f --volumes 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba [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 14:48:32 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:48:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:48:32 total 16 14:48:32 drwxr-xr-x 3 root root 4096 Sep 23 14:39 . 14:48:32 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 14:48 .. 14:48:32 drwxr-xr-x 2 root root 4096 Sep 23 14:39 cost 14:48:32 -rw-r--r-- 1 root root 86 Sep 23 14:39 cost.csv 14:48:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:48:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:48:32 total 16 14:48:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 14:39 . 14:48:32 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 14:48 .. 14:48:32 drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 14:39 cost 14:48:32 -rw-r--r-- 1 jenkins jenkins 86 Sep 23 14:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:48:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:48:34 ---> package-listing.sh 14:48:34 ++ facter osfamily 14:48:34 ++ tr '[:upper:]' '[:lower:]' 14:48:34 + OS_FAMILY=debian 14:48:34 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:48:34 + START_PACKAGES=/tmp/packages_start.txt 14:48:34 + END_PACKAGES=/tmp/packages_end.txt 14:48:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:48:34 + PACKAGES=/tmp/packages_start.txt 14:48:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:48:34 + PACKAGES=/tmp/packages_end.txt 14:48:34 + case "${OS_FAMILY}" in 14:48:34 + dpkg -l 14:48:34 + grep '^ii' 14:48:34 + '[' -f /tmp/packages_start.txt ']' 14:48:34 + '[' -f /tmp/packages_end.txt ']' 14:48:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:48:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:48:34 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:48:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:48:34 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 14:48:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:48:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:35 prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container 14:48:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:48:35 $ docker top 97080ec3e88f3112dd343f8deb70ac7e7d2bd6d9832ec602b194ca37230ecf34 -eo pid,comm [Pipeline] { [Pipeline] sh 14:48:35 + touch /tmp/pre-build-complete [Pipeline] sh 14:48:36 + mkdir -p /var/log/sysstat [Pipeline] sh 14:48:36 + ls /var/log/sa-host 14:48:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:36 provisioning config files... 14:48:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4687527937533115216tmp [Pipeline] { [Pipeline] echo 14:48:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:48:36 ---> create-netrc.sh [Pipeline] } 14:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:48:37 ---> python-tools-install.sh [Pipeline] echo 14:48:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:48:37 ---> sudo-logs.sh 14:48:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:48:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:48:37 ---> job-cost.sh 14:48:37 lf-activate-venv: SKIPPING 14:48:37 DEBUG: total: 0.2199999988079071 14:48:37 INFO: Retrieving Stack Cost... 14:48:38 INFO: Retrieving Pricing Info for: v3-standard-8 14:48:38 INFO: Archiving Costs [Pipeline] echo 14:48:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:48:38 ---> logs-deploy.sh 14:48:38 lf-activate-venv: SKIPPING 14:48:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/137 14:48:38 INFO: archiving workspace using pattern(s): 14:48:39 Archives upload complete. 14:48:39 INFO: archiving logs to Nexus