Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 291482f778a08bdc345d5637fe0e8ffcfe52633f 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-ssh6382103562151751732.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17645789977656062831.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6981747127234677632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh18301494467250312925.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-ssh4883293035065221759.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24601 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 > 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 Avoid second fetch Checking out Revision 291482f778a08bdc345d5637fe0e8ffcfe52633f (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372)" > git config core.sparsecheckout # timeout=10 > git checkout -f 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 > git rev-list --no-walk e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-06T20:57:00.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-06T20:57:00.688Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-06T20:57:00.718Z] ========================================================= [2023-12-06T20:57:00.718Z] EdgeX Global Pipelines Version Info [2023-12-06T20:57:00.718Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:57:01.441Z] ------------------- [2023-12-06T20:57:01.441Z] stable info: [2023-12-06T20:57:01.441Z] ------------------- [2023-12-06T20:57:01.441Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-06T20:57:01.441Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T20:57:01.441Z] Message: update stable to v1.0.258 [2023-12-06T20:57:02.015Z] ------------------- [2023-12-06T20:57:02.015Z] experimental info: [2023-12-06T20:57:02.015Z] ------------------- [2023-12-06T20:57:02.015Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-06T20:57:02.015Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T20:57:02.015Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-06T20:57:02.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-06T20:57:02.148Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-06T20:57:02.175Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-06T20:57:02.197Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-06T20:57:02.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-06T20:57:02.247Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-06T20:57:02.271Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-06T20:57:02.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-06T20:57:02.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-06T20:57:02.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-06T20:57:02.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-06T20:57:02.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-06T20:57:02.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-06T20:57:02.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-06T20:57:02.516Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-06T20:57:02.551Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-06T20:57:02.581Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T20:57:02.610Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T20:57:02.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-06T20:57:02.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-06T20:57:02.715Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-06T20:57:02.752Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-06T20:57:02.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-06T20:57:02.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-06T20:57:02.848Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-06T20:57:02.886Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-06T20:57:02.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-06T20:57:02.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-12-06T20:57:03.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-12-06T20:57:03.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-12-06T20:57:03.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo [2023-12-06T20:57:03.114Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 291482f [Pipeline] echo [2023-12-06T20:57:03.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:57:03.238Z] provisioning config files... [2023-12-06T20:57:03.253Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17456863579444126323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:57:03.590Z] ---> ****-login.sh [2023-12-06T20:57:03.590Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:57:03.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:03.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:03.850Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:03.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:03.850Z] [2023-12-06T20:57:03.850Z] Login Succeeded [2023-12-06T20:57:03.850Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:57:03.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:03.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:03.850Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:03.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:03.850Z] [2023-12-06T20:57:03.850Z] Login Succeeded [2023-12-06T20:57:03.850Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:57:04.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:04.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:04.111Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:04.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:04.111Z] [2023-12-06T20:57:04.111Z] Login Succeeded [2023-12-06T20:57:04.111Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:57:04.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:04.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:04.111Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:04.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:04.111Z] [2023-12-06T20:57:04.111Z] Login Succeeded [2023-12-06T20:57:04.111Z] ****.io [2023-12-06T20:57:04.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:04.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:04.373Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:04.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:04.373Z] [2023-12-06T20:57:04.373Z] Login Succeeded [2023-12-06T20:57:04.373Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:57:04.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-06T20:57:04.906Z] + git rev-list -1 --merges 291482f778a08bdc345d5637fe0e8ffcfe52633f~1..291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo [2023-12-06T20:57:04.960Z] -----------> git rev-list -1 --merges 291482f778a08bdc345d5637fe0e8ffcfe52633f~1..291482f778a08bdc345d5637fe0e8ffcfe52633f 291482f778a08bdc345d5637fe0e8ffcfe52633f [false] [Pipeline] sh [2023-12-06T20:57:05.264Z] + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo [2023-12-06T20:57:05.279Z] ========================================================= [2023-12-06T20:57:05.279Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-06T20:57:05.279Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T20:57:05.648Z] + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo [2023-12-06T20:57:05.659Z] [semverPrep] GIT_COMMIT: 291482f778a08bdc345d5637fe0e8ffcfe52633f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372) [Pipeline] echo [2023-12-06T20:57:05.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-06T20:57:06.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T20:57:06.051Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-06T20:57:06.051Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-06T20:57:06.051Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-06T20:57:06.051Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-06T20:57:06.051Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-06T20:57:06.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:57:06.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:57:06.418Z] [2023-12-06T20:57:06.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:57:06.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:57:06.733Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-06T20:57:06.733Z] b85a868b505f: Pulling fs layer [2023-12-06T20:57:06.733Z] e2be974225ed: Pulling fs layer [2023-12-06T20:57:06.733Z] 339a4e72a1f5: Pulling fs layer [2023-12-06T20:57:06.733Z] 988bab9f4d93: Pulling fs layer [2023-12-06T20:57:06.733Z] 1469e6f7b9e6: Pulling fs layer [2023-12-06T20:57:06.733Z] eaf3925da568: Pulling fs layer [2023-12-06T20:57:06.733Z] bab4dde63d76: Pulling fs layer [2023-12-06T20:57:06.733Z] bde34c3a00c8: Pulling fs layer [2023-12-06T20:57:06.733Z] b352a97aabf1: Pulling fs layer [2023-12-06T20:57:06.733Z] 4872d77fe225: Pulling fs layer [2023-12-06T20:57:06.733Z] 5851b861e8e6: Pulling fs layer [2023-12-06T20:57:06.733Z] eaf3925da568: Waiting [2023-12-06T20:57:06.733Z] bab4dde63d76: Waiting [2023-12-06T20:57:06.733Z] bde34c3a00c8: Waiting [2023-12-06T20:57:06.733Z] b352a97aabf1: Waiting [2023-12-06T20:57:06.733Z] 4872d77fe225: Waiting [2023-12-06T20:57:06.733Z] 1469e6f7b9e6: Waiting [2023-12-06T20:57:06.733Z] 5851b861e8e6: Waiting [2023-12-06T20:57:06.733Z] e2be974225ed: Verifying Checksum [2023-12-06T20:57:06.733Z] e2be974225ed: Download complete [2023-12-06T20:57:06.733Z] 988bab9f4d93: Download complete [2023-12-06T20:57:06.733Z] 1469e6f7b9e6: Verifying Checksum [2023-12-06T20:57:06.733Z] 1469e6f7b9e6: Download complete [2023-12-06T20:57:06.733Z] eaf3925da568: Verifying Checksum [2023-12-06T20:57:06.733Z] eaf3925da568: Download complete [2023-12-06T20:57:06.993Z] 339a4e72a1f5: Verifying Checksum [2023-12-06T20:57:06.993Z] 339a4e72a1f5: Download complete [2023-12-06T20:57:06.993Z] bde34c3a00c8: Verifying Checksum [2023-12-06T20:57:06.993Z] bde34c3a00c8: Download complete [2023-12-06T20:57:06.993Z] b352a97aabf1: Verifying Checksum [2023-12-06T20:57:06.993Z] b352a97aabf1: Download complete [2023-12-06T20:57:06.993Z] 4872d77fe225: Verifying Checksum [2023-12-06T20:57:06.993Z] 4872d77fe225: Download complete [2023-12-06T20:57:06.993Z] 5851b861e8e6: Verifying Checksum [2023-12-06T20:57:06.993Z] 5851b861e8e6: Download complete [2023-12-06T20:57:06.993Z] b85a868b505f: Download complete [2023-12-06T20:57:07.251Z] bab4dde63d76: Verifying Checksum [2023-12-06T20:57:07.251Z] bab4dde63d76: Download complete [2023-12-06T20:57:08.187Z] b85a868b505f: Pull complete [2023-12-06T20:57:08.187Z] e2be974225ed: Pull complete [2023-12-06T20:57:09.166Z] 339a4e72a1f5: Pull complete [2023-12-06T20:57:09.166Z] 988bab9f4d93: Pull complete [2023-12-06T20:57:09.426Z] 1469e6f7b9e6: Pull complete [2023-12-06T20:57:09.426Z] eaf3925da568: Pull complete [2023-12-06T20:57:11.349Z] bab4dde63d76: Pull complete [2023-12-06T20:57:11.608Z] bde34c3a00c8: Pull complete [2023-12-06T20:57:11.608Z] b352a97aabf1: Pull complete [2023-12-06T20:57:11.868Z] 4872d77fe225: Pull complete [2023-12-06T20:57:11.868Z] 5851b861e8e6: Pull complete [2023-12-06T20:57:11.868Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-06T20:57:11.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:57:11.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:57:12.063Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T20:57:12.092Z] $ 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 [2023-12-06T20:57:15.859Z] $ docker top 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 -eo pid,comm [2023-12-06T20:57:15.914Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-12-06T20:57:15.914Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T20:57:16.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:57:16.002Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:57:16.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:57:16.126Z] $ docker exec 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent [2023-12-06T20:57:16.230Z] SSH_AUTH_SOCK=/tmp/ssh-HuDKXulKVjNz/agent.32 [2023-12-06T20:57:16.230Z] SSH_AGENT_PID=38 [2023-12-06T20:57:16.237Z] Running ssh-add (command line suppressed) [2023-12-06T20:57:16.337Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7804364238134577579.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7804364238134577579.key) [2023-12-06T20:57:16.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:57:16.664Z] + git tag --points-at HEAD [Pipeline] } [2023-12-06T20:57:16.675Z] $ docker exec --env ******** --env ******** 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent -k [2023-12-06T20:57:16.775Z] unset SSH_AUTH_SOCK; [2023-12-06T20:57:16.775Z] unset SSH_AGENT_PID; [2023-12-06T20:57:16.775Z] echo Agent pid 38 killed; [2023-12-06T20:57:16.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-06T20:57:16.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:57:16.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:57:16.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:57:16.966Z] $ docker exec 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent [2023-12-06T20:57:17.077Z] SSH_AUTH_SOCK=/tmp/ssh-QaTwOHjHK5ey/agent.71 [2023-12-06T20:57:17.077Z] SSH_AGENT_PID=77 [2023-12-06T20:57:17.083Z] Running ssh-add (command line suppressed) [2023-12-06T20:57:17.179Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12591052105413588451.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12591052105413588451.key) [2023-12-06T20:57:17.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:57:17.503Z] + git semver init [2023-12-06T20:57:17.763Z] 2023-12-06 20:57:17,671 [run_init] DEBUG init version:0.0.0 force:False [2023-12-06T20:57:17.763Z] 2023-12-06 20:57:17,672 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-06T20:57:17.763Z] 2023-12-06 20:57:17,672 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-06T20:57:17.763Z] 2023-12-06 20:57:17,672 [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) [2023-12-06T20:57:19.677Z] 2023-12-06 20:57:19,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-12-06T20:57:19.677Z] 2023-12-06 20:57:19,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-12-06T20:57:19.677Z] 2023-12-06 20:57:19,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:57:19.677Z] 2023-12-06 20:57:19,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:57:19.677Z] 3.2.0-dev.5 [Pipeline] } [2023-12-06T20:57:19.689Z] $ docker exec --env ******** --env ******** 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent -k [2023-12-06T20:57:19.803Z] unset SSH_AUTH_SOCK; [2023-12-06T20:57:19.803Z] unset SSH_AGENT_PID; [2023-12-06T20:57:19.804Z] echo Agent pid 77 killed; [2023-12-06T20:57:19.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T20:57:20.190Z] + git semver [Pipeline] } [2023-12-06T20:57:20.462Z] $ docker stop --time=1 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 [2023-12-06T20:57:21.788Z] $ docker rm -f --volumes 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:57:22.164Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-06T20:57:22.438Z] Stashed 1 file(s) [Pipeline] echo [2023-12-06T20:57:22.441Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:57:22.812Z] provisioning config files... [2023-12-06T20:57:22.821Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13941505731814828781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:57:22.982Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24600 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-12-06T20:57:23.012Z] Running in /w/workspace/device-rest-go/157 [Pipeline] { [Pipeline] checkout [2023-12-06T20:57:23.061Z] The recommended git tool is: git [2023-12-06T20:57:23.144Z] ---> ****-login.sh [2023-12-06T20:57:23.144Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:57:23.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:23.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:23.144Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:23.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:23.144Z] [2023-12-06T20:57:23.144Z] Login Succeeded [2023-12-06T20:57:23.144Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:57:23.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:23.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:23.144Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:23.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:23.144Z] [2023-12-06T20:57:23.144Z] Login Succeeded [2023-12-06T20:57:23.144Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:57:23.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:23.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:23.404Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:23.404Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:23.404Z] [2023-12-06T20:57:23.404Z] Login Succeeded [2023-12-06T20:57:23.404Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:57:23.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:23.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:23.405Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:23.405Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:23.405Z] [2023-12-06T20:57:23.405Z] Login Succeeded [2023-12-06T20:57:23.405Z] ****.io [2023-12-06T20:57:23.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:23.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:23.665Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:23.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:23.665Z] [2023-12-06T20:57:23.665Z] Login Succeeded [2023-12-06T20:57:23.665Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:57:23.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T20:57:23.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:57:23.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:57:23.893Z] ========================================================= [2023-12-06T20:57:23.893Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-06T20:57:23.893Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:57:24.273Z] + 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 . [2023-12-06T20:57:24.273Z] Sending build context to Docker daemon 16.29MB [2023-12-06T20:57:24.273Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T20:57:24.273Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-06T20:57:24.273Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-06T20:57:24.273Z] 7264a8db6415: Pulling fs layer [2023-12-06T20:57:24.273Z] c4d48a809fc2: Pulling fs layer [2023-12-06T20:57:24.273Z] 4f1c88b9dad5: Pulling fs layer [2023-12-06T20:57:24.273Z] ad3a456e5733: Pulling fs layer [2023-12-06T20:57:24.273Z] 69c7f0334f64: Pulling fs layer [2023-12-06T20:57:24.273Z] 1f1c1a5573a3: Pulling fs layer [2023-12-06T20:57:24.273Z] ce7588e14bc9: Pulling fs layer [2023-12-06T20:57:24.273Z] b5e4710f87ac: Pulling fs layer [2023-12-06T20:57:24.273Z] ce7588e14bc9: Waiting [2023-12-06T20:57:24.273Z] 1f1c1a5573a3: Waiting [2023-12-06T20:57:24.273Z] ad3a456e5733: Waiting [2023-12-06T20:57:24.273Z] 69c7f0334f64: Waiting [2023-12-06T20:57:24.273Z] b5e4710f87ac: Waiting [2023-12-06T20:57:24.533Z] c4d48a809fc2: Download complete [2023-12-06T20:57:24.533Z] ad3a456e5733: Download complete [2023-12-06T20:57:24.533Z] 69c7f0334f64: Download complete [2023-12-06T20:57:24.533Z] 7264a8db6415: Verifying Checksum [2023-12-06T20:57:24.533Z] 7264a8db6415: Download complete [2023-12-06T20:57:24.533Z] 1f1c1a5573a3: Verifying Checksum [2023-12-06T20:57:24.533Z] 1f1c1a5573a3: Download complete [2023-12-06T20:57:24.533Z] 7264a8db6415: Pull complete [2023-12-06T20:57:24.792Z] b5e4710f87ac: Verifying Checksum [2023-12-06T20:57:24.792Z] b5e4710f87ac: Download complete [2023-12-06T20:57:24.792Z] c4d48a809fc2: Pull complete [2023-12-06T20:57:24.792Z] 4f1c88b9dad5: Verifying Checksum [2023-12-06T20:57:24.792Z] 4f1c88b9dad5: Download complete [2023-12-06T20:57:25.360Z] ce7588e14bc9: Verifying Checksum [2023-12-06T20:57:25.360Z] ce7588e14bc9: Download complete [2023-12-06T20:57:27.928Z] using credential edgex-jenkins-ssh [2023-12-06T20:57:27.950Z] Cloning the remote Git repository [2023-12-06T20:57:28.640Z] 4f1c88b9dad5: Pull complete [2023-12-06T20:57:28.640Z] ad3a456e5733: Pull complete [2023-12-06T20:57:28.640Z] 69c7f0334f64: Pull complete [2023-12-06T20:57:28.640Z] 1f1c1a5573a3: Pull complete [2023-12-06T20:57:28.000Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-06T20:57:28.090Z] > git init /w/workspace/device-rest-go/157 # timeout=10 [2023-12-06T20:57:28.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-06T20:57:28.232Z] > git --version # timeout=10 [2023-12-06T20:57:28.254Z] > git --version # 'git version 2.25.1' [2023-12-06T20:57:28.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-06T20:57:28.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-06T20:57:31.169Z] ce7588e14bc9: Pull complete [2023-12-06T20:57:31.169Z] b5e4710f87ac: Pull complete [2023-12-06T20:57:31.169Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-06T20:57:31.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-06T20:57:31.428Z] ---> 88b5674ff536 [2023-12-06T20:57:31.428Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-06T20:57:31.774Z] Avoid second fetch [2023-12-06T20:57:31.774Z] Checking out Revision 291482f778a08bdc345d5637fe0e8ffcfe52633f (main) [2023-12-06T20:57:30.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-06T20:57:30.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-06T20:57:32.314Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T20:57:31.796Z] > git config core.sparsecheckout # timeout=10 [2023-12-06T20:57:31.869Z] > git checkout -f 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 [2023-12-06T20:57:33.309Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-06T20:57:33.309Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T20:57:33.309Z] Dload Upload Total Spent Left Speed [2023-12-06T20:57:33.309Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh [2023-12-06T20:57:33.639Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-06T20:57:33.965Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-12-06T20:57:33.965Z] [2023-12-06T20:57:33.965Z] { [2023-12-06T20:57:33.965Z] "registry-mirrors": [ [2023-12-06T20:57:33.965Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-06T20:57:33.965Z] ], [2023-12-06T20:57:33.965Z] "bip": "10.250.0.254/24", [2023-12-06T20:57:33.965Z] "hosts": [ [2023-12-06T20:57:33.965Z] "tcp://0.0.0.0:5555", [2023-12-06T20:57:33.965Z] "unix:///var/run/docker.sock" [2023-12-06T20:57:33.965Z] ], [2023-12-06T20:57:33.965Z] "mtu": 1458, [2023-12-06T20:57:33.965Z] "selinux-enabled": true, [2023-12-06T20:57:33.965Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-06T20:57:33.965Z] } [Pipeline] sh [2023-12-06T20:57:34.289Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-06T20:57:34.612Z] + sudo service docker restart [2023-12-06T20:57:38.019Z] ---> Running in 3e14ac42d78d [2023-12-06T20:57:38.020Z] Removing intermediate container 3e14ac42d78d [2023-12-06T20:57:38.020Z] ---> dbe759dd14e0 [2023-12-06T20:57:38.020Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-06T20:57:38.020Z] ---> Running in 88723cc3d146 [2023-12-06T20:57:38.020Z] Removing intermediate container 88723cc3d146 [2023-12-06T20:57:38.020Z] ---> 0b2edfcc8a2c [2023-12-06T20:57:38.020Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-06T20:57:38.020Z] ---> Running in a32ce30c0f1d [2023-12-06T20:57:38.020Z] Removing intermediate container a32ce30c0f1d [2023-12-06T20:57:38.020Z] ---> 06e1b09188eb [2023-12-06T20:57:38.020Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-06T20:57:38.020Z] ---> Running in 0b64860815de [2023-12-06T20:57:38.020Z] Removing intermediate container 0b64860815de [2023-12-06T20:57:38.020Z] ---> 3a9807763b04 [2023-12-06T20:57:38.020Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-06T20:57:38.020Z] ---> Running in d48a530430af [2023-12-06T20:57:38.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:57:38.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:57:38.020Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-06T20:57:38.020Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-06T20:57:38.020Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-06T20:57:38.020Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-06T20:57:38.020Z] Executing busybox-1.36.1-r5.trigger [2023-12-06T20:57:38.020Z] OK: 268 MiB in 56 packages [2023-12-06T20:57:38.588Z] Removing intermediate container d48a530430af [2023-12-06T20:57:38.588Z] ---> f24f9aa67570 [2023-12-06T20:57:38.588Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-06T20:57:38.588Z] ---> Running in 221bd923a01b [2023-12-06T20:57:38.847Z] Removing intermediate container 221bd923a01b [2023-12-06T20:57:38.847Z] ---> 2b1d116b4b4a [2023-12-06T20:57:38.847Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-06T20:57:38.847Z] ---> ac927c34229e [2023-12-06T20:57:38.847Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:57:38.847Z] ---> Running in 801a0fbf6423 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:57:52.876Z] provisioning config files... [2023-12-06T20:57:52.898Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/157@tmp/config10796193086455828098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:57:53.338Z] ---> ****-login.sh [2023-12-06T20:57:53.338Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:57:53.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:53.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:53.874Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:53.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:53.874Z] [2023-12-06T20:57:53.874Z] Login Succeeded [2023-12-06T20:57:53.874Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:57:54.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:54.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:54.143Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:54.143Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:54.143Z] [2023-12-06T20:57:54.143Z] Login Succeeded [2023-12-06T20:57:54.143Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:57:54.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:54.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:54.412Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:54.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:54.412Z] [2023-12-06T20:57:54.412Z] Login Succeeded [2023-12-06T20:57:54.412Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:57:54.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:54.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:54.687Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:54.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:54.687Z] [2023-12-06T20:57:54.687Z] Login Succeeded [2023-12-06T20:57:54.687Z] ****.io [2023-12-06T20:57:54.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:57:55.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:57:55.225Z] Configure a credential helper to remove this warning. See [2023-12-06T20:57:55.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:57:55.225Z] [2023-12-06T20:57:55.225Z] Login Succeeded [2023-12-06T20:57:55.225Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:57:55.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T20:57:55.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:57:55.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:57:55.669Z] ========================================================= [2023-12-06T20:57:55.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-06T20:57:55.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:57:56.105Z] + 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 . [2023-12-06T20:58:01.452Z] #0 building with "default" instance using docker driver [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #1 [internal] load build definition from Dockerfile [2023-12-06T20:58:01.452Z] #1 transferring dockerfile: 1.73kB 0.0s done [2023-12-06T20:58:01.452Z] #1 DONE 0.1s [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #2 [internal] load .dockerignore [2023-12-06T20:58:01.452Z] #2 transferring context: 193B done [2023-12-06T20:58:01.452Z] #2 DONE 0.1s [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-06T20:58:01.452Z] #3 DONE 0.1s [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T20:58:01.452Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-06T20:58:01.452Z] #4 ... [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #5 [internal] load build context [2023-12-06T20:58:01.452Z] #5 transferring context: 95.80kB 0.0s done [2023-12-06T20:58:01.452Z] #5 DONE 0.1s [2023-12-06T20:58:01.452Z] [2023-12-06T20:58:01.452Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T20:58:01.452Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-06T20:58:01.452Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-06T20:58:01.452Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.1s [2023-12-06T20:58:01.452Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s [2023-12-06T20:58:01.452Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-06T20:58:01.452Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s [2023-12-06T20:58:01.452Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.3s [2023-12-06T20:58:01.452Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-06T20:58:01.452Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2023-12-06T20:58:01.452Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-06T20:58:01.452Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s [2023-12-06T20:58:01.452Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-06T20:58:01.452Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s [2023-12-06T20:58:01.723Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.4s [2023-12-06T20:58:01.723Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.99MB / 11.40MB 0.4s [2023-12-06T20:58:01.997Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.6s [2023-12-06T20:58:01.997Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.6s [2023-12-06T20:58:01.997Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2023-12-06T20:58:01.997Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.7s [2023-12-06T20:58:01.997Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.7s [2023-12-06T20:58:01.997Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-06T20:58:02.266Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.64MB / 63.99MB 0.8s [2023-12-06T20:58:02.266Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.8s [2023-12-06T20:58:02.266Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-06T20:58:02.266Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 0.9s [2023-12-06T20:58:02.266Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 0.9s [2023-12-06T20:58:02.266Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.1s [2023-12-06T20:58:02.266Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.1s [2023-12-06T20:58:02.266Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-06T20:58:02.535Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.2s [2023-12-06T20:58:02.535Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.3s done [2023-12-06T20:58:02.535Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s [2023-12-06T20:58:02.806Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s [2023-12-06T20:58:02.806Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s [2023-12-06T20:58:03.075Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.8s [2023-12-06T20:58:03.075Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 1.9s [2023-12-06T20:58:03.342Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.34MB / 97.63MB 2.0s [2023-12-06T20:58:03.342Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.1s [2023-12-06T20:58:03.612Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s [2023-12-06T20:58:03.612Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done [2023-12-06T20:58:08.960Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s [2023-12-06T20:58:14.310Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s [2023-12-06T20:58:17.619Z] Removing intermediate container 801a0fbf6423 [2023-12-06T20:58:17.619Z] ---> 5134710621dc [2023-12-06T20:58:17.619Z] Step 11/12 : COPY . . [2023-12-06T20:58:17.619Z] ---> 03160597c9c5 [2023-12-06T20:58:17.619Z] Step 12/12 : RUN $MAKE [2023-12-06T20:58:17.619Z] ---> Running in 4ea87715b103 [2023-12-06T20:58:17.619Z] noop [2023-12-06T20:58:17.619Z] Removing intermediate container 4ea87715b103 [2023-12-06T20:58:17.619Z] ---> 3b0059a21885 [2023-12-06T20:58:17.619Z] Successfully built 3b0059a21885 [2023-12-06T20:58:17.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:58:18.010Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T20:58:18.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:58:18.133Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T20:58:18.175Z] $ 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 [2023-12-06T20:58:18.521Z] $ docker top 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:58:18.913Z] + go version [2023-12-06T20:58:18.913Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-06T20:58:18.927Z] $ docker stop --time=1 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f [2023-12-06T20:58:19.661Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.9s done [2023-12-06T20:58:20.160Z] $ docker rm -f --volumes 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:58:20.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T20:58:20.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:58:20.964Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T20:58:20.998Z] $ 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 [2023-12-06T20:58:21.068Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-06T20:58:21.068Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2023-12-06T20:58:21.311Z] $ docker top 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 -eo pid,comm [2023-12-06T20:58:21.335Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-06T20:58:21.335Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [Pipeline] { [Pipeline] sh [2023-12-06T20:58:21.691Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-12-06T20:58:22.012Z] + make test [2023-12-06T20:58:22.012Z] go test ./... -coverprofile=coverage.out ./... [2023-12-06T20:58:23.390Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-06T20:58:26.677Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s [2023-12-06T20:58:30.017Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done [2023-12-06T20:58:30.017Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2023-12-06T20:58:31.422Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done [2023-12-06T20:58:31.691Z] #4 DONE 30.5s [2023-12-06T20:58:31.691Z] [2023-12-06T20:58:31.691Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-06T20:58:32.657Z] #6 0.701 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T20:58:32.924Z] #6 1.075 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T20:58:33.882Z] #6 2.068 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-06T20:58:33.882Z] #6 2.087 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-06T20:58:33.882Z] #6 2.097 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-06T20:58:33.882Z] #6 2.162 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-06T20:58:33.882Z] #6 2.188 Executing busybox-1.36.1-r5.trigger [2023-12-06T20:58:34.147Z] #6 2.223 OK: 271 MiB in 56 packages [2023-12-06T20:58:34.227Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-06T20:58:34.227Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-12-06T20:58:36.106Z] #6 DONE 4.0s [2023-12-06T20:58:36.106Z] [2023-12-06T20:58:36.106Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-06T20:58:36.106Z] #7 DONE 0.1s [2023-12-06T20:58:36.106Z] [2023-12-06T20:58:36.106Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T20:58:36.106Z] #8 DONE 0.1s [2023-12-06T20:58:36.106Z] [2023-12-06T20:58:36.106Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:58:40.787Z] go vet ./... [2023-12-06T20:58:43.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T20:58:43.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T20:58:43.320Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T20:58:43.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T20:58:43.376Z] $ docker stop --time=1 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 [2023-12-06T20:58:47.636Z] $ docker rm -f --volumes 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:58:48.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T20:58:48.185Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-06T20:58:48.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T20:58:49.190Z] + ls -al . [2023-12-06T20:58:49.190Z] total 180 [2023-12-06T20:58:49.190Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:58 . [2023-12-06T20:58:49.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:56 .. [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:57 .dockerignore [2023-12-06T20:58:49.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:58 .git [2023-12-06T20:58:49.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 .github [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:57 .gitignore [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:57 .golangci.yml [2023-12-06T20:58:49.190Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:57 .semver [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:57 Attribution.txt [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:57 CHANGELOG.md [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:57 Dockerfile [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:57 GOVERNANCE.md [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:57 Jenkinsfile [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:57 LICENSE [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:57 Makefile [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:57 OWNERS.md [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:57 README.md [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:57 VERSION [2023-12-06T20:58:49.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 bin [2023-12-06T20:58:49.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 cmd [2023-12-06T20:58:49.190Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 20:58 coverage.out [2023-12-06T20:58:49.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 driver [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:57 go.mod [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:57 go.sum [2023-12-06T20:58:49.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 openapi [2023-12-06T20:58:49.190Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:58:49.562Z] + 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=291482f778a08bdc345d5637fe0e8ffcfe52633f --label arch=amd64 --label version=3.2.0-dev.5 . [2023-12-06T20:58:49.563Z] Sending build context to Docker daemon 16.3MB [2023-12-06T20:58:49.563Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T20:58:49.563Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-06T20:58:49.563Z] ---> 3b0059a21885 [2023-12-06T20:58:49.563Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-06T20:58:49.821Z] ---> Running in ebe01c705fa0 [2023-12-06T20:58:49.821Z] Removing intermediate container ebe01c705fa0 [2023-12-06T20:58:49.821Z] ---> f6677864af91 [2023-12-06T20:58:49.821Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-06T20:58:49.821Z] ---> Running in 08eee7900f2e [2023-12-06T20:58:50.081Z] Removing intermediate container 08eee7900f2e [2023-12-06T20:58:50.081Z] ---> 0b5e21a0fc83 [2023-12-06T20:58:50.081Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-06T20:58:50.081Z] ---> Running in a23a81897782 [2023-12-06T20:58:50.081Z] Removing intermediate container a23a81897782 [2023-12-06T20:58:50.081Z] ---> 065125d10a33 [2023-12-06T20:58:50.081Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-06T20:58:50.081Z] ---> Running in 5a3aec361f0c [2023-12-06T20:58:50.081Z] Removing intermediate container 5a3aec361f0c [2023-12-06T20:58:50.081Z] ---> 81942281e3a0 [2023-12-06T20:58:50.081Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-06T20:58:50.081Z] ---> Running in 510b73d6a4bc [2023-12-06T20:58:50.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:58:50.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:58:50.858Z] OK: 268 MiB in 56 packages [2023-12-06T20:58:51.425Z] Removing intermediate container 510b73d6a4bc [2023-12-06T20:58:51.425Z] ---> 542c3c8a5101 [2023-12-06T20:58:51.425Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-06T20:58:51.425Z] ---> Running in 7eca4a4ec4d9 [2023-12-06T20:58:51.425Z] Removing intermediate container 7eca4a4ec4d9 [2023-12-06T20:58:51.425Z] ---> 88037042088e [2023-12-06T20:58:51.425Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-06T20:58:51.425Z] ---> 978f9b0adbc6 [2023-12-06T20:58:51.425Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:58:51.684Z] ---> Running in e4f7f17d7b13 [2023-12-06T20:58:52.251Z] Removing intermediate container e4f7f17d7b13 [2023-12-06T20:58:52.251Z] ---> fa3763439e82 [2023-12-06T20:58:52.251Z] Step 11/26 : COPY . . [2023-12-06T20:58:52.868Z] ---> a8a156defc3e [2023-12-06T20:58:52.868Z] Step 12/26 : RUN $MAKE [2023-12-06T20:58:53.127Z] ---> Running in 3076aa08f91d [2023-12-06T20:58:53.385Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-06T20:59:03.426Z] #9 DONE 26.0s [2023-12-06T20:59:03.426Z] [2023-12-06T20:59:03.426Z] #10 [builder 6/7] COPY . . [2023-12-06T20:59:03.426Z] #10 DONE 0.1s [2023-12-06T20:59:03.426Z] [2023-12-06T20:59:03.426Z] #11 [builder 7/7] RUN echo noop [2023-12-06T20:59:03.426Z] #11 0.599 noop [2023-12-06T20:59:03.426Z] #11 DONE 0.7s [2023-12-06T20:59:03.426Z] [2023-12-06T20:59:03.426Z] #12 exporting to image [2023-12-06T20:59:03.426Z] #12 exporting layers [2023-12-06T20:59:15.649Z] Removing intermediate container 3076aa08f91d [2023-12-06T20:59:15.649Z] ---> d62c44609275 [2023-12-06T20:59:15.649Z] Step 13/26 : FROM alpine:3.18 [2023-12-06T20:59:20.042Z] 3.18: Pulling from library/alpine [2023-12-06T20:59:20.302Z] c926b61bad3b: Pulling fs layer [2023-12-06T20:59:20.302Z] c926b61bad3b: Verifying Checksum [2023-12-06T20:59:20.302Z] c926b61bad3b: Download complete [2023-12-06T20:59:20.676Z] c926b61bad3b: Pull complete [2023-12-06T20:59:20.676Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T20:59:20.676Z] Status: Downloaded newer image for alpine:3.18 [2023-12-06T20:59:20.676Z] ---> b541f2080109 [2023-12-06T20:59:20.676Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-06T20:59:20.933Z] ---> Running in 5f4a2e2c8d20 [2023-12-06T20:59:20.933Z] Removing intermediate container 5f4a2e2c8d20 [2023-12-06T20:59:20.933Z] ---> 1ab10b635e77 [2023-12-06T20:59:20.933Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-06T20:59:20.933Z] ---> Running in e453c812d9b4 [2023-12-06T20:59:20.933Z] Removing intermediate container e453c812d9b4 [2023-12-06T20:59:20.933Z] ---> 90b303edce42 [2023-12-06T20:59:20.933Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-06T20:59:20.933Z] ---> Running in 324f6382ceef [2023-12-06T20:59:21.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:59:21.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:59:21.714Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T20:59:21.714Z] Executing busybox-1.36.1-r5.trigger [2023-12-06T20:59:21.714Z] OK: 7 MiB in 16 packages [2023-12-06T20:59:23.623Z] Removing intermediate container 324f6382ceef [2023-12-06T20:59:23.623Z] ---> 2cae3c3f1900 [2023-12-06T20:59:23.623Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-06T20:59:24.193Z] ---> Running in 916dd5134ce6 [2023-12-06T20:59:25.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:59:25.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:59:25.852Z] OK: 7 MiB in 16 packages [2023-12-06T20:59:27.599Z] Removing intermediate container 916dd5134ce6 [2023-12-06T20:59:27.599Z] ---> 2b3405ec603f [2023-12-06T20:59:27.599Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-06T20:59:27.862Z] ---> 3553600c79f1 [2023-12-06T20:59:27.862Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-06T20:59:27.862Z] ---> ef71a2706223 [2023-12-06T20:59:27.862Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-06T20:59:28.120Z] ---> 4f0546917176 [2023-12-06T20:59:28.120Z] Step 21/26 : EXPOSE 59986 [2023-12-06T20:59:28.120Z] ---> Running in 2f9d18d364fa [2023-12-06T20:59:28.120Z] Removing intermediate container 2f9d18d364fa [2023-12-06T20:59:28.120Z] ---> 11c03ee27443 [2023-12-06T20:59:28.120Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-06T20:59:28.120Z] ---> Running in c9f35a9aef02 [2023-12-06T20:59:28.120Z] Removing intermediate container c9f35a9aef02 [2023-12-06T20:59:28.120Z] ---> d9ae8a5660f0 [2023-12-06T20:59:28.120Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-06T20:59:28.120Z] ---> Running in 8328375a181d [2023-12-06T20:59:28.378Z] Removing intermediate container 8328375a181d [2023-12-06T20:59:28.378Z] ---> 79f14ad4803e [2023-12-06T20:59:28.378Z] Step 24/26 : LABEL arch=amd64 [2023-12-06T20:59:28.378Z] ---> Running in 6a9b0af91898 [2023-12-06T20:59:28.378Z] Removing intermediate container 6a9b0af91898 [2023-12-06T20:59:28.378Z] ---> c3bc65f2a4ce [2023-12-06T20:59:28.378Z] Step 25/26 : LABEL git_sha=291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T20:59:28.378Z] ---> Running in 19b5ce1dc6de [2023-12-06T20:59:28.378Z] Removing intermediate container 19b5ce1dc6de [2023-12-06T20:59:28.378Z] ---> 9587f53cc4e0 [2023-12-06T20:59:28.378Z] Step 26/26 : LABEL version=3.2.0-dev.5 [2023-12-06T20:59:28.378Z] ---> Running in c79de8fef0c6 [2023-12-06T20:59:28.636Z] Removing intermediate container c79de8fef0c6 [2023-12-06T20:59:28.636Z] ---> 80ba16b1f8ea [2023-12-06T20:59:28.637Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-06T20:59:28.637Z] Successfully built 80ba16b1f8ea [2023-12-06T20:59:28.637Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:59:28.937Z] provisioning config files... [2023-12-06T20:59:28.946Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14230111519374876545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:59:29.300Z] ---> ****-login.sh [2023-12-06T20:59:29.301Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:59:29.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:59:29.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:59:29.301Z] Configure a credential helper to remove this warning. See [2023-12-06T20:59:29.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:59:29.301Z] [2023-12-06T20:59:29.301Z] Login Succeeded [2023-12-06T20:59:29.301Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:59:29.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:59:29.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:59:29.301Z] Configure a credential helper to remove this warning. See [2023-12-06T20:59:29.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:59:29.301Z] [2023-12-06T20:59:29.301Z] Login Succeeded [2023-12-06T20:59:29.301Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:59:29.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:59:29.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:59:29.560Z] Configure a credential helper to remove this warning. See [2023-12-06T20:59:29.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:59:29.560Z] [2023-12-06T20:59:29.560Z] Login Succeeded [2023-12-06T20:59:29.560Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:59:29.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:59:29.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:59:29.560Z] Configure a credential helper to remove this warning. See [2023-12-06T20:59:29.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:59:29.560Z] [2023-12-06T20:59:29.560Z] Login Succeeded [2023-12-06T20:59:29.560Z] ****.io [2023-12-06T20:59:29.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:59:29.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:59:29.819Z] Configure a credential helper to remove this warning. See [2023-12-06T20:59:29.819Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:59:29.819Z] [2023-12-06T20:59:29.819Z] Login Succeeded [2023-12-06T20:59:30.079Z] ---> ****-login.sh ends [2023-12-06T20:59:30.085Z] #12 exporting layers 22.9s done [2023-12-06T20:59:30.085Z] #12 writing image sha256:5584c99a6b037f2673f1d6be1b77e008410ee45fd1f8ae347b92b41d10d8684e done [2023-12-06T20:59:30.085Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-06T20:59:30.085Z] #12 DONE 22.9s [Pipeline] } [2023-12-06T20:59:30.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:59:30.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-12-06T20:59:30.439Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-12-06T20:59:30.439Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T20:59:30.439Z] latest [2023-12-06T20:59:30.439Z] 3.2.0-dev.5 [2023-12-06T20:59:30.439Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T20:59:30.439Z] main [2023-12-06T20:59:30.439Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:30.657Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T20:59:30.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:59:30.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container [2023-12-06T20:59:30.884Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T20:59:30.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@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-arm64 cat [2023-12-06T20:59:32.073Z] $ docker top fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-12-06T20:59:32.624Z] + go version [2023-12-06T20:59:32.676Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T20:59:32.676Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:59:32.676Z] 6de53094d1fd: Preparing [2023-12-06T20:59:32.676Z] c660d2f6a2cf: Preparing [2023-12-06T20:59:32.676Z] 858efc78781f: Preparing [2023-12-06T20:59:32.676Z] 396032a31911: Preparing [2023-12-06T20:59:32.676Z] 244ad5dd7db4: Preparing [2023-12-06T20:59:32.676Z] 9fe9a137fd00: Preparing [2023-12-06T20:59:32.676Z] 9fe9a137fd00: Waiting [2023-12-06T20:59:32.676Z] 396032a31911: Pushed [2023-12-06T20:59:32.676Z] c660d2f6a2cf: Pushed [2023-12-06T20:59:32.676Z] 6de53094d1fd: Pushed [2023-12-06T20:59:32.676Z] 244ad5dd7db4: Pushed [2023-12-06T20:59:32.676Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:59:32.894Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-06T20:59:32.920Z] $ docker stop --time=1 fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c [2023-12-06T20:59:34.456Z] $ docker rm -f --volumes fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c [2023-12-06T20:59:34.596Z] 858efc78781f: Pushed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2023-12-06T20:59:34.863Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:35.251Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T20:59:35.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:59:35.358Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-06T20:59:35.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container [2023-12-06T20:59:35.533Z] $ 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/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@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-arm64 cat [2023-12-06T20:59:39.479Z] $ docker top a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-12-06T20:59:40.048Z] + git config --global --add safe.directory /w/workspace/device-rest-go/157 [Pipeline] fileExists [Pipeline] sh [2023-12-06T20:59:40.137Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-06T20:59:40.137Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:59:40.137Z] 6de53094d1fd: Preparing [2023-12-06T20:59:40.137Z] c660d2f6a2cf: Preparing [2023-12-06T20:59:40.137Z] 858efc78781f: Preparing [2023-12-06T20:59:40.137Z] 396032a31911: Preparing [2023-12-06T20:59:40.137Z] 244ad5dd7db4: Preparing [2023-12-06T20:59:40.137Z] 9fe9a137fd00: Preparing [2023-12-06T20:59:40.137Z] 9fe9a137fd00: Waiting [2023-12-06T20:59:40.137Z] 396032a31911: Layer already exists [2023-12-06T20:59:40.137Z] 6de53094d1fd: Layer already exists [2023-12-06T20:59:40.137Z] 244ad5dd7db4: Layer already exists [2023-12-06T20:59:40.137Z] 858efc78781f: Layer already exists [2023-12-06T20:59:40.137Z] c660d2f6a2cf: Layer already exists [2023-12-06T20:59:40.137Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:59:40.137Z] latest: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:40.412Z] + make test [2023-12-06T20:59:40.412Z] go test ./... -coverprofile=coverage.out ./... [2023-12-06T20:59:40.608Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:41.026Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 [2023-12-06T20:59:41.026Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:59:41.026Z] 6de53094d1fd: Preparing [2023-12-06T20:59:41.026Z] c660d2f6a2cf: Preparing [2023-12-06T20:59:41.026Z] 858efc78781f: Preparing [2023-12-06T20:59:41.026Z] 396032a31911: Preparing [2023-12-06T20:59:41.026Z] 244ad5dd7db4: Preparing [2023-12-06T20:59:41.026Z] 9fe9a137fd00: Preparing [2023-12-06T20:59:41.026Z] 9fe9a137fd00: Waiting [2023-12-06T20:59:41.026Z] 6de53094d1fd: Layer already exists [2023-12-06T20:59:41.026Z] 396032a31911: Layer already exists [2023-12-06T20:59:41.026Z] c660d2f6a2cf: Layer already exists [2023-12-06T20:59:41.026Z] 858efc78781f: Layer already exists [2023-12-06T20:59:41.026Z] 244ad5dd7db4: Layer already exists [2023-12-06T20:59:41.026Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:59:41.026Z] 3.2.0-dev.5: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:41.442Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:41.849Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T20:59:41.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:59:41.849Z] 6de53094d1fd: Preparing [2023-12-06T20:59:41.849Z] c660d2f6a2cf: Preparing [2023-12-06T20:59:41.849Z] 858efc78781f: Preparing [2023-12-06T20:59:41.849Z] 396032a31911: Preparing [2023-12-06T20:59:41.849Z] 244ad5dd7db4: Preparing [2023-12-06T20:59:41.849Z] 9fe9a137fd00: Preparing [2023-12-06T20:59:41.849Z] 396032a31911: Layer already exists [2023-12-06T20:59:41.849Z] 6de53094d1fd: Layer already exists [2023-12-06T20:59:41.849Z] 858efc78781f: Layer already exists [2023-12-06T20:59:41.849Z] 244ad5dd7db4: Layer already exists [2023-12-06T20:59:41.849Z] c660d2f6a2cf: Layer already exists [2023-12-06T20:59:41.849Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:59:41.849Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:42.272Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:42.679Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-12-06T20:59:42.679Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:59:42.679Z] 6de53094d1fd: Preparing [2023-12-06T20:59:42.679Z] c660d2f6a2cf: Preparing [2023-12-06T20:59:42.679Z] 858efc78781f: Preparing [2023-12-06T20:59:42.679Z] 396032a31911: Preparing [2023-12-06T20:59:42.679Z] 244ad5dd7db4: Preparing [2023-12-06T20:59:42.679Z] 9fe9a137fd00: Preparing [2023-12-06T20:59:42.679Z] 9fe9a137fd00: Waiting [2023-12-06T20:59:42.679Z] 396032a31911: Layer already exists [2023-12-06T20:59:42.679Z] 858efc78781f: Layer already exists [2023-12-06T20:59:42.679Z] 6de53094d1fd: Layer already exists [2023-12-06T20:59:42.679Z] 244ad5dd7db4: Layer already exists [2023-12-06T20:59:42.679Z] c660d2f6a2cf: Layer already exists [2023-12-06T20:59:42.679Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:59:42.679Z] main: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:59:42.947Z] ===================================================== [Pipeline] echo [2023-12-06T20:59:42.990Z] taggedImages: [2023-12-06T20:59:42.990Z] - nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T20:59:42.990Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-06T20:59:42.990Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 [2023-12-06T20:59:42.990Z] - nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T20:59:42.990Z] - 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 [2023-12-06T20:59:43.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:59:43.683Z] [2023-12-06T20:59:43.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:59:44.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:59:44.018Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-06T20:59:44.018Z] 5eb5b503b376: Pulling fs layer [2023-12-06T20:59:44.018Z] 5c69ac0246d0: Pulling fs layer [2023-12-06T20:59:44.018Z] ec43610c2a17: Pulling fs layer [2023-12-06T20:59:44.018Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-06T20:59:44.018Z] 33b1e0a273af: Pulling fs layer [2023-12-06T20:59:44.018Z] 5d3b04190fa2: Pulling fs layer [2023-12-06T20:59:44.018Z] 2f39f015ded8: Pulling fs layer [2023-12-06T20:59:44.018Z] 3a2ae6a8a46f: Waiting [2023-12-06T20:59:44.018Z] 33b1e0a273af: Waiting [2023-12-06T20:59:44.018Z] 5d3b04190fa2: Waiting [2023-12-06T20:59:44.018Z] 2f39f015ded8: Waiting [2023-12-06T20:59:44.018Z] 5c69ac0246d0: Verifying Checksum [2023-12-06T20:59:44.018Z] 5c69ac0246d0: Download complete [2023-12-06T20:59:44.018Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-06T20:59:44.018Z] 3a2ae6a8a46f: Download complete [2023-12-06T20:59:44.018Z] 33b1e0a273af: Verifying Checksum [2023-12-06T20:59:44.018Z] 33b1e0a273af: Download complete [2023-12-06T20:59:44.018Z] 5d3b04190fa2: Verifying Checksum [2023-12-06T20:59:44.018Z] 5d3b04190fa2: Download complete [2023-12-06T20:59:44.018Z] ec43610c2a17: Verifying Checksum [2023-12-06T20:59:44.018Z] ec43610c2a17: Download complete [2023-12-06T20:59:44.277Z] 5eb5b503b376: Verifying Checksum [2023-12-06T20:59:44.277Z] 5eb5b503b376: Download complete [2023-12-06T20:59:44.667Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-06T20:59:44.846Z] 2f39f015ded8: Download complete [2023-12-06T20:59:45.414Z] 5eb5b503b376: Pull complete [2023-12-06T20:59:45.672Z] 5c69ac0246d0: Pull complete [2023-12-06T20:59:46.239Z] ec43610c2a17: Pull complete [2023-12-06T20:59:46.239Z] 3a2ae6a8a46f: Pull complete [2023-12-06T20:59:46.498Z] 33b1e0a273af: Pull complete [2023-12-06T20:59:46.498Z] 5d3b04190fa2: Pull complete [2023-12-06T20:59:50.700Z] 2f39f015ded8: Pull complete [2023-12-06T20:59:50.961Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-06T20:59:50.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:59:50.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:59:51.194Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T20:59:51.229Z] $ 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 [2023-12-06T21:00:07.180Z] $ docker top df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:00:07.619Z] ---> job-cost.sh [2023-12-06T21:00:07.619Z] lf-activate-venv: SKIPPING [2023-12-06T21:00:07.619Z] INFO: No Stack... [2023-12-06T21:00:07.878Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T21:00:08.137Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T21:00:08.423Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-12-06T21:00:08.423Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T21:00:08.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [2023-12-06T21:00:08.443Z] Resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] did not exist. Created. [2023-12-06T21:00:08.443Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T21:00:08.815Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T21:00:08.837Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T21:00:08.889Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T21:00:08.983Z] $ docker stop --time=1 df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 [2023-12-06T21:00:10.123Z] $ docker rm -f --volumes df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-06T21:00:41.058Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-06T21:00:41.058Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-12-06T21:00:41.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-06T21:00:41.058Z] go vet ./... [2023-12-06T21:00:49.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T21:00:49.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T21:00:49.311Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T21:00:49.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T21:00:52.809Z] $ docker stop --time=1 a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 [2023-12-06T21:00:55.299Z] $ docker rm -f --volumes a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T21:01:01.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T21:01:01.406Z] Warning: overwriting stash ‘coverage-report’ [2023-12-06T21:01:05.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T21:01:06.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T21:01:06.322Z] + ls -al . [2023-12-06T21:01:06.322Z] total 176 [2023-12-06T21:01:06.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:59 . [2023-12-06T21:01:06.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:57 .. [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:57 .dockerignore [2023-12-06T21:01:06.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:57 .git [2023-12-06T21:01:06.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 .github [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:57 .gitignore [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:57 .golangci.yml [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:57 Attribution.txt [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:57 CHANGELOG.md [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:57 Dockerfile [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:57 GOVERNANCE.md [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:57 Jenkinsfile [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:57 LICENSE [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:57 Makefile [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:57 OWNERS.md [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:57 README.md [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:57 VERSION [2023-12-06T21:01:06.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 bin [2023-12-06T21:01:06.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 cmd [2023-12-06T21:01:06.322Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 21:00 coverage.out [2023-12-06T21:01:06.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 driver [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:57 go.mod [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:57 go.sum [2023-12-06T21:01:06.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 openapi [2023-12-06T21:01:06.322Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:01:06.743Z] + 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=291482f778a08bdc345d5637fe0e8ffcfe52633f --label arch=arm64 --label version=3.2.0-dev.5 . [2023-12-06T21:01:07.328Z] #0 building with "default" instance using docker driver [2023-12-06T21:01:07.328Z] [2023-12-06T21:01:07.328Z] #1 [internal] load .dockerignore [2023-12-06T21:01:07.328Z] #1 transferring context: 193B done [2023-12-06T21:01:07.328Z] #1 DONE 0.0s [2023-12-06T21:01:07.328Z] [2023-12-06T21:01:07.328Z] #2 [internal] load build definition from Dockerfile [2023-12-06T21:01:07.328Z] #2 transferring dockerfile: 1.73kB done [2023-12-06T21:01:07.593Z] #2 DONE 0.0s [2023-12-06T21:01:07.593Z] [2023-12-06T21:01:07.593Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-06T21:01:07.593Z] #3 DONE 0.0s [2023-12-06T21:01:07.593Z] [2023-12-06T21:01:07.593Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-06T21:01:07.593Z] #4 DONE 0.2s [2023-12-06T21:01:07.863Z] [2023-12-06T21:01:07.863Z] #5 [internal] load build context [2023-12-06T21:01:07.863Z] #5 transferring context: 16.04kB 0.0s done [2023-12-06T21:01:07.863Z] #5 DONE 0.1s [2023-12-06T21:01:07.863Z] [2023-12-06T21:01:07.863Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T21:01:07.863Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-06T21:01:07.863Z] #6 ... [2023-12-06T21:01:07.863Z] [2023-12-06T21:01:07.863Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-06T21:01:07.863Z] #7 DONE 0.2s [2023-12-06T21:01:07.863Z] [2023-12-06T21:01:07.863Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T21:01:07.863Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-06T21:01:07.863Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-06T21:01:07.863Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-06T21:01:07.863Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-06T21:01:07.863Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-06T21:01:08.447Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-06T21:01:08.714Z] #6 DONE 0.9s [2023-12-06T21:01:08.714Z] [2023-12-06T21:01:08.714Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-06T21:01:09.298Z] #8 0.640 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:09.563Z] #8 0.957 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:10.528Z] #8 ... [2023-12-06T21:01:10.528Z] [2023-12-06T21:01:10.528Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-06T21:01:10.528Z] #9 0.695 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:10.528Z] #9 1.051 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:10.528Z] #9 2.055 OK: 271 MiB in 56 packages [2023-12-06T21:01:10.528Z] #9 DONE 2.4s [2023-12-06T21:01:10.528Z] [2023-12-06T21:01:10.528Z] #10 [builder 3/7] WORKDIR /device-rest-go [2023-12-06T21:01:10.528Z] #10 DONE 0.1s [2023-12-06T21:01:10.528Z] [2023-12-06T21:01:10.528Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T21:01:10.528Z] #11 DONE 0.2s [2023-12-06T21:01:10.528Z] [2023-12-06T21:01:10.528Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-06T21:01:10.528Z] #8 2.022 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T21:01:10.528Z] #8 2.036 Executing busybox-1.36.1-r5.trigger [2023-12-06T21:01:10.528Z] #8 2.075 OK: 8 MiB in 16 packages [2023-12-06T21:01:11.113Z] #8 DONE 2.4s [2023-12-06T21:01:11.113Z] [2023-12-06T21:01:11.113Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-06T21:01:12.075Z] #12 ... [2023-12-06T21:01:12.075Z] [2023-12-06T21:01:12.075Z] #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T21:01:12.075Z] #13 DONE 1.3s [2023-12-06T21:01:12.075Z] [2023-12-06T21:01:12.075Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-06T21:01:12.075Z] #12 0.926 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:12.075Z] #12 ... [2023-12-06T21:01:12.075Z] [2023-12-06T21:01:12.075Z] #14 [builder 6/7] COPY . . [2023-12-06T21:01:12.075Z] #14 DONE 0.2s [2023-12-06T21:01:12.342Z] [2023-12-06T21:01:12.342Z] #15 [builder 7/7] RUN make build [2023-12-06T21:01:12.609Z] #15 0.630 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-06T21:01:14.019Z] #15 ... [2023-12-06T21:01:14.019Z] [2023-12-06T21:01:14.019Z] #12 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-06T21:01:14.019Z] #12 1.392 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T21:01:14.019Z] #12 2.525 OK: 8 MiB in 16 packages [2023-12-06T21:01:14.019Z] #12 DONE 2.8s [2023-12-06T21:01:14.019Z] [2023-12-06T21:01:14.019Z] #15 [builder 7/7] RUN make build [2023-12-06T21:02:21.851Z] #15 DONE 58.9s [2023-12-06T21:02:21.851Z] [2023-12-06T21:02:21.851Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-06T21:02:21.851Z] #16 DONE 0.3s [2023-12-06T21:02:21.851Z] [2023-12-06T21:02:21.851Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-06T21:02:21.851Z] #17 DONE 0.1s [2023-12-06T21:02:21.851Z] [2023-12-06T21:02:21.851Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-06T21:02:21.851Z] #18 DONE 0.1s [2023-12-06T21:02:21.851Z] [2023-12-06T21:02:21.851Z] #19 exporting to image [2023-12-06T21:02:21.851Z] #19 exporting layers [2023-12-06T21:02:21.851Z] #19 exporting layers 0.3s done [2023-12-06T21:02:21.851Z] #19 writing image sha256:73d03ad94a70cbf64c6d6f90052f92e0eac3e65d3961808ad7bb57680bb80b3d done [2023-12-06T21:02:21.851Z] #19 naming to docker.io/library/device-rest-arm64 done [2023-12-06T21:02:21.851Z] #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T21:02:22.301Z] provisioning config files... [2023-12-06T21:02:22.317Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/157@tmp/config2015872841597274731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:02:22.717Z] ---> ****-login.sh [2023-12-06T21:02:22.717Z] nexus3.edgexfoundry.org:10001 [2023-12-06T21:02:22.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T21:02:22.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T21:02:22.986Z] Configure a credential helper to remove this warning. See [2023-12-06T21:02:22.986Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T21:02:22.986Z] [2023-12-06T21:02:22.986Z] Login Succeeded [2023-12-06T21:02:22.986Z] nexus3.edgexfoundry.org:10002 [2023-12-06T21:02:22.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T21:02:23.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T21:02:23.252Z] Configure a credential helper to remove this warning. See [2023-12-06T21:02:23.252Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T21:02:23.252Z] [2023-12-06T21:02:23.252Z] Login Succeeded [2023-12-06T21:02:23.252Z] nexus3.edgexfoundry.org:10003 [2023-12-06T21:02:23.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T21:02:23.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T21:02:23.520Z] Configure a credential helper to remove this warning. See [2023-12-06T21:02:23.520Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T21:02:23.520Z] [2023-12-06T21:02:23.520Z] Login Succeeded [2023-12-06T21:02:23.520Z] nexus3.edgexfoundry.org:10004 [2023-12-06T21:02:23.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T21:02:23.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T21:02:23.788Z] Configure a credential helper to remove this warning. See [2023-12-06T21:02:23.788Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T21:02:23.788Z] [2023-12-06T21:02:23.788Z] Login Succeeded [2023-12-06T21:02:23.788Z] ****.io [2023-12-06T21:02:23.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T21:02:24.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T21:02:24.365Z] Configure a credential helper to remove this warning. See [2023-12-06T21:02:24.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T21:02:24.365Z] [2023-12-06T21:02:24.365Z] Login Succeeded [2023-12-06T21:02:24.365Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T21:02:24.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T21:02:24.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T21:02:24.638Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-12-06T21:02:24.638Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T21:02:24.638Z] latest [2023-12-06T21:02:24.638Z] 3.2.0-dev.5 [2023-12-06T21:02:24.638Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T21:02:24.638Z] main [2023-12-06T21:02:24.638Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:25.191Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:25.641Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T21:02:25.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T21:02:25.642Z] c3877206c326: Preparing [2023-12-06T21:02:25.642Z] 0d8704ea9df5: Preparing [2023-12-06T21:02:25.642Z] fe1ac040c0f5: Preparing [2023-12-06T21:02:25.642Z] b1f7c52bcb1e: Preparing [2023-12-06T21:02:25.642Z] a442ed19b0f5: Preparing [2023-12-06T21:02:25.642Z] 0faf9b67be60: Preparing [2023-12-06T21:02:25.642Z] 0faf9b67be60: Waiting [2023-12-06T21:02:25.905Z] 0d8704ea9df5: Pushed [2023-12-06T21:02:25.905Z] b1f7c52bcb1e: Pushed [2023-12-06T21:02:25.905Z] a442ed19b0f5: Pushed [2023-12-06T21:02:25.905Z] c3877206c326: Pushed [2023-12-06T21:02:25.905Z] 0faf9b67be60: Layer already exists [2023-12-06T21:02:29.225Z] fe1ac040c0f5: Pushed [2023-12-06T21:02:29.490Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:29.945Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:33.714Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-06T21:02:33.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T21:02:33.714Z] c3877206c326: Preparing [2023-12-06T21:02:33.714Z] 0d8704ea9df5: Preparing [2023-12-06T21:02:33.714Z] fe1ac040c0f5: Preparing [2023-12-06T21:02:33.714Z] b1f7c52bcb1e: Preparing [2023-12-06T21:02:33.714Z] a442ed19b0f5: Preparing [2023-12-06T21:02:33.714Z] 0faf9b67be60: Preparing [2023-12-06T21:02:33.714Z] 0faf9b67be60: Waiting [2023-12-06T21:02:33.714Z] b1f7c52bcb1e: Layer already exists [2023-12-06T21:02:33.714Z] a442ed19b0f5: Layer already exists [2023-12-06T21:02:33.714Z] 0d8704ea9df5: Layer already exists [2023-12-06T21:02:33.714Z] c3877206c326: Layer already exists [2023-12-06T21:02:33.714Z] fe1ac040c0f5: Layer already exists [2023-12-06T21:02:33.714Z] 0faf9b67be60: Layer already exists [2023-12-06T21:02:33.978Z] latest: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:34.443Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:34.901Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 [2023-12-06T21:02:34.901Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T21:02:34.901Z] c3877206c326: Preparing [2023-12-06T21:02:34.901Z] 0d8704ea9df5: Preparing [2023-12-06T21:02:34.901Z] fe1ac040c0f5: Preparing [2023-12-06T21:02:34.901Z] b1f7c52bcb1e: Preparing [2023-12-06T21:02:34.901Z] a442ed19b0f5: Preparing [2023-12-06T21:02:34.901Z] 0faf9b67be60: Preparing [2023-12-06T21:02:34.901Z] 0faf9b67be60: Waiting [2023-12-06T21:02:34.901Z] c3877206c326: Layer already exists [2023-12-06T21:02:34.901Z] a442ed19b0f5: Layer already exists [2023-12-06T21:02:34.901Z] fe1ac040c0f5: Layer already exists [2023-12-06T21:02:34.901Z] 0d8704ea9df5: Layer already exists [2023-12-06T21:02:34.901Z] b1f7c52bcb1e: Layer already exists [2023-12-06T21:02:34.901Z] 0faf9b67be60: Layer already exists [2023-12-06T21:02:35.165Z] 3.2.0-dev.5: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:35.628Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:36.094Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T21:02:36.094Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T21:02:36.094Z] c3877206c326: Preparing [2023-12-06T21:02:36.094Z] 0d8704ea9df5: Preparing [2023-12-06T21:02:36.094Z] fe1ac040c0f5: Preparing [2023-12-06T21:02:36.094Z] b1f7c52bcb1e: Preparing [2023-12-06T21:02:36.094Z] a442ed19b0f5: Preparing [2023-12-06T21:02:36.094Z] 0faf9b67be60: Preparing [2023-12-06T21:02:36.094Z] 0faf9b67be60: Waiting [2023-12-06T21:02:36.094Z] a442ed19b0f5: Layer already exists [2023-12-06T21:02:36.094Z] 0d8704ea9df5: Layer already exists [2023-12-06T21:02:36.094Z] b1f7c52bcb1e: Layer already exists [2023-12-06T21:02:36.094Z] c3877206c326: Layer already exists [2023-12-06T21:02:36.094Z] fe1ac040c0f5: Layer already exists [2023-12-06T21:02:36.094Z] 0faf9b67be60: Layer already exists [2023-12-06T21:02:36.358Z] 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:36.825Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:37.285Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-12-06T21:02:37.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T21:02:37.285Z] c3877206c326: Preparing [2023-12-06T21:02:37.285Z] 0d8704ea9df5: Preparing [2023-12-06T21:02:37.285Z] fe1ac040c0f5: Preparing [2023-12-06T21:02:37.285Z] b1f7c52bcb1e: Preparing [2023-12-06T21:02:37.285Z] a442ed19b0f5: Preparing [2023-12-06T21:02:37.285Z] 0faf9b67be60: Preparing [2023-12-06T21:02:37.285Z] 0faf9b67be60: Waiting [2023-12-06T21:02:37.285Z] fe1ac040c0f5: Layer already exists [2023-12-06T21:02:37.285Z] 0d8704ea9df5: Layer already exists [2023-12-06T21:02:37.285Z] a442ed19b0f5: Layer already exists [2023-12-06T21:02:37.285Z] b1f7c52bcb1e: Layer already exists [2023-12-06T21:02:37.285Z] c3877206c326: Layer already exists [2023-12-06T21:02:37.285Z] 0faf9b67be60: Layer already exists [2023-12-06T21:02:37.549Z] main: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T21:02:37.875Z] ===================================================== [Pipeline] echo [2023-12-06T21:02:37.934Z] taggedImages: [2023-12-06T21:02:37.934Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f [2023-12-06T21:02:37.934Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-06T21:02:37.934Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 [2023-12-06T21:02:37.934Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [2023-12-06T21:02:37.934Z] - 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 [2023-12-06T21:02:38.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T21:02:38.558Z] [2023-12-06T21:02:38.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:02:38.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T21:02:38.929Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-06T21:02:38.929Z] 8998bd30e6a1: Pulling fs layer [2023-12-06T21:02:38.929Z] 04944245beec: Pulling fs layer [2023-12-06T21:02:38.929Z] 699f458cf7ca: Pulling fs layer [2023-12-06T21:02:38.929Z] 765212b225bb: Pulling fs layer [2023-12-06T21:02:38.929Z] f23df028b6ca: Pulling fs layer [2023-12-06T21:02:38.929Z] d65c8cfc05b1: Pulling fs layer [2023-12-06T21:02:38.929Z] 2437ff75d9bd: Pulling fs layer [2023-12-06T21:02:38.929Z] f23df028b6ca: Waiting [2023-12-06T21:02:38.929Z] d65c8cfc05b1: Waiting [2023-12-06T21:02:38.929Z] 2437ff75d9bd: Waiting [2023-12-06T21:02:38.929Z] 765212b225bb: Waiting [2023-12-06T21:02:39.195Z] 04944245beec: Verifying Checksum [2023-12-06T21:02:39.195Z] 04944245beec: Download complete [2023-12-06T21:02:39.195Z] 765212b225bb: Verifying Checksum [2023-12-06T21:02:39.195Z] 765212b225bb: Download complete [2023-12-06T21:02:39.195Z] f23df028b6ca: Download complete [2023-12-06T21:02:39.195Z] d65c8cfc05b1: Verifying Checksum [2023-12-06T21:02:39.195Z] d65c8cfc05b1: Download complete [2023-12-06T21:02:39.195Z] 699f458cf7ca: Verifying Checksum [2023-12-06T21:02:39.195Z] 699f458cf7ca: Download complete [2023-12-06T21:02:39.784Z] 8998bd30e6a1: Verifying Checksum [2023-12-06T21:02:39.784Z] 8998bd30e6a1: Download complete [2023-12-06T21:02:41.727Z] 2437ff75d9bd: Verifying Checksum [2023-12-06T21:02:41.727Z] 2437ff75d9bd: Download complete [2023-12-06T21:02:45.977Z] 8998bd30e6a1: Pull complete [2023-12-06T21:02:47.910Z] 04944245beec: Pull complete [2023-12-06T21:02:49.314Z] 699f458cf7ca: Pull complete [2023-12-06T21:02:49.579Z] 765212b225bb: Pull complete [2023-12-06T21:02:50.533Z] f23df028b6ca: Pull complete [2023-12-06T21:02:50.533Z] d65c8cfc05b1: Pull complete [2023-12-06T21:03:17.286Z] 2437ff75d9bd: Pull complete [2023-12-06T21:03:17.286Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-06T21:03:17.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T21:03:17.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:03:17.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container [2023-12-06T21:03:17.713Z] $ 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/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@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:arm64 cat [2023-12-06T21:03:18.797Z] $ docker top dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:03:19.359Z] ---> job-cost.sh [2023-12-06T21:03:19.631Z] lf-activate-venv: SKIPPING [2023-12-06T21:03:19.631Z] INFO: No Stack... [2023-12-06T21:03:20.218Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T21:03:21.169Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T21:03:21.483Z] + cat /w/workspace/device-rest-go/157/archives/cost.csv [2023-12-06T21:03:21.483Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T21:03:21.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [2023-12-06T21:03:21.551Z] Resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] did not exist. Created. [2023-12-06T21:03:21.551Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T21:03:21.978Z] /w/workspace/device-rest-go/157@tmp/durable-3bb48e4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-06T21:03:22.294Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T21:03:22.358Z] Warning: overwriting stash ‘stack-cost’ [2023-12-06T21:03:22.405Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T21:03:22.411Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T21:03:22.529Z] $ docker stop --time=1 dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e [2023-12-06T21:03:23.909Z] $ docker rm -f --volumes dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-12-06T21:03:25.160Z] provisioning config files... [2023-12-06T21:03:25.165Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1022498885579637463tmp [Pipeline] { [Pipeline] sh [2023-12-06T21:03:25.551Z] + set +x [2023-12-06T21:03:25.551Z] + + bash -s -- [2023-12-06T21:03:25.551Z] curl -s https://codecov.io/bash [2023-12-06T21:03:25.551Z] [2023-12-06T21:03:25.551Z] _____ _ [2023-12-06T21:03:25.551Z] / ____| | | [2023-12-06T21:03:25.551Z] | | ___ __| | ___ ___ _____ __ [2023-12-06T21:03:25.551Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-06T21:03:25.551Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-06T21:03:25.551Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-06T21:03:25.551Z] Bash-1.0.6 [2023-12-06T21:03:25.551Z] [2023-12-06T21:03:25.551Z] [2023-12-06T21:03:25.551Z] ==> git version 2.25.1 found [2023-12-06T21:03:25.551Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-12-06T21:03:25.551Z] Release-Date: 2020-01-08 [2023-12-06T21:03:25.551Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-06T21:03:25.551Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-06T21:03:25.551Z] ==> Jenkins CI detected. [2023-12-06T21:03:25.551Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-12-06T21:03:25.551Z] project root: . [2023-12-06T21:03:25.551Z] --> token set from env [2023-12-06T21:03:25.551Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-06T21:03:25.552Z] ==> Running gcov in . (disable via -X gcov) [2023-12-06T21:03:25.552Z] ==> Python coveragepy not found [2023-12-06T21:03:25.552Z] ==> Searching for coverage reports in: [2023-12-06T21:03:25.552Z] + . [2023-12-06T21:03:25.552Z] -> Found 1 reports [2023-12-06T21:03:25.811Z] ==> Detecting git/mercurial file structure [2023-12-06T21:03:25.811Z] ==> Reading reports [2023-12-06T21:03:25.811Z] + ./coverage.out bytes=14499 [2023-12-06T21:03:25.811Z] ==> Appending adjustments [2023-12-06T21:03:25.811Z] https://docs.codecov.io/docs/fixing-reports [2023-12-06T21:03:25.811Z] + Found adjustments [2023-12-06T21:03:25.811Z] ==> Gzipping contents [2023-12-06T21:03:25.811Z] 4.0K /tmp/codecov.3MDAny.gz [2023-12-06T21:03:25.811Z] ==> Uploading reports [2023-12-06T21:03:25.811Z] url: https://codecov.io [2023-12-06T21:03:25.811Z] query: branch=main&commit=291482f778a08bdc345d5637fe0e8ffcfe52633f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-06T21:03:25.811Z] -> Pinging Codecov [2023-12-06T21:03:25.811Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=291482f778a08bdc345d5637fe0e8ffcfe52633f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-06T21:03:26.071Z] -> Uploading to [2023-12-06T21:03:26.071Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-06/4E5D53B4F1F92C436F7061BF334D961C/291482f778a08bdc345d5637fe0e8ffcfe52633f/cbea37c8-7c83-4680-85eb-362e30a6ad9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T210325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba114bcc44e9fc7055548c2c13487d0dc92006b179f33b75b76a52fedf213496 [2023-12-06T21:03:26.071Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T21:03:26.071Z] Dload Upload Total Spent Left Speed [2023-12-06T21:03:26.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8628 --:--:-- --:--:-- --:--:-- 8628 [2023-12-06T21:03:26.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] } [2023-12-06T21:03:26.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-12-06T21:03:26.660Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-12-06T21:03:26.671Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:03:27.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T21:03:27.100Z] [2023-12-06T21:03:27.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:03:27.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T21:03:27.706Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-12-06T21:03:27.706Z] df9b9388f04a: Pulling fs layer [2023-12-06T21:03:27.706Z] 52dc419b0ee2: Pulling fs layer [2023-12-06T21:03:27.706Z] 25bc292e5bac: Pulling fs layer [2023-12-06T21:03:27.706Z] 114826534d7a: Pulling fs layer [2023-12-06T21:03:27.706Z] 4657fd5d0bcf: Pulling fs layer [2023-12-06T21:03:27.706Z] 6ad1cebc031e: Pulling fs layer [2023-12-06T21:03:27.706Z] 8a3aa393b2d8: Pulling fs layer [2023-12-06T21:03:27.706Z] 4657fd5d0bcf: Waiting [2023-12-06T21:03:27.706Z] 6ad1cebc031e: Waiting [2023-12-06T21:03:27.706Z] 8a3aa393b2d8: Waiting [2023-12-06T21:03:27.706Z] 114826534d7a: Waiting [2023-12-06T21:03:27.706Z] 25bc292e5bac: Verifying Checksum [2023-12-06T21:03:27.706Z] 25bc292e5bac: Download complete [2023-12-06T21:03:27.706Z] 52dc419b0ee2: Verifying Checksum [2023-12-06T21:03:27.706Z] 52dc419b0ee2: Download complete [2023-12-06T21:03:27.706Z] 4657fd5d0bcf: Verifying Checksum [2023-12-06T21:03:27.706Z] 4657fd5d0bcf: Download complete [2023-12-06T21:03:27.706Z] df9b9388f04a: Verifying Checksum [2023-12-06T21:03:27.706Z] df9b9388f04a: Download complete [2023-12-06T21:03:27.966Z] 6ad1cebc031e: Verifying Checksum [2023-12-06T21:03:27.966Z] 6ad1cebc031e: Download complete [2023-12-06T21:03:27.966Z] df9b9388f04a: Pull complete [2023-12-06T21:03:27.966Z] 52dc419b0ee2: Pull complete [2023-12-06T21:03:28.225Z] 25bc292e5bac: Pull complete [2023-12-06T21:03:28.483Z] 114826534d7a: Download complete [2023-12-06T21:03:28.742Z] 8a3aa393b2d8: Verifying Checksum [2023-12-06T21:03:28.742Z] 8a3aa393b2d8: Download complete [2023-12-06T21:03:34.065Z] 114826534d7a: Pull complete [2023-12-06T21:03:34.065Z] 4657fd5d0bcf: Pull complete [2023-12-06T21:03:34.065Z] 6ad1cebc031e: Pull complete [2023-12-06T21:03:36.602Z] 8a3aa393b2d8: Pull complete [2023-12-06T21:03:36.861Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-12-06T21:03:36.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T21:03:36.861Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:03:37.133Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:03:37.165Z] $ 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 [2023-12-06T21:03:44.336Z] $ docker top e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-12-06T21:03:44.482Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-12-06T21:03:44.760Z] + set -o pipefail [2023-12-06T21:03:44.760Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-12-06T21:03:50.246Z] [2023-12-06T21:03:50.246Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-12-06T21:03:50.246Z] [2023-12-06T21:03:50.246Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/b1970644-f90e-4b04-9fa4-52fda31f6983 [2023-12-06T21:03:50.246Z] [2023-12-06T21:03:50.246Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-12-06T21:03:50.246Z] [2023-12-06T21:03:50.246Z] [2023-12-06T21:03:50.246Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-12-06T21:03:50.246Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-12-06T21:03:50.246Z] More details here: https://snyk.co/ue1NS [2023-12-06T21:03:50.246Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-12-06T21:03:50.246Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-12-06T21:03:50.258Z] $ docker stop --time=1 e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b [2023-12-06T21:03:55.701Z] $ docker rm -f --volumes e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b [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 [2023-12-06T21:03:57.271Z] + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] sh [2023-12-06T21:03:57.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T21:03:57.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:03:57.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T21:03:57.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:03:58.090Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:03:58.120Z] $ 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 [2023-12-06T21:03:58.658Z] $ docker top d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T21:03:58.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T21:03:58.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T21:03:59.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T21:03:59.017Z] $ docker exec d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e ssh-agent [2023-12-06T21:03:59.128Z] SSH_AUTH_SOCK=/tmp/ssh-hj0kEmOMyj7Q/agent.33 [2023-12-06T21:03:59.129Z] SSH_AGENT_PID=39 [2023-12-06T21:03:59.134Z] Running ssh-add (command line suppressed) [2023-12-06T21:03:59.231Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14376362792306460772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14376362792306460772.key) [2023-12-06T21:03:59.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T21:03:59.580Z] + git semver tag [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,761 [run_tag] DEBUG tag force:False [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,761 [check_head_tag] DEBUG check head tag [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,762 [execute] INFO git cat-file --batch-check [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,767 [execute] INFO git cat-file --batch [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,789 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,789 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-12-06T21:03:59.839Z] 2023-12-06 21:03:59,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:03:59.839Z] 3.2.0-dev.5 [Pipeline] } [2023-12-06T21:03:59.851Z] $ docker exec --env ******** --env ******** d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e ssh-agent -k [2023-12-06T21:03:59.954Z] unset SSH_AUTH_SOCK; [2023-12-06T21:03:59.955Z] unset SSH_AGENT_PID; [2023-12-06T21:03:59.955Z] echo Agent pid 39 killed; [2023-12-06T21:03:59.963Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T21:04:00.475Z] + git semver [Pipeline] } [2023-12-06T21:04:00.750Z] $ docker stop --time=1 d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e [2023-12-06T21:04:02.058Z] $ docker rm -f --volumes d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:04:02.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T21:04:02.705Z] [2023-12-06T21:04:02.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:04:03.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T21:04:03.066Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-12-06T21:04:03.066Z] ab5ef0e58194: Pulling fs layer [2023-12-06T21:04:03.066Z] 9712f1f96733: Pulling fs layer [2023-12-06T21:04:03.066Z] 63f879dbbcfc: Pulling fs layer [2023-12-06T21:04:03.066Z] 0d9ebad4ef96: Pulling fs layer [2023-12-06T21:04:03.066Z] e9a5061849ea: Pulling fs layer [2023-12-06T21:04:03.066Z] 0d9ebad4ef96: Waiting [2023-12-06T21:04:03.066Z] d747dcd14b5f: Pulling fs layer [2023-12-06T21:04:03.066Z] 2de7ff778b66: Pulling fs layer [2023-12-06T21:04:03.066Z] e9a5061849ea: Waiting [2023-12-06T21:04:03.066Z] d747dcd14b5f: Waiting [2023-12-06T21:04:03.066Z] 2de7ff778b66: Waiting [2023-12-06T21:04:03.066Z] 9712f1f96733: Verifying Checksum [2023-12-06T21:04:03.066Z] 9712f1f96733: Download complete [2023-12-06T21:04:03.324Z] 63f879dbbcfc: Verifying Checksum [2023-12-06T21:04:03.324Z] 63f879dbbcfc: Download complete [2023-12-06T21:04:03.583Z] 0d9ebad4ef96: Verifying Checksum [2023-12-06T21:04:03.583Z] 0d9ebad4ef96: Download complete [2023-12-06T21:04:03.583Z] d747dcd14b5f: Download complete [2023-12-06T21:04:03.583Z] e9a5061849ea: Verifying Checksum [2023-12-06T21:04:03.583Z] e9a5061849ea: Download complete [2023-12-06T21:04:03.583Z] ab5ef0e58194: Verifying Checksum [2023-12-06T21:04:03.583Z] ab5ef0e58194: Download complete [2023-12-06T21:04:03.583Z] 2de7ff778b66: Verifying Checksum [2023-12-06T21:04:03.583Z] 2de7ff778b66: Download complete [2023-12-06T21:04:06.112Z] ab5ef0e58194: Pull complete [2023-12-06T21:04:06.370Z] 9712f1f96733: Pull complete [2023-12-06T21:04:06.933Z] 63f879dbbcfc: Pull complete [2023-12-06T21:04:11.111Z] 0d9ebad4ef96: Pull complete [2023-12-06T21:04:11.111Z] e9a5061849ea: Pull complete [2023-12-06T21:04:11.111Z] d747dcd14b5f: Pull complete [2023-12-06T21:04:12.484Z] 2de7ff778b66: Pull complete [2023-12-06T21:04:12.484Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-12-06T21:04:12.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T21:04:12.484Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:04:12.780Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:04:12.819Z] $ 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 [2023-12-06T21:04:19.815Z] $ docker top cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-12-06T21:04:19.984Z] provisioning config files... [2023-12-06T21:04:19.998Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15706926029338845479tmp [2023-12-06T21:04:20.016Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13737332365854065183tmp [2023-12-06T21:04:20.039Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14807649997983062200tmp [Pipeline] { [Pipeline] echo [2023-12-06T21:04:20.123Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:20.417Z] ---> sigul-configuration.sh [2023-12-06T21:04:20.417Z] gpg: directory `/root/.gnupg' created [2023-12-06T21:04:20.417Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-12-06T21:04:20.417Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-12-06T21:04:20.417Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-12-06T21:04:20.417Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-12-06T21:04:20.417Z] gpg: CAST5 encrypted data [2023-12-06T21:04:20.417Z] gpg: encrypted with 1 passphrase [2023-12-06T21:04:20.417Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-12-06T21:04:20.716Z] + mkdir /home/jenkins [2023-12-06T21:04:20.716Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-12-06T21:04:21.011Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-12-06T21:04:21.023Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:21.316Z] ---> sigul-install.sh [2023-12-06T21:04:21.316Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-12-06T21:04:21.619Z] + git tag --list [2023-12-06T21:04:21.619Z] v1.0.0 [2023-12-06T21:04:21.619Z] v1.1.0 [2023-12-06T21:04:21.619Z] v1.1.1 [2023-12-06T21:04:21.619Z] v1.1.2 [2023-12-06T21:04:21.619Z] v1.2.0 [2023-12-06T21:04:21.619Z] v1.2.1 [2023-12-06T21:04:21.619Z] v2.0.0 [2023-12-06T21:04:21.619Z] v2.1.0 [2023-12-06T21:04:21.619Z] v2.1.1 [2023-12-06T21:04:21.619Z] v2.2.0 [2023-12-06T21:04:21.619Z] v2.3.0 [2023-12-06T21:04:21.619Z] v3.0 [2023-12-06T21:04:21.619Z] v3.0.0 [2023-12-06T21:04:21.619Z] v3.1 [2023-12-06T21:04:21.619Z] v3.1.0 [2023-12-06T21:04:21.619Z] v3.1.0-dev.1 [2023-12-06T21:04:21.619Z] v3.1.0-dev.10 [2023-12-06T21:04:21.619Z] v3.1.0-dev.11 [2023-12-06T21:04:21.619Z] v3.1.0-dev.12 [2023-12-06T21:04:21.619Z] v3.1.0-dev.13 [2023-12-06T21:04:21.619Z] v3.1.0-dev.14 [2023-12-06T21:04:21.619Z] v3.1.0-dev.15 [2023-12-06T21:04:21.619Z] v3.1.0-dev.16 [2023-12-06T21:04:21.619Z] v3.1.0-dev.17 [2023-12-06T21:04:21.619Z] v3.1.0-dev.18 [2023-12-06T21:04:21.619Z] v3.1.0-dev.19 [2023-12-06T21:04:21.619Z] v3.1.0-dev.2 [2023-12-06T21:04:21.619Z] v3.1.0-dev.20 [2023-12-06T21:04:21.619Z] v3.1.0-dev.21 [2023-12-06T21:04:21.619Z] v3.1.0-dev.22 [2023-12-06T21:04:21.619Z] v3.1.0-dev.23 [2023-12-06T21:04:21.619Z] v3.1.0-dev.24 [2023-12-06T21:04:21.619Z] v3.1.0-dev.25 [2023-12-06T21:04:21.619Z] v3.1.0-dev.26 [2023-12-06T21:04:21.619Z] v3.1.0-dev.27 [2023-12-06T21:04:21.619Z] v3.1.0-dev.28 [2023-12-06T21:04:21.619Z] v3.1.0-dev.29 [2023-12-06T21:04:21.619Z] v3.1.0-dev.3 [2023-12-06T21:04:21.619Z] v3.1.0-dev.30 [2023-12-06T21:04:21.619Z] v3.1.0-dev.31 [2023-12-06T21:04:21.619Z] v3.1.0-dev.32 [2023-12-06T21:04:21.619Z] v3.1.0-dev.4 [2023-12-06T21:04:21.619Z] v3.1.0-dev.5 [2023-12-06T21:04:21.619Z] v3.1.0-dev.6 [2023-12-06T21:04:21.619Z] v3.1.0-dev.7 [2023-12-06T21:04:21.619Z] v3.1.0-dev.8 [2023-12-06T21:04:21.619Z] v3.1.0-dev.9 [2023-12-06T21:04:21.619Z] v3.2.0-dev.1 [2023-12-06T21:04:21.619Z] v3.2.0-dev.2 [2023-12-06T21:04:21.619Z] v3.2.0-dev.3 [2023-12-06T21:04:21.619Z] v3.2.0-dev.4 [2023-12-06T21:04:21.619Z] v3.2.0-dev.5 [Pipeline] sh [2023-12-06T21:04:21.913Z] + lftools sign git-tag v3.2.0-dev.5 [2023-12-06T21:04:22.481Z] Signing Git tag with Sigul... [2023-12-06T21:04:22.481Z] Signing v3.2.0-dev.5 [Pipeline] echo [2023-12-06T21:04:23.059Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:23.350Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-12-06T21:04:23.357Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-12-06T21:04:23.492Z] $ docker stop --time=1 cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 [2023-12-06T21:04:24.771Z] $ docker rm -f --volumes cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-12-06T21:04:25.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T21:04:25.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:04:26.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T21:04:26.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:04:26.247Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:04:26.360Z] $ 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 [2023-12-06T21:04:26.705Z] $ docker top aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 -eo pid,comm [2023-12-06T21:04:26.745Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-12-06T21:04:26.745Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T21:04:26.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T21:04:26.948Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T21:04:27.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T21:04:27.063Z] $ docker exec aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 ssh-agent [2023-12-06T21:04:27.170Z] SSH_AUTH_SOCK=/tmp/ssh-lLePrbUbOwB2/agent.33 [2023-12-06T21:04:27.170Z] SSH_AGENT_PID=39 [2023-12-06T21:04:27.174Z] Running ssh-add (command line suppressed) [2023-12-06T21:04:27.276Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16345265788234658739.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16345265788234658739.key) [2023-12-06T21:04:27.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T21:04:27.629Z] + git semver bump pre [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [bump_version] DEBUG bumped version:3.2.0-dev.6 [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,780 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,782 [execute] INFO git cat-file --batch-check [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,787 [execute] INFO git cat-file --batch [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T21:04:27.888Z] 2023-12-06 21:04:27,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:04:27.888Z] 3.2.0-dev.6 [Pipeline] } [2023-12-06T21:04:27.901Z] $ docker exec --env ******** --env ******** aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 ssh-agent -k [2023-12-06T21:04:27.996Z] unset SSH_AUTH_SOCK; [2023-12-06T21:04:27.996Z] unset SSH_AGENT_PID; [2023-12-06T21:04:27.996Z] echo Agent pid 39 killed; [2023-12-06T21:04:28.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T21:04:28.529Z] + git semver [Pipeline] } [2023-12-06T21:04:28.802Z] $ docker stop --time=1 aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 [2023-12-06T21:04:30.086Z] $ docker rm -f --volumes aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T21:04:30.582Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T21:04:30.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:04:30.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T21:04:30.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:04:31.105Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:04:31.135Z] $ 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 [2023-12-06T21:04:31.459Z] $ docker top 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T21:04:31.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T21:04:31.712Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T21:04:31.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T21:04:31.837Z] $ docker exec 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 ssh-agent [2023-12-06T21:04:31.942Z] SSH_AUTH_SOCK=/tmp/ssh-xnQ1bD3mHpvp/agent.32 [2023-12-06T21:04:31.942Z] SSH_AGENT_PID=38 [2023-12-06T21:04:31.947Z] Running ssh-add (command line suppressed) [2023-12-06T21:04:32.044Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5538875314443734992.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5538875314443734992.key) [2023-12-06T21:04:32.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T21:04:32.406Z] + git semver push [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,580 [run_push] DEBUG push [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,581 [execute] INFO git cat-file --batch-check [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,585 [execute] INFO git rev-list 402f148e3586df11fded6b20aafad345c0ad9eb5 -- [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,586 [execute] DEBUG Popen(['git', 'rev-list', '402f148e3586df11fded6b20aafad345c0ad9eb5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,595 [execute] INFO git fetch -v origin [2023-12-06T21:04:32.666Z] 2023-12-06 21:04:32,596 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-12-06T21:04:33.233Z] 2023-12-06 21:04:33,130 [run_push] DEBUG no remote changes detected [2023-12-06T21:04:33.233Z] 2023-12-06 21:04:33,130 [execute] INFO git push origin semver [2023-12-06T21:04:33.233Z] 2023-12-06 21:04:33,131 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-06T21:04:34.170Z] 2023-12-06 21:04:33,891 [run_push] DEBUG push all version tags [2023-12-06T21:04:34.170Z] 2023-12-06 21:04:33,892 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-12-06T21:04:34.170Z] 2023-12-06 21:04:33,892 [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) [2023-12-06T21:04:34.741Z] 2023-12-06 21:04:34,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T21:04:34.741Z] 3.2.0-dev.6 [Pipeline] } [2023-12-06T21:04:34.752Z] $ docker exec --env ******** --env ******** 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 ssh-agent -k [2023-12-06T21:04:34.849Z] unset SSH_AUTH_SOCK; [2023-12-06T21:04:34.849Z] unset SSH_AGENT_PID; [2023-12-06T21:04:34.850Z] echo Agent pid 38 killed; [2023-12-06T21:04:34.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T21:04:35.380Z] + git semver [Pipeline] } [2023-12-06T21:04:35.651Z] $ docker stop --time=1 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 [2023-12-06T21:04:36.951Z] $ docker rm -f --volumes 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-06T21:04:38.501Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-12-06T21:04:38.501Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T21:04:38.501Z] total 16 [2023-12-06T21:04:38.501Z] drwxr-xr-x 3 root root 4096 Dec 6 21:00 . [2023-12-06T21:04:38.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 21:04 .. [2023-12-06T21:04:38.501Z] drwxr-xr-x 2 root root 4096 Dec 6 21:00 cost [2023-12-06T21:04:38.501Z] -rw-r--r-- 1 root root 86 Dec 6 21:00 cost.csv [2023-12-06T21:04:38.501Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T21:04:38.501Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T21:04:38.501Z] total 16 [2023-12-06T21:04:38.501Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 21:00 . [2023-12-06T21:04:38.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 21:04 .. [2023-12-06T21:04:38.501Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 21:00 cost [2023-12-06T21:04:38.501Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 6 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:38.789Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:39.646Z] ---> package-listing.sh [2023-12-06T21:04:39.646Z] ++ facter osfamily [2023-12-06T21:04:39.646Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-06T21:04:39.906Z] + OS_FAMILY=debian [2023-12-06T21:04:39.906Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-12-06T21:04:39.906Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-06T21:04:39.906Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-06T21:04:39.906Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-06T21:04:39.906Z] + PACKAGES=/tmp/packages_start.txt [2023-12-06T21:04:39.906Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-06T21:04:39.906Z] + PACKAGES=/tmp/packages_end.txt [2023-12-06T21:04:39.906Z] + case "${OS_FAMILY}" in [2023-12-06T21:04:39.906Z] + dpkg -l [2023-12-06T21:04:39.906Z] + grep '^ii' [2023-12-06T21:04:39.906Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-06T21:04:39.906Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-06T21:04:39.906Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-06T21:04:39.906Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-06T21:04:39.906Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-12-06T21:04:39.906Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-12-06T21:04:39.917Z] 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 [2023-12-06T21:04:40.193Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T21:04:40.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T21:04:40.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T21:04:40.999Z] prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container [2023-12-06T21:04:41.032Z] $ 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 [2023-12-06T21:04:41.251Z] $ docker top e6bbe645153b32e1de6e34e09f06f5f4e8f31f92ee1304f64aeabcd6dd167136 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T21:04:41.705Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-06T21:04:41.988Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-06T21:04:42.269Z] + ls /var/log/sa-host [2023-12-06T21:04:42.269Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T21:04:42.391Z] provisioning config files... [2023-12-06T21:04:42.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12445594480872294183tmp [Pipeline] { [Pipeline] echo [2023-12-06T21:04:42.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:42.800Z] ---> create-netrc.sh [Pipeline] } [2023-12-06T21:04:42.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:43.292Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-06T21:04:43.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:43.582Z] ---> sudo-logs.sh [2023-12-06T21:04:43.582Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-06T21:04:43.670Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:43.955Z] ---> job-cost.sh [2023-12-06T21:04:43.955Z] lf-activate-venv: SKIPPING [2023-12-06T21:04:43.955Z] DEBUG: total: 0.2199999988079071 [2023-12-06T21:04:43.955Z] INFO: Retrieving Stack Cost... [2023-12-06T21:04:44.215Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T21:04:44.474Z] INFO: Archiving Costs [Pipeline] echo [2023-12-06T21:04:44.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T21:04:44.767Z] ---> logs-deploy.sh [2023-12-06T21:04:44.768Z] lf-activate-venv: SKIPPING [2023-12-06T21:04:44.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/157 [2023-12-06T21:04:44.768Z] INFO: archiving workspace using pattern(s): [2023-12-06T21:04:45.702Z] Archives upload complete. [2023-12-06T21:04:45.960Z] INFO: archiving logs to Nexus