Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6634545f8e6cef8aebee68454b169adec7871c71 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-ssh14604769293149166628.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-ssh14513169671427015025.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-ssh10620069338664273785.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-ssh18341286369525345375.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-ssh3204036744573544963.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 ‘prd-centos7-blackbox-4c-2g-5160’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5523’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5524 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 6634545f8e6cef8aebee68454b169adec7871c71 (main) Commit message: "Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > git config core.sparsecheckout # timeout=10 > git checkout -f 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 > git rev-list --no-walk 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-07T04:45:49.847Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-07T04:45:49.888Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-07T04:45:49.902Z] ========================================================= [2023-09-07T04:45:49.902Z] EdgeX Global Pipelines Version Info [2023-09-07T04:45:49.902Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:50.651Z] ------------------- [2023-09-07T04:45:50.651Z] stable info: [2023-09-07T04:45:50.651Z] ------------------- [2023-09-07T04:45:50.651Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-07T04:45:50.651Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:45:50.651Z] Message: update stable to v1.0.253 [2023-09-07T04:45:51.221Z] ------------------- [2023-09-07T04:45:51.221Z] experimental info: [2023-09-07T04:45:51.221Z] ------------------- [2023-09-07T04:45:51.221Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-07T04:45:51.221Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:45:51.221Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-07T04:45:51.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-07T04:45:51.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-07T04:45:51.390Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-07T04:45:51.407Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-07T04:45:51.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-07T04:45:51.444Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-07T04:45:51.463Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-07T04:45:51.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-07T04:45:51.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-07T04:45:51.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-07T04:45:51.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-07T04:45:51.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-07T04:45:51.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-07T04:45:51.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-07T04:45:51.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:45:51.580Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:45:51.593Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:45:51.609Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:45:51.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-07T04:45:51.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-07T04:45:51.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-07T04:45:51.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-07T04:45:51.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-07T04:45:51.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-07T04:45:51.710Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-07T04:45:51.723Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-07T04:45:51.740Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-07T04:45:51.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-07T04:45:51.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-07T04:45:51.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-07T04:45:51.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo [2023-09-07T04:45:51.802Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6634545 [Pipeline] echo [2023-09-07T04:45:51.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:45:51.851Z] provisioning config files... [2023-09-07T04:45:51.864Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9807108039469907595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:52.159Z] ---> docker-login.sh [2023-09-07T04:45:52.159Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:45:53.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:53.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:53.095Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:53.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:53.095Z] [2023-09-07T04:45:53.095Z] Login Succeeded [2023-09-07T04:45:53.095Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:45:53.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:53.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:53.354Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:53.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:53.354Z] [2023-09-07T04:45:53.354Z] Login Succeeded [2023-09-07T04:45:53.354Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:45:53.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:53.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:53.354Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:53.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:53.354Z] [2023-09-07T04:45:53.354Z] Login Succeeded [2023-09-07T04:45:53.354Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:45:53.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:53.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:53.614Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:53.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:53.614Z] [2023-09-07T04:45:53.614Z] Login Succeeded [2023-09-07T04:45:53.614Z] docker.io [2023-09-07T04:45:53.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:53.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:53.886Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:53.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:53.886Z] [2023-09-07T04:45:53.887Z] Login Succeeded [2023-09-07T04:45:53.887Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:45:53.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-07T04:45:54.268Z] + git rev-list -1 --merges 6634545f8e6cef8aebee68454b169adec7871c71~1..6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo [2023-09-07T04:45:54.317Z] -----------> git rev-list -1 --merges 6634545f8e6cef8aebee68454b169adec7871c71~1..6634545f8e6cef8aebee68454b169adec7871c71 6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:45:54.317Z] 6634545f8e6cef8aebee68454b169adec7871c71 [false] [Pipeline] sh [2023-09-07T04:45:54.611Z] + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo [2023-09-07T04:45:54.626Z] ========================================================= [2023-09-07T04:45:54.626Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-07T04:45:54.626Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:45:54.942Z] + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] echo [2023-09-07T04:45:54.963Z] [semverPrep] GIT_COMMIT: 6634545f8e6cef8aebee68454b169adec7871c71, Commit Message: Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo [2023-09-07T04:45:54.974Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-07T04:45:55.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:45:55.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-07T04:45:55.346Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-07T04:45:55.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-07T04:45:55.346Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-07T04:45:55.346Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-07T04:45:55.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:55.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:45:55.696Z] [2023-09-07T04:45:55.696Z] 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-07T04:45:55.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:45:56.256Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-07T04:45:56.256Z] b85a868b505f: Pulling fs layer [2023-09-07T04:45:56.256Z] e2be974225ed: Pulling fs layer [2023-09-07T04:45:56.256Z] 339a4e72a1f5: Pulling fs layer [2023-09-07T04:45:56.256Z] 988bab9f4d93: Pulling fs layer [2023-09-07T04:45:56.256Z] 1469e6f7b9e6: Pulling fs layer [2023-09-07T04:45:56.256Z] eaf3925da568: Pulling fs layer [2023-09-07T04:45:56.256Z] bab4dde63d76: Pulling fs layer [2023-09-07T04:45:56.256Z] bde34c3a00c8: Pulling fs layer [2023-09-07T04:45:56.256Z] b352a97aabf1: Pulling fs layer [2023-09-07T04:45:56.256Z] 4872d77fe225: Pulling fs layer [2023-09-07T04:45:56.256Z] 5851b861e8e6: Pulling fs layer [2023-09-07T04:45:56.256Z] bab4dde63d76: Waiting [2023-09-07T04:45:56.256Z] bde34c3a00c8: Waiting [2023-09-07T04:45:56.256Z] b352a97aabf1: Waiting [2023-09-07T04:45:56.256Z] 4872d77fe225: Waiting [2023-09-07T04:45:56.256Z] 5851b861e8e6: Waiting [2023-09-07T04:45:56.256Z] 988bab9f4d93: Waiting [2023-09-07T04:45:56.256Z] 1469e6f7b9e6: Waiting [2023-09-07T04:45:56.256Z] eaf3925da568: Waiting [2023-09-07T04:45:56.256Z] e2be974225ed: Verifying Checksum [2023-09-07T04:45:56.256Z] e2be974225ed: Download complete [2023-09-07T04:45:56.256Z] 988bab9f4d93: Verifying Checksum [2023-09-07T04:45:56.256Z] 988bab9f4d93: Download complete [2023-09-07T04:45:56.524Z] 1469e6f7b9e6: Verifying Checksum [2023-09-07T04:45:56.524Z] 1469e6f7b9e6: Download complete [2023-09-07T04:45:56.524Z] eaf3925da568: Verifying Checksum [2023-09-07T04:45:56.524Z] eaf3925da568: Download complete [2023-09-07T04:45:56.524Z] 339a4e72a1f5: Verifying Checksum [2023-09-07T04:45:56.524Z] 339a4e72a1f5: Download complete [2023-09-07T04:45:56.524Z] bde34c3a00c8: Download complete [2023-09-07T04:45:56.524Z] b352a97aabf1: Download complete [2023-09-07T04:45:56.524Z] 4872d77fe225: Verifying Checksum [2023-09-07T04:45:56.524Z] 4872d77fe225: Download complete [2023-09-07T04:45:56.524Z] 5851b861e8e6: Verifying Checksum [2023-09-07T04:45:56.524Z] 5851b861e8e6: Download complete [2023-09-07T04:45:56.790Z] b85a868b505f: Verifying Checksum [2023-09-07T04:45:56.790Z] b85a868b505f: Download complete [2023-09-07T04:45:57.050Z] bab4dde63d76: Download complete [2023-09-07T04:45:57.985Z] b85a868b505f: Pull complete [2023-09-07T04:45:57.985Z] e2be974225ed: Pull complete [2023-09-07T04:45:59.045Z] 339a4e72a1f5: Pull complete [2023-09-07T04:45:59.982Z] 988bab9f4d93: Pull complete [2023-09-07T04:46:00.549Z] 1469e6f7b9e6: Pull complete [2023-09-07T04:46:00.549Z] eaf3925da568: Pull complete [2023-09-07T04:46:03.084Z] bab4dde63d76: Pull complete [2023-09-07T04:46:03.084Z] bde34c3a00c8: Pull complete [2023-09-07T04:46:03.343Z] b352a97aabf1: Pull complete [2023-09-07T04:46:03.910Z] 4872d77fe225: Pull complete [2023-09-07T04:46:04.477Z] 5851b861e8e6: Pull complete [2023-09-07T04:46:04.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-07T04:46:04.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:46:04.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:46:04.881Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:46:04.925Z] $ 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-07T04:46:11.128Z] $ docker top 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 -eo pid,comm [2023-09-07T04:46:11.180Z] 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-07T04:46:11.180Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:46:11.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:46:11.219Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:46:11.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:46:11.348Z] $ docker exec 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent [2023-09-07T04:46:11.500Z] SSH_AUTH_SOCK=/tmp/ssh-05o1ReKwU0T1/agent.14 [2023-09-07T04:46:11.500Z] SSH_AGENT_PID=20 [2023-09-07T04:46:11.507Z] Running ssh-add (command line suppressed) [2023-09-07T04:46:11.886Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8676123727858542933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8676123727858542933.key) [2023-09-07T04:46:11.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:46:12.211Z] + git tag --points-at HEAD [Pipeline] } [2023-09-07T04:46:12.242Z] $ docker exec --env ******** --env ******** 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent -k [2023-09-07T04:46:12.363Z] unset SSH_AUTH_SOCK; [2023-09-07T04:46:12.363Z] unset SSH_AGENT_PID; [2023-09-07T04:46:12.364Z] echo Agent pid 20 killed; [2023-09-07T04:46:12.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-07T04:46:12.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:46:12.390Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:46:12.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:46:12.506Z] $ docker exec 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent [2023-09-07T04:46:12.617Z] SSH_AUTH_SOCK=/tmp/ssh-3jcI2VdLBio5/agent.70 [2023-09-07T04:46:12.617Z] SSH_AGENT_PID=76 [2023-09-07T04:46:12.622Z] Running ssh-add (command line suppressed) [2023-09-07T04:46:12.733Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2424136690821153795.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2424136690821153795.key) [2023-09-07T04:46:12.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:46:13.026Z] + git semver init [2023-09-07T04:46:13.284Z] 2023-09-07 04:46:13,258 [run_init] DEBUG init version:0.0.0 force:False [2023-09-07T04:46:13.284Z] 2023-09-07 04:46:13,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-07T04:46:13.284Z] 2023-09-07 04:46:13,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-07T04:46:13.284Z] 2023-09-07 04:46:13,259 [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-07T04:46:14.669Z] 2023-09-07 04:46:14,468 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-07T04:46:14.669Z] 2023-09-07 04:46:14,469 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-07T04:46:14.669Z] 2023-09-07 04:46:14,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:46:14.669Z] 2023-09-07 04:46:14,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:46:14.669Z] 3.1.0-dev.9 [Pipeline] } [2023-09-07T04:46:14.682Z] $ docker exec --env ******** --env ******** 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 ssh-agent -k [2023-09-07T04:46:14.788Z] unset SSH_AUTH_SOCK; [2023-09-07T04:46:14.789Z] unset SSH_AGENT_PID; [2023-09-07T04:46:14.789Z] echo Agent pid 76 killed; [2023-09-07T04:46:14.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:46:15.230Z] + git semver [Pipeline] } [2023-09-07T04:46:15.507Z] $ docker stop --time=1 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 [2023-09-07T04:46:16.868Z] $ docker rm -f --volumes 921cf5519b1603bfdc69187e9b43105bd6296e3a6e5b3c47d82fbcede195fd09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:46:17.202Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-07T04:46:17.510Z] Stashed 1 file(s) [Pipeline] echo [2023-09-07T04:46:17.513Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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-07T04:46:17.660Z] provisioning config files... [2023-09-07T04:46:17.669Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3222494909807747971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:46:17.969Z] ---> docker-login.sh [2023-09-07T04:46:17.969Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:46:17.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:17.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:17.969Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:17.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:17.969Z] [2023-09-07T04:46:17.969Z] Login Succeeded [2023-09-07T04:46:17.969Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:46:17.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:17.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:17.969Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:17.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:17.969Z] [2023-09-07T04:46:17.969Z] Login Succeeded [2023-09-07T04:46:17.969Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:46:18.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:18.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:18.228Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:18.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:18.228Z] [2023-09-07T04:46:18.228Z] Login Succeeded [2023-09-07T04:46:18.228Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:46:18.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:18.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:18.228Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:18.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:18.228Z] [2023-09-07T04:46:18.228Z] Login Succeeded [2023-09-07T04:46:18.228Z] docker.io [2023-09-07T04:46:18.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:18.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:18.748Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:18.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:18.748Z] [2023-09-07T04:46:18.748Z] Login Succeeded [2023-09-07T04:46:18.748Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:46:18.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:46:18.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:46:18.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:46:18.849Z] ========================================================= [2023-09-07T04:46:18.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-07T04:46:18.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:19.169Z] + 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-07T04:46:19.169Z] Sending build context to Docker daemon 10.92MB [2023-09-07T04:46:19.169Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:46:19.169Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:46:19.169Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-07T04:46:19.169Z] 4db1b89c0bd1: Pulling fs layer [2023-09-07T04:46:19.169Z] 6911f1a30b25: Pulling fs layer [2023-09-07T04:46:19.169Z] e194b8c5c2a9: Pulling fs layer [2023-09-07T04:46:19.169Z] 6863d3e3a2b1: Pulling fs layer [2023-09-07T04:46:19.169Z] ec0bb842ea78: Pulling fs layer [2023-09-07T04:46:19.169Z] 6863d3e3a2b1: Waiting [2023-09-07T04:46:19.169Z] 40a00589a448: Pulling fs layer [2023-09-07T04:46:19.169Z] 6c08303d61cc: Pulling fs layer [2023-09-07T04:46:19.169Z] 798269fcf238: Pulling fs layer [2023-09-07T04:46:19.169Z] ec0bb842ea78: Waiting [2023-09-07T04:46:19.169Z] 798269fcf238: Waiting [2023-09-07T04:46:19.169Z] 40a00589a448: Waiting [2023-09-07T04:46:19.169Z] 6c08303d61cc: Waiting [2023-09-07T04:46:19.169Z] 6911f1a30b25: Download complete [2023-09-07T04:46:19.169Z] 6863d3e3a2b1: Verifying Checksum [2023-09-07T04:46:19.169Z] 6863d3e3a2b1: Download complete [2023-09-07T04:46:19.169Z] ec0bb842ea78: Download complete [2023-09-07T04:46:19.439Z] 4db1b89c0bd1: Verifying Checksum [2023-09-07T04:46:19.439Z] 4db1b89c0bd1: Download complete [2023-09-07T04:46:19.439Z] 40a00589a448: Verifying Checksum [2023-09-07T04:46:19.439Z] 40a00589a448: Download complete [2023-09-07T04:46:19.439Z] 4db1b89c0bd1: Pull complete [2023-09-07T04:46:19.701Z] 6911f1a30b25: Pull complete [2023-09-07T04:46:19.961Z] 798269fcf238: Verifying Checksum [2023-09-07T04:46:20.220Z] e194b8c5c2a9: Verifying Checksum [2023-09-07T04:46:20.220Z] e194b8c5c2a9: Download complete [2023-09-07T04:46:20.478Z] 6c08303d61cc: Verifying Checksum [2023-09-07T04:46:20.478Z] 6c08303d61cc: Download complete [2023-09-07T04:46:23.763Z] e194b8c5c2a9: Pull complete [2023-09-07T04:46:23.763Z] 6863d3e3a2b1: Pull complete [2023-09-07T04:46:24.021Z] ec0bb842ea78: Pull complete [2023-09-07T04:46:24.021Z] 40a00589a448: Pull complete [2023-09-07T04:46:26.549Z] 6c08303d61cc: Pull complete [2023-09-07T04:46:27.491Z] 798269fcf238: Pull complete [2023-09-07T04:46:27.491Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-07T04:46:27.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-07T04:46:27.491Z] ---> ec979cd7f677 [2023-09-07T04:46:27.491Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:46:32.618Z] Still waiting to schedule task [2023-09-07T04:46:32.618Z] ‘prd-centos7-blackbox-4c-2g-5160’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-07T04:46:32.618Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5525’ is offline [2023-09-07T04:46:42.398Z] ---> Running in ef7413c3af8a [2023-09-07T04:46:42.398Z] Removing intermediate container ef7413c3af8a [2023-09-07T04:46:42.398Z] ---> 4c0d9faa6984 [2023-09-07T04:46:42.398Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:46:42.398Z] ---> Running in f7cb37fbc484 [2023-09-07T04:46:42.398Z] Removing intermediate container f7cb37fbc484 [2023-09-07T04:46:42.398Z] ---> 6148c403f79d [2023-09-07T04:46:42.398Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:46:42.398Z] ---> Running in b7ac7a285509 [2023-09-07T04:46:42.657Z] Removing intermediate container b7ac7a285509 [2023-09-07T04:46:42.657Z] ---> 15d2757edddb [2023-09-07T04:46:42.657Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:46:42.657Z] ---> Running in 3fc381051f3f [2023-09-07T04:46:42.657Z] Removing intermediate container 3fc381051f3f [2023-09-07T04:46:42.657Z] ---> 8a020b3d1883 [2023-09-07T04:46:42.657Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:46:42.657Z] ---> Running in cfb224836c78 [2023-09-07T04:46:43.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:46:43.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:46:43.484Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:46:43.484Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:46:43.484Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:46:43.484Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:46:43.484Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:46:43.484Z] OK: 269 MiB in 57 packages [2023-09-07T04:46:44.051Z] Removing intermediate container cfb224836c78 [2023-09-07T04:46:44.051Z] ---> 8724a315d35a [2023-09-07T04:46:44.051Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-07T04:46:44.051Z] ---> Running in c72d00ae7a0c [2023-09-07T04:46:44.051Z] Removing intermediate container c72d00ae7a0c [2023-09-07T04:46:44.051Z] ---> 88f9804ba7ae [2023-09-07T04:46:44.051Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:46:44.309Z] ---> 5955b90013f6 [2023-09-07T04:46:44.309Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:46:44.309Z] ---> Running in 6f82bcb1a431 [2023-09-07T04:47:23.059Z] Removing intermediate container 6f82bcb1a431 [2023-09-07T04:47:23.059Z] ---> 6cfecf4d7718 [2023-09-07T04:47:23.059Z] Step 11/12 : COPY . . [2023-09-07T04:47:23.059Z] ---> ae31c97caa09 [2023-09-07T04:47:23.059Z] Step 12/12 : RUN $MAKE [2023-09-07T04:47:23.059Z] ---> Running in 542f99b2f92d [2023-09-07T04:47:23.059Z] noop [2023-09-07T04:47:23.059Z] Removing intermediate container 542f99b2f92d [2023-09-07T04:47:23.059Z] ---> 07e1058e8459 [2023-09-07T04:47:23.059Z] Successfully built 07e1058e8459 [2023-09-07T04:47:23.059Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:23.377Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:47:23.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:47:23.446Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:47:23.478Z] $ 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-07T04:47:24.094Z] $ docker top 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:47:24.442Z] + go version [2023-09-07T04:47:24.442Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-07T04:47:24.458Z] $ docker stop --time=1 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 [2023-09-07T04:47:26.149Z] $ docker rm -f --volumes 903e400a05fa5b3049b91d8a9c7dd3b0fe085a8217cf5a7a7f202a209295a8a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:26.550Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:47:26.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:47:26.624Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:47:26.659Z] $ 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-07T04:47:27.520Z] $ docker top 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:47:27.860Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:47:28.157Z] + make test [2023-09-07T04:47:28.158Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:47:33.425Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-07T04:47:43.390Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-07T04:47:43.390Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 33.2% of statements [2023-09-07T04:47:49.952Z] go vet ./... [2023-09-07T04:47:55.237Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:47:55.237Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:47:55.237Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:47:55.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:47:55.271Z] $ docker stop --time=1 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd [2023-09-07T04:47:58.587Z] $ docker rm -f --volumes 257ed3b16c75a8d4726e7fbfe75173d691c835d6874788d449a62f4e00dc48bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:47:59.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:47:59.226Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-07T04:47:59.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:47:59.974Z] + ls -al . [2023-09-07T04:47:59.974Z] total 188 [2023-09-07T04:47:59.974Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 04:47 . [2023-09-07T04:47:59.974Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 .. [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 7 04:45 .dockerignore [2023-09-07T04:47:59.974Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:46 .git [2023-09-07T04:47:59.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 .github [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:45 .gitignore [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:45 .golangci.yml [2023-09-07T04:47:59.974Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:46 .semver [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 7 04:45 Attribution.txt [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 7 04:45 CHANGELOG.md [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 7 04:45 Dockerfile [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:45 GOVERNANCE.md [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 7 04:45 Jenkinsfile [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:45 LICENSE [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 7 04:45 Makefile [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:45 OWNERS.md [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 7 04:45 README.md [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:46 VERSION [2023-09-07T04:47:59.974Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:45 bin [2023-09-07T04:47:59.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 cmd [2023-09-07T04:47:59.974Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 7 04:47 coverage.out [2023-09-07T04:47:59.974Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:45 driver [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 7 04:45 go.mod [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:45 go.sum [2023-09-07T04:47:59.974Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 snap [2023-09-07T04:47:59.974Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 7 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:00.277Z] + 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=6634545f8e6cef8aebee68454b169adec7871c71 --label arch=amd64 --label version=3.1.0-dev.9 . [2023-09-07T04:48:00.277Z] Sending build context to Docker daemon 10.94MB [2023-09-07T04:48:00.277Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:48:00.277Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-07T04:48:00.277Z] ---> 07e1058e8459 [2023-09-07T04:48:00.277Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:48:00.846Z] ---> Running in b2a94ac96c96 [2023-09-07T04:48:00.846Z] Removing intermediate container b2a94ac96c96 [2023-09-07T04:48:00.846Z] ---> e14af7458b06 [2023-09-07T04:48:00.846Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:48:00.846Z] ---> Running in a9a7c1e12478 [2023-09-07T04:48:00.846Z] Removing intermediate container a9a7c1e12478 [2023-09-07T04:48:00.846Z] ---> a6b8c6cf4ba9 [2023-09-07T04:48:00.846Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:48:00.846Z] ---> Running in 152ac549b04c [2023-09-07T04:48:01.105Z] Removing intermediate container 152ac549b04c [2023-09-07T04:48:01.105Z] ---> 6904f91e53df [2023-09-07T04:48:01.105Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:48:01.105Z] ---> Running in 9aa47458a9ee [2023-09-07T04:48:01.105Z] Removing intermediate container 9aa47458a9ee [2023-09-07T04:48:01.105Z] ---> 50f720dd2e3b [2023-09-07T04:48:01.105Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:48:01.105Z] ---> Running in 0d191995fea4 [2023-09-07T04:48:01.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:48:01.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:48:01.886Z] OK: 269 MiB in 57 packages [2023-09-07T04:48:02.146Z] Removing intermediate container 0d191995fea4 [2023-09-07T04:48:02.146Z] ---> a6ec7912595e [2023-09-07T04:48:02.146Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-07T04:48:02.146Z] ---> Running in 1051120ff07c [2023-09-07T04:48:02.146Z] Removing intermediate container 1051120ff07c [2023-09-07T04:48:02.146Z] ---> 596b03a88219 [2023-09-07T04:48:02.146Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-07T04:48:02.406Z] ---> 29e335dfa56e [2023-09-07T04:48:02.406Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:48:02.406Z] ---> Running in 5f8317d806ce [2023-09-07T04:48:02.975Z] Removing intermediate container 5f8317d806ce [2023-09-07T04:48:02.975Z] ---> a98e0f7b3809 [2023-09-07T04:48:02.975Z] Step 11/25 : COPY . . [2023-09-07T04:48:03.544Z] ---> d5dda3ee29f7 [2023-09-07T04:48:03.544Z] Step 12/25 : RUN $MAKE [2023-09-07T04:48:03.544Z] ---> Running in 06b9019e187b [2023-09-07T04:48:03.801Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-07T04:48:25.729Z] Removing intermediate container 06b9019e187b [2023-09-07T04:48:25.729Z] ---> a905b4230578 [2023-09-07T04:48:25.729Z] Step 13/25 : FROM alpine:3.17 [2023-09-07T04:48:25.729Z] 3.17: Pulling from library/alpine [2023-09-07T04:48:25.729Z] 9398808236ff: Pulling fs layer [2023-09-07T04:48:25.729Z] 9398808236ff: Verifying Checksum [2023-09-07T04:48:25.729Z] 9398808236ff: Download complete [2023-09-07T04:48:25.729Z] 9398808236ff: Pull complete [2023-09-07T04:48:25.729Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:48:25.729Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:48:25.729Z] ---> 1e0b8b5322fc [2023-09-07T04:48:25.729Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-07T04:48:25.729Z] ---> Running in a1e7207b9bf7 [2023-09-07T04:48:25.729Z] Removing intermediate container a1e7207b9bf7 [2023-09-07T04:48:25.729Z] ---> 61cf87106359 [2023-09-07T04:48:25.729Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-07T04:48:25.729Z] ---> Running in 8cdfd30effdb [2023-09-07T04:48:25.729Z] Removing intermediate container 8cdfd30effdb [2023-09-07T04:48:25.729Z] ---> 2d22701de309 [2023-09-07T04:48:25.729Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-07T04:48:25.729Z] ---> Running in e68f9bfef797 [2023-09-07T04:48:25.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:48:25.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:48:26.248Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-07T04:48:26.248Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:48:26.248Z] OK: 7 MiB in 16 packages [2023-09-07T04:48:26.508Z] Removing intermediate container e68f9bfef797 [2023-09-07T04:48:26.508Z] ---> 4aa009e4928a [2023-09-07T04:48:26.508Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-07T04:48:27.443Z] ---> 1f68c147ded0 [2023-09-07T04:48:27.443Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-07T04:48:27.443Z] ---> c9f3eeae4081 [2023-09-07T04:48:27.443Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-07T04:48:28.013Z] ---> 0b8d0c13aea6 [2023-09-07T04:48:28.013Z] Step 20/25 : EXPOSE 59986 [2023-09-07T04:48:28.272Z] ---> Running in 6d109f126800 [2023-09-07T04:48:28.531Z] Removing intermediate container 6d109f126800 [2023-09-07T04:48:28.531Z] ---> 620c968a3327 [2023-09-07T04:48:28.531Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-07T04:48:28.531Z] ---> Running in 8099bb1f6793 [2023-09-07T04:48:29.098Z] Removing intermediate container 8099bb1f6793 [2023-09-07T04:48:29.098Z] ---> 33bb29236872 [2023-09-07T04:48:29.098Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-07T04:48:29.357Z] ---> Running in 09b12789127e [2023-09-07T04:48:29.615Z] Removing intermediate container 09b12789127e [2023-09-07T04:48:29.615Z] ---> 0720c448f869 [2023-09-07T04:48:29.615Z] Step 23/25 : LABEL arch=amd64 [2023-09-07T04:48:29.875Z] ---> Running in 91d79c2b46e4 [2023-09-07T04:48:30.133Z] Removing intermediate container 91d79c2b46e4 [2023-09-07T04:48:30.133Z] ---> a39fe13ebd0b [2023-09-07T04:48:30.133Z] Step 24/25 : LABEL git_sha=6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:48:30.392Z] ---> Running in 8be6f87893ce [2023-09-07T04:48:30.651Z] Removing intermediate container 8be6f87893ce [2023-09-07T04:48:30.651Z] ---> 7abb9d8d6a13 [2023-09-07T04:48:30.651Z] Step 25/25 : LABEL version=3.1.0-dev.9 [2023-09-07T04:48:31.218Z] ---> Running in 64c04f9a9c09 [2023-09-07T04:48:31.477Z] Removing intermediate container 64c04f9a9c09 [2023-09-07T04:48:31.477Z] ---> 87bb3d613a71 [2023-09-07T04:48:31.477Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:48:31.477Z] Successfully built 87bb3d613a71 [2023-09-07T04:48:31.477Z] 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-07T04:48:31.567Z] provisioning config files... [2023-09-07T04:48:31.574Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2119470441270094948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:48:31.868Z] ---> docker-login.sh [2023-09-07T04:48:31.868Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:48:31.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:31.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:31.868Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:31.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:31.868Z] [2023-09-07T04:48:31.868Z] Login Succeeded [2023-09-07T04:48:31.868Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:48:32.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:32.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:32.126Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:32.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:32.126Z] [2023-09-07T04:48:32.126Z] Login Succeeded [2023-09-07T04:48:32.126Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:48:32.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:32.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:32.126Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:32.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:32.126Z] [2023-09-07T04:48:32.126Z] Login Succeeded [2023-09-07T04:48:32.126Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:48:32.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:32.457Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:32.457Z] [2023-09-07T04:48:32.457Z] Login Succeeded [2023-09-07T04:48:32.457Z] docker.io [2023-09-07T04:48:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:32.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:32.716Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:32.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:32.716Z] [2023-09-07T04:48:32.716Z] Login Succeeded [2023-09-07T04:48:32.716Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:48:32.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:48:32.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:48:32.763Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-07T04:48:32.763Z] 6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:48:32.763Z] latest [2023-09-07T04:48:32.763Z] 3.1.0-dev.9 [2023-09-07T04:48:32.763Z] 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:48:32.763Z] main [2023-09-07T04:48:32.763Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:33.071Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:33.386Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:48:33.387Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-07T04:48:33.387Z] 0b8738835f5a: Preparing [2023-09-07T04:48:33.387Z] 676b49a1bc82: Preparing [2023-09-07T04:48:33.387Z] 1fa6253f8311: Preparing [2023-09-07T04:48:33.387Z] 26ef135a0073: Preparing [2023-09-07T04:48:33.387Z] 36b50b131297: Preparing [2023-09-07T04:48:33.387Z] 36b50b131297: Layer already exists [2023-09-07T04:48:33.387Z] 676b49a1bc82: Pushed [2023-09-07T04:48:33.387Z] 26ef135a0073: Pushed [2023-09-07T04:48:33.387Z] 0b8738835f5a: Pushed [2023-09-07T04:48:35.919Z] 1fa6253f8311: Pushed [2023-09-07T04:48:35.919Z] 6634545f8e6cef8aebee68454b169adec7871c71: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:36.491Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:36.800Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-07T04:48:36.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-07T04:48:36.800Z] 0b8738835f5a: Preparing [2023-09-07T04:48:36.800Z] 676b49a1bc82: Preparing [2023-09-07T04:48:36.800Z] 1fa6253f8311: Preparing [2023-09-07T04:48:36.800Z] 26ef135a0073: Preparing [2023-09-07T04:48:36.800Z] 36b50b131297: Preparing [2023-09-07T04:48:36.800Z] 36b50b131297: Layer already exists [2023-09-07T04:48:36.800Z] 0b8738835f5a: Layer already exists [2023-09-07T04:48:36.800Z] 676b49a1bc82: Layer already exists [2023-09-07T04:48:36.800Z] 1fa6253f8311: Layer already exists [2023-09-07T04:48:36.800Z] 26ef135a0073: Layer already exists [2023-09-07T04:48:36.800Z] latest: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:37.117Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:37.424Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 [2023-09-07T04:48:37.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-07T04:48:37.424Z] 0b8738835f5a: Preparing [2023-09-07T04:48:37.424Z] 676b49a1bc82: Preparing [2023-09-07T04:48:37.424Z] 1fa6253f8311: Preparing [2023-09-07T04:48:37.424Z] 26ef135a0073: Preparing [2023-09-07T04:48:37.424Z] 36b50b131297: Preparing [2023-09-07T04:48:37.424Z] 36b50b131297: Layer already exists [2023-09-07T04:48:37.424Z] 0b8738835f5a: Layer already exists [2023-09-07T04:48:37.424Z] 26ef135a0073: Layer already exists [2023-09-07T04:48:37.424Z] 676b49a1bc82: Layer already exists [2023-09-07T04:48:37.424Z] 1fa6253f8311: Layer already exists [2023-09-07T04:48:37.424Z] 3.1.0-dev.9: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:37.732Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:38.035Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:48:38.036Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-07T04:48:38.036Z] 0b8738835f5a: Preparing [2023-09-07T04:48:38.036Z] 676b49a1bc82: Preparing [2023-09-07T04:48:38.036Z] 1fa6253f8311: Preparing [2023-09-07T04:48:38.036Z] 26ef135a0073: Preparing [2023-09-07T04:48:38.036Z] 36b50b131297: Preparing [2023-09-07T04:48:38.036Z] 676b49a1bc82: Layer already exists [2023-09-07T04:48:38.036Z] 0b8738835f5a: Layer already exists [2023-09-07T04:48:38.036Z] 36b50b131297: Layer already exists [2023-09-07T04:48:38.036Z] 1fa6253f8311: Layer already exists [2023-09-07T04:48:38.036Z] 26ef135a0073: Layer already exists [2023-09-07T04:48:38.036Z] 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:38.339Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:38.648Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-07T04:48:38.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-07T04:48:38.648Z] 0b8738835f5a: Preparing [2023-09-07T04:48:38.648Z] 676b49a1bc82: Preparing [2023-09-07T04:48:38.648Z] 1fa6253f8311: Preparing [2023-09-07T04:48:38.648Z] 26ef135a0073: Preparing [2023-09-07T04:48:38.648Z] 36b50b131297: Preparing [2023-09-07T04:48:38.648Z] 1fa6253f8311: Layer already exists [2023-09-07T04:48:38.648Z] 36b50b131297: Layer already exists [2023-09-07T04:48:38.648Z] 676b49a1bc82: Layer already exists [2023-09-07T04:48:38.648Z] 0b8738835f5a: Layer already exists [2023-09-07T04:48:38.648Z] 26ef135a0073: Layer already exists [2023-09-07T04:48:38.648Z] main: digest: sha256:a22683db91fead5f5c20d96ff613776258b64b6de0f106f410c33a91b6750482 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:48:38.698Z] ===================================================== [Pipeline] echo [2023-09-07T04:48:38.709Z] taggedImages: [2023-09-07T04:48:38.709Z] - nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:48:38.709Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-07T04:48:38.709Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.9 [2023-09-07T04:48:38.709Z] - nexus3.edgexfoundry.org:10004/device-rest:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:48:38.709Z] - 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-07T04:48:39.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:48:39.082Z] [2023-09-07T04:48:39.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:39.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:48:39.382Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-07T04:48:39.382Z] 5eb5b503b376: Pulling fs layer [2023-09-07T04:48:39.382Z] 5c69ac0246d0: Pulling fs layer [2023-09-07T04:48:39.382Z] ec43610c2a17: Pulling fs layer [2023-09-07T04:48:39.382Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-07T04:48:39.382Z] 33b1e0a273af: Pulling fs layer [2023-09-07T04:48:39.382Z] 5d3b04190fa2: Pulling fs layer [2023-09-07T04:48:39.382Z] 2f39f015ded8: Pulling fs layer [2023-09-07T04:48:39.382Z] 33b1e0a273af: Waiting [2023-09-07T04:48:39.382Z] 5d3b04190fa2: Waiting [2023-09-07T04:48:39.382Z] 2f39f015ded8: Waiting [2023-09-07T04:48:39.382Z] 3a2ae6a8a46f: Waiting [2023-09-07T04:48:39.382Z] 5c69ac0246d0: Verifying Checksum [2023-09-07T04:48:39.382Z] 5c69ac0246d0: Download complete [2023-09-07T04:48:39.382Z] 3a2ae6a8a46f: Download complete [2023-09-07T04:48:39.657Z] 33b1e0a273af: Verifying Checksum [2023-09-07T04:48:39.657Z] 33b1e0a273af: Download complete [2023-09-07T04:48:39.657Z] 5d3b04190fa2: Verifying Checksum [2023-09-07T04:48:39.657Z] 5d3b04190fa2: Download complete [2023-09-07T04:48:39.657Z] ec43610c2a17: Verifying Checksum [2023-09-07T04:48:39.657Z] ec43610c2a17: Download complete [2023-09-07T04:48:39.657Z] 5eb5b503b376: Verifying Checksum [2023-09-07T04:48:39.657Z] 5eb5b503b376: Download complete [2023-09-07T04:48:40.594Z] 2f39f015ded8: Download complete [2023-09-07T04:48:40.852Z] 5eb5b503b376: Pull complete [2023-09-07T04:48:41.110Z] 5c69ac0246d0: Pull complete [2023-09-07T04:48:41.369Z] ec43610c2a17: Pull complete [2023-09-07T04:48:41.369Z] 3a2ae6a8a46f: Pull complete [2023-09-07T04:48:41.628Z] 33b1e0a273af: Pull complete [2023-09-07T04:48:41.628Z] 5d3b04190fa2: Pull complete [2023-09-07T04:48:45.830Z] 2f39f015ded8: Pull complete [2023-09-07T04:48:45.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-07T04:48:45.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:48:45.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:48:45.924Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:48:45.963Z] $ 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-07T04:48:51.834Z] $ docker top 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:48:52.195Z] ---> job-cost.sh [2023-09-07T04:48:52.195Z] lf-activate-venv: SKIPPING [2023-09-07T04:48:52.195Z] INFO: No Stack... [2023-09-07T04:48:52.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:48:52.713Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:48:53.004Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-07T04:48:53.004Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:48:53.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [2023-09-07T04:48:53.027Z] Resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] did not exist. Created. [2023-09-07T04:48:53.027Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:48:53.332Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-07T04:48:53.359Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:48:53.366Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:48:53.387Z] $ docker stop --time=1 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 [2023-09-07T04:48:54.601Z] $ docker rm -f --volumes 3f0c68787179934c4d4a6218ee89c36a95645c283b39a70388058a0253d6da71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-07T04:49:17.230Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5527 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-07T04:49:17.244Z] Running in /w/workspace/device-rest-go/129 [Pipeline] { [Pipeline] checkout [2023-09-07T04:49:17.284Z] The recommended git tool is: git [2023-09-07T04:49:23.500Z] using credential edgex-jenkins-ssh [2023-09-07T04:49:23.518Z] Cloning the remote Git repository [2023-09-07T04:49:23.566Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-07T04:49:23.688Z] > git init /w/workspace/device-rest-go/129 # timeout=10 [2023-09-07T04:49:23.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-07T04:49:23.863Z] > git --version # timeout=10 [2023-09-07T04:49:23.884Z] > git --version # 'git version 2.25.1' [2023-09-07T04:49:23.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T04:49:24.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T04:49:26.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-07T04:49:26.050Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T04:49:27.037Z] Avoid second fetch [2023-09-07T04:49:27.037Z] Checking out Revision 6634545f8e6cef8aebee68454b169adec7871c71 (main) [2023-09-07T04:49:27.052Z] > git config core.sparsecheckout # timeout=10 [2023-09-07T04:49:27.134Z] > git checkout -f 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 [2023-09-07T04:49:27.647Z] Commit message: "Merge pull request #337 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:49:28.478Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-07T04:49:28.478Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:49:28.478Z] Dload Upload Total Spent Left Speed [2023-09-07T04:49:28.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-09-07T04:49:29.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-07T04:49:29.504Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-07T04:49:29.504Z] + sudo tee /etc/docker/daemon.new [2023-09-07T04:49:29.504Z] { [2023-09-07T04:49:29.504Z] "registry-mirrors": [ [2023-09-07T04:49:29.504Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-07T04:49:29.504Z] ], [2023-09-07T04:49:29.504Z] "bip": "10.250.0.254/24", [2023-09-07T04:49:29.504Z] "hosts": [ [2023-09-07T04:49:29.504Z] "tcp://0.0.0.0:5555", [2023-09-07T04:49:29.504Z] "unix:///var/run/docker.sock" [2023-09-07T04:49:29.504Z] ], [2023-09-07T04:49:29.504Z] "mtu": 1458, [2023-09-07T04:49:29.504Z] "selinux-enabled": true, [2023-09-07T04:49:29.504Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-07T04:49:29.504Z] } [Pipeline] sh [2023-09-07T04:49:29.847Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-07T04:49:30.206Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:49:48.508Z] provisioning config files... [2023-09-07T04:49:48.537Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/129@tmp/config9620973936848494165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:49:48.894Z] ---> docker-login.sh [2023-09-07T04:49:48.894Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:49:49.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:49:49.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:49:49.444Z] Configure a credential helper to remove this warning. See [2023-09-07T04:49:49.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:49:49.444Z] [2023-09-07T04:49:49.444Z] Login Succeeded [2023-09-07T04:49:49.444Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:49:49.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:49:49.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:49:49.982Z] Configure a credential helper to remove this warning. See [2023-09-07T04:49:49.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:49:49.982Z] [2023-09-07T04:49:49.982Z] Login Succeeded [2023-09-07T04:49:49.982Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:49:50.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:49:50.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:49:50.254Z] Configure a credential helper to remove this warning. See [2023-09-07T04:49:50.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:49:50.254Z] [2023-09-07T04:49:50.254Z] Login Succeeded [2023-09-07T04:49:50.254Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:49:50.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:49:50.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:49:50.524Z] Configure a credential helper to remove this warning. See [2023-09-07T04:49:50.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:49:50.524Z] [2023-09-07T04:49:50.525Z] Login Succeeded [2023-09-07T04:49:50.525Z] docker.io [2023-09-07T04:49:50.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:49:51.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:49:51.063Z] Configure a credential helper to remove this warning. See [2023-09-07T04:49:51.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:49:51.063Z] [2023-09-07T04:49:51.063Z] Login Succeeded [2023-09-07T04:49:51.063Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:49:51.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:49:51.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:49:51.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:49:51.390Z] ========================================================= [2023-09-07T04:49:51.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-07T04:49:51.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:49:51.749Z] + 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-07T04:49:51.750Z] Sending build context to Docker daemon 143.4kB [2023-09-07T04:49:52.018Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:49:52.018Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:49:52.297Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-07T04:49:52.297Z] edb6bdbacee9: Pulling fs layer [2023-09-07T04:49:52.297Z] 5f9638ab2659: Pulling fs layer [2023-09-07T04:49:52.297Z] 8d51d6327a98: Pulling fs layer [2023-09-07T04:49:52.297Z] 8b374f2dd631: Pulling fs layer [2023-09-07T04:49:52.297Z] ec14aa9079de: Pulling fs layer [2023-09-07T04:49:52.297Z] 2f466654f4bb: Pulling fs layer [2023-09-07T04:49:52.297Z] 554e91adad29: Pulling fs layer [2023-09-07T04:49:52.297Z] ec14aa9079de: Waiting [2023-09-07T04:49:52.297Z] 2f466654f4bb: Waiting [2023-09-07T04:49:52.297Z] 8b374f2dd631: Waiting [2023-09-07T04:49:52.297Z] 554e91adad29: Waiting [2023-09-07T04:49:52.297Z] 5f9638ab2659: Verifying Checksum [2023-09-07T04:49:52.297Z] 5f9638ab2659: Download complete [2023-09-07T04:49:52.297Z] 8b374f2dd631: Download complete [2023-09-07T04:49:52.297Z] ec14aa9079de: Verifying Checksum [2023-09-07T04:49:52.297Z] ec14aa9079de: Download complete [2023-09-07T04:49:52.297Z] edb6bdbacee9: Verifying Checksum [2023-09-07T04:49:52.297Z] edb6bdbacee9: Download complete [2023-09-07T04:49:53.273Z] edb6bdbacee9: Pull complete [2023-09-07T04:49:53.861Z] 554e91adad29: Verifying Checksum [2023-09-07T04:49:53.861Z] 554e91adad29: Download complete [2023-09-07T04:49:54.146Z] 5f9638ab2659: Pull complete [2023-09-07T04:49:55.120Z] 8d51d6327a98: Verifying Checksum [2023-09-07T04:49:55.120Z] 8d51d6327a98: Download complete [2023-09-07T04:49:55.120Z] 2f466654f4bb: Verifying Checksum [2023-09-07T04:49:55.120Z] 2f466654f4bb: Download complete [2023-09-07T04:50:07.488Z] 8d51d6327a98: Pull complete [2023-09-07T04:50:07.488Z] 8b374f2dd631: Pull complete [2023-09-07T04:50:07.488Z] ec14aa9079de: Pull complete [2023-09-07T04:50:14.159Z] 2f466654f4bb: Pull complete [2023-09-07T04:50:16.762Z] 554e91adad29: Pull complete [2023-09-07T04:50:16.762Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-07T04:50:16.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-07T04:50:16.762Z] ---> 1e15ea492957 [2023-09-07T04:50:16.762Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:50:18.855Z] ---> Running in 632f72ce7c2f [2023-09-07T04:50:19.124Z] Removing intermediate container 632f72ce7c2f [2023-09-07T04:50:19.124Z] ---> d5565797d868 [2023-09-07T04:50:19.124Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:50:19.392Z] ---> Running in 74d7d34a4381 [2023-09-07T04:50:19.661Z] Removing intermediate container 74d7d34a4381 [2023-09-07T04:50:19.661Z] ---> 148254fa51c3 [2023-09-07T04:50:19.661Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:50:19.661Z] ---> Running in bb8bea4917ea [2023-09-07T04:50:19.929Z] Removing intermediate container bb8bea4917ea [2023-09-07T04:50:19.929Z] ---> f72e70160b58 [2023-09-07T04:50:19.929Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:50:20.198Z] ---> Running in 1be18d466d9b [2023-09-07T04:50:20.474Z] Removing intermediate container 1be18d466d9b [2023-09-07T04:50:20.474Z] ---> 91907a8752f2 [2023-09-07T04:50:20.474Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:50:20.474Z] ---> Running in cfc28fdcb33b [2023-09-07T04:50:21.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:50:22.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:50:23.894Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:50:23.894Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:50:23.894Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:50:23.894Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:50:23.894Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:50:23.894Z] OK: 268 MiB in 57 packages [2023-09-07T04:50:24.860Z] Removing intermediate container cfc28fdcb33b [2023-09-07T04:50:24.860Z] ---> 87f7ef3ddf15 [2023-09-07T04:50:24.860Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-07T04:50:24.860Z] ---> Running in 74b0f4d5d3c3 [2023-09-07T04:50:25.129Z] Removing intermediate container 74b0f4d5d3c3 [2023-09-07T04:50:25.129Z] ---> 276eca344490 [2023-09-07T04:50:25.129Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:50:25.717Z] ---> 049ac001d6b5 [2023-09-07T04:50:25.717Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:50:26.002Z] ---> Running in 031e277dc7f7 [2023-09-07T04:51:33.922Z] Removing intermediate container 031e277dc7f7 [2023-09-07T04:51:33.922Z] ---> 81a2d93a0ac2 [2023-09-07T04:51:33.922Z] Step 11/12 : COPY . . [2023-09-07T04:51:33.922Z] ---> ffbdcfb05881 [2023-09-07T04:51:33.922Z] Step 12/12 : RUN $MAKE [2023-09-07T04:51:33.922Z] ---> Running in 73ef3281b453 [2023-09-07T04:51:33.922Z] noop [2023-09-07T04:51:34.904Z] Removing intermediate container 73ef3281b453 [2023-09-07T04:51:34.904Z] ---> 9b76fd84177e [2023-09-07T04:51:34.904Z] Successfully built 9b76fd84177e [2023-09-07T04:51:34.904Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:51:35.308Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:51:35.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:51:35.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container [2023-09-07T04:51:35.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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-07T04:51:38.491Z] $ docker top 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:51:39.363Z] + go version [2023-09-07T04:51:39.364Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-07T04:51:39.391Z] $ docker stop --time=1 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c [2023-09-07T04:51:41.082Z] $ docker rm -f --volumes 31820f58f130a6eb276d38fa42e1825eb0bdfd80161e7d25b5853d1f5556305c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:51:41.657Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:51:41.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:51:41.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container [2023-09-07T04:51:41.929Z] $ 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/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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-07T04:51:43.179Z] $ docker top c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:51:44.039Z] + git config --global --add safe.directory /w/workspace/device-rest-go/129 [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:51:44.708Z] + make test [2023-09-07T04:51:44.709Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:52:23.616Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-07T04:54:45.386Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-07T04:54:45.654Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2023-09-07T04:54:46.236Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-07T04:54:46.236Z] go vet ./... [2023-09-07T04:55:18.467Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:55:18.467Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:55:18.467Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:55:18.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:55:18.504Z] $ docker stop --time=1 c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 [2023-09-07T04:55:20.446Z] $ docker rm -f --volumes c4e90c47584535494c3d49fb7419cfe8dbffcebafe2b26dead0a7160256fdd79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:55:21.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:55:21.663Z] Warning: overwriting stash ‘coverage-report’ [2023-09-07T04:55:22.109Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:55:22.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:55:22.823Z] + ls -al . [2023-09-07T04:55:22.823Z] total 184 [2023-09-07T04:55:22.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:51 . [2023-09-07T04:55:22.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:49 .. [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 7 04:49 .dockerignore [2023-09-07T04:55:22.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:49 .git [2023-09-07T04:55:22.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:49 .github [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:49 .gitignore [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:49 .golangci.yml [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 7 04:49 Attribution.txt [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 7 04:49 CHANGELOG.md [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 7 04:49 Dockerfile [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:49 GOVERNANCE.md [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 7 04:49 Jenkinsfile [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:49 LICENSE [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 7 04:49 Makefile [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:49 OWNERS.md [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 7 04:49 README.md [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:46 VERSION [2023-09-07T04:55:22.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:49 bin [2023-09-07T04:55:22.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:49 cmd [2023-09-07T04:55:22.823Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 7 04:54 coverage.out [2023-09-07T04:55:22.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:49 driver [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 7 04:49 go.mod [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:49 go.sum [2023-09-07T04:55:22.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:49 snap [2023-09-07T04:55:22.823Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 7 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:23.170Z] + 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=6634545f8e6cef8aebee68454b169adec7871c71 --label arch=arm64 --label version=3.1.0-dev.9 . [2023-09-07T04:55:23.170Z] Sending build context to Docker daemon 158.7kB [2023-09-07T04:55:23.437Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:55:23.437Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-07T04:55:23.437Z] ---> 9b76fd84177e [2023-09-07T04:55:23.437Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:55:23.437Z] ---> Running in ec6e1f8ecb56 [2023-09-07T04:55:23.705Z] Removing intermediate container ec6e1f8ecb56 [2023-09-07T04:55:23.705Z] ---> 42074327e4b9 [2023-09-07T04:55:23.705Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:55:23.972Z] ---> Running in d2f26a07b626 [2023-09-07T04:55:24.239Z] Removing intermediate container d2f26a07b626 [2023-09-07T04:55:24.239Z] ---> 8d634be97956 [2023-09-07T04:55:24.239Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:55:24.239Z] ---> Running in 4f312b3906ea [2023-09-07T04:55:24.508Z] Removing intermediate container 4f312b3906ea [2023-09-07T04:55:24.508Z] ---> 7a53e0583295 [2023-09-07T04:55:24.508Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:55:24.508Z] ---> Running in f931b0e4e544 [2023-09-07T04:55:24.776Z] Removing intermediate container f931b0e4e544 [2023-09-07T04:55:24.776Z] ---> a17bf4756d35 [2023-09-07T04:55:24.776Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:55:25.048Z] ---> Running in b9ed2a546eb7 [2023-09-07T04:55:26.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:55:26.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:55:27.566Z] OK: 268 MiB in 57 packages [2023-09-07T04:55:28.529Z] Removing intermediate container b9ed2a546eb7 [2023-09-07T04:55:28.529Z] ---> f13c334bbedc [2023-09-07T04:55:28.529Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-07T04:55:28.529Z] ---> Running in 1c42a1a3bbee [2023-09-07T04:55:28.805Z] Removing intermediate container 1c42a1a3bbee [2023-09-07T04:55:28.805Z] ---> b9e873e9259a [2023-09-07T04:55:28.805Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-07T04:55:29.391Z] ---> 2f1ef46aed83 [2023-09-07T04:55:29.391Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:55:31.974Z] ---> Running in 4a1014e6d370 [2023-09-07T04:55:34.559Z] Removing intermediate container 4a1014e6d370 [2023-09-07T04:55:34.559Z] ---> 04a5413bf4ea [2023-09-07T04:55:34.559Z] Step 11/25 : COPY . . [2023-09-07T04:55:34.828Z] ---> d16d48ce4f0f [2023-09-07T04:55:34.828Z] Step 12/25 : RUN $MAKE [2023-09-07T04:55:34.828Z] ---> Running in 441eca5df8e7 [2023-09-07T04:55:35.791Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-07T04:58:12.986Z] Removing intermediate container 441eca5df8e7 [2023-09-07T04:58:12.986Z] ---> 0e2d9c0df7f5 [2023-09-07T04:58:12.986Z] Step 13/25 : FROM alpine:3.17 [2023-09-07T04:58:12.986Z] 3.17: Pulling from library/alpine [2023-09-07T04:58:12.986Z] 4060ece20d7a: Pulling fs layer [2023-09-07T04:58:12.986Z] 4060ece20d7a: Verifying Checksum [2023-09-07T04:58:12.986Z] 4060ece20d7a: Download complete [2023-09-07T04:58:12.986Z] 4060ece20d7a: Pull complete [2023-09-07T04:58:12.986Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:58:12.986Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:58:12.986Z] ---> 8650cd65339b [2023-09-07T04:58:12.986Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-07T04:58:12.986Z] ---> Running in 2dcdef188003 [2023-09-07T04:58:12.986Z] Removing intermediate container 2dcdef188003 [2023-09-07T04:58:12.986Z] ---> 43d805dce153 [2023-09-07T04:58:12.986Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-07T04:58:12.986Z] ---> Running in 3393d144f4dd [2023-09-07T04:58:12.986Z] Removing intermediate container 3393d144f4dd [2023-09-07T04:58:12.986Z] ---> 393bb14205cf [2023-09-07T04:58:12.986Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-07T04:58:12.986Z] ---> Running in 3a0d7c24a31d [2023-09-07T04:58:12.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:58:12.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:58:12.986Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-07T04:58:12.986Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:58:12.986Z] OK: 8 MiB in 16 packages [2023-09-07T04:58:12.986Z] Removing intermediate container 3a0d7c24a31d [2023-09-07T04:58:12.986Z] ---> 9df1513bb979 [2023-09-07T04:58:12.986Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-07T04:58:12.986Z] ---> f0e0b45102bc [2023-09-07T04:58:12.986Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-07T04:58:12.986Z] ---> a209a25401d0 [2023-09-07T04:58:12.986Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-07T04:58:12.986Z] ---> 1444a16138b0 [2023-09-07T04:58:12.986Z] Step 20/25 : EXPOSE 59986 [2023-09-07T04:58:12.986Z] ---> Running in 4acd9544afdb [2023-09-07T04:58:12.986Z] Removing intermediate container 4acd9544afdb [2023-09-07T04:58:12.986Z] ---> d48c97161722 [2023-09-07T04:58:12.986Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-07T04:58:12.986Z] ---> Running in 609bbf2e2d1f [2023-09-07T04:58:12.986Z] Removing intermediate container 609bbf2e2d1f [2023-09-07T04:58:12.986Z] ---> 6713d20097ca [2023-09-07T04:58:12.986Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-07T04:58:12.986Z] ---> Running in 0e5703621f61 [2023-09-07T04:58:12.986Z] Removing intermediate container 0e5703621f61 [2023-09-07T04:58:12.986Z] ---> c3fe2ff1d42d [2023-09-07T04:58:12.986Z] Step 23/25 : LABEL arch=arm64 [2023-09-07T04:58:12.986Z] ---> Running in 66a6b03ec38c [2023-09-07T04:58:12.986Z] Removing intermediate container 66a6b03ec38c [2023-09-07T04:58:12.986Z] ---> 9d96300e00ff [2023-09-07T04:58:12.986Z] Step 24/25 : LABEL git_sha=6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:58:12.986Z] ---> Running in 81ca833a2a8f [2023-09-07T04:58:12.986Z] Removing intermediate container 81ca833a2a8f [2023-09-07T04:58:12.986Z] ---> 6f33a39d2893 [2023-09-07T04:58:12.986Z] Step 25/25 : LABEL version=3.1.0-dev.9 [2023-09-07T04:58:12.986Z] ---> Running in 60cd2cb0f8ca [2023-09-07T04:58:12.986Z] Removing intermediate container 60cd2cb0f8ca [2023-09-07T04:58:12.986Z] ---> d27bdf4d333d [2023-09-07T04:58:12.986Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:58:12.986Z] Successfully built d27bdf4d333d [2023-09-07T04:58:12.986Z] 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-07T04:58:13.083Z] provisioning config files... [2023-09-07T04:58:13.096Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/129@tmp/config12423133762117716371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:58:13.426Z] ---> docker-login.sh [2023-09-07T04:58:13.426Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:58:13.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:58:13.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:58:13.694Z] Configure a credential helper to remove this warning. See [2023-09-07T04:58:13.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:58:13.694Z] [2023-09-07T04:58:13.694Z] Login Succeeded [2023-09-07T04:58:13.694Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:58:13.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:58:13.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:58:13.961Z] Configure a credential helper to remove this warning. See [2023-09-07T04:58:13.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:58:13.961Z] [2023-09-07T04:58:13.961Z] Login Succeeded [2023-09-07T04:58:13.961Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:58:14.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:58:14.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:58:14.494Z] Configure a credential helper to remove this warning. See [2023-09-07T04:58:14.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:58:14.494Z] [2023-09-07T04:58:14.494Z] Login Succeeded [2023-09-07T04:58:14.494Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:58:14.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:58:14.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:58:14.763Z] Configure a credential helper to remove this warning. See [2023-09-07T04:58:14.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:58:14.763Z] [2023-09-07T04:58:14.763Z] Login Succeeded [2023-09-07T04:58:14.763Z] docker.io [2023-09-07T04:58:15.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:58:15.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:58:15.293Z] Configure a credential helper to remove this warning. See [2023-09-07T04:58:15.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:58:15.293Z] [2023-09-07T04:58:15.293Z] Login Succeeded [2023-09-07T04:58:15.293Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:58:15.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:58:15.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:58:15.360Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-07T04:58:15.360Z] 6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:58:15.360Z] latest [2023-09-07T04:58:15.360Z] 3.1.0-dev.9 [2023-09-07T04:58:15.360Z] 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:58:15.360Z] main [2023-09-07T04:58:15.360Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:15.708Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:16.046Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:58:16.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-07T04:58:16.046Z] ae8ec2405816: Preparing [2023-09-07T04:58:16.046Z] 2b9981901592: Preparing [2023-09-07T04:58:16.046Z] 3156f55cd9c4: Preparing [2023-09-07T04:58:16.046Z] a5b6c2f4dbe6: Preparing [2023-09-07T04:58:16.046Z] d2d9d24a8c2a: Preparing [2023-09-07T04:58:16.046Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:58:16.312Z] 2b9981901592: Pushed [2023-09-07T04:58:16.312Z] a5b6c2f4dbe6: Pushed [2023-09-07T04:58:16.312Z] ae8ec2405816: Pushed [2023-09-07T04:58:22.942Z] 3156f55cd9c4: Pushed [2023-09-07T04:58:22.942Z] 6634545f8e6cef8aebee68454b169adec7871c71: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:23.276Z] + 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-07T04:58:23.614Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-07T04:58:23.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-07T04:58:23.614Z] ae8ec2405816: Preparing [2023-09-07T04:58:23.614Z] 2b9981901592: Preparing [2023-09-07T04:58:23.614Z] 3156f55cd9c4: Preparing [2023-09-07T04:58:23.614Z] a5b6c2f4dbe6: Preparing [2023-09-07T04:58:23.614Z] d2d9d24a8c2a: Preparing [2023-09-07T04:58:23.614Z] 3156f55cd9c4: Layer already exists [2023-09-07T04:58:23.614Z] 2b9981901592: Layer already exists [2023-09-07T04:58:23.614Z] a5b6c2f4dbe6: Layer already exists [2023-09-07T04:58:23.614Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:58:23.614Z] ae8ec2405816: Layer already exists [2023-09-07T04:58:23.614Z] latest: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:23.944Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:24.280Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 [2023-09-07T04:58:24.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-07T04:58:24.280Z] ae8ec2405816: Preparing [2023-09-07T04:58:24.280Z] 2b9981901592: Preparing [2023-09-07T04:58:24.280Z] 3156f55cd9c4: Preparing [2023-09-07T04:58:24.280Z] a5b6c2f4dbe6: Preparing [2023-09-07T04:58:24.280Z] d2d9d24a8c2a: Preparing [2023-09-07T04:58:24.280Z] 3156f55cd9c4: Layer already exists [2023-09-07T04:58:24.280Z] 2b9981901592: Layer already exists [2023-09-07T04:58:24.280Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:58:24.280Z] a5b6c2f4dbe6: Layer already exists [2023-09-07T04:58:24.280Z] ae8ec2405816: Layer already exists [2023-09-07T04:58:24.280Z] 3.1.0-dev.9: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:24.626Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:24.969Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:58:24.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-07T04:58:24.969Z] ae8ec2405816: Preparing [2023-09-07T04:58:24.969Z] 2b9981901592: Preparing [2023-09-07T04:58:24.969Z] 3156f55cd9c4: Preparing [2023-09-07T04:58:24.969Z] a5b6c2f4dbe6: Preparing [2023-09-07T04:58:24.969Z] d2d9d24a8c2a: Preparing [2023-09-07T04:58:24.969Z] 3156f55cd9c4: Layer already exists [2023-09-07T04:58:24.969Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:58:24.969Z] ae8ec2405816: Layer already exists [2023-09-07T04:58:24.969Z] 2b9981901592: Layer already exists [2023-09-07T04:58:24.969Z] a5b6c2f4dbe6: Layer already exists [2023-09-07T04:58:24.969Z] 6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:25.313Z] + 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-07T04:58:25.643Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-07T04:58:25.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-07T04:58:25.643Z] ae8ec2405816: Preparing [2023-09-07T04:58:25.643Z] 2b9981901592: Preparing [2023-09-07T04:58:25.643Z] 3156f55cd9c4: Preparing [2023-09-07T04:58:25.643Z] a5b6c2f4dbe6: Preparing [2023-09-07T04:58:25.643Z] d2d9d24a8c2a: Preparing [2023-09-07T04:58:25.643Z] 2b9981901592: Layer already exists [2023-09-07T04:58:25.643Z] 3156f55cd9c4: Layer already exists [2023-09-07T04:58:25.643Z] a5b6c2f4dbe6: Layer already exists [2023-09-07T04:58:25.643Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:58:25.643Z] ae8ec2405816: Layer already exists [2023-09-07T04:58:25.643Z] main: digest: sha256:3568b6eb1215155632bc366a1b484a3583a1266c98cef132cc78300b01b58ac5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:58:25.689Z] ===================================================== [Pipeline] echo [2023-09-07T04:58:25.695Z] taggedImages: [2023-09-07T04:58:25.695Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71 [2023-09-07T04:58:25.695Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-07T04:58:25.695Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.9 [2023-09-07T04:58:25.695Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6634545f8e6cef8aebee68454b169adec7871c71-3.1.0-dev.9 [2023-09-07T04:58:25.695Z] - 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-07T04:58:26.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:58:26.052Z] [2023-09-07T04:58:26.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:26.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:58:26.374Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-07T04:58:26.374Z] 8998bd30e6a1: Pulling fs layer [2023-09-07T04:58:26.374Z] 04944245beec: Pulling fs layer [2023-09-07T04:58:26.374Z] 699f458cf7ca: Pulling fs layer [2023-09-07T04:58:26.374Z] 765212b225bb: Pulling fs layer [2023-09-07T04:58:26.374Z] f23df028b6ca: Pulling fs layer [2023-09-07T04:58:26.374Z] d65c8cfc05b1: Pulling fs layer [2023-09-07T04:58:26.374Z] 2437ff75d9bd: Pulling fs layer [2023-09-07T04:58:26.374Z] 765212b225bb: Waiting [2023-09-07T04:58:26.374Z] f23df028b6ca: Waiting [2023-09-07T04:58:26.374Z] d65c8cfc05b1: Waiting [2023-09-07T04:58:26.374Z] 2437ff75d9bd: Waiting [2023-09-07T04:58:26.642Z] 04944245beec: Verifying Checksum [2023-09-07T04:58:26.642Z] 04944245beec: Download complete [2023-09-07T04:58:26.642Z] 765212b225bb: Verifying Checksum [2023-09-07T04:58:26.642Z] 765212b225bb: Download complete [2023-09-07T04:58:26.642Z] f23df028b6ca: Verifying Checksum [2023-09-07T04:58:26.642Z] f23df028b6ca: Download complete [2023-09-07T04:58:26.642Z] d65c8cfc05b1: Verifying Checksum [2023-09-07T04:58:26.642Z] d65c8cfc05b1: Download complete [2023-09-07T04:58:26.642Z] 699f458cf7ca: Verifying Checksum [2023-09-07T04:58:26.642Z] 699f458cf7ca: Download complete [2023-09-07T04:58:27.224Z] 8998bd30e6a1: Verifying Checksum [2023-09-07T04:58:27.224Z] 8998bd30e6a1: Download complete [2023-09-07T04:58:29.173Z] 2437ff75d9bd: Verifying Checksum [2023-09-07T04:58:29.173Z] 2437ff75d9bd: Download complete [2023-09-07T04:58:31.112Z] 8998bd30e6a1: Pull complete [2023-09-07T04:58:31.696Z] 04944245beec: Pull complete [2023-09-07T04:58:33.101Z] 699f458cf7ca: Pull complete [2023-09-07T04:58:33.101Z] 765212b225bb: Pull complete [2023-09-07T04:58:33.683Z] f23df028b6ca: Pull complete [2023-09-07T04:58:33.950Z] d65c8cfc05b1: Pull complete [2023-09-07T04:58:48.932Z] 2437ff75d9bd: Pull complete [2023-09-07T04:58:48.932Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-07T04:58:48.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:58:48.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:58:49.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-5527 does not seem to be running inside a container [2023-09-07T04:58:49.173Z] $ 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/129 -v /w/workspace/device-rest-go/129:/w/workspace/device-rest-go/129:rw,z -v /w/workspace/device-rest-go/129@tmp:/w/workspace/device-rest-go/129@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-07T04:58:51.525Z] $ docker top 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:58:52.024Z] ---> job-cost.sh [2023-09-07T04:58:52.289Z] lf-activate-venv: SKIPPING [2023-09-07T04:58:52.289Z] INFO: No Stack... [2023-09-07T04:58:52.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-07T04:58:53.509Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:58:53.821Z] + cat /w/workspace/device-rest-go/129/archives/cost.csv [2023-09-07T04:58:53.821Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:58:53.854Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [2023-09-07T04:58:53.860Z] Resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] did not exist. Created. [2023-09-07T04:58:53.860Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:58:54.194Z] /w/workspace/device-rest-go/129@tmp/durable-01508690/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-07T04:58:54.522Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-07T04:58:54.544Z] Warning: overwriting stash ‘stack-cost’ [2023-09-07T04:58:54.591Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:58:54.671Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:58:54.696Z] $ docker stop --time=1 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef [2023-09-07T04:58:56.135Z] $ docker rm -f --volumes 4e52610545151376ac7b398e89128fb344b59102921a008486c497e602d07eef [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-07T04:58:56.510Z] provisioning config files... [2023-09-07T04:58:56.516Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11504835931179352103tmp [Pipeline] { [Pipeline] sh [2023-09-07T04:58:56.810Z] + set +x [2023-09-07T04:58:56.810Z] + + bash -s -- [2023-09-07T04:58:56.810Z] curl -s https://codecov.io/bash [2023-09-07T04:58:56.810Z] [2023-09-07T04:58:56.810Z] _____ _ [2023-09-07T04:58:56.810Z] / ____| | | [2023-09-07T04:58:56.810Z] | | ___ __| | ___ ___ _____ __ [2023-09-07T04:58:56.810Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-07T04:58:56.810Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-07T04:58:56.810Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-07T04:58:56.810Z] Bash-1.0.6 [2023-09-07T04:58:56.810Z] [2023-09-07T04:58:56.810Z] [2023-09-07T04:58:56.810Z] ==> git version 2.25.1 found [2023-09-07T04:58:56.810Z] ==> 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-07T04:58:56.810Z] Release-Date: 2020-01-08 [2023-09-07T04:58:56.810Z] 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-07T04:58:56.810Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-07T04:58:56.810Z] ==> Jenkins CI detected. [2023-09-07T04:58:56.810Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-07T04:58:56.810Z] project root: . [2023-09-07T04:58:56.810Z] --> token set from env [2023-09-07T04:58:56.810Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-07T04:58:56.810Z] ==> Running gcov in . (disable via -X gcov) [2023-09-07T04:58:56.810Z] ==> Python coveragepy not found [2023-09-07T04:58:56.810Z] ==> Searching for coverage reports in: [2023-09-07T04:58:56.810Z] + . [2023-09-07T04:58:56.810Z] -> Found 1 reports [2023-09-07T04:58:56.810Z] ==> Detecting git/mercurial file structure [2023-09-07T04:58:56.810Z] ==> Reading reports [2023-09-07T04:58:56.810Z] + ./coverage.out bytes=14499 [2023-09-07T04:58:56.810Z] ==> Appending adjustments [2023-09-07T04:58:56.810Z] https://docs.codecov.io/docs/fixing-reports [2023-09-07T04:58:57.070Z] + Found adjustments [2023-09-07T04:58:57.070Z] ==> Gzipping contents [2023-09-07T04:58:57.070Z] 4.0K /tmp/codecov.EQep1C.gz [2023-09-07T04:58:57.070Z] ==> Uploading reports [2023-09-07T04:58:57.070Z] url: https://codecov.io [2023-09-07T04:58:57.070Z] query: branch=main&commit=6634545f8e6cef8aebee68454b169adec7871c71&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:58:57.070Z] -> Pinging Codecov [2023-09-07T04:58:57.070Z] 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=6634545f8e6cef8aebee68454b169adec7871c71&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:58:57.070Z] -> Uploading to [2023-09-07T04:58:57.070Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-07/4E5D53B4F1F92C436F7061BF334D961C/6634545f8e6cef8aebee68454b169adec7871c71/a639c59e-1a4d-4228-a757-bf9f9bab959a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T045856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28a6b17329959f3667b29e33415fc3ca81c0f21577a9da97a299fb8d5fee2a97 [2023-09-07T04:58:57.070Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:58:57.070Z] Dload Upload Total Spent Left Speed [2023-09-07T04:58:57.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 14005 --:--:-- --:--:-- --:--:-- 13927 100 2493 0 0 100 2493 0 13927 --:--:-- --:--:-- --:--:-- 13850 [2023-09-07T04:58:57.331Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] } [2023-09-07T04:58:57.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-07T04:58:57.454Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-07T04:58:57.465Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:57.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:58:57.766Z] [2023-09-07T04:58:57.766Z] 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-07T04:58:58.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:58:58.061Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-07T04:58:58.061Z] df9b9388f04a: Pulling fs layer [2023-09-07T04:58:58.061Z] 52dc419b0ee2: Pulling fs layer [2023-09-07T04:58:58.061Z] 25bc292e5bac: Pulling fs layer [2023-09-07T04:58:58.061Z] 114826534d7a: Pulling fs layer [2023-09-07T04:58:58.061Z] 4657fd5d0bcf: Pulling fs layer [2023-09-07T04:58:58.061Z] 6ad1cebc031e: Pulling fs layer [2023-09-07T04:58:58.061Z] 8a3aa393b2d8: Pulling fs layer [2023-09-07T04:58:58.061Z] 114826534d7a: Waiting [2023-09-07T04:58:58.061Z] 4657fd5d0bcf: Waiting [2023-09-07T04:58:58.061Z] 8a3aa393b2d8: Waiting [2023-09-07T04:58:58.061Z] 25bc292e5bac: Verifying Checksum [2023-09-07T04:58:58.061Z] 25bc292e5bac: Download complete [2023-09-07T04:58:58.061Z] 52dc419b0ee2: Verifying Checksum [2023-09-07T04:58:58.061Z] 52dc419b0ee2: Download complete [2023-09-07T04:58:58.061Z] 4657fd5d0bcf: Verifying Checksum [2023-09-07T04:58:58.061Z] 4657fd5d0bcf: Download complete [2023-09-07T04:58:58.061Z] df9b9388f04a: Verifying Checksum [2023-09-07T04:58:58.061Z] df9b9388f04a: Download complete [2023-09-07T04:58:58.325Z] df9b9388f04a: Pull complete [2023-09-07T04:58:58.326Z] 6ad1cebc031e: Verifying Checksum [2023-09-07T04:58:58.326Z] 6ad1cebc031e: Download complete [2023-09-07T04:58:58.587Z] 52dc419b0ee2: Pull complete [2023-09-07T04:58:58.587Z] 25bc292e5bac: Pull complete [2023-09-07T04:58:59.154Z] 114826534d7a: Verifying Checksum [2023-09-07T04:58:59.154Z] 114826534d7a: Download complete [2023-09-07T04:58:59.154Z] 8a3aa393b2d8: Verifying Checksum [2023-09-07T04:58:59.154Z] 8a3aa393b2d8: Download complete [2023-09-07T04:59:03.356Z] 114826534d7a: Pull complete [2023-09-07T04:59:03.356Z] 4657fd5d0bcf: Pull complete [2023-09-07T04:59:03.356Z] 6ad1cebc031e: Pull complete [2023-09-07T04:59:06.640Z] 8a3aa393b2d8: Pull complete [2023-09-07T04:59:06.640Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-07T04:59:06.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:59:06.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:06.715Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:06.749Z] $ 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-07T04:59:10.605Z] $ docker top 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-07T04:59:10.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-07T04:59:10.942Z] + set -o pipefail [2023-09-07T04:59:10.942Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-07T04:59:15.127Z] [2023-09-07T04:59:15.128Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-07T04:59:15.128Z] [2023-09-07T04:59:15.128Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fd884cf3-06e9-4c52-ba5b-84d614ab28a8 [2023-09-07T04:59:15.128Z] [2023-09-07T04:59:15.128Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-07T04:59:15.128Z] [2023-09-07T04:59:15.128Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-07T04:59:15.128Z] [2023-09-07T04:59:15.128Z] [2023-09-07T04:59:15.128Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-07T04:59:15.128Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-07T04:59:15.128Z] More details here: https://snyk.co/ue1NS [2023-09-07T04:59:15.128Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-07T04:59:15.128Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-07T04:59:15.139Z] $ docker stop --time=1 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 [2023-09-07T04:59:18.853Z] $ docker rm -f --volumes 942cd6e15d5fa0a747dbb5163d5fd3b4072f7524829276c4328a94686edea6a9 [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-07T04:59:19.556Z] + git log --format=format:%s -1 6634545f8e6cef8aebee68454b169adec7871c71 [Pipeline] sh [2023-09-07T04:59:19.849Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:59:19.849Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:20.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:59:20.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:20.219Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:20.250Z] $ 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-07T04:59:20.659Z] $ docker top a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d -eo pid,comm [2023-09-07T04:59:20.704Z] 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-07T04:59:20.704Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:59:20.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:59:20.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:59:20.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:59:20.862Z] $ docker exec a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d ssh-agent [2023-09-07T04:59:20.982Z] SSH_AUTH_SOCK=/tmp/ssh-lFHxd2GGUnJT/agent.33 [2023-09-07T04:59:20.982Z] SSH_AGENT_PID=39 [2023-09-07T04:59:20.987Z] Running ssh-add (command line suppressed) [2023-09-07T04:59:21.079Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1887272499589678607.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1887272499589678607.key) [2023-09-07T04:59:21.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:59:21.376Z] + git semver tag [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,565 [run_tag] DEBUG tag force:False [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,565 [check_head_tag] DEBUG check head tag [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,565 [execute] INFO git cat-file --batch-check [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,569 [execute] INFO git cat-file --batch [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,583 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,583 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:59:21.635Z] 2023-09-07 04:59:21,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:21.635Z] 3.1.0-dev.9 [Pipeline] } [2023-09-07T04:59:21.646Z] $ docker exec --env ******** --env ******** a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d ssh-agent -k [2023-09-07T04:59:21.742Z] unset SSH_AUTH_SOCK; [2023-09-07T04:59:21.742Z] unset SSH_AGENT_PID; [2023-09-07T04:59:21.742Z] echo Agent pid 39 killed; [2023-09-07T04:59:21.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:59:22.051Z] + git semver [Pipeline] } [2023-09-07T04:59:22.323Z] $ docker stop --time=1 a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d [2023-09-07T04:59:23.600Z] $ docker rm -f --volumes a5973acf216dc238d56967b332b51b253c90d0162255b04acd5d5714eda47f4d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:23.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:59:23.978Z] [2023-09-07T04:59:23.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:24.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:59:24.278Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-07T04:59:24.278Z] ab5ef0e58194: Pulling fs layer [2023-09-07T04:59:24.278Z] 9712f1f96733: Pulling fs layer [2023-09-07T04:59:24.278Z] 63f879dbbcfc: Pulling fs layer [2023-09-07T04:59:24.278Z] 0d9ebad4ef96: Pulling fs layer [2023-09-07T04:59:24.278Z] e9a5061849ea: Pulling fs layer [2023-09-07T04:59:24.278Z] d747dcd14b5f: Pulling fs layer [2023-09-07T04:59:24.278Z] 2de7ff778b66: Pulling fs layer [2023-09-07T04:59:24.278Z] 2de7ff778b66: Waiting [2023-09-07T04:59:24.278Z] d747dcd14b5f: Waiting [2023-09-07T04:59:24.278Z] e9a5061849ea: Waiting [2023-09-07T04:59:24.278Z] 9712f1f96733: Verifying Checksum [2023-09-07T04:59:24.278Z] 9712f1f96733: Download complete [2023-09-07T04:59:24.846Z] 63f879dbbcfc: Verifying Checksum [2023-09-07T04:59:24.846Z] 63f879dbbcfc: Download complete [2023-09-07T04:59:24.846Z] e9a5061849ea: Verifying Checksum [2023-09-07T04:59:24.846Z] e9a5061849ea: Download complete [2023-09-07T04:59:24.846Z] 0d9ebad4ef96: Verifying Checksum [2023-09-07T04:59:24.846Z] 0d9ebad4ef96: Download complete [2023-09-07T04:59:24.846Z] d747dcd14b5f: Download complete [2023-09-07T04:59:25.105Z] ab5ef0e58194: Download complete [2023-09-07T04:59:25.105Z] 2de7ff778b66: Verifying Checksum [2023-09-07T04:59:25.105Z] 2de7ff778b66: Download complete [2023-09-07T04:59:27.635Z] ab5ef0e58194: Pull complete [2023-09-07T04:59:27.635Z] 9712f1f96733: Pull complete [2023-09-07T04:59:27.894Z] 63f879dbbcfc: Pull complete [2023-09-07T04:59:31.177Z] 0d9ebad4ef96: Pull complete [2023-09-07T04:59:31.436Z] e9a5061849ea: Pull complete [2023-09-07T04:59:31.436Z] d747dcd14b5f: Pull complete [2023-09-07T04:59:32.370Z] 2de7ff778b66: Pull complete [2023-09-07T04:59:32.628Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-07T04:59:32.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:59:32.628Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:32.707Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:32.733Z] $ 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-07T04:59:37.995Z] $ docker top 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:59:38.066Z] provisioning config files... [2023-09-07T04:59:38.072Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14669944589087806237tmp [2023-09-07T04:59:38.082Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6469057227174664393tmp [2023-09-07T04:59:38.090Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10895771589670164925tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:59:38.103Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:38.384Z] ---> sigul-configuration.sh [2023-09-07T04:59:38.384Z] gpg: directory `/root/.gnupg' created [2023-09-07T04:59:38.384Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-07T04:59:38.384Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-07T04:59:38.384Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-07T04:59:38.384Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-07T04:59:38.384Z] gpg: CAST5 encrypted data [2023-09-07T04:59:38.384Z] gpg: encrypted with 1 passphrase [2023-09-07T04:59:38.384Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-07T04:59:38.667Z] + mkdir /home/jenkins [2023-09-07T04:59:38.668Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-07T04:59:38.951Z] + 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-07T04:59:38.959Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:39.239Z] ---> sigul-install.sh [2023-09-07T04:59:39.239Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-07T04:59:39.523Z] + git tag --list [2023-09-07T04:59:39.523Z] v1.0.0 [2023-09-07T04:59:39.523Z] v1.1.0 [2023-09-07T04:59:39.523Z] v1.1.1 [2023-09-07T04:59:39.523Z] v1.1.2 [2023-09-07T04:59:39.523Z] v1.2.0 [2023-09-07T04:59:39.523Z] v1.2.1 [2023-09-07T04:59:39.523Z] v2.0.0 [2023-09-07T04:59:39.523Z] v2.1.0 [2023-09-07T04:59:39.523Z] v2.1.1 [2023-09-07T04:59:39.523Z] v2.2.0 [2023-09-07T04:59:39.523Z] v2.3.0 [2023-09-07T04:59:39.523Z] v3.0 [2023-09-07T04:59:39.523Z] v3.0.0 [2023-09-07T04:59:39.523Z] v3.1.0-dev.1 [2023-09-07T04:59:39.523Z] v3.1.0-dev.2 [2023-09-07T04:59:39.523Z] v3.1.0-dev.3 [2023-09-07T04:59:39.523Z] v3.1.0-dev.4 [2023-09-07T04:59:39.523Z] v3.1.0-dev.5 [2023-09-07T04:59:39.523Z] v3.1.0-dev.6 [2023-09-07T04:59:39.523Z] v3.1.0-dev.7 [2023-09-07T04:59:39.523Z] v3.1.0-dev.8 [2023-09-07T04:59:39.523Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-07T04:59:39.808Z] + lftools sign git-tag v3.1.0-dev.9 [2023-09-07T04:59:40.376Z] Signing Git tag with Sigul... [2023-09-07T04:59:40.376Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-09-07T04:59:40.951Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:41.235Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-07T04:59:41.244Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-07T04:59:41.267Z] $ docker stop --time=1 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d [2023-09-07T04:59:42.535Z] $ docker rm -f --volumes 4815f59cd6736aa4385befd902b96093083ab3a416631d28299d2354cca4d91d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-07T04:59:42.916Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:59:42.916Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:43.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:59:43.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:43.278Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:43.312Z] $ 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-07T04:59:43.641Z] $ docker top 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a -eo pid,comm [2023-09-07T04:59:43.687Z] 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-07T04:59:43.687Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:59:43.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:59:43.796Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:59:43.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:59:43.914Z] $ docker exec 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a ssh-agent [2023-09-07T04:59:44.008Z] SSH_AUTH_SOCK=/tmp/ssh-POsLGMMLHsXL/agent.32 [2023-09-07T04:59:44.008Z] SSH_AGENT_PID=38 [2023-09-07T04:59:44.012Z] Running ssh-add (command line suppressed) [2023-09-07T04:59:44.114Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637816944851182525.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637816944851182525.key) [2023-09-07T04:59:44.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:59:44.409Z] + git semver bump pre [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,578 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,578 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,579 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,579 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,580 [execute] INFO git cat-file --batch-check [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,580 [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-07T04:59:44.667Z] 2023-09-07 04:59:44,585 [execute] INFO git cat-file --batch [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:44.667Z] 2023-09-07 04:59:44,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:44.667Z] 3.1.0-dev.10 [Pipeline] } [2023-09-07T04:59:44.679Z] $ docker exec --env ******** --env ******** 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a ssh-agent -k [2023-09-07T04:59:44.774Z] unset SSH_AUTH_SOCK; [2023-09-07T04:59:44.774Z] unset SSH_AGENT_PID; [2023-09-07T04:59:44.774Z] echo Agent pid 38 killed; [2023-09-07T04:59:44.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:59:45.083Z] + git semver [Pipeline] } [2023-09-07T04:59:45.356Z] $ docker stop --time=1 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a [2023-09-07T04:59:46.651Z] $ docker rm -f --volumes 08cd3ed1dd599687b7196067c572645b70b8d4fb1fc3d51a5a12b4e687cc028a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:59:47.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:59:47.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:47.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:59:47.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:47.486Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:47.513Z] $ 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-07T04:59:47.874Z] $ docker top 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e -eo pid,comm [2023-09-07T04:59:47.921Z] 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-07T04:59:47.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:59:47.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:59:47.959Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:59:48.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:59:48.086Z] $ docker exec 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e ssh-agent [2023-09-07T04:59:48.194Z] SSH_AUTH_SOCK=/tmp/ssh-SuioGKOD86c4/agent.31 [2023-09-07T04:59:48.194Z] SSH_AGENT_PID=37 [2023-09-07T04:59:48.199Z] Running ssh-add (command line suppressed) [2023-09-07T04:59:48.308Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3683429364597118713.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3683429364597118713.key) [2023-09-07T04:59:48.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:59:48.609Z] + git semver push [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,773 [run_push] DEBUG push [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,773 [execute] INFO git cat-file --batch-check [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,773 [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-07T04:59:48.869Z] 2023-09-07 04:59:48,777 [execute] INFO git rev-list 6ed1398138c7b2c2d21e7f39cf0da8ed6e0e15e5 -- [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,777 [execute] DEBUG Popen(['git', 'rev-list', '6ed1398138c7b2c2d21e7f39cf0da8ed6e0e15e5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,783 [execute] INFO git fetch -v origin [2023-09-07T04:59:48.869Z] 2023-09-07 04:59:48,783 [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-07T04:59:49.438Z] 2023-09-07 04:59:49,249 [run_push] DEBUG no remote changes detected [2023-09-07T04:59:49.438Z] 2023-09-07 04:59:49,249 [execute] INFO git push origin semver [2023-09-07T04:59:49.438Z] 2023-09-07 04:59:49,250 [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-07T04:59:50.006Z] 2023-09-07 04:59:49,965 [run_push] DEBUG push all version tags [2023-09-07T04:59:50.006Z] 2023-09-07 04:59:49,966 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-07T04:59:50.006Z] 2023-09-07 04:59:49,966 [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-07T04:59:50.943Z] 2023-09-07 04:59:50,744 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-07T04:59:50.943Z] 3.1.0-dev.10 [Pipeline] } [2023-09-07T04:59:50.960Z] $ docker exec --env ******** --env ******** 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e ssh-agent -k [2023-09-07T04:59:51.052Z] unset SSH_AUTH_SOCK; [2023-09-07T04:59:51.052Z] unset SSH_AGENT_PID; [2023-09-07T04:59:51.052Z] echo Agent pid 37 killed; [2023-09-07T04:59:51.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:59:51.376Z] + git semver [Pipeline] } [2023-09-07T04:59:51.649Z] $ docker stop --time=1 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e [2023-09-07T04:59:52.914Z] $ docker rm -f --volumes 82ea9fd86a02b59c3bcdf104804d7d70e9798d6efb70c1ef80a75c0fce965a5e [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-07T04:59:53.446Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-07T04:59:53.446Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-07T04:59:53.446Z] total 16 [2023-09-07T04:59:53.446Z] drwxr-xr-x 3 root root 4096 Sep 7 04:48 . [2023-09-07T04:59:53.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:59 .. [2023-09-07T04:59:53.446Z] drwxr-xr-x 2 root root 4096 Sep 7 04:48 cost [2023-09-07T04:59:53.446Z] -rw-r--r-- 1 root root 86 Sep 7 04:48 cost.csv [2023-09-07T04:59:53.446Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-07T04:59:53.446Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-07T04:59:53.446Z] total 16 [2023-09-07T04:59:53.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:48 . [2023-09-07T04:59:53.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:59 .. [2023-09-07T04:59:53.446Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:48 cost [2023-09-07T04:59:53.446Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 7 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:53.737Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:54.599Z] ---> package-listing.sh [2023-09-07T04:59:54.599Z] ++ facter osfamily [2023-09-07T04:59:54.599Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-07T04:59:54.859Z] + OS_FAMILY=debian [2023-09-07T04:59:54.859Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-07T04:59:54.859Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-07T04:59:54.859Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-07T04:59:54.859Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-07T04:59:54.859Z] + PACKAGES=/tmp/packages_start.txt [2023-09-07T04:59:54.859Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-07T04:59:54.859Z] + PACKAGES=/tmp/packages_end.txt [2023-09-07T04:59:54.859Z] + case "${OS_FAMILY}" in [2023-09-07T04:59:54.859Z] + dpkg -l [2023-09-07T04:59:54.859Z] + grep '^ii' [2023-09-07T04:59:54.859Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-07T04:59:54.859Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-07T04:59:54.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-07T04:59:54.859Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-07T04:59:54.859Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-07T04:59:54.859Z] + 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-07T04:59:54.870Z] 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-07T04:59:55.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:55.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:59:55.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:55.773Z] prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container [2023-09-07T04:59:55.806Z] $ 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-07T04:59:56.044Z] $ docker top a53de1dceeb5be7328a16261c23d59e075788a561b05a2888a2461ab916717b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:59:56.382Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-07T04:59:56.667Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-07T04:59:56.955Z] + ls /var/log/sa-host [2023-09-07T04:59:56.956Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:59:57.017Z] provisioning config files... [2023-09-07T04:59:57.024Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11937403225186120914tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:59:57.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:57.317Z] ---> create-netrc.sh [Pipeline] } [2023-09-07T04:59:57.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:57.651Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-07T04:59:57.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:57.944Z] ---> sudo-logs.sh [2023-09-07T04:59:57.944Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-07T04:59:57.973Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:58.253Z] ---> job-cost.sh [2023-09-07T04:59:58.253Z] lf-activate-venv: SKIPPING [2023-09-07T04:59:58.253Z] DEBUG: total: 0.2199999988079071 [2023-09-07T04:59:58.253Z] INFO: Retrieving Stack Cost... [2023-09-07T04:59:58.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:59:59.080Z] INFO: Archiving Costs [Pipeline] echo [2023-09-07T04:59:59.092Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:59.373Z] ---> logs-deploy.sh [2023-09-07T04:59:59.373Z] lf-activate-venv: SKIPPING [2023-09-07T04:59:59.373Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/129 [2023-09-07T04:59:59.373Z] INFO: archiving workspace using pattern(s): [2023-09-07T05:00:00.311Z] Archives upload complete. [2023-09-07T05:00:00.311Z] INFO: archiving logs to Nexus