Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57a7e4fe794bb86fec7da1c819e454c45e75ed90 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-ssh14687541540588375544.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2347321683730553817.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11232935499707064765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15935598775742020341.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-ssh12765009254032454109.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5376 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 57a7e4fe794bb86fec7da1c819e454c45e75ed90 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336)" > git config core.sparsecheckout # timeout=10 > git checkout -f 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 > git rev-list --no-walk f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-05T20:49:55.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-05T20:49:55.152Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-05T20:49:55.164Z] ========================================================= [2023-09-05T20:49:55.164Z] EdgeX Global Pipelines Version Info [2023-09-05T20:49:55.164Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:49:55.895Z] ------------------- [2023-09-05T20:49:55.895Z] stable info: [2023-09-05T20:49:55.895Z] ------------------- [2023-09-05T20:49:55.895Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-05T20:49:55.895Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T20:49:55.895Z] Message: update stable to v1.0.253 [2023-09-05T20:49:56.466Z] ------------------- [2023-09-05T20:49:56.466Z] experimental info: [2023-09-05T20:49:56.466Z] ------------------- [2023-09-05T20:49:56.466Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-05T20:49:56.466Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T20:49:56.466Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-05T20:49:56.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-05T20:49:56.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-05T20:49:56.674Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-05T20:49:56.683Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-05T20:49:56.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-05T20:49:56.703Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-05T20:49:56.713Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-05T20:49:56.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-05T20:49:56.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-05T20:49:56.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-05T20:49:56.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-05T20:49:56.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-05T20:49:56.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-05T20:49:56.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-05T20:49:56.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T20:49:56.850Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T20:49:56.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T20:49:56.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T20:49:56.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-05T20:49:56.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-05T20:49:56.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-05T20:49:56.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-05T20:49:56.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-05T20:49:56.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-05T20:49:56.976Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-05T20:49:56.993Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-05T20:49:57.005Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-05T20:49:57.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-05T20:49:57.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-05T20:49:57.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-05T20:49:57.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo [2023-09-05T20:49:57.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57a7e4f [Pipeline] echo [2023-09-05T20:49:57.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T20:49:57.151Z] provisioning config files... [2023-09-05T20:49:57.165Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8975565950737903390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:49:57.467Z] ---> docker-login.sh [2023-09-05T20:49:57.468Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:49:57.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:49:57.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:49:57.988Z] Configure a credential helper to remove this warning. See [2023-09-05T20:49:57.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:49:57.988Z] [2023-09-05T20:49:57.988Z] Login Succeeded [2023-09-05T20:49:57.988Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:49:57.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:49:57.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:49:57.988Z] Configure a credential helper to remove this warning. See [2023-09-05T20:49:57.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:49:57.988Z] [2023-09-05T20:49:57.988Z] Login Succeeded [2023-09-05T20:49:57.988Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:49:58.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:49:58.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:49:58.247Z] Configure a credential helper to remove this warning. See [2023-09-05T20:49:58.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:49:58.247Z] [2023-09-05T20:49:58.247Z] Login Succeeded [2023-09-05T20:49:58.247Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:49:58.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:49:58.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:49:58.247Z] Configure a credential helper to remove this warning. See [2023-09-05T20:49:58.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:49:58.247Z] [2023-09-05T20:49:58.247Z] Login Succeeded [2023-09-05T20:49:58.247Z] docker.io [2023-09-05T20:49:58.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:49:58.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:49:58.508Z] Configure a credential helper to remove this warning. See [2023-09-05T20:49:58.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:49:58.508Z] [2023-09-05T20:49:58.508Z] Login Succeeded [2023-09-05T20:49:58.508Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:49:58.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-05T20:49:58.901Z] + git rev-list -1 --merges 57a7e4fe794bb86fec7da1c819e454c45e75ed90~1..57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo [2023-09-05T20:49:58.947Z] -----------> git rev-list -1 --merges 57a7e4fe794bb86fec7da1c819e454c45e75ed90~1..57a7e4fe794bb86fec7da1c819e454c45e75ed90 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [false] [Pipeline] sh [2023-09-05T20:49:59.241Z] + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo [2023-09-05T20:49:59.257Z] ========================================================= [2023-09-05T20:49:59.257Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-05T20:49:59.257Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T20:49:59.592Z] + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] echo [2023-09-05T20:49:59.603Z] [semverPrep] GIT_COMMIT: 57a7e4fe794bb86fec7da1c819e454c45e75ed90, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336) [Pipeline] echo [2023-09-05T20:49:59.611Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-05T20:49:59.983Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T20:49:59.983Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-05T20:49:59.983Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-05T20:49:59.983Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-05T20:49:59.983Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-05T20:49:59.983Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-05T20:49:59.983Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:50:00.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:50:00.419Z] [2023-09-05T20:50:00.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:50:00.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:50:00.718Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-05T20:50:00.718Z] b85a868b505f: Pulling fs layer [2023-09-05T20:50:00.718Z] e2be974225ed: Pulling fs layer [2023-09-05T20:50:00.718Z] 339a4e72a1f5: Pulling fs layer [2023-09-05T20:50:00.718Z] 988bab9f4d93: Pulling fs layer [2023-09-05T20:50:00.718Z] 1469e6f7b9e6: Pulling fs layer [2023-09-05T20:50:00.718Z] eaf3925da568: Pulling fs layer [2023-09-05T20:50:00.718Z] bab4dde63d76: Pulling fs layer [2023-09-05T20:50:00.718Z] bde34c3a00c8: Pulling fs layer [2023-09-05T20:50:00.718Z] b352a97aabf1: Pulling fs layer [2023-09-05T20:50:00.718Z] 4872d77fe225: Pulling fs layer [2023-09-05T20:50:00.718Z] 5851b861e8e6: Pulling fs layer [2023-09-05T20:50:00.718Z] 988bab9f4d93: Waiting [2023-09-05T20:50:00.718Z] 1469e6f7b9e6: Waiting [2023-09-05T20:50:00.718Z] b352a97aabf1: Waiting [2023-09-05T20:50:00.718Z] eaf3925da568: Waiting [2023-09-05T20:50:00.718Z] 5851b861e8e6: Waiting [2023-09-05T20:50:00.718Z] bab4dde63d76: Waiting [2023-09-05T20:50:00.718Z] 4872d77fe225: Waiting [2023-09-05T20:50:00.718Z] bde34c3a00c8: Waiting [2023-09-05T20:50:00.718Z] e2be974225ed: Download complete [2023-09-05T20:50:00.718Z] 988bab9f4d93: Download complete [2023-09-05T20:50:00.718Z] 339a4e72a1f5: Verifying Checksum [2023-09-05T20:50:00.718Z] 339a4e72a1f5: Download complete [2023-09-05T20:50:00.718Z] 1469e6f7b9e6: Verifying Checksum [2023-09-05T20:50:00.718Z] 1469e6f7b9e6: Download complete [2023-09-05T20:50:00.976Z] eaf3925da568: Verifying Checksum [2023-09-05T20:50:00.976Z] eaf3925da568: Download complete [2023-09-05T20:50:00.976Z] bde34c3a00c8: Verifying Checksum [2023-09-05T20:50:00.976Z] bde34c3a00c8: Download complete [2023-09-05T20:50:00.976Z] b352a97aabf1: Verifying Checksum [2023-09-05T20:50:00.976Z] b352a97aabf1: Download complete [2023-09-05T20:50:00.976Z] b85a868b505f: Verifying Checksum [2023-09-05T20:50:00.976Z] b85a868b505f: Download complete [2023-09-05T20:50:00.976Z] 4872d77fe225: Verifying Checksum [2023-09-05T20:50:00.976Z] 4872d77fe225: Download complete [2023-09-05T20:50:00.976Z] 5851b861e8e6: Download complete [2023-09-05T20:50:01.235Z] bab4dde63d76: Verifying Checksum [2023-09-05T20:50:01.235Z] bab4dde63d76: Download complete [2023-09-05T20:50:02.173Z] b85a868b505f: Pull complete [2023-09-05T20:50:02.173Z] e2be974225ed: Pull complete [2023-09-05T20:50:02.741Z] 339a4e72a1f5: Pull complete [2023-09-05T20:50:02.741Z] 988bab9f4d93: Pull complete [2023-09-05T20:50:02.999Z] 1469e6f7b9e6: Pull complete [2023-09-05T20:50:02.999Z] eaf3925da568: Pull complete [2023-09-05T20:50:04.904Z] bab4dde63d76: Pull complete [2023-09-05T20:50:04.905Z] bde34c3a00c8: Pull complete [2023-09-05T20:50:04.905Z] b352a97aabf1: Pull complete [2023-09-05T20:50:04.905Z] 4872d77fe225: Pull complete [2023-09-05T20:50:05.164Z] 5851b861e8e6: Pull complete [2023-09-05T20:50:05.164Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-05T20:50:05.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:50:05.164Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:50:05.267Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T20:50:05.296Z] $ 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-09-05T20:50:08.136Z] $ docker top 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e -eo pid,comm [2023-09-05T20:50:08.196Z] 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-09-05T20:50:08.196Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T20:50:08.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T20:50:08.281Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T20:50:08.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T20:50:08.400Z] $ docker exec 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent [2023-09-05T20:50:08.494Z] SSH_AUTH_SOCK=/tmp/ssh-X0xlGqfUwuaT/agent.33 [2023-09-05T20:50:08.494Z] SSH_AGENT_PID=39 [2023-09-05T20:50:08.499Z] Running ssh-add (command line suppressed) [2023-09-05T20:50:08.586Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4414596799436444350.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4414596799436444350.key) [2023-09-05T20:50:08.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T20:50:08.893Z] + git tag --points-at HEAD [Pipeline] } [2023-09-05T20:50:08.903Z] $ docker exec --env ******** --env ******** 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent -k [2023-09-05T20:50:08.990Z] unset SSH_AUTH_SOCK; [2023-09-05T20:50:08.991Z] unset SSH_AGENT_PID; [2023-09-05T20:50:08.991Z] echo Agent pid 39 killed; [2023-09-05T20:50:09.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-05T20:50:09.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T20:50:09.026Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T20:50:09.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T20:50:09.128Z] $ docker exec 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent [2023-09-05T20:50:09.236Z] SSH_AUTH_SOCK=/tmp/ssh-WIv3iZQGZpmP/agent.71 [2023-09-05T20:50:09.236Z] SSH_AGENT_PID=77 [2023-09-05T20:50:09.240Z] Running ssh-add (command line suppressed) [2023-09-05T20:50:09.353Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2358186862521497047.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2358186862521497047.key) [2023-09-05T20:50:09.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T20:50:09.660Z] + git semver init [2023-09-05T20:50:09.920Z] 2023-09-05 20:50:09,824 [run_init] DEBUG init version:0.0.0 force:False [2023-09-05T20:50:09.920Z] 2023-09-05 20:50:09,825 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-05T20:50:09.920Z] 2023-09-05 20:50:09,825 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-05T20:50:09.920Z] 2023-09-05 20:50:09,825 [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-09-05T20:50:11.295Z] 2023-09-05 20:50:10,988 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-05T20:50:11.295Z] 2023-09-05 20:50:10,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-05T20:50:11.295Z] 2023-09-05 20:50:10,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T20:50:11.295Z] 2023-09-05 20:50:10,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T20:50:11.295Z] 3.1.0-dev.8 [Pipeline] } [2023-09-05T20:50:11.303Z] $ docker exec --env ******** --env ******** 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e ssh-agent -k [2023-09-05T20:50:11.392Z] unset SSH_AUTH_SOCK; [2023-09-05T20:50:11.393Z] unset SSH_AGENT_PID; [2023-09-05T20:50:11.393Z] echo Agent pid 77 killed; [2023-09-05T20:50:11.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T20:50:11.705Z] + git semver [Pipeline] } [2023-09-05T20:50:11.977Z] $ docker stop --time=1 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e [2023-09-05T20:50:13.300Z] $ docker rm -f --volumes 60930ed2dad45d7515c451d608a8baf595785d8cd40cb1c787f787922d38ed8e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T20:50:13.641Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-05T20:50:13.866Z] Stashed 1 file(s) [Pipeline] echo [2023-09-05T20:50:13.869Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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-09-05T20:50:13.980Z] provisioning config files... [2023-09-05T20:50:13.988Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config397172220744112255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:50:14.283Z] ---> docker-login.sh [2023-09-05T20:50:14.283Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:50:14.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:50:14.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:50:14.283Z] Configure a credential helper to remove this warning. See [2023-09-05T20:50:14.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:50:14.283Z] [2023-09-05T20:50:14.283Z] Login Succeeded [2023-09-05T20:50:14.283Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:50:14.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:50:14.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:50:14.283Z] Configure a credential helper to remove this warning. See [2023-09-05T20:50:14.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:50:14.283Z] [2023-09-05T20:50:14.283Z] Login Succeeded [2023-09-05T20:50:14.283Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:50:14.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:50:14.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:50:14.551Z] Configure a credential helper to remove this warning. See [2023-09-05T20:50:14.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:50:14.551Z] [2023-09-05T20:50:14.551Z] Login Succeeded [2023-09-05T20:50:14.551Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:50:14.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:50:14.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:50:14.551Z] Configure a credential helper to remove this warning. See [2023-09-05T20:50:14.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:50:14.551Z] [2023-09-05T20:50:14.551Z] Login Succeeded [2023-09-05T20:50:14.551Z] docker.io [2023-09-05T20:50:14.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:50:14.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:50:14.811Z] Configure a credential helper to remove this warning. See [2023-09-05T20:50:14.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:50:14.811Z] [2023-09-05T20:50:14.811Z] Login Succeeded [2023-09-05T20:50:14.811Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:50:14.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-05T20:50:14.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:50:14.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:50:14.891Z] ========================================================= [2023-09-05T20:50:14.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-05T20:50:14.891Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:50:15.197Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T20:50:15.197Z] Sending build context to Docker daemon 10.92MB [2023-09-05T20:50:15.197Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:50:15.197Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-05T20:50:15.197Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-05T20:50:15.197Z] 4db1b89c0bd1: Pulling fs layer [2023-09-05T20:50:15.197Z] 6911f1a30b25: Pulling fs layer [2023-09-05T20:50:15.197Z] e194b8c5c2a9: Pulling fs layer [2023-09-05T20:50:15.197Z] 6863d3e3a2b1: Pulling fs layer [2023-09-05T20:50:15.197Z] ec0bb842ea78: Pulling fs layer [2023-09-05T20:50:15.197Z] 40a00589a448: Pulling fs layer [2023-09-05T20:50:15.197Z] 6c08303d61cc: Pulling fs layer [2023-09-05T20:50:15.197Z] 798269fcf238: Pulling fs layer [2023-09-05T20:50:15.197Z] 6863d3e3a2b1: Waiting [2023-09-05T20:50:15.197Z] ec0bb842ea78: Waiting [2023-09-05T20:50:15.197Z] 40a00589a448: Waiting [2023-09-05T20:50:15.197Z] 6c08303d61cc: Waiting [2023-09-05T20:50:15.197Z] 798269fcf238: Waiting [2023-09-05T20:50:15.197Z] 6911f1a30b25: Download complete [2023-09-05T20:50:15.456Z] 6863d3e3a2b1: Verifying Checksum [2023-09-05T20:50:15.456Z] 6863d3e3a2b1: Download complete [2023-09-05T20:50:15.456Z] ec0bb842ea78: Verifying Checksum [2023-09-05T20:50:15.456Z] ec0bb842ea78: Download complete [2023-09-05T20:50:15.456Z] 4db1b89c0bd1: Download complete [2023-09-05T20:50:15.456Z] 40a00589a448: Verifying Checksum [2023-09-05T20:50:15.456Z] 40a00589a448: Download complete [2023-09-05T20:50:15.456Z] 4db1b89c0bd1: Pull complete [2023-09-05T20:50:15.715Z] 6911f1a30b25: Pull complete [2023-09-05T20:50:15.974Z] 798269fcf238: Verifying Checksum [2023-09-05T20:50:15.974Z] 798269fcf238: Download complete [2023-09-05T20:50:15.974Z] e194b8c5c2a9: Verifying Checksum [2023-09-05T20:50:15.974Z] e194b8c5c2a9: Download complete [2023-09-05T20:50:15.974Z] 6c08303d61cc: Verifying Checksum [2023-09-05T20:50:15.974Z] 6c08303d61cc: Download complete [2023-09-05T20:50:19.273Z] e194b8c5c2a9: Pull complete [2023-09-05T20:50:19.273Z] 6863d3e3a2b1: Pull complete [2023-09-05T20:50:19.273Z] ec0bb842ea78: Pull complete [2023-09-05T20:50:19.273Z] 40a00589a448: Pull complete [2023-09-05T20:50:21.800Z] 6c08303d61cc: Pull complete [2023-09-05T20:50:22.366Z] 798269fcf238: Pull complete [2023-09-05T20:50:22.366Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-05T20:50:22.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-05T20:50:22.366Z] ---> ec979cd7f677 [2023-09-05T20:50:22.366Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:50:28.941Z] ---> Running in 89cdda45b67f [2023-09-05T20:50:28.941Z] Removing intermediate container 89cdda45b67f [2023-09-05T20:50:28.941Z] ---> a79860f22a6d [2023-09-05T20:50:28.941Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:50:28.941Z] ---> Running in b3bfc47c788a [2023-09-05T20:50:28.941Z] Removing intermediate container b3bfc47c788a [2023-09-05T20:50:28.941Z] ---> d9bc881e804f [2023-09-05T20:50:28.941Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:50:28.941Z] ---> Running in 80b29c876cd0 [2023-09-05T20:50:28.941Z] Removing intermediate container 80b29c876cd0 [2023-09-05T20:50:28.941Z] ---> e5c8c9a01d5f [2023-09-05T20:50:28.941Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:50:28.941Z] ---> Running in dd080101647c [2023-09-05T20:50:28.941Z] Removing intermediate container dd080101647c [2023-09-05T20:50:28.941Z] ---> d1edfeed91d3 [2023-09-05T20:50:28.941Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:50:28.941Z] ---> Running in aff033b07fc3 [2023-09-05T20:50:28.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:50:28.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:50:28.950Z] Still waiting to schedule task [2023-09-05T20:50:28.951Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-05T20:50:29.200Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T20:50:29.200Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-05T20:50:29.200Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T20:50:29.459Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T20:50:29.459Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:50:29.459Z] OK: 269 MiB in 57 packages [2023-09-05T20:50:29.718Z] Removing intermediate container aff033b07fc3 [2023-09-05T20:50:29.718Z] ---> 2e4bd3e13b54 [2023-09-05T20:50:29.718Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-05T20:50:29.976Z] ---> Running in aaecdb4640a1 [2023-09-05T20:50:29.976Z] Removing intermediate container aaecdb4640a1 [2023-09-05T20:50:29.976Z] ---> 501627476b2c [2023-09-05T20:50:29.976Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-05T20:50:29.976Z] ---> 4ab6f4cc14ef [2023-09-05T20:50:29.976Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:50:29.976Z] ---> Running in 61612c04c06d [2023-09-05T20:51:03.158Z] Removing intermediate container 61612c04c06d [2023-09-05T20:51:03.158Z] ---> cd230ac78e00 [2023-09-05T20:51:03.158Z] Step 11/12 : COPY . . [2023-09-05T20:51:03.158Z] ---> 4022a719693c [2023-09-05T20:51:03.158Z] Step 12/12 : RUN $MAKE [2023-09-05T20:51:03.158Z] ---> Running in 5cdadf721f8d [2023-09-05T20:51:03.158Z] noop [2023-09-05T20:51:03.158Z] Removing intermediate container 5cdadf721f8d [2023-09-05T20:51:03.158Z] ---> a7692a1ad32e [2023-09-05T20:51:03.158Z] Successfully built a7692a1ad32e [2023-09-05T20:51:03.158Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:51:03.474Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T20:51:03.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:51:03.547Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T20:51:03.576Z] $ 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-09-05T20:51:03.887Z] $ docker top b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:51:04.227Z] + go version [2023-09-05T20:51:04.227Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-05T20:51:04.235Z] $ docker stop --time=1 b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 [2023-09-05T20:51:05.494Z] $ docker rm -f --volumes b905167c6a4be996d15324339dde147f54d3b2462ad070eb8ae8fbe95612f793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:51:05.886Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T20:51:05.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:51:05.960Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T20:51:05.994Z] $ 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-09-05T20:51:06.357Z] $ docker top e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:51:06.709Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-05T20:51:07.002Z] + make test [2023-09-05T20:51:07.003Z] go test ./... -coverprofile=coverage.out ./... [2023-09-05T20:51:12.264Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-05T20:51:22.223Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-05T20:51:22.223Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-09-05T20:51:28.778Z] go vet ./... [2023-09-05T20:51:32.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T20:51:32.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T20:51:32.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T20:51:32.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T20:51:32.347Z] $ docker stop --time=1 e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf [2023-09-05T20:51:36.315Z] $ docker rm -f --volumes e8c7a713dea30d07b0970eae51093fbaa3b7bdfd47a39f483c3023c6b358fadf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T20:51:36.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T20:51:36.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-05T20:51:37.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T20:51:37.674Z] + ls -al . [2023-09-05T20:51:37.674Z] total 188 [2023-09-05T20:51:37.674Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:51 . [2023-09-05T20:51:37.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:49 .. [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:49 .dockerignore [2023-09-05T20:51:37.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:50 .git [2023-09-05T20:51:37.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:49 .github [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:49 .gitignore [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:49 .golangci.yml [2023-09-05T20:51:37.674Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:50 .semver [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:49 Attribution.txt [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:49 CHANGELOG.md [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:49 Dockerfile [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:49 GOVERNANCE.md [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:49 Jenkinsfile [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:49 LICENSE [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:49 Makefile [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:49 OWNERS.md [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:49 README.md [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 5 20:50 VERSION [2023-09-05T20:51:37.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:49 bin [2023-09-05T20:51:37.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:49 cmd [2023-09-05T20:51:37.674Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:51 coverage.out [2023-09-05T20:51:37.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:49 driver [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:49 go.mod [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:49 go.sum [2023-09-05T20:51:37.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:49 snap [2023-09-05T20:51:37.674Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:51:37.995Z] + 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90 --label arch=amd64 --label version=3.1.0-dev.8 . [2023-09-05T20:51:37.995Z] Sending build context to Docker daemon 10.94MB [2023-09-05T20:51:37.995Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:51:37.995Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-05T20:51:37.995Z] ---> a7692a1ad32e [2023-09-05T20:51:37.995Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:51:38.396Z] ---> Running in 10772ffba82f [2023-09-05T20:51:38.396Z] Removing intermediate container 10772ffba82f [2023-09-05T20:51:38.396Z] ---> 47582b986cf1 [2023-09-05T20:51:38.396Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:51:38.396Z] ---> Running in 137fc49575d7 [2023-09-05T20:51:38.396Z] Removing intermediate container 137fc49575d7 [2023-09-05T20:51:38.396Z] ---> 9e2b07e3ff3d [2023-09-05T20:51:38.396Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:51:38.396Z] ---> Running in d14bc9db9f09 [2023-09-05T20:51:38.656Z] Removing intermediate container d14bc9db9f09 [2023-09-05T20:51:38.656Z] ---> 34f9f22d4bac [2023-09-05T20:51:38.656Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:51:38.656Z] ---> Running in fbef879dc5da [2023-09-05T20:51:38.656Z] Removing intermediate container fbef879dc5da [2023-09-05T20:51:38.656Z] ---> 606e019c6d10 [2023-09-05T20:51:38.656Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:51:38.656Z] ---> Running in 826158391dd2 [2023-09-05T20:51:38.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:51:38.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:51:39.175Z] OK: 269 MiB in 57 packages [2023-09-05T20:51:39.741Z] Removing intermediate container 826158391dd2 [2023-09-05T20:51:39.741Z] ---> 57f58239c34d [2023-09-05T20:51:39.741Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-05T20:51:39.741Z] ---> Running in 6acb91cc9fe7 [2023-09-05T20:51:39.741Z] Removing intermediate container 6acb91cc9fe7 [2023-09-05T20:51:39.741Z] ---> b957329b1863 [2023-09-05T20:51:39.741Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-05T20:51:39.741Z] ---> 77852dda69e9 [2023-09-05T20:51:39.741Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:51:39.741Z] ---> Running in 7f0f684d7ba5 [2023-09-05T20:51:40.850Z] Removing intermediate container 7f0f684d7ba5 [2023-09-05T20:51:40.850Z] ---> 12719f1f9730 [2023-09-05T20:51:40.850Z] Step 11/25 : COPY . . [2023-09-05T20:51:41.109Z] ---> 5b6e95896a32 [2023-09-05T20:51:41.109Z] Step 12/25 : RUN $MAKE [2023-09-05T20:51:41.109Z] ---> Running in 9f7e9cc0330a [2023-09-05T20:51:41.366Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-05T20:52:03.368Z] Removing intermediate container 9f7e9cc0330a [2023-09-05T20:52:03.368Z] ---> 3d388d38581c [2023-09-05T20:52:03.368Z] Step 13/25 : FROM alpine:3.17 [2023-09-05T20:52:03.368Z] 3.17: Pulling from library/alpine [2023-09-05T20:52:03.368Z] 9398808236ff: Pulling fs layer [2023-09-05T20:52:03.368Z] 9398808236ff: Download complete [2023-09-05T20:52:03.368Z] 9398808236ff: Pull complete [2023-09-05T20:52:03.368Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T20:52:03.368Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T20:52:03.368Z] ---> 1e0b8b5322fc [2023-09-05T20:52:03.368Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-05T20:52:03.368Z] ---> Running in 5cc8dbad3666 [2023-09-05T20:52:03.368Z] Removing intermediate container 5cc8dbad3666 [2023-09-05T20:52:03.368Z] ---> 37f9333c022a [2023-09-05T20:52:03.368Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-05T20:52:03.368Z] ---> Running in 852e733f3393 [2023-09-05T20:52:03.368Z] Removing intermediate container 852e733f3393 [2023-09-05T20:52:03.368Z] ---> 1668ffd7fc20 [2023-09-05T20:52:03.368Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-05T20:52:03.368Z] ---> Running in 3e6f5f7e2691 [2023-09-05T20:52:03.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:52:03.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:52:03.625Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T20:52:03.626Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:52:03.626Z] OK: 7 MiB in 16 packages [2023-09-05T20:52:03.894Z] Removing intermediate container 3e6f5f7e2691 [2023-09-05T20:52:03.894Z] ---> 241c7f1b650b [2023-09-05T20:52:03.894Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-05T20:52:04.830Z] ---> 0352fdb63384 [2023-09-05T20:52:04.830Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-05T20:52:05.091Z] ---> 052ada737550 [2023-09-05T20:52:05.091Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-05T20:52:05.091Z] ---> 2490ab082dde [2023-09-05T20:52:05.091Z] Step 20/25 : EXPOSE 59986 [2023-09-05T20:52:05.091Z] ---> Running in 4b528b177abe [2023-09-05T20:52:05.350Z] Removing intermediate container 4b528b177abe [2023-09-05T20:52:05.350Z] ---> 7bf063cf39f1 [2023-09-05T20:52:05.350Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-05T20:52:05.350Z] ---> Running in 214bd9691549 [2023-09-05T20:52:05.350Z] Removing intermediate container 214bd9691549 [2023-09-05T20:52:05.350Z] ---> 3e0b16b69ce1 [2023-09-05T20:52:05.350Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T20:52:05.350Z] ---> Running in 456a9ec9c3b2 [2023-09-05T20:52:05.609Z] Removing intermediate container 456a9ec9c3b2 [2023-09-05T20:52:05.609Z] ---> 8803c3eafac7 [2023-09-05T20:52:05.609Z] Step 23/25 : LABEL arch=amd64 [2023-09-05T20:52:05.609Z] ---> Running in e0a182e31b0a [2023-09-05T20:52:05.609Z] Removing intermediate container e0a182e31b0a [2023-09-05T20:52:05.609Z] ---> 780f3255d7f1 [2023-09-05T20:52:05.609Z] Step 24/25 : LABEL git_sha=57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T20:52:05.609Z] ---> Running in bbcc98fd4eef [2023-09-05T20:52:05.609Z] Removing intermediate container bbcc98fd4eef [2023-09-05T20:52:05.609Z] ---> 20e66f45b7bf [2023-09-05T20:52:05.609Z] Step 25/25 : LABEL version=3.1.0-dev.8 [2023-09-05T20:52:05.868Z] ---> Running in 20dcc0e169d8 [2023-09-05T20:52:05.868Z] Removing intermediate container 20dcc0e169d8 [2023-09-05T20:52:05.868Z] ---> ee82f8048c01 [2023-09-05T20:52:05.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T20:52:05.868Z] Successfully built ee82f8048c01 [2023-09-05T20:52:05.868Z] 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-09-05T20:52:05.950Z] provisioning config files... [2023-09-05T20:52:05.959Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2647378763663606066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:52:06.351Z] ---> docker-login.sh [2023-09-05T20:52:06.351Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:52:06.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:52:06.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:52:06.351Z] Configure a credential helper to remove this warning. See [2023-09-05T20:52:06.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:52:06.351Z] [2023-09-05T20:52:06.351Z] Login Succeeded [2023-09-05T20:52:06.351Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:52:06.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:52:06.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:52:06.351Z] Configure a credential helper to remove this warning. See [2023-09-05T20:52:06.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:52:06.351Z] [2023-09-05T20:52:06.351Z] Login Succeeded [2023-09-05T20:52:06.351Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:52:06.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:52:06.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:52:06.633Z] Configure a credential helper to remove this warning. See [2023-09-05T20:52:06.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:52:06.633Z] [2023-09-05T20:52:06.633Z] Login Succeeded [2023-09-05T20:52:06.633Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:52:06.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:52:06.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:52:06.633Z] Configure a credential helper to remove this warning. See [2023-09-05T20:52:06.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:52:06.633Z] [2023-09-05T20:52:06.633Z] Login Succeeded [2023-09-05T20:52:06.633Z] docker.io [2023-09-05T20:52:06.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:52:06.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:52:06.916Z] Configure a credential helper to remove this warning. See [2023-09-05T20:52:06.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:52:06.916Z] [2023-09-05T20:52:06.916Z] Login Succeeded [2023-09-05T20:52:06.916Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:52:06.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-05T20:52:06.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:52:07.003Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-05T20:52:07.003Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T20:52:07.003Z] latest [2023-09-05T20:52:07.003Z] 3.1.0-dev.8 [2023-09-05T20:52:07.003Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T20:52:07.003Z] main [2023-09-05T20:52:07.003Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:07.318Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:07.624Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T20:52:07.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-05T20:52:07.624Z] a1880dcc167e: Preparing [2023-09-05T20:52:07.624Z] 18cefbfaa85f: Preparing [2023-09-05T20:52:07.624Z] f3696b76283f: Preparing [2023-09-05T20:52:07.624Z] 1bdb917ee235: Preparing [2023-09-05T20:52:07.624Z] 36b50b131297: Preparing [2023-09-05T20:52:07.624Z] 36b50b131297: Layer already exists [2023-09-05T20:52:07.624Z] 18cefbfaa85f: Pushed [2023-09-05T20:52:07.624Z] a1880dcc167e: Pushed [2023-09-05T20:52:07.624Z] 1bdb917ee235: Pushed [2023-09-05T20:52:10.910Z] f3696b76283f: Pushed [2023-09-05T20:52:10.910Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:11.222Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:11.527Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-05T20:52:11.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-05T20:52:11.527Z] a1880dcc167e: Preparing [2023-09-05T20:52:11.527Z] 18cefbfaa85f: Preparing [2023-09-05T20:52:11.527Z] f3696b76283f: Preparing [2023-09-05T20:52:11.527Z] 1bdb917ee235: Preparing [2023-09-05T20:52:11.527Z] 36b50b131297: Preparing [2023-09-05T20:52:11.527Z] 36b50b131297: Layer already exists [2023-09-05T20:52:11.527Z] 1bdb917ee235: Layer already exists [2023-09-05T20:52:11.527Z] 18cefbfaa85f: Layer already exists [2023-09-05T20:52:11.527Z] a1880dcc167e: Layer already exists [2023-09-05T20:52:11.527Z] f3696b76283f: Layer already exists [2023-09-05T20:52:11.527Z] latest: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:11.839Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:12.144Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 [2023-09-05T20:52:12.144Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-05T20:52:12.144Z] a1880dcc167e: Preparing [2023-09-05T20:52:12.144Z] 18cefbfaa85f: Preparing [2023-09-05T20:52:12.144Z] f3696b76283f: Preparing [2023-09-05T20:52:12.144Z] 1bdb917ee235: Preparing [2023-09-05T20:52:12.144Z] 36b50b131297: Preparing [2023-09-05T20:52:12.144Z] f3696b76283f: Layer already exists [2023-09-05T20:52:12.144Z] a1880dcc167e: Layer already exists [2023-09-05T20:52:12.144Z] 1bdb917ee235: Layer already exists [2023-09-05T20:52:12.144Z] 18cefbfaa85f: Layer already exists [2023-09-05T20:52:12.144Z] 36b50b131297: Layer already exists [2023-09-05T20:52:12.144Z] 3.1.0-dev.8: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:12.454Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:12.756Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T20:52:12.756Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-05T20:52:12.757Z] a1880dcc167e: Preparing [2023-09-05T20:52:12.757Z] 18cefbfaa85f: Preparing [2023-09-05T20:52:12.757Z] f3696b76283f: Preparing [2023-09-05T20:52:12.757Z] 1bdb917ee235: Preparing [2023-09-05T20:52:12.757Z] 36b50b131297: Preparing [2023-09-05T20:52:12.757Z] 36b50b131297: Layer already exists [2023-09-05T20:52:12.757Z] a1880dcc167e: Layer already exists [2023-09-05T20:52:12.757Z] 18cefbfaa85f: Layer already exists [2023-09-05T20:52:12.757Z] f3696b76283f: Layer already exists [2023-09-05T20:52:12.757Z] 1bdb917ee235: Layer already exists [2023-09-05T20:52:12.757Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:13.063Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:13.372Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-05T20:52:13.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-05T20:52:13.372Z] a1880dcc167e: Preparing [2023-09-05T20:52:13.372Z] 18cefbfaa85f: Preparing [2023-09-05T20:52:13.372Z] f3696b76283f: Preparing [2023-09-05T20:52:13.372Z] 1bdb917ee235: Preparing [2023-09-05T20:52:13.372Z] 36b50b131297: Preparing [2023-09-05T20:52:13.372Z] 18cefbfaa85f: Layer already exists [2023-09-05T20:52:13.372Z] 1bdb917ee235: Layer already exists [2023-09-05T20:52:13.372Z] a1880dcc167e: Layer already exists [2023-09-05T20:52:13.372Z] f3696b76283f: Layer already exists [2023-09-05T20:52:13.372Z] 36b50b131297: Layer already exists [2023-09-05T20:52:13.372Z] main: digest: sha256:5f98ca4846cd0231c556711daa738268732c0c179c90c17cebe22c202a7a4424 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-05T20:52:13.411Z] ===================================================== [Pipeline] echo [2023-09-05T20:52:13.417Z] taggedImages: [2023-09-05T20:52:13.417Z] - nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T20:52:13.417Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-05T20:52:13.417Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.8 [2023-09-05T20:52:13.417Z] - nexus3.edgexfoundry.org:10004/device-rest:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T20:52:13.417Z] - 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-09-05T20:52:13.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:52:13.807Z] [2023-09-05T20:52:13.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:52:14.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:52:14.109Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-05T20:52:14.109Z] 5eb5b503b376: Pulling fs layer [2023-09-05T20:52:14.109Z] 5c69ac0246d0: Pulling fs layer [2023-09-05T20:52:14.109Z] ec43610c2a17: Pulling fs layer [2023-09-05T20:52:14.109Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-05T20:52:14.109Z] 33b1e0a273af: Pulling fs layer [2023-09-05T20:52:14.109Z] 5d3b04190fa2: Pulling fs layer [2023-09-05T20:52:14.109Z] 2f39f015ded8: Pulling fs layer [2023-09-05T20:52:14.109Z] 3a2ae6a8a46f: Waiting [2023-09-05T20:52:14.109Z] 33b1e0a273af: Waiting [2023-09-05T20:52:14.109Z] 5d3b04190fa2: Waiting [2023-09-05T20:52:14.109Z] 2f39f015ded8: Waiting [2023-09-05T20:52:14.109Z] 5c69ac0246d0: Verifying Checksum [2023-09-05T20:52:14.109Z] 5c69ac0246d0: Download complete [2023-09-05T20:52:14.109Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-05T20:52:14.109Z] 3a2ae6a8a46f: Download complete [2023-09-05T20:52:14.109Z] 33b1e0a273af: Verifying Checksum [2023-09-05T20:52:14.109Z] 33b1e0a273af: Download complete [2023-09-05T20:52:14.109Z] 5d3b04190fa2: Verifying Checksum [2023-09-05T20:52:14.109Z] 5d3b04190fa2: Download complete [2023-09-05T20:52:14.109Z] ec43610c2a17: Verifying Checksum [2023-09-05T20:52:14.109Z] ec43610c2a17: Download complete [2023-09-05T20:52:14.367Z] 5eb5b503b376: Verifying Checksum [2023-09-05T20:52:14.367Z] 5eb5b503b376: Download complete [2023-09-05T20:52:14.933Z] 2f39f015ded8: Download complete [2023-09-05T20:52:15.506Z] 5eb5b503b376: Pull complete [2023-09-05T20:52:15.766Z] 5c69ac0246d0: Pull complete [2023-09-05T20:52:16.024Z] ec43610c2a17: Pull complete [2023-09-05T20:52:16.282Z] 3a2ae6a8a46f: Pull complete [2023-09-05T20:52:16.541Z] 33b1e0a273af: Pull complete [2023-09-05T20:52:16.541Z] 5d3b04190fa2: Pull complete [2023-09-05T20:52:20.722Z] 2f39f015ded8: Pull complete [2023-09-05T20:52:20.722Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-05T20:52:20.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:52:20.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:52:20.813Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T20:52:20.841Z] $ 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-09-05T20:52:26.029Z] $ docker top 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:52:26.408Z] ---> job-cost.sh [2023-09-05T20:52:26.408Z] lf-activate-venv: SKIPPING [2023-09-05T20:52:26.408Z] INFO: No Stack... [2023-09-05T20:52:26.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T20:52:27.235Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T20:52:27.526Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-05T20:52:27.526Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T20:52:27.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [2023-09-05T20:52:27.553Z] Resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] did not exist. Created. [2023-09-05T20:52:27.553Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T20:52:27.860Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-05T20:52:27.892Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T20:52:27.901Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T20:52:27.911Z] $ docker stop --time=1 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 [2023-09-05T20:52:29.067Z] $ docker rm -f --volumes 014b64fef285d1c89827533ae8475d80b5e78235c03680d37fa40bc233ccc6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-05T20:54:21.432Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5377 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-05T20:54:21.446Z] Running in /w/workspace/device-rest-go/128 [Pipeline] { [Pipeline] checkout [2023-09-05T20:54:21.484Z] The recommended git tool is: git [2023-09-05T20:54:27.486Z] using credential edgex-jenkins-ssh [2023-09-05T20:54:27.504Z] Cloning the remote Git repository [2023-09-05T20:54:27.564Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-05T20:54:27.680Z] > git init /w/workspace/device-rest-go/128 # timeout=10 [2023-09-05T20:54:27.855Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-05T20:54:27.857Z] > git --version # timeout=10 [2023-09-05T20:54:27.887Z] > git --version # 'git version 2.25.1' [2023-09-05T20:54:27.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T20:54:28.083Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T20:54:29.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-05T20:54:30.012Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T20:54:30.981Z] Avoid second fetch [2023-09-05T20:54:30.982Z] Checking out Revision 57a7e4fe794bb86fec7da1c819e454c45e75ed90 (main) [2023-09-05T20:54:31.629Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#336)" [2023-09-05T20:54:31.004Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T20:54:31.095Z] > git checkout -f 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T20:54:32.709Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-05T20:54:32.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T20:54:32.709Z] Dload Upload Total Spent Left Speed [2023-09-05T20:54:32.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-09-05T20:54:33.365Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-05T20:54:33.706Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-09-05T20:54:33.706Z] /etc/docker/daemon.new [2023-09-05T20:54:33.706Z] { [2023-09-05T20:54:33.706Z] "registry-mirrors": [ [2023-09-05T20:54:33.706Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-05T20:54:33.706Z] ], [2023-09-05T20:54:33.706Z] "bip": "10.250.0.254/24", [2023-09-05T20:54:33.706Z] "hosts": [ [2023-09-05T20:54:33.706Z] "tcp://0.0.0.0:5555", [2023-09-05T20:54:33.706Z] "unix:///var/run/docker.sock" [2023-09-05T20:54:33.706Z] ], [2023-09-05T20:54:33.706Z] "mtu": 1458, [2023-09-05T20:54:33.706Z] "selinux-enabled": true, [2023-09-05T20:54:33.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-05T20:54:33.706Z] } [Pipeline] sh [2023-09-05T20:54:34.045Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-05T20:54:34.384Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T20:54:56.582Z] provisioning config files... [2023-09-05T20:54:56.609Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/128@tmp/config6647482008719476461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:54:56.980Z] ---> docker-login.sh [2023-09-05T20:54:56.980Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:54:57.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:54:57.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:54:57.844Z] Configure a credential helper to remove this warning. See [2023-09-05T20:54:57.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:54:57.844Z] [2023-09-05T20:54:57.844Z] Login Succeeded [2023-09-05T20:54:57.844Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:54:58.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:54:58.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:54:58.387Z] Configure a credential helper to remove this warning. See [2023-09-05T20:54:58.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:54:58.387Z] [2023-09-05T20:54:58.387Z] Login Succeeded [2023-09-05T20:54:58.387Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:54:58.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:54:58.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:54:58.659Z] Configure a credential helper to remove this warning. See [2023-09-05T20:54:58.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:54:58.659Z] [2023-09-05T20:54:58.659Z] Login Succeeded [2023-09-05T20:54:58.659Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:54:58.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:54:58.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:54:58.930Z] Configure a credential helper to remove this warning. See [2023-09-05T20:54:58.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:54:58.930Z] [2023-09-05T20:54:58.930Z] Login Succeeded [2023-09-05T20:54:58.930Z] docker.io [2023-09-05T20:54:59.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:54:59.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:54:59.789Z] Configure a credential helper to remove this warning. See [2023-09-05T20:54:59.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:54:59.789Z] [2023-09-05T20:54:59.789Z] Login Succeeded [2023-09-05T20:54:59.789Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:54:59.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-05T20:55:00.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:55:00.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:55:00.111Z] ========================================================= [2023-09-05T20:55:00.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-05T20:55:00.111Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:55:00.471Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T20:55:00.471Z] Sending build context to Docker daemon 143.4kB [2023-09-05T20:55:00.741Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:55:00.741Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-05T20:55:01.018Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-05T20:55:01.018Z] edb6bdbacee9: Pulling fs layer [2023-09-05T20:55:01.018Z] 5f9638ab2659: Pulling fs layer [2023-09-05T20:55:01.018Z] 8d51d6327a98: Pulling fs layer [2023-09-05T20:55:01.018Z] 8b374f2dd631: Pulling fs layer [2023-09-05T20:55:01.018Z] ec14aa9079de: Pulling fs layer [2023-09-05T20:55:01.018Z] 2f466654f4bb: Pulling fs layer [2023-09-05T20:55:01.018Z] 554e91adad29: Pulling fs layer [2023-09-05T20:55:01.018Z] 8b374f2dd631: Waiting [2023-09-05T20:55:01.018Z] 2f466654f4bb: Waiting [2023-09-05T20:55:01.018Z] ec14aa9079de: Waiting [2023-09-05T20:55:01.018Z] 554e91adad29: Waiting [2023-09-05T20:55:01.018Z] 5f9638ab2659: Download complete [2023-09-05T20:55:01.018Z] 8b374f2dd631: Verifying Checksum [2023-09-05T20:55:01.018Z] 8b374f2dd631: Download complete [2023-09-05T20:55:01.018Z] ec14aa9079de: Verifying Checksum [2023-09-05T20:55:01.018Z] ec14aa9079de: Download complete [2023-09-05T20:55:01.018Z] edb6bdbacee9: Verifying Checksum [2023-09-05T20:55:02.457Z] edb6bdbacee9: Pull complete [2023-09-05T20:55:02.457Z] 554e91adad29: Verifying Checksum [2023-09-05T20:55:02.457Z] 554e91adad29: Download complete [2023-09-05T20:55:03.887Z] 8d51d6327a98: Verifying Checksum [2023-09-05T20:55:03.887Z] 8d51d6327a98: Download complete [2023-09-05T20:55:03.887Z] 2f466654f4bb: Verifying Checksum [2023-09-05T20:55:03.887Z] 2f466654f4bb: Download complete [2023-09-05T20:55:05.316Z] 5f9638ab2659: Pull complete [2023-09-05T20:55:20.345Z] 8d51d6327a98: Pull complete [2023-09-05T20:55:20.345Z] 8b374f2dd631: Pull complete [2023-09-05T20:55:20.616Z] ec14aa9079de: Pull complete [2023-09-05T20:55:27.294Z] 2f466654f4bb: Pull complete [2023-09-05T20:55:29.890Z] 554e91adad29: Pull complete [2023-09-05T20:55:29.890Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-05T20:55:29.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-05T20:55:29.890Z] ---> 1e15ea492957 [2023-09-05T20:55:29.890Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:55:30.864Z] ---> Running in 33974e46de52 [2023-09-05T20:55:32.898Z] Removing intermediate container 33974e46de52 [2023-09-05T20:55:32.898Z] ---> 728d74265a7f [2023-09-05T20:55:32.898Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:55:33.168Z] ---> Running in b33453472a65 [2023-09-05T20:55:33.437Z] Removing intermediate container b33453472a65 [2023-09-05T20:55:33.437Z] ---> 08b0eff86ca9 [2023-09-05T20:55:33.437Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:55:33.437Z] ---> Running in 5e7719bc8759 [2023-09-05T20:55:33.706Z] Removing intermediate container 5e7719bc8759 [2023-09-05T20:55:33.706Z] ---> 2ee66ccfa6cf [2023-09-05T20:55:33.706Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:55:33.706Z] ---> Running in 47e41bc7c877 [2023-09-05T20:55:34.295Z] Removing intermediate container 47e41bc7c877 [2023-09-05T20:55:34.295Z] ---> 60bda1a37f17 [2023-09-05T20:55:34.295Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:55:34.295Z] ---> Running in 17e95daa016a [2023-09-05T20:55:35.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T20:55:35.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T20:55:37.253Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T20:55:37.253Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-05T20:55:37.253Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T20:55:37.253Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T20:55:37.253Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:55:37.253Z] OK: 268 MiB in 57 packages [2023-09-05T20:55:38.218Z] Removing intermediate container 17e95daa016a [2023-09-05T20:55:38.218Z] ---> 1f9a3a460c09 [2023-09-05T20:55:38.218Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-05T20:55:38.489Z] ---> Running in 4cfc5d2cb08a [2023-09-05T20:55:38.757Z] Removing intermediate container 4cfc5d2cb08a [2023-09-05T20:55:38.757Z] ---> 0c2b4a6e5a79 [2023-09-05T20:55:38.757Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-05T20:55:39.344Z] ---> bd76ee8b7381 [2023-09-05T20:55:39.344Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:55:39.344Z] ---> Running in ce9ad34211d7 [2023-09-05T20:56:47.212Z] Removing intermediate container ce9ad34211d7 [2023-09-05T20:56:47.212Z] ---> 90bbead7ca75 [2023-09-05T20:56:47.212Z] Step 11/12 : COPY . . [2023-09-05T20:56:47.212Z] ---> def7f1f529b6 [2023-09-05T20:56:47.212Z] Step 12/12 : RUN $MAKE [2023-09-05T20:56:47.212Z] ---> Running in 670893fc1ed7 [2023-09-05T20:56:47.212Z] noop [2023-09-05T20:56:47.797Z] Removing intermediate container 670893fc1ed7 [2023-09-05T20:56:47.797Z] ---> a4d9b15fad16 [2023-09-05T20:56:47.797Z] Successfully built a4d9b15fad16 [2023-09-05T20:56:47.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:56:48.158Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T20:56:48.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:56:48.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container [2023-09-05T20:56:48.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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-09-05T20:56:49.716Z] $ docker top fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:56:50.574Z] + go version [2023-09-05T20:56:50.574Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-05T20:56:50.596Z] $ docker stop --time=1 fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 [2023-09-05T20:56:52.260Z] $ docker rm -f --volumes fd44cf9cc9b343214853f4ce0046fcb63d80236a56221615d7e7f95bfcbb33c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:56:52.837Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T20:56:52.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:56:53.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container [2023-09-05T20:56:53.112Z] $ 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/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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-09-05T20:56:55.648Z] $ docker top 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:56:56.492Z] + git config --global --add safe.directory /w/workspace/device-rest-go/128 [Pipeline] fileExists [Pipeline] sh [2023-09-05T20:56:57.147Z] + make test [2023-09-05T20:56:57.147Z] go test ./... -coverprofile=coverage.out ./... [2023-09-05T20:57:36.024Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-05T20:59:42.957Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-05T20:59:46.305Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2023-09-05T20:59:46.893Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-05T20:59:46.893Z] go vet ./... [2023-09-05T21:00:19.136Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T21:00:19.136Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T21:00:19.136Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T21:00:19.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T21:00:19.169Z] $ docker stop --time=1 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 [2023-09-05T21:00:21.043Z] $ docker rm -f --volumes 6eb108b582e1ee9e1bd530c6a9e86a0eafd6d39f2b470a5bb184fb08e0c936c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T21:00:22.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T21:00:22.228Z] Warning: overwriting stash ‘coverage-report’ [2023-09-05T21:00:22.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T21:00:23.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T21:00:23.401Z] + ls -al . [2023-09-05T21:00:23.401Z] total 184 [2023-09-05T21:00:23.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:57 . [2023-09-05T21:00:23.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:54 .. [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:54 .dockerignore [2023-09-05T21:00:23.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:54 .git [2023-09-05T21:00:23.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:54 .github [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:54 .gitignore [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:54 .golangci.yml [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:54 Attribution.txt [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:54 CHANGELOG.md [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:54 Dockerfile [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:54 GOVERNANCE.md [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:54 Jenkinsfile [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:54 LICENSE [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:54 Makefile [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:54 OWNERS.md [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:54 README.md [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 5 20:50 VERSION [2023-09-05T21:00:23.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:54 bin [2023-09-05T21:00:23.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:54 cmd [2023-09-05T21:00:23.401Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:59 coverage.out [2023-09-05T21:00:23.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:54 driver [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:54 go.mod [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:54 go.sum [2023-09-05T21:00:23.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:54 snap [2023-09-05T21:00:23.401Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:00:23.738Z] + 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90 --label arch=arm64 --label version=3.1.0-dev.8 . [2023-09-05T21:00:23.738Z] Sending build context to Docker daemon 158.7kB [2023-09-05T21:00:24.005Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T21:00:24.005Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-05T21:00:24.005Z] ---> a4d9b15fad16 [2023-09-05T21:00:24.005Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-05T21:00:24.005Z] ---> Running in fa50b8f26ec8 [2023-09-05T21:00:24.274Z] Removing intermediate container fa50b8f26ec8 [2023-09-05T21:00:24.274Z] ---> 05a0b47f40b2 [2023-09-05T21:00:24.274Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T21:00:24.542Z] ---> Running in d0de2c7a6418 [2023-09-05T21:00:24.810Z] Removing intermediate container d0de2c7a6418 [2023-09-05T21:00:24.810Z] ---> f649290134da [2023-09-05T21:00:24.810Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T21:00:24.810Z] ---> Running in 7b328603870b [2023-09-05T21:00:25.077Z] Removing intermediate container 7b328603870b [2023-09-05T21:00:25.077Z] ---> a50e7cebbbc8 [2023-09-05T21:00:25.077Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T21:00:25.077Z] ---> Running in 6b27b0f754fb [2023-09-05T21:00:25.344Z] Removing intermediate container 6b27b0f754fb [2023-09-05T21:00:25.344Z] ---> 5c3c042960c3 [2023-09-05T21:00:25.344Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T21:00:25.611Z] ---> Running in 97463eafd9c3 [2023-09-05T21:00:26.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T21:00:27.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T21:00:28.117Z] OK: 268 MiB in 57 packages [2023-09-05T21:00:29.079Z] Removing intermediate container 97463eafd9c3 [2023-09-05T21:00:29.079Z] ---> 2ad200020a45 [2023-09-05T21:00:29.079Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-05T21:00:29.079Z] ---> Running in f1faebca1ae9 [2023-09-05T21:00:29.347Z] Removing intermediate container f1faebca1ae9 [2023-09-05T21:00:29.347Z] ---> 48116621172a [2023-09-05T21:00:29.347Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-05T21:00:31.938Z] ---> 23e9482b5a48 [2023-09-05T21:00:31.938Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T21:00:31.938Z] ---> Running in 1068f82ab147 [2023-09-05T21:00:34.542Z] Removing intermediate container 1068f82ab147 [2023-09-05T21:00:34.542Z] ---> 28471c836a98 [2023-09-05T21:00:34.542Z] Step 11/25 : COPY . . [2023-09-05T21:00:34.809Z] ---> 7497a28df4e2 [2023-09-05T21:00:34.809Z] Step 12/25 : RUN $MAKE [2023-09-05T21:00:34.810Z] ---> Running in d16024dad05f [2023-09-05T21:00:35.770Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-05T21:02:57.463Z] Removing intermediate container d16024dad05f [2023-09-05T21:02:57.463Z] ---> 43fef57a6d32 [2023-09-05T21:02:57.464Z] Step 13/25 : FROM alpine:3.17 [2023-09-05T21:02:57.464Z] 3.17: Pulling from library/alpine [2023-09-05T21:02:57.464Z] 4060ece20d7a: Pulling fs layer [2023-09-05T21:02:57.464Z] 4060ece20d7a: Verifying Checksum [2023-09-05T21:02:57.464Z] 4060ece20d7a: Download complete [2023-09-05T21:02:57.464Z] 4060ece20d7a: Pull complete [2023-09-05T21:02:57.464Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T21:02:57.464Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T21:02:57.464Z] ---> 8650cd65339b [2023-09-05T21:02:57.464Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-05T21:02:57.464Z] ---> Running in 18552b743173 [2023-09-05T21:02:57.464Z] Removing intermediate container 18552b743173 [2023-09-05T21:02:57.464Z] ---> aef80d2a5372 [2023-09-05T21:02:57.464Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-05T21:02:57.464Z] ---> Running in 147372d3a67b [2023-09-05T21:02:57.464Z] Removing intermediate container 147372d3a67b [2023-09-05T21:02:57.464Z] ---> 12e80349b9db [2023-09-05T21:02:57.464Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-05T21:02:57.464Z] ---> Running in 3b8a3363dcbd [2023-09-05T21:02:57.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T21:02:57.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T21:02:58.694Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T21:02:58.694Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T21:02:58.962Z] OK: 8 MiB in 16 packages [2023-09-05T21:02:59.922Z] Removing intermediate container 3b8a3363dcbd [2023-09-05T21:02:59.922Z] ---> eb49ced3f778 [2023-09-05T21:02:59.922Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-05T21:03:01.330Z] ---> 9d6c7a8c8e7e [2023-09-05T21:03:01.330Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-05T21:03:01.600Z] ---> 6d1f94037c0c [2023-09-05T21:03:01.600Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-05T21:03:02.184Z] ---> 43b21d66be96 [2023-09-05T21:03:02.184Z] Step 20/25 : EXPOSE 59986 [2023-09-05T21:03:02.451Z] ---> Running in 73b08d075a4c [2023-09-05T21:03:02.718Z] Removing intermediate container 73b08d075a4c [2023-09-05T21:03:02.718Z] ---> c459ff942014 [2023-09-05T21:03:02.718Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-05T21:03:02.718Z] ---> Running in 859b224c0d04 [2023-09-05T21:03:02.985Z] Removing intermediate container 859b224c0d04 [2023-09-05T21:03:02.985Z] ---> 2bbf1c8d4b50 [2023-09-05T21:03:02.985Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T21:03:02.985Z] ---> Running in 01b40ce200a0 [2023-09-05T21:03:03.260Z] Removing intermediate container 01b40ce200a0 [2023-09-05T21:03:03.260Z] ---> c90982c37c76 [2023-09-05T21:03:03.260Z] Step 23/25 : LABEL arch=arm64 [2023-09-05T21:03:03.528Z] ---> Running in c8be3db8f60e [2023-09-05T21:03:03.795Z] Removing intermediate container c8be3db8f60e [2023-09-05T21:03:03.795Z] ---> ec5f4630ff2f [2023-09-05T21:03:03.795Z] Step 24/25 : LABEL git_sha=57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T21:03:03.795Z] ---> Running in 75227cd3b443 [2023-09-05T21:03:04.060Z] Removing intermediate container 75227cd3b443 [2023-09-05T21:03:04.061Z] ---> 009127d92248 [2023-09-05T21:03:04.061Z] Step 25/25 : LABEL version=3.1.0-dev.8 [2023-09-05T21:03:04.061Z] ---> Running in c5ba8dc8896b [2023-09-05T21:03:04.328Z] Removing intermediate container c5ba8dc8896b [2023-09-05T21:03:04.328Z] ---> 34e46406e90f [2023-09-05T21:03:04.328Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T21:03:04.328Z] Successfully built 34e46406e90f [2023-09-05T21:03:04.328Z] 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-09-05T21:03:04.443Z] provisioning config files... [2023-09-05T21:03:04.458Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/128@tmp/config2749645643160211443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:03:04.841Z] ---> docker-login.sh [2023-09-05T21:03:04.841Z] nexus3.edgexfoundry.org:10001 [2023-09-05T21:03:05.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T21:03:05.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T21:03:05.111Z] Configure a credential helper to remove this warning. See [2023-09-05T21:03:05.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T21:03:05.111Z] [2023-09-05T21:03:05.111Z] Login Succeeded [2023-09-05T21:03:05.111Z] nexus3.edgexfoundry.org:10002 [2023-09-05T21:03:05.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T21:03:05.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T21:03:05.650Z] Configure a credential helper to remove this warning. See [2023-09-05T21:03:05.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T21:03:05.650Z] [2023-09-05T21:03:05.650Z] Login Succeeded [2023-09-05T21:03:05.650Z] nexus3.edgexfoundry.org:10003 [2023-09-05T21:03:05.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T21:03:05.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T21:03:05.922Z] Configure a credential helper to remove this warning. See [2023-09-05T21:03:05.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T21:03:05.922Z] [2023-09-05T21:03:05.922Z] Login Succeeded [2023-09-05T21:03:05.922Z] nexus3.edgexfoundry.org:10004 [2023-09-05T21:03:06.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T21:03:06.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T21:03:06.466Z] Configure a credential helper to remove this warning. See [2023-09-05T21:03:06.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T21:03:06.466Z] [2023-09-05T21:03:06.466Z] Login Succeeded [2023-09-05T21:03:06.466Z] docker.io [2023-09-05T21:03:06.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T21:03:07.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T21:03:07.008Z] Configure a credential helper to remove this warning. See [2023-09-05T21:03:07.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T21:03:07.008Z] [2023-09-05T21:03:07.008Z] Login Succeeded [2023-09-05T21:03:07.008Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T21:03:07.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-05T21:03:07.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T21:03:07.085Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-05T21:03:07.085Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T21:03:07.085Z] latest [2023-09-05T21:03:07.085Z] 3.1.0-dev.8 [2023-09-05T21:03:07.085Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T21:03:07.085Z] main [2023-09-05T21:03:07.085Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:07.444Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:07.793Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T21:03:07.793Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-05T21:03:07.793Z] cdecd0b14cfe: Preparing [2023-09-05T21:03:07.793Z] a8180d417f80: Preparing [2023-09-05T21:03:07.793Z] 1a5d60600bed: Preparing [2023-09-05T21:03:07.793Z] 85d4cabc0000: Preparing [2023-09-05T21:03:07.793Z] d2d9d24a8c2a: Preparing [2023-09-05T21:03:07.793Z] d2d9d24a8c2a: Layer already exists [2023-09-05T21:03:08.058Z] a8180d417f80: Pushed [2023-09-05T21:03:08.059Z] cdecd0b14cfe: Pushed [2023-09-05T21:03:08.059Z] 85d4cabc0000: Pushed [2023-09-05T21:03:13.398Z] 1a5d60600bed: Pushed [2023-09-05T21:03:13.398Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:13.753Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:14.098Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-05T21:03:14.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-05T21:03:14.098Z] cdecd0b14cfe: Preparing [2023-09-05T21:03:14.098Z] a8180d417f80: Preparing [2023-09-05T21:03:14.098Z] 1a5d60600bed: Preparing [2023-09-05T21:03:14.098Z] 85d4cabc0000: Preparing [2023-09-05T21:03:14.098Z] d2d9d24a8c2a: Preparing [2023-09-05T21:03:14.098Z] a8180d417f80: Layer already exists [2023-09-05T21:03:14.098Z] 1a5d60600bed: Layer already exists [2023-09-05T21:03:14.098Z] d2d9d24a8c2a: Layer already exists [2023-09-05T21:03:14.098Z] cdecd0b14cfe: Layer already exists [2023-09-05T21:03:14.098Z] 85d4cabc0000: Layer already exists [2023-09-05T21:03:14.098Z] latest: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:14.443Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:14.782Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 [2023-09-05T21:03:14.782Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-05T21:03:14.782Z] cdecd0b14cfe: Preparing [2023-09-05T21:03:14.782Z] a8180d417f80: Preparing [2023-09-05T21:03:14.782Z] 1a5d60600bed: Preparing [2023-09-05T21:03:14.782Z] 85d4cabc0000: Preparing [2023-09-05T21:03:14.782Z] d2d9d24a8c2a: Preparing [2023-09-05T21:03:14.782Z] 1a5d60600bed: Layer already exists [2023-09-05T21:03:14.782Z] d2d9d24a8c2a: Layer already exists [2023-09-05T21:03:14.782Z] a8180d417f80: Layer already exists [2023-09-05T21:03:14.782Z] 85d4cabc0000: Layer already exists [2023-09-05T21:03:14.782Z] cdecd0b14cfe: Layer already exists [2023-09-05T21:03:14.782Z] 3.1.0-dev.8: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:15.121Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:15.454Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T21:03:15.454Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-05T21:03:15.454Z] cdecd0b14cfe: Preparing [2023-09-05T21:03:15.454Z] a8180d417f80: Preparing [2023-09-05T21:03:15.454Z] 1a5d60600bed: Preparing [2023-09-05T21:03:15.454Z] 85d4cabc0000: Preparing [2023-09-05T21:03:15.454Z] d2d9d24a8c2a: Preparing [2023-09-05T21:03:15.454Z] 1a5d60600bed: Layer already exists [2023-09-05T21:03:15.454Z] d2d9d24a8c2a: Layer already exists [2023-09-05T21:03:15.454Z] 85d4cabc0000: Layer already exists [2023-09-05T21:03:15.454Z] cdecd0b14cfe: Layer already exists [2023-09-05T21:03:15.454Z] a8180d417f80: Layer already exists [2023-09-05T21:03:15.454Z] 57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:15.796Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:16.134Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-05T21:03:16.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-05T21:03:16.134Z] cdecd0b14cfe: Preparing [2023-09-05T21:03:16.134Z] a8180d417f80: Preparing [2023-09-05T21:03:16.134Z] 1a5d60600bed: Preparing [2023-09-05T21:03:16.134Z] 85d4cabc0000: Preparing [2023-09-05T21:03:16.134Z] d2d9d24a8c2a: Preparing [2023-09-05T21:03:16.134Z] cdecd0b14cfe: Layer already exists [2023-09-05T21:03:16.134Z] a8180d417f80: Layer already exists [2023-09-05T21:03:16.134Z] d2d9d24a8c2a: Layer already exists [2023-09-05T21:03:16.134Z] 85d4cabc0000: Layer already exists [2023-09-05T21:03:16.134Z] 1a5d60600bed: Layer already exists [2023-09-05T21:03:16.134Z] main: digest: sha256:bad7f1b0c524b34a47dbdc26e812732e1437518b0b40d387a761bbec36b242de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-05T21:03:16.448Z] ===================================================== [Pipeline] echo [2023-09-05T21:03:16.455Z] taggedImages: [2023-09-05T21:03:16.455Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90 [2023-09-05T21:03:16.455Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-05T21:03:16.455Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.8 [2023-09-05T21:03:16.455Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:57a7e4fe794bb86fec7da1c819e454c45e75ed90-3.1.0-dev.8 [2023-09-05T21:03:16.455Z] - 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-09-05T21:03:16.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T21:03:16.822Z] [2023-09-05T21:03:16.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:17.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T21:03:17.151Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-05T21:03:17.151Z] 8998bd30e6a1: Pulling fs layer [2023-09-05T21:03:17.151Z] 04944245beec: Pulling fs layer [2023-09-05T21:03:17.151Z] 699f458cf7ca: Pulling fs layer [2023-09-05T21:03:17.151Z] 765212b225bb: Pulling fs layer [2023-09-05T21:03:17.151Z] f23df028b6ca: Pulling fs layer [2023-09-05T21:03:17.151Z] d65c8cfc05b1: Pulling fs layer [2023-09-05T21:03:17.151Z] 2437ff75d9bd: Pulling fs layer [2023-09-05T21:03:17.151Z] 765212b225bb: Waiting [2023-09-05T21:03:17.151Z] f23df028b6ca: Waiting [2023-09-05T21:03:17.151Z] d65c8cfc05b1: Waiting [2023-09-05T21:03:17.151Z] 2437ff75d9bd: Waiting [2023-09-05T21:03:17.417Z] 04944245beec: Verifying Checksum [2023-09-05T21:03:17.417Z] 04944245beec: Download complete [2023-09-05T21:03:17.417Z] 765212b225bb: Verifying Checksum [2023-09-05T21:03:17.417Z] 765212b225bb: Download complete [2023-09-05T21:03:17.417Z] 699f458cf7ca: Verifying Checksum [2023-09-05T21:03:17.417Z] 699f458cf7ca: Download complete [2023-09-05T21:03:17.686Z] f23df028b6ca: Verifying Checksum [2023-09-05T21:03:17.686Z] f23df028b6ca: Download complete [2023-09-05T21:03:17.686Z] d65c8cfc05b1: Verifying Checksum [2023-09-05T21:03:17.686Z] d65c8cfc05b1: Download complete [2023-09-05T21:03:17.953Z] 8998bd30e6a1: Verifying Checksum [2023-09-05T21:03:17.953Z] 8998bd30e6a1: Download complete [2023-09-05T21:03:20.531Z] 2437ff75d9bd: Download complete [2023-09-05T21:03:21.491Z] 8998bd30e6a1: Pull complete [2023-09-05T21:03:22.076Z] 04944245beec: Pull complete [2023-09-05T21:03:23.482Z] 699f458cf7ca: Pull complete [2023-09-05T21:03:23.482Z] 765212b225bb: Pull complete [2023-09-05T21:03:24.442Z] f23df028b6ca: Pull complete [2023-09-05T21:03:24.442Z] d65c8cfc05b1: Pull complete [2023-09-05T21:03:42.645Z] 2437ff75d9bd: Pull complete [2023-09-05T21:03:42.646Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-05T21:03:42.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T21:03:42.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:03:42.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-5377 does not seem to be running inside a container [2023-09-05T21:03:42.909Z] $ 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/128 -v /w/workspace/device-rest-go/128:/w/workspace/device-rest-go/128:rw,z -v /w/workspace/device-rest-go/128@tmp:/w/workspace/device-rest-go/128@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-09-05T21:03:45.535Z] $ docker top 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:03:46.373Z] ---> job-cost.sh [2023-09-05T21:03:46.374Z] lf-activate-venv: SKIPPING [2023-09-05T21:03:46.374Z] INFO: No Stack... [2023-09-05T21:03:46.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-05T21:03:47.599Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T21:03:48.231Z] + cat /w/workspace/device-rest-go/128/archives/cost.csv [2023-09-05T21:03:48.231Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T21:03:48.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [2023-09-05T21:03:48.299Z] Resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] did not exist. Created. [2023-09-05T21:03:48.299Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T21:03:48.642Z] /w/workspace/device-rest-go/128@tmp/durable-19305cc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-05T21:03:48.970Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-05T21:03:48.994Z] Warning: overwriting stash ‘stack-cost’ [2023-09-05T21:03:49.049Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T21:03:49.060Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T21:03:49.077Z] $ docker stop --time=1 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba [2023-09-05T21:03:50.557Z] $ docker rm -f --volumes 192825d1d3353b5fd79c47553f4315dfa2f671e28c43baf47b45a83ee93eeaba [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-09-05T21:03:50.961Z] provisioning config files... [2023-09-05T21:03:50.971Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1610784738106611602tmp [Pipeline] { [Pipeline] sh [2023-09-05T21:03:51.260Z] + set +x [2023-09-05T21:03:51.260Z] + curl -s https://codecov.io/bash [2023-09-05T21:03:51.260Z] + bash -s -- [2023-09-05T21:03:51.260Z] [2023-09-05T21:03:51.260Z] _____ _ [2023-09-05T21:03:51.260Z] / ____| | | [2023-09-05T21:03:51.260Z] | | ___ __| | ___ ___ _____ __ [2023-09-05T21:03:51.260Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-05T21:03:51.260Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-05T21:03:51.260Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-05T21:03:51.260Z] Bash-1.0.6 [2023-09-05T21:03:51.260Z] [2023-09-05T21:03:51.260Z] [2023-09-05T21:03:51.260Z] ==> git version 2.25.1 found [2023-09-05T21:03:51.260Z] ==> 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-09-05T21:03:51.260Z] Release-Date: 2020-01-08 [2023-09-05T21:03:51.260Z] 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-09-05T21:03:51.260Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-05T21:03:51.260Z] ==> Jenkins CI detected. [2023-09-05T21:03:51.260Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-05T21:03:51.260Z] project root: . [2023-09-05T21:03:51.260Z] --> token set from env [2023-09-05T21:03:51.260Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-05T21:03:51.260Z] ==> Running gcov in . (disable via -X gcov) [2023-09-05T21:03:51.260Z] ==> Python coveragepy not found [2023-09-05T21:03:51.260Z] ==> Searching for coverage reports in: [2023-09-05T21:03:51.260Z] + . [2023-09-05T21:03:51.260Z] -> Found 1 reports [2023-09-05T21:03:51.260Z] ==> Detecting git/mercurial file structure [2023-09-05T21:03:51.518Z] ==> Reading reports [2023-09-05T21:03:51.518Z] + ./coverage.out bytes=14499 [2023-09-05T21:03:51.518Z] ==> Appending adjustments [2023-09-05T21:03:51.518Z] https://docs.codecov.io/docs/fixing-reports [2023-09-05T21:03:51.518Z] + Found adjustments [2023-09-05T21:03:51.518Z] ==> Gzipping contents [2023-09-05T21:03:51.518Z] 4.0K /tmp/codecov.JFLnVq.gz [2023-09-05T21:03:51.518Z] ==> Uploading reports [2023-09-05T21:03:51.518Z] url: https://codecov.io [2023-09-05T21:03:51.518Z] query: branch=main&commit=57a7e4fe794bb86fec7da1c819e454c45e75ed90&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-05T21:03:51.518Z] -> Pinging Codecov [2023-09-05T21:03:51.518Z] 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=57a7e4fe794bb86fec7da1c819e454c45e75ed90&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-05T21:03:51.518Z] -> Uploading to [2023-09-05T21:03:51.518Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-05/4E5D53B4F1F92C436F7061BF334D961C/57a7e4fe794bb86fec7da1c819e454c45e75ed90/9e33960a-ccce-40fb-b11c-03e7c18c359d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T210351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a57250b9b9eeb5907a117fca289ee317ac4c47e18637a187d825bbbc57610e18 [2023-09-05T21:03:51.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T21:03:51.518Z] Dload Upload Total Spent Left Speed [2023-09-05T21:03:51.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11488 --:--:-- --:--:-- --:--:-- 11488 [2023-09-05T21:03:51.775Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] } [2023-09-05T21:03:51.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-05T21:03:51.920Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-05T21:03:51.929Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:52.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-05T21:03:52.237Z] [2023-09-05T21:03:52.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:03:52.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-05T21:03:52.535Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-05T21:03:52.535Z] df9b9388f04a: Pulling fs layer [2023-09-05T21:03:52.535Z] 52dc419b0ee2: Pulling fs layer [2023-09-05T21:03:52.535Z] 25bc292e5bac: Pulling fs layer [2023-09-05T21:03:52.535Z] 114826534d7a: Pulling fs layer [2023-09-05T21:03:52.535Z] 4657fd5d0bcf: Pulling fs layer [2023-09-05T21:03:52.535Z] 6ad1cebc031e: Pulling fs layer [2023-09-05T21:03:52.535Z] 8a3aa393b2d8: Pulling fs layer [2023-09-05T21:03:52.535Z] 4657fd5d0bcf: Waiting [2023-09-05T21:03:52.535Z] 6ad1cebc031e: Waiting [2023-09-05T21:03:52.535Z] 8a3aa393b2d8: Waiting [2023-09-05T21:03:52.535Z] 25bc292e5bac: Download complete [2023-09-05T21:03:52.535Z] 52dc419b0ee2: Verifying Checksum [2023-09-05T21:03:52.535Z] 52dc419b0ee2: Download complete [2023-09-05T21:03:52.535Z] 4657fd5d0bcf: Verifying Checksum [2023-09-05T21:03:52.535Z] 4657fd5d0bcf: Download complete [2023-09-05T21:03:52.535Z] df9b9388f04a: Verifying Checksum [2023-09-05T21:03:52.535Z] df9b9388f04a: Download complete [2023-09-05T21:03:52.793Z] 6ad1cebc031e: Verifying Checksum [2023-09-05T21:03:52.793Z] 6ad1cebc031e: Download complete [2023-09-05T21:03:52.793Z] df9b9388f04a: Pull complete [2023-09-05T21:03:53.051Z] 52dc419b0ee2: Pull complete [2023-09-05T21:03:53.051Z] 25bc292e5bac: Pull complete [2023-09-05T21:03:53.308Z] 114826534d7a: Verifying Checksum [2023-09-05T21:03:53.308Z] 114826534d7a: Download complete [2023-09-05T21:03:53.308Z] 8a3aa393b2d8: Verifying Checksum [2023-09-05T21:03:53.308Z] 8a3aa393b2d8: Download complete [2023-09-05T21:03:56.584Z] 114826534d7a: Pull complete [2023-09-05T21:03:56.584Z] 4657fd5d0bcf: Pull complete [2023-09-05T21:03:57.151Z] 6ad1cebc031e: Pull complete [2023-09-05T21:03:59.681Z] 8a3aa393b2d8: Pull complete [2023-09-05T21:03:59.681Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-05T21:03:59.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-05T21:03:59.681Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:03:59.774Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:03:59.788Z] $ 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-09-05T21:04:04.828Z] $ docker top cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-05T21:04:04.913Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-05T21:04:05.193Z] + set -o pipefail [2023-09-05T21:04:05.193Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fc8fc438-67a3-4b00-8e81-0da2ed1b22c0 [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] [2023-09-05T21:04:13.338Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-05T21:04:13.338Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-05T21:04:13.338Z] More details here: https://snyk.co/ue1NS [2023-09-05T21:04:13.338Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-05T21:04:13.338Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-05T21:04:13.328Z] $ docker stop --time=1 cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 [2023-09-05T21:04:17.290Z] $ docker rm -f --volumes cf8f199841fcd38aebd1647538d54e47796824310285b527929574318436edb2 [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-09-05T21:04:18.025Z] + git log --format=format:%s -1 57a7e4fe794bb86fec7da1c819e454c45e75ed90 [Pipeline] sh [2023-09-05T21:04:18.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T21:04:18.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:18.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T21:04:18.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:04:18.676Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:04:18.685Z] $ 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-09-05T21:04:19.071Z] $ docker top 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 -eo pid,comm [2023-09-05T21:04:19.137Z] 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-09-05T21:04:19.137Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T21:04:19.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T21:04:19.165Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T21:04:19.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T21:04:19.250Z] $ docker exec 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 ssh-agent [2023-09-05T21:04:19.375Z] SSH_AUTH_SOCK=/tmp/ssh-vVxqodJ53lre/agent.32 [2023-09-05T21:04:19.375Z] SSH_AGENT_PID=38 [2023-09-05T21:04:19.379Z] Running ssh-add (command line suppressed) [2023-09-05T21:04:19.460Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15077043977349960495.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15077043977349960495.key) [2023-09-05T21:04:19.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T21:04:19.776Z] + git semver tag [2023-09-05T21:04:20.034Z] 2023-09-05 21:04:19,929 [run_tag] DEBUG tag force:False [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,929 [check_head_tag] DEBUG check head tag [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,930 [execute] INFO git cat-file --batch-check [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,934 [execute] INFO git cat-file --batch [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,946 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,946 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-05T21:04:20.035Z] 2023-09-05 21:04:19,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:20.035Z] 3.1.0-dev.8 [Pipeline] } [2023-09-05T21:04:20.023Z] $ docker exec --env ******** --env ******** 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 ssh-agent -k [2023-09-05T21:04:20.118Z] unset SSH_AUTH_SOCK; [2023-09-05T21:04:20.118Z] unset SSH_AGENT_PID; [2023-09-05T21:04:20.118Z] echo Agent pid 38 killed; [2023-09-05T21:04:20.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T21:04:20.454Z] + git semver [Pipeline] } [2023-09-05T21:04:20.707Z] $ docker stop --time=1 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 [2023-09-05T21:04:21.988Z] $ docker rm -f --volumes 6692cef8529687260ee83aadc57d0f0d40ab5eb5c55b19fcde8a9ad266458ea2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:22.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-05T21:04:22.375Z] [2023-09-05T21:04:22.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:22.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-05T21:04:22.673Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-05T21:04:22.673Z] ab5ef0e58194: Pulling fs layer [2023-09-05T21:04:22.673Z] 9712f1f96733: Pulling fs layer [2023-09-05T21:04:22.673Z] 63f879dbbcfc: Pulling fs layer [2023-09-05T21:04:22.673Z] 0d9ebad4ef96: Pulling fs layer [2023-09-05T21:04:22.673Z] e9a5061849ea: Pulling fs layer [2023-09-05T21:04:22.673Z] d747dcd14b5f: Pulling fs layer [2023-09-05T21:04:22.673Z] 2de7ff778b66: Pulling fs layer [2023-09-05T21:04:22.673Z] e9a5061849ea: Waiting [2023-09-05T21:04:22.673Z] d747dcd14b5f: Waiting [2023-09-05T21:04:22.673Z] 2de7ff778b66: Waiting [2023-09-05T21:04:22.673Z] 0d9ebad4ef96: Waiting [2023-09-05T21:04:22.673Z] 9712f1f96733: Download complete [2023-09-05T21:04:22.933Z] 63f879dbbcfc: Verifying Checksum [2023-09-05T21:04:22.933Z] 63f879dbbcfc: Download complete [2023-09-05T21:04:23.190Z] e9a5061849ea: Verifying Checksum [2023-09-05T21:04:23.190Z] e9a5061849ea: Download complete [2023-09-05T21:04:23.190Z] 0d9ebad4ef96: Verifying Checksum [2023-09-05T21:04:23.190Z] 0d9ebad4ef96: Download complete [2023-09-05T21:04:23.190Z] d747dcd14b5f: Verifying Checksum [2023-09-05T21:04:23.190Z] d747dcd14b5f: Download complete [2023-09-05T21:04:23.190Z] ab5ef0e58194: Verifying Checksum [2023-09-05T21:04:23.190Z] ab5ef0e58194: Download complete [2023-09-05T21:04:23.190Z] 2de7ff778b66: Verifying Checksum [2023-09-05T21:04:23.190Z] 2de7ff778b66: Download complete [2023-09-05T21:04:25.718Z] ab5ef0e58194: Pull complete [2023-09-05T21:04:25.718Z] 9712f1f96733: Pull complete [2023-09-05T21:04:26.283Z] 63f879dbbcfc: Pull complete [2023-09-05T21:04:30.465Z] 0d9ebad4ef96: Pull complete [2023-09-05T21:04:30.465Z] e9a5061849ea: Pull complete [2023-09-05T21:04:30.465Z] d747dcd14b5f: Pull complete [2023-09-05T21:04:31.400Z] 2de7ff778b66: Pull complete [2023-09-05T21:04:31.400Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-05T21:04:31.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-05T21:04:31.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:04:31.487Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:04:31.492Z] $ 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-09-05T21:04:37.536Z] $ docker top 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-05T21:04:37.621Z] provisioning config files... [2023-09-05T21:04:37.627Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11846684228162200998tmp [2023-09-05T21:04:37.635Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11667780852847017570tmp [2023-09-05T21:04:37.641Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config575551013494149058tmp [Pipeline] { [Pipeline] echo [2023-09-05T21:04:37.656Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:37.935Z] ---> sigul-configuration.sh [2023-09-05T21:04:37.935Z] gpg: directory `/root/.gnupg' created [2023-09-05T21:04:37.935Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-05T21:04:37.935Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-05T21:04:37.935Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-05T21:04:37.935Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-05T21:04:37.935Z] gpg: CAST5 encrypted data [2023-09-05T21:04:37.935Z] gpg: encrypted with 1 passphrase [2023-09-05T21:04:37.935Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-05T21:04:38.220Z] + mkdir /home/jenkins [2023-09-05T21:04:38.220Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-05T21:04:38.503Z] + 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-09-05T21:04:38.511Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:38.792Z] ---> sigul-install.sh [2023-09-05T21:04:38.792Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-05T21:04:39.073Z] + git tag --list [2023-09-05T21:04:39.073Z] v1.0.0 [2023-09-05T21:04:39.073Z] v1.1.0 [2023-09-05T21:04:39.073Z] v1.1.1 [2023-09-05T21:04:39.073Z] v1.1.2 [2023-09-05T21:04:39.073Z] v1.2.0 [2023-09-05T21:04:39.073Z] v1.2.1 [2023-09-05T21:04:39.073Z] v2.0.0 [2023-09-05T21:04:39.073Z] v2.1.0 [2023-09-05T21:04:39.073Z] v2.1.1 [2023-09-05T21:04:39.073Z] v2.2.0 [2023-09-05T21:04:39.073Z] v2.3.0 [2023-09-05T21:04:39.073Z] v3.0 [2023-09-05T21:04:39.073Z] v3.0.0 [2023-09-05T21:04:39.073Z] v3.1.0-dev.1 [2023-09-05T21:04:39.073Z] v3.1.0-dev.2 [2023-09-05T21:04:39.073Z] v3.1.0-dev.3 [2023-09-05T21:04:39.073Z] v3.1.0-dev.4 [2023-09-05T21:04:39.073Z] v3.1.0-dev.5 [2023-09-05T21:04:39.073Z] v3.1.0-dev.6 [2023-09-05T21:04:39.073Z] v3.1.0-dev.7 [2023-09-05T21:04:39.073Z] v3.1.0-dev.8 [Pipeline] sh [2023-09-05T21:04:39.355Z] + lftools sign git-tag v3.1.0-dev.8 [2023-09-05T21:04:39.922Z] Signing Git tag with Sigul... [2023-09-05T21:04:39.922Z] Signing v3.1.0-dev.8 [Pipeline] echo [2023-09-05T21:04:40.188Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:40.469Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-05T21:04:40.476Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-05T21:04:40.473Z] $ docker stop --time=1 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea [2023-09-05T21:04:41.744Z] $ docker rm -f --volumes 5eda4ed01c7c330056c233846b33d8303d3b907876e253b63957e2fb38845dea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-05T21:04:42.145Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T21:04:42.146Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:42.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T21:04:42.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:04:42.512Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:04:42.523Z] $ 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-09-05T21:04:42.861Z] $ docker top 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c -eo pid,comm [2023-09-05T21:04:42.931Z] 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-09-05T21:04:42.931Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T21:04:42.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T21:04:42.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T21:04:43.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T21:04:43.059Z] $ docker exec 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c ssh-agent [2023-09-05T21:04:43.191Z] SSH_AUTH_SOCK=/tmp/ssh-hE0YOBVLjtFn/agent.33 [2023-09-05T21:04:43.191Z] SSH_AGENT_PID=39 [2023-09-05T21:04:43.195Z] Running ssh-add (command line suppressed) [2023-09-05T21:04:43.262Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16795960170955920565.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16795960170955920565.key) [2023-09-05T21:04:43.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T21:04:43.586Z] + git semver bump pre [2023-09-05T21:04:43.845Z] 2023-09-05 21:04:43,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,731 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,731 [bump_version] DEBUG bumped version:3.1.0-dev.9 [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,731 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,731 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,733 [execute] INFO git cat-file --batch-check [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,738 [execute] INFO git cat-file --batch [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T21:04:43.846Z] 2023-09-05 21:04:43,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:43.846Z] 3.1.0-dev.9 [Pipeline] } [2023-09-05T21:04:43.833Z] $ docker exec --env ******** --env ******** 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c ssh-agent -k [2023-09-05T21:04:43.925Z] unset SSH_AUTH_SOCK; [2023-09-05T21:04:43.925Z] unset SSH_AGENT_PID; [2023-09-05T21:04:43.925Z] echo Agent pid 39 killed; [2023-09-05T21:04:43.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T21:04:44.254Z] + git semver [Pipeline] } [2023-09-05T21:04:44.504Z] $ docker stop --time=1 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c [2023-09-05T21:04:45.765Z] $ docker rm -f --volumes 5cf911d4c73e9f189b8e71500c73e0d1b89b5ae9af4aafddfd09420bd8cabb1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T21:04:46.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T21:04:46.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:46.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T21:04:46.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:04:46.490Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:04:46.499Z] $ 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-09-05T21:04:46.824Z] $ docker top fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T21:04:46.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T21:04:46.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T21:04:47.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T21:04:47.014Z] $ docker exec fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f ssh-agent [2023-09-05T21:04:47.150Z] SSH_AUTH_SOCK=/tmp/ssh-cKhYiIs7F7jm/agent.32 [2023-09-05T21:04:47.150Z] SSH_AGENT_PID=38 [2023-09-05T21:04:47.155Z] Running ssh-add (command line suppressed) [2023-09-05T21:04:47.227Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11654205538513712526.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11654205538513712526.key) [2023-09-05T21:04:47.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T21:04:47.544Z] + git semver push [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,691 [run_push] DEBUG push [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,692 [execute] INFO git cat-file --batch-check [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,695 [execute] INFO git rev-list c972b8b94d41eb84c3d190fd779f3cba3b9172f6 -- [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,695 [execute] DEBUG Popen(['git', 'rev-list', 'c972b8b94d41eb84c3d190fd779f3cba3b9172f6', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,703 [execute] INFO git fetch -v origin [2023-09-05T21:04:47.807Z] 2023-09-05 21:04:47,703 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-05T21:04:48.376Z] 2023-09-05 21:04:48,161 [run_push] DEBUG no remote changes detected [2023-09-05T21:04:48.376Z] 2023-09-05 21:04:48,162 [execute] INFO git push origin semver [2023-09-05T21:04:48.376Z] 2023-09-05 21:04:48,162 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-05T21:04:49.312Z] 2023-09-05 21:04:48,933 [run_push] DEBUG push all version tags [2023-09-05T21:04:49.312Z] 2023-09-05 21:04:48,933 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-05T21:04:49.312Z] 2023-09-05 21:04:48,934 [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-09-05T21:04:50.248Z] 2023-09-05 21:04:49,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-05T21:04:50.248Z] 3.1.0-dev.9 [Pipeline] } [2023-09-05T21:04:50.236Z] $ docker exec --env ******** --env ******** fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f ssh-agent -k [2023-09-05T21:04:50.330Z] unset SSH_AUTH_SOCK; [2023-09-05T21:04:50.330Z] unset SSH_AGENT_PID; [2023-09-05T21:04:50.330Z] echo Agent pid 38 killed; [2023-09-05T21:04:50.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T21:04:50.662Z] + git semver [Pipeline] } [2023-09-05T21:04:50.910Z] $ docker stop --time=1 fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f [2023-09-05T21:04:52.173Z] $ docker rm -f --volumes fdd811d2b5fe7144d7b500222df2a88fcfb7fd6039eb963308dd5f65b965da1f [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-09-05T21:04:52.753Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-05T21:04:52.753Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-05T21:04:52.753Z] total 16 [2023-09-05T21:04:52.753Z] drwxr-xr-x 3 root root 4096 Sep 5 20:52 . [2023-09-05T21:04:52.753Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 21:04 .. [2023-09-05T21:04:52.753Z] drwxr-xr-x 2 root root 4096 Sep 5 20:52 cost [2023-09-05T21:04:52.753Z] -rw-r--r-- 1 root root 86 Sep 5 20:52 cost.csv [2023-09-05T21:04:52.753Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-05T21:04:52.753Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-05T21:04:52.753Z] total 16 [2023-09-05T21:04:52.753Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:52 . [2023-09-05T21:04:52.753Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 21:04 .. [2023-09-05T21:04:52.753Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:52 cost [2023-09-05T21:04:52.753Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 5 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:53.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:53.889Z] ---> package-listing.sh [2023-09-05T21:04:53.889Z] ++ facter osfamily [2023-09-05T21:04:53.889Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-05T21:04:54.147Z] + OS_FAMILY=debian [2023-09-05T21:04:54.147Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-05T21:04:54.147Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-05T21:04:54.147Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-05T21:04:54.147Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-05T21:04:54.147Z] + PACKAGES=/tmp/packages_start.txt [2023-09-05T21:04:54.147Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-05T21:04:54.147Z] + PACKAGES=/tmp/packages_end.txt [2023-09-05T21:04:54.147Z] + case "${OS_FAMILY}" in [2023-09-05T21:04:54.147Z] + dpkg -l [2023-09-05T21:04:54.147Z] + grep '^ii' [2023-09-05T21:04:54.147Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-05T21:04:54.147Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-05T21:04:54.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-05T21:04:54.147Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-05T21:04:54.147Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-05T21:04:54.147Z] + 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-09-05T21:04:54.155Z] 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-09-05T21:04:54.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T21:04:55.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T21:04:55.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T21:04:55.133Z] prd-ubuntu20.04-docker-8c-8g-5376 does not seem to be running inside a container [2023-09-05T21:04:55.183Z] $ 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-09-05T21:04:55.417Z] $ docker top 6b9bb6b62edd4e078d455dda4fc7e3b3043da9b04b3ba3e65f2daa4cbcf8e8e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T21:04:55.782Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-05T21:04:56.066Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-05T21:04:56.350Z] + ls /var/log/sa-host [2023-09-05T21:04:56.350Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T21:04:56.421Z] provisioning config files... [2023-09-05T21:04:56.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17613821752409098703tmp [Pipeline] { [Pipeline] echo [2023-09-05T21:04:56.445Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:56.725Z] ---> create-netrc.sh [Pipeline] } [2023-09-05T21:04:56.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:57.061Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-05T21:04:57.068Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:57.350Z] ---> sudo-logs.sh [2023-09-05T21:04:57.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-05T21:04:57.378Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:57.660Z] ---> job-cost.sh [2023-09-05T21:04:57.660Z] lf-activate-venv: SKIPPING [2023-09-05T21:04:57.660Z] DEBUG: total: 0.2199999988079071 [2023-09-05T21:04:57.660Z] INFO: Retrieving Stack Cost... [2023-09-05T21:04:57.921Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T21:04:58.491Z] INFO: Archiving Costs [Pipeline] echo [2023-09-05T21:04:58.503Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T21:04:58.790Z] ---> logs-deploy.sh [2023-09-05T21:04:58.790Z] lf-activate-venv: SKIPPING [2023-09-05T21:04:58.790Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/128 [2023-09-05T21:04:58.790Z] INFO: archiving workspace using pattern(s): [2023-09-05T21:04:59.729Z] Archives upload complete. [2023-09-05T21:04:59.729Z] INFO: archiving logs to Nexus