Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 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-ssh11544198389788994389.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2448655145150849346.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh449778550116449804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh10926725801718444766.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-ssh7643873084017759312.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-9939 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (main) Commit message: "Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git config core.sparsecheckout # timeout=10 > git checkout -f 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-list --no-walk 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-10T03:00:57.635Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-10T03:00:57.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-10T03:00:57.737Z] ========================================================= [2024-09-10T03:00:57.737Z] EdgeX Global Pipelines Version Info [2024-09-10T03:00:57.737Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:00:58.453Z] ------------------- [2024-09-10T03:00:58.453Z] stable info: [2024-09-10T03:00:58.453Z] ------------------- [2024-09-10T03:00:58.453Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-10T03:00:58.453Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-10T03:00:58.453Z] Message: update stable to v1.0.263 [2024-09-10T03:00:59.021Z] ------------------- [2024-09-10T03:00:59.022Z] experimental info: [2024-09-10T03:00:59.022Z] ------------------- [2024-09-10T03:00:59.022Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-10T03:00:59.022Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-10T03:00:59.022Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-10T03:00:59.134Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-09-10T03:00:59.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-09-10T03:00:59.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-10T03:00:59.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-10T03:00:59.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-10T03:00:59.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-10T03:00:59.260Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-10T03:00:59.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-10T03:00:59.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-10T03:00:59.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-10T03:00:59.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-10T03:00:59.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-09-10T03:00:59.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-10T03:00:59.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-10T03:00:59.462Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-10T03:00:59.490Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-10T03:00:59.510Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-10T03:00:59.529Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-10T03:00:59.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-10T03:00:59.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-10T03:00:59.597Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-10T03:00:59.615Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-10T03:00:59.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-10T03:00:59.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-10T03:00:59.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-10T03:00:59.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-10T03:00:59.748Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-10T03:00:59.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-09-10T03:00:59.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-09-10T03:00:59.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-09-10T03:00:59.847Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo [2024-09-10T03:00:59.871Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 735057a [Pipeline] echo [2024-09-10T03:00:59.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:00:59.972Z] provisioning config files... [2024-09-10T03:00:59.984Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3556322033745557476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:01:00.308Z] ---> ****-login.sh [2024-09-10T03:01:00.308Z] nexus3.edgexfoundry.org:10001 [2024-09-10T03:01:00.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:00.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:00.569Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:00.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:00.569Z] [2024-09-10T03:01:00.569Z] Login Succeeded [2024-09-10T03:01:00.569Z] nexus3.edgexfoundry.org:10002 [2024-09-10T03:01:00.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:00.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:00.569Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:00.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:00.570Z] [2024-09-10T03:01:00.570Z] Login Succeeded [2024-09-10T03:01:00.570Z] nexus3.edgexfoundry.org:10003 [2024-09-10T03:01:00.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:00.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:00.829Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:00.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:00.829Z] [2024-09-10T03:01:00.829Z] Login Succeeded [2024-09-10T03:01:00.829Z] nexus3.edgexfoundry.org:10004 [2024-09-10T03:01:00.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:00.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:00.829Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:00.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:00.829Z] [2024-09-10T03:01:00.829Z] Login Succeeded [2024-09-10T03:01:00.829Z] ****.io [2024-09-10T03:01:00.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:01.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:01.112Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:01.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:01.112Z] [2024-09-10T03:01:01.112Z] Login Succeeded [2024-09-10T03:01:01.112Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T03:01:01.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-10T03:01:01.530Z] + git rev-list -1 --merges 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869~1..735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo [2024-09-10T03:01:01.561Z] -----------> git rev-list -1 --merges 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869~1..735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:01:01.561Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [false] [Pipeline] sh [2024-09-10T03:01:01.854Z] + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo [2024-09-10T03:01:01.874Z] ========================================================= [2024-09-10T03:01:01.874Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-10T03:01:01.874Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T03:01:02.210Z] + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] echo [2024-09-10T03:01:02.223Z] [semverPrep] GIT_COMMIT: 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869, Commit Message: Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo [2024-09-10T03:01:02.242Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-10T03:01:02.615Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-10T03:01:02.615Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-10T03:01:02.615Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-10T03:01:02.615Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-10T03:01:02.615Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-10T03:01:02.615Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-10T03:01:02.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:01:02.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:01:02.966Z] [2024-09-10T03:01:02.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:01:03.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:01:03.282Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-10T03:01:03.282Z] b85a868b505f: Pulling fs layer [2024-09-10T03:01:03.282Z] e2be974225ed: Pulling fs layer [2024-09-10T03:01:03.282Z] 339a4e72a1f5: Pulling fs layer [2024-09-10T03:01:03.282Z] 988bab9f4d93: Pulling fs layer [2024-09-10T03:01:03.282Z] 1469e6f7b9e6: Pulling fs layer [2024-09-10T03:01:03.282Z] eaf3925da568: Pulling fs layer [2024-09-10T03:01:03.282Z] bab4dde63d76: Pulling fs layer [2024-09-10T03:01:03.282Z] bde34c3a00c8: Pulling fs layer [2024-09-10T03:01:03.282Z] b352a97aabf1: Pulling fs layer [2024-09-10T03:01:03.282Z] 4872d77fe225: Pulling fs layer [2024-09-10T03:01:03.282Z] 5851b861e8e6: Pulling fs layer [2024-09-10T03:01:03.282Z] 988bab9f4d93: Waiting [2024-09-10T03:01:03.282Z] 1469e6f7b9e6: Waiting [2024-09-10T03:01:03.282Z] eaf3925da568: Waiting [2024-09-10T03:01:03.282Z] bde34c3a00c8: Waiting [2024-09-10T03:01:03.282Z] bab4dde63d76: Waiting [2024-09-10T03:01:03.282Z] b352a97aabf1: Waiting [2024-09-10T03:01:03.282Z] 5851b861e8e6: Waiting [2024-09-10T03:01:03.282Z] e2be974225ed: Verifying Checksum [2024-09-10T03:01:03.282Z] e2be974225ed: Download complete [2024-09-10T03:01:03.282Z] 988bab9f4d93: Download complete [2024-09-10T03:01:03.550Z] 1469e6f7b9e6: Verifying Checksum [2024-09-10T03:01:03.550Z] 1469e6f7b9e6: Download complete [2024-09-10T03:01:03.550Z] eaf3925da568: Download complete [2024-09-10T03:01:03.550Z] 339a4e72a1f5: Verifying Checksum [2024-09-10T03:01:03.550Z] 339a4e72a1f5: Download complete [2024-09-10T03:01:03.550Z] bde34c3a00c8: Download complete [2024-09-10T03:01:03.550Z] b352a97aabf1: Verifying Checksum [2024-09-10T03:01:03.550Z] b352a97aabf1: Download complete [2024-09-10T03:01:03.550Z] 4872d77fe225: Verifying Checksum [2024-09-10T03:01:03.550Z] 4872d77fe225: Download complete [2024-09-10T03:01:03.550Z] 5851b861e8e6: Verifying Checksum [2024-09-10T03:01:03.550Z] 5851b861e8e6: Download complete [2024-09-10T03:01:03.550Z] b85a868b505f: Verifying Checksum [2024-09-10T03:01:03.551Z] b85a868b505f: Download complete [2024-09-10T03:01:04.125Z] bab4dde63d76: Verifying Checksum [2024-09-10T03:01:04.125Z] bab4dde63d76: Download complete [2024-09-10T03:01:05.507Z] b85a868b505f: Pull complete [2024-09-10T03:01:05.507Z] e2be974225ed: Pull complete [2024-09-10T03:01:06.078Z] 339a4e72a1f5: Pull complete [2024-09-10T03:01:06.078Z] 988bab9f4d93: Pull complete [2024-09-10T03:01:06.337Z] 1469e6f7b9e6: Pull complete [2024-09-10T03:01:06.337Z] eaf3925da568: Pull complete [2024-09-10T03:01:12.314Z] bab4dde63d76: Pull complete [2024-09-10T03:01:12.314Z] bde34c3a00c8: Pull complete [2024-09-10T03:01:12.314Z] b352a97aabf1: Pull complete [2024-09-10T03:01:12.314Z] 4872d77fe225: Pull complete [2024-09-10T03:01:12.314Z] 5851b861e8e6: Pull complete [2024-09-10T03:01:12.314Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-10T03:01:12.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:01:12.314Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:01:14.871Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:01:14.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-10T03:01:17.316Z] $ docker top f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c -eo pid,comm [2024-09-10T03:01:17.369Z] 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). [2024-09-10T03:01:17.369Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-10T03:01:17.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T03:01:17.426Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T03:01:17.532Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T03:01:17.534Z] $ docker exec f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent [2024-09-10T03:01:17.646Z] SSH_AUTH_SOCK=/tmp/ssh-FQODAZ8LvJSU/agent.33 [2024-09-10T03:01:17.646Z] SSH_AGENT_PID=40 [2024-09-10T03:01:17.653Z] Running ssh-add (command line suppressed) [2024-09-10T03:01:17.743Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13406031861780737538.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13406031861780737538.key) [2024-09-10T03:01:17.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T03:01:18.868Z] + git tag --points-at HEAD [Pipeline] } [2024-09-10T03:01:18.879Z] $ docker exec --env ******** --env ******** f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent -k [2024-09-10T03:01:18.972Z] unset SSH_AUTH_SOCK; [2024-09-10T03:01:18.973Z] unset SSH_AGENT_PID; [2024-09-10T03:01:18.973Z] echo Agent pid 40 killed; [2024-09-10T03:01:18.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-10T03:01:19.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T03:01:19.028Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T03:01:19.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T03:01:19.133Z] $ docker exec f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent [2024-09-10T03:01:20.217Z] SSH_AUTH_SOCK=/tmp/ssh-mHLTxBZF5ffV/agent.73 [2024-09-10T03:01:20.217Z] SSH_AGENT_PID=78 [2024-09-10T03:01:20.222Z] Running ssh-add (command line suppressed) [2024-09-10T03:01:20.318Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12026205199548529827.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12026205199548529827.key) [2024-09-10T03:01:20.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T03:01:21.204Z] + git semver init [2024-09-10T03:01:21.463Z] 2024-09-10 03:01:21,372 [run_init] DEBUG init version:0.0.0 force:False [2024-09-10T03:01:21.463Z] 2024-09-10 03:01:21,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-09-10T03:01:21.463Z] 2024-09-10 03:01:21,373 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-09-10T03:01:21.463Z] 2024-09-10 03:01:21,373 [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) [2024-09-10T03:01:23.650Z] 2024-09-10 03:01:22,666 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-09-10T03:01:23.650Z] 2024-09-10 03:01:22,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-09-10T03:01:23.650Z] 2024-09-10 03:01:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:01:23.650Z] 2024-09-10 03:01:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:01:23.650Z] 3.2.0-dev.21 [Pipeline] } [2024-09-10T03:01:23.659Z] $ docker exec --env ******** --env ******** f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c ssh-agent -k [2024-09-10T03:01:23.746Z] unset SSH_AUTH_SOCK; [2024-09-10T03:01:23.747Z] unset SSH_AGENT_PID; [2024-09-10T03:01:23.747Z] echo Agent pid 78 killed; [2024-09-10T03:01:28.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-10T03:01:31.676Z] + git semver [Pipeline] } [2024-09-10T03:01:31.708Z] $ docker stop --time=1 f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c [2024-09-10T03:01:33.022Z] $ docker rm -f --volumes f9ee069274ba6c5ca3d85fd3d57cfab0b84c35124685a9c6cca18c1a290a198c [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T03:01:33.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-10T03:01:33.632Z] Stashed 1 file(s) [Pipeline] echo [2024-09-10T03:01:33.635Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 [2024-09-10T03:01:33.811Z] provisioning config files... [2024-09-10T03:01:33.821Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16109262100961768588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:01:34.128Z] ---> ****-login.sh [2024-09-10T03:01:34.128Z] nexus3.edgexfoundry.org:10001 [2024-09-10T03:01:34.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:34.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:34.128Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:34.128Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:34.128Z] [2024-09-10T03:01:34.128Z] Login Succeeded [2024-09-10T03:01:34.128Z] nexus3.edgexfoundry.org:10002 [2024-09-10T03:01:34.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:34.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:34.389Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:34.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:34.389Z] [2024-09-10T03:01:34.389Z] Login Succeeded [2024-09-10T03:01:34.389Z] nexus3.edgexfoundry.org:10003 [2024-09-10T03:01:34.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:34.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:34.389Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:34.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:34.389Z] [2024-09-10T03:01:34.389Z] Login Succeeded [2024-09-10T03:01:34.389Z] nexus3.edgexfoundry.org:10004 [2024-09-10T03:01:34.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:34.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:34.389Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:34.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:34.389Z] [2024-09-10T03:01:34.389Z] Login Succeeded [2024-09-10T03:01:34.389Z] ****.io [2024-09-10T03:01:34.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:01:34.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:01:34.647Z] Configure a credential helper to remove this warning. See [2024-09-10T03:01:34.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:01:34.647Z] [2024-09-10T03:01:34.647Z] Login Succeeded [2024-09-10T03:01:34.647Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T03:01:34.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-10T03:01:34.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:01:34.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:01:34.880Z] ========================================================= [2024-09-10T03:01:34.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-10T03:01:34.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:01:35.219Z] + 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 . [2024-09-10T03:01:35.219Z] Sending build context to Docker daemon 16.59MB [2024-09-10T03:01:35.219Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T03:01:35.219Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-10T03:01:35.219Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-10T03:01:35.219Z] 619be1103602: Pulling fs layer [2024-09-10T03:01:35.220Z] 7862e08f4a3e: Pulling fs layer [2024-09-10T03:01:35.220Z] 5df492c9dc93: Pulling fs layer [2024-09-10T03:01:35.220Z] 7629e6793208: Pulling fs layer [2024-09-10T03:01:35.220Z] 4f4fb700ef54: Pulling fs layer [2024-09-10T03:01:35.220Z] fb5054dd5b73: Pulling fs layer [2024-09-10T03:01:35.220Z] eeca6798cff9: Pulling fs layer [2024-09-10T03:01:35.220Z] aa269ceb94a6: Pulling fs layer [2024-09-10T03:01:35.220Z] ada007ff1a6a: Pulling fs layer [2024-09-10T03:01:35.220Z] 7629e6793208: Waiting [2024-09-10T03:01:35.220Z] 4f4fb700ef54: Waiting [2024-09-10T03:01:35.220Z] fb5054dd5b73: Waiting [2024-09-10T03:01:35.220Z] eeca6798cff9: Waiting [2024-09-10T03:01:35.220Z] aa269ceb94a6: Waiting [2024-09-10T03:01:35.220Z] ada007ff1a6a: Waiting [2024-09-10T03:01:35.479Z] 7862e08f4a3e: Download complete [2024-09-10T03:01:35.479Z] 7629e6793208: Download complete [2024-09-10T03:01:35.479Z] 4f4fb700ef54: Download complete [2024-09-10T03:01:35.479Z] fb5054dd5b73: Verifying Checksum [2024-09-10T03:01:35.479Z] fb5054dd5b73: Download complete [2024-09-10T03:01:35.479Z] 619be1103602: Verifying Checksum [2024-09-10T03:01:35.479Z] 619be1103602: Download complete [2024-09-10T03:01:35.479Z] eeca6798cff9: Verifying Checksum [2024-09-10T03:01:35.479Z] eeca6798cff9: Download complete [2024-09-10T03:01:35.479Z] 619be1103602: Pull complete [2024-09-10T03:01:35.737Z] ada007ff1a6a: Download complete [2024-09-10T03:01:35.737Z] 7862e08f4a3e: Pull complete [2024-09-10T03:01:35.737Z] 5df492c9dc93: Verifying Checksum [2024-09-10T03:01:35.737Z] 5df492c9dc93: Download complete [2024-09-10T03:01:36.306Z] aa269ceb94a6: Verifying Checksum [2024-09-10T03:01:36.306Z] aa269ceb94a6: Download complete [2024-09-10T03:01:39.594Z] 5df492c9dc93: Pull complete [2024-09-10T03:01:39.594Z] 7629e6793208: Pull complete [2024-09-10T03:01:39.594Z] 4f4fb700ef54: Pull complete [2024-09-10T03:01:39.594Z] fb5054dd5b73: Pull complete [2024-09-10T03:01:39.594Z] eeca6798cff9: Pull complete [2024-09-10T03:01:42.891Z] aa269ceb94a6: Pull complete [2024-09-10T03:01:43.159Z] ada007ff1a6a: Pull complete [2024-09-10T03:01:43.159Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-10T03:01:43.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-10T03:01:43.159Z] ---> f489d0715acc [2024-09-10T03:01:43.159Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-10T03:01:48.649Z] ---> Running in 1dcaf0c6bfee [2024-09-10T03:01:48.649Z] Removing intermediate container 1dcaf0c6bfee [2024-09-10T03:01:48.649Z] ---> f83c1d92a086 [2024-09-10T03:01:48.649Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-10T03:01:48.649Z] ---> Running in 3a9466f43f1e [2024-09-10T03:01:48.649Z] Removing intermediate container 3a9466f43f1e [2024-09-10T03:01:48.649Z] ---> e5c40a1016f2 [2024-09-10T03:01:48.649Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-10T03:01:48.649Z] ---> Running in 845bdf2e74d6 [2024-09-10T03:01:48.649Z] Removing intermediate container 845bdf2e74d6 [2024-09-10T03:01:48.649Z] ---> 738cf04bf4c4 [2024-09-10T03:01:48.649Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-10T03:01:48.649Z] ---> Running in 14b48c9c477b [2024-09-10T03:01:48.649Z] Removing intermediate container 14b48c9c477b [2024-09-10T03:01:48.649Z] ---> 26ea0fac3116 [2024-09-10T03:01:48.649Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-10T03:01:48.649Z] ---> Running in d8d3b2201d8d [2024-09-10T03:01:48.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T03:01:48.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T03:01:48.649Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-10T03:01:48.649Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-10T03:01:48.649Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-10T03:01:48.649Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-10T03:01:48.649Z] Executing busybox-1.36.1-r5.trigger [2024-09-10T03:01:48.649Z] OK: 268 MiB in 56 packages [2024-09-10T03:01:48.766Z] Still waiting to schedule task [2024-09-10T03:01:48.766Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9930’ [2024-09-10T03:01:49.220Z] Removing intermediate container d8d3b2201d8d [2024-09-10T03:01:49.220Z] ---> 79eafae8b9ef [2024-09-10T03:01:49.220Z] Step 8/12 : WORKDIR /device-rest-go [2024-09-10T03:01:49.220Z] ---> Running in 86892561c94b [2024-09-10T03:01:49.220Z] Removing intermediate container 86892561c94b [2024-09-10T03:01:49.220Z] ---> 80a2ec5954ed [2024-09-10T03:01:49.220Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-10T03:01:49.482Z] ---> 0b49a0e6dc1e [2024-09-10T03:01:49.482Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T03:01:49.482Z] ---> Running in c8bdbf2120d2 [2024-09-10T03:02:33.733Z] Removing intermediate container c8bdbf2120d2 [2024-09-10T03:02:33.733Z] ---> 833f7942e439 [2024-09-10T03:02:33.733Z] Step 11/12 : COPY . . [2024-09-10T03:02:33.733Z] ---> fd039d4b9910 [2024-09-10T03:02:33.733Z] Step 12/12 : RUN $MAKE [2024-09-10T03:02:33.733Z] ---> Running in f34af3802058 [2024-09-10T03:02:33.733Z] noop [2024-09-10T03:02:33.733Z] Removing intermediate container f34af3802058 [2024-09-10T03:02:33.733Z] ---> d3c41370f5e9 [2024-09-10T03:02:33.733Z] Successfully built d3c41370f5e9 [2024-09-10T03:02:33.733Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:02:34.064Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-10T03:02:34.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:02:34.151Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:02:34.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-10T03:02:34.477Z] $ docker top fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:02:34.844Z] + go version [2024-09-10T03:02:34.844Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-10T03:02:34.857Z] $ docker stop --time=1 fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd [2024-09-10T03:02:36.127Z] $ docker rm -f --volumes fad11ed13f166cb09611d9c7d98ff66338cec64322f12d149c72e8614d1d8fcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:02:36.578Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-10T03:02:36.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:02:36.654Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:02:36.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-10T03:02:36.973Z] $ docker top 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:02:37.339Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-09-10T03:02:37.642Z] + make test [2024-09-10T03:02:37.642Z] go test ./... -coverprofile=coverage.out ./... [2024-09-10T03:02:39.016Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-09-10T03:02:57.110Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-09-10T03:02:57.110Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-09-10T03:03:06.552Z] go vet ./... [2024-09-10T03:03:11.812Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-10T03:03:11.812Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-10T03:03:11.812Z] ./bin/test-attribution-txt.sh [2024-09-10T03:03:11.812Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-10T03:03:11.812Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-10T03:03:11.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-10T03:03:11.844Z] $ docker stop --time=1 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 [2024-09-10T03:03:16.371Z] $ docker rm -f --volumes 2c870cf5cc11e5e49c8af132371deff31e07881c7d507395ef906547227c9301 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T03:03:16.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-10T03:03:17.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-10T03:03:17.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-10T03:03:17.739Z] + ls -al . [2024-09-10T03:03:17.739Z] total 248 [2024-09-10T03:03:17.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 10 03:02 . [2024-09-10T03:03:17.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 03:00 .. [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 10 03:00 .dockerignore [2024-09-10T03:03:17.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:02 .git [2024-09-10T03:03:17.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 .github [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 10 03:00 .gitignore [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 03:00 .golangci.yml [2024-09-10T03:03:17.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:01 .semver [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 10 03:00 Attribution.txt [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 17685 Sep 10 03:00 CHANGELOG.md [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 1687 Sep 10 03:00 Dockerfile [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 03:00 GOVERNANCE.md [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 10 03:00 Jenkinsfile [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 03:00 LICENSE [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 2016 Sep 10 03:00 Makefile [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 10 03:00 OWNERS.md [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 3989 Sep 10 03:00 README.md [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:01 VERSION [2024-09-10T03:03:17.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:00 bin [2024-09-10T03:03:17.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 cmd [2024-09-10T03:03:17.739Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 10 03:02 coverage.out [2024-09-10T03:03:17.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:00 driver [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 7135 Sep 10 03:00 go.mod [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 10 03:00 go.sum [2024-09-10T03:03:17.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:00 openapi [2024-09-10T03:03:17.739Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 10 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:03:18.059Z] + 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=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 --label arch=amd64 --label version=3.2.0-dev.21 . [2024-09-10T03:03:18.059Z] Sending build context to Docker daemon 16.6MB [2024-09-10T03:03:18.059Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T03:03:18.059Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-10T03:03:18.059Z] ---> d3c41370f5e9 [2024-09-10T03:03:18.059Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-09-10T03:03:18.317Z] ---> Running in eb18406139a6 [2024-09-10T03:03:18.317Z] Removing intermediate container eb18406139a6 [2024-09-10T03:03:18.317Z] ---> 880cdb9db74b [2024-09-10T03:03:18.317Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-10T03:03:18.317Z] ---> Running in 5ad99bef76e8 [2024-09-10T03:03:18.317Z] Removing intermediate container 5ad99bef76e8 [2024-09-10T03:03:18.317Z] ---> 6788780fdc13 [2024-09-10T03:03:18.317Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-10T03:03:18.577Z] ---> Running in c5c96b074128 [2024-09-10T03:03:18.577Z] Removing intermediate container c5c96b074128 [2024-09-10T03:03:18.577Z] ---> fce0de99f1fe [2024-09-10T03:03:18.577Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-10T03:03:18.577Z] ---> Running in d55572120222 [2024-09-10T03:03:18.577Z] Removing intermediate container d55572120222 [2024-09-10T03:03:18.577Z] ---> 973e2eb38eb0 [2024-09-10T03:03:18.577Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-10T03:03:18.577Z] ---> Running in 1fc9a5e999a2 [2024-09-10T03:03:18.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:18.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:19.091Z] OK: 268 MiB in 56 packages [2024-09-10T03:03:19.655Z] Removing intermediate container 1fc9a5e999a2 [2024-09-10T03:03:19.655Z] ---> 7942615262ba [2024-09-10T03:03:19.655Z] Step 8/26 : WORKDIR /device-rest-go [2024-09-10T03:03:19.655Z] ---> Running in 1978f99d7212 [2024-09-10T03:03:19.655Z] Removing intermediate container 1978f99d7212 [2024-09-10T03:03:19.655Z] ---> 589ba39e4638 [2024-09-10T03:03:19.655Z] Step 9/26 : COPY go.mod vendor* ./ [2024-09-10T03:03:19.655Z] ---> 4dac3a55270d [2024-09-10T03:03:19.655Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T03:03:19.655Z] ---> Running in 2b2f32b7e8a7 [2024-09-10T03:03:20.220Z] Removing intermediate container 2b2f32b7e8a7 [2024-09-10T03:03:20.220Z] ---> d52a3c16a4cb [2024-09-10T03:03:20.220Z] Step 11/26 : COPY . . [2024-09-10T03:03:20.786Z] ---> 35ece25ce9d6 [2024-09-10T03:03:20.786Z] Step 12/26 : RUN $MAKE [2024-09-10T03:03:20.786Z] ---> Running in d53e0700560e [2024-09-10T03:03:21.044Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-09-10T03:03:53.217Z] Removing intermediate container d53e0700560e [2024-09-10T03:03:53.217Z] ---> b4db1d879cae [2024-09-10T03:03:53.217Z] Step 13/26 : FROM alpine:3.18 [2024-09-10T03:03:53.217Z] 3.18: Pulling from library/alpine [2024-09-10T03:03:53.217Z] 1cc3d825d8b2: Pulling fs layer [2024-09-10T03:03:53.217Z] 1cc3d825d8b2: Download complete [2024-09-10T03:03:53.217Z] 1cc3d825d8b2: Pull complete [2024-09-10T03:03:53.217Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-10T03:03:53.217Z] Status: Downloaded newer image for alpine:3.18 [2024-09-10T03:03:53.217Z] ---> 2c64cf60f6f0 [2024-09-10T03:03:53.217Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T03:03:53.217Z] ---> Running in 58e4033d7779 [2024-09-10T03:03:53.217Z] Removing intermediate container 58e4033d7779 [2024-09-10T03:03:53.217Z] ---> 27df143d11a9 [2024-09-10T03:03:53.217Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-09-10T03:03:53.217Z] ---> Running in ef2647ab54fa [2024-09-10T03:03:53.217Z] Removing intermediate container ef2647ab54fa [2024-09-10T03:03:53.217Z] ---> 20b1844f3e4b [2024-09-10T03:03:53.217Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-09-10T03:03:53.217Z] ---> Running in 1605367241db [2024-09-10T03:03:53.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:53.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:53.217Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-10T03:03:53.217Z] Executing busybox-1.36.1-r7.trigger [2024-09-10T03:03:53.217Z] OK: 7 MiB in 16 packages [2024-09-10T03:03:53.217Z] Removing intermediate container 1605367241db [2024-09-10T03:03:53.217Z] ---> 164b157161d2 [2024-09-10T03:03:53.217Z] Step 17/26 : RUN apk --no-cache upgrade [2024-09-10T03:03:53.217Z] ---> Running in 6143444209cd [2024-09-10T03:03:53.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:53.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-10T03:03:53.217Z] OK: 7 MiB in 16 packages [2024-09-10T03:03:53.217Z] Removing intermediate container 6143444209cd [2024-09-10T03:03:53.217Z] ---> e1ffb2ace7a9 [2024-09-10T03:03:53.217Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-09-10T03:03:53.475Z] ---> 56606d501171 [2024-09-10T03:03:53.475Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-09-10T03:03:53.732Z] ---> aa87929c4543 [2024-09-10T03:03:53.732Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-09-10T03:03:53.732Z] ---> 0e82d3e395af [2024-09-10T03:03:53.732Z] Step 21/26 : EXPOSE 59986 [2024-09-10T03:03:53.732Z] ---> Running in a468beb5c80e [2024-09-10T03:03:53.989Z] Removing intermediate container a468beb5c80e [2024-09-10T03:03:53.989Z] ---> 549de5d54d9e [2024-09-10T03:03:53.989Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-09-10T03:03:53.989Z] ---> Running in 8290e7c93a90 [2024-09-10T03:03:53.989Z] Removing intermediate container 8290e7c93a90 [2024-09-10T03:03:53.989Z] ---> b16e3662fc81 [2024-09-10T03:03:53.989Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-10T03:03:53.989Z] ---> Running in a6ea7cdb7be6 [2024-09-10T03:03:53.989Z] Removing intermediate container a6ea7cdb7be6 [2024-09-10T03:03:53.989Z] ---> 7245712781e4 [2024-09-10T03:03:53.989Z] Step 24/26 : LABEL arch=amd64 [2024-09-10T03:03:53.989Z] ---> Running in 292ab9293515 [2024-09-10T03:03:54.247Z] Removing intermediate container 292ab9293515 [2024-09-10T03:03:54.247Z] ---> 0f2eadc32b11 [2024-09-10T03:03:54.247Z] Step 25/26 : LABEL git_sha=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:03:54.247Z] ---> Running in 7725c25e3db1 [2024-09-10T03:03:54.247Z] Removing intermediate container 7725c25e3db1 [2024-09-10T03:03:54.247Z] ---> 302ec2aa2334 [2024-09-10T03:03:54.247Z] Step 26/26 : LABEL version=3.2.0-dev.21 [2024-09-10T03:03:54.247Z] ---> Running in b806fc6a7cdf [2024-09-10T03:03:54.247Z] Removing intermediate container b806fc6a7cdf [2024-09-10T03:03:54.247Z] ---> b11df71939ce [2024-09-10T03:03:54.247Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-10T03:03:54.247Z] Successfully built b11df71939ce [2024-09-10T03:03:54.247Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:03:54.365Z] provisioning config files... [2024-09-10T03:03:54.378Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config196089691047525889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:03:54.691Z] ---> ****-login.sh [2024-09-10T03:03:54.691Z] nexus3.edgexfoundry.org:10001 [2024-09-10T03:03:54.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:03:54.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:03:54.691Z] Configure a credential helper to remove this warning. See [2024-09-10T03:03:54.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:03:54.691Z] [2024-09-10T03:03:54.691Z] Login Succeeded [2024-09-10T03:03:54.691Z] nexus3.edgexfoundry.org:10002 [2024-09-10T03:03:54.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:03:54.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:03:54.691Z] Configure a credential helper to remove this warning. See [2024-09-10T03:03:54.692Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:03:54.692Z] [2024-09-10T03:03:54.692Z] Login Succeeded [2024-09-10T03:03:54.692Z] nexus3.edgexfoundry.org:10003 [2024-09-10T03:03:54.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:03:54.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:03:54.951Z] Configure a credential helper to remove this warning. See [2024-09-10T03:03:54.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:03:54.951Z] [2024-09-10T03:03:54.951Z] Login Succeeded [2024-09-10T03:03:54.951Z] nexus3.edgexfoundry.org:10004 [2024-09-10T03:03:54.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:03:54.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:03:54.951Z] Configure a credential helper to remove this warning. See [2024-09-10T03:03:54.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:03:54.951Z] [2024-09-10T03:03:54.951Z] Login Succeeded [2024-09-10T03:03:54.951Z] ****.io [2024-09-10T03:03:54.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:03:55.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:03:55.268Z] Configure a credential helper to remove this warning. See [2024-09-10T03:03:55.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:03:55.268Z] [2024-09-10T03:03:55.268Z] Login Succeeded [2024-09-10T03:03:55.268Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T03:03:55.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-09-10T03:03:55.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:03:55.358Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-09-10T03:03:55.358Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:03:55.358Z] latest [2024-09-10T03:03:55.358Z] 3.2.0-dev.21 [2024-09-10T03:03:55.358Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:03:55.358Z] main [2024-09-10T03:03:55.358Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:03:55.705Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:03:56.049Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:03:56.049Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-09-10T03:03:56.049Z] deb4c780c2b6: Preparing [2024-09-10T03:03:56.049Z] c382e68ba132: Preparing [2024-09-10T03:03:56.049Z] b97aa7a6d4d0: Preparing [2024-09-10T03:03:56.049Z] 0ad1ddea1cf0: Preparing [2024-09-10T03:03:56.049Z] 67c6c1ef6100: Preparing [2024-09-10T03:03:56.049Z] d62a02444d39: Preparing [2024-09-10T03:03:56.049Z] d62a02444d39: Waiting [2024-09-10T03:03:56.049Z] 0ad1ddea1cf0: Pushed [2024-09-10T03:03:56.049Z] deb4c780c2b6: Pushed [2024-09-10T03:03:56.049Z] c382e68ba132: Pushed [2024-09-10T03:03:56.049Z] 67c6c1ef6100: Pushed [2024-09-10T03:03:56.049Z] d62a02444d39: Layer already exists [2024-09-10T03:04:02.290Z] b97aa7a6d4d0: Pushed [2024-09-10T03:04:02.290Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:02.612Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:02.932Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-09-10T03:04:02.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-09-10T03:04:02.932Z] deb4c780c2b6: Preparing [2024-09-10T03:04:02.932Z] c382e68ba132: Preparing [2024-09-10T03:04:02.932Z] b97aa7a6d4d0: Preparing [2024-09-10T03:04:02.932Z] 0ad1ddea1cf0: Preparing [2024-09-10T03:04:02.932Z] 67c6c1ef6100: Preparing [2024-09-10T03:04:02.932Z] d62a02444d39: Preparing [2024-09-10T03:04:02.932Z] d62a02444d39: Waiting [2024-09-10T03:04:02.932Z] 0ad1ddea1cf0: Layer already exists [2024-09-10T03:04:02.932Z] deb4c780c2b6: Layer already exists [2024-09-10T03:04:02.932Z] b97aa7a6d4d0: Layer already exists [2024-09-10T03:04:02.932Z] c382e68ba132: Layer already exists [2024-09-10T03:04:02.932Z] 67c6c1ef6100: Layer already exists [2024-09-10T03:04:02.932Z] d62a02444d39: Layer already exists [2024-09-10T03:04:02.932Z] latest: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:03.253Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:03.577Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 [2024-09-10T03:04:03.577Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-09-10T03:04:03.577Z] deb4c780c2b6: Preparing [2024-09-10T03:04:03.577Z] c382e68ba132: Preparing [2024-09-10T03:04:03.577Z] b97aa7a6d4d0: Preparing [2024-09-10T03:04:03.577Z] 0ad1ddea1cf0: Preparing [2024-09-10T03:04:03.577Z] 67c6c1ef6100: Preparing [2024-09-10T03:04:03.577Z] d62a02444d39: Preparing [2024-09-10T03:04:03.577Z] d62a02444d39: Waiting [2024-09-10T03:04:03.577Z] 67c6c1ef6100: Layer already exists [2024-09-10T03:04:03.577Z] c382e68ba132: Layer already exists [2024-09-10T03:04:03.577Z] deb4c780c2b6: Layer already exists [2024-09-10T03:04:03.577Z] 0ad1ddea1cf0: Layer already exists [2024-09-10T03:04:03.577Z] b97aa7a6d4d0: Layer already exists [2024-09-10T03:04:03.577Z] d62a02444d39: Layer already exists [2024-09-10T03:04:03.577Z] 3.2.0-dev.21: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:03.915Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:04.242Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:04:04.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-09-10T03:04:04.242Z] deb4c780c2b6: Preparing [2024-09-10T03:04:04.242Z] c382e68ba132: Preparing [2024-09-10T03:04:04.242Z] b97aa7a6d4d0: Preparing [2024-09-10T03:04:04.242Z] 0ad1ddea1cf0: Preparing [2024-09-10T03:04:04.242Z] 67c6c1ef6100: Preparing [2024-09-10T03:04:04.242Z] d62a02444d39: Preparing [2024-09-10T03:04:04.242Z] d62a02444d39: Waiting [2024-09-10T03:04:04.242Z] b97aa7a6d4d0: Layer already exists [2024-09-10T03:04:04.242Z] 67c6c1ef6100: Layer already exists [2024-09-10T03:04:04.242Z] c382e68ba132: Layer already exists [2024-09-10T03:04:04.242Z] 0ad1ddea1cf0: Layer already exists [2024-09-10T03:04:04.242Z] deb4c780c2b6: Layer already exists [2024-09-10T03:04:04.242Z] d62a02444d39: Layer already exists [2024-09-10T03:04:04.242Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:04.566Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:04.890Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-09-10T03:04:04.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-09-10T03:04:04.890Z] deb4c780c2b6: Preparing [2024-09-10T03:04:04.890Z] c382e68ba132: Preparing [2024-09-10T03:04:04.890Z] b97aa7a6d4d0: Preparing [2024-09-10T03:04:04.890Z] 0ad1ddea1cf0: Preparing [2024-09-10T03:04:04.890Z] 67c6c1ef6100: Preparing [2024-09-10T03:04:04.890Z] d62a02444d39: Preparing [2024-09-10T03:04:04.890Z] d62a02444d39: Waiting [2024-09-10T03:04:04.890Z] 0ad1ddea1cf0: Layer already exists [2024-09-10T03:04:04.890Z] c382e68ba132: Layer already exists [2024-09-10T03:04:04.890Z] b97aa7a6d4d0: Layer already exists [2024-09-10T03:04:04.890Z] 67c6c1ef6100: Layer already exists [2024-09-10T03:04:04.890Z] deb4c780c2b6: Layer already exists [2024-09-10T03:04:04.890Z] d62a02444d39: Layer already exists [2024-09-10T03:04:04.890Z] main: digest: sha256:4bec7f3b26476abd3030f9d36a09e3ea5b32331bc01772a53d2384214755010f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-09-10T03:04:04.977Z] ===================================================== [Pipeline] echo [2024-09-10T03:04:04.990Z] taggedImages: [2024-09-10T03:04:04.990Z] - nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:04:04.990Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-09-10T03:04:04.990Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.21 [2024-09-10T03:04:04.990Z] - nexus3.edgexfoundry.org:10004/device-rest:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:04:04.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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:05.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T03:04:05.417Z] [2024-09-10T03:04:05.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:04:05.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T03:04:05.726Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-10T03:04:05.726Z] 5eb5b503b376: Pulling fs layer [2024-09-10T03:04:05.726Z] 5c69ac0246d0: Pulling fs layer [2024-09-10T03:04:05.726Z] ec43610c2a17: Pulling fs layer [2024-09-10T03:04:05.726Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-10T03:04:05.726Z] 33b1e0a273af: Pulling fs layer [2024-09-10T03:04:05.726Z] 5d3b04190fa2: Pulling fs layer [2024-09-10T03:04:05.726Z] 2f39f015ded8: Pulling fs layer [2024-09-10T03:04:05.726Z] 5d3b04190fa2: Waiting [2024-09-10T03:04:05.726Z] 5c69ac0246d0: Verifying Checksum [2024-09-10T03:04:05.726Z] 5c69ac0246d0: Download complete [2024-09-10T03:04:05.726Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-10T03:04:05.726Z] 3a2ae6a8a46f: Download complete [2024-09-10T03:04:05.726Z] 33b1e0a273af: Verifying Checksum [2024-09-10T03:04:05.726Z] 33b1e0a273af: Download complete [2024-09-10T03:04:05.726Z] 5d3b04190fa2: Verifying Checksum [2024-09-10T03:04:05.726Z] 5d3b04190fa2: Download complete [2024-09-10T03:04:05.726Z] ec43610c2a17: Verifying Checksum [2024-09-10T03:04:05.726Z] ec43610c2a17: Download complete [2024-09-10T03:04:05.984Z] 5eb5b503b376: Verifying Checksum [2024-09-10T03:04:05.985Z] 5eb5b503b376: Download complete [2024-09-10T03:04:06.554Z] 2f39f015ded8: Download complete [2024-09-10T03:04:07.121Z] 5eb5b503b376: Pull complete [2024-09-10T03:04:07.380Z] 5c69ac0246d0: Pull complete [2024-09-10T03:04:07.947Z] ec43610c2a17: Pull complete [2024-09-10T03:04:07.947Z] 3a2ae6a8a46f: Pull complete [2024-09-10T03:04:07.947Z] 33b1e0a273af: Pull complete [2024-09-10T03:04:08.206Z] 5d3b04190fa2: Pull complete [2024-09-10T03:04:13.470Z] 2f39f015ded8: Pull complete [2024-09-10T03:04:13.470Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-10T03:04:13.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T03:04:13.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:04:13.570Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:04:13.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-10T03:04:17.069Z] $ docker top b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:04:17.450Z] ---> job-cost.sh [2024-09-10T03:04:17.450Z] lf-activate-venv: SKIPPING [2024-09-10T03:04:17.450Z] INFO: No Stack... [2024-09-10T03:04:17.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-10T03:04:17.968Z] INFO: Archiving Costs [Pipeline] sh [2024-09-10T03:04:18.254Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-09-10T03:04:18.255Z] + cut -d, -f6 [Pipeline] lock [2024-09-10T03:04:18.269Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [2024-09-10T03:04:18.280Z] Resource [jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] did not exist. Created. [2024-09-10T03:04:18.286Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-10T03:04:18.597Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-10T03:04:18.627Z] Stashed 1 file(s) [Pipeline] } [2024-09-10T03:04:18.634Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-10T03:04:18.660Z] $ docker stop --time=1 b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 [2024-09-10T03:04:19.777Z] $ docker rm -f --volumes b80b8a24bf2be91f834ea9d01970586aafba290608aecc48c346344547822d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-10T03:04:30.912Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9945 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-09-10T03:04:30.931Z] Running in /w/workspace/device-rest-go/173 [Pipeline] { [Pipeline] checkout [2024-09-10T03:04:33.983Z] The recommended git tool is: git [2024-09-10T03:04:41.708Z] using credential edgex-jenkins-ssh [2024-09-10T03:04:41.730Z] Cloning the remote Git repository [2024-09-10T03:04:41.791Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-09-10T03:04:41.940Z] > git init /w/workspace/device-rest-go/173 # timeout=10 [2024-09-10T03:04:42.189Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-09-10T03:04:42.190Z] > git --version # timeout=10 [2024-09-10T03:04:42.222Z] > git --version # 'git version 2.25.1' [2024-09-10T03:04:42.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-10T03:04:42.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-10T03:04:45.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-09-10T03:04:45.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-10T03:04:46.613Z] Avoid second fetch [2024-09-10T03:04:46.613Z] Checking out Revision 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (main) [2024-09-10T03:04:47.331Z] Commit message: "Merge pull request #410 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" [2024-09-10T03:04:46.627Z] > git config core.sparsecheckout # timeout=10 [2024-09-10T03:04:46.710Z] > git checkout -f 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T03:04:52.157Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-10T03:04:52.157Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-10T03:04:52.157Z] Dload Upload Total Spent Left Speed [2024-09-10T03:04:52.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2024-09-10T03:04:52.505Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-10T03:04:52.851Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-09-10T03:04:52.851Z] /etc/docker/daemon.json [2024-09-10T03:04:52.851Z] { [2024-09-10T03:04:52.851Z] "registry-mirrors": [ [2024-09-10T03:04:52.851Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-10T03:04:52.851Z] ], [2024-09-10T03:04:52.851Z] "bip": "10.250.0.254/24", [2024-09-10T03:04:52.851Z] "hosts": [ [2024-09-10T03:04:52.851Z] "tcp://0.0.0.0:5555", [2024-09-10T03:04:52.851Z] "unix:///var/run/docker.sock" [2024-09-10T03:04:52.851Z] ], [2024-09-10T03:04:52.851Z] "mtu": 1458, [2024-09-10T03:04:52.851Z] "selinux-enabled": true, [2024-09-10T03:04:52.851Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-10T03:04:52.851Z] } [Pipeline] sh [2024-09-10T03:04:53.194Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-10T03:04:53.546Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:05:11.863Z] provisioning config files... [2024-09-10T03:05:11.902Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/173@tmp/config8383781538515116871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:05:12.359Z] ---> ****-login.sh [2024-09-10T03:05:12.359Z] nexus3.edgexfoundry.org:10001 [2024-09-10T03:05:12.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:05:12.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:05:12.949Z] Configure a credential helper to remove this warning. See [2024-09-10T03:05:12.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:05:12.949Z] [2024-09-10T03:05:12.949Z] Login Succeeded [2024-09-10T03:05:13.219Z] nexus3.edgexfoundry.org:10002 [2024-09-10T03:05:13.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:05:13.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:05:13.490Z] Configure a credential helper to remove this warning. See [2024-09-10T03:05:13.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:05:13.490Z] [2024-09-10T03:05:13.490Z] Login Succeeded [2024-09-10T03:05:13.490Z] nexus3.edgexfoundry.org:10003 [2024-09-10T03:05:13.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:05:13.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:05:13.760Z] Configure a credential helper to remove this warning. See [2024-09-10T03:05:13.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:05:13.760Z] [2024-09-10T03:05:13.760Z] Login Succeeded [2024-09-10T03:05:13.760Z] nexus3.edgexfoundry.org:10004 [2024-09-10T03:05:14.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:05:14.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:05:14.305Z] Configure a credential helper to remove this warning. See [2024-09-10T03:05:14.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:05:14.305Z] [2024-09-10T03:05:14.305Z] Login Succeeded [2024-09-10T03:05:14.305Z] ****.io [2024-09-10T03:05:14.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:05:14.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:05:14.580Z] Configure a credential helper to remove this warning. See [2024-09-10T03:05:14.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:05:14.580Z] [2024-09-10T03:05:14.580Z] Login Succeeded [2024-09-10T03:05:14.580Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T03:05:14.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-10T03:05:14.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:05:14.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:05:15.005Z] ========================================================= [2024-09-10T03:05:15.005Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-10T03:05:15.005Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:05:15.390Z] + 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 . [2024-09-10T03:05:15.390Z] Sending build context to Docker daemon 130.6kB [2024-09-10T03:05:15.661Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T03:05:15.661Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-10T03:05:15.932Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-10T03:05:15.932Z] c6b39de5b339: Pulling fs layer [2024-09-10T03:05:15.932Z] a69c41024577: Pulling fs layer [2024-09-10T03:05:15.932Z] d6de4b400683: Pulling fs layer [2024-09-10T03:05:15.932Z] 35cb2a7552d0: Pulling fs layer [2024-09-10T03:05:15.932Z] 4f4fb700ef54: Pulling fs layer [2024-09-10T03:05:15.932Z] 464afbd9ba4c: Pulling fs layer [2024-09-10T03:05:15.932Z] 00f215d4a9da: Pulling fs layer [2024-09-10T03:05:15.932Z] d496ad576159: Pulling fs layer [2024-09-10T03:05:15.932Z] 35cb2a7552d0: Waiting [2024-09-10T03:05:15.932Z] 4f4fb700ef54: Waiting [2024-09-10T03:05:15.932Z] 464afbd9ba4c: Waiting [2024-09-10T03:05:15.932Z] 00f215d4a9da: Waiting [2024-09-10T03:05:15.932Z] a69c41024577: Verifying Checksum [2024-09-10T03:05:15.932Z] a69c41024577: Download complete [2024-09-10T03:05:15.932Z] 35cb2a7552d0: Download complete [2024-09-10T03:05:15.932Z] 4f4fb700ef54: Verifying Checksum [2024-09-10T03:05:15.932Z] 4f4fb700ef54: Download complete [2024-09-10T03:05:15.932Z] c6b39de5b339: Verifying Checksum [2024-09-10T03:05:15.932Z] c6b39de5b339: Download complete [2024-09-10T03:05:15.932Z] 464afbd9ba4c: Verifying Checksum [2024-09-10T03:05:15.932Z] 464afbd9ba4c: Download complete [2024-09-10T03:05:16.522Z] d496ad576159: Verifying Checksum [2024-09-10T03:05:16.522Z] d496ad576159: Download complete [2024-09-10T03:05:16.792Z] c6b39de5b339: Pull complete [2024-09-10T03:05:17.769Z] a69c41024577: Pull complete [2024-09-10T03:05:18.047Z] d6de4b400683: Verifying Checksum [2024-09-10T03:05:18.047Z] d6de4b400683: Download complete [2024-09-10T03:05:19.018Z] 00f215d4a9da: Verifying Checksum [2024-09-10T03:05:19.018Z] 00f215d4a9da: Download complete [2024-09-10T03:05:31.352Z] d6de4b400683: Pull complete [2024-09-10T03:05:31.352Z] 35cb2a7552d0: Pull complete [2024-09-10T03:05:31.621Z] 4f4fb700ef54: Pull complete [2024-09-10T03:05:31.890Z] 464afbd9ba4c: Pull complete [2024-09-10T03:05:40.145Z] 00f215d4a9da: Pull complete [2024-09-10T03:05:42.092Z] d496ad576159: Pull complete [2024-09-10T03:05:42.092Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-10T03:05:42.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-10T03:05:42.092Z] ---> f246e2811388 [2024-09-10T03:05:42.092Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-10T03:05:44.040Z] ---> Running in 8cf4312d3dca [2024-09-10T03:05:44.040Z] Removing intermediate container 8cf4312d3dca [2024-09-10T03:05:44.040Z] ---> 185bb6a6d0de [2024-09-10T03:05:44.040Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-10T03:05:44.310Z] ---> Running in 95feafd9ec85 [2024-09-10T03:05:44.579Z] Removing intermediate container 95feafd9ec85 [2024-09-10T03:05:44.579Z] ---> b95642e43ec0 [2024-09-10T03:05:44.579Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-10T03:05:44.579Z] ---> Running in b80f8b895a94 [2024-09-10T03:05:45.166Z] Removing intermediate container b80f8b895a94 [2024-09-10T03:05:45.166Z] ---> f58e505e60a9 [2024-09-10T03:05:45.166Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-10T03:05:45.166Z] ---> Running in abb79162bf5a [2024-09-10T03:05:46.580Z] Removing intermediate container abb79162bf5a [2024-09-10T03:05:46.580Z] ---> a84bb8ac1e95 [2024-09-10T03:05:46.580Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-10T03:05:46.856Z] ---> Running in 41a904686b77 [2024-09-10T03:05:48.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T03:05:48.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T03:05:49.946Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-10T03:05:49.946Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-10T03:05:49.946Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-10T03:05:49.946Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-10T03:05:49.946Z] Executing busybox-1.36.1-r5.trigger [2024-09-10T03:05:49.946Z] OK: 271 MiB in 56 packages [2024-09-10T03:05:50.911Z] Removing intermediate container 41a904686b77 [2024-09-10T03:05:50.911Z] ---> 26029f6bc38e [2024-09-10T03:05:50.911Z] Step 8/12 : WORKDIR /device-rest-go [2024-09-10T03:05:51.181Z] ---> Running in 6232c7ae9658 [2024-09-10T03:05:51.454Z] Removing intermediate container 6232c7ae9658 [2024-09-10T03:05:51.454Z] ---> a56cff164260 [2024-09-10T03:05:51.454Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-10T03:05:52.043Z] ---> f704b35c1418 [2024-09-10T03:05:52.043Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T03:05:52.043Z] ---> Running in 2f069e99f93f [2024-09-10T03:07:58.759Z] Removing intermediate container 2f069e99f93f [2024-09-10T03:07:58.759Z] ---> 641b4dfe6d06 [2024-09-10T03:07:58.759Z] Step 11/12 : COPY . . [2024-09-10T03:07:58.759Z] ---> c43aaa776ba0 [2024-09-10T03:07:58.759Z] Step 12/12 : RUN $MAKE [2024-09-10T03:07:58.759Z] ---> Running in 7f5cdb3ef812 [2024-09-10T03:07:58.759Z] noop [2024-09-10T03:07:58.759Z] Removing intermediate container 7f5cdb3ef812 [2024-09-10T03:07:58.759Z] ---> 950dc5b564d9 [2024-09-10T03:07:58.759Z] Successfully built 950dc5b564d9 [2024-09-10T03:07:58.759Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:07:59.133Z] + docker inspect -f . ci-base-image-arm64 [2024-09-10T03:07:59.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:07:59.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container [2024-09-10T03:07:59.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-10T03:08:00.802Z] $ docker top 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:08:01.699Z] + go version [2024-09-10T03:08:01.699Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-10T03:08:01.719Z] $ docker stop --time=1 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 [2024-09-10T03:08:03.500Z] $ docker rm -f --volumes 5cb6f648d64be9b92f66b3ec2318d622e6079f6fc78fc7376a9c61931aa66f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:08:04.139Z] + docker inspect -f . ci-base-image-arm64 [2024-09-10T03:08:04.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:08:04.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container [2024-09-10T03:08:04.449Z] $ 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/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-10T03:08:05.755Z] $ docker top bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:08:06.635Z] + git config --global --add safe.directory /w/workspace/device-rest-go/173 [Pipeline] fileExists [Pipeline] sh [2024-09-10T03:08:07.319Z] + make test [2024-09-10T03:08:07.320Z] go test ./... -coverprofile=coverage.out ./... [2024-09-10T03:08:14.175Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-09-10T03:12:21.138Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-09-10T03:12:21.138Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements [2024-09-10T03:12:21.138Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-10T03:12:21.138Z] go vet ./... [2024-09-10T03:13:17.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-10T03:13:17.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-10T03:13:17.589Z] ./bin/test-attribution-txt.sh [2024-09-10T03:13:17.589Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-10T03:13:17.589Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-10T03:13:17.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-10T03:13:17.626Z] $ docker stop --time=1 bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 [2024-09-10T03:13:19.621Z] $ docker rm -f --volumes bcb07a49418f63e1b1b3d0e0e922adbb4d96ff7a37f5498a43a155e0b8931bb2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T03:13:21.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-10T03:13:21.350Z] Warning: overwriting stash ‘coverage-report’ [2024-09-10T03:13:22.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-10T03:13:22.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-10T03:13:22.937Z] + ls -al . [2024-09-10T03:13:22.937Z] total 244 [2024-09-10T03:13:22.937Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:08 . [2024-09-10T03:13:22.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 03:04 .. [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 10 03:04 .dockerignore [2024-09-10T03:13:22.937Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 03:04 .git [2024-09-10T03:13:22.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 .github [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 10 03:04 .gitignore [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 10 03:04 .golangci.yml [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 10 03:04 Attribution.txt [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 17685 Sep 10 03:04 CHANGELOG.md [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 1687 Sep 10 03:04 Dockerfile [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 03:04 GOVERNANCE.md [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 10 03:04 Jenkinsfile [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 10 03:04 LICENSE [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 2016 Sep 10 03:04 Makefile [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 10 03:04 OWNERS.md [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 3989 Sep 10 03:04 README.md [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 10 03:01 VERSION [2024-09-10T03:13:22.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:04 bin [2024-09-10T03:13:22.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 cmd [2024-09-10T03:13:22.937Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 10 03:12 coverage.out [2024-09-10T03:13:22.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 03:04 driver [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 7135 Sep 10 03:04 go.mod [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 10 03:04 go.sum [2024-09-10T03:13:22.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 03:04 openapi [2024-09-10T03:13:22.937Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 10 03:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:13:23.304Z] + 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=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 --label arch=arm64 --label version=3.2.0-dev.21 . [2024-09-10T03:13:23.304Z] Sending build context to Docker daemon 145.9kB [2024-09-10T03:13:23.593Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-10T03:13:23.593Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-10T03:13:23.593Z] ---> 950dc5b564d9 [2024-09-10T03:13:23.593Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-09-10T03:13:23.863Z] ---> Running in 5068613329b1 [2024-09-10T03:13:24.187Z] Removing intermediate container 5068613329b1 [2024-09-10T03:13:24.187Z] ---> b683b020400f [2024-09-10T03:13:24.187Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-10T03:13:24.187Z] ---> Running in 712350d60109 [2024-09-10T03:13:24.469Z] Removing intermediate container 712350d60109 [2024-09-10T03:13:24.469Z] ---> ab4acc53b131 [2024-09-10T03:13:24.469Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-10T03:13:24.749Z] ---> Running in f065d1dfc958 [2024-09-10T03:13:25.025Z] Removing intermediate container f065d1dfc958 [2024-09-10T03:13:25.025Z] ---> a0ccd3c4dfbd [2024-09-10T03:13:25.025Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-10T03:13:25.300Z] ---> Running in a51846c605cc [2024-09-10T03:13:25.577Z] Removing intermediate container a51846c605cc [2024-09-10T03:13:25.577Z] ---> 27131a07f8fd [2024-09-10T03:13:25.577Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-10T03:13:25.577Z] ---> Running in 217d63ec9d83 [2024-09-10T03:13:26.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T03:13:27.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T03:13:28.572Z] OK: 271 MiB in 56 packages [2024-09-10T03:13:29.164Z] Removing intermediate container 217d63ec9d83 [2024-09-10T03:13:29.164Z] ---> b864926b62ee [2024-09-10T03:13:29.164Z] Step 8/26 : WORKDIR /device-rest-go [2024-09-10T03:13:29.164Z] ---> Running in 50ab66f31b72 [2024-09-10T03:13:29.754Z] Removing intermediate container 50ab66f31b72 [2024-09-10T03:13:29.754Z] ---> 728a09af69b1 [2024-09-10T03:13:29.754Z] Step 9/26 : COPY go.mod vendor* ./ [2024-09-10T03:13:30.021Z] ---> 5834816437b6 [2024-09-10T03:13:30.021Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-10T03:13:30.288Z] ---> Running in 5b76a5307deb [2024-09-10T03:13:32.871Z] Removing intermediate container 5b76a5307deb [2024-09-10T03:13:32.871Z] ---> d1ddd3ea60db [2024-09-10T03:13:32.871Z] Step 11/26 : COPY . . [2024-09-10T03:13:33.462Z] ---> 1028fb2eeab2 [2024-09-10T03:13:33.462Z] Step 12/26 : RUN $MAKE [2024-09-10T03:13:33.462Z] ---> Running in e9dbb272a5b4 [2024-09-10T03:13:34.425Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-09-10T03:17:26.221Z] Removing intermediate container e9dbb272a5b4 [2024-09-10T03:17:26.221Z] ---> 5d86e9a0780e [2024-09-10T03:17:26.221Z] Step 13/26 : FROM alpine:3.18 [2024-09-10T03:17:26.221Z] 3.18: Pulling from library/alpine [2024-09-10T03:17:26.221Z] 720f3032cd11: Pulling fs layer [2024-09-10T03:17:26.221Z] 720f3032cd11: Verifying Checksum [2024-09-10T03:17:26.221Z] 720f3032cd11: Download complete [2024-09-10T03:17:26.221Z] 720f3032cd11: Pull complete [2024-09-10T03:17:26.221Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-10T03:17:26.221Z] Status: Downloaded newer image for alpine:3.18 [2024-09-10T03:17:26.221Z] ---> 3e834921e367 [2024-09-10T03:17:26.221Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-10T03:17:26.221Z] ---> Running in 33c6362e1bd4 [2024-09-10T03:17:26.221Z] Removing intermediate container 33c6362e1bd4 [2024-09-10T03:17:26.221Z] ---> 80c25c7af8fa [2024-09-10T03:17:26.221Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-09-10T03:17:26.221Z] ---> Running in 73580e0ae712 [2024-09-10T03:17:26.221Z] Removing intermediate container 73580e0ae712 [2024-09-10T03:17:26.221Z] ---> 3a9835eddf4a [2024-09-10T03:17:26.221Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-09-10T03:17:26.221Z] ---> Running in 605018489b85 [2024-09-10T03:17:26.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T03:17:26.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T03:17:26.221Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-10T03:17:26.221Z] Executing busybox-1.36.1-r7.trigger [2024-09-10T03:17:26.221Z] OK: 8 MiB in 16 packages [2024-09-10T03:17:26.221Z] Removing intermediate container 605018489b85 [2024-09-10T03:17:26.221Z] ---> adb33b2bd725 [2024-09-10T03:17:26.221Z] Step 17/26 : RUN apk --no-cache upgrade [2024-09-10T03:17:26.221Z] ---> Running in 42bf944b875a [2024-09-10T03:17:26.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-10T03:17:26.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-10T03:17:26.221Z] OK: 8 MiB in 16 packages [2024-09-10T03:17:26.221Z] Removing intermediate container 42bf944b875a [2024-09-10T03:17:26.221Z] ---> 4d85709ef335 [2024-09-10T03:17:26.221Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-09-10T03:17:27.177Z] ---> 0885a9d0ada8 [2024-09-10T03:17:27.177Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-09-10T03:17:27.443Z] ---> 568d95b4e321 [2024-09-10T03:17:27.443Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-09-10T03:17:28.027Z] ---> b8bcaf4012a4 [2024-09-10T03:17:28.027Z] Step 21/26 : EXPOSE 59986 [2024-09-10T03:17:28.027Z] ---> Running in b3469855da99 [2024-09-10T03:17:28.293Z] Removing intermediate container b3469855da99 [2024-09-10T03:17:28.293Z] ---> 7da1c895e485 [2024-09-10T03:17:28.293Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-09-10T03:17:28.293Z] ---> Running in c0f4d4496851 [2024-09-10T03:17:28.560Z] Removing intermediate container c0f4d4496851 [2024-09-10T03:17:28.560Z] ---> 88ace78b80b9 [2024-09-10T03:17:28.560Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-10T03:17:28.829Z] ---> Running in 20ebd40350a3 [2024-09-10T03:17:29.095Z] Removing intermediate container 20ebd40350a3 [2024-09-10T03:17:29.095Z] ---> 73b3b8f24032 [2024-09-10T03:17:29.095Z] Step 24/26 : LABEL arch=arm64 [2024-09-10T03:17:29.095Z] ---> Running in 098b5f94f510 [2024-09-10T03:17:29.362Z] Removing intermediate container 098b5f94f510 [2024-09-10T03:17:29.362Z] ---> 9448584cfd6e [2024-09-10T03:17:29.362Z] Step 25/26 : LABEL git_sha=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:17:29.362Z] ---> Running in 29d87c98e688 [2024-09-10T03:17:29.631Z] Removing intermediate container 29d87c98e688 [2024-09-10T03:17:29.631Z] ---> bd12599cd602 [2024-09-10T03:17:29.631Z] Step 26/26 : LABEL version=3.2.0-dev.21 [2024-09-10T03:17:29.898Z] ---> Running in 19bd3eb59c45 [2024-09-10T03:17:30.163Z] Removing intermediate container 19bd3eb59c45 [2024-09-10T03:17:30.164Z] ---> 2e7e4428bb2d [2024-09-10T03:17:30.164Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-10T03:17:30.164Z] Successfully built 2e7e4428bb2d [2024-09-10T03:17:30.164Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:17:30.343Z] provisioning config files... [2024-09-10T03:17:30.361Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/173@tmp/config894678472558882554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:17:30.706Z] ---> ****-login.sh [2024-09-10T03:17:30.706Z] nexus3.edgexfoundry.org:10001 [2024-09-10T03:17:30.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:17:30.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:17:30.974Z] Configure a credential helper to remove this warning. See [2024-09-10T03:17:30.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:17:30.974Z] [2024-09-10T03:17:30.974Z] Login Succeeded [2024-09-10T03:17:30.974Z] nexus3.edgexfoundry.org:10002 [2024-09-10T03:17:31.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:17:31.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:17:31.240Z] Configure a credential helper to remove this warning. See [2024-09-10T03:17:31.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:17:31.240Z] [2024-09-10T03:17:31.240Z] Login Succeeded [2024-09-10T03:17:31.240Z] nexus3.edgexfoundry.org:10003 [2024-09-10T03:17:31.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:17:31.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:17:31.775Z] Configure a credential helper to remove this warning. See [2024-09-10T03:17:31.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:17:31.775Z] [2024-09-10T03:17:31.775Z] Login Succeeded [2024-09-10T03:17:31.775Z] nexus3.edgexfoundry.org:10004 [2024-09-10T03:17:32.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:17:32.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:17:32.042Z] Configure a credential helper to remove this warning. See [2024-09-10T03:17:32.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:17:32.042Z] [2024-09-10T03:17:32.042Z] Login Succeeded [2024-09-10T03:17:32.042Z] ****.io [2024-09-10T03:17:32.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-10T03:17:32.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-10T03:17:32.574Z] Configure a credential helper to remove this warning. See [2024-09-10T03:17:32.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-10T03:17:32.574Z] [2024-09-10T03:17:32.574Z] Login Succeeded [2024-09-10T03:17:32.574Z] ---> ****-login.sh ends [Pipeline] } [2024-09-10T03:17:32.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-09-10T03:17:32.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-10T03:17:32.673Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-09-10T03:17:32.673Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:17:32.673Z] latest [2024-09-10T03:17:32.673Z] 3.2.0-dev.21 [2024-09-10T03:17:32.673Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:17:32.673Z] main [2024-09-10T03:17:32.673Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:33.060Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:33.429Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:17:33.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-09-10T03:17:33.429Z] 778f6310f943: Preparing [2024-09-10T03:17:33.429Z] 6532d85278a8: Preparing [2024-09-10T03:17:33.429Z] fa77a5920b13: Preparing [2024-09-10T03:17:33.429Z] 013c97d551a9: Preparing [2024-09-10T03:17:33.429Z] 8bf372666fa9: Preparing [2024-09-10T03:17:33.429Z] 4aeaa0e7d41f: Preparing [2024-09-10T03:17:33.429Z] 4aeaa0e7d41f: Waiting [2024-09-10T03:17:33.705Z] 778f6310f943: Pushed [2024-09-10T03:17:33.705Z] 8bf372666fa9: Pushed [2024-09-10T03:17:33.705Z] 6532d85278a8: Pushed [2024-09-10T03:17:33.705Z] 013c97d551a9: Pushed [2024-09-10T03:17:33.705Z] 4aeaa0e7d41f: Layer already exists [2024-09-10T03:17:40.350Z] fa77a5920b13: Pushed [2024-09-10T03:17:40.350Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:40.727Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:41.114Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-09-10T03:17:41.114Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-09-10T03:17:41.114Z] 778f6310f943: Preparing [2024-09-10T03:17:41.114Z] 6532d85278a8: Preparing [2024-09-10T03:17:41.114Z] fa77a5920b13: Preparing [2024-09-10T03:17:41.114Z] 013c97d551a9: Preparing [2024-09-10T03:17:41.114Z] 8bf372666fa9: Preparing [2024-09-10T03:17:41.114Z] 4aeaa0e7d41f: Preparing [2024-09-10T03:17:41.114Z] 4aeaa0e7d41f: Waiting [2024-09-10T03:17:41.114Z] 6532d85278a8: Layer already exists [2024-09-10T03:17:41.114Z] 8bf372666fa9: Layer already exists [2024-09-10T03:17:41.114Z] 013c97d551a9: Layer already exists [2024-09-10T03:17:41.114Z] fa77a5920b13: Layer already exists [2024-09-10T03:17:41.114Z] 778f6310f943: Layer already exists [2024-09-10T03:17:41.114Z] 4aeaa0e7d41f: Layer already exists [2024-09-10T03:17:41.382Z] latest: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:41.761Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:42.128Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 [2024-09-10T03:17:42.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-09-10T03:17:42.128Z] 778f6310f943: Preparing [2024-09-10T03:17:42.128Z] 6532d85278a8: Preparing [2024-09-10T03:17:42.128Z] fa77a5920b13: Preparing [2024-09-10T03:17:42.128Z] 013c97d551a9: Preparing [2024-09-10T03:17:42.128Z] 8bf372666fa9: Preparing [2024-09-10T03:17:42.128Z] 4aeaa0e7d41f: Preparing [2024-09-10T03:17:42.128Z] 4aeaa0e7d41f: Waiting [2024-09-10T03:17:42.128Z] 013c97d551a9: Layer already exists [2024-09-10T03:17:42.128Z] fa77a5920b13: Layer already exists [2024-09-10T03:17:42.128Z] 778f6310f943: Layer already exists [2024-09-10T03:17:42.128Z] 6532d85278a8: Layer already exists [2024-09-10T03:17:42.128Z] 8bf372666fa9: Layer already exists [2024-09-10T03:17:42.128Z] 4aeaa0e7d41f: Layer already exists [2024-09-10T03:17:42.397Z] 3.2.0-dev.21: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:42.765Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:43.135Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:17:43.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-09-10T03:17:43.136Z] 778f6310f943: Preparing [2024-09-10T03:17:43.136Z] 6532d85278a8: Preparing [2024-09-10T03:17:43.136Z] fa77a5920b13: Preparing [2024-09-10T03:17:43.136Z] 013c97d551a9: Preparing [2024-09-10T03:17:43.136Z] 8bf372666fa9: Preparing [2024-09-10T03:17:43.136Z] 4aeaa0e7d41f: Preparing [2024-09-10T03:17:43.136Z] 4aeaa0e7d41f: Waiting [2024-09-10T03:17:43.136Z] fa77a5920b13: Layer already exists [2024-09-10T03:17:43.136Z] 013c97d551a9: Layer already exists [2024-09-10T03:17:43.136Z] 6532d85278a8: Layer already exists [2024-09-10T03:17:43.136Z] 778f6310f943: Layer already exists [2024-09-10T03:17:43.136Z] 8bf372666fa9: Layer already exists [2024-09-10T03:17:43.136Z] 4aeaa0e7d41f: Layer already exists [2024-09-10T03:17:43.404Z] 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:43.780Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:44.153Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-09-10T03:17:44.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-09-10T03:17:44.153Z] 778f6310f943: Preparing [2024-09-10T03:17:44.153Z] 6532d85278a8: Preparing [2024-09-10T03:17:44.153Z] fa77a5920b13: Preparing [2024-09-10T03:17:44.153Z] 013c97d551a9: Preparing [2024-09-10T03:17:44.153Z] 8bf372666fa9: Preparing [2024-09-10T03:17:44.153Z] 4aeaa0e7d41f: Preparing [2024-09-10T03:17:44.153Z] 4aeaa0e7d41f: Waiting [2024-09-10T03:17:44.153Z] fa77a5920b13: Layer already exists [2024-09-10T03:17:44.153Z] 013c97d551a9: Layer already exists [2024-09-10T03:17:44.153Z] 8bf372666fa9: Layer already exists [2024-09-10T03:17:44.153Z] 6532d85278a8: Layer already exists [2024-09-10T03:17:44.153Z] 778f6310f943: Layer already exists [2024-09-10T03:17:44.153Z] 4aeaa0e7d41f: Layer already exists [2024-09-10T03:17:44.421Z] main: digest: sha256:c57d587b823947dbda9b3066d36216321616420964f88352437c3d3f7ec59f91 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-09-10T03:17:44.508Z] ===================================================== [Pipeline] echo [2024-09-10T03:17:44.523Z] taggedImages: [2024-09-10T03:17:44.523Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [2024-09-10T03:17:44.523Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-09-10T03:17:44.523Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.21 [2024-09-10T03:17:44.523Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869-3.2.0-dev.21 [2024-09-10T03:17:44.523Z] - 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 [2024-09-10T03:17:44.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T03:17:44.939Z] [2024-09-10T03:17:44.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:17:45.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T03:17:45.282Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-10T03:17:45.282Z] 8998bd30e6a1: Pulling fs layer [2024-09-10T03:17:45.282Z] 04944245beec: Pulling fs layer [2024-09-10T03:17:45.282Z] 699f458cf7ca: Pulling fs layer [2024-09-10T03:17:45.282Z] 765212b225bb: Pulling fs layer [2024-09-10T03:17:45.282Z] f23df028b6ca: Pulling fs layer [2024-09-10T03:17:45.282Z] d65c8cfc05b1: Pulling fs layer [2024-09-10T03:17:45.282Z] 2437ff75d9bd: Pulling fs layer [2024-09-10T03:17:45.282Z] f23df028b6ca: Waiting [2024-09-10T03:17:45.282Z] d65c8cfc05b1: Waiting [2024-09-10T03:17:45.282Z] 2437ff75d9bd: Waiting [2024-09-10T03:17:45.282Z] 765212b225bb: Waiting [2024-09-10T03:17:45.551Z] 04944245beec: Verifying Checksum [2024-09-10T03:17:45.551Z] 04944245beec: Download complete [2024-09-10T03:17:45.551Z] 765212b225bb: Verifying Checksum [2024-09-10T03:17:45.551Z] 765212b225bb: Download complete [2024-09-10T03:17:45.551Z] f23df028b6ca: Verifying Checksum [2024-09-10T03:17:45.551Z] f23df028b6ca: Download complete [2024-09-10T03:17:45.551Z] d65c8cfc05b1: Verifying Checksum [2024-09-10T03:17:45.551Z] d65c8cfc05b1: Download complete [2024-09-10T03:17:45.845Z] 699f458cf7ca: Verifying Checksum [2024-09-10T03:17:45.845Z] 699f458cf7ca: Download complete [2024-09-10T03:17:46.438Z] 8998bd30e6a1: Verifying Checksum [2024-09-10T03:17:46.438Z] 8998bd30e6a1: Download complete [2024-09-10T03:17:49.019Z] 2437ff75d9bd: Verifying Checksum [2024-09-10T03:17:49.020Z] 2437ff75d9bd: Download complete [2024-09-10T03:17:51.607Z] 8998bd30e6a1: Pull complete [2024-09-10T03:17:51.607Z] 04944245beec: Pull complete [2024-09-10T03:17:53.554Z] 699f458cf7ca: Pull complete [2024-09-10T03:17:53.823Z] 765212b225bb: Pull complete [2024-09-10T03:17:54.782Z] f23df028b6ca: Pull complete [2024-09-10T03:17:55.049Z] d65c8cfc05b1: Pull complete [2024-09-10T03:18:13.261Z] 2437ff75d9bd: Pull complete [2024-09-10T03:18:13.261Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-10T03:18:13.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-10T03:18:13.261Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:18:13.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-9945 does not seem to be running inside a container [2024-09-10T03:18:13.544Z] $ 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/173 -v /w/workspace/device-rest-go/173:/w/workspace/device-rest-go/173:rw,z -v /w/workspace/device-rest-go/173@tmp:/w/workspace/device-rest-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-10T03:18:16.440Z] $ docker top cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:18:16.965Z] ---> job-cost.sh [2024-09-10T03:18:17.229Z] lf-activate-venv: SKIPPING [2024-09-10T03:18:17.229Z] INFO: No Stack... [2024-09-10T03:18:17.810Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-10T03:18:18.392Z] INFO: Archiving Costs [Pipeline] sh [2024-09-10T03:18:19.030Z] + cat /w/workspace/device-rest-go/173/archives/cost.csv [2024-09-10T03:18:19.030Z] + cut -d, -f6 [Pipeline] lock [2024-09-10T03:18:19.085Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [2024-09-10T03:18:19.097Z] Resource [jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] did not exist. Created. [2024-09-10T03:18:19.104Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-10T03:18:19.767Z] /w/workspace/device-rest-go/173@tmp/durable-0e2e2865/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-10T03:18:20.087Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-10T03:18:20.102Z] Warning: overwriting stash ‘stack-cost’ [2024-09-10T03:18:20.151Z] Stashed 1 file(s) [Pipeline] } [2024-09-10T03:18:20.162Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-10T03:18:20.175Z] $ docker stop --time=1 cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 [2024-09-10T03:18:21.644Z] $ docker rm -f --volumes cd31f1315ae29b5d6e3b008d1774b12ed81db667f37f5b4067acd0f26e519fb6 [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 [2024-09-10T03:18:22.152Z] provisioning config files... [2024-09-10T03:18:22.159Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3254770221096216633tmp [Pipeline] { [Pipeline] sh [2024-09-10T03:18:22.502Z] + set +x [2024-09-10T03:18:22.502Z] + + bash -s -- [2024-09-10T03:18:22.502Z] curl -s https://codecov.io/bash [2024-09-10T03:18:22.502Z] [2024-09-10T03:18:22.502Z] _____ _ [2024-09-10T03:18:22.502Z] / ____| | | [2024-09-10T03:18:22.502Z] | | ___ __| | ___ ___ _____ __ [2024-09-10T03:18:22.502Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-10T03:18:22.502Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-10T03:18:22.502Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-10T03:18:22.502Z] Bash-1.0.6 [2024-09-10T03:18:22.502Z] [2024-09-10T03:18:22.502Z] [2024-09-10T03:18:22.502Z] ==> git version 2.25.1 found [2024-09-10T03:18:22.502Z] ==> 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 [2024-09-10T03:18:22.502Z] Release-Date: 2020-01-08 [2024-09-10T03:18:22.502Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-10T03:18:22.502Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-10T03:18:22.503Z] ==> Jenkins CI detected. [2024-09-10T03:18:22.503Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-09-10T03:18:22.503Z] project root: . [2024-09-10T03:18:22.503Z] --> token set from env [2024-09-10T03:18:22.503Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-10T03:18:22.503Z] ==> Running gcov in . (disable via -X gcov) [2024-09-10T03:18:22.503Z] ==> Python coveragepy not found [2024-09-10T03:18:22.503Z] ==> Searching for coverage reports in: [2024-09-10T03:18:22.503Z] + . [2024-09-10T03:18:22.503Z] -> Found 1 reports [2024-09-10T03:18:22.503Z] ==> Detecting git/mercurial file structure [2024-09-10T03:18:22.503Z] ==> Reading reports [2024-09-10T03:18:22.503Z] + ./coverage.out bytes=14499 [2024-09-10T03:18:22.503Z] ==> Appending adjustments [2024-09-10T03:18:22.503Z] https://docs.codecov.io/docs/fixing-reports [2024-09-10T03:18:22.786Z] + Found adjustments [2024-09-10T03:18:22.787Z] ==> Gzipping contents [2024-09-10T03:18:22.787Z] 4.0K /tmp/codecov.PbEQSM.gz [2024-09-10T03:18:22.787Z] ==> Uploading reports [2024-09-10T03:18:22.787Z] url: https://codecov.io [2024-09-10T03:18:22.787Z] query: branch=main&commit=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-09-10T03:18:22.787Z] -> Pinging Codecov [2024-09-10T03:18:22.787Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869&build=173&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F173%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-09-10T03:18:22.787Z] -> Uploading to [2024-09-10T03:18:22.787Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-10/4E5D53B4F1F92C436F7061BF334D961C/735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869/d8e339fc-9ae7-4a4d-abd4-76de3d6f0768.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240910%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240910T031822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef0c66e749c53d4a39eac173db3fdf64caac949101a41103ba274e7401fcab07 [2024-09-10T03:18:22.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-10T03:18:22.787Z] Dload Upload Total Spent Left Speed [2024-09-10T03:18:23.061Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9284 --:--:-- --:--:-- --:--:-- 9284 [2024-09-10T03:18:23.061Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] } [2024-09-10T03:18:23.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-09-10T03:18:23.221Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-09-10T03:18:23.248Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:18:23.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-09-10T03:18:23.549Z] [2024-09-10T03:18:23.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:18:23.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-09-10T03:18:23.853Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-09-10T03:18:23.853Z] 619be1103602: Already exists [2024-09-10T03:18:23.853Z] f8ea3408117e: Pulling fs layer [2024-09-10T03:18:23.853Z] 91320369b822: Pulling fs layer [2024-09-10T03:18:23.853Z] 0406650e8295: Pulling fs layer [2024-09-10T03:18:23.853Z] 4f4fb700ef54: Pulling fs layer [2024-09-10T03:18:23.853Z] 96d80e3f36e1: Pulling fs layer [2024-09-10T03:18:23.853Z] bcf3aedb951c: Pulling fs layer [2024-09-10T03:18:23.853Z] 4f4fb700ef54: Waiting [2024-09-10T03:18:23.853Z] 96d80e3f36e1: Waiting [2024-09-10T03:18:23.853Z] bcf3aedb951c: Waiting [2024-09-10T03:18:23.853Z] f8ea3408117e: Verifying Checksum [2024-09-10T03:18:23.853Z] f8ea3408117e: Download complete [2024-09-10T03:18:23.853Z] 0406650e8295: Verifying Checksum [2024-09-10T03:18:23.853Z] 0406650e8295: Download complete [2024-09-10T03:18:23.853Z] 4f4fb700ef54: Verifying Checksum [2024-09-10T03:18:23.853Z] 4f4fb700ef54: Download complete [2024-09-10T03:18:23.853Z] f8ea3408117e: Pull complete [2024-09-10T03:18:24.111Z] 96d80e3f36e1: Verifying Checksum [2024-09-10T03:18:24.111Z] 96d80e3f36e1: Download complete [2024-09-10T03:18:24.371Z] 91320369b822: Verifying Checksum [2024-09-10T03:18:24.371Z] 91320369b822: Download complete [2024-09-10T03:18:24.938Z] bcf3aedb951c: Verifying Checksum [2024-09-10T03:18:24.938Z] bcf3aedb951c: Download complete [2024-09-10T03:18:27.495Z] 91320369b822: Pull complete [2024-09-10T03:18:27.495Z] 0406650e8295: Pull complete [2024-09-10T03:18:27.495Z] 4f4fb700ef54: Pull complete [2024-09-10T03:18:27.753Z] 96d80e3f36e1: Pull complete [2024-09-10T03:18:31.033Z] bcf3aedb951c: Pull complete [2024-09-10T03:18:31.033Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-09-10T03:18:31.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-09-10T03:18:31.033Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:18:31.133Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:18:31.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-09-10T03:18:34.708Z] $ docker top 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:18:35.064Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-09-10T03:18:35.078Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-09-10T03:18:35.365Z] + set -o pipefail [2024-09-10T03:18:35.365Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-09-10T03:18:41.927Z] [2024-09-10T03:18:41.927Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-09-10T03:18:41.927Z] [2024-09-10T03:18:41.927Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/c787b185-2d0b-428f-ba23-6b057fce03fc [2024-09-10T03:18:41.927Z] [2024-09-10T03:18:41.927Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-09-10T03:18:41.927Z] [2024-09-10T03:18:41.927Z] [2024-09-10T03:18:41.927Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-09-10T03:18:41.927Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-09-10T03:18:41.934Z] $ docker stop --time=1 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 [2024-09-10T03:18:45.593Z] $ docker rm -f --volumes 609132a5606c820eb235c7cb0e77e07fafd632233a688d2ca375fdb955b5c091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-10T03:18:46.510Z] + git log --format=format:%s -1 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 [Pipeline] sh [2024-09-10T03:18:46.808Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-10T03:18:46.808Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:18:47.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:18:47.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:18:47.201Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:18:47.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-10T03:18:47.669Z] $ docker top 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-10T03:18:47.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T03:18:47.896Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T03:18:48.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T03:18:48.014Z] $ docker exec 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 ssh-agent [2024-09-10T03:18:48.110Z] SSH_AUTH_SOCK=/tmp/ssh-lNahu1d6aRjH/agent.31 [2024-09-10T03:18:48.110Z] SSH_AGENT_PID=37 [2024-09-10T03:18:48.117Z] Running ssh-add (command line suppressed) [2024-09-10T03:18:48.202Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2778722312899173331.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2778722312899173331.key) [2024-09-10T03:18:48.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T03:18:48.625Z] + git semver tag [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,793 [run_tag] DEBUG tag force:False [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,793 [check_head_tag] DEBUG check head tag [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,794 [execute] INFO git cat-file --batch-check [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,798 [execute] INFO git cat-file --batch [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,816 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,816 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-09-10T03:18:48.884Z] 2024-09-10 03:18:48,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:18:48.884Z] 3.2.0-dev.21 [Pipeline] } [2024-09-10T03:18:48.889Z] $ docker exec --env ******** --env ******** 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 ssh-agent -k [2024-09-10T03:18:48.981Z] unset SSH_AUTH_SOCK; [2024-09-10T03:18:48.981Z] unset SSH_AGENT_PID; [2024-09-10T03:18:48.981Z] echo Agent pid 37 killed; [2024-09-10T03:18:48.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-10T03:18:49.332Z] + git semver [Pipeline] } [2024-09-10T03:18:49.599Z] $ docker stop --time=1 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 [2024-09-10T03:18:50.861Z] $ docker rm -f --volumes 59cb193b885c27002d29e7520a0f9f5d72976fb76ac0fc724eac17287901ce47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:18:51.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-10T03:18:51.288Z] [2024-09-10T03:18:51.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:18:51.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-10T03:18:51.588Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-09-10T03:18:51.588Z] ab5ef0e58194: Pulling fs layer [2024-09-10T03:18:51.588Z] 9712f1f96733: Pulling fs layer [2024-09-10T03:18:51.588Z] 63f879dbbcfc: Pulling fs layer [2024-09-10T03:18:51.588Z] 0d9ebad4ef96: Pulling fs layer [2024-09-10T03:18:51.588Z] e9a5061849ea: Pulling fs layer [2024-09-10T03:18:51.588Z] d747dcd14b5f: Pulling fs layer [2024-09-10T03:18:51.588Z] 2de7ff778b66: Pulling fs layer [2024-09-10T03:18:51.588Z] 0d9ebad4ef96: Waiting [2024-09-10T03:18:51.588Z] e9a5061849ea: Waiting [2024-09-10T03:18:51.588Z] d747dcd14b5f: Waiting [2024-09-10T03:18:51.588Z] 2de7ff778b66: Waiting [2024-09-10T03:18:51.588Z] 9712f1f96733: Verifying Checksum [2024-09-10T03:18:51.588Z] 9712f1f96733: Download complete [2024-09-10T03:18:51.848Z] 63f879dbbcfc: Verifying Checksum [2024-09-10T03:18:51.848Z] 63f879dbbcfc: Download complete [2024-09-10T03:18:52.106Z] e9a5061849ea: Verifying Checksum [2024-09-10T03:18:52.106Z] e9a5061849ea: Download complete [2024-09-10T03:18:52.106Z] d747dcd14b5f: Verifying Checksum [2024-09-10T03:18:52.106Z] d747dcd14b5f: Download complete [2024-09-10T03:18:52.106Z] 0d9ebad4ef96: Verifying Checksum [2024-09-10T03:18:52.106Z] 0d9ebad4ef96: Download complete [2024-09-10T03:18:52.106Z] ab5ef0e58194: Verifying Checksum [2024-09-10T03:18:52.106Z] ab5ef0e58194: Download complete [2024-09-10T03:18:52.106Z] 2de7ff778b66: Verifying Checksum [2024-09-10T03:18:52.106Z] 2de7ff778b66: Download complete [2024-09-10T03:18:54.635Z] ab5ef0e58194: Pull complete [2024-09-10T03:18:54.635Z] 9712f1f96733: Pull complete [2024-09-10T03:18:55.567Z] 63f879dbbcfc: Pull complete [2024-09-10T03:18:58.862Z] 0d9ebad4ef96: Pull complete [2024-09-10T03:18:59.436Z] e9a5061849ea: Pull complete [2024-09-10T03:18:59.436Z] d747dcd14b5f: Pull complete [2024-09-10T03:19:00.811Z] 2de7ff778b66: Pull complete [2024-09-10T03:19:00.811Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-09-10T03:19:01.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-10T03:19:01.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:19:01.178Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:19:01.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-09-10T03:19:07.427Z] $ docker top 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:19:07.509Z] provisioning config files... [2024-09-10T03:19:07.516Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15041134956402153408tmp [2024-09-10T03:19:07.525Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11136693259218013825tmp [2024-09-10T03:19:07.533Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7592466314310143712tmp [Pipeline] { [Pipeline] echo [2024-09-10T03:19:07.564Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:07.863Z] ---> sigul-configuration.sh [2024-09-10T03:19:07.864Z] gpg: directory `/root/.gnupg' created [2024-09-10T03:19:07.864Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-09-10T03:19:07.864Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-09-10T03:19:07.864Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-09-10T03:19:07.864Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-09-10T03:19:07.864Z] gpg: CAST5 encrypted data [2024-09-10T03:19:07.864Z] gpg: encrypted with 1 passphrase [2024-09-10T03:19:07.864Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-09-10T03:19:08.173Z] + mkdir /home/jenkins [2024-09-10T03:19:08.173Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-09-10T03:19:08.473Z] + 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 [2024-09-10T03:19:08.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:08.790Z] ---> sigul-install.sh [2024-09-10T03:19:08.790Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-09-10T03:19:09.090Z] + git tag --list [2024-09-10T03:19:09.090Z] v1.0.0 [2024-09-10T03:19:09.090Z] v1.1.0 [2024-09-10T03:19:09.090Z] v1.1.1 [2024-09-10T03:19:09.090Z] v1.1.2 [2024-09-10T03:19:09.090Z] v1.2.0 [2024-09-10T03:19:09.090Z] v1.2.1 [2024-09-10T03:19:09.090Z] v2.0.0 [2024-09-10T03:19:09.090Z] v2.1.0 [2024-09-10T03:19:09.090Z] v2.1.1 [2024-09-10T03:19:09.090Z] v2.2.0 [2024-09-10T03:19:09.090Z] v2.3.0 [2024-09-10T03:19:09.090Z] v3.0 [2024-09-10T03:19:09.090Z] v3.0.0 [2024-09-10T03:19:09.090Z] v3.1 [2024-09-10T03:19:09.090Z] v3.1.0 [2024-09-10T03:19:09.090Z] v3.1.0-dev.1 [2024-09-10T03:19:09.090Z] v3.1.0-dev.10 [2024-09-10T03:19:09.090Z] v3.1.0-dev.11 [2024-09-10T03:19:09.090Z] v3.1.0-dev.12 [2024-09-10T03:19:09.090Z] v3.1.0-dev.13 [2024-09-10T03:19:09.090Z] v3.1.0-dev.14 [2024-09-10T03:19:09.090Z] v3.1.0-dev.15 [2024-09-10T03:19:09.090Z] v3.1.0-dev.16 [2024-09-10T03:19:09.090Z] v3.1.0-dev.17 [2024-09-10T03:19:09.090Z] v3.1.0-dev.18 [2024-09-10T03:19:09.090Z] v3.1.0-dev.19 [2024-09-10T03:19:09.090Z] v3.1.0-dev.2 [2024-09-10T03:19:09.090Z] v3.1.0-dev.20 [2024-09-10T03:19:09.090Z] v3.1.0-dev.21 [2024-09-10T03:19:09.090Z] v3.1.0-dev.22 [2024-09-10T03:19:09.090Z] v3.1.0-dev.23 [2024-09-10T03:19:09.090Z] v3.1.0-dev.24 [2024-09-10T03:19:09.090Z] v3.1.0-dev.25 [2024-09-10T03:19:09.090Z] v3.1.0-dev.26 [2024-09-10T03:19:09.090Z] v3.1.0-dev.27 [2024-09-10T03:19:09.090Z] v3.1.0-dev.28 [2024-09-10T03:19:09.090Z] v3.1.0-dev.29 [2024-09-10T03:19:09.090Z] v3.1.0-dev.3 [2024-09-10T03:19:09.090Z] v3.1.0-dev.30 [2024-09-10T03:19:09.090Z] v3.1.0-dev.31 [2024-09-10T03:19:09.090Z] v3.1.0-dev.32 [2024-09-10T03:19:09.090Z] v3.1.0-dev.4 [2024-09-10T03:19:09.090Z] v3.1.0-dev.5 [2024-09-10T03:19:09.090Z] v3.1.0-dev.6 [2024-09-10T03:19:09.090Z] v3.1.0-dev.7 [2024-09-10T03:19:09.090Z] v3.1.0-dev.8 [2024-09-10T03:19:09.090Z] v3.1.0-dev.9 [2024-09-10T03:19:09.090Z] v3.1.1 [2024-09-10T03:19:09.090Z] v3.2.0-dev.1 [2024-09-10T03:19:09.090Z] v3.2.0-dev.10 [2024-09-10T03:19:09.090Z] v3.2.0-dev.11 [2024-09-10T03:19:09.090Z] v3.2.0-dev.12 [2024-09-10T03:19:09.090Z] v3.2.0-dev.13 [2024-09-10T03:19:09.090Z] v3.2.0-dev.14 [2024-09-10T03:19:09.090Z] v3.2.0-dev.15 [2024-09-10T03:19:09.090Z] v3.2.0-dev.16 [2024-09-10T03:19:09.090Z] v3.2.0-dev.17 [2024-09-10T03:19:09.090Z] v3.2.0-dev.18 [2024-09-10T03:19:09.090Z] v3.2.0-dev.19 [2024-09-10T03:19:09.090Z] v3.2.0-dev.2 [2024-09-10T03:19:09.090Z] v3.2.0-dev.20 [2024-09-10T03:19:09.090Z] v3.2.0-dev.21 [2024-09-10T03:19:09.090Z] v3.2.0-dev.3 [2024-09-10T03:19:09.090Z] v3.2.0-dev.4 [2024-09-10T03:19:09.090Z] v3.2.0-dev.5 [2024-09-10T03:19:09.090Z] v3.2.0-dev.6 [2024-09-10T03:19:09.090Z] v3.2.0-dev.7 [2024-09-10T03:19:09.090Z] v3.2.0-dev.8 [2024-09-10T03:19:09.090Z] v3.2.0-dev.9 [Pipeline] sh [2024-09-10T03:19:09.425Z] + lftools sign git-tag v3.2.0-dev.21 [2024-09-10T03:19:09.994Z] Signing Git tag with Sigul... [2024-09-10T03:19:09.994Z] Signing v3.2.0-dev.21 [Pipeline] echo [2024-09-10T03:19:10.268Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:10.557Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-09-10T03:19:10.563Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-09-10T03:19:10.693Z] $ docker stop --time=1 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd [2024-09-10T03:19:12.176Z] $ docker rm -f --volumes 056cab08c9408149a55a17e388d70123a704a192ce4764ad0e0286fc3f31dacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-09-10T03:19:12.611Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-10T03:19:12.611Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:19:12.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:19:12.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:19:13.004Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:19:13.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-10T03:19:13.539Z] $ docker top a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 -eo pid,comm [2024-09-10T03:19:13.590Z] 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). [2024-09-10T03:19:13.590Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-10T03:19:13.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T03:19:13.642Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T03:19:13.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T03:19:13.748Z] $ docker exec a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 ssh-agent [2024-09-10T03:19:13.899Z] SSH_AUTH_SOCK=/tmp/ssh-vuJ2Q2bLjbVJ/agent.26 [2024-09-10T03:19:13.899Z] SSH_AGENT_PID=37 [2024-09-10T03:19:13.905Z] Running ssh-add (command line suppressed) [2024-09-10T03:19:14.016Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6168077131833196946.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6168077131833196946.key) [2024-09-10T03:19:14.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T03:19:14.342Z] + git semver bump pre [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,599 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,599 [bump_version] DEBUG bumped version:3.2.0-dev.22 [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,599 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,599 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,602 [execute] INFO git cat-file --batch-check [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,609 [execute] INFO git cat-file --batch [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-10T03:19:14.931Z] 2024-09-10 03:19:14,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:19:14.931Z] 3.2.0-dev.22 [Pipeline] } [2024-09-10T03:19:14.935Z] $ docker exec --env ******** --env ******** a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 ssh-agent -k [2024-09-10T03:19:15.064Z] unset SSH_AUTH_SOCK; [2024-09-10T03:19:15.064Z] unset SSH_AGENT_PID; [2024-09-10T03:19:15.064Z] echo Agent pid 37 killed; [2024-09-10T03:19:15.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-10T03:19:15.402Z] + git semver [Pipeline] } [2024-09-10T03:19:15.667Z] $ docker stop --time=1 a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 [2024-09-10T03:19:17.057Z] $ docker rm -f --volumes a672891b78dc4690031dde3533ba2c61ae20ddbd592f6a9b5219356858dd6a67 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-10T03:19:17.610Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-10T03:19:17.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:19:17.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-10T03:19:17.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:19:17.986Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:19:18.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-10T03:19:18.438Z] $ docker top e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 -eo pid,comm [2024-09-10T03:19:18.487Z] 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). [2024-09-10T03:19:18.487Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-10T03:19:18.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-10T03:19:18.551Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-10T03:19:18.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-10T03:19:18.678Z] $ docker exec e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 ssh-agent [2024-09-10T03:19:18.789Z] SSH_AUTH_SOCK=/tmp/ssh-sRWJNdavGXqL/agent.32 [2024-09-10T03:19:18.789Z] SSH_AGENT_PID=38 [2024-09-10T03:19:18.794Z] Running ssh-add (command line suppressed) [2024-09-10T03:19:18.892Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7899925064770539334.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7899925064770539334.key) [2024-09-10T03:19:18.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-10T03:19:19.203Z] + git semver push [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,390 [run_push] DEBUG push [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,391 [execute] INFO git cat-file --batch-check [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,395 [execute] INFO git rev-list e5055281eb516ca4839fd8f49a6d84fe697e5612 -- [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,395 [execute] DEBUG Popen(['git', 'rev-list', 'e5055281eb516ca4839fd8f49a6d84fe697e5612', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,405 [execute] INFO git fetch -v origin [2024-09-10T03:19:19.461Z] 2024-09-10 03:19:19,406 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-09-10T03:19:20.029Z] 2024-09-10 03:19:19,854 [run_push] DEBUG no remote changes detected [2024-09-10T03:19:20.029Z] 2024-09-10 03:19:19,854 [execute] INFO git push origin semver [2024-09-10T03:19:20.029Z] 2024-09-10 03:19:19,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-10T03:19:20.595Z] 2024-09-10 03:19:20,481 [run_push] DEBUG push all version tags [2024-09-10T03:19:20.595Z] 2024-09-10 03:19:20,482 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-09-10T03:19:20.595Z] 2024-09-10 03:19:20,482 [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) [2024-09-10T03:19:21.161Z] 2024-09-10 03:19:21,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-09-10T03:19:21.161Z] 3.2.0-dev.22 [Pipeline] } [2024-09-10T03:19:21.164Z] $ docker exec --env ******** --env ******** e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 ssh-agent -k [2024-09-10T03:19:21.266Z] unset SSH_AUTH_SOCK; [2024-09-10T03:19:21.267Z] unset SSH_AGENT_PID; [2024-09-10T03:19:21.267Z] echo Agent pid 38 killed; [2024-09-10T03:19:21.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-10T03:19:21.598Z] + git semver [Pipeline] } [2024-09-10T03:19:21.859Z] $ docker stop --time=1 e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 [2024-09-10T03:19:23.336Z] $ docker rm -f --volumes e033d324e4875e661b3db84a8f513f27f6f40d5387af376e8c2c28fe543de325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-10T03:19:24.026Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-09-10T03:19:24.027Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-09-10T03:19:24.027Z] total 16 [2024-09-10T03:19:24.027Z] drwxr-xr-x 3 root root 4096 Sep 10 03:04 . [2024-09-10T03:19:24.027Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 03:19 .. [2024-09-10T03:19:24.027Z] drwxr-xr-x 2 root root 4096 Sep 10 03:04 cost [2024-09-10T03:19:24.027Z] -rw-r--r-- 1 root root 86 Sep 10 03:04 cost.csv [2024-09-10T03:19:24.027Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-09-10T03:19:24.027Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-09-10T03:19:24.027Z] total 16 [2024-09-10T03:19:24.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 03:04 . [2024-09-10T03:19:24.027Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 03:19 .. [2024-09-10T03:19:24.027Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 10 03:04 cost [2024-09-10T03:19:24.027Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 10 03:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:24.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:25.169Z] ---> package-listing.sh [2024-09-10T03:19:25.169Z] ++ facter osfamily [2024-09-10T03:19:25.169Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-10T03:19:25.429Z] + OS_FAMILY=debian [2024-09-10T03:19:25.429Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-09-10T03:19:25.429Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-10T03:19:25.429Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-10T03:19:25.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-10T03:19:25.429Z] + PACKAGES=/tmp/packages_start.txt [2024-09-10T03:19:25.429Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-09-10T03:19:25.429Z] + PACKAGES=/tmp/packages_end.txt [2024-09-10T03:19:25.429Z] + case "${OS_FAMILY}" in [2024-09-10T03:19:25.429Z] + dpkg -l [2024-09-10T03:19:25.429Z] + grep '^ii' [2024-09-10T03:19:25.429Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-10T03:19:25.429Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-10T03:19:25.429Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-10T03:19:25.429Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-09-10T03:19:25.429Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-09-10T03:19:25.429Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-09-10T03:19:25.438Z] 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 [2024-09-10T03:19:25.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-10T03:19:26.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-10T03:19:26.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-10T03:19:26.358Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2024-09-10T03:19:26.395Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-10T03:19:26.930Z] $ docker top 7b18c1cb892c07f9637901db079d714e4dd36b12fbcd7060a900301ae31f6870 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-10T03:19:27.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-10T03:19:27.580Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-10T03:19:27.861Z] + ls /var/log/sa-host [2024-09-10T03:19:27.862Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-10T03:19:27.949Z] provisioning config files... [2024-09-10T03:19:27.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17505409266462314035tmp [Pipeline] { [Pipeline] echo [2024-09-10T03:19:27.972Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:28.258Z] ---> create-netrc.sh [Pipeline] } [2024-09-10T03:19:28.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:28.591Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-10T03:19:28.601Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:28.892Z] ---> sudo-logs.sh [2024-09-10T03:19:28.892Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-10T03:19:28.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:29.210Z] ---> job-cost.sh [2024-09-10T03:19:29.210Z] lf-activate-venv: SKIPPING [2024-09-10T03:19:29.210Z] DEBUG: total: 0.2199999988079071 [2024-09-10T03:19:29.210Z] INFO: Retrieving Stack Cost... [2024-09-10T03:19:29.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-10T03:19:29.729Z] INFO: Archiving Costs [Pipeline] echo [2024-09-10T03:19:29.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-10T03:19:30.027Z] ---> logs-deploy.sh [2024-09-10T03:19:30.027Z] lf-activate-venv: SKIPPING [2024-09-10T03:19:30.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/173 [2024-09-10T03:19:30.027Z] INFO: archiving workspace using pattern(s): [2024-09-10T03:19:30.962Z] Archives upload complete. [2024-09-10T03:19:30.962Z] INFO: archiving logs to Nexus