Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6f941c2af2fad29136a7acf5385bb2680494e78 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-ssh11576119503935446432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15030603042599308273.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17365315071712850516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3977645455128285999.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-ssh13956523989020455596.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7700 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d6f941c2af2fad29136a7acf5385bb2680494e78 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 > git rev-list --no-walk a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-23T14:36:53.192Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-23T14:36:53.254Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-23T14:36:53.269Z] ========================================================= [2023-09-23T14:36:53.269Z] EdgeX Global Pipelines Version Info [2023-09-23T14:36:53.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:36:53.979Z] ------------------- [2023-09-23T14:36:53.979Z] stable info: [2023-09-23T14:36:53.979Z] ------------------- [2023-09-23T14:36:53.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-23T14:36:53.979Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T14:36:53.979Z] Message: update stable to v1.0.254 [2023-09-23T14:36:54.545Z] ------------------- [2023-09-23T14:36:54.545Z] experimental info: [2023-09-23T14:36:54.545Z] ------------------- [2023-09-23T14:36:54.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-23T14:36:54.545Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T14:36:54.545Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-23T14:36:54.729Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-23T14:36:54.740Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-23T14:36:54.757Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-23T14:36:54.777Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-23T14:36:54.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-23T14:36:54.798Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-23T14:36:54.807Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-23T14:36:54.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-23T14:36:54.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-23T14:36:54.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-23T14:36:54.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-23T14:36:54.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-23T14:36:54.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-23T14:36:54.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-23T14:36:54.874Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T14:36:54.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T14:36:54.900Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T14:36:54.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T14:36:54.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-23T14:36:54.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-23T14:36:54.953Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-23T14:36:54.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-23T14:36:54.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-23T14:36:55.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-23T14:36:55.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-23T14:36:55.026Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-23T14:36:55.040Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-23T14:36:55.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-23T14:36:55.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-23T14:36:55.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-23T14:36:55.081Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo [2023-09-23T14:36:55.090Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6f941c [Pipeline] echo [2023-09-23T14:36:55.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T14:36:55.154Z] provisioning config files... [2023-09-23T14:36:55.169Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5122683796725272875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:36:55.470Z] ---> docker-login.sh [2023-09-23T14:36:55.471Z] nexus3.edgexfoundry.org:10001 [2023-09-23T14:36:55.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:36:55.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:36:55.730Z] Configure a credential helper to remove this warning. See [2023-09-23T14:36:55.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:36:55.730Z] [2023-09-23T14:36:55.730Z] Login Succeeded [2023-09-23T14:36:55.730Z] nexus3.edgexfoundry.org:10002 [2023-09-23T14:36:55.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:36:55.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:36:55.730Z] Configure a credential helper to remove this warning. See [2023-09-23T14:36:55.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:36:55.730Z] [2023-09-23T14:36:55.730Z] Login Succeeded [2023-09-23T14:36:55.730Z] nexus3.edgexfoundry.org:10003 [2023-09-23T14:36:55.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:36:55.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:36:55.990Z] Configure a credential helper to remove this warning. See [2023-09-23T14:36:55.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:36:55.990Z] [2023-09-23T14:36:55.990Z] Login Succeeded [2023-09-23T14:36:55.990Z] nexus3.edgexfoundry.org:10004 [2023-09-23T14:36:55.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:36:55.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:36:55.990Z] Configure a credential helper to remove this warning. See [2023-09-23T14:36:55.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:36:55.990Z] [2023-09-23T14:36:55.990Z] Login Succeeded [2023-09-23T14:36:55.990Z] docker.io [2023-09-23T14:36:56.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:36:56.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:36:56.510Z] Configure a credential helper to remove this warning. See [2023-09-23T14:36:56.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:36:56.510Z] [2023-09-23T14:36:56.510Z] Login Succeeded [2023-09-23T14:36:56.510Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T14:36:56.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-23T14:36:56.899Z] + git rev-list -1 --merges d6f941c2af2fad29136a7acf5385bb2680494e78~1..d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo [2023-09-23T14:36:56.949Z] -----------> git rev-list -1 --merges d6f941c2af2fad29136a7acf5385bb2680494e78~1..d6f941c2af2fad29136a7acf5385bb2680494e78 d6f941c2af2fad29136a7acf5385bb2680494e78 [false] [Pipeline] sh [2023-09-23T14:36:57.241Z] + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo [2023-09-23T14:36:57.265Z] ========================================================= [2023-09-23T14:36:57.265Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T14:36:57.265Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T14:36:57.604Z] + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] echo [2023-09-23T14:36:57.615Z] [semverPrep] GIT_COMMIT: d6f941c2af2fad29136a7acf5385bb2680494e78, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345) [Pipeline] echo [2023-09-23T14:36:57.627Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-23T14:36:57.974Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T14:36:57.974Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-23T14:36:57.974Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-23T14:36:57.974Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-23T14:36:57.974Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-23T14:36:57.974Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-23T14:36:57.974Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:36:58.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:36:58.314Z] [2023-09-23T14:36:58.314Z] 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-23T14:36:58.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:36:58.616Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-23T14:36:58.616Z] b85a868b505f: Pulling fs layer [2023-09-23T14:36:58.616Z] e2be974225ed: Pulling fs layer [2023-09-23T14:36:58.616Z] 339a4e72a1f5: Pulling fs layer [2023-09-23T14:36:58.616Z] 988bab9f4d93: Pulling fs layer [2023-09-23T14:36:58.616Z] 1469e6f7b9e6: Pulling fs layer [2023-09-23T14:36:58.616Z] eaf3925da568: Pulling fs layer [2023-09-23T14:36:58.616Z] bab4dde63d76: Pulling fs layer [2023-09-23T14:36:58.616Z] bde34c3a00c8: Pulling fs layer [2023-09-23T14:36:58.616Z] b352a97aabf1: Pulling fs layer [2023-09-23T14:36:58.616Z] 4872d77fe225: Pulling fs layer [2023-09-23T14:36:58.616Z] 5851b861e8e6: Pulling fs layer [2023-09-23T14:36:58.616Z] 988bab9f4d93: Waiting [2023-09-23T14:36:58.616Z] 1469e6f7b9e6: Waiting [2023-09-23T14:36:58.616Z] eaf3925da568: Waiting [2023-09-23T14:36:58.616Z] 4872d77fe225: Waiting [2023-09-23T14:36:58.616Z] bab4dde63d76: Waiting [2023-09-23T14:36:58.616Z] bde34c3a00c8: Waiting [2023-09-23T14:36:58.616Z] 5851b861e8e6: Waiting [2023-09-23T14:36:58.616Z] b352a97aabf1: Waiting [2023-09-23T14:36:58.616Z] e2be974225ed: Verifying Checksum [2023-09-23T14:36:58.616Z] e2be974225ed: Download complete [2023-09-23T14:36:58.616Z] 988bab9f4d93: Download complete [2023-09-23T14:36:58.879Z] 1469e6f7b9e6: Verifying Checksum [2023-09-23T14:36:58.879Z] 1469e6f7b9e6: Download complete [2023-09-23T14:36:58.879Z] eaf3925da568: Verifying Checksum [2023-09-23T14:36:58.879Z] eaf3925da568: Download complete [2023-09-23T14:36:58.879Z] 339a4e72a1f5: Verifying Checksum [2023-09-23T14:36:58.879Z] 339a4e72a1f5: Download complete [2023-09-23T14:36:58.879Z] bde34c3a00c8: Verifying Checksum [2023-09-23T14:36:58.879Z] bde34c3a00c8: Download complete [2023-09-23T14:36:58.879Z] b352a97aabf1: Download complete [2023-09-23T14:36:58.879Z] 4872d77fe225: Verifying Checksum [2023-09-23T14:36:58.879Z] 4872d77fe225: Download complete [2023-09-23T14:36:58.879Z] 5851b861e8e6: Verifying Checksum [2023-09-23T14:36:58.879Z] 5851b861e8e6: Download complete [2023-09-23T14:36:58.879Z] b85a868b505f: Verifying Checksum [2023-09-23T14:36:58.879Z] b85a868b505f: Download complete [2023-09-23T14:36:59.140Z] bab4dde63d76: Verifying Checksum [2023-09-23T14:36:59.140Z] bab4dde63d76: Download complete [2023-09-23T14:37:00.078Z] b85a868b505f: Pull complete [2023-09-23T14:37:00.078Z] e2be974225ed: Pull complete [2023-09-23T14:37:00.645Z] 339a4e72a1f5: Pull complete [2023-09-23T14:37:00.645Z] 988bab9f4d93: Pull complete [2023-09-23T14:37:00.904Z] 1469e6f7b9e6: Pull complete [2023-09-23T14:37:00.904Z] eaf3925da568: Pull complete [2023-09-23T14:37:02.281Z] bab4dde63d76: Pull complete [2023-09-23T14:37:02.540Z] bde34c3a00c8: Pull complete [2023-09-23T14:37:02.540Z] b352a97aabf1: Pull complete [2023-09-23T14:37:02.540Z] 4872d77fe225: Pull complete [2023-09-23T14:37:02.800Z] 5851b861e8e6: Pull complete [2023-09-23T14:37:02.800Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-23T14:37:02.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:37:02.800Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:37:02.886Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:37:02.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T14:37:05.275Z] $ docker top 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 -eo pid,comm [2023-09-23T14:37:05.325Z] 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-23T14:37:05.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T14:37:05.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T14:37:05.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T14:37:05.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T14:37:05.481Z] $ docker exec 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent [2023-09-23T14:37:05.587Z] SSH_AUTH_SOCK=/tmp/ssh-QAYKso0lTOSp/agent.33 [2023-09-23T14:37:05.587Z] SSH_AGENT_PID=39 [2023-09-23T14:37:05.595Z] Running ssh-add (command line suppressed) [2023-09-23T14:37:05.694Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17679108923179815652.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17679108923179815652.key) [2023-09-23T14:37:05.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T14:37:05.996Z] + git tag --points-at HEAD [Pipeline] } [2023-09-23T14:37:06.005Z] $ docker exec --env ******** --env ******** 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent -k [2023-09-23T14:37:06.102Z] unset SSH_AUTH_SOCK; [2023-09-23T14:37:06.102Z] unset SSH_AGENT_PID; [2023-09-23T14:37:06.102Z] echo Agent pid 39 killed; [2023-09-23T14:37:06.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-23T14:37:06.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T14:37:06.144Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T14:37:06.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T14:37:06.264Z] $ docker exec 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent [2023-09-23T14:37:06.367Z] SSH_AUTH_SOCK=/tmp/ssh-xrBFpqxERerO/agent.72 [2023-09-23T14:37:06.367Z] SSH_AGENT_PID=78 [2023-09-23T14:37:06.372Z] Running ssh-add (command line suppressed) [2023-09-23T14:37:06.466Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8537180197257485000.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8537180197257485000.key) [2023-09-23T14:37:06.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T14:37:06.771Z] + git semver init [2023-09-23T14:37:07.038Z] 2023-09-23 14:37:06,939 [run_init] DEBUG init version:0.0.0 force:False [2023-09-23T14:37:07.038Z] 2023-09-23 14:37:06,940 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-23T14:37:07.038Z] 2023-09-23 14:37:06,941 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-23T14:37:07.038Z] 2023-09-23 14:37:06,941 [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-23T14:37:07.978Z] 2023-09-23 14:37:07,952 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-23T14:37:07.978Z] 2023-09-23 14:37:07,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-23T14:37:07.978Z] 2023-09-23 14:37:07,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:37:07.978Z] 2023-09-23 14:37:07,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:37:07.978Z] 3.1.0-dev.17 [Pipeline] } [2023-09-23T14:37:07.989Z] $ docker exec --env ******** --env ******** 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 ssh-agent -k [2023-09-23T14:37:08.083Z] unset SSH_AUTH_SOCK; [2023-09-23T14:37:08.084Z] unset SSH_AGENT_PID; [2023-09-23T14:37:08.084Z] echo Agent pid 78 killed; [2023-09-23T14:37:08.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T14:37:08.404Z] + git semver [Pipeline] } [2023-09-23T14:37:08.676Z] $ docker stop --time=1 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 [2023-09-23T14:37:10.053Z] $ docker rm -f --volumes 7a25928d98eabfbae7bd433ecaa0384a26e226255a059b16ec250da88c9df938 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T14:37:10.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-23T14:37:10.612Z] Stashed 1 file(s) [Pipeline] echo [2023-09-23T14:37:10.614Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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-23T14:37:10.719Z] provisioning config files... [2023-09-23T14:37:10.727Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11603279172696390358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:37:11.021Z] ---> docker-login.sh [2023-09-23T14:37:11.021Z] nexus3.edgexfoundry.org:10001 [2023-09-23T14:37:11.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:37:11.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:37:11.021Z] Configure a credential helper to remove this warning. See [2023-09-23T14:37:11.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:37:11.021Z] [2023-09-23T14:37:11.021Z] Login Succeeded [2023-09-23T14:37:11.021Z] nexus3.edgexfoundry.org:10002 [2023-09-23T14:37:11.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:37:11.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:37:11.021Z] Configure a credential helper to remove this warning. See [2023-09-23T14:37:11.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:37:11.021Z] [2023-09-23T14:37:11.021Z] Login Succeeded [2023-09-23T14:37:11.021Z] nexus3.edgexfoundry.org:10003 [2023-09-23T14:37:11.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:37:11.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:37:11.280Z] Configure a credential helper to remove this warning. See [2023-09-23T14:37:11.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:37:11.280Z] [2023-09-23T14:37:11.280Z] Login Succeeded [2023-09-23T14:37:11.280Z] nexus3.edgexfoundry.org:10004 [2023-09-23T14:37:11.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:37:11.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:37:11.280Z] Configure a credential helper to remove this warning. See [2023-09-23T14:37:11.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:37:11.280Z] [2023-09-23T14:37:11.280Z] Login Succeeded [2023-09-23T14:37:11.280Z] docker.io [2023-09-23T14:37:11.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:37:11.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:37:11.538Z] Configure a credential helper to remove this warning. See [2023-09-23T14:37:11.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:37:11.538Z] [2023-09-23T14:37:11.538Z] Login Succeeded [2023-09-23T14:37:11.538Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T14:37:11.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T14:37:11.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:37:11.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:37:11.619Z] ========================================================= [2023-09-23T14:37:11.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-23T14:37:11.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:37:11.944Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T14:37:11.944Z] Sending build context to Docker daemon 10.91MB [2023-09-23T14:37:11.944Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T14:37:11.944Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-23T14:37:11.944Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-23T14:37:11.944Z] 7264a8db6415: Pulling fs layer [2023-09-23T14:37:11.944Z] c4d48a809fc2: Pulling fs layer [2023-09-23T14:37:11.944Z] 4f1c88b9dad5: Pulling fs layer [2023-09-23T14:37:11.944Z] ad3a456e5733: Pulling fs layer [2023-09-23T14:37:11.944Z] 33e27b845d1e: Pulling fs layer [2023-09-23T14:37:11.944Z] c68163c4e522: Pulling fs layer [2023-09-23T14:37:11.944Z] 50da416c3ac9: Pulling fs layer [2023-09-23T14:37:11.944Z] 23d2d4c4bb30: Pulling fs layer [2023-09-23T14:37:11.944Z] 33e27b845d1e: Waiting [2023-09-23T14:37:11.944Z] c68163c4e522: Waiting [2023-09-23T14:37:11.944Z] 50da416c3ac9: Waiting [2023-09-23T14:37:11.944Z] 23d2d4c4bb30: Waiting [2023-09-23T14:37:11.944Z] c4d48a809fc2: Verifying Checksum [2023-09-23T14:37:11.944Z] c4d48a809fc2: Download complete [2023-09-23T14:37:11.944Z] ad3a456e5733: Verifying Checksum [2023-09-23T14:37:11.944Z] ad3a456e5733: Download complete [2023-09-23T14:37:12.206Z] 7264a8db6415: Verifying Checksum [2023-09-23T14:37:12.206Z] 7264a8db6415: Download complete [2023-09-23T14:37:12.206Z] c68163c4e522: Verifying Checksum [2023-09-23T14:37:12.206Z] c68163c4e522: Download complete [2023-09-23T14:37:12.206Z] 7264a8db6415: Pull complete [2023-09-23T14:37:12.466Z] c4d48a809fc2: Pull complete [2023-09-23T14:37:12.466Z] 23d2d4c4bb30: Verifying Checksum [2023-09-23T14:37:12.466Z] 23d2d4c4bb30: Download complete [2023-09-23T14:37:12.466Z] 4f1c88b9dad5: Download complete [2023-09-23T14:37:13.032Z] 50da416c3ac9: Verifying Checksum [2023-09-23T14:37:13.032Z] 50da416c3ac9: Download complete [2023-09-23T14:37:15.560Z] 4f1c88b9dad5: Pull complete [2023-09-23T14:37:15.818Z] ad3a456e5733: Pull complete [2023-09-23T14:37:15.818Z] 33e27b845d1e: Pull complete [2023-09-23T14:37:15.818Z] c68163c4e522: Pull complete [2023-09-23T14:37:18.348Z] 50da416c3ac9: Pull complete [2023-09-23T14:37:18.607Z] 23d2d4c4bb30: Pull complete [2023-09-23T14:37:18.607Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-23T14:37:18.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-23T14:37:18.607Z] ---> 0786185ac409 [2023-09-23T14:37:18.607Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-23T14:37:21.996Z] ---> Running in 0aebe5bac165 [2023-09-23T14:37:21.996Z] Removing intermediate container 0aebe5bac165 [2023-09-23T14:37:21.996Z] ---> 78fa675be885 [2023-09-23T14:37:21.996Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T14:37:21.996Z] ---> Running in 2272ad67a02d [2023-09-23T14:37:21.996Z] Removing intermediate container 2272ad67a02d [2023-09-23T14:37:21.996Z] ---> e92602a88a3a [2023-09-23T14:37:21.996Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T14:37:21.996Z] ---> Running in 429271c1b93c [2023-09-23T14:37:22.257Z] Removing intermediate container 429271c1b93c [2023-09-23T14:37:22.257Z] ---> 9e0ab817c90b [2023-09-23T14:37:22.257Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T14:37:22.257Z] ---> Running in 6200fa157070 [2023-09-23T14:37:22.257Z] Removing intermediate container 6200fa157070 [2023-09-23T14:37:22.257Z] ---> 4f76710b8add [2023-09-23T14:37:22.257Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T14:37:22.257Z] ---> Running in 6bca3973da5f [2023-09-23T14:37:22.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T14:37:22.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T14:37:22.776Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T14:37:22.776Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-23T14:37:22.776Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T14:37:22.776Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T14:37:22.776Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T14:37:22.776Z] OK: 268 MiB in 56 packages [2023-09-23T14:37:23.343Z] Removing intermediate container 6bca3973da5f [2023-09-23T14:37:23.343Z] ---> 593ad732955b [2023-09-23T14:37:23.343Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-23T14:37:23.343Z] ---> Running in a606bb386856 [2023-09-23T14:37:23.343Z] Removing intermediate container a606bb386856 [2023-09-23T14:37:23.343Z] ---> 0bd704cd3af2 [2023-09-23T14:37:23.343Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-23T14:37:23.604Z] ---> 65f08c215c31 [2023-09-23T14:37:23.604Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T14:37:23.604Z] ---> Running in fe9ef7800045 [2023-09-23T14:37:25.690Z] Still waiting to schedule task [2023-09-23T14:37:25.691Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-23T14:37:50.225Z] Removing intermediate container fe9ef7800045 [2023-09-23T14:37:50.225Z] ---> 3af58027e5ec [2023-09-23T14:37:50.225Z] Step 11/12 : COPY . . [2023-09-23T14:37:50.225Z] ---> 8ca5f059705c [2023-09-23T14:37:50.225Z] Step 12/12 : RUN $MAKE [2023-09-23T14:37:50.225Z] ---> Running in 85efbc28010d [2023-09-23T14:37:50.225Z] noop [2023-09-23T14:37:50.225Z] Removing intermediate container 85efbc28010d [2023-09-23T14:37:50.225Z] ---> e20c2e80dd00 [2023-09-23T14:37:50.225Z] Successfully built e20c2e80dd00 [2023-09-23T14:37:50.225Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:37:50.542Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T14:37:50.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:37:50.615Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:37:50.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-23T14:37:50.978Z] $ docker top 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T14:37:51.313Z] + go version [2023-09-23T14:37:51.313Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-23T14:37:51.324Z] $ docker stop --time=1 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 [2023-09-23T14:37:52.592Z] $ docker rm -f --volumes 56c8c658ea8af1982eb2923c922f8bf72046c3021db548cd67b63c1b01f65567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:37:53.000Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T14:37:53.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:37:53.073Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:37:53.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-23T14:37:53.424Z] $ docker top 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T14:37:53.764Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-23T14:37:54.057Z] + make test [2023-09-23T14:37:54.057Z] go test ./... -coverprofile=coverage.out ./... [2023-09-23T14:37:55.445Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-23T14:38:05.475Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-23T14:38:05.475Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements [2023-09-23T14:38:12.047Z] go vet ./... [2023-09-23T14:38:15.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T14:38:15.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T14:38:15.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T14:38:15.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T14:38:15.357Z] $ docker stop --time=1 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 [2023-09-23T14:38:18.385Z] $ docker rm -f --volumes 9e9db0b311d6da247e34eb7dc22586df0d221beca33f022ad4e610d71976b982 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T14:38:18.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T14:38:18.932Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-23T14:38:19.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T14:38:19.732Z] + ls -al . [2023-09-23T14:38:19.732Z] total 188 [2023-09-23T14:38:19.732Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 14:37 . [2023-09-23T14:38:19.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:36 .. [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 14:36 .dockerignore [2023-09-23T14:38:19.732Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:38 .git [2023-09-23T14:38:19.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:36 .github [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 14:36 .gitignore [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 14:36 .golangci.yml [2023-09-23T14:38:19.732Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 14:37 .semver [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 23 14:36 Attribution.txt [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 23 14:36 CHANGELOG.md [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 23 14:36 Dockerfile [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 14:36 GOVERNANCE.md [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 14:36 Jenkinsfile [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 14:36 LICENSE [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 23 14:36 Makefile [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 14:36 OWNERS.md [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 23 14:36 README.md [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 14:37 VERSION [2023-09-23T14:38:19.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:36 bin [2023-09-23T14:38:19.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:36 cmd [2023-09-23T14:38:19.732Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 23 14:38 coverage.out [2023-09-23T14:38:19.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:36 driver [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 23 14:36 go.mod [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 14:36 go.sum [2023-09-23T14:38:19.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:36 snap [2023-09-23T14:38:19.732Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 14:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:20.148Z] + 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=d6f941c2af2fad29136a7acf5385bb2680494e78 --label arch=amd64 --label version=3.1.0-dev.17 . [2023-09-23T14:38:20.148Z] Sending build context to Docker daemon 10.93MB [2023-09-23T14:38:20.148Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T14:38:20.148Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-23T14:38:20.148Z] ---> e20c2e80dd00 [2023-09-23T14:38:20.148Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-23T14:38:20.436Z] ---> Running in 08f771df9c93 [2023-09-23T14:38:20.436Z] Removing intermediate container 08f771df9c93 [2023-09-23T14:38:20.436Z] ---> d9a18016a23f [2023-09-23T14:38:20.436Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T14:38:20.436Z] ---> Running in 1586299f33f3 [2023-09-23T14:38:20.436Z] Removing intermediate container 1586299f33f3 [2023-09-23T14:38:20.436Z] ---> a303d610366f [2023-09-23T14:38:20.436Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T14:38:20.436Z] ---> Running in 388ba20b1769 [2023-09-23T14:38:20.436Z] Removing intermediate container 388ba20b1769 [2023-09-23T14:38:20.436Z] ---> 93bcba7cee28 [2023-09-23T14:38:20.436Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T14:38:20.436Z] ---> Running in a6c78957d8d7 [2023-09-23T14:38:20.695Z] Removing intermediate container a6c78957d8d7 [2023-09-23T14:38:20.695Z] ---> 72639732c9fc [2023-09-23T14:38:20.695Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T14:38:20.695Z] ---> Running in 66bc1a3efd70 [2023-09-23T14:38:20.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T14:38:20.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T14:38:21.522Z] OK: 268 MiB in 56 packages [2023-09-23T14:38:21.782Z] Removing intermediate container 66bc1a3efd70 [2023-09-23T14:38:21.782Z] ---> d99ddcde9e95 [2023-09-23T14:38:21.782Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-23T14:38:21.782Z] ---> Running in da7d862e70b0 [2023-09-23T14:38:21.782Z] Removing intermediate container da7d862e70b0 [2023-09-23T14:38:21.782Z] ---> b536bca51e7d [2023-09-23T14:38:21.782Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-23T14:38:21.782Z] ---> bd2f8c91e7fc [2023-09-23T14:38:21.782Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T14:38:22.041Z] ---> Running in 92ff0ade1a4e [2023-09-23T14:38:22.754Z] Removing intermediate container 92ff0ade1a4e [2023-09-23T14:38:22.754Z] ---> 1ffcc8a1cd46 [2023-09-23T14:38:22.754Z] Step 11/25 : COPY . . [2023-09-23T14:38:23.013Z] ---> 09a04b9d710e [2023-09-23T14:38:23.013Z] Step 12/25 : RUN $MAKE [2023-09-23T14:38:23.013Z] ---> Running in 46858b6a0eb8 [2023-09-23T14:38:23.288Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-23T14:38:45.305Z] Removing intermediate container 46858b6a0eb8 [2023-09-23T14:38:45.305Z] ---> f87e46c06f00 [2023-09-23T14:38:45.305Z] Step 13/25 : FROM alpine:3.18 [2023-09-23T14:38:45.305Z] 3.18: Pulling from library/alpine [2023-09-23T14:38:45.305Z] 7264a8db6415: Already exists [2023-09-23T14:38:45.305Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T14:38:45.305Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T14:38:45.305Z] ---> 7e01a0d0a1dc [2023-09-23T14:38:45.305Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T14:38:45.305Z] ---> Running in 6a19f2863330 [2023-09-23T14:38:45.305Z] Removing intermediate container 6a19f2863330 [2023-09-23T14:38:45.305Z] ---> 6cdaba1f5289 [2023-09-23T14:38:45.305Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-23T14:38:45.305Z] ---> Running in 6ffc26824f39 [2023-09-23T14:38:45.305Z] Removing intermediate container 6ffc26824f39 [2023-09-23T14:38:45.305Z] ---> 417c582314fa [2023-09-23T14:38:45.305Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-23T14:38:45.305Z] ---> Running in 9e027a169a01 [2023-09-23T14:38:45.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T14:38:45.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T14:38:45.306Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T14:38:45.306Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T14:38:45.306Z] OK: 7 MiB in 16 packages [2023-09-23T14:38:45.306Z] Removing intermediate container 9e027a169a01 [2023-09-23T14:38:45.306Z] ---> 82d10c023444 [2023-09-23T14:38:45.306Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-23T14:38:45.306Z] ---> 930ec602d74b [2023-09-23T14:38:45.306Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-23T14:38:45.306Z] ---> 35a231faae23 [2023-09-23T14:38:45.306Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-23T14:38:45.306Z] ---> b57e57cac65d [2023-09-23T14:38:45.306Z] Step 20/25 : EXPOSE 59986 [2023-09-23T14:38:45.306Z] ---> Running in 82d043f8bd36 [2023-09-23T14:38:45.306Z] Removing intermediate container 82d043f8bd36 [2023-09-23T14:38:45.306Z] ---> 9ef794747ea4 [2023-09-23T14:38:45.306Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-23T14:38:45.306Z] ---> Running in c1720fabdbaa [2023-09-23T14:38:45.306Z] Removing intermediate container c1720fabdbaa [2023-09-23T14:38:45.306Z] ---> 4299e52915e6 [2023-09-23T14:38:45.306Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T14:38:45.306Z] ---> Running in 706a1d7351e5 [2023-09-23T14:38:45.306Z] Removing intermediate container 706a1d7351e5 [2023-09-23T14:38:45.306Z] ---> 5ad7a1650aa1 [2023-09-23T14:38:45.306Z] Step 23/25 : LABEL arch=amd64 [2023-09-23T14:38:45.306Z] ---> Running in 12089742bdfd [2023-09-23T14:38:45.306Z] Removing intermediate container 12089742bdfd [2023-09-23T14:38:45.306Z] ---> ec15ac1e16f1 [2023-09-23T14:38:45.306Z] Step 24/25 : LABEL git_sha=d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:38:45.306Z] ---> Running in cf4ca40f74dd [2023-09-23T14:38:45.306Z] Removing intermediate container cf4ca40f74dd [2023-09-23T14:38:45.306Z] ---> e169f5ccddda [2023-09-23T14:38:45.306Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-09-23T14:38:45.306Z] ---> Running in 5da2bb546929 [2023-09-23T14:38:45.306Z] Removing intermediate container 5da2bb546929 [2023-09-23T14:38:45.306Z] ---> 5d75ffff9ea2 [2023-09-23T14:38:45.306Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T14:38:45.306Z] Successfully built 5d75ffff9ea2 [2023-09-23T14:38:45.306Z] 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-23T14:38:45.386Z] provisioning config files... [2023-09-23T14:38:45.394Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7780157124642229878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:38:45.699Z] ---> docker-login.sh [2023-09-23T14:38:45.699Z] nexus3.edgexfoundry.org:10001 [2023-09-23T14:38:45.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:38:45.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:38:45.699Z] Configure a credential helper to remove this warning. See [2023-09-23T14:38:45.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:38:45.699Z] [2023-09-23T14:38:45.699Z] Login Succeeded [2023-09-23T14:38:45.699Z] nexus3.edgexfoundry.org:10002 [2023-09-23T14:38:45.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:38:45.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:38:45.699Z] Configure a credential helper to remove this warning. See [2023-09-23T14:38:45.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:38:45.699Z] [2023-09-23T14:38:45.699Z] Login Succeeded [2023-09-23T14:38:45.699Z] nexus3.edgexfoundry.org:10003 [2023-09-23T14:38:45.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:38:45.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:38:45.958Z] Configure a credential helper to remove this warning. See [2023-09-23T14:38:45.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:38:45.958Z] [2023-09-23T14:38:45.958Z] Login Succeeded [2023-09-23T14:38:45.958Z] nexus3.edgexfoundry.org:10004 [2023-09-23T14:38:45.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:38:45.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:38:45.958Z] Configure a credential helper to remove this warning. See [2023-09-23T14:38:45.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:38:45.958Z] [2023-09-23T14:38:45.958Z] Login Succeeded [2023-09-23T14:38:45.958Z] docker.io [2023-09-23T14:38:45.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:38:46.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:38:46.218Z] Configure a credential helper to remove this warning. See [2023-09-23T14:38:46.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:38:46.218Z] [2023-09-23T14:38:46.218Z] Login Succeeded [2023-09-23T14:38:46.218Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T14:38:46.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T14:38:46.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:38:46.267Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-23T14:38:46.267Z] d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:38:46.267Z] latest [2023-09-23T14:38:46.267Z] 3.1.0-dev.17 [2023-09-23T14:38:46.267Z] d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:38:46.267Z] main [2023-09-23T14:38:46.267Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:46.577Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:46.881Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:38:46.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-23T14:38:46.881Z] ca4cf8d6cac2: Preparing [2023-09-23T14:38:46.881Z] a477fef2201a: Preparing [2023-09-23T14:38:46.881Z] 7fe3467fe55c: Preparing [2023-09-23T14:38:46.881Z] feb5033757af: Preparing [2023-09-23T14:38:46.881Z] 4693057ce236: Preparing [2023-09-23T14:38:46.881Z] 4693057ce236: Layer already exists [2023-09-23T14:38:46.881Z] feb5033757af: Pushed [2023-09-23T14:38:46.881Z] ca4cf8d6cac2: Pushed [2023-09-23T14:38:46.881Z] a477fef2201a: Pushed [2023-09-23T14:38:50.196Z] 7fe3467fe55c: Pushed [2023-09-23T14:38:50.196Z] d6f941c2af2fad29136a7acf5385bb2680494e78: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:50.511Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:50.824Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-23T14:38:50.824Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-23T14:38:50.824Z] ca4cf8d6cac2: Preparing [2023-09-23T14:38:50.824Z] a477fef2201a: Preparing [2023-09-23T14:38:50.824Z] 7fe3467fe55c: Preparing [2023-09-23T14:38:50.824Z] feb5033757af: Preparing [2023-09-23T14:38:50.824Z] 4693057ce236: Preparing [2023-09-23T14:38:50.824Z] 7fe3467fe55c: Layer already exists [2023-09-23T14:38:50.824Z] a477fef2201a: Layer already exists [2023-09-23T14:38:50.824Z] 4693057ce236: Layer already exists [2023-09-23T14:38:50.824Z] ca4cf8d6cac2: Layer already exists [2023-09-23T14:38:50.824Z] feb5033757af: Layer already exists [2023-09-23T14:38:50.824Z] latest: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:51.138Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:51.446Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 [2023-09-23T14:38:51.446Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-23T14:38:51.446Z] ca4cf8d6cac2: Preparing [2023-09-23T14:38:51.446Z] a477fef2201a: Preparing [2023-09-23T14:38:51.446Z] 7fe3467fe55c: Preparing [2023-09-23T14:38:51.446Z] feb5033757af: Preparing [2023-09-23T14:38:51.446Z] 4693057ce236: Preparing [2023-09-23T14:38:51.446Z] feb5033757af: Layer already exists [2023-09-23T14:38:51.446Z] 4693057ce236: Layer already exists [2023-09-23T14:38:51.446Z] a477fef2201a: Layer already exists [2023-09-23T14:38:51.446Z] ca4cf8d6cac2: Layer already exists [2023-09-23T14:38:51.446Z] 7fe3467fe55c: Layer already exists [2023-09-23T14:38:51.446Z] 3.1.0-dev.17: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:51.752Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:52.058Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:38:52.058Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-23T14:38:52.058Z] ca4cf8d6cac2: Preparing [2023-09-23T14:38:52.058Z] a477fef2201a: Preparing [2023-09-23T14:38:52.058Z] 7fe3467fe55c: Preparing [2023-09-23T14:38:52.058Z] feb5033757af: Preparing [2023-09-23T14:38:52.058Z] 4693057ce236: Preparing [2023-09-23T14:38:52.058Z] ca4cf8d6cac2: Layer already exists [2023-09-23T14:38:52.058Z] 7fe3467fe55c: Layer already exists [2023-09-23T14:38:52.058Z] feb5033757af: Layer already exists [2023-09-23T14:38:52.058Z] 4693057ce236: Layer already exists [2023-09-23T14:38:52.058Z] a477fef2201a: Layer already exists [2023-09-23T14:38:52.058Z] d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:52.402Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:52.710Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-23T14:38:52.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-23T14:38:52.710Z] ca4cf8d6cac2: Preparing [2023-09-23T14:38:52.710Z] a477fef2201a: Preparing [2023-09-23T14:38:52.710Z] 7fe3467fe55c: Preparing [2023-09-23T14:38:52.710Z] feb5033757af: Preparing [2023-09-23T14:38:52.710Z] 4693057ce236: Preparing [2023-09-23T14:38:52.710Z] a477fef2201a: Layer already exists [2023-09-23T14:38:52.710Z] feb5033757af: Layer already exists [2023-09-23T14:38:52.710Z] 4693057ce236: Layer already exists [2023-09-23T14:38:52.710Z] 7fe3467fe55c: Layer already exists [2023-09-23T14:38:52.710Z] ca4cf8d6cac2: Layer already exists [2023-09-23T14:38:52.710Z] main: digest: sha256:1ff5ae5a82e060c4efc53c6cfa521f721bcf79a29b6878718f4b6739fda9ca95 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T14:38:52.750Z] ===================================================== [Pipeline] echo [2023-09-23T14:38:52.758Z] taggedImages: [2023-09-23T14:38:52.758Z] - nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:38:52.758Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-23T14:38:52.758Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.17 [2023-09-23T14:38:52.758Z] - nexus3.edgexfoundry.org:10004/device-rest:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:38:52.758Z] - 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-23T14:38:53.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T14:38:53.126Z] [2023-09-23T14:38:53.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:38:53.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T14:38:53.429Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-23T14:38:53.429Z] 5eb5b503b376: Pulling fs layer [2023-09-23T14:38:53.429Z] 5c69ac0246d0: Pulling fs layer [2023-09-23T14:38:53.429Z] ec43610c2a17: Pulling fs layer [2023-09-23T14:38:53.429Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-23T14:38:53.429Z] 33b1e0a273af: Pulling fs layer [2023-09-23T14:38:53.429Z] 5d3b04190fa2: Pulling fs layer [2023-09-23T14:38:53.429Z] 2f39f015ded8: Pulling fs layer [2023-09-23T14:38:53.429Z] 33b1e0a273af: Waiting [2023-09-23T14:38:53.429Z] 2f39f015ded8: Waiting [2023-09-23T14:38:53.429Z] 5d3b04190fa2: Waiting [2023-09-23T14:38:53.429Z] 3a2ae6a8a46f: Waiting [2023-09-23T14:38:53.429Z] 5c69ac0246d0: Verifying Checksum [2023-09-23T14:38:53.429Z] 5c69ac0246d0: Download complete [2023-09-23T14:38:53.429Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-23T14:38:53.429Z] 3a2ae6a8a46f: Download complete [2023-09-23T14:38:53.429Z] 33b1e0a273af: Verifying Checksum [2023-09-23T14:38:53.429Z] 33b1e0a273af: Download complete [2023-09-23T14:38:53.429Z] 5d3b04190fa2: Download complete [2023-09-23T14:38:53.429Z] ec43610c2a17: Download complete [2023-09-23T14:38:53.723Z] 5eb5b503b376: Verifying Checksum [2023-09-23T14:38:53.723Z] 5eb5b503b376: Download complete [2023-09-23T14:38:54.291Z] 2f39f015ded8: Verifying Checksum [2023-09-23T14:38:54.291Z] 2f39f015ded8: Download complete [2023-09-23T14:38:54.870Z] 5eb5b503b376: Pull complete [2023-09-23T14:38:55.129Z] 5c69ac0246d0: Pull complete [2023-09-23T14:38:55.387Z] ec43610c2a17: Pull complete [2023-09-23T14:38:55.645Z] 3a2ae6a8a46f: Pull complete [2023-09-23T14:38:55.645Z] 33b1e0a273af: Pull complete [2023-09-23T14:38:55.902Z] 5d3b04190fa2: Pull complete [2023-09-23T14:39:00.082Z] 2f39f015ded8: Pull complete [2023-09-23T14:39:00.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-23T14:39:00.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T14:39:00.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:39:00.169Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:39:00.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T14:39:04.629Z] $ docker top 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:39:05.024Z] ---> job-cost.sh [2023-09-23T14:39:05.024Z] lf-activate-venv: SKIPPING [2023-09-23T14:39:05.024Z] INFO: No Stack... [2023-09-23T14:39:05.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T14:39:05.851Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T14:39:06.140Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-23T14:39:06.140Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T14:39:06.153Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [2023-09-23T14:39:06.159Z] Resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] did not exist. Created. [2023-09-23T14:39:06.159Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T14:39:06.461Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-23T14:39:06.494Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T14:39:06.500Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T14:39:06.519Z] $ docker stop --time=1 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c [2023-09-23T14:39:07.669Z] $ docker rm -f --volumes 2d4daca801fbf60de599dcb52a4539dd4124fd0241729bba0630f5d184b4401c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-23T14:39:50.990Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7703 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-23T14:39:51.005Z] Running in /w/workspace/device-rest-go/137 [Pipeline] { [Pipeline] checkout [2023-09-23T14:39:51.041Z] The recommended git tool is: git [2023-09-23T14:39:56.502Z] using credential edgex-jenkins-ssh [2023-09-23T14:39:56.523Z] Cloning the remote Git repository [2023-09-23T14:39:56.572Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-23T14:39:56.693Z] > git init /w/workspace/device-rest-go/137 # timeout=10 [2023-09-23T14:39:56.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-23T14:39:56.864Z] > git --version # timeout=10 [2023-09-23T14:39:56.890Z] > git --version # 'git version 2.25.1' [2023-09-23T14:39:56.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T14:39:57.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T14:39:59.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-23T14:39:59.140Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T14:40:00.239Z] Avoid second fetch [2023-09-23T14:40:00.239Z] Checking out Revision d6f941c2af2fad29136a7acf5385bb2680494e78 (main) [2023-09-23T14:40:00.931Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#345)" [2023-09-23T14:40:00.255Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T14:40:00.337Z] > git checkout -f d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T14:40:01.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-23T14:40:01.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T14:40:01.955Z] Dload Upload Total Spent Left Speed [2023-09-23T14:40:01.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-09-23T14:40:02.592Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-23T14:40:02.928Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-23T14:40:02.928Z] + sudo tee /etc/docker/daemon.new [2023-09-23T14:40:02.928Z] { [2023-09-23T14:40:02.928Z] "registry-mirrors": [ [2023-09-23T14:40:02.928Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-23T14:40:02.928Z] ], [2023-09-23T14:40:02.928Z] "bip": "10.250.0.254/24", [2023-09-23T14:40:02.928Z] "hosts": [ [2023-09-23T14:40:02.928Z] "tcp://0.0.0.0:5555", [2023-09-23T14:40:02.928Z] "unix:///var/run/docker.sock" [2023-09-23T14:40:02.928Z] ], [2023-09-23T14:40:02.928Z] "mtu": 1458, [2023-09-23T14:40:02.928Z] "selinux-enabled": true, [2023-09-23T14:40:02.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-23T14:40:02.928Z] } [Pipeline] sh [2023-09-23T14:40:03.266Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-23T14:40:03.612Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T14:40:21.895Z] provisioning config files... [2023-09-23T14:40:21.926Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/137@tmp/config4559148584012384103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:40:22.283Z] ---> docker-login.sh [2023-09-23T14:40:22.283Z] nexus3.edgexfoundry.org:10001 [2023-09-23T14:40:22.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:40:22.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:40:22.875Z] Configure a credential helper to remove this warning. See [2023-09-23T14:40:22.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:40:22.875Z] [2023-09-23T14:40:22.875Z] Login Succeeded [2023-09-23T14:40:22.875Z] nexus3.edgexfoundry.org:10002 [2023-09-23T14:40:23.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:40:23.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:40:23.417Z] Configure a credential helper to remove this warning. See [2023-09-23T14:40:23.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:40:23.417Z] [2023-09-23T14:40:23.417Z] Login Succeeded [2023-09-23T14:40:23.417Z] nexus3.edgexfoundry.org:10003 [2023-09-23T14:40:23.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:40:23.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:40:23.688Z] Configure a credential helper to remove this warning. See [2023-09-23T14:40:23.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:40:23.688Z] [2023-09-23T14:40:23.688Z] Login Succeeded [2023-09-23T14:40:23.688Z] nexus3.edgexfoundry.org:10004 [2023-09-23T14:40:23.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:40:23.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:40:23.958Z] Configure a credential helper to remove this warning. See [2023-09-23T14:40:23.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:40:23.958Z] [2023-09-23T14:40:23.958Z] Login Succeeded [2023-09-23T14:40:23.958Z] docker.io [2023-09-23T14:40:24.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:40:24.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:40:24.499Z] Configure a credential helper to remove this warning. See [2023-09-23T14:40:24.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:40:24.499Z] [2023-09-23T14:40:24.499Z] Login Succeeded [2023-09-23T14:40:24.499Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T14:40:24.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T14:40:24.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:40:24.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:40:24.822Z] ========================================================= [2023-09-23T14:40:24.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-23T14:40:24.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:40:25.183Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T14:40:25.183Z] Sending build context to Docker daemon 144.4kB [2023-09-23T14:40:25.452Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T14:40:25.452Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-23T14:40:25.452Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-23T14:40:25.452Z] 9fda8d8052c6: Pulling fs layer [2023-09-23T14:40:25.452Z] 5d54e960e981: Pulling fs layer [2023-09-23T14:40:25.452Z] c4a7e357bf2a: Pulling fs layer [2023-09-23T14:40:25.452Z] f0e02332f6b5: Pulling fs layer [2023-09-23T14:40:25.452Z] cefa15bbcfad: Pulling fs layer [2023-09-23T14:40:25.452Z] 17808c966233: Pulling fs layer [2023-09-23T14:40:25.452Z] f4c1fc716caa: Pulling fs layer [2023-09-23T14:40:25.452Z] f0e02332f6b5: Waiting [2023-09-23T14:40:25.452Z] cefa15bbcfad: Waiting [2023-09-23T14:40:25.452Z] 17808c966233: Waiting [2023-09-23T14:40:25.452Z] f4c1fc716caa: Waiting [2023-09-23T14:40:25.723Z] 5d54e960e981: Verifying Checksum [2023-09-23T14:40:25.723Z] 5d54e960e981: Download complete [2023-09-23T14:40:25.723Z] f0e02332f6b5: Verifying Checksum [2023-09-23T14:40:25.723Z] f0e02332f6b5: Download complete [2023-09-23T14:40:25.723Z] cefa15bbcfad: Download complete [2023-09-23T14:40:25.723Z] 9fda8d8052c6: Verifying Checksum [2023-09-23T14:40:25.723Z] 9fda8d8052c6: Download complete [2023-09-23T14:40:26.012Z] f4c1fc716caa: Verifying Checksum [2023-09-23T14:40:26.012Z] f4c1fc716caa: Download complete [2023-09-23T14:40:26.601Z] 9fda8d8052c6: Pull complete [2023-09-23T14:40:27.190Z] 5d54e960e981: Pull complete [2023-09-23T14:40:27.466Z] c4a7e357bf2a: Verifying Checksum [2023-09-23T14:40:27.466Z] c4a7e357bf2a: Download complete [2023-09-23T14:40:28.442Z] 17808c966233: Download complete [2023-09-23T14:40:38.531Z] c4a7e357bf2a: Pull complete [2023-09-23T14:40:38.531Z] f0e02332f6b5: Pull complete [2023-09-23T14:40:38.531Z] cefa15bbcfad: Pull complete [2023-09-23T14:40:45.199Z] 17808c966233: Pull complete [2023-09-23T14:40:46.621Z] f4c1fc716caa: Pull complete [2023-09-23T14:40:46.621Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-23T14:40:46.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-23T14:40:46.621Z] ---> ea914061e18c [2023-09-23T14:40:46.621Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-23T14:40:48.584Z] ---> Running in d1d187642400 [2023-09-23T14:40:48.584Z] Removing intermediate container d1d187642400 [2023-09-23T14:40:48.584Z] ---> c992b53cfd18 [2023-09-23T14:40:48.584Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T14:40:48.853Z] ---> Running in 5fc4ef87ac0d [2023-09-23T14:40:49.123Z] Removing intermediate container 5fc4ef87ac0d [2023-09-23T14:40:49.123Z] ---> 75a309b3e7c2 [2023-09-23T14:40:49.123Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T14:40:49.123Z] ---> Running in 4407feac28dc [2023-09-23T14:40:49.393Z] Removing intermediate container 4407feac28dc [2023-09-23T14:40:49.393Z] ---> b4532773c5a9 [2023-09-23T14:40:49.393Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T14:40:49.661Z] ---> Running in b0f3e646a2c7 [2023-09-23T14:40:49.930Z] Removing intermediate container b0f3e646a2c7 [2023-09-23T14:40:49.930Z] ---> 460f28547eac [2023-09-23T14:40:49.930Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T14:40:49.930Z] ---> Running in 3469164d1cc1 [2023-09-23T14:40:51.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T14:40:51.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T14:40:53.032Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T14:40:53.032Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-23T14:40:53.032Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T14:40:53.032Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T14:40:53.032Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T14:40:53.032Z] OK: 270 MiB in 56 packages [2023-09-23T14:40:53.997Z] Removing intermediate container 3469164d1cc1 [2023-09-23T14:40:53.997Z] ---> 883eff8d0e61 [2023-09-23T14:40:53.997Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-23T14:40:53.997Z] ---> Running in a23b4d6ebf39 [2023-09-23T14:40:54.282Z] Removing intermediate container a23b4d6ebf39 [2023-09-23T14:40:54.282Z] ---> 9ce8772348f1 [2023-09-23T14:40:54.282Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-23T14:40:54.893Z] ---> 98d45a6d1841 [2023-09-23T14:40:54.893Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T14:40:54.893Z] ---> Running in 82645814e949 [2023-09-23T14:42:02.904Z] Removing intermediate container 82645814e949 [2023-09-23T14:42:02.904Z] ---> f51fb8915bb5 [2023-09-23T14:42:02.904Z] Step 11/12 : COPY . . [2023-09-23T14:42:02.904Z] ---> 8d4066805491 [2023-09-23T14:42:02.904Z] Step 12/12 : RUN $MAKE [2023-09-23T14:42:02.904Z] ---> Running in ba8693168582 [2023-09-23T14:42:02.904Z] noop [2023-09-23T14:42:02.904Z] Removing intermediate container ba8693168582 [2023-09-23T14:42:02.904Z] ---> 2dd5b159d0f4 [2023-09-23T14:42:02.904Z] Successfully built 2dd5b159d0f4 [2023-09-23T14:42:02.904Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:42:03.278Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T14:42:03.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:42:03.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container [2023-09-23T14:42:03.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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-23T14:42:05.781Z] $ docker top 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T14:42:06.648Z] + go version [2023-09-23T14:42:06.648Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-23T14:42:06.666Z] $ docker stop --time=1 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 [2023-09-23T14:42:08.271Z] $ docker rm -f --volumes 7846aedb2ecb9ca2076c5069479b790f75e6297767eae108aa04ed20dcac9703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:42:08.844Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T14:42:08.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:42:09.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container [2023-09-23T14:42:09.099Z] $ 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/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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-23T14:42:10.209Z] $ docker top e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T14:42:10.726Z] + git config --global --add safe.directory /w/workspace/device-rest-go/137 [Pipeline] fileExists [Pipeline] sh [2023-09-23T14:42:11.062Z] + make test [2023-09-23T14:42:11.062Z] go test ./... -coverprofile=coverage.out ./... [2023-09-23T14:42:15.320Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-23T14:43:51.979Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-23T14:43:51.979Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements [2023-09-23T14:43:51.979Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-23T14:43:51.979Z] go vet ./... [2023-09-23T14:44:14.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T14:44:14.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T14:44:14.024Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T14:44:14.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T14:44:14.050Z] $ docker stop --time=1 e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 [2023-09-23T14:44:16.006Z] $ docker rm -f --volumes e26f546885331c8a444d61b5dabf07e43ae972c6c04f6da8f290000bd3175b22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T14:44:17.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T14:44:17.259Z] Warning: overwriting stash ‘coverage-report’ [2023-09-23T14:44:17.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T14:44:18.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T14:44:18.377Z] + ls -al . [2023-09-23T14:44:18.377Z] total 184 [2023-09-23T14:44:18.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:42 . [2023-09-23T14:44:18.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:39 .. [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 23 14:40 .dockerignore [2023-09-23T14:44:18.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 14:40 .git [2023-09-23T14:44:18.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:40 .github [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 14:40 .gitignore [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 14:40 .golangci.yml [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 23 14:40 Attribution.txt [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 23 14:40 CHANGELOG.md [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 23 14:40 Dockerfile [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 14:40 GOVERNANCE.md [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 23 14:40 Jenkinsfile [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 14:40 LICENSE [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 23 14:40 Makefile [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 14:40 OWNERS.md [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 23 14:40 README.md [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 14:37 VERSION [2023-09-23T14:44:18.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:40 bin [2023-09-23T14:44:18.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 14:40 cmd [2023-09-23T14:44:18.377Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 23 14:43 coverage.out [2023-09-23T14:44:18.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 14:40 driver [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 23 14:40 go.mod [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 14:40 go.sum [2023-09-23T14:44:18.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 14:40 snap [2023-09-23T14:44:18.377Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 23 14:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:44:18.720Z] + 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=d6f941c2af2fad29136a7acf5385bb2680494e78 --label arch=arm64 --label version=3.1.0-dev.17 . [2023-09-23T14:44:18.720Z] Sending build context to Docker daemon 159.7kB [2023-09-23T14:44:18.987Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T14:44:18.987Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-23T14:44:18.987Z] ---> 2dd5b159d0f4 [2023-09-23T14:44:18.987Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-23T14:44:18.987Z] ---> Running in e468dd5431b0 [2023-09-23T14:44:19.259Z] Removing intermediate container e468dd5431b0 [2023-09-23T14:44:19.259Z] ---> e483539e2d06 [2023-09-23T14:44:19.259Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T14:44:19.259Z] ---> Running in 3728bba8153f [2023-09-23T14:44:19.849Z] Removing intermediate container 3728bba8153f [2023-09-23T14:44:19.849Z] ---> dceee8d7005c [2023-09-23T14:44:19.849Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T14:44:19.849Z] ---> Running in 0f78c9b79c10 [2023-09-23T14:44:20.119Z] Removing intermediate container 0f78c9b79c10 [2023-09-23T14:44:20.119Z] ---> 309c6c00ceb1 [2023-09-23T14:44:20.119Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T14:44:20.119Z] ---> Running in 67e0e702b909 [2023-09-23T14:44:20.705Z] Removing intermediate container 67e0e702b909 [2023-09-23T14:44:20.705Z] ---> efa329382c62 [2023-09-23T14:44:20.705Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T14:44:20.705Z] ---> Running in 020e49b2bf6b [2023-09-23T14:44:22.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T14:44:22.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T14:44:24.080Z] OK: 270 MiB in 56 packages [2023-09-23T14:44:24.675Z] Removing intermediate container 020e49b2bf6b [2023-09-23T14:44:24.675Z] ---> 9fed31a51c4c [2023-09-23T14:44:24.675Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-23T14:44:24.675Z] ---> Running in b2b4d8dc144a [2023-09-23T14:44:25.261Z] Removing intermediate container b2b4d8dc144a [2023-09-23T14:44:25.261Z] ---> 0828a8a975e9 [2023-09-23T14:44:25.261Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-23T14:44:25.848Z] ---> 6dd778daa3b3 [2023-09-23T14:44:25.848Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T14:44:25.848Z] ---> Running in 0aaff07fbb55 [2023-09-23T14:44:29.203Z] Removing intermediate container 0aaff07fbb55 [2023-09-23T14:44:29.203Z] ---> a6d3735efd6d [2023-09-23T14:44:29.203Z] Step 11/25 : COPY . . [2023-09-23T14:44:29.489Z] ---> af78722cd930 [2023-09-23T14:44:29.489Z] Step 12/25 : RUN $MAKE [2023-09-23T14:44:29.757Z] ---> Running in 2f0b8fd0b397 [2023-09-23T14:44:31.163Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-23T14:46:52.869Z] Removing intermediate container 2f0b8fd0b397 [2023-09-23T14:46:52.869Z] ---> 116a13ded43d [2023-09-23T14:46:52.869Z] Step 13/25 : FROM alpine:3.18 [2023-09-23T14:46:52.869Z] 3.18: Pulling from library/alpine [2023-09-23T14:46:52.869Z] 9fda8d8052c6: Already exists [2023-09-23T14:46:52.869Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T14:46:52.869Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T14:46:52.869Z] ---> f6648c04cd6c [2023-09-23T14:46:52.869Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T14:46:52.869Z] ---> Running in 33c3573b1e00 [2023-09-23T14:46:52.869Z] Removing intermediate container 33c3573b1e00 [2023-09-23T14:46:52.869Z] ---> 36b68d0b08b0 [2023-09-23T14:46:52.869Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-23T14:46:52.869Z] ---> Running in 3ce8c4d7c85d [2023-09-23T14:46:52.869Z] Removing intermediate container 3ce8c4d7c85d [2023-09-23T14:46:52.869Z] ---> 7d055d7a3f59 [2023-09-23T14:46:52.869Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-23T14:46:52.869Z] ---> Running in a76a16142031 [2023-09-23T14:46:52.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T14:46:52.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T14:46:52.869Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T14:46:52.869Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T14:46:52.869Z] OK: 8 MiB in 16 packages [2023-09-23T14:46:52.869Z] Removing intermediate container a76a16142031 [2023-09-23T14:46:52.869Z] ---> 6a6cfbafa755 [2023-09-23T14:46:52.869Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-23T14:46:52.869Z] ---> da0bf23b2e09 [2023-09-23T14:46:52.869Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-23T14:46:52.869Z] ---> 88841b4b2877 [2023-09-23T14:46:52.869Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-23T14:46:52.869Z] ---> 4a39a8be59d6 [2023-09-23T14:46:52.869Z] Step 20/25 : EXPOSE 59986 [2023-09-23T14:46:52.869Z] ---> Running in d8e4a9ea9fd9 [2023-09-23T14:46:52.869Z] Removing intermediate container d8e4a9ea9fd9 [2023-09-23T14:46:52.869Z] ---> e6e35d8b1f5e [2023-09-23T14:46:52.869Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-23T14:46:52.869Z] ---> Running in e571948d1dea [2023-09-23T14:46:52.869Z] Removing intermediate container e571948d1dea [2023-09-23T14:46:52.869Z] ---> ed9e10eec126 [2023-09-23T14:46:52.869Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T14:46:52.869Z] ---> Running in f9f08612b94e [2023-09-23T14:46:52.869Z] Removing intermediate container f9f08612b94e [2023-09-23T14:46:52.869Z] ---> 6066af5a4a36 [2023-09-23T14:46:52.869Z] Step 23/25 : LABEL arch=arm64 [2023-09-23T14:46:52.869Z] ---> Running in 7465769fc37c [2023-09-23T14:46:52.869Z] Removing intermediate container 7465769fc37c [2023-09-23T14:46:52.869Z] ---> 4b020c0ae789 [2023-09-23T14:46:52.869Z] Step 24/25 : LABEL git_sha=d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:46:52.869Z] ---> Running in 08f7b4d4464d [2023-09-23T14:46:52.869Z] Removing intermediate container 08f7b4d4464d [2023-09-23T14:46:52.869Z] ---> e8140905c775 [2023-09-23T14:46:52.869Z] Step 25/25 : LABEL version=3.1.0-dev.17 [2023-09-23T14:46:52.869Z] ---> Running in a75d8cfdcefd [2023-09-23T14:46:52.869Z] Removing intermediate container a75d8cfdcefd [2023-09-23T14:46:52.869Z] ---> 305f62181305 [2023-09-23T14:46:52.869Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T14:46:52.869Z] Successfully built 305f62181305 [2023-09-23T14:46:52.869Z] 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-23T14:46:52.992Z] provisioning config files... [2023-09-23T14:46:53.009Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/137@tmp/config5841142067716052381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:46:53.341Z] ---> docker-login.sh [2023-09-23T14:46:53.341Z] nexus3.edgexfoundry.org:10001 [2023-09-23T14:46:53.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:46:53.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:46:53.611Z] Configure a credential helper to remove this warning. See [2023-09-23T14:46:53.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:46:53.611Z] [2023-09-23T14:46:53.611Z] Login Succeeded [2023-09-23T14:46:53.611Z] nexus3.edgexfoundry.org:10002 [2023-09-23T14:46:53.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:46:53.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:46:53.882Z] Configure a credential helper to remove this warning. See [2023-09-23T14:46:53.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:46:53.882Z] [2023-09-23T14:46:53.882Z] Login Succeeded [2023-09-23T14:46:53.882Z] nexus3.edgexfoundry.org:10003 [2023-09-23T14:46:54.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:46:54.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:46:54.419Z] Configure a credential helper to remove this warning. See [2023-09-23T14:46:54.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:46:54.419Z] [2023-09-23T14:46:54.419Z] Login Succeeded [2023-09-23T14:46:54.419Z] nexus3.edgexfoundry.org:10004 [2023-09-23T14:46:54.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:46:54.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:46:54.704Z] Configure a credential helper to remove this warning. See [2023-09-23T14:46:54.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:46:54.704Z] [2023-09-23T14:46:54.704Z] Login Succeeded [2023-09-23T14:46:54.704Z] docker.io [2023-09-23T14:46:54.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T14:46:55.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T14:46:55.240Z] Configure a credential helper to remove this warning. See [2023-09-23T14:46:55.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T14:46:55.240Z] [2023-09-23T14:46:55.240Z] Login Succeeded [2023-09-23T14:46:55.240Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T14:46:55.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T14:46:55.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T14:46:55.297Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-23T14:46:55.297Z] d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:46:55.297Z] latest [2023-09-23T14:46:55.297Z] 3.1.0-dev.17 [2023-09-23T14:46:55.297Z] d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:46:55.297Z] main [2023-09-23T14:46:55.297Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:46:55.635Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:46:55.988Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:46:55.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-23T14:46:55.988Z] 6666a077dcf3: Preparing [2023-09-23T14:46:55.988Z] a9da2126522c: Preparing [2023-09-23T14:46:55.988Z] c3828e506385: Preparing [2023-09-23T14:46:55.988Z] b65fb83f15bb: Preparing [2023-09-23T14:46:55.988Z] b2191e2be29d: Preparing [2023-09-23T14:46:55.988Z] b2191e2be29d: Layer already exists [2023-09-23T14:46:56.255Z] 6666a077dcf3: Pushed [2023-09-23T14:46:56.255Z] b65fb83f15bb: Pushed [2023-09-23T14:46:56.255Z] a9da2126522c: Pushed [2023-09-23T14:47:02.894Z] c3828e506385: Pushed [2023-09-23T14:47:02.895Z] d6f941c2af2fad29136a7acf5385bb2680494e78: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:03.256Z] + 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-23T14:47:03.599Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-23T14:47:03.599Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-23T14:47:03.599Z] 6666a077dcf3: Preparing [2023-09-23T14:47:03.599Z] a9da2126522c: Preparing [2023-09-23T14:47:03.599Z] c3828e506385: Preparing [2023-09-23T14:47:03.599Z] b65fb83f15bb: Preparing [2023-09-23T14:47:03.599Z] b2191e2be29d: Preparing [2023-09-23T14:47:03.599Z] c3828e506385: Layer already exists [2023-09-23T14:47:03.599Z] b65fb83f15bb: Layer already exists [2023-09-23T14:47:03.599Z] a9da2126522c: Layer already exists [2023-09-23T14:47:03.599Z] 6666a077dcf3: Layer already exists [2023-09-23T14:47:03.599Z] b2191e2be29d: Layer already exists [2023-09-23T14:47:03.867Z] latest: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:04.225Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:04.568Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 [2023-09-23T14:47:04.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-23T14:47:04.568Z] 6666a077dcf3: Preparing [2023-09-23T14:47:04.568Z] a9da2126522c: Preparing [2023-09-23T14:47:04.568Z] c3828e506385: Preparing [2023-09-23T14:47:04.568Z] b65fb83f15bb: Preparing [2023-09-23T14:47:04.568Z] b2191e2be29d: Preparing [2023-09-23T14:47:04.568Z] b65fb83f15bb: Layer already exists [2023-09-23T14:47:04.568Z] c3828e506385: Layer already exists [2023-09-23T14:47:04.568Z] b2191e2be29d: Layer already exists [2023-09-23T14:47:04.568Z] 6666a077dcf3: Layer already exists [2023-09-23T14:47:04.568Z] a9da2126522c: Layer already exists [2023-09-23T14:47:04.568Z] 3.1.0-dev.17: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:05.180Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:05.516Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:47:05.516Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-23T14:47:05.516Z] 6666a077dcf3: Preparing [2023-09-23T14:47:05.516Z] a9da2126522c: Preparing [2023-09-23T14:47:05.516Z] c3828e506385: Preparing [2023-09-23T14:47:05.516Z] b65fb83f15bb: Preparing [2023-09-23T14:47:05.516Z] b2191e2be29d: Preparing [2023-09-23T14:47:05.516Z] c3828e506385: Layer already exists [2023-09-23T14:47:05.516Z] a9da2126522c: Layer already exists [2023-09-23T14:47:05.516Z] b65fb83f15bb: Layer already exists [2023-09-23T14:47:05.516Z] 6666a077dcf3: Layer already exists [2023-09-23T14:47:05.516Z] b2191e2be29d: Layer already exists [2023-09-23T14:47:05.516Z] d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:05.857Z] + 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-23T14:47:06.189Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-23T14:47:06.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-23T14:47:06.189Z] 6666a077dcf3: Preparing [2023-09-23T14:47:06.189Z] a9da2126522c: Preparing [2023-09-23T14:47:06.189Z] c3828e506385: Preparing [2023-09-23T14:47:06.189Z] b65fb83f15bb: Preparing [2023-09-23T14:47:06.189Z] b2191e2be29d: Preparing [2023-09-23T14:47:06.189Z] 6666a077dcf3: Layer already exists [2023-09-23T14:47:06.189Z] c3828e506385: Layer already exists [2023-09-23T14:47:06.189Z] b65fb83f15bb: Layer already exists [2023-09-23T14:47:06.189Z] b2191e2be29d: Layer already exists [2023-09-23T14:47:06.189Z] a9da2126522c: Layer already exists [2023-09-23T14:47:06.455Z] main: digest: sha256:ae497143eda8dc9b4e897cec41c5768888ac49c6f42e021975e43fa5da0bc98b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T14:47:06.502Z] ===================================================== [Pipeline] echo [2023-09-23T14:47:06.509Z] taggedImages: [2023-09-23T14:47:06.509Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78 [2023-09-23T14:47:06.509Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-23T14:47:06.509Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.17 [2023-09-23T14:47:06.509Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:d6f941c2af2fad29136a7acf5385bb2680494e78-3.1.0-dev.17 [2023-09-23T14:47:06.509Z] - 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-23T14:47:06.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T14:47:06.875Z] [2023-09-23T14:47:06.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:07.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T14:47:07.206Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-23T14:47:07.206Z] 8998bd30e6a1: Pulling fs layer [2023-09-23T14:47:07.206Z] 04944245beec: Pulling fs layer [2023-09-23T14:47:07.206Z] 699f458cf7ca: Pulling fs layer [2023-09-23T14:47:07.206Z] 765212b225bb: Pulling fs layer [2023-09-23T14:47:07.206Z] f23df028b6ca: Pulling fs layer [2023-09-23T14:47:07.206Z] d65c8cfc05b1: Pulling fs layer [2023-09-23T14:47:07.206Z] 2437ff75d9bd: Pulling fs layer [2023-09-23T14:47:07.206Z] 765212b225bb: Waiting [2023-09-23T14:47:07.206Z] f23df028b6ca: Waiting [2023-09-23T14:47:07.206Z] d65c8cfc05b1: Waiting [2023-09-23T14:47:07.206Z] 2437ff75d9bd: Waiting [2023-09-23T14:47:07.474Z] 04944245beec: Verifying Checksum [2023-09-23T14:47:07.474Z] 04944245beec: Download complete [2023-09-23T14:47:07.474Z] 765212b225bb: Verifying Checksum [2023-09-23T14:47:07.474Z] 765212b225bb: Download complete [2023-09-23T14:47:07.474Z] f23df028b6ca: Download complete [2023-09-23T14:47:07.474Z] d65c8cfc05b1: Verifying Checksum [2023-09-23T14:47:07.474Z] d65c8cfc05b1: Download complete [2023-09-23T14:47:07.474Z] 699f458cf7ca: Verifying Checksum [2023-09-23T14:47:07.474Z] 699f458cf7ca: Download complete [2023-09-23T14:47:08.060Z] 8998bd30e6a1: Verifying Checksum [2023-09-23T14:47:08.060Z] 8998bd30e6a1: Download complete [2023-09-23T14:47:10.004Z] 2437ff75d9bd: Verifying Checksum [2023-09-23T14:47:10.004Z] 2437ff75d9bd: Download complete [2023-09-23T14:47:11.947Z] 8998bd30e6a1: Pull complete [2023-09-23T14:47:11.947Z] 04944245beec: Pull complete [2023-09-23T14:47:13.356Z] 699f458cf7ca: Pull complete [2023-09-23T14:47:13.623Z] 765212b225bb: Pull complete [2023-09-23T14:47:14.207Z] f23df028b6ca: Pull complete [2023-09-23T14:47:14.473Z] d65c8cfc05b1: Pull complete [2023-09-23T14:47:29.462Z] 2437ff75d9bd: Pull complete [2023-09-23T14:47:29.462Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-23T14:47:29.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T14:47:29.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:47:29.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-7703 does not seem to be running inside a container [2023-09-23T14:47:29.711Z] $ 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/137 -v /w/workspace/device-rest-go/137:/w/workspace/device-rest-go/137:rw,z -v /w/workspace/device-rest-go/137@tmp:/w/workspace/device-rest-go/137@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-23T14:47:32.397Z] $ docker top e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:47:33.239Z] ---> job-cost.sh [2023-09-23T14:47:33.239Z] lf-activate-venv: SKIPPING [2023-09-23T14:47:33.239Z] INFO: No Stack... [2023-09-23T14:47:33.552Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-23T14:47:34.525Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T14:47:34.859Z] + cat /w/workspace/device-rest-go/137/archives/cost.csv [2023-09-23T14:47:34.859Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T14:47:35.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [2023-09-23T14:47:35.224Z] Resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] did not exist. Created. [2023-09-23T14:47:35.224Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T14:47:35.579Z] /w/workspace/device-rest-go/137@tmp/durable-4cf73160/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-23T14:47:36.271Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-23T14:47:36.290Z] Warning: overwriting stash ‘stack-cost’ [2023-09-23T14:47:36.341Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T14:47:36.347Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T14:47:36.360Z] $ docker stop --time=1 e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 [2023-09-23T14:47:37.868Z] $ docker rm -f --volumes e9ac6ad7dd10f67649817259c5d3efa1d86c7585a99ce09f35477494d56616d2 [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-23T14:47:38.239Z] provisioning config files... [2023-09-23T14:47:38.245Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13036867528186103710tmp [Pipeline] { [Pipeline] sh [2023-09-23T14:47:38.538Z] + set +x [2023-09-23T14:47:38.538Z] + curl -s https://codecov.io/bash [2023-09-23T14:47:38.538Z] + bash -s -- [2023-09-23T14:47:38.538Z] [2023-09-23T14:47:38.538Z] _____ _ [2023-09-23T14:47:38.538Z] / ____| | | [2023-09-23T14:47:38.538Z] | | ___ __| | ___ ___ _____ __ [2023-09-23T14:47:38.538Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-23T14:47:38.538Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-23T14:47:38.538Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-23T14:47:38.538Z] Bash-1.0.6 [2023-09-23T14:47:38.538Z] [2023-09-23T14:47:38.538Z] [2023-09-23T14:47:38.538Z] ==> git version 2.25.1 found [2023-09-23T14:47:38.538Z] ==> 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-23T14:47:38.538Z] Release-Date: 2020-01-08 [2023-09-23T14:47:38.538Z] 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-23T14:47:38.538Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-23T14:47:38.538Z] ==> Jenkins CI detected. [2023-09-23T14:47:38.538Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-23T14:47:38.538Z] project root: . [2023-09-23T14:47:38.538Z] --> token set from env [2023-09-23T14:47:38.538Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-23T14:47:38.538Z] ==> Running gcov in . (disable via -X gcov) [2023-09-23T14:47:38.538Z] ==> Python coveragepy not found [2023-09-23T14:47:38.538Z] ==> Searching for coverage reports in: [2023-09-23T14:47:38.538Z] + . [2023-09-23T14:47:38.538Z] -> Found 1 reports [2023-09-23T14:47:38.538Z] ==> Detecting git/mercurial file structure [2023-09-23T14:47:38.538Z] ==> Reading reports [2023-09-23T14:47:38.538Z] + ./coverage.out bytes=14499 [2023-09-23T14:47:38.800Z] ==> Appending adjustments [2023-09-23T14:47:38.800Z] https://docs.codecov.io/docs/fixing-reports [2023-09-23T14:47:38.800Z] + Found adjustments [2023-09-23T14:47:38.800Z] ==> Gzipping contents [2023-09-23T14:47:38.800Z] 4.0K /tmp/codecov.aHH4i6.gz [2023-09-23T14:47:38.800Z] ==> Uploading reports [2023-09-23T14:47:38.800Z] url: https://codecov.io [2023-09-23T14:47:38.800Z] query: branch=main&commit=d6f941c2af2fad29136a7acf5385bb2680494e78&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T14:47:38.800Z] -> Pinging Codecov [2023-09-23T14:47:38.800Z] 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=d6f941c2af2fad29136a7acf5385bb2680494e78&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T14:47:38.800Z] -> Uploading to [2023-09-23T14:47:38.800Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-23/4E5D53B4F1F92C436F7061BF334D961C/d6f941c2af2fad29136a7acf5385bb2680494e78/4cd9c43f-3679-4b1e-9132-77b283fae81c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T144738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33238041af13585ccc444f8774e14d51140c6ad2eb4b55a625f755bdddb88b6b [2023-09-23T14:47:38.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T14:47:38.800Z] Dload Upload Total Spent Left Speed [2023-09-23T14:47:39.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12654 --:--:-- --:--:-- --:--:-- 12654 [2023-09-23T14:47:39.059Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] } [2023-09-23T14:47:39.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-23T14:47:39.200Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-23T14:47:39.213Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:47:39.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T14:47:39.514Z] [2023-09-23T14:47:39.514Z] 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-23T14:47:39.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T14:47:39.815Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-23T14:47:39.815Z] df9b9388f04a: Pulling fs layer [2023-09-23T14:47:39.815Z] 52dc419b0ee2: Pulling fs layer [2023-09-23T14:47:39.815Z] 25bc292e5bac: Pulling fs layer [2023-09-23T14:47:39.815Z] 114826534d7a: Pulling fs layer [2023-09-23T14:47:39.815Z] 4657fd5d0bcf: Pulling fs layer [2023-09-23T14:47:39.815Z] 6ad1cebc031e: Pulling fs layer [2023-09-23T14:47:39.815Z] 8a3aa393b2d8: Pulling fs layer [2023-09-23T14:47:39.815Z] 8a3aa393b2d8: Waiting [2023-09-23T14:47:39.815Z] 114826534d7a: Waiting [2023-09-23T14:47:39.815Z] 6ad1cebc031e: Waiting [2023-09-23T14:47:39.815Z] 4657fd5d0bcf: Waiting [2023-09-23T14:47:39.815Z] 25bc292e5bac: Verifying Checksum [2023-09-23T14:47:39.815Z] 25bc292e5bac: Download complete [2023-09-23T14:47:39.815Z] 52dc419b0ee2: Verifying Checksum [2023-09-23T14:47:39.815Z] 52dc419b0ee2: Download complete [2023-09-23T14:47:39.815Z] 4657fd5d0bcf: Verifying Checksum [2023-09-23T14:47:39.815Z] 4657fd5d0bcf: Download complete [2023-09-23T14:47:39.815Z] df9b9388f04a: Verifying Checksum [2023-09-23T14:47:39.815Z] df9b9388f04a: Download complete [2023-09-23T14:47:40.074Z] df9b9388f04a: Pull complete [2023-09-23T14:47:40.074Z] 6ad1cebc031e: Verifying Checksum [2023-09-23T14:47:40.074Z] 6ad1cebc031e: Download complete [2023-09-23T14:47:40.074Z] 52dc419b0ee2: Pull complete [2023-09-23T14:47:40.074Z] 25bc292e5bac: Pull complete [2023-09-23T14:47:40.642Z] 114826534d7a: Download complete [2023-09-23T14:47:40.900Z] 8a3aa393b2d8: Verifying Checksum [2023-09-23T14:47:40.900Z] 8a3aa393b2d8: Download complete [2023-09-23T14:47:44.179Z] 114826534d7a: Pull complete [2023-09-23T14:47:44.179Z] 4657fd5d0bcf: Pull complete [2023-09-23T14:47:44.437Z] 6ad1cebc031e: Pull complete [2023-09-23T14:47:46.963Z] 8a3aa393b2d8: Pull complete [2023-09-23T14:47:46.963Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-23T14:47:46.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T14:47:46.963Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:47:47.043Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:47:47.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-23T14:47:50.230Z] $ docker top 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-23T14:47:50.287Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-23T14:47:50.565Z] + set -o pipefail [2023-09-23T14:47:50.565Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-23T14:47:55.832Z] [2023-09-23T14:47:55.832Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-23T14:47:55.832Z] [2023-09-23T14:47:55.832Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f8dee277-cdb8-436e-ae37-6204f891241f [2023-09-23T14:47:55.832Z] [2023-09-23T14:47:55.832Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-23T14:47:55.832Z] [2023-09-23T14:47:55.832Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-23T14:47:55.832Z] [2023-09-23T14:47:56.090Z] [2023-09-23T14:47:56.090Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-23T14:47:56.090Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-23T14:47:56.090Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-23T14:47:56.101Z] $ docker stop --time=1 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce [2023-09-23T14:47:59.011Z] $ docker rm -f --volumes 595c64b896b63024304592d18d45b76dd8cede45f29701854b5a4e2e09f0b1ce [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-23T14:47:59.746Z] + git log --format=format:%s -1 d6f941c2af2fad29136a7acf5385bb2680494e78 [Pipeline] sh [2023-09-23T14:48:00.039Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T14:48:00.039Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:00.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:48:00.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:48:00.402Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:48:00.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T14:48:00.891Z] $ docker top 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 -eo pid,comm [2023-09-23T14:48:00.937Z] 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-23T14:48:00.937Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T14:48:00.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T14:48:00.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T14:48:01.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T14:48:01.082Z] $ docker exec 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 ssh-agent [2023-09-23T14:48:01.189Z] SSH_AUTH_SOCK=/tmp/ssh-AZwpVUzKdLJA/agent.32 [2023-09-23T14:48:01.189Z] SSH_AGENT_PID=38 [2023-09-23T14:48:01.194Z] Running ssh-add (command line suppressed) [2023-09-23T14:48:01.287Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12428875400865686374.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12428875400865686374.key) [2023-09-23T14:48:01.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T14:48:01.583Z] + git semver tag [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,756 [run_tag] DEBUG tag force:False [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,756 [check_head_tag] DEBUG check head tag [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,757 [execute] INFO git cat-file --batch-check [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,760 [execute] INFO git cat-file --batch [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,771 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,771 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-23T14:48:01.842Z] 2023-09-23 14:48:01,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:01.842Z] 3.1.0-dev.17 [Pipeline] } [2023-09-23T14:48:01.851Z] $ docker exec --env ******** --env ******** 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 ssh-agent -k [2023-09-23T14:48:01.954Z] unset SSH_AUTH_SOCK; [2023-09-23T14:48:01.955Z] unset SSH_AGENT_PID; [2023-09-23T14:48:01.955Z] echo Agent pid 38 killed; [2023-09-23T14:48:01.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T14:48:02.263Z] + git semver [Pipeline] } [2023-09-23T14:48:02.534Z] $ docker stop --time=1 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 [2023-09-23T14:48:03.792Z] $ docker rm -f --volumes 30b3cb51a1e70f755dedd36702b874eb4684d31aac54da10d37d9f0a79cec0c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:04.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T14:48:04.196Z] [2023-09-23T14:48:04.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:04.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T14:48:04.499Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-23T14:48:04.499Z] ab5ef0e58194: Pulling fs layer [2023-09-23T14:48:04.499Z] 9712f1f96733: Pulling fs layer [2023-09-23T14:48:04.499Z] 63f879dbbcfc: Pulling fs layer [2023-09-23T14:48:04.499Z] 0d9ebad4ef96: Pulling fs layer [2023-09-23T14:48:04.499Z] e9a5061849ea: Pulling fs layer [2023-09-23T14:48:04.499Z] d747dcd14b5f: Pulling fs layer [2023-09-23T14:48:04.499Z] 2de7ff778b66: Pulling fs layer [2023-09-23T14:48:04.499Z] e9a5061849ea: Waiting [2023-09-23T14:48:04.499Z] d747dcd14b5f: Waiting [2023-09-23T14:48:04.499Z] 2de7ff778b66: Waiting [2023-09-23T14:48:04.499Z] 9712f1f96733: Verifying Checksum [2023-09-23T14:48:04.499Z] 9712f1f96733: Download complete [2023-09-23T14:48:04.759Z] 63f879dbbcfc: Verifying Checksum [2023-09-23T14:48:04.759Z] 63f879dbbcfc: Download complete [2023-09-23T14:48:05.016Z] e9a5061849ea: Verifying Checksum [2023-09-23T14:48:05.016Z] e9a5061849ea: Download complete [2023-09-23T14:48:05.016Z] d747dcd14b5f: Verifying Checksum [2023-09-23T14:48:05.016Z] d747dcd14b5f: Download complete [2023-09-23T14:48:05.016Z] 0d9ebad4ef96: Verifying Checksum [2023-09-23T14:48:05.016Z] 0d9ebad4ef96: Download complete [2023-09-23T14:48:05.017Z] ab5ef0e58194: Verifying Checksum [2023-09-23T14:48:05.017Z] ab5ef0e58194: Download complete [2023-09-23T14:48:05.017Z] 2de7ff778b66: Verifying Checksum [2023-09-23T14:48:05.017Z] 2de7ff778b66: Download complete [2023-09-23T14:48:07.540Z] ab5ef0e58194: Pull complete [2023-09-23T14:48:07.797Z] 9712f1f96733: Pull complete [2023-09-23T14:48:08.361Z] 63f879dbbcfc: Pull complete [2023-09-23T14:48:11.638Z] 0d9ebad4ef96: Pull complete [2023-09-23T14:48:11.896Z] e9a5061849ea: Pull complete [2023-09-23T14:48:11.896Z] d747dcd14b5f: Pull complete [2023-09-23T14:48:12.830Z] 2de7ff778b66: Pull complete [2023-09-23T14:48:12.830Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-23T14:48:12.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T14:48:12.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:48:12.907Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:48:12.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-23T14:48:17.579Z] $ docker top 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-23T14:48:17.646Z] provisioning config files... [2023-09-23T14:48:17.652Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16001486798147335708tmp [2023-09-23T14:48:17.661Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7169023905387666963tmp [2023-09-23T14:48:17.671Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2287083616358492765tmp [Pipeline] { [Pipeline] echo [2023-09-23T14:48:17.684Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:17.967Z] ---> sigul-configuration.sh [2023-09-23T14:48:17.967Z] gpg: directory `/root/.gnupg' created [2023-09-23T14:48:17.967Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-23T14:48:17.967Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-23T14:48:17.967Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-23T14:48:17.967Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-23T14:48:17.967Z] gpg: CAST5 encrypted data [2023-09-23T14:48:17.967Z] gpg: encrypted with 1 passphrase [2023-09-23T14:48:17.967Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-23T14:48:18.251Z] + mkdir /home/jenkins [2023-09-23T14:48:18.251Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-23T14:48:18.533Z] + 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-23T14:48:18.541Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:18.824Z] ---> sigul-install.sh [2023-09-23T14:48:18.825Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-23T14:48:19.119Z] + git tag --list [2023-09-23T14:48:19.119Z] v1.0.0 [2023-09-23T14:48:19.119Z] v1.1.0 [2023-09-23T14:48:19.119Z] v1.1.1 [2023-09-23T14:48:19.119Z] v1.1.2 [2023-09-23T14:48:19.119Z] v1.2.0 [2023-09-23T14:48:19.119Z] v1.2.1 [2023-09-23T14:48:19.119Z] v2.0.0 [2023-09-23T14:48:19.119Z] v2.1.0 [2023-09-23T14:48:19.119Z] v2.1.1 [2023-09-23T14:48:19.119Z] v2.2.0 [2023-09-23T14:48:19.119Z] v2.3.0 [2023-09-23T14:48:19.119Z] v3.0 [2023-09-23T14:48:19.119Z] v3.0.0 [2023-09-23T14:48:19.119Z] v3.1.0-dev.1 [2023-09-23T14:48:19.119Z] v3.1.0-dev.10 [2023-09-23T14:48:19.119Z] v3.1.0-dev.11 [2023-09-23T14:48:19.119Z] v3.1.0-dev.12 [2023-09-23T14:48:19.119Z] v3.1.0-dev.13 [2023-09-23T14:48:19.119Z] v3.1.0-dev.14 [2023-09-23T14:48:19.119Z] v3.1.0-dev.15 [2023-09-23T14:48:19.119Z] v3.1.0-dev.16 [2023-09-23T14:48:19.119Z] v3.1.0-dev.17 [2023-09-23T14:48:19.119Z] v3.1.0-dev.2 [2023-09-23T14:48:19.119Z] v3.1.0-dev.3 [2023-09-23T14:48:19.119Z] v3.1.0-dev.4 [2023-09-23T14:48:19.119Z] v3.1.0-dev.5 [2023-09-23T14:48:19.119Z] v3.1.0-dev.6 [2023-09-23T14:48:19.119Z] v3.1.0-dev.7 [2023-09-23T14:48:19.119Z] v3.1.0-dev.8 [2023-09-23T14:48:19.119Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-23T14:48:19.407Z] + lftools sign git-tag v3.1.0-dev.17 [2023-09-23T14:48:19.973Z] Signing Git tag with Sigul... [2023-09-23T14:48:19.973Z] Signing v3.1.0-dev.17 [Pipeline] echo [2023-09-23T14:48:20.243Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:20.529Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-23T14:48:20.537Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-23T14:48:20.555Z] $ docker stop --time=1 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 [2023-09-23T14:48:21.839Z] $ docker rm -f --volumes 4aab5731b8a0c3f22d38dd5550c036dd08d53a1845c3123a91cdd284fa01c581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-23T14:48:22.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T14:48:22.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:22.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:48:22.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:48:22.612Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:48:22.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T14:48:22.954Z] $ docker top 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 -eo pid,comm [2023-09-23T14:48:23.001Z] 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-23T14:48:23.001Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T14:48:23.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T14:48:23.041Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T14:48:23.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T14:48:23.163Z] $ docker exec 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 ssh-agent [2023-09-23T14:48:23.275Z] SSH_AUTH_SOCK=/tmp/ssh-loyQePUrEVNS/agent.32 [2023-09-23T14:48:23.275Z] SSH_AGENT_PID=38 [2023-09-23T14:48:23.279Z] Running ssh-add (command line suppressed) [2023-09-23T14:48:23.387Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6616073064028727685.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6616073064028727685.key) [2023-09-23T14:48:23.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T14:48:23.685Z] + git semver bump pre [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,881 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,881 [bump_version] DEBUG bumped version:3.1.0-dev.18 [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,881 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,881 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,883 [execute] INFO git cat-file --batch-check [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,883 [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-23T14:48:23.948Z] 2023-09-23 14:48:23,888 [execute] INFO git cat-file --batch [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T14:48:23.948Z] 2023-09-23 14:48:23,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:23.948Z] 3.1.0-dev.18 [Pipeline] } [2023-09-23T14:48:23.957Z] $ docker exec --env ******** --env ******** 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 ssh-agent -k [2023-09-23T14:48:24.041Z] unset SSH_AUTH_SOCK; [2023-09-23T14:48:24.041Z] unset SSH_AGENT_PID; [2023-09-23T14:48:24.041Z] echo Agent pid 38 killed; [2023-09-23T14:48:24.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T14:48:24.355Z] + git semver [Pipeline] } [2023-09-23T14:48:24.625Z] $ docker stop --time=1 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 [2023-09-23T14:48:25.909Z] $ docker rm -f --volumes 92f8bf49b23097f1883ecc2783ab37f1dd9e463544e3741752388b624c0e5ed0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T14:48:26.257Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T14:48:26.257Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:26.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T14:48:26.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:48:26.815Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:48:26.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T14:48:27.209Z] $ docker top 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba -eo pid,comm [2023-09-23T14:48:27.255Z] 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-23T14:48:27.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T14:48:27.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T14:48:27.295Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T14:48:27.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T14:48:27.410Z] $ docker exec 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba ssh-agent [2023-09-23T14:48:27.521Z] SSH_AUTH_SOCK=/tmp/ssh-39pNkzElo9e8/agent.32 [2023-09-23T14:48:27.521Z] SSH_AGENT_PID=38 [2023-09-23T14:48:27.526Z] Running ssh-add (command line suppressed) [2023-09-23T14:48:27.649Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6211466794284188188.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6211466794284188188.key) [2023-09-23T14:48:27.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T14:48:27.952Z] + git semver push [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,120 [run_push] DEBUG push [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,121 [execute] INFO git cat-file --batch-check [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,121 [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-23T14:48:28.212Z] 2023-09-23 14:48:28,125 [execute] INFO git rev-list 3d427d1e6c99dd63a250fed234575c85e66a3d5c -- [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,125 [execute] DEBUG Popen(['git', 'rev-list', '3d427d1e6c99dd63a250fed234575c85e66a3d5c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,133 [execute] INFO git fetch -v origin [2023-09-23T14:48:28.212Z] 2023-09-23 14:48:28,133 [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-23T14:48:28.780Z] 2023-09-23 14:48:28,608 [run_push] DEBUG no remote changes detected [2023-09-23T14:48:28.780Z] 2023-09-23 14:48:28,608 [execute] INFO git push origin semver [2023-09-23T14:48:28.780Z] 2023-09-23 14:48:28,609 [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-23T14:48:29.347Z] 2023-09-23 14:48:29,328 [run_push] DEBUG push all version tags [2023-09-23T14:48:29.348Z] 2023-09-23 14:48:29,328 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-23T14:48:29.348Z] 2023-09-23 14:48:29,329 [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-23T14:48:30.284Z] 2023-09-23 14:48:30,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-23T14:48:30.284Z] 3.1.0-dev.18 [Pipeline] } [2023-09-23T14:48:30.294Z] $ docker exec --env ******** --env ******** 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba ssh-agent -k [2023-09-23T14:48:30.395Z] unset SSH_AUTH_SOCK; [2023-09-23T14:48:30.395Z] unset SSH_AGENT_PID; [2023-09-23T14:48:30.395Z] echo Agent pid 38 killed; [2023-09-23T14:48:30.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T14:48:30.720Z] + git semver [Pipeline] } [2023-09-23T14:48:30.993Z] $ docker stop --time=1 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba [2023-09-23T14:48:32.290Z] $ docker rm -f --volumes 9471d8bafc056a07995c788fc48d288025d0e4428075a5e4453bc982af5811ba [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-23T14:48:32.859Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-23T14:48:32.859Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-23T14:48:32.859Z] total 16 [2023-09-23T14:48:32.859Z] drwxr-xr-x 3 root root 4096 Sep 23 14:39 . [2023-09-23T14:48:32.859Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 14:48 .. [2023-09-23T14:48:32.859Z] drwxr-xr-x 2 root root 4096 Sep 23 14:39 cost [2023-09-23T14:48:32.859Z] -rw-r--r-- 1 root root 86 Sep 23 14:39 cost.csv [2023-09-23T14:48:32.859Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-23T14:48:32.859Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-23T14:48:32.859Z] total 16 [2023-09-23T14:48:32.859Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 14:39 . [2023-09-23T14:48:32.859Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 14:48 .. [2023-09-23T14:48:32.859Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 14:39 cost [2023-09-23T14:48:32.859Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 23 14:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:33.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:34.009Z] ---> package-listing.sh [2023-09-23T14:48:34.009Z] ++ facter osfamily [2023-09-23T14:48:34.009Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-23T14:48:34.268Z] + OS_FAMILY=debian [2023-09-23T14:48:34.268Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-23T14:48:34.268Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-23T14:48:34.268Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-23T14:48:34.268Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-23T14:48:34.268Z] + PACKAGES=/tmp/packages_start.txt [2023-09-23T14:48:34.268Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-23T14:48:34.268Z] + PACKAGES=/tmp/packages_end.txt [2023-09-23T14:48:34.268Z] + case "${OS_FAMILY}" in [2023-09-23T14:48:34.268Z] + dpkg -l [2023-09-23T14:48:34.268Z] + grep '^ii' [2023-09-23T14:48:34.268Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-23T14:48:34.268Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-23T14:48:34.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-23T14:48:34.268Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-23T14:48:34.268Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-23T14:48:34.268Z] + 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-23T14:48:34.278Z] 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-23T14:48:34.557Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T14:48:35.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T14:48:35.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T14:48:35.182Z] prd-ubuntu20.04-docker-8c-8g-7700 does not seem to be running inside a container [2023-09-23T14:48:35.210Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T14:48:35.431Z] $ docker top 97080ec3e88f3112dd343f8deb70ac7e7d2bd6d9832ec602b194ca37230ecf34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T14:48:35.782Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-23T14:48:36.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-23T14:48:36.499Z] + ls /var/log/sa-host [2023-09-23T14:48:36.499Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T14:48:36.590Z] provisioning config files... [2023-09-23T14:48:36.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4687527937533115216tmp [Pipeline] { [Pipeline] echo [2023-09-23T14:48:36.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:36.893Z] ---> create-netrc.sh [Pipeline] } [2023-09-23T14:48:36.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:37.224Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-23T14:48:37.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:37.516Z] ---> sudo-logs.sh [2023-09-23T14:48:37.516Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-23T14:48:37.546Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:37.828Z] ---> job-cost.sh [2023-09-23T14:48:37.828Z] lf-activate-venv: SKIPPING [2023-09-23T14:48:37.828Z] DEBUG: total: 0.2199999988079071 [2023-09-23T14:48:37.828Z] INFO: Retrieving Stack Cost... [2023-09-23T14:48:38.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T14:48:38.655Z] INFO: Archiving Costs [Pipeline] echo [2023-09-23T14:48:38.665Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T14:48:38.948Z] ---> logs-deploy.sh [2023-09-23T14:48:38.948Z] lf-activate-venv: SKIPPING [2023-09-23T14:48:38.948Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/137 [2023-09-23T14:48:38.948Z] INFO: archiving workspace using pattern(s): [2023-09-23T14:48:39.886Z] Archives upload complete. [2023-09-23T14:48:39.886Z] INFO: archiving logs to Nexus