Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 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-ssh17669710296978360163.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7213685342926200035.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17614803426547464985.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1087867354733887826.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-ssh13743197326026544628.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-10103 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354)" > git rev-list --no-walk 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T18:24:57.525Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T18:24:57.578Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T18:24:57.594Z] ========================================================= [2023-10-24T18:24:57.594Z] EdgeX Global Pipelines Version Info [2023-10-24T18:24:57.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:24:58.307Z] ------------------- [2023-10-24T18:24:58.307Z] stable info: [2023-10-24T18:24:58.307Z] ------------------- [2023-10-24T18:24:58.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T18:24:58.307Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:24:58.307Z] Message: update stable to v1.0.254 [2023-10-24T18:24:59.256Z] ------------------- [2023-10-24T18:24:59.256Z] experimental info: [2023-10-24T18:24:59.256Z] ------------------- [2023-10-24T18:24:59.256Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T18:24:59.256Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:24:59.256Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T18:24:59.431Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-24T18:24:59.443Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-24T18:24:59.460Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T18:24:59.473Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T18:24:59.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T18:24:59.500Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T18:24:59.511Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T18:24:59.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T18:24:59.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T18:24:59.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T18:24:59.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T18:24:59.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-24T18:24:59.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T18:24:59.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T18:24:59.625Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:24:59.638Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:24:59.651Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:24:59.663Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:24:59.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T18:24:59.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T18:24:59.703Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T18:24:59.717Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T18:24:59.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T18:24:59.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T18:24:59.761Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T18:24:59.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T18:24:59.802Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T18:24:59.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T18:24:59.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T18:24:59.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T18:24:59.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo [2023-10-24T18:24:59.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c77e3e [Pipeline] echo [2023-10-24T18:24:59.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:24:59.941Z] provisioning config files... [2023-10-24T18:24:59.956Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5599139669437283856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:25:00.261Z] ---> docker-login.sh [2023-10-24T18:25:00.261Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:25:00.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:00.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:00.520Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:00.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:00.520Z] [2023-10-24T18:25:00.520Z] Login Succeeded [2023-10-24T18:25:00.520Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:25:00.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:00.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:00.778Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:00.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:00.778Z] [2023-10-24T18:25:00.778Z] Login Succeeded [2023-10-24T18:25:00.778Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:25:00.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:00.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:00.778Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:00.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:00.778Z] [2023-10-24T18:25:00.778Z] Login Succeeded [2023-10-24T18:25:00.778Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:25:00.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:00.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:00.778Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:00.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:00.778Z] [2023-10-24T18:25:00.778Z] Login Succeeded [2023-10-24T18:25:00.778Z] docker.io [2023-10-24T18:25:01.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:01.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:01.298Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:01.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:01.298Z] [2023-10-24T18:25:01.298Z] Login Succeeded [2023-10-24T18:25:01.298Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:25:01.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T18:25:01.684Z] + git rev-list -1 --merges 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d~1..1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo [2023-10-24T18:25:01.740Z] -----------> git rev-list -1 --merges 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d~1..1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [false] [Pipeline] sh [2023-10-24T18:25:02.030Z] + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo [2023-10-24T18:25:02.044Z] ========================================================= [2023-10-24T18:25:02.044Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T18:25:02.044Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:25:02.385Z] + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo [2023-10-24T18:25:02.396Z] [semverPrep] GIT_COMMIT: 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354) [Pipeline] echo [2023-10-24T18:25:02.406Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T18:25:02.751Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:25:02.752Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T18:25:02.752Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T18:25:02.752Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T18:25:02.752Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T18:25:02.752Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T18:25:02.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:25:03.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:25:03.104Z] [2023-10-24T18:25:03.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:25:03.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:25:03.401Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T18:25:03.401Z] b85a868b505f: Pulling fs layer [2023-10-24T18:25:03.401Z] e2be974225ed: Pulling fs layer [2023-10-24T18:25:03.401Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T18:25:03.401Z] 988bab9f4d93: Pulling fs layer [2023-10-24T18:25:03.401Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T18:25:03.401Z] 988bab9f4d93: Waiting [2023-10-24T18:25:03.401Z] eaf3925da568: Pulling fs layer [2023-10-24T18:25:03.401Z] 1469e6f7b9e6: Waiting [2023-10-24T18:25:03.401Z] bab4dde63d76: Pulling fs layer [2023-10-24T18:25:03.401Z] bde34c3a00c8: Pulling fs layer [2023-10-24T18:25:03.401Z] eaf3925da568: Waiting [2023-10-24T18:25:03.401Z] bab4dde63d76: Waiting [2023-10-24T18:25:03.401Z] b352a97aabf1: Pulling fs layer [2023-10-24T18:25:03.401Z] bde34c3a00c8: Waiting [2023-10-24T18:25:03.401Z] b352a97aabf1: Waiting [2023-10-24T18:25:03.401Z] 4872d77fe225: Pulling fs layer [2023-10-24T18:25:03.401Z] 5851b861e8e6: Pulling fs layer [2023-10-24T18:25:03.401Z] 4872d77fe225: Waiting [2023-10-24T18:25:03.401Z] e2be974225ed: Verifying Checksum [2023-10-24T18:25:03.401Z] e2be974225ed: Download complete [2023-10-24T18:25:03.401Z] 988bab9f4d93: Verifying Checksum [2023-10-24T18:25:03.401Z] 988bab9f4d93: Download complete [2023-10-24T18:25:03.664Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T18:25:03.664Z] 1469e6f7b9e6: Download complete [2023-10-24T18:25:03.664Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T18:25:03.664Z] 339a4e72a1f5: Download complete [2023-10-24T18:25:03.664Z] eaf3925da568: Verifying Checksum [2023-10-24T18:25:03.664Z] eaf3925da568: Download complete [2023-10-24T18:25:03.664Z] bde34c3a00c8: Verifying Checksum [2023-10-24T18:25:03.664Z] bde34c3a00c8: Download complete [2023-10-24T18:25:03.664Z] b352a97aabf1: Download complete [2023-10-24T18:25:03.664Z] 4872d77fe225: Verifying Checksum [2023-10-24T18:25:03.664Z] 4872d77fe225: Download complete [2023-10-24T18:25:03.664Z] 5851b861e8e6: Verifying Checksum [2023-10-24T18:25:03.664Z] 5851b861e8e6: Download complete [2023-10-24T18:25:03.664Z] b85a868b505f: Verifying Checksum [2023-10-24T18:25:03.664Z] b85a868b505f: Download complete [2023-10-24T18:25:03.923Z] bab4dde63d76: Verifying Checksum [2023-10-24T18:25:03.923Z] bab4dde63d76: Download complete [2023-10-24T18:25:04.892Z] b85a868b505f: Pull complete [2023-10-24T18:25:05.150Z] e2be974225ed: Pull complete [2023-10-24T18:25:05.409Z] 339a4e72a1f5: Pull complete [2023-10-24T18:25:05.668Z] 988bab9f4d93: Pull complete [2023-10-24T18:25:05.926Z] 1469e6f7b9e6: Pull complete [2023-10-24T18:25:05.926Z] eaf3925da568: Pull complete [2023-10-24T18:25:07.850Z] bab4dde63d76: Pull complete [2023-10-24T18:25:07.850Z] bde34c3a00c8: Pull complete [2023-10-24T18:25:08.109Z] b352a97aabf1: Pull complete [2023-10-24T18:25:08.109Z] 4872d77fe225: Pull complete [2023-10-24T18:25:08.109Z] 5851b861e8e6: Pull complete [2023-10-24T18:25:08.109Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T18:25:08.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:25:08.109Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:25:08.205Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:25:08.236Z] $ 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 [2023-10-24T18:25:11.816Z] $ docker top abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a -eo pid,comm [2023-10-24T18:25:11.866Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T18:25:11.866Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:25:11.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:25:11.897Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:25:12.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:25:12.008Z] $ docker exec abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent [2023-10-24T18:25:12.112Z] SSH_AUTH_SOCK=/tmp/ssh-JW4VOvYxzcqt/agent.33 [2023-10-24T18:25:12.112Z] SSH_AGENT_PID=39 [2023-10-24T18:25:12.118Z] Running ssh-add (command line suppressed) [2023-10-24T18:25:12.210Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10399337187312500315.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10399337187312500315.key) [2023-10-24T18:25:12.224Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:25:12.510Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T18:25:12.522Z] $ docker exec --env ******** --env ******** abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent -k [2023-10-24T18:25:12.610Z] unset SSH_AUTH_SOCK; [2023-10-24T18:25:12.611Z] unset SSH_AGENT_PID; [2023-10-24T18:25:12.611Z] echo Agent pid 39 killed; [2023-10-24T18:25:12.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T18:25:12.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:25:12.643Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:25:12.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:25:12.742Z] $ docker exec abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent [2023-10-24T18:25:12.849Z] SSH_AUTH_SOCK=/tmp/ssh-RAR1xMNxzd4H/agent.71 [2023-10-24T18:25:12.849Z] SSH_AGENT_PID=77 [2023-10-24T18:25:12.854Z] Running ssh-add (command line suppressed) [2023-10-24T18:25:12.954Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8995941331204114124.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8995941331204114124.key) [2023-10-24T18:25:12.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:25:13.266Z] + git semver init [2023-10-24T18:25:13.524Z] 2023-10-24 18:25:13,422 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T18:25:13.524Z] 2023-10-24 18:25:13,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T18:25:13.524Z] 2023-10-24 18:25:13,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T18:25:13.524Z] 2023-10-24 18:25:13,423 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:25:14.901Z] 2023-10-24 18:25:14,561 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-24T18:25:14.901Z] 2023-10-24 18:25:14,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-24T18:25:14.901Z] 2023-10-24 18:25:14,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:25:14.901Z] 2023-10-24 18:25:14,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:25:14.901Z] 3.1.0-dev.24 [Pipeline] } [2023-10-24T18:25:14.911Z] $ docker exec --env ******** --env ******** abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent -k [2023-10-24T18:25:15.007Z] unset SSH_AUTH_SOCK; [2023-10-24T18:25:15.007Z] unset SSH_AGENT_PID; [2023-10-24T18:25:15.007Z] echo Agent pid 77 killed; [2023-10-24T18:25:15.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:25:15.324Z] + git semver [Pipeline] } [2023-10-24T18:25:15.596Z] $ docker stop --time=1 abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a [2023-10-24T18:25:16.923Z] $ docker rm -f --volumes abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:25:17.264Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T18:25:17.462Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T18:25:17.464Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:25:17.633Z] provisioning config files... [2023-10-24T18:25:17.642Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2997694384853763889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:25:17.940Z] ---> docker-login.sh [2023-10-24T18:25:17.940Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:25:17.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:17.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:17.940Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:17.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:17.940Z] [2023-10-24T18:25:17.940Z] Login Succeeded [2023-10-24T18:25:17.940Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:25:17.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:17.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:17.940Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:17.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:17.940Z] [2023-10-24T18:25:17.940Z] Login Succeeded [2023-10-24T18:25:17.940Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:25:18.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:18.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:18.198Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:18.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:18.198Z] [2023-10-24T18:25:18.198Z] Login Succeeded [2023-10-24T18:25:18.198Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:25:18.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:18.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:18.198Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:18.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:18.198Z] [2023-10-24T18:25:18.198Z] Login Succeeded [2023-10-24T18:25:18.198Z] docker.io [2023-10-24T18:25:18.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:25:18.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:25:18.458Z] Configure a credential helper to remove this warning. See [2023-10-24T18:25:18.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:25:18.458Z] [2023-10-24T18:25:18.458Z] Login Succeeded [2023-10-24T18:25:18.458Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:25:18.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:25:18.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:25:18.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:25:18.554Z] ========================================================= [2023-10-24T18:25:18.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T18:25:18.554Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:25:18.855Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:25:18.855Z] Sending build context to Docker daemon 10.93MB [2023-10-24T18:25:18.855Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:25:18.855Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:25:18.855Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T18:25:18.855Z] 7264a8db6415: Pulling fs layer [2023-10-24T18:25:18.855Z] c4d48a809fc2: Pulling fs layer [2023-10-24T18:25:18.855Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T18:25:18.855Z] ad3a456e5733: Pulling fs layer [2023-10-24T18:25:18.855Z] 33e27b845d1e: Pulling fs layer [2023-10-24T18:25:18.855Z] c68163c4e522: Pulling fs layer [2023-10-24T18:25:18.855Z] 50da416c3ac9: Pulling fs layer [2023-10-24T18:25:18.855Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T18:25:18.855Z] 33e27b845d1e: Waiting [2023-10-24T18:25:18.855Z] c68163c4e522: Waiting [2023-10-24T18:25:18.855Z] 50da416c3ac9: Waiting [2023-10-24T18:25:18.855Z] ad3a456e5733: Waiting [2023-10-24T18:25:19.114Z] c4d48a809fc2: Verifying Checksum [2023-10-24T18:25:19.115Z] c4d48a809fc2: Download complete [2023-10-24T18:25:19.115Z] ad3a456e5733: Verifying Checksum [2023-10-24T18:25:19.115Z] ad3a456e5733: Download complete [2023-10-24T18:25:19.115Z] 33e27b845d1e: Verifying Checksum [2023-10-24T18:25:19.115Z] 33e27b845d1e: Download complete [2023-10-24T18:25:19.115Z] 7264a8db6415: Verifying Checksum [2023-10-24T18:25:19.115Z] 7264a8db6415: Download complete [2023-10-24T18:25:19.115Z] c68163c4e522: Verifying Checksum [2023-10-24T18:25:19.115Z] c68163c4e522: Download complete [2023-10-24T18:25:19.115Z] 7264a8db6415: Pull complete [2023-10-24T18:25:19.376Z] c4d48a809fc2: Pull complete [2023-10-24T18:25:19.376Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T18:25:19.376Z] 23d2d4c4bb30: Download complete [2023-10-24T18:25:19.637Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T18:25:19.637Z] 4f1c88b9dad5: Download complete [2023-10-24T18:25:19.895Z] 50da416c3ac9: Verifying Checksum [2023-10-24T18:25:19.895Z] 50da416c3ac9: Download complete [2023-10-24T18:25:23.196Z] 4f1c88b9dad5: Pull complete [2023-10-24T18:25:23.196Z] ad3a456e5733: Pull complete [2023-10-24T18:25:23.196Z] 33e27b845d1e: Pull complete [2023-10-24T18:25:23.196Z] c68163c4e522: Pull complete [2023-10-24T18:25:25.723Z] 50da416c3ac9: Pull complete [2023-10-24T18:25:25.980Z] 23d2d4c4bb30: Pull complete [2023-10-24T18:25:25.981Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T18:25:25.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T18:25:25.981Z] ---> 0786185ac409 [2023-10-24T18:25:25.981Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:25:30.165Z] ---> Running in 9703d73b0a68 [2023-10-24T18:25:30.165Z] Removing intermediate container 9703d73b0a68 [2023-10-24T18:25:30.165Z] ---> d1979b344a62 [2023-10-24T18:25:30.165Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:25:30.165Z] ---> Running in 8c28441e7fe8 [2023-10-24T18:25:30.165Z] Removing intermediate container 8c28441e7fe8 [2023-10-24T18:25:30.165Z] ---> 54efad627b55 [2023-10-24T18:25:30.165Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:25:30.165Z] ---> Running in e19389713b88 [2023-10-24T18:25:30.165Z] Removing intermediate container e19389713b88 [2023-10-24T18:25:30.165Z] ---> 565aecd57694 [2023-10-24T18:25:30.165Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:25:30.165Z] ---> Running in 318763f24897 [2023-10-24T18:25:30.165Z] Removing intermediate container 318763f24897 [2023-10-24T18:25:30.165Z] ---> 427c11613991 [2023-10-24T18:25:30.165Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:25:30.165Z] ---> Running in 5e2abbcf4236 [2023-10-24T18:25:30.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:25:30.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:25:30.942Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:25:30.942Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:25:30.942Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:25:30.942Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:25:30.942Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:25:30.942Z] OK: 268 MiB in 56 packages [2023-10-24T18:25:31.510Z] Removing intermediate container 5e2abbcf4236 [2023-10-24T18:25:31.510Z] ---> 67372bf8f32c [2023-10-24T18:25:31.510Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T18:25:31.510Z] ---> Running in 214a86171e22 [2023-10-24T18:25:31.510Z] Removing intermediate container 214a86171e22 [2023-10-24T18:25:31.510Z] ---> 7bdf06e234bd [2023-10-24T18:25:31.510Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:25:31.510Z] ---> 40661421f7b8 [2023-10-24T18:25:31.510Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:25:31.789Z] ---> Running in 1634bd648dee [2023-10-24T18:25:32.582Z] Still waiting to schedule task [2023-10-24T18:25:32.583Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T18:26:18.524Z] Removing intermediate container 1634bd648dee [2023-10-24T18:26:18.524Z] ---> fc3ee2faf3ce [2023-10-24T18:26:18.524Z] Step 11/12 : COPY . . [2023-10-24T18:26:19.091Z] ---> aa4c4478a13a [2023-10-24T18:26:19.091Z] Step 12/12 : RUN $MAKE [2023-10-24T18:26:19.091Z] ---> Running in e7be87ae9b9b [2023-10-24T18:26:19.091Z] noop [2023-10-24T18:26:19.656Z] Removing intermediate container e7be87ae9b9b [2023-10-24T18:26:19.656Z] ---> b010c93243bd [2023-10-24T18:26:19.656Z] Successfully built b010c93243bd [2023-10-24T18:26:19.656Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:19.962Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:26:19.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:20.031Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:26:20.060Z] $ 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 [2023-10-24T18:26:20.393Z] $ docker top 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:26:20.729Z] + go version [2023-10-24T18:26:20.729Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T18:26:20.742Z] $ docker stop --time=1 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 [2023-10-24T18:26:21.998Z] $ docker rm -f --volumes 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:22.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:26:22.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:22.471Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:26:22.498Z] $ 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 [2023-10-24T18:26:22.898Z] $ docker top 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:26:23.240Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:26:23.530Z] + make test [2023-10-24T18:26:23.530Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:26:24.904Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T18:26:34.877Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T18:26:34.877Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-10-24T18:26:42.997Z] go vet ./... [2023-10-24T18:26:45.526Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:26:45.526Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:26:45.526Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:26:45.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:26:45.553Z] $ docker stop --time=1 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 [2023-10-24T18:26:47.376Z] $ docker rm -f --volumes 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:26:47.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:26:47.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T18:26:48.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:26:48.740Z] + ls -al . [2023-10-24T18:26:48.740Z] total 184 [2023-10-24T18:26:48.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:26 . [2023-10-24T18:26:48.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:24 .. [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 18:24 .dockerignore [2023-10-24T18:26:48.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:26 .git [2023-10-24T18:26:48.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:24 .github [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:24 .gitignore [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:24 .golangci.yml [2023-10-24T18:26:48.740Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:25 .semver [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 18:24 Attribution.txt [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 18:24 CHANGELOG.md [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 18:24 Dockerfile [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:24 GOVERNANCE.md [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 18:24 Jenkinsfile [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:24 LICENSE [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 18:24 Makefile [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:24 OWNERS.md [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 18:24 README.md [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:25 VERSION [2023-10-24T18:26:48.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:24 bin [2023-10-24T18:26:48.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:24 cmd [2023-10-24T18:26:48.740Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 18:26 coverage.out [2023-10-24T18:26:48.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:24 driver [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 18:24 go.mod [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:24 go.sum [2023-10-24T18:26:48.740Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:49.069Z] + 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=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d --label arch=amd64 --label version=3.1.0-dev.24 . [2023-10-24T18:26:49.069Z] Sending build context to Docker daemon 10.95MB [2023-10-24T18:26:49.069Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:26:49.069Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:26:49.069Z] ---> b010c93243bd [2023-10-24T18:26:49.069Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:26:49.069Z] ---> Running in 611201bbf804 [2023-10-24T18:26:49.326Z] Removing intermediate container 611201bbf804 [2023-10-24T18:26:49.327Z] ---> 5093c09182a4 [2023-10-24T18:26:49.327Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:26:49.327Z] ---> Running in 8891f8edfa81 [2023-10-24T18:26:49.327Z] Removing intermediate container 8891f8edfa81 [2023-10-24T18:26:49.327Z] ---> c953bd677979 [2023-10-24T18:26:49.327Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:26:49.327Z] ---> Running in 81bd599f7e9b [2023-10-24T18:26:49.327Z] Removing intermediate container 81bd599f7e9b [2023-10-24T18:26:49.327Z] ---> 275503478fb2 [2023-10-24T18:26:49.327Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:26:49.327Z] ---> Running in 444e2bf0401a [2023-10-24T18:26:49.585Z] Removing intermediate container 444e2bf0401a [2023-10-24T18:26:49.585Z] ---> b895672a5937 [2023-10-24T18:26:49.585Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:26:49.585Z] ---> Running in 11fc671ca0d6 [2023-10-24T18:26:49.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:26:49.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:26:50.104Z] OK: 268 MiB in 56 packages [2023-10-24T18:26:50.673Z] Removing intermediate container 11fc671ca0d6 [2023-10-24T18:26:50.673Z] ---> 75db235e8f7e [2023-10-24T18:26:50.673Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T18:26:50.673Z] ---> Running in 93219ed20c06 [2023-10-24T18:26:50.673Z] Removing intermediate container 93219ed20c06 [2023-10-24T18:26:50.673Z] ---> a59eaaa53c7b [2023-10-24T18:26:50.673Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:26:50.673Z] ---> 942322bd219a [2023-10-24T18:26:50.673Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:26:50.673Z] ---> Running in 67e8924a5de9 [2023-10-24T18:26:51.241Z] Removing intermediate container 67e8924a5de9 [2023-10-24T18:26:51.241Z] ---> c5af041aa274 [2023-10-24T18:26:51.241Z] Step 11/25 : COPY . . [2023-10-24T18:26:51.809Z] ---> ade904f355e6 [2023-10-24T18:26:51.809Z] Step 12/25 : RUN $MAKE [2023-10-24T18:26:51.809Z] ---> Running in 6e00ce389716 [2023-10-24T18:26:52.068Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T18:27:14.108Z] Removing intermediate container 6e00ce389716 [2023-10-24T18:27:14.108Z] ---> f507b14725ae [2023-10-24T18:27:14.108Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:27:14.108Z] 3.18: Pulling from library/alpine [2023-10-24T18:27:14.108Z] 96526aa774ef: Pulling fs layer [2023-10-24T18:27:14.108Z] 96526aa774ef: Verifying Checksum [2023-10-24T18:27:14.108Z] 96526aa774ef: Download complete [2023-10-24T18:27:14.108Z] 96526aa774ef: Pull complete [2023-10-24T18:27:14.108Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:27:14.108Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:27:14.108Z] ---> 8ca4688f4f35 [2023-10-24T18:27:14.108Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T18:27:14.108Z] ---> Running in 23980dd93b5f [2023-10-24T18:27:14.108Z] Removing intermediate container 23980dd93b5f [2023-10-24T18:27:14.108Z] ---> a89c53ed347e [2023-10-24T18:27:14.108Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T18:27:14.108Z] ---> Running in 123dfdcab5b2 [2023-10-24T18:27:14.108Z] Removing intermediate container 123dfdcab5b2 [2023-10-24T18:27:14.108Z] ---> 5c18bbd6cf56 [2023-10-24T18:27:14.108Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:27:14.108Z] ---> Running in 89cc993e290e [2023-10-24T18:27:14.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:27:14.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:27:14.367Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:27:14.367Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:27:14.367Z] OK: 7 MiB in 16 packages [2023-10-24T18:27:14.626Z] Removing intermediate container 89cc993e290e [2023-10-24T18:27:14.626Z] ---> dae52036f4a8 [2023-10-24T18:27:14.626Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T18:27:15.558Z] ---> eaca484822e3 [2023-10-24T18:27:15.558Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T18:27:15.816Z] ---> a0e87a1340fe [2023-10-24T18:27:15.817Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T18:27:15.817Z] ---> 15f12ad0a889 [2023-10-24T18:27:15.817Z] Step 20/25 : EXPOSE 59986 [2023-10-24T18:27:15.817Z] ---> Running in 6ebe75d28b96 [2023-10-24T18:27:16.075Z] Removing intermediate container 6ebe75d28b96 [2023-10-24T18:27:16.075Z] ---> 1e3f100bffc9 [2023-10-24T18:27:16.075Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T18:27:16.075Z] ---> Running in 700f0261a4dc [2023-10-24T18:27:16.075Z] Removing intermediate container 700f0261a4dc [2023-10-24T18:27:16.075Z] ---> 7256ccdf7ec0 [2023-10-24T18:27:16.075Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T18:27:16.075Z] ---> Running in 3e3246d0a2c6 [2023-10-24T18:27:16.075Z] Removing intermediate container 3e3246d0a2c6 [2023-10-24T18:27:16.075Z] ---> e05efebdbe11 [2023-10-24T18:27:16.075Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T18:27:16.075Z] ---> Running in 2776e74d1807 [2023-10-24T18:27:16.333Z] Removing intermediate container 2776e74d1807 [2023-10-24T18:27:16.333Z] ---> 9b8202913af1 [2023-10-24T18:27:16.333Z] Step 24/25 : LABEL git_sha=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:27:16.333Z] ---> Running in a7e1a0b64516 [2023-10-24T18:27:16.333Z] Removing intermediate container a7e1a0b64516 [2023-10-24T18:27:16.333Z] ---> 808e6729cc2c [2023-10-24T18:27:16.333Z] Step 25/25 : LABEL version=3.1.0-dev.24 [2023-10-24T18:27:16.333Z] ---> Running in 3d44165bba39 [2023-10-24T18:27:16.333Z] Removing intermediate container 3d44165bba39 [2023-10-24T18:27:16.333Z] ---> de4431cd3c2c [2023-10-24T18:27:16.333Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:27:16.333Z] Successfully built de4431cd3c2c [2023-10-24T18:27:16.333Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:27:16.436Z] provisioning config files... [2023-10-24T18:27:16.444Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17924286285499732571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:16.742Z] ---> docker-login.sh [2023-10-24T18:27:16.742Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:27:16.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:27:16.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:27:16.742Z] Configure a credential helper to remove this warning. See [2023-10-24T18:27:16.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:27:16.742Z] [2023-10-24T18:27:16.742Z] Login Succeeded [2023-10-24T18:27:16.742Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:27:16.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:27:16.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:27:16.742Z] Configure a credential helper to remove this warning. See [2023-10-24T18:27:16.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:27:16.742Z] [2023-10-24T18:27:16.742Z] Login Succeeded [2023-10-24T18:27:16.742Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:27:17.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:27:17.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:27:17.001Z] Configure a credential helper to remove this warning. See [2023-10-24T18:27:17.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:27:17.001Z] [2023-10-24T18:27:17.001Z] Login Succeeded [2023-10-24T18:27:17.001Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:27:17.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:27:17.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:27:17.001Z] Configure a credential helper to remove this warning. See [2023-10-24T18:27:17.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:27:17.001Z] [2023-10-24T18:27:17.001Z] Login Succeeded [2023-10-24T18:27:17.001Z] docker.io [2023-10-24T18:27:17.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:27:17.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:27:17.260Z] Configure a credential helper to remove this warning. See [2023-10-24T18:27:17.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:27:17.260Z] [2023-10-24T18:27:17.260Z] Login Succeeded [2023-10-24T18:27:17.260Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:27:17.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:27:17.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:27:17.330Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-24T18:27:17.330Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:27:17.330Z] latest [2023-10-24T18:27:17.330Z] 3.1.0-dev.24 [2023-10-24T18:27:17.330Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:27:17.330Z] main [2023-10-24T18:27:17.330Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:21.302Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:21.610Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:27:21.610Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T18:27:21.610Z] 946b248aa830: Preparing [2023-10-24T18:27:21.610Z] 9183918c27cb: Preparing [2023-10-24T18:27:21.610Z] a2bc4028fff7: Preparing [2023-10-24T18:27:21.610Z] 560a7e5d625c: Preparing [2023-10-24T18:27:21.610Z] cc2447e1835a: Preparing [2023-10-24T18:27:21.610Z] cc2447e1835a: Layer already exists [2023-10-24T18:27:21.610Z] 560a7e5d625c: Pushed [2023-10-24T18:27:21.610Z] 9183918c27cb: Pushed [2023-10-24T18:27:21.610Z] 946b248aa830: Pushed [2023-10-24T18:27:24.897Z] a2bc4028fff7: Pushed [2023-10-24T18:27:24.897Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:25.223Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:25.538Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T18:27:25.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T18:27:25.538Z] 946b248aa830: Preparing [2023-10-24T18:27:25.538Z] 9183918c27cb: Preparing [2023-10-24T18:27:25.538Z] a2bc4028fff7: Preparing [2023-10-24T18:27:25.538Z] 560a7e5d625c: Preparing [2023-10-24T18:27:25.538Z] cc2447e1835a: Preparing [2023-10-24T18:27:25.538Z] cc2447e1835a: Layer already exists [2023-10-24T18:27:25.538Z] 9183918c27cb: Layer already exists [2023-10-24T18:27:25.538Z] 946b248aa830: Layer already exists [2023-10-24T18:27:25.538Z] a2bc4028fff7: Layer already exists [2023-10-24T18:27:25.538Z] 560a7e5d625c: Layer already exists [2023-10-24T18:27:25.538Z] latest: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:25.843Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:26.146Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 [2023-10-24T18:27:26.146Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T18:27:26.146Z] 946b248aa830: Preparing [2023-10-24T18:27:26.146Z] 9183918c27cb: Preparing [2023-10-24T18:27:26.146Z] a2bc4028fff7: Preparing [2023-10-24T18:27:26.146Z] 560a7e5d625c: Preparing [2023-10-24T18:27:26.146Z] cc2447e1835a: Preparing [2023-10-24T18:27:26.146Z] 9183918c27cb: Layer already exists [2023-10-24T18:27:26.146Z] a2bc4028fff7: Layer already exists [2023-10-24T18:27:26.146Z] 560a7e5d625c: Layer already exists [2023-10-24T18:27:26.146Z] cc2447e1835a: Layer already exists [2023-10-24T18:27:26.146Z] 946b248aa830: Layer already exists [2023-10-24T18:27:26.146Z] 3.1.0-dev.24: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:26.455Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:26.774Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:27:26.774Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T18:27:26.774Z] 946b248aa830: Preparing [2023-10-24T18:27:26.774Z] 9183918c27cb: Preparing [2023-10-24T18:27:26.774Z] a2bc4028fff7: Preparing [2023-10-24T18:27:26.774Z] 560a7e5d625c: Preparing [2023-10-24T18:27:26.774Z] cc2447e1835a: Preparing [2023-10-24T18:27:26.774Z] a2bc4028fff7: Layer already exists [2023-10-24T18:27:26.774Z] cc2447e1835a: Layer already exists [2023-10-24T18:27:26.774Z] 946b248aa830: Layer already exists [2023-10-24T18:27:26.774Z] 9183918c27cb: Layer already exists [2023-10-24T18:27:26.774Z] 560a7e5d625c: Layer already exists [2023-10-24T18:27:26.774Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:27.096Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:27.424Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-24T18:27:27.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T18:27:27.424Z] 946b248aa830: Preparing [2023-10-24T18:27:27.424Z] 9183918c27cb: Preparing [2023-10-24T18:27:27.424Z] a2bc4028fff7: Preparing [2023-10-24T18:27:27.424Z] 560a7e5d625c: Preparing [2023-10-24T18:27:27.424Z] cc2447e1835a: Preparing [2023-10-24T18:27:27.424Z] a2bc4028fff7: Layer already exists [2023-10-24T18:27:27.424Z] cc2447e1835a: Layer already exists [2023-10-24T18:27:27.424Z] 946b248aa830: Layer already exists [2023-10-24T18:27:27.424Z] 9183918c27cb: Layer already exists [2023-10-24T18:27:27.424Z] 560a7e5d625c: Layer already exists [2023-10-24T18:27:27.424Z] main: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:27:27.472Z] ===================================================== [Pipeline] echo [2023-10-24T18:27:27.482Z] taggedImages: [2023-10-24T18:27:27.482Z] - nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:27:27.482Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T18:27:27.482Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 [2023-10-24T18:27:27.482Z] - nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:27:27.482Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:27.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:27:27.853Z] [2023-10-24T18:27:27.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:27:28.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:27:28.161Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T18:27:28.161Z] 5eb5b503b376: Pulling fs layer [2023-10-24T18:27:28.161Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T18:27:28.161Z] ec43610c2a17: Pulling fs layer [2023-10-24T18:27:28.161Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T18:27:28.161Z] 33b1e0a273af: Pulling fs layer [2023-10-24T18:27:28.161Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T18:27:28.161Z] 2f39f015ded8: Pulling fs layer [2023-10-24T18:27:28.161Z] 5d3b04190fa2: Waiting [2023-10-24T18:27:28.161Z] 3a2ae6a8a46f: Waiting [2023-10-24T18:27:28.161Z] 33b1e0a273af: Waiting [2023-10-24T18:27:28.161Z] 2f39f015ded8: Waiting [2023-10-24T18:27:28.161Z] 5c69ac0246d0: Download complete [2023-10-24T18:27:28.161Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T18:27:28.161Z] 3a2ae6a8a46f: Download complete [2023-10-24T18:27:28.161Z] 33b1e0a273af: Verifying Checksum [2023-10-24T18:27:28.161Z] 33b1e0a273af: Download complete [2023-10-24T18:27:28.422Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T18:27:28.422Z] 5d3b04190fa2: Download complete [2023-10-24T18:27:28.422Z] ec43610c2a17: Verifying Checksum [2023-10-24T18:27:28.422Z] ec43610c2a17: Download complete [2023-10-24T18:27:28.422Z] 5eb5b503b376: Verifying Checksum [2023-10-24T18:27:28.422Z] 5eb5b503b376: Download complete [2023-10-24T18:27:28.989Z] 2f39f015ded8: Download complete [2023-10-24T18:27:29.554Z] 5eb5b503b376: Pull complete [2023-10-24T18:27:29.811Z] 5c69ac0246d0: Pull complete [2023-10-24T18:27:30.377Z] ec43610c2a17: Pull complete [2023-10-24T18:27:30.377Z] 3a2ae6a8a46f: Pull complete [2023-10-24T18:27:30.635Z] 33b1e0a273af: Pull complete [2023-10-24T18:27:30.635Z] 5d3b04190fa2: Pull complete [2023-10-24T18:27:34.813Z] 2f39f015ded8: Pull complete [2023-10-24T18:27:34.813Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T18:27:34.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:27:34.813Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:27:34.895Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:27:34.923Z] $ 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 [2023-10-24T18:27:40.017Z] $ docker top 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:40.374Z] ---> job-cost.sh [2023-10-24T18:27:40.374Z] lf-activate-venv: SKIPPING [2023-10-24T18:27:40.374Z] INFO: No Stack... [2023-10-24T18:27:40.639Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:27:41.206Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:27:41.489Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-10-24T18:27:41.489Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:27:41.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [2023-10-24T18:27:41.517Z] Resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] did not exist. Created. [2023-10-24T18:27:41.517Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:27:41.832Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T18:27:41.856Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:27:41.864Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:27:41.880Z] $ docker stop --time=1 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 [2023-10-24T18:27:43.042Z] $ docker rm -f --volumes 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T18:29:05.777Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10132 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-24T18:29:05.788Z] Running in /w/workspace/device-rest-go/144 [Pipeline] { [Pipeline] checkout [2023-10-24T18:29:05.823Z] The recommended git tool is: git [2023-10-24T18:29:12.133Z] using credential edgex-jenkins-ssh [2023-10-24T18:29:12.148Z] Cloning the remote Git repository [2023-10-24T18:29:12.201Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T18:29:12.312Z] > git init /w/workspace/device-rest-go/144 # timeout=10 [2023-10-24T18:29:12.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T18:29:12.488Z] > git --version # timeout=10 [2023-10-24T18:29:12.515Z] > git --version # 'git version 2.25.1' [2023-10-24T18:29:12.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:29:12.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:29:14.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T18:29:15.724Z] Avoid second fetch [2023-10-24T18:29:15.724Z] Checking out Revision 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d (main) [2023-10-24T18:29:14.703Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:29:15.748Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:29:15.822Z] > git checkout -f 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 [2023-10-24T18:29:16.360Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:29:17.300Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T18:29:17.300Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:29:17.300Z] Dload Upload Total Spent Left Speed [2023-10-24T18:29:17.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-10-24T18:29:17.957Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T18:29:18.288Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T18:29:18.288Z] + sudo tee /etc/docker/daemon.new [2023-10-24T18:29:18.288Z] { [2023-10-24T18:29:18.288Z] "registry-mirrors": [ [2023-10-24T18:29:18.288Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T18:29:18.288Z] ], [2023-10-24T18:29:18.288Z] "bip": "10.250.0.254/24", [2023-10-24T18:29:18.288Z] "hosts": [ [2023-10-24T18:29:18.288Z] "tcp://0.0.0.0:5555", [2023-10-24T18:29:18.288Z] "unix:///var/run/docker.sock" [2023-10-24T18:29:18.288Z] ], [2023-10-24T18:29:18.288Z] "mtu": 1458, [2023-10-24T18:29:18.288Z] "selinux-enabled": true, [2023-10-24T18:29:18.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T18:29:18.288Z] } [Pipeline] sh [2023-10-24T18:29:18.629Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T18:29:18.967Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:29:37.243Z] provisioning config files... [2023-10-24T18:29:37.270Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/144@tmp/config17130433932833491713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:29:37.623Z] ---> docker-login.sh [2023-10-24T18:29:37.623Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:29:37.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:38.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:38.168Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:38.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:38.168Z] [2023-10-24T18:29:38.168Z] Login Succeeded [2023-10-24T18:29:38.168Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:29:38.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:38.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:38.715Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:38.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:38.715Z] [2023-10-24T18:29:38.715Z] Login Succeeded [2023-10-24T18:29:38.715Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:29:38.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:38.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:38.985Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:38.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:38.985Z] [2023-10-24T18:29:38.985Z] Login Succeeded [2023-10-24T18:29:38.985Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:29:39.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:39.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:39.527Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:39.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:39.527Z] [2023-10-24T18:29:39.527Z] Login Succeeded [2023-10-24T18:29:39.527Z] docker.io [2023-10-24T18:29:39.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:29:40.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:29:40.067Z] Configure a credential helper to remove this warning. See [2023-10-24T18:29:40.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:29:40.067Z] [2023-10-24T18:29:40.067Z] Login Succeeded [2023-10-24T18:29:40.067Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:29:40.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:29:40.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:29:40.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:29:40.438Z] ========================================================= [2023-10-24T18:29:40.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T18:29:40.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:29:40.821Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T18:29:40.821Z] Sending build context to Docker daemon 122.4kB [2023-10-24T18:29:41.100Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:29:41.100Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:29:41.374Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T18:29:41.374Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T18:29:41.374Z] 5d54e960e981: Pulling fs layer [2023-10-24T18:29:41.374Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T18:29:41.374Z] f0e02332f6b5: Pulling fs layer [2023-10-24T18:29:41.374Z] cefa15bbcfad: Pulling fs layer [2023-10-24T18:29:41.374Z] 17808c966233: Pulling fs layer [2023-10-24T18:29:41.374Z] f4c1fc716caa: Pulling fs layer [2023-10-24T18:29:41.374Z] f0e02332f6b5: Waiting [2023-10-24T18:29:41.374Z] cefa15bbcfad: Waiting [2023-10-24T18:29:41.374Z] 17808c966233: Waiting [2023-10-24T18:29:41.374Z] f4c1fc716caa: Waiting [2023-10-24T18:29:41.374Z] 5d54e960e981: Download complete [2023-10-24T18:29:41.374Z] f0e02332f6b5: Verifying Checksum [2023-10-24T18:29:41.374Z] f0e02332f6b5: Download complete [2023-10-24T18:29:41.374Z] cefa15bbcfad: Verifying Checksum [2023-10-24T18:29:41.374Z] cefa15bbcfad: Download complete [2023-10-24T18:29:41.374Z] 9fda8d8052c6: Download complete [2023-10-24T18:29:41.973Z] f4c1fc716caa: Verifying Checksum [2023-10-24T18:29:41.973Z] f4c1fc716caa: Download complete [2023-10-24T18:29:42.568Z] 9fda8d8052c6: Pull complete [2023-10-24T18:29:43.165Z] 5d54e960e981: Pull complete [2023-10-24T18:29:43.440Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T18:29:43.440Z] c4a7e357bf2a: Download complete [2023-10-24T18:29:44.631Z] 17808c966233: Verifying Checksum [2023-10-24T18:29:44.631Z] 17808c966233: Download complete [2023-10-24T18:30:00.140Z] c4a7e357bf2a: Pull complete [2023-10-24T18:30:00.140Z] f0e02332f6b5: Pull complete [2023-10-24T18:30:00.140Z] cefa15bbcfad: Pull complete [2023-10-24T18:30:06.933Z] 17808c966233: Pull complete [2023-10-24T18:30:09.007Z] f4c1fc716caa: Pull complete [2023-10-24T18:30:09.007Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T18:30:09.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T18:30:09.007Z] ---> ea914061e18c [2023-10-24T18:30:09.007Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:30:10.969Z] ---> Running in 9aab0846bf19 [2023-10-24T18:30:10.969Z] Removing intermediate container 9aab0846bf19 [2023-10-24T18:30:10.969Z] ---> 489645ce4328 [2023-10-24T18:30:10.969Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:30:11.239Z] ---> Running in 00429796fcbc [2023-10-24T18:30:11.511Z] Removing intermediate container 00429796fcbc [2023-10-24T18:30:11.511Z] ---> 81514e3d2d53 [2023-10-24T18:30:11.511Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:30:11.806Z] ---> Running in caa1a9cbd7a2 [2023-10-24T18:30:12.075Z] Removing intermediate container caa1a9cbd7a2 [2023-10-24T18:30:12.075Z] ---> dafea226560b [2023-10-24T18:30:12.075Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:30:12.075Z] ---> Running in e4b2c33728a0 [2023-10-24T18:30:12.672Z] Removing intermediate container e4b2c33728a0 [2023-10-24T18:30:12.672Z] ---> 0882a761f44a [2023-10-24T18:30:12.672Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:30:12.672Z] ---> Running in 348e7d333b15 [2023-10-24T18:30:14.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:30:14.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:30:16.109Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:30:16.109Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:30:16.109Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:30:16.109Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:30:16.109Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:30:16.109Z] OK: 270 MiB in 56 packages [2023-10-24T18:30:17.530Z] Removing intermediate container 348e7d333b15 [2023-10-24T18:30:17.530Z] ---> 72f467ea63ff [2023-10-24T18:30:17.530Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T18:30:17.530Z] ---> Running in 8358fee09796 [2023-10-24T18:30:17.530Z] Removing intermediate container 8358fee09796 [2023-10-24T18:30:17.530Z] ---> b2fcef535045 [2023-10-24T18:30:17.530Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:30:18.117Z] ---> 096bb3059797 [2023-10-24T18:30:18.117Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:30:18.386Z] ---> Running in 508d53a88427 [2023-10-24T18:31:55.090Z] Removing intermediate container 508d53a88427 [2023-10-24T18:31:55.090Z] ---> 11bd03cbe896 [2023-10-24T18:31:55.090Z] Step 11/12 : COPY . . [2023-10-24T18:31:55.091Z] ---> 19c9a3981452 [2023-10-24T18:31:55.091Z] Step 12/12 : RUN $MAKE [2023-10-24T18:31:55.091Z] ---> Running in 6d86d7022e57 [2023-10-24T18:31:55.091Z] noop [2023-10-24T18:31:58.290Z] Removing intermediate container 6d86d7022e57 [2023-10-24T18:31:58.290Z] ---> 05fc51610fa8 [2023-10-24T18:31:58.290Z] Successfully built 05fc51610fa8 [2023-10-24T18:31:58.290Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:31:58.680Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:31:58.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:31:58.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container [2023-10-24T18:31:59.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:32:00.378Z] $ docker top f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:32:01.265Z] + go version [2023-10-24T18:32:01.265Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T18:32:01.289Z] $ docker stop --time=1 f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca [2023-10-24T18:32:03.035Z] $ docker rm -f --volumes f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:32:03.629Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:32:03.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:32:03.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container [2023-10-24T18:32:03.922Z] $ 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/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:32:05.316Z] $ docker top 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:32:06.285Z] + git config --global --add safe.directory /w/workspace/device-rest-go/144 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:32:06.959Z] + make test [2023-10-24T18:32:06.960Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:32:12.333Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T18:34:34.161Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T18:34:34.162Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.2% of statements [2023-10-24T18:34:34.162Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T18:34:34.162Z] go vet ./... [2023-10-24T18:34:56.271Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:34:56.271Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:34:56.271Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:34:56.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:34:56.303Z] $ docker stop --time=1 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 [2023-10-24T18:34:58.335Z] $ docker rm -f --volumes 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:34:59.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:34:59.693Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T18:35:00.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:35:00.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:35:00.975Z] + ls -al . [2023-10-24T18:35:00.975Z] total 180 [2023-10-24T18:35:00.975Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:32 . [2023-10-24T18:35:00.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:29 .. [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 18:29 .dockerignore [2023-10-24T18:35:00.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:29 .git [2023-10-24T18:35:00.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 .github [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:29 .gitignore [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:29 .golangci.yml [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 18:29 Attribution.txt [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 18:29 CHANGELOG.md [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 18:29 Dockerfile [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:29 GOVERNANCE.md [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 18:29 Jenkinsfile [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:29 LICENSE [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 18:29 Makefile [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:29 OWNERS.md [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 18:29 README.md [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:25 VERSION [2023-10-24T18:35:00.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 bin [2023-10-24T18:35:00.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 cmd [2023-10-24T18:35:00.975Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 18:34 coverage.out [2023-10-24T18:35:00.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 driver [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 18:29 go.mod [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:29 go.sum [2023-10-24T18:35:00.975Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:35:01.331Z] + 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=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d --label arch=arm64 --label version=3.1.0-dev.24 . [2023-10-24T18:35:01.331Z] Sending build context to Docker daemon 137.7kB [2023-10-24T18:35:01.603Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:35:01.603Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:35:01.603Z] ---> 05fc51610fa8 [2023-10-24T18:35:01.603Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:35:01.872Z] ---> Running in b26e7895c241 [2023-10-24T18:35:02.142Z] Removing intermediate container b26e7895c241 [2023-10-24T18:35:02.142Z] ---> cf39a58b9cc2 [2023-10-24T18:35:02.142Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:35:02.142Z] ---> Running in 74a75f40ccaa [2023-10-24T18:35:02.736Z] Removing intermediate container 74a75f40ccaa [2023-10-24T18:35:02.736Z] ---> 8892dcef05ed [2023-10-24T18:35:02.736Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T18:35:02.736Z] ---> Running in 1ec7c431c2a3 [2023-10-24T18:35:03.013Z] Removing intermediate container 1ec7c431c2a3 [2023-10-24T18:35:03.013Z] ---> 7394d0fbae6d [2023-10-24T18:35:03.013Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:35:03.284Z] ---> Running in 1ec6032d0a54 [2023-10-24T18:35:03.554Z] Removing intermediate container 1ec6032d0a54 [2023-10-24T18:35:03.554Z] ---> 7278a6ef8881 [2023-10-24T18:35:03.554Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:35:03.554Z] ---> Running in abfba71620af [2023-10-24T18:35:04.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:35:04.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:35:06.407Z] OK: 270 MiB in 56 packages [2023-10-24T18:35:07.379Z] Removing intermediate container abfba71620af [2023-10-24T18:35:07.379Z] ---> 61e35a8b3ff4 [2023-10-24T18:35:07.379Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T18:35:07.379Z] ---> Running in 6f20a7d7f8e2 [2023-10-24T18:35:07.976Z] Removing intermediate container 6f20a7d7f8e2 [2023-10-24T18:35:07.976Z] ---> 76316a80cce6 [2023-10-24T18:35:07.976Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:35:11.327Z] ---> b585cf991dcc [2023-10-24T18:35:11.327Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:35:11.327Z] ---> Running in 24bf45e7d989 [2023-10-24T18:35:13.286Z] Removing intermediate container 24bf45e7d989 [2023-10-24T18:35:13.286Z] ---> 495087f0d5e3 [2023-10-24T18:35:13.286Z] Step 11/25 : COPY . . [2023-10-24T18:35:13.872Z] ---> f6b597a4ac60 [2023-10-24T18:35:13.872Z] Step 12/25 : RUN $MAKE [2023-10-24T18:35:13.872Z] ---> Running in a92eb9014c45 [2023-10-24T18:35:15.294Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T18:37:37.319Z] Removing intermediate container a92eb9014c45 [2023-10-24T18:37:37.319Z] ---> b4befe5d5820 [2023-10-24T18:37:37.319Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:37:37.319Z] 3.18: Pulling from library/alpine [2023-10-24T18:37:37.319Z] 579b34f0a95b: Pulling fs layer [2023-10-24T18:37:37.319Z] 579b34f0a95b: Verifying Checksum [2023-10-24T18:37:37.319Z] 579b34f0a95b: Download complete [2023-10-24T18:37:37.319Z] 579b34f0a95b: Pull complete [2023-10-24T18:37:37.319Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:37:37.319Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:37:37.319Z] ---> 3cc203321400 [2023-10-24T18:37:37.319Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T18:37:37.319Z] ---> Running in 2822b9ea55ee [2023-10-24T18:37:37.319Z] Removing intermediate container 2822b9ea55ee [2023-10-24T18:37:37.319Z] ---> 80040ca7cc04 [2023-10-24T18:37:37.319Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T18:37:37.319Z] ---> Running in 50490633819e [2023-10-24T18:37:37.319Z] Removing intermediate container 50490633819e [2023-10-24T18:37:37.319Z] ---> f93180971d4e [2023-10-24T18:37:37.319Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T18:37:37.319Z] ---> Running in e817d3d67218 [2023-10-24T18:37:37.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:37:37.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:37:37.319Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T18:37:37.319Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:37:37.319Z] OK: 8 MiB in 16 packages [2023-10-24T18:37:37.593Z] Removing intermediate container e817d3d67218 [2023-10-24T18:37:37.593Z] ---> 3791fce9c157 [2023-10-24T18:37:37.593Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T18:37:39.541Z] ---> 7c200800a8ac [2023-10-24T18:37:39.541Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T18:37:40.504Z] ---> c7f8c9d19203 [2023-10-24T18:37:40.504Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T18:37:40.775Z] ---> 5669b90f611d [2023-10-24T18:37:40.775Z] Step 20/25 : EXPOSE 59986 [2023-10-24T18:37:41.051Z] ---> Running in 252ffff1ec94 [2023-10-24T18:37:41.320Z] Removing intermediate container 252ffff1ec94 [2023-10-24T18:37:41.320Z] ---> 5278b3d6b821 [2023-10-24T18:37:41.320Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T18:37:41.320Z] ---> Running in 116a778116cd [2023-10-24T18:37:41.913Z] Removing intermediate container 116a778116cd [2023-10-24T18:37:41.913Z] ---> 7517b30e14cd [2023-10-24T18:37:41.913Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T18:37:41.913Z] ---> Running in 32d35d451b04 [2023-10-24T18:37:42.187Z] Removing intermediate container 32d35d451b04 [2023-10-24T18:37:42.187Z] ---> e6f46c2de8fd [2023-10-24T18:37:42.187Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T18:37:42.459Z] ---> Running in 9993bd9c6a79 [2023-10-24T18:37:42.731Z] Removing intermediate container 9993bd9c6a79 [2023-10-24T18:37:42.731Z] ---> e5c61886ca54 [2023-10-24T18:37:42.731Z] Step 24/25 : LABEL git_sha=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:37:43.001Z] ---> Running in f26e05e4f3d3 [2023-10-24T18:37:43.280Z] Removing intermediate container f26e05e4f3d3 [2023-10-24T18:37:43.280Z] ---> 0c0026e4fdb9 [2023-10-24T18:37:43.280Z] Step 25/25 : LABEL version=3.1.0-dev.24 [2023-10-24T18:37:43.280Z] ---> Running in 827573fb699d [2023-10-24T18:37:43.869Z] Removing intermediate container 827573fb699d [2023-10-24T18:37:43.869Z] ---> 5f00848ea101 [2023-10-24T18:37:43.869Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:37:43.869Z] Successfully built 5f00848ea101 [2023-10-24T18:37:44.137Z] 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 [2023-10-24T18:37:44.253Z] provisioning config files... [2023-10-24T18:37:44.268Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/144@tmp/config13214929070085846526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:37:44.623Z] ---> docker-login.sh [2023-10-24T18:37:44.623Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:37:44.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:37:44.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:37:44.891Z] Configure a credential helper to remove this warning. See [2023-10-24T18:37:44.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:37:44.891Z] [2023-10-24T18:37:44.891Z] Login Succeeded [2023-10-24T18:37:44.891Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:37:45.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:37:45.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:37:45.433Z] Configure a credential helper to remove this warning. See [2023-10-24T18:37:45.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:37:45.433Z] [2023-10-24T18:37:45.433Z] Login Succeeded [2023-10-24T18:37:45.433Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:37:45.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:37:45.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:37:45.970Z] Configure a credential helper to remove this warning. See [2023-10-24T18:37:45.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:37:45.970Z] [2023-10-24T18:37:45.970Z] Login Succeeded [2023-10-24T18:37:45.970Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:37:46.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:37:46.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:37:46.239Z] Configure a credential helper to remove this warning. See [2023-10-24T18:37:46.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:37:46.239Z] [2023-10-24T18:37:46.239Z] Login Succeeded [2023-10-24T18:37:46.508Z] docker.io [2023-10-24T18:37:46.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:37:47.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:37:47.046Z] Configure a credential helper to remove this warning. See [2023-10-24T18:37:47.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:37:47.046Z] [2023-10-24T18:37:47.046Z] Login Succeeded [2023-10-24T18:37:47.046Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:37:47.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:37:47.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:37:47.129Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-24T18:37:47.129Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:37:47.129Z] latest [2023-10-24T18:37:47.129Z] 3.1.0-dev.24 [2023-10-24T18:37:47.129Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:37:47.129Z] main [2023-10-24T18:37:47.129Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:47.491Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:47.873Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:37:47.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T18:37:47.873Z] eef85231f09c: Preparing [2023-10-24T18:37:47.873Z] 6f37619cc29c: Preparing [2023-10-24T18:37:47.873Z] 7ee15d3770dc: Preparing [2023-10-24T18:37:47.873Z] 06b147122441: Preparing [2023-10-24T18:37:47.873Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:37:48.141Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:37:48.141Z] eef85231f09c: Pushed [2023-10-24T18:37:48.141Z] 06b147122441: Pushed [2023-10-24T18:37:48.141Z] 6f37619cc29c: Pushed [2023-10-24T18:37:54.807Z] 7ee15d3770dc: Pushed [2023-10-24T18:37:54.807Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:55.172Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:55.544Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T18:37:55.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T18:37:55.545Z] eef85231f09c: Preparing [2023-10-24T18:37:55.545Z] 6f37619cc29c: Preparing [2023-10-24T18:37:55.545Z] 7ee15d3770dc: Preparing [2023-10-24T18:37:55.545Z] 06b147122441: Preparing [2023-10-24T18:37:55.545Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:37:55.545Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:37:55.545Z] 6f37619cc29c: Layer already exists [2023-10-24T18:37:55.545Z] 7ee15d3770dc: Layer already exists [2023-10-24T18:37:55.545Z] 06b147122441: Layer already exists [2023-10-24T18:37:55.545Z] eef85231f09c: Layer already exists [2023-10-24T18:37:55.814Z] latest: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:56.188Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:56.553Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 [2023-10-24T18:37:56.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T18:37:56.553Z] eef85231f09c: Preparing [2023-10-24T18:37:56.553Z] 6f37619cc29c: Preparing [2023-10-24T18:37:56.553Z] 7ee15d3770dc: Preparing [2023-10-24T18:37:56.553Z] 06b147122441: Preparing [2023-10-24T18:37:56.553Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:37:56.553Z] 6f37619cc29c: Layer already exists [2023-10-24T18:37:56.553Z] 06b147122441: Layer already exists [2023-10-24T18:37:56.553Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:37:56.553Z] 7ee15d3770dc: Layer already exists [2023-10-24T18:37:56.553Z] eef85231f09c: Layer already exists [2023-10-24T18:37:56.825Z] 3.1.0-dev.24: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:57.207Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:37:59.538Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:37:59.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T18:37:59.538Z] eef85231f09c: Preparing [2023-10-24T18:37:59.538Z] 6f37619cc29c: Preparing [2023-10-24T18:37:59.538Z] 7ee15d3770dc: Preparing [2023-10-24T18:37:59.538Z] 06b147122441: Preparing [2023-10-24T18:37:59.538Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:37:59.538Z] 6f37619cc29c: Layer already exists [2023-10-24T18:37:59.538Z] 06b147122441: Layer already exists [2023-10-24T18:37:59.538Z] eef85231f09c: Layer already exists [2023-10-24T18:37:59.538Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:37:59.538Z] 7ee15d3770dc: Layer already exists [2023-10-24T18:37:59.809Z] 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:00.186Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:00.631Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-24T18:38:00.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T18:38:00.631Z] eef85231f09c: Preparing [2023-10-24T18:38:00.631Z] 6f37619cc29c: Preparing [2023-10-24T18:38:00.631Z] 7ee15d3770dc: Preparing [2023-10-24T18:38:00.631Z] 06b147122441: Preparing [2023-10-24T18:38:00.631Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:38:00.631Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:38:00.631Z] 7ee15d3770dc: Layer already exists [2023-10-24T18:38:00.631Z] eef85231f09c: Layer already exists [2023-10-24T18:38:00.631Z] 06b147122441: Layer already exists [2023-10-24T18:38:00.631Z] 6f37619cc29c: Layer already exists [2023-10-24T18:38:00.905Z] main: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:38:00.969Z] ===================================================== [Pipeline] echo [2023-10-24T18:38:00.979Z] taggedImages: [2023-10-24T18:38:00.979Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [2023-10-24T18:38:00.979Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T18:38:00.979Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 [2023-10-24T18:38:00.979Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [2023-10-24T18:38:00.979Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:01.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:38:01.380Z] [2023-10-24T18:38:01.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:01.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:38:02.038Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T18:38:02.038Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T18:38:02.038Z] 04944245beec: Pulling fs layer [2023-10-24T18:38:02.038Z] 699f458cf7ca: Pulling fs layer [2023-10-24T18:38:02.038Z] 765212b225bb: Pulling fs layer [2023-10-24T18:38:02.038Z] f23df028b6ca: Pulling fs layer [2023-10-24T18:38:02.038Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T18:38:02.038Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T18:38:02.038Z] 765212b225bb: Waiting [2023-10-24T18:38:02.038Z] f23df028b6ca: Waiting [2023-10-24T18:38:02.038Z] d65c8cfc05b1: Waiting [2023-10-24T18:38:02.038Z] 04944245beec: Verifying Checksum [2023-10-24T18:38:02.038Z] 04944245beec: Download complete [2023-10-24T18:38:02.038Z] 765212b225bb: Download complete [2023-10-24T18:38:02.316Z] f23df028b6ca: Verifying Checksum [2023-10-24T18:38:02.316Z] f23df028b6ca: Download complete [2023-10-24T18:38:02.316Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T18:38:02.316Z] d65c8cfc05b1: Download complete [2023-10-24T18:38:02.593Z] 699f458cf7ca: Verifying Checksum [2023-10-24T18:38:02.593Z] 699f458cf7ca: Download complete [2023-10-24T18:38:03.196Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T18:38:03.196Z] 8998bd30e6a1: Download complete [2023-10-24T18:38:05.812Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T18:38:05.812Z] 2437ff75d9bd: Download complete [2023-10-24T18:38:08.421Z] 8998bd30e6a1: Pull complete [2023-10-24T18:38:08.694Z] 04944245beec: Pull complete [2023-10-24T18:38:10.668Z] 699f458cf7ca: Pull complete [2023-10-24T18:38:10.668Z] 765212b225bb: Pull complete [2023-10-24T18:38:11.645Z] f23df028b6ca: Pull complete [2023-10-24T18:38:11.919Z] d65c8cfc05b1: Pull complete [2023-10-24T18:38:30.212Z] 2437ff75d9bd: Pull complete [2023-10-24T18:38:30.212Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T18:38:30.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:38:30.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:38:30.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container [2023-10-24T18:38:30.491Z] $ 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/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T18:38:33.624Z] $ docker top e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:38:34.516Z] ---> job-cost.sh [2023-10-24T18:38:34.516Z] lf-activate-venv: SKIPPING [2023-10-24T18:38:34.516Z] INFO: No Stack... [2023-10-24T18:38:35.100Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T18:38:36.062Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:38:36.718Z] + cat /w/workspace/device-rest-go/144/archives/cost.csv [2023-10-24T18:38:36.718Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:38:36.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [2023-10-24T18:38:36.767Z] Resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] did not exist. Created. [2023-10-24T18:38:36.767Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:38:37.427Z] /w/workspace/device-rest-go/144@tmp/durable-cafa381c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T18:38:38.088Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T18:38:38.113Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T18:38:38.169Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:38:38.178Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:38:38.201Z] $ docker stop --time=1 e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 [2023-10-24T18:38:41.508Z] $ docker rm -f --volumes e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T18:38:41.933Z] provisioning config files... [2023-10-24T18:38:41.945Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2304432185259369303tmp [Pipeline] { [Pipeline] sh [2023-10-24T18:38:42.242Z] + set +x [2023-10-24T18:38:42.242Z] + curl -s https://codecov.io/bash [2023-10-24T18:38:42.242Z] + bash -s -- [2023-10-24T18:38:42.242Z] [2023-10-24T18:38:42.242Z] _____ _ [2023-10-24T18:38:42.242Z] / ____| | | [2023-10-24T18:38:42.242Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T18:38:42.242Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T18:38:42.242Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T18:38:42.242Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T18:38:42.242Z] Bash-1.0.6 [2023-10-24T18:38:42.242Z] [2023-10-24T18:38:42.242Z] [2023-10-24T18:38:42.242Z] ==> git version 2.25.1 found [2023-10-24T18:38:42.242Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T18:38:42.242Z] Release-Date: 2020-01-08 [2023-10-24T18:38:42.242Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T18:38:42.242Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T18:38:42.242Z] ==> Jenkins CI detected. [2023-10-24T18:38:42.242Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T18:38:42.242Z] project root: . [2023-10-24T18:38:42.242Z] --> token set from env [2023-10-24T18:38:42.242Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T18:38:42.242Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T18:38:42.242Z] ==> Python coveragepy not found [2023-10-24T18:38:42.242Z] ==> Searching for coverage reports in: [2023-10-24T18:38:42.242Z] + . [2023-10-24T18:38:42.503Z] -> Found 1 reports [2023-10-24T18:38:42.503Z] ==> Detecting git/mercurial file structure [2023-10-24T18:38:42.503Z] ==> Reading reports [2023-10-24T18:38:42.503Z] + ./coverage.out bytes=14499 [2023-10-24T18:38:42.503Z] ==> Appending adjustments [2023-10-24T18:38:42.503Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T18:38:42.503Z] + Found adjustments [2023-10-24T18:38:42.503Z] ==> Gzipping contents [2023-10-24T18:38:42.503Z] 4.0K /tmp/codecov.A9oF95.gz [2023-10-24T18:38:42.503Z] ==> Uploading reports [2023-10-24T18:38:42.503Z] url: https://codecov.io [2023-10-24T18:38:42.503Z] query: branch=main&commit=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:38:42.503Z] -> Pinging Codecov [2023-10-24T18:38:42.503Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:38:42.503Z] -> Uploading to [2023-10-24T18:38:42.503Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/1c77e3e660e1ab1a6bc71b3e7411204dc92d963d/b63c3957-1e21-4a29-9edb-30899658e276.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T183842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a3cdce403f37af705c9f26886266827268ed335430da1856d8fe1cf1f18bd26 [2023-10-24T18:38:42.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:38:42.503Z] Dload Upload Total Spent Left Speed [2023-10-24T18:38:43.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7841 [2023-10-24T18:38:43.078Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } [2023-10-24T18:38:43.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T18:38:43.212Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T18:38:43.221Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:43.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:38:43.524Z] [2023-10-24T18:38:43.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:38:43.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:38:43.822Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T18:38:43.822Z] df9b9388f04a: Pulling fs layer [2023-10-24T18:38:43.822Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T18:38:43.822Z] 25bc292e5bac: Pulling fs layer [2023-10-24T18:38:43.822Z] 114826534d7a: Pulling fs layer [2023-10-24T18:38:43.822Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T18:38:43.822Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T18:38:43.822Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T18:38:43.822Z] 6ad1cebc031e: Waiting [2023-10-24T18:38:43.822Z] 114826534d7a: Waiting [2023-10-24T18:38:43.822Z] 8a3aa393b2d8: Waiting [2023-10-24T18:38:43.822Z] 4657fd5d0bcf: Waiting [2023-10-24T18:38:43.822Z] 25bc292e5bac: Verifying Checksum [2023-10-24T18:38:43.822Z] 25bc292e5bac: Download complete [2023-10-24T18:38:43.822Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T18:38:43.822Z] 52dc419b0ee2: Download complete [2023-10-24T18:38:43.822Z] 4657fd5d0bcf: Download complete [2023-10-24T18:38:43.822Z] df9b9388f04a: Verifying Checksum [2023-10-24T18:38:44.142Z] df9b9388f04a: Pull complete [2023-10-24T18:38:44.142Z] 52dc419b0ee2: Pull complete [2023-10-24T18:38:44.142Z] 25bc292e5bac: Pull complete [2023-10-24T18:38:44.403Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T18:38:44.403Z] 6ad1cebc031e: Download complete [2023-10-24T18:38:44.970Z] 114826534d7a: Verifying Checksum [2023-10-24T18:38:44.970Z] 114826534d7a: Download complete [2023-10-24T18:38:44.970Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T18:38:44.970Z] 8a3aa393b2d8: Download complete [2023-10-24T18:38:49.160Z] 114826534d7a: Pull complete [2023-10-24T18:38:49.160Z] 4657fd5d0bcf: Pull complete [2023-10-24T18:38:49.160Z] 6ad1cebc031e: Pull complete [2023-10-24T18:38:51.690Z] 8a3aa393b2d8: Pull complete [2023-10-24T18:38:51.690Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T18:38:51.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:38:51.690Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:38:51.774Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:38:51.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T18:38:58.169Z] $ docker top b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T18:38:58.248Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-24T18:38:58.527Z] + set -o pipefail [2023-10-24T18:38:58.527Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-24T18:39:05.083Z] [2023-10-24T18:39:05.084Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-24T18:39:05.084Z] [2023-10-24T18:39:05.084Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/ac7a6350-8bba-4a74-8e21-302845a15e23 [2023-10-24T18:39:05.084Z] [2023-10-24T18:39:05.084Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T18:39:05.084Z] [2023-10-24T18:39:05.653Z] [2023-10-24T18:39:05.653Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T18:39:05.653Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T18:39:05.653Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T18:39:05.657Z] $ docker stop --time=1 b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 [2023-10-24T18:39:09.435Z] $ docker rm -f --volumes b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:39:10.169Z] + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] sh [2023-10-24T18:39:10.460Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:39:10.460Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:10.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:39:10.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:39:10.831Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:39:10.853Z] $ 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 [2023-10-24T18:39:11.209Z] $ docker top f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba -eo pid,comm [2023-10-24T18:39:11.266Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T18:39:11.266Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:39:11.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:39:11.302Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:39:11.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:39:11.399Z] $ docker exec f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba ssh-agent [2023-10-24T18:39:11.511Z] SSH_AUTH_SOCK=/tmp/ssh-zxKrrrcPEfkS/agent.32 [2023-10-24T18:39:11.511Z] SSH_AGENT_PID=39 [2023-10-24T18:39:11.518Z] Running ssh-add (command line suppressed) [2023-10-24T18:39:11.612Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13373600535611962340.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13373600535611962340.key) [2023-10-24T18:39:11.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:39:11.921Z] + git semver tag [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,113 [run_tag] DEBUG tag force:False [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,114 [check_head_tag] DEBUG check head tag [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,114 [execute] INFO git cat-file --batch-check [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,119 [execute] INFO git cat-file --batch [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,134 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,135 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:39:12.193Z] 2023-10-24 18:39:12,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:12.193Z] 3.1.0-dev.24 [Pipeline] } [2023-10-24T18:39:12.202Z] $ docker exec --env ******** --env ******** f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba ssh-agent -k [2023-10-24T18:39:12.302Z] unset SSH_AUTH_SOCK; [2023-10-24T18:39:12.303Z] unset SSH_AGENT_PID; [2023-10-24T18:39:12.303Z] echo Agent pid 39 killed; [2023-10-24T18:39:12.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:39:12.658Z] + git semver [Pipeline] } [2023-10-24T18:39:12.923Z] $ docker stop --time=1 f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba [2023-10-24T18:39:14.205Z] $ docker rm -f --volumes f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:14.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:39:14.605Z] [2023-10-24T18:39:14.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:14.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:39:14.909Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T18:39:14.909Z] ab5ef0e58194: Pulling fs layer [2023-10-24T18:39:14.909Z] 9712f1f96733: Pulling fs layer [2023-10-24T18:39:14.909Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T18:39:14.909Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T18:39:14.909Z] e9a5061849ea: Pulling fs layer [2023-10-24T18:39:14.909Z] d747dcd14b5f: Pulling fs layer [2023-10-24T18:39:14.909Z] 2de7ff778b66: Pulling fs layer [2023-10-24T18:39:14.909Z] 0d9ebad4ef96: Waiting [2023-10-24T18:39:14.909Z] e9a5061849ea: Waiting [2023-10-24T18:39:14.909Z] d747dcd14b5f: Waiting [2023-10-24T18:39:14.909Z] 2de7ff778b66: Waiting [2023-10-24T18:39:14.909Z] 9712f1f96733: Verifying Checksum [2023-10-24T18:39:14.909Z] 9712f1f96733: Download complete [2023-10-24T18:39:16.188Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T18:39:16.188Z] 63f879dbbcfc: Download complete [2023-10-24T18:39:16.447Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T18:39:16.447Z] 0d9ebad4ef96: Download complete [2023-10-24T18:39:16.447Z] e9a5061849ea: Verifying Checksum [2023-10-24T18:39:16.447Z] e9a5061849ea: Download complete [2023-10-24T18:39:16.447Z] d747dcd14b5f: Verifying Checksum [2023-10-24T18:39:16.447Z] d747dcd14b5f: Download complete [2023-10-24T18:39:16.447Z] ab5ef0e58194: Verifying Checksum [2023-10-24T18:39:16.447Z] ab5ef0e58194: Download complete [2023-10-24T18:39:16.447Z] 2de7ff778b66: Verifying Checksum [2023-10-24T18:39:16.447Z] 2de7ff778b66: Download complete [2023-10-24T18:39:19.726Z] ab5ef0e58194: Pull complete [2023-10-24T18:39:19.726Z] 9712f1f96733: Pull complete [2023-10-24T18:39:20.289Z] 63f879dbbcfc: Pull complete [2023-10-24T18:39:24.485Z] 0d9ebad4ef96: Pull complete [2023-10-24T18:39:24.485Z] e9a5061849ea: Pull complete [2023-10-24T18:39:24.485Z] d747dcd14b5f: Pull complete [2023-10-24T18:39:25.420Z] 2de7ff778b66: Pull complete [2023-10-24T18:39:25.420Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T18:39:25.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:39:25.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:39:25.509Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:39:25.531Z] $ 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 [2023-10-24T18:39:29.571Z] $ docker top 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:39:29.649Z] provisioning config files... [2023-10-24T18:39:29.657Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15101148003949687272tmp [2023-10-24T18:39:29.666Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config859044559480617387tmp [2023-10-24T18:39:29.677Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5113620105907971893tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:39:29.690Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:29.973Z] ---> sigul-configuration.sh [2023-10-24T18:39:29.973Z] gpg: directory `/root/.gnupg' created [2023-10-24T18:39:29.973Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T18:39:29.973Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T18:39:29.974Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T18:39:29.974Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T18:39:29.974Z] gpg: CAST5 encrypted data [2023-10-24T18:39:29.974Z] gpg: encrypted with 1 passphrase [2023-10-24T18:39:29.974Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T18:39:30.262Z] + mkdir /home/jenkins [2023-10-24T18:39:30.262Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T18:39:30.550Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-24T18:39:30.559Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:30.845Z] ---> sigul-install.sh [2023-10-24T18:39:30.846Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T18:39:31.131Z] + git tag --list [2023-10-24T18:39:31.131Z] v1.0.0 [2023-10-24T18:39:31.131Z] v1.1.0 [2023-10-24T18:39:31.131Z] v1.1.1 [2023-10-24T18:39:31.131Z] v1.1.2 [2023-10-24T18:39:31.131Z] v1.2.0 [2023-10-24T18:39:31.131Z] v1.2.1 [2023-10-24T18:39:31.131Z] v2.0.0 [2023-10-24T18:39:31.131Z] v2.1.0 [2023-10-24T18:39:31.131Z] v2.1.1 [2023-10-24T18:39:31.131Z] v2.2.0 [2023-10-24T18:39:31.131Z] v2.3.0 [2023-10-24T18:39:31.131Z] v3.0 [2023-10-24T18:39:31.131Z] v3.0.0 [2023-10-24T18:39:31.131Z] v3.1.0-dev.1 [2023-10-24T18:39:31.131Z] v3.1.0-dev.10 [2023-10-24T18:39:31.131Z] v3.1.0-dev.11 [2023-10-24T18:39:31.131Z] v3.1.0-dev.12 [2023-10-24T18:39:31.131Z] v3.1.0-dev.13 [2023-10-24T18:39:31.131Z] v3.1.0-dev.14 [2023-10-24T18:39:31.131Z] v3.1.0-dev.15 [2023-10-24T18:39:31.131Z] v3.1.0-dev.16 [2023-10-24T18:39:31.131Z] v3.1.0-dev.17 [2023-10-24T18:39:31.131Z] v3.1.0-dev.18 [2023-10-24T18:39:31.131Z] v3.1.0-dev.19 [2023-10-24T18:39:31.131Z] v3.1.0-dev.2 [2023-10-24T18:39:31.131Z] v3.1.0-dev.20 [2023-10-24T18:39:31.131Z] v3.1.0-dev.21 [2023-10-24T18:39:31.131Z] v3.1.0-dev.22 [2023-10-24T18:39:31.131Z] v3.1.0-dev.23 [2023-10-24T18:39:31.131Z] v3.1.0-dev.24 [2023-10-24T18:39:31.131Z] v3.1.0-dev.3 [2023-10-24T18:39:31.131Z] v3.1.0-dev.4 [2023-10-24T18:39:31.131Z] v3.1.0-dev.5 [2023-10-24T18:39:31.131Z] v3.1.0-dev.6 [2023-10-24T18:39:31.131Z] v3.1.0-dev.7 [2023-10-24T18:39:31.131Z] v3.1.0-dev.8 [2023-10-24T18:39:31.131Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T18:39:31.415Z] + lftools sign git-tag v3.1.0-dev.24 [2023-10-24T18:39:31.983Z] Signing Git tag with Sigul... [2023-10-24T18:39:31.983Z] Signing v3.1.0-dev.24 [Pipeline] echo [2023-10-24T18:39:32.254Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:32.542Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T18:39:32.550Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T18:39:32.566Z] $ docker stop --time=1 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 [2023-10-24T18:39:33.917Z] $ docker rm -f --volumes 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T18:39:34.337Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:39:34.337Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:34.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:39:34.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:39:34.712Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:39:34.732Z] $ 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 [2023-10-24T18:39:35.124Z] $ docker top 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:39:35.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:39:35.231Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:39:35.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:39:35.346Z] $ docker exec 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d ssh-agent [2023-10-24T18:39:35.473Z] SSH_AUTH_SOCK=/tmp/ssh-ztLWpgNMCw7T/agent.32 [2023-10-24T18:39:35.473Z] SSH_AGENT_PID=39 [2023-10-24T18:39:35.480Z] Running ssh-add (command line suppressed) [2023-10-24T18:39:35.573Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_401478719852037034.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_401478719852037034.key) [2023-10-24T18:39:35.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:39:35.883Z] + git semver bump pre [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,063 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,063 [bump_version] DEBUG bumped version:3.1.0-dev.25 [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,063 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,064 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,066 [execute] INFO git cat-file --batch-check [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,072 [execute] INFO git cat-file --batch [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:39:36.142Z] 2023-10-24 18:39:36,077 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:36.142Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T18:39:36.142Z] $ docker exec --env ******** --env ******** 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d ssh-agent -k [2023-10-24T18:39:36.245Z] unset SSH_AUTH_SOCK; [2023-10-24T18:39:36.245Z] unset SSH_AGENT_PID; [2023-10-24T18:39:36.245Z] echo Agent pid 39 killed; [2023-10-24T18:39:36.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:39:36.574Z] + git semver [Pipeline] } [2023-10-24T18:39:36.841Z] $ docker stop --time=1 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d [2023-10-24T18:39:38.162Z] $ docker rm -f --volumes 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:39:38.506Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:39:38.506Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:38.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:39:38.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:39:38.887Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:39:38.988Z] $ 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 [2023-10-24T18:39:39.345Z] $ docker top 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:39:39.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:39:39.440Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:39:39.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:39:39.554Z] $ docker exec 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 ssh-agent [2023-10-24T18:39:39.681Z] SSH_AUTH_SOCK=/tmp/ssh-1bAIbujkkr2G/agent.31 [2023-10-24T18:39:39.681Z] SSH_AGENT_PID=37 [2023-10-24T18:39:39.691Z] Running ssh-add (command line suppressed) [2023-10-24T18:39:39.789Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7579365689025188588.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7579365689025188588.key) [2023-10-24T18:39:39.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:39:40.096Z] + git semver push [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,277 [run_push] DEBUG push [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,278 [execute] INFO git cat-file --batch-check [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,283 [execute] INFO git rev-list 67a46936d42a7d9b2376d5897e1f49f9cd4f2b73 -- [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,283 [execute] DEBUG Popen(['git', 'rev-list', '67a46936d42a7d9b2376d5897e1f49f9cd4f2b73', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,292 [execute] INFO git fetch -v origin [2023-10-24T18:39:40.356Z] 2023-10-24 18:39:40,293 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T18:39:40.926Z] 2023-10-24 18:39:40,856 [run_push] DEBUG no remote changes detected [2023-10-24T18:39:40.926Z] 2023-10-24 18:39:40,856 [execute] INFO git push origin semver [2023-10-24T18:39:40.926Z] 2023-10-24 18:39:40,857 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:39:41.867Z] 2023-10-24 18:39:41,708 [run_push] DEBUG push all version tags [2023-10-24T18:39:41.867Z] 2023-10-24 18:39:41,709 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T18:39:41.867Z] 2023-10-24 18:39:41,709 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:39:42.807Z] 2023-10-24 18:39:42,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T18:39:42.807Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T18:39:42.807Z] $ docker exec --env ******** --env ******** 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 ssh-agent -k [2023-10-24T18:39:42.915Z] unset SSH_AUTH_SOCK; [2023-10-24T18:39:42.915Z] unset SSH_AGENT_PID; [2023-10-24T18:39:42.915Z] echo Agent pid 37 killed; [2023-10-24T18:39:42.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:39:43.251Z] + git semver [Pipeline] } [2023-10-24T18:39:43.510Z] $ docker stop --time=1 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 [2023-10-24T18:39:44.791Z] $ docker rm -f --volumes 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T18:39:45.381Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-24T18:39:45.381Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T18:39:45.381Z] total 16 [2023-10-24T18:39:45.381Z] drwxr-xr-x 3 root root 4096 Oct 24 18:27 . [2023-10-24T18:39:45.381Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:39 .. [2023-10-24T18:39:45.381Z] drwxr-xr-x 2 root root 4096 Oct 24 18:27 cost [2023-10-24T18:39:45.381Z] -rw-r--r-- 1 root root 86 Oct 24 18:27 cost.csv [2023-10-24T18:39:45.381Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T18:39:45.381Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T18:39:45.381Z] total 16 [2023-10-24T18:39:45.381Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:27 . [2023-10-24T18:39:45.381Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:39 .. [2023-10-24T18:39:45.381Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:27 cost [2023-10-24T18:39:45.381Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 18:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:45.675Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:46.535Z] ---> package-listing.sh [2023-10-24T18:39:46.535Z] ++ facter osfamily [2023-10-24T18:39:46.535Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T18:39:46.794Z] + OS_FAMILY=debian [2023-10-24T18:39:46.794Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T18:39:46.794Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T18:39:46.794Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T18:39:46.794Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T18:39:46.794Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T18:39:46.794Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T18:39:46.794Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T18:39:46.794Z] + case "${OS_FAMILY}" in [2023-10-24T18:39:46.794Z] + dpkg -l [2023-10-24T18:39:46.794Z] + grep '^ii' [2023-10-24T18:39:46.794Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T18:39:46.794Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T18:39:46.794Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T18:39:46.794Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T18:39:46.794Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-24T18:39:46.794Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-10-24T18:39:46.803Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T18:39:47.079Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:39:47.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:39:47.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:39:47.709Z] prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container [2023-10-24T18:39:47.730Z] $ 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 [2023-10-24T18:39:47.954Z] $ docker top 8d3ea3fdef085c5c688b89067feb121a83bffa75dad829772d529bd91b5c0e88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:39:48.308Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T18:39:48.592Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T18:39:48.879Z] + ls /var/log/sa-host [2023-10-24T18:39:48.879Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:39:48.947Z] provisioning config files... [2023-10-24T18:39:48.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9277727708172778888tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:39:48.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:49.253Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T18:39:49.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:49.578Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T18:39:49.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:49.862Z] ---> sudo-logs.sh [2023-10-24T18:39:49.862Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T18:39:49.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:50.162Z] ---> job-cost.sh [2023-10-24T18:39:50.162Z] lf-activate-venv: SKIPPING [2023-10-24T18:39:50.162Z] DEBUG: total: 0.2199999988079071 [2023-10-24T18:39:50.162Z] INFO: Retrieving Stack Cost... [2023-10-24T18:39:50.732Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:39:50.989Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T18:39:51.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:39:51.281Z] ---> logs-deploy.sh [2023-10-24T18:39:51.281Z] lf-activate-venv: SKIPPING [2023-10-24T18:39:51.281Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/144 [2023-10-24T18:39:51.281Z] INFO: archiving workspace using pattern(s): [2023-10-24T18:39:52.214Z] Archives upload complete. [2023-10-24T18:39:52.214Z] INFO: archiving logs to Nexus