Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 546a8bddbc250e09a9704dd77d22d2ef885b0504 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-ssh6426785912040420363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15082260563140638692.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12549554954063104253.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5169402808600534843.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-ssh16394563605373275990.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-485’ Running on prd-ubuntu20.04-docker-8c-8g-487 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 546a8bddbc250e09a9704dd77d22d2ef885b0504 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387)" > 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 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 > git rev-list --no-walk 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-20T21:01:40.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-20T21:01:40.258Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-20T21:01:40.284Z] ========================================================= [2024-03-20T21:01:40.284Z] EdgeX Global Pipelines Version Info [2024-03-20T21:01:40.284Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:01:41.002Z] ------------------- [2024-03-20T21:01:41.002Z] stable info: [2024-03-20T21:01:41.002Z] ------------------- [2024-03-20T21:01:41.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-20T21:01:41.002Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T21:01:41.002Z] Message: update stable to v1.0.258 [2024-03-20T21:01:41.943Z] ------------------- [2024-03-20T21:01:41.943Z] experimental info: [2024-03-20T21:01:41.943Z] ------------------- [2024-03-20T21:01:41.943Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-20T21:01:41.943Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-20T21:01:41.943Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-20T21:01:42.012Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-03-20T21:01:42.030Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-03-20T21:01:42.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-20T21:01:42.072Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-20T21:01:42.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-20T21:01:42.116Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-20T21:01:42.136Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-20T21:01:42.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-20T21:01:42.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-20T21:01:42.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-20T21:01:42.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-20T21:01:42.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-03-20T21:01:42.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-20T21:01:42.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-20T21:01:42.377Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-20T21:01:42.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-20T21:01:42.423Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T21:01:42.444Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-20T21:01:42.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-20T21:01:42.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-20T21:01:42.505Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-20T21:01:42.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-20T21:01:42.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-20T21:01:42.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-20T21:01:42.600Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-20T21:01:42.620Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-20T21:01:42.645Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-20T21:01:42.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-03-20T21:01:42.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-03-20T21:01:42.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-03-20T21:01:42.744Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo [2024-03-20T21:01:42.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 546a8bd [Pipeline] echo [2024-03-20T21:01:42.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:01:42.850Z] provisioning config files... [2024-03-20T21:01:42.864Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10346475697203595227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:01:43.198Z] ---> ****-login.sh [2024-03-20T21:01:43.199Z] nexus3.edgexfoundry.org:10001 [2024-03-20T21:01:43.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:01:43.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:01:43.458Z] Configure a credential helper to remove this warning. See [2024-03-20T21:01:43.458Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:01:43.458Z] [2024-03-20T21:01:43.458Z] Login Succeeded [2024-03-20T21:01:43.458Z] nexus3.edgexfoundry.org:10002 [2024-03-20T21:01:43.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:01:43.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:01:43.716Z] Configure a credential helper to remove this warning. See [2024-03-20T21:01:43.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:01:43.716Z] [2024-03-20T21:01:43.716Z] Login Succeeded [2024-03-20T21:01:43.716Z] nexus3.edgexfoundry.org:10003 [2024-03-20T21:01:43.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:01:43.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:01:43.717Z] Configure a credential helper to remove this warning. See [2024-03-20T21:01:43.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:01:43.717Z] [2024-03-20T21:01:43.717Z] Login Succeeded [2024-03-20T21:01:43.717Z] nexus3.edgexfoundry.org:10004 [2024-03-20T21:01:43.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:01:43.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:01:43.977Z] Configure a credential helper to remove this warning. See [2024-03-20T21:01:43.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:01:43.977Z] [2024-03-20T21:01:43.977Z] Login Succeeded [2024-03-20T21:01:43.977Z] ****.io [2024-03-20T21:01:43.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:01:44.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:01:44.237Z] Configure a credential helper to remove this warning. See [2024-03-20T21:01:44.237Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:01:44.237Z] [2024-03-20T21:01:44.237Z] Login Succeeded [2024-03-20T21:01:44.237Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T21:01:44.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-20T21:01:44.635Z] + git rev-list -1 --merges 546a8bddbc250e09a9704dd77d22d2ef885b0504~1..546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo [2024-03-20T21:01:44.665Z] -----------> git rev-list -1 --merges 546a8bddbc250e09a9704dd77d22d2ef885b0504~1..546a8bddbc250e09a9704dd77d22d2ef885b0504 546a8bddbc250e09a9704dd77d22d2ef885b0504 [false] [Pipeline] sh [2024-03-20T21:01:44.956Z] + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo [2024-03-20T21:01:44.972Z] ========================================================= [2024-03-20T21:01:44.972Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-20T21:01:44.972Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T21:01:45.312Z] + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] echo [2024-03-20T21:01:45.323Z] [semverPrep] GIT_COMMIT: 546a8bddbc250e09a9704dd77d22d2ef885b0504, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387) [Pipeline] echo [2024-03-20T21:01:45.335Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-20T21:01:45.687Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T21:01:45.687Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-20T21:01:45.687Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-20T21:01:45.687Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-20T21:01:45.687Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-20T21:01:45.687Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-20T21:01:45.687Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:01:46.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:01:46.034Z] [2024-03-20T21:01:46.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:01:46.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:01:46.338Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-20T21:01:46.338Z] b85a868b505f: Pulling fs layer [2024-03-20T21:01:46.338Z] e2be974225ed: Pulling fs layer [2024-03-20T21:01:46.338Z] 339a4e72a1f5: Pulling fs layer [2024-03-20T21:01:46.338Z] 988bab9f4d93: Pulling fs layer [2024-03-20T21:01:46.338Z] 1469e6f7b9e6: Pulling fs layer [2024-03-20T21:01:46.338Z] eaf3925da568: Pulling fs layer [2024-03-20T21:01:46.338Z] bab4dde63d76: Pulling fs layer [2024-03-20T21:01:46.338Z] bde34c3a00c8: Pulling fs layer [2024-03-20T21:01:46.338Z] b352a97aabf1: Pulling fs layer [2024-03-20T21:01:46.338Z] 4872d77fe225: Pulling fs layer [2024-03-20T21:01:46.338Z] 988bab9f4d93: Waiting [2024-03-20T21:01:46.338Z] 5851b861e8e6: Pulling fs layer [2024-03-20T21:01:46.338Z] 1469e6f7b9e6: Waiting [2024-03-20T21:01:46.338Z] bab4dde63d76: Waiting [2024-03-20T21:01:46.338Z] eaf3925da568: Waiting [2024-03-20T21:01:46.338Z] bde34c3a00c8: Waiting [2024-03-20T21:01:46.338Z] b352a97aabf1: Waiting [2024-03-20T21:01:46.338Z] 4872d77fe225: Waiting [2024-03-20T21:01:46.338Z] e2be974225ed: Download complete [2024-03-20T21:01:46.338Z] 988bab9f4d93: Verifying Checksum [2024-03-20T21:01:46.338Z] 988bab9f4d93: Download complete [2024-03-20T21:01:46.338Z] 1469e6f7b9e6: Verifying Checksum [2024-03-20T21:01:46.338Z] 1469e6f7b9e6: Download complete [2024-03-20T21:01:46.338Z] eaf3925da568: Verifying Checksum [2024-03-20T21:01:46.338Z] eaf3925da568: Download complete [2024-03-20T21:01:46.596Z] 339a4e72a1f5: Verifying Checksum [2024-03-20T21:01:46.596Z] 339a4e72a1f5: Download complete [2024-03-20T21:01:46.596Z] bde34c3a00c8: Verifying Checksum [2024-03-20T21:01:46.596Z] bde34c3a00c8: Download complete [2024-03-20T21:01:46.596Z] b352a97aabf1: Download complete [2024-03-20T21:01:46.596Z] 4872d77fe225: Verifying Checksum [2024-03-20T21:01:46.596Z] 4872d77fe225: Download complete [2024-03-20T21:01:46.596Z] 5851b861e8e6: Verifying Checksum [2024-03-20T21:01:46.596Z] 5851b861e8e6: Download complete [2024-03-20T21:01:46.596Z] b85a868b505f: Verifying Checksum [2024-03-20T21:01:46.596Z] b85a868b505f: Download complete [2024-03-20T21:01:46.855Z] bab4dde63d76: Verifying Checksum [2024-03-20T21:01:46.855Z] bab4dde63d76: Download complete [2024-03-20T21:01:47.789Z] b85a868b505f: Pull complete [2024-03-20T21:01:48.049Z] e2be974225ed: Pull complete [2024-03-20T21:01:48.308Z] 339a4e72a1f5: Pull complete [2024-03-20T21:01:48.568Z] 988bab9f4d93: Pull complete [2024-03-20T21:01:48.827Z] 1469e6f7b9e6: Pull complete [2024-03-20T21:01:48.827Z] eaf3925da568: Pull complete [2024-03-20T21:01:50.731Z] bab4dde63d76: Pull complete [2024-03-20T21:01:50.731Z] bde34c3a00c8: Pull complete [2024-03-20T21:01:50.731Z] b352a97aabf1: Pull complete [2024-03-20T21:01:50.731Z] 4872d77fe225: Pull complete [2024-03-20T21:01:50.731Z] 5851b861e8e6: Pull complete [2024-03-20T21:01:50.731Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-20T21:01:50.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:01:50.731Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:01:50.860Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:01:50.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-20T21:01:54.877Z] $ docker top 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf -eo pid,comm [2024-03-20T21:01:54.934Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-20T21:01:54.934Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T21:01:54.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T21:01:54.991Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T21:01:55.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T21:01:55.103Z] $ docker exec 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent [2024-03-20T21:01:55.222Z] SSH_AUTH_SOCK=/tmp/ssh-rYkDTsbcpWfP/agent.33 [2024-03-20T21:01:55.222Z] SSH_AGENT_PID=39 [2024-03-20T21:01:55.227Z] Running ssh-add (command line suppressed) [2024-03-20T21:01:55.321Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12674928138347676680.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12674928138347676680.key) [2024-03-20T21:01:55.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T21:01:55.626Z] + git tag --points-at HEAD [Pipeline] } [2024-03-20T21:01:55.635Z] $ docker exec --env ******** --env ******** 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent -k [2024-03-20T21:01:55.734Z] unset SSH_AUTH_SOCK; [2024-03-20T21:01:55.734Z] unset SSH_AGENT_PID; [2024-03-20T21:01:55.734Z] echo Agent pid 39 killed; [2024-03-20T21:01:55.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-20T21:01:55.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T21:01:55.785Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T21:01:55.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T21:01:55.893Z] $ docker exec 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent [2024-03-20T21:01:55.996Z] SSH_AUTH_SOCK=/tmp/ssh-OTZPcQTGJMNC/agent.73 [2024-03-20T21:01:55.996Z] SSH_AGENT_PID=79 [2024-03-20T21:01:56.000Z] Running ssh-add (command line suppressed) [2024-03-20T21:01:56.091Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2136766052707454464.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2136766052707454464.key) [2024-03-20T21:01:56.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T21:01:56.402Z] + git semver init [2024-03-20T21:01:56.662Z] 2024-03-20 21:01:56,569 [run_init] DEBUG init version:0.0.0 force:False [2024-03-20T21:01:56.662Z] 2024-03-20 21:01:56,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-03-20T21:01:56.662Z] 2024-03-20 21:01:56,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-03-20T21:01:56.662Z] 2024-03-20 21:01:56,571 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-20T21:01:58.040Z] 2024-03-20 21:01:58,019 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-03-20T21:01:58.040Z] 2024-03-20 21:01:58,019 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-03-20T21:01:58.040Z] 2024-03-20 21:01:58,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:01:58.040Z] 2024-03-20 21:01:58,020 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:01:58.040Z] 3.2.0-dev.12 [Pipeline] } [2024-03-20T21:01:58.306Z] $ docker exec --env ******** --env ******** 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf ssh-agent -k [2024-03-20T21:01:58.400Z] unset SSH_AUTH_SOCK; [2024-03-20T21:01:58.400Z] unset SSH_AGENT_PID; [2024-03-20T21:01:58.400Z] echo Agent pid 79 killed; [2024-03-20T21:01:58.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T21:01:58.726Z] + git semver [Pipeline] } [2024-03-20T21:01:58.993Z] $ docker stop --time=1 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf [2024-03-20T21:02:00.281Z] $ docker rm -f --volumes 673c20bdaf3b8d532f8177d44f4764d01816fdd479c2481669479771d1c26bbf [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T21:02:00.632Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-20T21:02:00.849Z] Stashed 1 file(s) [Pipeline] echo [2024-03-20T21:02:00.853Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:02:01.042Z] provisioning config files... [2024-03-20T21:02:01.052Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10012352236923815677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:02:01.347Z] ---> ****-login.sh [2024-03-20T21:02:01.347Z] nexus3.edgexfoundry.org:10001 [2024-03-20T21:02:01.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:02:01.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:02:01.347Z] Configure a credential helper to remove this warning. See [2024-03-20T21:02:01.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:02:01.347Z] [2024-03-20T21:02:01.347Z] Login Succeeded [2024-03-20T21:02:01.347Z] nexus3.edgexfoundry.org:10002 [2024-03-20T21:02:01.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:02:01.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:02:01.347Z] Configure a credential helper to remove this warning. See [2024-03-20T21:02:01.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:02:01.347Z] [2024-03-20T21:02:01.347Z] Login Succeeded [2024-03-20T21:02:01.347Z] nexus3.edgexfoundry.org:10003 [2024-03-20T21:02:01.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:02:01.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:02:01.606Z] Configure a credential helper to remove this warning. See [2024-03-20T21:02:01.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:02:01.606Z] [2024-03-20T21:02:01.606Z] Login Succeeded [2024-03-20T21:02:01.606Z] nexus3.edgexfoundry.org:10004 [2024-03-20T21:02:01.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:02:01.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:02:01.606Z] Configure a credential helper to remove this warning. See [2024-03-20T21:02:01.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:02:01.606Z] [2024-03-20T21:02:01.607Z] Login Succeeded [2024-03-20T21:02:01.607Z] ****.io [2024-03-20T21:02:01.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:02:01.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:02:01.865Z] Configure a credential helper to remove this warning. See [2024-03-20T21:02:01.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:02:01.865Z] [2024-03-20T21:02:01.865Z] Login Succeeded [2024-03-20T21:02:01.865Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T21:02:01.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-20T21:02:01.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:02:01.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:02:01.981Z] ========================================================= [2024-03-20T21:02:01.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-20T21:02:01.981Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:02:02.309Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-20T21:02:02.309Z] Sending build context to Docker daemon 16.36MB [2024-03-20T21:02:02.309Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T21:02:02.309Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-20T21:02:02.309Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-20T21:02:02.309Z] 7264a8db6415: Pulling fs layer [2024-03-20T21:02:02.309Z] c4d48a809fc2: Pulling fs layer [2024-03-20T21:02:02.309Z] 4f1c88b9dad5: Pulling fs layer [2024-03-20T21:02:02.309Z] ad3a456e5733: Pulling fs layer [2024-03-20T21:02:02.309Z] 69c7f0334f64: Pulling fs layer [2024-03-20T21:02:02.309Z] 1f1c1a5573a3: Pulling fs layer [2024-03-20T21:02:02.309Z] ce7588e14bc9: Pulling fs layer [2024-03-20T21:02:02.309Z] b5e4710f87ac: Pulling fs layer [2024-03-20T21:02:02.309Z] ad3a456e5733: Waiting [2024-03-20T21:02:02.309Z] 69c7f0334f64: Waiting [2024-03-20T21:02:02.309Z] ce7588e14bc9: Waiting [2024-03-20T21:02:02.309Z] 1f1c1a5573a3: Waiting [2024-03-20T21:02:02.309Z] b5e4710f87ac: Waiting [2024-03-20T21:02:02.309Z] c4d48a809fc2: Download complete [2024-03-20T21:02:02.567Z] ad3a456e5733: Verifying Checksum [2024-03-20T21:02:02.567Z] ad3a456e5733: Download complete [2024-03-20T21:02:02.567Z] 69c7f0334f64: Verifying Checksum [2024-03-20T21:02:02.567Z] 69c7f0334f64: Download complete [2024-03-20T21:02:02.567Z] 7264a8db6415: Verifying Checksum [2024-03-20T21:02:02.567Z] 7264a8db6415: Download complete [2024-03-20T21:02:02.567Z] 1f1c1a5573a3: Verifying Checksum [2024-03-20T21:02:02.567Z] 1f1c1a5573a3: Download complete [2024-03-20T21:02:02.567Z] 7264a8db6415: Pull complete [2024-03-20T21:02:02.824Z] b5e4710f87ac: Verifying Checksum [2024-03-20T21:02:02.824Z] b5e4710f87ac: Download complete [2024-03-20T21:02:02.824Z] c4d48a809fc2: Pull complete [2024-03-20T21:02:02.824Z] 4f1c88b9dad5: Verifying Checksum [2024-03-20T21:02:02.824Z] 4f1c88b9dad5: Download complete [2024-03-20T21:02:03.390Z] ce7588e14bc9: Verifying Checksum [2024-03-20T21:02:03.390Z] ce7588e14bc9: Download complete [2024-03-20T21:02:05.919Z] 4f1c88b9dad5: Pull complete [2024-03-20T21:02:05.919Z] ad3a456e5733: Pull complete [2024-03-20T21:02:05.919Z] 69c7f0334f64: Pull complete [2024-03-20T21:02:05.919Z] 1f1c1a5573a3: Pull complete [2024-03-20T21:02:08.445Z] ce7588e14bc9: Pull complete [2024-03-20T21:02:09.390Z] b5e4710f87ac: Pull complete [2024-03-20T21:02:09.650Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-20T21:02:09.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-20T21:02:09.650Z] ---> 88b5674ff536 [2024-03-20T21:02:09.650Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-20T21:02:15.986Z] Still waiting to schedule task [2024-03-20T21:02:15.986Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-486’ [2024-03-20T21:02:16.222Z] ---> Running in 78ad4b0f79a4 [2024-03-20T21:02:16.222Z] Removing intermediate container 78ad4b0f79a4 [2024-03-20T21:02:16.222Z] ---> b92fcc9c920d [2024-03-20T21:02:16.222Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T21:02:16.222Z] ---> Running in 5273f069a700 [2024-03-20T21:02:16.222Z] Removing intermediate container 5273f069a700 [2024-03-20T21:02:16.222Z] ---> a48735a97f59 [2024-03-20T21:02:16.222Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T21:02:16.222Z] ---> Running in 6dd7e3a7baae [2024-03-20T21:02:16.482Z] Removing intermediate container 6dd7e3a7baae [2024-03-20T21:02:16.482Z] ---> c527d482e0a3 [2024-03-20T21:02:16.482Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T21:02:16.482Z] ---> Running in 6afb20413648 [2024-03-20T21:02:16.482Z] Removing intermediate container 6afb20413648 [2024-03-20T21:02:16.482Z] ---> a8bc9d00c86f [2024-03-20T21:02:16.482Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T21:02:16.482Z] ---> Running in f3b984b4ab33 [2024-03-20T21:02:16.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T21:02:17.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T21:02:17.262Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-20T21:02:17.262Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-20T21:02:17.262Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-20T21:02:17.262Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-20T21:02:17.262Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T21:02:17.262Z] OK: 268 MiB in 56 packages [2024-03-20T21:02:17.831Z] Removing intermediate container f3b984b4ab33 [2024-03-20T21:02:17.831Z] ---> 0d9837a48edb [2024-03-20T21:02:17.831Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-20T21:02:17.831Z] ---> Running in 3ecde21c5eac [2024-03-20T21:02:17.831Z] Removing intermediate container 3ecde21c5eac [2024-03-20T21:02:17.831Z] ---> bee72806a8db [2024-03-20T21:02:17.831Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-20T21:02:18.090Z] ---> cbe40b5c30f1 [2024-03-20T21:02:18.090Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T21:02:18.090Z] ---> Running in a850c9f1c2a0 [2024-03-20T21:03:39.556Z] Removing intermediate container a850c9f1c2a0 [2024-03-20T21:03:39.556Z] ---> 325051b855cb [2024-03-20T21:03:39.556Z] Step 11/12 : COPY . . [2024-03-20T21:03:39.556Z] ---> 6cb21e2f3eaf [2024-03-20T21:03:39.556Z] Step 12/12 : RUN $MAKE [2024-03-20T21:03:39.556Z] ---> Running in 82954e0b3d00 [2024-03-20T21:03:39.556Z] noop [2024-03-20T21:03:39.556Z] Removing intermediate container 82954e0b3d00 [2024-03-20T21:03:39.556Z] ---> ac78daf6f7ed [2024-03-20T21:03:39.556Z] Successfully built ac78daf6f7ed [2024-03-20T21:03:39.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:03:39.893Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T21:03:39.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:03:39.970Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:03:39.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-20T21:03:40.338Z] $ docker top 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T21:03:40.696Z] + go version [2024-03-20T21:03:40.696Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-20T21:03:40.701Z] $ docker stop --time=1 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac [2024-03-20T21:03:41.988Z] $ docker rm -f --volumes 14ab65b5cbd436e9c51495771e24a45829b1a5bf8bbe2fe46d38673cb8639fac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:03:42.442Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-20T21:03:42.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:03:42.519Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:03:42.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-20T21:03:42.846Z] $ docker top b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T21:03:43.205Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-03-20T21:03:43.507Z] + make test [2024-03-20T21:03:43.507Z] go test ./... -coverprofile=coverage.out ./... [2024-03-20T21:03:45.410Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-20T21:04:00.277Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-20T21:04:00.277Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2024-03-20T21:04:08.385Z] go vet ./... [2024-03-20T21:04:13.649Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T21:04:13.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T21:04:13.649Z] ./bin/test-attribution-txt.sh [2024-03-20T21:04:13.649Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T21:04:13.649Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-20T21:04:13.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T21:04:13.676Z] $ docker stop --time=1 b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f [2024-03-20T21:04:19.984Z] $ docker rm -f --volumes b28bc6f7840ec70032079390a7e5e809c30ec1ddc7915b9533886c8264eb991f [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T21:04:20.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T21:04:20.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-20T21:04:21.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T21:04:21.384Z] + ls -al . [2024-03-20T21:04:21.384Z] total 248 [2024-03-20T21:04:21.384Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 21:03 . [2024-03-20T21:04:21.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 21:01 .. [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 21:01 .dockerignore [2024-03-20T21:04:21.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:04 .git [2024-03-20T21:04:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 .github [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 21:01 .gitignore [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 21:01 .golangci.yml [2024-03-20T21:04:21.384Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 21:01 .semver [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 21:01 Attribution.txt [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 21:01 CHANGELOG.md [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 21:01 Dockerfile [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 21:01 GOVERNANCE.md [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 21:01 Jenkinsfile [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 21:01 LICENSE [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 21:01 Makefile [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 21:01 OWNERS.md [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 21:01 README.md [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 21:02 VERSION [2024-03-20T21:04:21.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:01 bin [2024-03-20T21:04:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 cmd [2024-03-20T21:04:21.384Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 21:03 coverage.out [2024-03-20T21:04:21.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:01 driver [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 21:01 go.mod [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 21:01 go.sum [2024-03-20T21:04:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:01 openapi [2024-03-20T21:04:21.384Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:04:21.699Z] + 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=546a8bddbc250e09a9704dd77d22d2ef885b0504 --label arch=amd64 --label version=3.2.0-dev.12 . [2024-03-20T21:04:21.700Z] Sending build context to Docker daemon 16.37MB [2024-03-20T21:04:21.700Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T21:04:21.700Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-20T21:04:21.700Z] ---> ac78daf6f7ed [2024-03-20T21:04:21.700Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-20T21:04:23.079Z] ---> Running in 4e34847f205d [2024-03-20T21:04:23.339Z] Removing intermediate container 4e34847f205d [2024-03-20T21:04:23.339Z] ---> 8b41a63f0b2b [2024-03-20T21:04:23.339Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T21:04:23.339Z] ---> Running in 4bef7e85274a [2024-03-20T21:04:23.339Z] Removing intermediate container 4bef7e85274a [2024-03-20T21:04:23.339Z] ---> fbbb9b000790 [2024-03-20T21:04:23.339Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T21:04:23.339Z] ---> Running in 0ddeeac26082 [2024-03-20T21:04:23.339Z] Removing intermediate container 0ddeeac26082 [2024-03-20T21:04:23.339Z] ---> 38640da74fa9 [2024-03-20T21:04:23.339Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T21:04:23.339Z] ---> Running in 108281530af0 [2024-03-20T21:04:23.598Z] Removing intermediate container 108281530af0 [2024-03-20T21:04:23.598Z] ---> 020300f9c4ed [2024-03-20T21:04:23.598Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T21:04:23.598Z] ---> Running in b30a82066dad [2024-03-20T21:04:23.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:23.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:24.424Z] OK: 268 MiB in 56 packages [2024-03-20T21:04:24.685Z] Removing intermediate container b30a82066dad [2024-03-20T21:04:24.685Z] ---> f7368766298f [2024-03-20T21:04:24.685Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-20T21:04:24.685Z] ---> Running in dce2e63b20ec [2024-03-20T21:04:24.685Z] Removing intermediate container dce2e63b20ec [2024-03-20T21:04:24.685Z] ---> d6b06498de7d [2024-03-20T21:04:24.685Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-20T21:04:24.685Z] ---> 29beb63a1939 [2024-03-20T21:04:24.685Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T21:04:24.948Z] ---> Running in 3e678083bac2 [2024-03-20T21:04:25.524Z] Removing intermediate container 3e678083bac2 [2024-03-20T21:04:25.524Z] ---> 3eb107e86e33 [2024-03-20T21:04:25.524Z] Step 11/26 : COPY . . [2024-03-20T21:04:26.096Z] ---> 06976aa54c0e [2024-03-20T21:04:26.096Z] Step 12/26 : RUN $MAKE [2024-03-20T21:04:26.096Z] ---> Running in c4bb3ac9914d [2024-03-20T21:04:26.355Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-20T21:04:58.417Z] Removing intermediate container c4bb3ac9914d [2024-03-20T21:04:58.417Z] ---> 442fb01fa471 [2024-03-20T21:04:58.417Z] Step 13/26 : FROM alpine:3.18 [2024-03-20T21:04:58.417Z] 3.18: Pulling from library/alpine [2024-03-20T21:04:58.417Z] 619be1103602: Pulling fs layer [2024-03-20T21:04:58.417Z] 619be1103602: Verifying Checksum [2024-03-20T21:04:58.417Z] 619be1103602: Download complete [2024-03-20T21:04:58.417Z] 619be1103602: Pull complete [2024-03-20T21:04:58.417Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T21:04:58.417Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T21:04:58.417Z] ---> d3782b16ccc9 [2024-03-20T21:04:58.417Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T21:04:58.417Z] ---> Running in 3b831dea663f [2024-03-20T21:04:58.417Z] Removing intermediate container 3b831dea663f [2024-03-20T21:04:58.417Z] ---> 983cea6056c4 [2024-03-20T21:04:58.417Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-20T21:04:58.417Z] ---> Running in 27f99aa3c84b [2024-03-20T21:04:58.417Z] Removing intermediate container 27f99aa3c84b [2024-03-20T21:04:58.417Z] ---> 52b86514466c [2024-03-20T21:04:58.417Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-20T21:04:58.417Z] ---> Running in fa708542912d [2024-03-20T21:04:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:58.417Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-20T21:04:58.417Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T21:04:58.417Z] OK: 7 MiB in 16 packages [2024-03-20T21:04:58.417Z] Removing intermediate container fa708542912d [2024-03-20T21:04:58.417Z] ---> e4a5828535d8 [2024-03-20T21:04:58.417Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-20T21:04:58.417Z] ---> Running in 705b4c397a9d [2024-03-20T21:04:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:58.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-20T21:04:58.417Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-20T21:04:58.417Z] OK: 7 MiB in 16 packages [2024-03-20T21:04:58.417Z] Removing intermediate container 705b4c397a9d [2024-03-20T21:04:58.417Z] ---> 0228f70d1470 [2024-03-20T21:04:58.417Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-20T21:04:59.352Z] ---> 964cc6e6ae22 [2024-03-20T21:04:59.352Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-20T21:04:59.611Z] ---> 987c84f2bb29 [2024-03-20T21:04:59.611Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-20T21:04:59.611Z] ---> 23236a17a1ff [2024-03-20T21:04:59.611Z] Step 21/26 : EXPOSE 59986 [2024-03-20T21:04:59.611Z] ---> Running in 9dbca76ef5d8 [2024-03-20T21:04:59.874Z] Removing intermediate container 9dbca76ef5d8 [2024-03-20T21:04:59.874Z] ---> f206f478e14e [2024-03-20T21:04:59.874Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-20T21:04:59.874Z] ---> Running in f2249e1ffb10 [2024-03-20T21:04:59.874Z] Removing intermediate container f2249e1ffb10 [2024-03-20T21:04:59.874Z] ---> 03b1986d080f [2024-03-20T21:04:59.874Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-20T21:04:59.874Z] ---> Running in 973fee80f8f0 [2024-03-20T21:04:59.874Z] Removing intermediate container 973fee80f8f0 [2024-03-20T21:04:59.874Z] ---> 4bfee84c28ac [2024-03-20T21:04:59.874Z] Step 24/26 : LABEL arch=amd64 [2024-03-20T21:04:59.874Z] ---> Running in 3b87fc5650ad [2024-03-20T21:05:00.133Z] Removing intermediate container 3b87fc5650ad [2024-03-20T21:05:00.133Z] ---> be54160edd0a [2024-03-20T21:05:00.133Z] Step 25/26 : LABEL git_sha=546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:05:00.133Z] ---> Running in afaad45fe1bd [2024-03-20T21:05:00.133Z] Removing intermediate container afaad45fe1bd [2024-03-20T21:05:00.133Z] ---> bb4436e3f965 [2024-03-20T21:05:00.133Z] Step 26/26 : LABEL version=3.2.0-dev.12 [2024-03-20T21:05:00.133Z] ---> Running in 402543f17a03 [2024-03-20T21:05:00.133Z] Removing intermediate container 402543f17a03 [2024-03-20T21:05:00.133Z] ---> f1540fb72135 [2024-03-20T21:05:00.133Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T21:05:00.133Z] Successfully built f1540fb72135 [2024-03-20T21:05:00.133Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:05:00.265Z] provisioning config files... [2024-03-20T21:05:00.272Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11661705666669523452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:05:00.571Z] ---> ****-login.sh [2024-03-20T21:05:00.571Z] nexus3.edgexfoundry.org:10001 [2024-03-20T21:05:00.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:05:00.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:05:00.571Z] Configure a credential helper to remove this warning. See [2024-03-20T21:05:00.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:05:00.571Z] [2024-03-20T21:05:00.571Z] Login Succeeded [2024-03-20T21:05:00.571Z] nexus3.edgexfoundry.org:10002 [2024-03-20T21:05:00.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:05:00.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:05:00.571Z] Configure a credential helper to remove this warning. See [2024-03-20T21:05:00.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:05:00.571Z] [2024-03-20T21:05:00.571Z] Login Succeeded [2024-03-20T21:05:00.571Z] nexus3.edgexfoundry.org:10003 [2024-03-20T21:05:00.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:05:00.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:05:00.832Z] Configure a credential helper to remove this warning. See [2024-03-20T21:05:00.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:05:00.832Z] [2024-03-20T21:05:00.832Z] Login Succeeded [2024-03-20T21:05:00.832Z] nexus3.edgexfoundry.org:10004 [2024-03-20T21:05:00.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:05:00.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:05:00.832Z] Configure a credential helper to remove this warning. See [2024-03-20T21:05:00.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:05:00.832Z] [2024-03-20T21:05:00.832Z] Login Succeeded [2024-03-20T21:05:00.832Z] ****.io [2024-03-20T21:05:00.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:05:01.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:05:01.094Z] Configure a credential helper to remove this warning. See [2024-03-20T21:05:01.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:05:01.095Z] [2024-03-20T21:05:01.095Z] Login Succeeded [2024-03-20T21:05:01.095Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T21:05:01.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-20T21:05:01.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:05:01.176Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-03-20T21:05:01.176Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:05:01.176Z] latest [2024-03-20T21:05:01.176Z] 3.2.0-dev.12 [2024-03-20T21:05:01.176Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:05:01.176Z] main [2024-03-20T21:05:01.176Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:01.513Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:01.841Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:05:01.841Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-03-20T21:05:01.841Z] 7009d2fe1deb: Preparing [2024-03-20T21:05:01.841Z] eedb3eb173dc: Preparing [2024-03-20T21:05:01.841Z] 4d2377f362da: Preparing [2024-03-20T21:05:01.841Z] 20821ed0065b: Preparing [2024-03-20T21:05:01.841Z] 980d5397f388: Preparing [2024-03-20T21:05:01.841Z] aedc3bda2944: Preparing [2024-03-20T21:05:01.841Z] aedc3bda2944: Waiting [2024-03-20T21:05:01.841Z] 20821ed0065b: Pushed [2024-03-20T21:05:01.841Z] 980d5397f388: Pushed [2024-03-20T21:05:01.841Z] aedc3bda2944: Layer already exists [2024-03-20T21:05:01.841Z] 7009d2fe1deb: Pushed [2024-03-20T21:05:01.841Z] eedb3eb173dc: Pushed [2024-03-20T21:05:05.136Z] 4d2377f362da: Pushed [2024-03-20T21:05:05.136Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:05.450Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:05.757Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-03-20T21:05:05.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-03-20T21:05:05.757Z] 7009d2fe1deb: Preparing [2024-03-20T21:05:05.757Z] eedb3eb173dc: Preparing [2024-03-20T21:05:05.757Z] 4d2377f362da: Preparing [2024-03-20T21:05:05.757Z] 20821ed0065b: Preparing [2024-03-20T21:05:05.757Z] 980d5397f388: Preparing [2024-03-20T21:05:05.757Z] aedc3bda2944: Preparing [2024-03-20T21:05:05.757Z] aedc3bda2944: Waiting [2024-03-20T21:05:05.757Z] 4d2377f362da: Layer already exists [2024-03-20T21:05:05.757Z] 20821ed0065b: Layer already exists [2024-03-20T21:05:05.757Z] 7009d2fe1deb: Layer already exists [2024-03-20T21:05:05.757Z] 980d5397f388: Layer already exists [2024-03-20T21:05:05.757Z] eedb3eb173dc: Layer already exists [2024-03-20T21:05:05.757Z] aedc3bda2944: Layer already exists [2024-03-20T21:05:05.757Z] latest: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:06.077Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:06.389Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 [2024-03-20T21:05:06.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-03-20T21:05:06.389Z] 7009d2fe1deb: Preparing [2024-03-20T21:05:06.389Z] eedb3eb173dc: Preparing [2024-03-20T21:05:06.389Z] 4d2377f362da: Preparing [2024-03-20T21:05:06.389Z] 20821ed0065b: Preparing [2024-03-20T21:05:06.389Z] 980d5397f388: Preparing [2024-03-20T21:05:06.389Z] aedc3bda2944: Preparing [2024-03-20T21:05:06.389Z] aedc3bda2944: Waiting [2024-03-20T21:05:06.389Z] eedb3eb173dc: Layer already exists [2024-03-20T21:05:06.389Z] 980d5397f388: Layer already exists [2024-03-20T21:05:06.389Z] 4d2377f362da: Layer already exists [2024-03-20T21:05:06.389Z] 20821ed0065b: Layer already exists [2024-03-20T21:05:06.389Z] 7009d2fe1deb: Layer already exists [2024-03-20T21:05:06.389Z] aedc3bda2944: Layer already exists [2024-03-20T21:05:06.389Z] 3.2.0-dev.12: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:06.716Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:07.027Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:05:07.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-03-20T21:05:07.027Z] 7009d2fe1deb: Preparing [2024-03-20T21:05:07.028Z] eedb3eb173dc: Preparing [2024-03-20T21:05:07.028Z] 4d2377f362da: Preparing [2024-03-20T21:05:07.028Z] 20821ed0065b: Preparing [2024-03-20T21:05:07.028Z] 980d5397f388: Preparing [2024-03-20T21:05:07.028Z] aedc3bda2944: Preparing [2024-03-20T21:05:07.028Z] 4d2377f362da: Layer already exists [2024-03-20T21:05:07.028Z] 7009d2fe1deb: Layer already exists [2024-03-20T21:05:07.028Z] 20821ed0065b: Layer already exists [2024-03-20T21:05:07.028Z] 980d5397f388: Layer already exists [2024-03-20T21:05:07.028Z] eedb3eb173dc: Layer already exists [2024-03-20T21:05:07.028Z] aedc3bda2944: Layer already exists [2024-03-20T21:05:07.028Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:07.346Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:07.665Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-03-20T21:05:07.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-03-20T21:05:07.665Z] 7009d2fe1deb: Preparing [2024-03-20T21:05:07.665Z] eedb3eb173dc: Preparing [2024-03-20T21:05:07.665Z] 4d2377f362da: Preparing [2024-03-20T21:05:07.665Z] 20821ed0065b: Preparing [2024-03-20T21:05:07.665Z] 980d5397f388: Preparing [2024-03-20T21:05:07.665Z] aedc3bda2944: Preparing [2024-03-20T21:05:07.665Z] aedc3bda2944: Waiting [2024-03-20T21:05:07.665Z] 980d5397f388: Layer already exists [2024-03-20T21:05:07.665Z] eedb3eb173dc: Layer already exists [2024-03-20T21:05:07.665Z] 7009d2fe1deb: Layer already exists [2024-03-20T21:05:07.665Z] 4d2377f362da: Layer already exists [2024-03-20T21:05:07.665Z] 20821ed0065b: Layer already exists [2024-03-20T21:05:07.665Z] aedc3bda2944: Layer already exists [2024-03-20T21:05:07.665Z] main: digest: sha256:1002a93fb6a5f4f62de8a4c9a744e3bf7e797c8ff433dad02b233a7fe20a2958 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-20T21:05:07.733Z] ===================================================== [Pipeline] echo [2024-03-20T21:05:07.747Z] taggedImages: [2024-03-20T21:05:07.747Z] - nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:05:07.747Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-03-20T21:05:07.747Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.12 [2024-03-20T21:05:07.747Z] - nexus3.edgexfoundry.org:10004/device-rest:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:05:07.747Z] - 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 [2024-03-20T21:05:08.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T21:05:08.147Z] [2024-03-20T21:05:08.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:05:08.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T21:05:08.451Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-20T21:05:08.451Z] 5eb5b503b376: Pulling fs layer [2024-03-20T21:05:08.451Z] 5c69ac0246d0: Pulling fs layer [2024-03-20T21:05:08.451Z] ec43610c2a17: Pulling fs layer [2024-03-20T21:05:08.451Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-20T21:05:08.451Z] 33b1e0a273af: Pulling fs layer [2024-03-20T21:05:08.451Z] 5d3b04190fa2: Pulling fs layer [2024-03-20T21:05:08.451Z] 2f39f015ded8: Pulling fs layer [2024-03-20T21:05:08.451Z] 3a2ae6a8a46f: Waiting [2024-03-20T21:05:08.451Z] 33b1e0a273af: Waiting [2024-03-20T21:05:08.451Z] 2f39f015ded8: Waiting [2024-03-20T21:05:08.451Z] 5d3b04190fa2: Waiting [2024-03-20T21:05:08.451Z] 5c69ac0246d0: Download complete [2024-03-20T21:05:08.451Z] 3a2ae6a8a46f: Download complete [2024-03-20T21:05:08.451Z] 33b1e0a273af: Verifying Checksum [2024-03-20T21:05:08.451Z] 33b1e0a273af: Download complete [2024-03-20T21:05:08.451Z] ec43610c2a17: Verifying Checksum [2024-03-20T21:05:08.451Z] ec43610c2a17: Download complete [2024-03-20T21:05:08.451Z] 5d3b04190fa2: Verifying Checksum [2024-03-20T21:05:08.451Z] 5d3b04190fa2: Download complete [2024-03-20T21:05:08.710Z] 5eb5b503b376: Verifying Checksum [2024-03-20T21:05:08.710Z] 5eb5b503b376: Download complete [2024-03-20T21:05:09.276Z] 2f39f015ded8: Download complete [2024-03-20T21:05:09.841Z] 5eb5b503b376: Pull complete [2024-03-20T21:05:10.101Z] 5c69ac0246d0: Pull complete [2024-03-20T21:05:10.668Z] ec43610c2a17: Pull complete [2024-03-20T21:05:10.668Z] 3a2ae6a8a46f: Pull complete [2024-03-20T21:05:10.926Z] 33b1e0a273af: Pull complete [2024-03-20T21:05:10.926Z] 5d3b04190fa2: Pull complete [2024-03-20T21:05:15.109Z] 2f39f015ded8: Pull complete [2024-03-20T21:05:15.109Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-20T21:05:15.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T21:05:15.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:05:15.217Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:05:15.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-20T21:05:20.947Z] $ docker top 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:05:21.321Z] ---> job-cost.sh [2024-03-20T21:05:21.321Z] lf-activate-venv: SKIPPING [2024-03-20T21:05:21.321Z] INFO: No Stack... [2024-03-20T21:05:21.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T21:05:22.149Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T21:05:22.436Z] + cut -d, -f6 [2024-03-20T21:05:22.436Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2024-03-20T21:05:22.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [2024-03-20T21:05:22.459Z] Resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] did not exist. Created. [2024-03-20T21:05:22.463Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T21:05:22.767Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-20T21:05:22.801Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T21:05:22.808Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T21:05:22.821Z] $ docker stop --time=1 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 [2024-03-20T21:05:23.969Z] $ docker rm -f --volumes 46cc3c79e3d27682b48e8c30c9dd3fc93ec9c8a370e3a9fb92da47c9961d9318 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-20T21:05:43.788Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-489 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-03-20T21:05:43.809Z] Running in /w/workspace/device-rest-go/164 [Pipeline] { [Pipeline] checkout [2024-03-20T21:05:43.845Z] The recommended git tool is: git [2024-03-20T21:05:48.701Z] using credential edgex-jenkins-ssh [2024-03-20T21:05:48.728Z] Cloning the remote Git repository [2024-03-20T21:05:48.765Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-03-20T21:05:48.854Z] > git init /w/workspace/device-rest-go/164 # timeout=10 [2024-03-20T21:05:48.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-03-20T21:05:48.979Z] > git --version # timeout=10 [2024-03-20T21:05:49.000Z] > git --version # 'git version 2.25.1' [2024-03-20T21:05:49.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-20T21:05:49.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T21:05:52.578Z] Avoid second fetch [2024-03-20T21:05:52.579Z] Checking out Revision 546a8bddbc250e09a9704dd77d22d2ef885b0504 (main) [2024-03-20T21:05:51.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-03-20T21:05:51.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-20T21:05:52.593Z] > git config core.sparsecheckout # timeout=10 [2024-03-20T21:05:52.652Z] > git checkout -f 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 [2024-03-20T21:05:53.161Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#387)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T21:05:57.836Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-20T21:05:57.836Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T21:05:57.836Z] Dload Upload Total Spent Left Speed [2024-03-20T21:05:57.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2024-03-20T21:05:58.176Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-20T21:05:58.499Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-03-20T21:05:58.499Z] sudo tee /etc/docker/daemon.new [2024-03-20T21:05:58.499Z] { [2024-03-20T21:05:58.499Z] "registry-mirrors": [ [2024-03-20T21:05:58.499Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-20T21:05:58.499Z] ], [2024-03-20T21:05:58.499Z] "bip": "10.250.0.254/24", [2024-03-20T21:05:58.499Z] "hosts": [ [2024-03-20T21:05:58.499Z] "tcp://0.0.0.0:5555", [2024-03-20T21:05:58.499Z] "unix:///var/run/docker.sock" [2024-03-20T21:05:58.499Z] ], [2024-03-20T21:05:58.499Z] "mtu": 1458, [2024-03-20T21:05:58.499Z] "selinux-enabled": true, [2024-03-20T21:05:58.499Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-20T21:05:58.499Z] } [Pipeline] sh [2024-03-20T21:05:58.820Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-20T21:05:59.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:06:17.441Z] provisioning config files... [2024-03-20T21:06:17.464Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/164@tmp/config12305647794669630568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:06:17.876Z] ---> ****-login.sh [2024-03-20T21:06:17.876Z] nexus3.edgexfoundry.org:10001 [2024-03-20T21:06:18.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:06:18.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:06:18.422Z] Configure a credential helper to remove this warning. See [2024-03-20T21:06:18.422Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:06:18.422Z] [2024-03-20T21:06:18.422Z] Login Succeeded [2024-03-20T21:06:18.422Z] nexus3.edgexfoundry.org:10002 [2024-03-20T21:06:18.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:06:18.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:06:18.695Z] Configure a credential helper to remove this warning. See [2024-03-20T21:06:18.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:06:18.695Z] [2024-03-20T21:06:18.695Z] Login Succeeded [2024-03-20T21:06:18.695Z] nexus3.edgexfoundry.org:10003 [2024-03-20T21:06:18.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:06:19.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:06:19.240Z] Configure a credential helper to remove this warning. See [2024-03-20T21:06:19.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:06:19.240Z] [2024-03-20T21:06:19.240Z] Login Succeeded [2024-03-20T21:06:19.240Z] nexus3.edgexfoundry.org:10004 [2024-03-20T21:06:19.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:06:19.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:06:19.510Z] Configure a credential helper to remove this warning. See [2024-03-20T21:06:19.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:06:19.510Z] [2024-03-20T21:06:19.510Z] Login Succeeded [2024-03-20T21:06:19.510Z] ****.io [2024-03-20T21:06:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:06:20.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:06:20.047Z] Configure a credential helper to remove this warning. See [2024-03-20T21:06:20.047Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:06:20.047Z] [2024-03-20T21:06:20.047Z] Login Succeeded [2024-03-20T21:06:20.047Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T21:06:20.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-20T21:06:20.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:06:20.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:06:20.381Z] ========================================================= [2024-03-20T21:06:20.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-20T21:06:20.381Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:06:20.746Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-20T21:06:20.747Z] Sending build context to Docker daemon 131.1kB [2024-03-20T21:06:21.015Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T21:06:21.015Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-20T21:06:21.015Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-20T21:06:21.015Z] 9fda8d8052c6: Pulling fs layer [2024-03-20T21:06:21.015Z] 5d54e960e981: Pulling fs layer [2024-03-20T21:06:21.015Z] c4a7e357bf2a: Pulling fs layer [2024-03-20T21:06:21.015Z] f0e02332f6b5: Pulling fs layer [2024-03-20T21:06:21.015Z] 872ee5b61b7b: Pulling fs layer [2024-03-20T21:06:21.015Z] 0c6a40ed1a82: Pulling fs layer [2024-03-20T21:06:21.015Z] 94ae7d8d031c: Pulling fs layer [2024-03-20T21:06:21.015Z] f0e02332f6b5: Waiting [2024-03-20T21:06:21.015Z] 94ae7d8d031c: Waiting [2024-03-20T21:06:21.283Z] 5d54e960e981: Verifying Checksum [2024-03-20T21:06:21.283Z] 5d54e960e981: Download complete [2024-03-20T21:06:21.283Z] f0e02332f6b5: Verifying Checksum [2024-03-20T21:06:21.283Z] f0e02332f6b5: Download complete [2024-03-20T21:06:21.283Z] 872ee5b61b7b: Verifying Checksum [2024-03-20T21:06:21.283Z] 872ee5b61b7b: Download complete [2024-03-20T21:06:21.283Z] 9fda8d8052c6: Verifying Checksum [2024-03-20T21:06:21.283Z] 9fda8d8052c6: Download complete [2024-03-20T21:06:21.552Z] 94ae7d8d031c: Verifying Checksum [2024-03-20T21:06:21.552Z] 94ae7d8d031c: Download complete [2024-03-20T21:06:22.141Z] 9fda8d8052c6: Pull complete [2024-03-20T21:06:22.736Z] 5d54e960e981: Pull complete [2024-03-20T21:06:23.006Z] c4a7e357bf2a: Download complete [2024-03-20T21:06:23.978Z] 0c6a40ed1a82: Verifying Checksum [2024-03-20T21:06:23.978Z] 0c6a40ed1a82: Download complete [2024-03-20T21:06:36.312Z] c4a7e357bf2a: Pull complete [2024-03-20T21:06:36.312Z] f0e02332f6b5: Pull complete [2024-03-20T21:06:36.312Z] 872ee5b61b7b: Pull complete [2024-03-20T21:06:44.524Z] 0c6a40ed1a82: Pull complete [2024-03-20T21:06:46.474Z] 94ae7d8d031c: Pull complete [2024-03-20T21:06:46.474Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-20T21:06:46.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-20T21:06:46.474Z] ---> 86de565de09d [2024-03-20T21:06:46.474Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-20T21:06:47.877Z] ---> Running in 6eae2d5221dc [2024-03-20T21:06:48.144Z] Removing intermediate container 6eae2d5221dc [2024-03-20T21:06:48.144Z] ---> b226b05e664b [2024-03-20T21:06:48.144Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T21:06:48.144Z] ---> Running in 3f2f12f2e438 [2024-03-20T21:06:48.729Z] Removing intermediate container 3f2f12f2e438 [2024-03-20T21:06:48.729Z] ---> de7455564996 [2024-03-20T21:06:48.729Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T21:06:48.729Z] ---> Running in 95ddbb71ad39 [2024-03-20T21:06:48.994Z] Removing intermediate container 95ddbb71ad39 [2024-03-20T21:06:48.994Z] ---> 3c864592f984 [2024-03-20T21:06:48.994Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T21:06:48.994Z] ---> Running in 9adf0d9b5d9a [2024-03-20T21:06:49.260Z] Removing intermediate container 9adf0d9b5d9a [2024-03-20T21:06:49.260Z] ---> 94668a6295fe [2024-03-20T21:06:49.260Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T21:06:49.260Z] ---> Running in 8366e244148e [2024-03-20T21:06:50.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T21:06:50.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T21:06:51.904Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-20T21:06:51.904Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-20T21:06:51.904Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-20T21:06:51.904Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-20T21:06:51.904Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T21:06:51.904Z] OK: 271 MiB in 56 packages [2024-03-20T21:06:52.870Z] Removing intermediate container 8366e244148e [2024-03-20T21:06:52.870Z] ---> b6df4e7214fc [2024-03-20T21:06:52.870Z] Step 8/12 : WORKDIR /device-rest-go [2024-03-20T21:06:52.870Z] ---> Running in dedf2badd142 [2024-03-20T21:06:53.136Z] Removing intermediate container dedf2badd142 [2024-03-20T21:06:53.136Z] ---> fe5757942500 [2024-03-20T21:06:53.136Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-20T21:06:53.726Z] ---> e9ecd44ef7b7 [2024-03-20T21:06:53.726Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T21:06:53.726Z] ---> Running in ede39a9ed417 [2024-03-20T21:09:00.406Z] Removing intermediate container ede39a9ed417 [2024-03-20T21:09:00.406Z] ---> 5b79a7c79c71 [2024-03-20T21:09:00.406Z] Step 11/12 : COPY . . [2024-03-20T21:09:00.406Z] ---> 38895449803f [2024-03-20T21:09:00.406Z] Step 12/12 : RUN $MAKE [2024-03-20T21:09:00.406Z] ---> Running in 88e678c34492 [2024-03-20T21:09:00.406Z] noop [2024-03-20T21:09:00.406Z] Removing intermediate container 88e678c34492 [2024-03-20T21:09:00.406Z] ---> b5b0f65243e4 [2024-03-20T21:09:00.406Z] Successfully built b5b0f65243e4 [2024-03-20T21:09:00.406Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:09:00.771Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T21:09:00.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:09:00.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container [2024-03-20T21:09:01.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@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-arm64 cat [2024-03-20T21:09:02.228Z] $ docker top 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T21:09:03.061Z] + go version [2024-03-20T21:09:03.061Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-20T21:09:03.074Z] $ docker stop --time=1 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df [2024-03-20T21:09:04.672Z] $ docker rm -f --volumes 47b9b7542874d5dd45876c5b7ba86f9d27af18d08e64fe8759c2b558295950df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:09:05.239Z] + docker inspect -f . ci-base-image-arm64 [2024-03-20T21:09:05.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:09:05.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container [2024-03-20T21:09:05.468Z] $ 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/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@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-arm64 cat [2024-03-20T21:09:06.572Z] $ docker top 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T21:09:07.393Z] + git config --global --add safe.directory /w/workspace/device-rest-go/164 [Pipeline] fileExists [Pipeline] sh [2024-03-20T21:09:08.037Z] + make test [2024-03-20T21:09:08.037Z] go test ./... -coverprofile=coverage.out ./... [2024-03-20T21:09:13.372Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-03-20T21:11:35.063Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-03-20T21:11:36.473Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.2% of statements [2024-03-20T21:11:37.436Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-20T21:11:37.436Z] go vet ./... [2024-03-20T21:12:16.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-20T21:12:16.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-20T21:12:16.328Z] ./bin/test-attribution-txt.sh [2024-03-20T21:12:16.328Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-20T21:12:16.328Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-20T21:12:16.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-20T21:12:16.365Z] $ docker stop --time=1 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 [2024-03-20T21:12:18.360Z] $ docker rm -f --volumes 8cb6c85d71e62796720e82d258857221d64426f68063f14d82d30fce816a11a4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T21:12:20.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-20T21:12:20.092Z] Warning: overwriting stash ‘coverage-report’ [2024-03-20T21:12:20.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-20T21:12:21.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-20T21:12:21.322Z] + ls -al . [2024-03-20T21:12:21.322Z] total 244 [2024-03-20T21:12:21.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:09 . [2024-03-20T21:12:21.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 21:05 .. [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 21:05 .dockerignore [2024-03-20T21:12:21.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 21:05 .git [2024-03-20T21:12:21.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 .github [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 21:05 .gitignore [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 21:05 .golangci.yml [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 21:05 Attribution.txt [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 21:05 CHANGELOG.md [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 21:05 Dockerfile [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 21:05 GOVERNANCE.md [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 21:05 Jenkinsfile [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 21:05 LICENSE [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 21:05 Makefile [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 21:05 OWNERS.md [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 21:05 README.md [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 21:02 VERSION [2024-03-20T21:12:21.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:05 bin [2024-03-20T21:12:21.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 cmd [2024-03-20T21:12:21.322Z] -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 21:11 coverage.out [2024-03-20T21:12:21.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 21:05 driver [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 21:05 go.mod [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 21:05 go.sum [2024-03-20T21:12:21.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 21:05 openapi [2024-03-20T21:12:21.322Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:12:21.666Z] + 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=546a8bddbc250e09a9704dd77d22d2ef885b0504 --label arch=arm64 --label version=3.2.0-dev.12 . [2024-03-20T21:12:21.666Z] Sending build context to Docker daemon 146.4kB [2024-03-20T21:12:21.933Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-20T21:12:21.933Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-20T21:12:21.933Z] ---> b5b0f65243e4 [2024-03-20T21:12:21.933Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-20T21:12:21.933Z] ---> Running in c921884ad5dc [2024-03-20T21:12:22.199Z] Removing intermediate container c921884ad5dc [2024-03-20T21:12:22.199Z] ---> d3b2744c5185 [2024-03-20T21:12:22.199Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-20T21:12:22.465Z] ---> Running in a464257df9d9 [2024-03-20T21:12:22.732Z] Removing intermediate container a464257df9d9 [2024-03-20T21:12:22.732Z] ---> ff8f32246438 [2024-03-20T21:12:22.732Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-20T21:12:22.732Z] ---> Running in 099e56a2c96d [2024-03-20T21:12:23.001Z] Removing intermediate container 099e56a2c96d [2024-03-20T21:12:23.001Z] ---> b5db396209ba [2024-03-20T21:12:23.001Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-20T21:12:23.001Z] ---> Running in 9719309fb7b8 [2024-03-20T21:12:23.267Z] Removing intermediate container 9719309fb7b8 [2024-03-20T21:12:23.267Z] ---> aafcdad06bb3 [2024-03-20T21:12:23.267Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-20T21:12:23.542Z] ---> Running in 267b0952d9af [2024-03-20T21:12:24.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T21:12:24.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T21:12:26.172Z] OK: 271 MiB in 56 packages [2024-03-20T21:12:26.755Z] Removing intermediate container 267b0952d9af [2024-03-20T21:12:26.755Z] ---> 7c2da156d4d3 [2024-03-20T21:12:26.755Z] Step 8/26 : WORKDIR /device-rest-go [2024-03-20T21:12:27.020Z] ---> Running in d40557783b37 [2024-03-20T21:12:27.285Z] Removing intermediate container d40557783b37 [2024-03-20T21:12:27.285Z] ---> 1d347659729f [2024-03-20T21:12:27.285Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-20T21:12:27.864Z] ---> ecd11e5d7bb2 [2024-03-20T21:12:27.864Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-20T21:12:27.864Z] ---> Running in f875c6b3d45d [2024-03-20T21:12:30.431Z] Removing intermediate container f875c6b3d45d [2024-03-20T21:12:30.431Z] ---> f6b26b0f9f72 [2024-03-20T21:12:30.431Z] Step 11/26 : COPY . . [2024-03-20T21:12:30.700Z] ---> 904d7a84b0bc [2024-03-20T21:12:30.700Z] Step 12/26 : RUN $MAKE [2024-03-20T21:12:30.700Z] ---> Running in 73771e0563d1 [2024-03-20T21:12:31.659Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-03-20T21:15:23.383Z] Removing intermediate container 73771e0563d1 [2024-03-20T21:15:23.383Z] ---> 8bde71de4116 [2024-03-20T21:15:23.383Z] Step 13/26 : FROM alpine:3.18 [2024-03-20T21:15:23.383Z] 3.18: Pulling from library/alpine [2024-03-20T21:15:23.383Z] c6b39de5b339: Pulling fs layer [2024-03-20T21:15:23.383Z] c6b39de5b339: Verifying Checksum [2024-03-20T21:15:23.383Z] c6b39de5b339: Download complete [2024-03-20T21:15:23.383Z] c6b39de5b339: Pull complete [2024-03-20T21:15:23.383Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-20T21:15:23.383Z] Status: Downloaded newer image for alpine:3.18 [2024-03-20T21:15:23.383Z] ---> 33abbf032149 [2024-03-20T21:15:23.383Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-20T21:15:23.383Z] ---> Running in 74ef17b8f436 [2024-03-20T21:15:23.383Z] Removing intermediate container 74ef17b8f436 [2024-03-20T21:15:23.383Z] ---> 4c30defdadc5 [2024-03-20T21:15:23.383Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-03-20T21:15:23.383Z] ---> Running in 2a491b9cdad0 [2024-03-20T21:15:23.383Z] Removing intermediate container 2a491b9cdad0 [2024-03-20T21:15:23.383Z] ---> aa1d3696e10a [2024-03-20T21:15:23.383Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-03-20T21:15:23.383Z] ---> Running in 323f00795585 [2024-03-20T21:15:23.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T21:15:23.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T21:15:23.383Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-20T21:15:23.383Z] Executing busybox-1.36.1-r5.trigger [2024-03-20T21:15:23.383Z] OK: 8 MiB in 16 packages [2024-03-20T21:15:23.383Z] Removing intermediate container 323f00795585 [2024-03-20T21:15:23.383Z] ---> b0d72ae1d4e4 [2024-03-20T21:15:23.383Z] Step 17/26 : RUN apk --no-cache upgrade [2024-03-20T21:15:23.383Z] ---> Running in 1030dad2b810 [2024-03-20T21:15:23.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-20T21:15:23.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-20T21:15:23.383Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-20T21:15:23.383Z] OK: 8 MiB in 16 packages [2024-03-20T21:15:23.383Z] Removing intermediate container 1030dad2b810 [2024-03-20T21:15:23.383Z] ---> a35ac3b611bb [2024-03-20T21:15:23.383Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-03-20T21:15:23.383Z] ---> 492955374330 [2024-03-20T21:15:23.383Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-03-20T21:15:23.383Z] ---> ebea66afb0ff [2024-03-20T21:15:23.383Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-03-20T21:15:23.383Z] ---> e2c2ca877c0a [2024-03-20T21:15:23.383Z] Step 21/26 : EXPOSE 59986 [2024-03-20T21:15:23.383Z] ---> Running in 8a76308f1c6f [2024-03-20T21:15:23.383Z] Removing intermediate container 8a76308f1c6f [2024-03-20T21:15:23.383Z] ---> a4a09e23796e [2024-03-20T21:15:23.383Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-03-20T21:15:23.383Z] ---> Running in db472f7f938e [2024-03-20T21:15:23.383Z] Removing intermediate container db472f7f938e [2024-03-20T21:15:23.383Z] ---> fc85960d9cdf [2024-03-20T21:15:23.383Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-20T21:15:23.383Z] ---> Running in 45c51260febc [2024-03-20T21:15:23.383Z] Removing intermediate container 45c51260febc [2024-03-20T21:15:23.383Z] ---> 8bde5693b4cc [2024-03-20T21:15:23.383Z] Step 24/26 : LABEL arch=arm64 [2024-03-20T21:15:23.383Z] ---> Running in e086604fa471 [2024-03-20T21:15:23.383Z] Removing intermediate container e086604fa471 [2024-03-20T21:15:23.383Z] ---> 843afb8a4c52 [2024-03-20T21:15:23.383Z] Step 25/26 : LABEL git_sha=546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:15:23.383Z] ---> Running in 962014d920e1 [2024-03-20T21:15:23.383Z] Removing intermediate container 962014d920e1 [2024-03-20T21:15:23.383Z] ---> 0d5426771bf7 [2024-03-20T21:15:23.383Z] Step 26/26 : LABEL version=3.2.0-dev.12 [2024-03-20T21:15:23.383Z] ---> Running in 66eca588f3fe [2024-03-20T21:15:23.383Z] Removing intermediate container 66eca588f3fe [2024-03-20T21:15:23.383Z] ---> 0cd4e63e3c0d [2024-03-20T21:15:23.383Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-20T21:15:23.383Z] Successfully built 0cd4e63e3c0d [2024-03-20T21:15:23.383Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:15:23.530Z] provisioning config files... [2024-03-20T21:15:23.546Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/164@tmp/config11251329577895310188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:15:23.877Z] ---> ****-login.sh [2024-03-20T21:15:23.878Z] nexus3.edgexfoundry.org:10001 [2024-03-20T21:15:24.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:15:24.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:15:24.147Z] Configure a credential helper to remove this warning. See [2024-03-20T21:15:24.147Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:15:24.147Z] [2024-03-20T21:15:24.147Z] Login Succeeded [2024-03-20T21:15:24.147Z] nexus3.edgexfoundry.org:10002 [2024-03-20T21:15:24.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:15:24.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:15:24.413Z] Configure a credential helper to remove this warning. See [2024-03-20T21:15:24.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:15:24.413Z] [2024-03-20T21:15:24.413Z] Login Succeeded [2024-03-20T21:15:24.413Z] nexus3.edgexfoundry.org:10003 [2024-03-20T21:15:24.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:15:24.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:15:24.999Z] Configure a credential helper to remove this warning. See [2024-03-20T21:15:24.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:15:24.999Z] [2024-03-20T21:15:24.999Z] Login Succeeded [2024-03-20T21:15:24.999Z] nexus3.edgexfoundry.org:10004 [2024-03-20T21:15:25.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:15:25.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:15:25.267Z] Configure a credential helper to remove this warning. See [2024-03-20T21:15:25.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:15:25.267Z] [2024-03-20T21:15:25.267Z] Login Succeeded [2024-03-20T21:15:25.267Z] ****.io [2024-03-20T21:15:25.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-20T21:15:25.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-20T21:15:25.798Z] Configure a credential helper to remove this warning. See [2024-03-20T21:15:25.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-20T21:15:25.798Z] [2024-03-20T21:15:25.798Z] Login Succeeded [2024-03-20T21:15:25.798Z] ---> ****-login.sh ends [Pipeline] } [2024-03-20T21:15:25.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-20T21:15:25.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-20T21:15:25.881Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-03-20T21:15:25.881Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:15:25.881Z] latest [2024-03-20T21:15:25.881Z] 3.2.0-dev.12 [2024-03-20T21:15:25.881Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:15:25.881Z] main [2024-03-20T21:15:25.881Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:26.257Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:26.609Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:15:26.609Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-03-20T21:15:26.609Z] 4c2d9dfdc3ab: Preparing [2024-03-20T21:15:26.609Z] 24f08c979578: Preparing [2024-03-20T21:15:26.609Z] ee2d23dde85b: Preparing [2024-03-20T21:15:26.609Z] 1606ff8ca824: Preparing [2024-03-20T21:15:26.609Z] 19d8e9da7b92: Preparing [2024-03-20T21:15:26.609Z] 7c504f21be85: Preparing [2024-03-20T21:15:26.609Z] 7c504f21be85: Waiting [2024-03-20T21:15:26.874Z] 24f08c979578: Pushed [2024-03-20T21:15:26.874Z] 4c2d9dfdc3ab: Pushed [2024-03-20T21:15:26.874Z] 19d8e9da7b92: Pushed [2024-03-20T21:15:26.874Z] 1606ff8ca824: Pushed [2024-03-20T21:15:26.874Z] 7c504f21be85: Layer already exists [2024-03-20T21:15:33.505Z] ee2d23dde85b: Pushed [2024-03-20T21:15:33.505Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:33.859Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:34.214Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-03-20T21:15:34.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-03-20T21:15:34.214Z] 4c2d9dfdc3ab: Preparing [2024-03-20T21:15:34.214Z] 24f08c979578: Preparing [2024-03-20T21:15:34.214Z] ee2d23dde85b: Preparing [2024-03-20T21:15:34.214Z] 1606ff8ca824: Preparing [2024-03-20T21:15:34.214Z] 19d8e9da7b92: Preparing [2024-03-20T21:15:34.214Z] 7c504f21be85: Preparing [2024-03-20T21:15:34.214Z] 7c504f21be85: Waiting [2024-03-20T21:15:34.214Z] 4c2d9dfdc3ab: Layer already exists [2024-03-20T21:15:34.214Z] 19d8e9da7b92: Layer already exists [2024-03-20T21:15:34.214Z] 24f08c979578: Layer already exists [2024-03-20T21:15:34.214Z] ee2d23dde85b: Layer already exists [2024-03-20T21:15:34.214Z] 1606ff8ca824: Layer already exists [2024-03-20T21:15:34.214Z] 7c504f21be85: Layer already exists [2024-03-20T21:15:34.478Z] latest: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:34.827Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:35.173Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 [2024-03-20T21:15:35.173Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-03-20T21:15:35.173Z] 4c2d9dfdc3ab: Preparing [2024-03-20T21:15:35.173Z] 24f08c979578: Preparing [2024-03-20T21:15:35.173Z] ee2d23dde85b: Preparing [2024-03-20T21:15:35.173Z] 1606ff8ca824: Preparing [2024-03-20T21:15:35.173Z] 19d8e9da7b92: Preparing [2024-03-20T21:15:35.173Z] 7c504f21be85: Preparing [2024-03-20T21:15:35.173Z] 7c504f21be85: Waiting [2024-03-20T21:15:35.173Z] 24f08c979578: Layer already exists [2024-03-20T21:15:35.173Z] ee2d23dde85b: Layer already exists [2024-03-20T21:15:35.173Z] 4c2d9dfdc3ab: Layer already exists [2024-03-20T21:15:35.173Z] 19d8e9da7b92: Layer already exists [2024-03-20T21:15:35.173Z] 1606ff8ca824: Layer already exists [2024-03-20T21:15:35.173Z] 7c504f21be85: Layer already exists [2024-03-20T21:15:35.437Z] 3.2.0-dev.12: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:35.862Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:36.205Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:15:36.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-03-20T21:15:36.205Z] 4c2d9dfdc3ab: Preparing [2024-03-20T21:15:36.205Z] 24f08c979578: Preparing [2024-03-20T21:15:36.205Z] ee2d23dde85b: Preparing [2024-03-20T21:15:36.205Z] 1606ff8ca824: Preparing [2024-03-20T21:15:36.205Z] 19d8e9da7b92: Preparing [2024-03-20T21:15:36.205Z] 7c504f21be85: Preparing [2024-03-20T21:15:36.205Z] 7c504f21be85: Waiting [2024-03-20T21:15:36.205Z] 19d8e9da7b92: Layer already exists [2024-03-20T21:15:36.205Z] ee2d23dde85b: Layer already exists [2024-03-20T21:15:36.205Z] 1606ff8ca824: Layer already exists [2024-03-20T21:15:36.205Z] 24f08c979578: Layer already exists [2024-03-20T21:15:36.205Z] 4c2d9dfdc3ab: Layer already exists [2024-03-20T21:15:36.205Z] 7c504f21be85: Layer already exists [2024-03-20T21:15:36.205Z] 546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:36.560Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:36.904Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-03-20T21:15:36.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-03-20T21:15:36.904Z] 4c2d9dfdc3ab: Preparing [2024-03-20T21:15:36.904Z] 24f08c979578: Preparing [2024-03-20T21:15:36.904Z] ee2d23dde85b: Preparing [2024-03-20T21:15:36.904Z] 1606ff8ca824: Preparing [2024-03-20T21:15:36.904Z] 19d8e9da7b92: Preparing [2024-03-20T21:15:36.904Z] 7c504f21be85: Preparing [2024-03-20T21:15:36.904Z] 7c504f21be85: Waiting [2024-03-20T21:15:36.904Z] 24f08c979578: Layer already exists [2024-03-20T21:15:36.904Z] 19d8e9da7b92: Layer already exists [2024-03-20T21:15:36.904Z] 4c2d9dfdc3ab: Layer already exists [2024-03-20T21:15:36.904Z] ee2d23dde85b: Layer already exists [2024-03-20T21:15:36.904Z] 1606ff8ca824: Layer already exists [2024-03-20T21:15:36.904Z] 7c504f21be85: Layer already exists [2024-03-20T21:15:37.169Z] main: digest: sha256:6e243f07c28039090ea2216f6709714264ffdfb35a0e4ec96cb9b53291379f89 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-20T21:15:37.248Z] ===================================================== [Pipeline] echo [2024-03-20T21:15:37.263Z] taggedImages: [2024-03-20T21:15:37.263Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504 [2024-03-20T21:15:37.263Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-03-20T21:15:37.263Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.12 [2024-03-20T21:15:37.263Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:546a8bddbc250e09a9704dd77d22d2ef885b0504-3.2.0-dev.12 [2024-03-20T21:15:37.263Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:37.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T21:15:37.643Z] [2024-03-20T21:15:37.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:15:37.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T21:15:37.977Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-20T21:15:37.977Z] 8998bd30e6a1: Pulling fs layer [2024-03-20T21:15:37.977Z] 04944245beec: Pulling fs layer [2024-03-20T21:15:37.977Z] 699f458cf7ca: Pulling fs layer [2024-03-20T21:15:37.977Z] 765212b225bb: Pulling fs layer [2024-03-20T21:15:37.977Z] f23df028b6ca: Pulling fs layer [2024-03-20T21:15:37.977Z] d65c8cfc05b1: Pulling fs layer [2024-03-20T21:15:37.977Z] 2437ff75d9bd: Pulling fs layer [2024-03-20T21:15:37.977Z] d65c8cfc05b1: Waiting [2024-03-20T21:15:37.977Z] 765212b225bb: Waiting [2024-03-20T21:15:37.977Z] 2437ff75d9bd: Waiting [2024-03-20T21:15:37.977Z] f23df028b6ca: Waiting [2024-03-20T21:15:38.244Z] 04944245beec: Verifying Checksum [2024-03-20T21:15:38.244Z] 04944245beec: Download complete [2024-03-20T21:15:38.244Z] 765212b225bb: Verifying Checksum [2024-03-20T21:15:38.244Z] 765212b225bb: Download complete [2024-03-20T21:15:38.244Z] f23df028b6ca: Verifying Checksum [2024-03-20T21:15:38.244Z] f23df028b6ca: Download complete [2024-03-20T21:15:38.244Z] d65c8cfc05b1: Download complete [2024-03-20T21:15:38.513Z] 699f458cf7ca: Verifying Checksum [2024-03-20T21:15:38.513Z] 699f458cf7ca: Download complete [2024-03-20T21:15:38.779Z] 8998bd30e6a1: Verifying Checksum [2024-03-20T21:15:38.779Z] 8998bd30e6a1: Download complete [2024-03-20T21:15:41.359Z] 2437ff75d9bd: Verifying Checksum [2024-03-20T21:15:41.359Z] 2437ff75d9bd: Download complete [2024-03-20T21:15:43.301Z] 8998bd30e6a1: Pull complete [2024-03-20T21:15:43.883Z] 04944245beec: Pull complete [2024-03-20T21:15:45.819Z] 699f458cf7ca: Pull complete [2024-03-20T21:15:45.819Z] 765212b225bb: Pull complete [2024-03-20T21:15:46.401Z] f23df028b6ca: Pull complete [2024-03-20T21:15:46.667Z] d65c8cfc05b1: Pull complete [2024-03-20T21:16:04.865Z] 2437ff75d9bd: Pull complete [2024-03-20T21:16:04.865Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-20T21:16:04.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-20T21:16:04.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:16:05.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-489 does not seem to be running inside a container [2024-03-20T21:16:05.112Z] $ 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/164 -v /w/workspace/device-rest-go/164:/w/workspace/device-rest-go/164:rw,z -v /w/workspace/device-rest-go/164@tmp:/w/workspace/device-rest-go/164@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:arm64 cat [2024-03-20T21:16:07.757Z] $ docker top 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:16:08.591Z] ---> job-cost.sh [2024-03-20T21:16:08.591Z] lf-activate-venv: SKIPPING [2024-03-20T21:16:08.591Z] INFO: No Stack... [2024-03-20T21:16:09.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-20T21:16:10.125Z] INFO: Archiving Costs [Pipeline] sh [2024-03-20T21:16:10.756Z] + cat /w/workspace/device-rest-go/164/archives/cost.csv [2024-03-20T21:16:10.756Z] + cut -d, -f6 [Pipeline] lock [2024-03-20T21:16:10.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [2024-03-20T21:16:10.819Z] Resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] did not exist. Created. [2024-03-20T21:16:10.823Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-20T21:16:11.464Z] /w/workspace/device-rest-go/164@tmp/durable-ea4b69c5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-20T21:16:12.097Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-20T21:16:12.122Z] Warning: overwriting stash ‘stack-cost’ [2024-03-20T21:16:12.169Z] Stashed 1 file(s) [Pipeline] } [2024-03-20T21:16:12.177Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-20T21:16:12.202Z] $ docker stop --time=1 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 [2024-03-20T21:16:13.668Z] $ docker rm -f --volumes 7b52fea5ab6575ccb6b17bfef6b1ccf71d778cd71ac9039a09415b61f62c5505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-20T21:16:14.169Z] provisioning config files... [2024-03-20T21:16:14.176Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5017311275886848598tmp [Pipeline] { [Pipeline] sh [2024-03-20T21:16:14.474Z] + set +x [2024-03-20T21:16:14.474Z] + + curl -s https://codecov.io/bash [2024-03-20T21:16:14.474Z] bash -s -- [2024-03-20T21:16:14.474Z] [2024-03-20T21:16:14.474Z] _____ _ [2024-03-20T21:16:14.474Z] / ____| | | [2024-03-20T21:16:14.474Z] | | ___ __| | ___ ___ _____ __ [2024-03-20T21:16:14.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-20T21:16:14.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-20T21:16:14.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-20T21:16:14.474Z] Bash-1.0.6 [2024-03-20T21:16:14.474Z] [2024-03-20T21:16:14.474Z] [2024-03-20T21:16:14.474Z] ==> git version 2.25.1 found [2024-03-20T21:16:14.474Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-20T21:16:14.474Z] Release-Date: 2020-01-08 [2024-03-20T21:16:14.474Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-20T21:16:14.474Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-20T21:16:14.474Z] ==> Jenkins CI detected. [2024-03-20T21:16:14.474Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-03-20T21:16:14.474Z] project root: . [2024-03-20T21:16:14.474Z] --> token set from env [2024-03-20T21:16:14.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-20T21:16:14.474Z] ==> Running gcov in . (disable via -X gcov) [2024-03-20T21:16:14.474Z] ==> Python coveragepy not found [2024-03-20T21:16:14.474Z] ==> Searching for coverage reports in: [2024-03-20T21:16:14.474Z] + . [2024-03-20T21:16:14.733Z] -> Found 1 reports [2024-03-20T21:16:14.733Z] ==> Detecting git/mercurial file structure [2024-03-20T21:16:14.733Z] ==> Reading reports [2024-03-20T21:16:14.733Z] + ./coverage.out bytes=14499 [2024-03-20T21:16:14.733Z] ==> Appending adjustments [2024-03-20T21:16:14.733Z] https://docs.codecov.io/docs/fixing-reports [2024-03-20T21:16:14.733Z] + Found adjustments [2024-03-20T21:16:14.733Z] ==> Gzipping contents [2024-03-20T21:16:14.733Z] 4.0K /tmp/codecov.9GuuGO.gz [2024-03-20T21:16:14.733Z] ==> Uploading reports [2024-03-20T21:16:14.733Z] url: https://codecov.io [2024-03-20T21:16:14.733Z] query: branch=main&commit=546a8bddbc250e09a9704dd77d22d2ef885b0504&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-20T21:16:14.733Z] -> Pinging Codecov [2024-03-20T21:16:14.733Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=546a8bddbc250e09a9704dd77d22d2ef885b0504&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-20T21:16:15.303Z] -> Uploading to [2024-03-20T21:16:15.303Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-20/4E5D53B4F1F92C436F7061BF334D961C/546a8bddbc250e09a9704dd77d22d2ef885b0504/f9bbba57-1df0-46ac-9808-3ed907c24fcc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240320T211615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=514f3a715f78961792908d18071ecf37b281fccbd24abf02b8938cbce68ecc88 [2024-03-20T21:16:15.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-20T21:16:15.303Z] Dload Upload Total Spent Left Speed [2024-03-20T21:16:15.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 9210 --:--:-- --:--:-- --:--:-- 9173 [2024-03-20T21:16:15.564Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] } [2024-03-20T21:16:15.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-03-20T21:16:15.802Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-03-20T21:16:15.813Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:16:16.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-20T21:16:16.118Z] [2024-03-20T21:16:16.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:16:16.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-20T21:16:16.423Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-03-20T21:16:16.423Z] df9b9388f04a: Pulling fs layer [2024-03-20T21:16:16.423Z] 52dc419b0ee2: Pulling fs layer [2024-03-20T21:16:16.423Z] 25bc292e5bac: Pulling fs layer [2024-03-20T21:16:16.423Z] 114826534d7a: Pulling fs layer [2024-03-20T21:16:16.423Z] 4657fd5d0bcf: Pulling fs layer [2024-03-20T21:16:16.423Z] 6ad1cebc031e: Pulling fs layer [2024-03-20T21:16:16.423Z] 8a3aa393b2d8: Pulling fs layer [2024-03-20T21:16:16.423Z] 6ad1cebc031e: Waiting [2024-03-20T21:16:16.423Z] 8a3aa393b2d8: Waiting [2024-03-20T21:16:16.423Z] 25bc292e5bac: Verifying Checksum [2024-03-20T21:16:16.423Z] 25bc292e5bac: Download complete [2024-03-20T21:16:16.423Z] 52dc419b0ee2: Download complete [2024-03-20T21:16:16.423Z] 4657fd5d0bcf: Verifying Checksum [2024-03-20T21:16:16.423Z] 4657fd5d0bcf: Download complete [2024-03-20T21:16:16.423Z] df9b9388f04a: Download complete [2024-03-20T21:16:16.681Z] 6ad1cebc031e: Verifying Checksum [2024-03-20T21:16:16.681Z] df9b9388f04a: Pull complete [2024-03-20T21:16:16.681Z] 52dc419b0ee2: Pull complete [2024-03-20T21:16:16.681Z] 25bc292e5bac: Pull complete [2024-03-20T21:16:17.246Z] 114826534d7a: Verifying Checksum [2024-03-20T21:16:17.246Z] 114826534d7a: Download complete [2024-03-20T21:16:17.246Z] 8a3aa393b2d8: Verifying Checksum [2024-03-20T21:16:17.246Z] 8a3aa393b2d8: Download complete [2024-03-20T21:16:20.522Z] 114826534d7a: Pull complete [2024-03-20T21:16:20.522Z] 4657fd5d0bcf: Pull complete [2024-03-20T21:16:20.779Z] 6ad1cebc031e: Pull complete [2024-03-20T21:16:23.307Z] 8a3aa393b2d8: Pull complete [2024-03-20T21:16:23.307Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-03-20T21:16:23.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-20T21:16:23.307Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:16:23.407Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:16:23.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2024-03-20T21:16:31.002Z] $ docker top 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b -eo pid,comm [Pipeline] { [Pipeline] echo [2024-03-20T21:16:31.083Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-03-20T21:16:31.431Z] + set -o pipefail [2024-03-20T21:16:31.431Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-03-20T21:16:38.160Z] [2024-03-20T21:16:38.160Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-03-20T21:16:38.160Z] [2024-03-20T21:16:38.160Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2450d7ce-bd5e-4220-a769-284911fe22ca [2024-03-20T21:16:38.160Z] [2024-03-20T21:16:38.160Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-03-20T21:16:38.160Z] [2024-03-20T21:16:38.418Z] [2024-03-20T21:16:38.418Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-03-20T21:16:38.418Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-03-20T21:16:38.418Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2024-03-20T21:16:38.420Z] $ docker stop --time=1 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b [2024-03-20T21:16:43.900Z] $ docker rm -f --volumes 05b6f9ed240f22335c331e3489c9582ee5fc953b65a3d3002052a21e14077b7b [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 [2024-03-20T21:16:44.767Z] + git log --format=format:%s -1 546a8bddbc250e09a9704dd77d22d2ef885b0504 [Pipeline] sh [2024-03-20T21:16:45.057Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T21:16:45.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:16:45.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:16:45.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:16:45.440Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:16:45.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-20T21:16:45.948Z] $ docker top 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 -eo pid,comm [2024-03-20T21:16:46.000Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-20T21:16:46.000Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T21:16:46.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T21:16:46.042Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T21:16:46.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T21:16:46.154Z] $ docker exec 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 ssh-agent [2024-03-20T21:16:46.268Z] SSH_AUTH_SOCK=/tmp/ssh-eyZ1VE9lIUYI/agent.31 [2024-03-20T21:16:46.268Z] SSH_AGENT_PID=37 [2024-03-20T21:16:46.272Z] Running ssh-add (command line suppressed) [2024-03-20T21:16:46.362Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7827828511455907416.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7827828511455907416.key) [2024-03-20T21:16:46.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T21:16:46.678Z] + git semver tag [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,830 [run_tag] DEBUG tag force:False [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,830 [check_head_tag] DEBUG check head tag [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,831 [execute] INFO git cat-file --batch-check [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,835 [execute] INFO git cat-file --batch [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,855 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,855 [execute] INFO git tag -a v3.2.0-dev.12 -m v3.2.0-dev.12 [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,855 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.12', '-m', 'v3.2.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-20T21:16:46.937Z] 2024-03-20 21:16:46,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:16:46.937Z] 3.2.0-dev.12 [Pipeline] } [2024-03-20T21:16:46.938Z] $ docker exec --env ******** --env ******** 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 ssh-agent -k [2024-03-20T21:16:47.027Z] unset SSH_AUTH_SOCK; [2024-03-20T21:16:47.033Z] unset SSH_AGENT_PID; [2024-03-20T21:16:47.033Z] echo Agent pid 37 killed; [2024-03-20T21:16:47.046Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T21:16:47.370Z] + git semver [Pipeline] } [2024-03-20T21:16:47.633Z] $ docker stop --time=1 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 [2024-03-20T21:16:48.903Z] $ docker rm -f --volumes 0b626f88cb41fcf61d4af4f257f26d02c9d06a0fa34d0fdf7033a681a00229b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:16:49.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-20T21:16:49.305Z] [2024-03-20T21:16:49.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:16:49.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-20T21:16:49.605Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-03-20T21:16:49.605Z] ab5ef0e58194: Pulling fs layer [2024-03-20T21:16:49.605Z] 9712f1f96733: Pulling fs layer [2024-03-20T21:16:49.605Z] 63f879dbbcfc: Pulling fs layer [2024-03-20T21:16:49.605Z] 0d9ebad4ef96: Pulling fs layer [2024-03-20T21:16:49.605Z] e9a5061849ea: Pulling fs layer [2024-03-20T21:16:49.605Z] d747dcd14b5f: Pulling fs layer [2024-03-20T21:16:49.605Z] 2de7ff778b66: Pulling fs layer [2024-03-20T21:16:49.605Z] e9a5061849ea: Waiting [2024-03-20T21:16:49.605Z] d747dcd14b5f: Waiting [2024-03-20T21:16:49.605Z] 2de7ff778b66: Waiting [2024-03-20T21:16:49.605Z] 0d9ebad4ef96: Waiting [2024-03-20T21:16:49.605Z] 9712f1f96733: Download complete [2024-03-20T21:16:49.864Z] 63f879dbbcfc: Verifying Checksum [2024-03-20T21:16:49.864Z] 63f879dbbcfc: Download complete [2024-03-20T21:16:50.121Z] e9a5061849ea: Verifying Checksum [2024-03-20T21:16:50.121Z] e9a5061849ea: Download complete [2024-03-20T21:16:50.121Z] d747dcd14b5f: Download complete [2024-03-20T21:16:50.121Z] ab5ef0e58194: Verifying Checksum [2024-03-20T21:16:50.121Z] ab5ef0e58194: Download complete [2024-03-20T21:16:50.378Z] 0d9ebad4ef96: Verifying Checksum [2024-03-20T21:16:50.378Z] 2de7ff778b66: Verifying Checksum [2024-03-20T21:16:50.378Z] 2de7ff778b66: Download complete [2024-03-20T21:16:52.904Z] ab5ef0e58194: Pull complete [2024-03-20T21:16:52.904Z] 9712f1f96733: Pull complete [2024-03-20T21:16:53.468Z] 63f879dbbcfc: Pull complete [2024-03-20T21:16:57.656Z] 0d9ebad4ef96: Pull complete [2024-03-20T21:16:57.656Z] e9a5061849ea: Pull complete [2024-03-20T21:16:57.656Z] d747dcd14b5f: Pull complete [2024-03-20T21:16:58.223Z] 2de7ff778b66: Pull complete [2024-03-20T21:16:58.223Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-03-20T21:16:58.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-20T21:16:58.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:16:58.577Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:16:58.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-03-20T21:17:07.445Z] $ docker top 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:17:07.532Z] provisioning config files... [2024-03-20T21:17:07.541Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5543148062306706040tmp [2024-03-20T21:17:07.551Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6770432980687559834tmp [2024-03-20T21:17:07.559Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11035645560662944122tmp [Pipeline] { [Pipeline] echo [2024-03-20T21:17:07.657Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:07.947Z] ---> sigul-configuration.sh [2024-03-20T21:17:07.947Z] gpg: directory `/root/.gnupg' created [2024-03-20T21:17:07.947Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-03-20T21:17:07.947Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-03-20T21:17:07.947Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-03-20T21:17:07.947Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-03-20T21:17:07.947Z] gpg: CAST5 encrypted data [2024-03-20T21:17:07.947Z] gpg: encrypted with 1 passphrase [2024-03-20T21:17:07.947Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-03-20T21:17:08.240Z] + mkdir /home/jenkins [2024-03-20T21:17:08.240Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-03-20T21:17:08.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 [2024-03-20T21:17:08.546Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:08.878Z] ---> sigul-install.sh [2024-03-20T21:17:08.878Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-03-20T21:17:09.171Z] + git tag --list [2024-03-20T21:17:09.171Z] v1.0.0 [2024-03-20T21:17:09.171Z] v1.1.0 [2024-03-20T21:17:09.171Z] v1.1.1 [2024-03-20T21:17:09.171Z] v1.1.2 [2024-03-20T21:17:09.171Z] v1.2.0 [2024-03-20T21:17:09.171Z] v1.2.1 [2024-03-20T21:17:09.171Z] v2.0.0 [2024-03-20T21:17:09.171Z] v2.1.0 [2024-03-20T21:17:09.171Z] v2.1.1 [2024-03-20T21:17:09.171Z] v2.2.0 [2024-03-20T21:17:09.171Z] v2.3.0 [2024-03-20T21:17:09.171Z] v3.0 [2024-03-20T21:17:09.171Z] v3.0.0 [2024-03-20T21:17:09.171Z] v3.1 [2024-03-20T21:17:09.171Z] v3.1.0 [2024-03-20T21:17:09.171Z] v3.1.0-dev.1 [2024-03-20T21:17:09.171Z] v3.1.0-dev.10 [2024-03-20T21:17:09.171Z] v3.1.0-dev.11 [2024-03-20T21:17:09.171Z] v3.1.0-dev.12 [2024-03-20T21:17:09.171Z] v3.1.0-dev.13 [2024-03-20T21:17:09.171Z] v3.1.0-dev.14 [2024-03-20T21:17:09.171Z] v3.1.0-dev.15 [2024-03-20T21:17:09.171Z] v3.1.0-dev.16 [2024-03-20T21:17:09.171Z] v3.1.0-dev.17 [2024-03-20T21:17:09.171Z] v3.1.0-dev.18 [2024-03-20T21:17:09.171Z] v3.1.0-dev.19 [2024-03-20T21:17:09.171Z] v3.1.0-dev.2 [2024-03-20T21:17:09.171Z] v3.1.0-dev.20 [2024-03-20T21:17:09.171Z] v3.1.0-dev.21 [2024-03-20T21:17:09.171Z] v3.1.0-dev.22 [2024-03-20T21:17:09.171Z] v3.1.0-dev.23 [2024-03-20T21:17:09.171Z] v3.1.0-dev.24 [2024-03-20T21:17:09.171Z] v3.1.0-dev.25 [2024-03-20T21:17:09.171Z] v3.1.0-dev.26 [2024-03-20T21:17:09.171Z] v3.1.0-dev.27 [2024-03-20T21:17:09.171Z] v3.1.0-dev.28 [2024-03-20T21:17:09.171Z] v3.1.0-dev.29 [2024-03-20T21:17:09.171Z] v3.1.0-dev.3 [2024-03-20T21:17:09.171Z] v3.1.0-dev.30 [2024-03-20T21:17:09.171Z] v3.1.0-dev.31 [2024-03-20T21:17:09.171Z] v3.1.0-dev.32 [2024-03-20T21:17:09.171Z] v3.1.0-dev.4 [2024-03-20T21:17:09.171Z] v3.1.0-dev.5 [2024-03-20T21:17:09.171Z] v3.1.0-dev.6 [2024-03-20T21:17:09.171Z] v3.1.0-dev.7 [2024-03-20T21:17:09.171Z] v3.1.0-dev.8 [2024-03-20T21:17:09.171Z] v3.1.0-dev.9 [2024-03-20T21:17:09.171Z] v3.2.0-dev.1 [2024-03-20T21:17:09.171Z] v3.2.0-dev.10 [2024-03-20T21:17:09.171Z] v3.2.0-dev.11 [2024-03-20T21:17:09.171Z] v3.2.0-dev.12 [2024-03-20T21:17:09.171Z] v3.2.0-dev.2 [2024-03-20T21:17:09.171Z] v3.2.0-dev.3 [2024-03-20T21:17:09.171Z] v3.2.0-dev.4 [2024-03-20T21:17:09.171Z] v3.2.0-dev.5 [2024-03-20T21:17:09.171Z] v3.2.0-dev.6 [2024-03-20T21:17:09.171Z] v3.2.0-dev.7 [2024-03-20T21:17:09.171Z] v3.2.0-dev.8 [2024-03-20T21:17:09.171Z] v3.2.0-dev.9 [Pipeline] sh [2024-03-20T21:17:09.462Z] + lftools sign git-tag v3.2.0-dev.12 [2024-03-20T21:17:10.027Z] Signing Git tag with Sigul... [2024-03-20T21:17:10.027Z] Signing v3.2.0-dev.12 [Pipeline] echo [2024-03-20T21:17:10.299Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:10.585Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-03-20T21:17:10.590Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-03-20T21:17:10.606Z] $ docker stop --time=1 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a [2024-03-20T21:17:11.880Z] $ docker rm -f --volumes 7e1f03cb2bd58407fc36e52ab9e2242fec50b04137c2c2a0a8f196b0f096c48a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-03-20T21:17:12.336Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T21:17:12.336Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:17:12.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:17:12.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:17:12.712Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:17:12.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-20T21:17:13.098Z] $ docker top 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 -eo pid,comm [2024-03-20T21:17:13.153Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-20T21:17:13.153Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T21:17:13.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T21:17:13.204Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T21:17:13.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T21:17:13.313Z] $ docker exec 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 ssh-agent [2024-03-20T21:17:13.445Z] SSH_AUTH_SOCK=/tmp/ssh-g3C01tPlV0z8/agent.33 [2024-03-20T21:17:13.445Z] SSH_AGENT_PID=39 [2024-03-20T21:17:13.450Z] Running ssh-add (command line suppressed) [2024-03-20T21:17:13.537Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11669562542874564147.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11669562542874564147.key) [2024-03-20T21:17:13.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T21:17:13.851Z] + git semver bump pre [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [bump_version] DEBUG bumping version:3.2.0-dev.12 on axis:pre with prefix:dev [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [bump_version] DEBUG bumped version:3.2.0-dev.13 [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [write_version] DEBUG write version:3.2.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,011 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,013 [execute] INFO git cat-file --batch-check [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,018 [execute] INFO git cat-file --batch [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T21:17:14.110Z] 2024-03-20 21:17:14,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:17:14.110Z] 3.2.0-dev.13 [Pipeline] } [2024-03-20T21:17:14.112Z] $ docker exec --env ******** --env ******** 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 ssh-agent -k [2024-03-20T21:17:14.217Z] unset SSH_AUTH_SOCK; [2024-03-20T21:17:14.218Z] unset SSH_AGENT_PID; [2024-03-20T21:17:14.218Z] echo Agent pid 39 killed; [2024-03-20T21:17:14.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T21:17:14.555Z] + git semver [Pipeline] } [2024-03-20T21:17:14.820Z] $ docker stop --time=1 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 [2024-03-20T21:17:16.094Z] $ docker rm -f --volumes 00312f540015a71874fdb2b8077190c93eed992a962df8a2a3c616dd2563caa8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-20T21:17:16.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-20T21:17:16.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:17:16.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-20T21:17:16.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:17:16.827Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:17:16.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-20T21:17:17.161Z] $ docker top 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a -eo pid,comm [2024-03-20T21:17:17.215Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-20T21:17:17.215Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-20T21:17:17.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-20T21:17:17.269Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-20T21:17:17.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-20T21:17:17.382Z] $ docker exec 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a ssh-agent [2024-03-20T21:17:17.488Z] SSH_AUTH_SOCK=/tmp/ssh-ERubKVHrknG9/agent.33 [2024-03-20T21:17:17.488Z] SSH_AGENT_PID=39 [2024-03-20T21:17:17.493Z] Running ssh-add (command line suppressed) [2024-03-20T21:17:17.588Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9121517917573966729.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9121517917573966729.key) [2024-03-20T21:17:17.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-20T21:17:17.900Z] + git semver push [2024-03-20T21:17:18.159Z] 2024-03-20 21:17:18,083 [run_push] DEBUG push [2024-03-20T21:17:18.159Z] 2024-03-20 21:17:18,084 [execute] INFO git cat-file --batch-check [2024-03-20T21:17:18.159Z] 2024-03-20 21:17:18,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-20T21:17:18.159Z] 2024-03-20 21:17:18,088 [execute] INFO git rev-list 23ed6c0e1ce61043a4b8bc7937fda120eb7b9a75 -- [2024-03-20T21:17:18.160Z] 2024-03-20 21:17:18,088 [execute] DEBUG Popen(['git', 'rev-list', '23ed6c0e1ce61043a4b8bc7937fda120eb7b9a75', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-20T21:17:18.160Z] 2024-03-20 21:17:18,097 [execute] INFO git fetch -v origin [2024-03-20T21:17:18.160Z] 2024-03-20 21:17:18,098 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-03-20T21:17:18.728Z] 2024-03-20 21:17:18,594 [run_push] DEBUG no remote changes detected [2024-03-20T21:17:18.728Z] 2024-03-20 21:17:18,594 [execute] INFO git push origin semver [2024-03-20T21:17:18.728Z] 2024-03-20 21:17:18,594 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-20T21:17:19.664Z] 2024-03-20 21:17:19,470 [run_push] DEBUG push all version tags [2024-03-20T21:17:19.664Z] 2024-03-20 21:17:19,470 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-03-20T21:17:19.664Z] 2024-03-20 21:17:19,471 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-20T21:17:20.338Z] 2024-03-20 21:17:20,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-03-20T21:17:20.338Z] 3.2.0-dev.13 [Pipeline] } [2024-03-20T21:17:20.339Z] $ docker exec --env ******** --env ******** 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a ssh-agent -k [2024-03-20T21:17:20.443Z] unset SSH_AUTH_SOCK; [2024-03-20T21:17:20.443Z] unset SSH_AGENT_PID; [2024-03-20T21:17:20.444Z] echo Agent pid 39 killed; [2024-03-20T21:17:20.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-20T21:17:20.787Z] + git semver [Pipeline] } [2024-03-20T21:17:21.051Z] $ docker stop --time=1 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a [2024-03-20T21:17:22.291Z] $ docker rm -f --volumes 8332b9e623aa91f588400a675039dfb7e3a092e173b7f8b48d477c287650f94a [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 [2024-03-20T21:17:22.892Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-03-20T21:17:22.892Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-03-20T21:17:22.892Z] total 16 [2024-03-20T21:17:22.892Z] drwxr-xr-x 3 root root 4096 Mar 20 21:05 . [2024-03-20T21:17:22.892Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 21:17 .. [2024-03-20T21:17:22.892Z] drwxr-xr-x 2 root root 4096 Mar 20 21:05 cost [2024-03-20T21:17:22.892Z] -rw-r--r-- 1 root root 86 Mar 20 21:05 cost.csv [2024-03-20T21:17:22.892Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-03-20T21:17:22.892Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-03-20T21:17:22.892Z] total 16 [2024-03-20T21:17:22.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 21:05 . [2024-03-20T21:17:22.892Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 21:17 .. [2024-03-20T21:17:22.892Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 21:05 cost [2024-03-20T21:17:22.892Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:23.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:24.041Z] ---> package-listing.sh [2024-03-20T21:17:24.041Z] ++ facter osfamily [2024-03-20T21:17:24.041Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-20T21:17:24.300Z] + OS_FAMILY=debian [2024-03-20T21:17:24.300Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-03-20T21:17:24.300Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-20T21:17:24.300Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-20T21:17:24.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-20T21:17:24.300Z] + PACKAGES=/tmp/packages_start.txt [2024-03-20T21:17:24.300Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-03-20T21:17:24.300Z] + PACKAGES=/tmp/packages_end.txt [2024-03-20T21:17:24.300Z] + case "${OS_FAMILY}" in [2024-03-20T21:17:24.300Z] + grep '^ii' [2024-03-20T21:17:24.300Z] + dpkg -l [2024-03-20T21:17:24.300Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-20T21:17:24.300Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-20T21:17:24.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-20T21:17:24.300Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-03-20T21:17:24.300Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-03-20T21:17:24.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-03-20T21:17:24.312Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-20T21:17:24.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-20T21:17:25.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-20T21:17:25.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-20T21:17:25.241Z] prd-ubuntu20.04-docker-8c-8g-487 does not seem to be running inside a container [2024-03-20T21:17:25.267Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-20T21:17:25.457Z] $ docker top c9271f904da8f3c622e6d0b7784b5baaef3eb71b05d98a5c56de79dc50009605 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-20T21:17:25.810Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-20T21:17:26.094Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-20T21:17:26.379Z] + ls /var/log/sa-host [2024-03-20T21:17:26.379Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-20T21:17:26.453Z] provisioning config files... [2024-03-20T21:17:26.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7619763170920819705tmp [Pipeline] { [Pipeline] echo [2024-03-20T21:17:26.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:26.767Z] ---> create-netrc.sh [Pipeline] } [2024-03-20T21:17:26.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:27.098Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-20T21:17:27.107Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:27.394Z] ---> sudo-logs.sh [2024-03-20T21:17:27.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-20T21:17:27.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:27.707Z] ---> job-cost.sh [2024-03-20T21:17:27.707Z] lf-activate-venv: SKIPPING [2024-03-20T21:17:27.707Z] DEBUG: total: 0.2199999988079071 [2024-03-20T21:17:27.707Z] INFO: Retrieving Stack Cost... [2024-03-20T21:17:27.967Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-20T21:17:28.533Z] INFO: Archiving Costs [Pipeline] echo [2024-03-20T21:17:28.543Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-20T21:17:28.825Z] ---> logs-deploy.sh [2024-03-20T21:17:28.825Z] lf-activate-venv: SKIPPING [2024-03-20T21:17:28.825Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/164 [2024-03-20T21:17:28.825Z] INFO: archiving workspace using pattern(s): [2024-03-20T21:17:29.760Z] Archives upload complete. [2024-03-20T21:17:29.760Z] INFO: archiving logs to Nexus