Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 361e34ad238f1f05923baf29fae00e57c159c00c 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-ssh5400145476203285339.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5576879492021171810.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3566635342499561031.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9102025957342279725.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-ssh5213055951196326146.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5946 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 361e34ad238f1f05923baf29fae00e57c159c00c (main) Commit message: "feat!: updates for common config (#251)" > git config core.sparsecheckout # timeout=10 > git checkout -f 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 > git rev-list --no-walk b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:40:54.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:40:54.431Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:40:54.444Z] ========================================================= [2023-02-15T00:40:54.444Z] EdgeX Global Pipelines Version Info [2023-02-15T00:40:54.444Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:40:55.564Z] ------------------- [2023-02-15T00:40:55.564Z] stable info: [2023-02-15T00:40:55.564Z] ------------------- [2023-02-15T00:40:55.564Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:40:55.565Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:40:55.565Z] Message: update stable to v1.0.244 [2023-02-15T00:40:55.824Z] ------------------- [2023-02-15T00:40:55.824Z] experimental info: [2023-02-15T00:40:55.824Z] ------------------- [2023-02-15T00:40:55.824Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:40:55.824Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:40:55.824Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:40:55.970Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T00:40:55.979Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T00:40:55.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:40:55.995Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:40:56.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:40:56.011Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:40:56.019Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:40:56.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:40:56.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:40:56.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:40:56.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:40:56.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T00:40:56.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:40:56.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:40:56.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:40:56.100Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:40:56.112Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:40:56.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:40:56.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:40:56.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:40:56.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T00:40:56.153Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T00:40:56.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:40:56.170Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:40:56.178Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:40:56.186Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:40:56.195Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:40:56.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-15T00:40:56.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-15T00:40:56.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-15T00:40:56.227Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo [2023-02-15T00:40:56.235Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 361e34a [Pipeline] echo [2023-02-15T00:40:56.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:40:56.290Z] provisioning config files... [2023-02-15T00:40:56.304Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12975262007540425471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:40:56.612Z] ---> docker-login.sh [2023-02-15T00:40:56.612Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:40:56.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:40:56.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:40:56.872Z] Configure a credential helper to remove this warning. See [2023-02-15T00:40:56.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:40:56.872Z] [2023-02-15T00:40:56.872Z] Login Succeeded [2023-02-15T00:40:56.872Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:40:57.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:40:57.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:40:57.133Z] Configure a credential helper to remove this warning. See [2023-02-15T00:40:57.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:40:57.133Z] [2023-02-15T00:40:57.133Z] Login Succeeded [2023-02-15T00:40:57.133Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:40:57.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:40:57.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:40:57.133Z] Configure a credential helper to remove this warning. See [2023-02-15T00:40:57.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:40:57.133Z] [2023-02-15T00:40:57.133Z] Login Succeeded [2023-02-15T00:40:57.133Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:40:57.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:40:57.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:40:57.395Z] Configure a credential helper to remove this warning. See [2023-02-15T00:40:57.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:40:57.395Z] [2023-02-15T00:40:57.395Z] Login Succeeded [2023-02-15T00:40:57.395Z] docker.io [2023-02-15T00:40:57.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:40:57.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:40:57.656Z] Configure a credential helper to remove this warning. See [2023-02-15T00:40:57.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:40:57.656Z] [2023-02-15T00:40:57.656Z] Login Succeeded [2023-02-15T00:40:57.656Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:40:57.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:40:58.030Z] + git rev-list -1 --merges 361e34ad238f1f05923baf29fae00e57c159c00c~1..361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo [2023-02-15T00:40:58.081Z] -----------> git rev-list -1 --merges 361e34ad238f1f05923baf29fae00e57c159c00c~1..361e34ad238f1f05923baf29fae00e57c159c00c 361e34ad238f1f05923baf29fae00e57c159c00c [false] [Pipeline] sh [2023-02-15T00:40:58.374Z] + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo [2023-02-15T00:40:58.390Z] ========================================================= [2023-02-15T00:40:58.390Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:40:58.390Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:40:58.708Z] + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] echo [2023-02-15T00:40:58.718Z] [semverPrep] GIT_COMMIT: 361e34ad238f1f05923baf29fae00e57c159c00c, Commit Message: feat!: updates for common config (#251) [Pipeline] echo [2023-02-15T00:40:58.727Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:40:59.075Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:40:59.075Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:40:59.075Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:40:59.075Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:40:59.075Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:40:59.075Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:40:59.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:40:59.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:40:59.494Z] [2023-02-15T00:40:59.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:40:59.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:40:59.808Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:40:59.808Z] b85a868b505f: Pulling fs layer [2023-02-15T00:40:59.808Z] e2be974225ed: Pulling fs layer [2023-02-15T00:40:59.808Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:40:59.808Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:40:59.808Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:40:59.808Z] eaf3925da568: Pulling fs layer [2023-02-15T00:40:59.808Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:40:59.808Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:40:59.808Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:40:59.808Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:40:59.808Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:40:59.808Z] 1469e6f7b9e6: Waiting [2023-02-15T00:40:59.808Z] eaf3925da568: Waiting [2023-02-15T00:40:59.808Z] bab4dde63d76: Waiting [2023-02-15T00:40:59.808Z] 988bab9f4d93: Waiting [2023-02-15T00:40:59.808Z] b352a97aabf1: Waiting [2023-02-15T00:40:59.808Z] 4872d77fe225: Waiting [2023-02-15T00:40:59.808Z] 5851b861e8e6: Waiting [2023-02-15T00:40:59.808Z] bde34c3a00c8: Waiting [2023-02-15T00:41:00.070Z] e2be974225ed: Verifying Checksum [2023-02-15T00:41:00.070Z] e2be974225ed: Download complete [2023-02-15T00:41:00.070Z] 988bab9f4d93: Download complete [2023-02-15T00:41:00.070Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:41:00.070Z] 1469e6f7b9e6: Download complete [2023-02-15T00:41:00.070Z] eaf3925da568: Verifying Checksum [2023-02-15T00:41:00.070Z] eaf3925da568: Download complete [2023-02-15T00:41:00.331Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:41:00.331Z] 339a4e72a1f5: Download complete [2023-02-15T00:41:00.331Z] bde34c3a00c8: Download complete [2023-02-15T00:41:00.331Z] b352a97aabf1: Download complete [2023-02-15T00:41:00.331Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:41:00.331Z] 4872d77fe225: Download complete [2023-02-15T00:41:00.331Z] 5851b861e8e6: Download complete [2023-02-15T00:41:00.331Z] b85a868b505f: Verifying Checksum [2023-02-15T00:41:00.331Z] b85a868b505f: Download complete [2023-02-15T00:41:00.589Z] bab4dde63d76: Download complete [2023-02-15T00:41:01.527Z] b85a868b505f: Pull complete [2023-02-15T00:41:01.787Z] e2be974225ed: Pull complete [2023-02-15T00:41:02.357Z] 339a4e72a1f5: Pull complete [2023-02-15T00:41:02.931Z] 988bab9f4d93: Pull complete [2023-02-15T00:41:04.317Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:41:04.576Z] eaf3925da568: Pull complete [2023-02-15T00:41:07.131Z] bab4dde63d76: Pull complete [2023-02-15T00:41:08.067Z] bde34c3a00c8: Pull complete [2023-02-15T00:41:08.326Z] b352a97aabf1: Pull complete [2023-02-15T00:41:08.585Z] 4872d77fe225: Pull complete [2023-02-15T00:41:08.585Z] 5851b861e8e6: Pull complete [2023-02-15T00:41:08.585Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:41:08.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:41:08.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:41:08.670Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:41:08.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:41:13.318Z] $ docker top c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 -eo pid,comm [2023-02-15T00:41:13.379Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T00:41:13.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:41:13.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:41:13.409Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:41:13.506Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:41:13.512Z] $ docker exec c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent [2023-02-15T00:41:13.627Z] SSH_AUTH_SOCK=/tmp/ssh-wHkEqrHg9BoX/agent.31 [2023-02-15T00:41:13.627Z] SSH_AGENT_PID=37 [2023-02-15T00:41:13.633Z] Running ssh-add (command line suppressed) [2023-02-15T00:41:13.772Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16187269274413055000.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16187269274413055000.key) [2023-02-15T00:41:13.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:41:14.072Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:41:14.084Z] $ docker exec --env ******** --env ******** c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent -k [2023-02-15T00:41:14.182Z] unset SSH_AUTH_SOCK; [2023-02-15T00:41:14.182Z] unset SSH_AGENT_PID; [2023-02-15T00:41:14.183Z] echo Agent pid 37 killed; [2023-02-15T00:41:14.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:41:14.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:41:14.214Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:41:14.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:41:14.324Z] $ docker exec c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent [2023-02-15T00:41:14.429Z] SSH_AUTH_SOCK=/tmp/ssh-JhrCtljrL4HV/agent.70 [2023-02-15T00:41:14.430Z] SSH_AGENT_PID=76 [2023-02-15T00:41:14.435Z] Running ssh-add (command line suppressed) [2023-02-15T00:41:14.536Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18382888746740919709.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18382888746740919709.key) [2023-02-15T00:41:14.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:41:14.886Z] + git semver init [2023-02-15T00:41:15.146Z] 2023-02-15 00:41:15,073 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:41:15.146Z] 2023-02-15 00:41:15,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-15T00:41:15.146Z] 2023-02-15 00:41:15,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-15T00:41:15.146Z] 2023-02-15 00:41:15,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:41:16.523Z] 2023-02-15 00:41:16,300 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-02-15T00:41:16.523Z] 2023-02-15 00:41:16,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-02-15T00:41:16.523Z] 2023-02-15 00:41:16,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:41:16.523Z] 2023-02-15 00:41:16,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:41:16.523Z] 3.0.0-dev.9 [Pipeline] } [2023-02-15T00:41:16.533Z] $ docker exec --env ******** --env ******** c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 ssh-agent -k [2023-02-15T00:41:16.663Z] unset SSH_AUTH_SOCK; [2023-02-15T00:41:16.663Z] unset SSH_AGENT_PID; [2023-02-15T00:41:16.663Z] echo Agent pid 76 killed; [2023-02-15T00:41:16.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:41:16.987Z] + git semver [Pipeline] } [2023-02-15T00:41:17.256Z] $ docker stop --time=1 c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 [2023-02-15T00:41:18.730Z] $ docker rm -f --volumes c9cfe9bd80e7b770f03a231ee69c2f0c092354484db808809ec01611832900a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:41:19.067Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:41:19.301Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:41:19.305Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:41:19.466Z] provisioning config files... [2023-02-15T00:41:19.541Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1917421093649394498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:41:19.834Z] ---> docker-login.sh [2023-02-15T00:41:19.834Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:41:19.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:41:19.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:41:19.834Z] Configure a credential helper to remove this warning. See [2023-02-15T00:41:19.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:41:19.834Z] [2023-02-15T00:41:19.834Z] Login Succeeded [2023-02-15T00:41:19.834Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:41:19.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:41:19.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:41:19.834Z] Configure a credential helper to remove this warning. See [2023-02-15T00:41:19.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:41:19.834Z] [2023-02-15T00:41:19.834Z] Login Succeeded [2023-02-15T00:41:19.834Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:41:20.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:41:20.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:41:20.093Z] Configure a credential helper to remove this warning. See [2023-02-15T00:41:20.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:41:20.093Z] [2023-02-15T00:41:20.093Z] Login Succeeded [2023-02-15T00:41:20.093Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:41:20.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:41:20.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:41:20.093Z] Configure a credential helper to remove this warning. See [2023-02-15T00:41:20.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:41:20.093Z] [2023-02-15T00:41:20.093Z] Login Succeeded [2023-02-15T00:41:20.093Z] docker.io [2023-02-15T00:41:20.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:41:20.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:41:20.612Z] Configure a credential helper to remove this warning. See [2023-02-15T00:41:20.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:41:20.612Z] [2023-02-15T00:41:20.612Z] Login Succeeded [2023-02-15T00:41:20.612Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:41:20.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:41:20.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:41:20.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:41:20.710Z] ========================================================= [2023-02-15T00:41:20.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:41:20.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:41:21.024Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:41:21.024Z] Sending build context to Docker daemon 10.82MB [2023-02-15T00:41:21.024Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:41:21.024Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:41:21.288Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:41:21.288Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:41:21.288Z] 4583459ba037: Pulling fs layer [2023-02-15T00:41:21.288Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:41:21.288Z] 53926ce57604: Pulling fs layer [2023-02-15T00:41:21.288Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:41:21.288Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:41:21.288Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:41:21.288Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:41:21.288Z] a7acece74701: Pulling fs layer [2023-02-15T00:41:21.288Z] 53926ce57604: Waiting [2023-02-15T00:41:21.288Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:41:21.288Z] 12d6caf4c0d1: Waiting [2023-02-15T00:41:21.288Z] 96b7cbca73a9: Waiting [2023-02-15T00:41:21.288Z] a7acece74701: Waiting [2023-02-15T00:41:21.288Z] 22ff95d597cd: Waiting [2023-02-15T00:41:21.288Z] 93c1e223e6f2: Download complete [2023-02-15T00:41:21.288Z] 4583459ba037: Verifying Checksum [2023-02-15T00:41:21.288Z] 4583459ba037: Download complete [2023-02-15T00:41:21.288Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:41:21.288Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:41:21.288Z] 22ff95d597cd: Download complete [2023-02-15T00:41:21.288Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:41:21.288Z] 213ec9aee27d: Download complete [2023-02-15T00:41:21.550Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T00:41:21.550Z] 12d6caf4c0d1: Download complete [2023-02-15T00:41:21.819Z] 213ec9aee27d: Pull complete [2023-02-15T00:41:22.082Z] 4583459ba037: Pull complete [2023-02-15T00:41:22.356Z] a7acece74701: Verifying Checksum [2023-02-15T00:41:22.356Z] a7acece74701: Download complete [2023-02-15T00:41:22.356Z] 93c1e223e6f2: Pull complete [2023-02-15T00:41:22.618Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:41:22.618Z] 96b7cbca73a9: Download complete [2023-02-15T00:41:22.618Z] 53926ce57604: Verifying Checksum [2023-02-15T00:41:22.618Z] 53926ce57604: Download complete [2023-02-15T00:41:26.824Z] 53926ce57604: Pull complete [2023-02-15T00:41:27.391Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:41:27.391Z] 22ff95d597cd: Pull complete [2023-02-15T00:41:27.960Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:41:29.861Z] 96b7cbca73a9: Pull complete [2023-02-15T00:41:31.272Z] a7acece74701: Pull complete [2023-02-15T00:41:31.272Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:41:31.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:41:31.532Z] ---> db6d94c90886 [2023-02-15T00:41:31.532Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:41:34.418Z] Still waiting to schedule task [2023-02-15T00:41:34.418Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ [2023-02-15T00:41:41.507Z] ---> Running in 68d542979553 [2023-02-15T00:41:41.507Z] Removing intermediate container 68d542979553 [2023-02-15T00:41:41.507Z] ---> dda0d95d744f [2023-02-15T00:41:41.507Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:41:41.507Z] ---> Running in ee5447ba5b25 [2023-02-15T00:41:41.507Z] Removing intermediate container ee5447ba5b25 [2023-02-15T00:41:41.507Z] ---> eb1dd947d385 [2023-02-15T00:41:41.507Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:41:41.507Z] ---> Running in f86ce0a03eba [2023-02-15T00:41:41.507Z] Removing intermediate container f86ce0a03eba [2023-02-15T00:41:41.507Z] ---> 32a89cee519d [2023-02-15T00:41:41.507Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:41:41.507Z] ---> Running in b36652f4c4ad [2023-02-15T00:41:41.507Z] Removing intermediate container b36652f4c4ad [2023-02-15T00:41:41.507Z] ---> a0aa3b9675e6 [2023-02-15T00:41:41.507Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:41:41.507Z] ---> Running in c6eac9cc634c [2023-02-15T00:41:41.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:41:41.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:41:41.507Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:41:41.507Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:41:41.507Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:41:41.507Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:41:41.507Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:41:41.507Z] OK: 216 MiB in 55 packages [2023-02-15T00:41:42.075Z] Removing intermediate container c6eac9cc634c [2023-02-15T00:41:42.075Z] ---> 012f98d3fc6a [2023-02-15T00:41:42.075Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:41:42.075Z] ---> Running in ca2994323c95 [2023-02-15T00:41:42.075Z] Removing intermediate container ca2994323c95 [2023-02-15T00:41:42.075Z] ---> 0fc79c4a6fd4 [2023-02-15T00:41:42.075Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:41:42.075Z] ---> 1f28ad2fd031 [2023-02-15T00:41:42.075Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:41:42.334Z] ---> Running in 06752d217017 [2023-02-15T00:42:29.057Z] Removing intermediate container 06752d217017 [2023-02-15T00:42:29.057Z] ---> 92d1508c53c6 [2023-02-15T00:42:29.057Z] Step 11/12 : COPY . . [2023-02-15T00:42:29.057Z] ---> 9e6af5596140 [2023-02-15T00:42:29.057Z] Step 12/12 : RUN $MAKE [2023-02-15T00:42:29.057Z] ---> Running in 96272c4a842c [2023-02-15T00:42:29.057Z] noop [2023-02-15T00:42:29.057Z] Removing intermediate container 96272c4a842c [2023-02-15T00:42:29.057Z] ---> 749327d289e1 [2023-02-15T00:42:29.057Z] Successfully built 749327d289e1 [2023-02-15T00:42:29.057Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:29.369Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:42:29.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:42:29.443Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:42:29.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T00:42:29.790Z] $ docker top b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:42:30.130Z] + go version [2023-02-15T00:42:30.130Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:42:30.143Z] $ docker stop --time=1 b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 [2023-02-15T00:42:31.444Z] $ docker rm -f --volumes b0aa407948db758d9822e93a7d186ab558bce8072b7a38b517c9814ca19ac110 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:31.824Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:42:31.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:42:31.903Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:42:31.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T00:42:32.268Z] $ docker top a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:42:32.620Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:42:32.920Z] + make test [2023-02-15T00:42:32.920Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:42:33.183Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:42:43.167Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:42:43.167Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-15T00:42:48.425Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T00:42:48.425Z] go vet ./... [2023-02-15T00:42:50.946Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:42:50.946Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:42:50.946Z] ./bin/test-attribution-txt.sh [2023-02-15T00:42:50.946Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:42:50.946Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:42:50.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:42:50.979Z] $ docker stop --time=1 a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 [2023-02-15T00:42:53.744Z] $ docker rm -f --volumes a030542fbf52d1458c3f09597ab985a18dbfb3d202da892fb2ea0c994fe88054 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:42:54.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:42:54.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:42:54.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:42:55.029Z] + ls -al . [2023-02-15T00:42:55.029Z] total 188 [2023-02-15T00:42:55.029Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:42 . [2023-02-15T00:42:55.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:40 .. [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:40 .dockerignore [2023-02-15T00:42:55.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:42 .git [2023-02-15T00:42:55.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:40 .github [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:40 .gitignore [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:40 .golangci.yml [2023-02-15T00:42:55.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:41 .semver [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:40 Attribution.txt [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:40 CHANGELOG.md [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:40 Dockerfile [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:40 GOVERNANCE.md [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:40 Jenkinsfile [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:40 LICENSE [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:40 Makefile [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:40 OWNERS.md [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:40 README.md [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 15 00:41 VERSION [2023-02-15T00:42:55.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:40 bin [2023-02-15T00:42:55.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:40 cmd [2023-02-15T00:42:55.029Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:42 coverage.out [2023-02-15T00:42:55.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:40 driver [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:40 go.mod [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:40 go.sum [2023-02-15T00:42:55.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:40 snap [2023-02-15T00:42:55.029Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:42:55.340Z] + 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=361e34ad238f1f05923baf29fae00e57c159c00c --label arch=amd64 --label version=3.0.0-dev.9 . [2023-02-15T00:42:55.340Z] Sending build context to Docker daemon 10.84MB [2023-02-15T00:42:55.340Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:42:55.340Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:42:55.340Z] ---> 749327d289e1 [2023-02-15T00:42:55.340Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:42:55.598Z] ---> Running in 01143b6d8ac2 [2023-02-15T00:42:55.598Z] Removing intermediate container 01143b6d8ac2 [2023-02-15T00:42:55.598Z] ---> 50a961a93574 [2023-02-15T00:42:55.598Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:42:55.598Z] ---> Running in b5fbc154296f [2023-02-15T00:42:55.911Z] Removing intermediate container b5fbc154296f [2023-02-15T00:42:55.911Z] ---> b05df599dc2f [2023-02-15T00:42:55.911Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:42:55.911Z] ---> Running in 0d5acfafb45f [2023-02-15T00:42:55.911Z] Removing intermediate container 0d5acfafb45f [2023-02-15T00:42:55.911Z] ---> 9d6ed65418ba [2023-02-15T00:42:55.911Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:42:55.911Z] ---> Running in 0d68775b1c14 [2023-02-15T00:42:55.911Z] Removing intermediate container 0d68775b1c14 [2023-02-15T00:42:55.911Z] ---> c08a37781000 [2023-02-15T00:42:55.911Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:42:55.911Z] ---> Running in 7906c9391ca8 [2023-02-15T00:42:56.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:56.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:42:56.721Z] OK: 216 MiB in 55 packages [2023-02-15T00:42:57.003Z] Removing intermediate container 7906c9391ca8 [2023-02-15T00:42:57.003Z] ---> 1f9d15db394b [2023-02-15T00:42:57.003Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:42:57.003Z] ---> Running in bfb466ea115a [2023-02-15T00:42:57.280Z] Removing intermediate container bfb466ea115a [2023-02-15T00:42:57.280Z] ---> 828cdff05b02 [2023-02-15T00:42:57.280Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:42:57.280Z] ---> 83f44e6a2eda [2023-02-15T00:42:57.280Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:42:57.280Z] ---> Running in 85fc267e8485 [2023-02-15T00:42:58.405Z] Removing intermediate container 85fc267e8485 [2023-02-15T00:42:58.405Z] ---> 5469e4bf3e41 [2023-02-15T00:42:58.405Z] Step 11/25 : COPY . . [2023-02-15T00:42:58.663Z] ---> ca7a092eaa23 [2023-02-15T00:42:58.663Z] Step 12/25 : RUN $MAKE [2023-02-15T00:42:58.663Z] ---> Running in 9936b2d55f44 [2023-02-15T00:42:58.921Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T00:43:20.843Z] Removing intermediate container 9936b2d55f44 [2023-02-15T00:43:20.843Z] ---> 83e2fc70a639 [2023-02-15T00:43:20.843Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:43:20.843Z] 3.16: Pulling from library/alpine [2023-02-15T00:43:20.843Z] ef5531b6e74e: Pulling fs layer [2023-02-15T00:43:20.843Z] ef5531b6e74e: Verifying Checksum [2023-02-15T00:43:20.843Z] ef5531b6e74e: Download complete [2023-02-15T00:43:20.843Z] ef5531b6e74e: Pull complete [2023-02-15T00:43:20.843Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:43:20.843Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:43:20.843Z] ---> dfd21b5a31f5 [2023-02-15T00:43:20.843Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:43:20.843Z] ---> Running in d1daeacd81f0 [2023-02-15T00:43:20.843Z] Removing intermediate container d1daeacd81f0 [2023-02-15T00:43:20.843Z] ---> 759aa6fc738b [2023-02-15T00:43:20.843Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:43:20.843Z] ---> Running in f14f84d259b1 [2023-02-15T00:43:20.843Z] Removing intermediate container f14f84d259b1 [2023-02-15T00:43:20.843Z] ---> 5aa94aba8d5e [2023-02-15T00:43:20.843Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:43:20.843Z] ---> Running in f9975ecee00a [2023-02-15T00:43:20.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:43:20.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:43:20.843Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:43:20.843Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:43:20.843Z] OK: 6 MiB in 15 packages [2023-02-15T00:43:20.843Z] Removing intermediate container f9975ecee00a [2023-02-15T00:43:20.843Z] ---> 5ea94f0b57f6 [2023-02-15T00:43:20.843Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:43:20.843Z] ---> 6838bd8df94d [2023-02-15T00:43:20.843Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:43:20.843Z] ---> be6ae60ead39 [2023-02-15T00:43:20.843Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:43:20.843Z] ---> 8d1e8e6061f8 [2023-02-15T00:43:20.843Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:43:20.843Z] ---> Running in d9261aebff0c [2023-02-15T00:43:20.843Z] Removing intermediate container d9261aebff0c [2023-02-15T00:43:20.843Z] ---> 0249439b032f [2023-02-15T00:43:20.843Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:43:20.843Z] ---> Running in 45b3f627d26a [2023-02-15T00:43:20.843Z] Removing intermediate container 45b3f627d26a [2023-02-15T00:43:20.843Z] ---> da0b34915bfa [2023-02-15T00:43:20.843Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:43:20.843Z] ---> Running in 455a05c1b559 [2023-02-15T00:43:20.843Z] Removing intermediate container 455a05c1b559 [2023-02-15T00:43:20.843Z] ---> 043bc9c5f06e [2023-02-15T00:43:20.843Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T00:43:20.843Z] ---> Running in a91bb2f06b00 [2023-02-15T00:43:20.843Z] Removing intermediate container a91bb2f06b00 [2023-02-15T00:43:20.843Z] ---> 821480c09a87 [2023-02-15T00:43:20.843Z] Step 24/25 : LABEL git_sha=361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:43:20.843Z] ---> Running in face7b3df01f [2023-02-15T00:43:20.843Z] Removing intermediate container face7b3df01f [2023-02-15T00:43:20.843Z] ---> 6fb129b857ed [2023-02-15T00:43:20.843Z] Step 25/25 : LABEL version=3.0.0-dev.9 [2023-02-15T00:43:20.843Z] ---> Running in f63601df2873 [2023-02-15T00:43:20.843Z] Removing intermediate container f63601df2873 [2023-02-15T00:43:20.843Z] ---> adf9d00d001d [2023-02-15T00:43:20.843Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:43:20.843Z] Successfully built adf9d00d001d [2023-02-15T00:43:20.843Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:43:20.968Z] provisioning config files... [2023-02-15T00:43:20.978Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3588692431369436976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:21.277Z] ---> docker-login.sh [2023-02-15T00:43:21.277Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:43:21.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:21.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:21.277Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:21.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:21.277Z] [2023-02-15T00:43:21.277Z] Login Succeeded [2023-02-15T00:43:21.277Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:43:21.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:21.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:21.277Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:21.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:21.277Z] [2023-02-15T00:43:21.277Z] Login Succeeded [2023-02-15T00:43:21.277Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:43:21.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:21.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:21.600Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:21.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:21.600Z] [2023-02-15T00:43:21.600Z] Login Succeeded [2023-02-15T00:43:21.600Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:43:21.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:21.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:21.600Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:21.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:21.600Z] [2023-02-15T00:43:21.600Z] Login Succeeded [2023-02-15T00:43:21.600Z] docker.io [2023-02-15T00:43:21.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:21.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:21.859Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:21.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:21.859Z] [2023-02-15T00:43:21.859Z] Login Succeeded [2023-02-15T00:43:21.859Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:43:21.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:43:21.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:43:21.918Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-02-15T00:43:21.918Z] 361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:43:21.918Z] latest [2023-02-15T00:43:21.918Z] 3.0.0-dev.9 [2023-02-15T00:43:21.918Z] 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:43:21.918Z] main [2023-02-15T00:43:21.918Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:22.244Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:22.557Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:43:22.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T00:43:22.557Z] baec39f091d6: Preparing [2023-02-15T00:43:22.557Z] b46c9f1bc544: Preparing [2023-02-15T00:43:22.557Z] 367cbd1c59eb: Preparing [2023-02-15T00:43:22.557Z] 2001eca300ad: Preparing [2023-02-15T00:43:22.557Z] aa5968d388b8: Preparing [2023-02-15T00:43:22.557Z] aa5968d388b8: Layer already exists [2023-02-15T00:43:22.557Z] b46c9f1bc544: Pushed [2023-02-15T00:43:22.557Z] baec39f091d6: Pushed [2023-02-15T00:43:22.557Z] 2001eca300ad: Pushed [2023-02-15T00:43:25.093Z] 367cbd1c59eb: Pushed [2023-02-15T00:43:25.351Z] 361e34ad238f1f05923baf29fae00e57c159c00c: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:25.676Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:25.981Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-15T00:43:25.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T00:43:25.981Z] baec39f091d6: Preparing [2023-02-15T00:43:25.981Z] b46c9f1bc544: Preparing [2023-02-15T00:43:25.981Z] 367cbd1c59eb: Preparing [2023-02-15T00:43:25.981Z] 2001eca300ad: Preparing [2023-02-15T00:43:25.981Z] aa5968d388b8: Preparing [2023-02-15T00:43:25.981Z] aa5968d388b8: Layer already exists [2023-02-15T00:43:25.981Z] 367cbd1c59eb: Layer already exists [2023-02-15T00:43:25.981Z] b46c9f1bc544: Layer already exists [2023-02-15T00:43:25.981Z] baec39f091d6: Layer already exists [2023-02-15T00:43:25.981Z] 2001eca300ad: Layer already exists [2023-02-15T00:43:25.981Z] latest: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:26.307Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:26.620Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 [2023-02-15T00:43:26.620Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T00:43:26.620Z] baec39f091d6: Preparing [2023-02-15T00:43:26.620Z] b46c9f1bc544: Preparing [2023-02-15T00:43:26.620Z] 367cbd1c59eb: Preparing [2023-02-15T00:43:26.620Z] 2001eca300ad: Preparing [2023-02-15T00:43:26.620Z] aa5968d388b8: Preparing [2023-02-15T00:43:26.620Z] 367cbd1c59eb: Layer already exists [2023-02-15T00:43:26.620Z] baec39f091d6: Layer already exists [2023-02-15T00:43:26.620Z] 2001eca300ad: Layer already exists [2023-02-15T00:43:26.620Z] aa5968d388b8: Layer already exists [2023-02-15T00:43:26.620Z] b46c9f1bc544: Layer already exists [2023-02-15T00:43:26.620Z] 3.0.0-dev.9: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:26.927Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:27.234Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:43:27.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T00:43:27.234Z] baec39f091d6: Preparing [2023-02-15T00:43:27.234Z] b46c9f1bc544: Preparing [2023-02-15T00:43:27.234Z] 367cbd1c59eb: Preparing [2023-02-15T00:43:27.234Z] 2001eca300ad: Preparing [2023-02-15T00:43:27.234Z] aa5968d388b8: Preparing [2023-02-15T00:43:27.234Z] b46c9f1bc544: Layer already exists [2023-02-15T00:43:27.234Z] baec39f091d6: Layer already exists [2023-02-15T00:43:27.234Z] 367cbd1c59eb: Layer already exists [2023-02-15T00:43:27.234Z] 2001eca300ad: Layer already exists [2023-02-15T00:43:27.234Z] aa5968d388b8: Layer already exists [2023-02-15T00:43:27.234Z] 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:27.551Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:27.862Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-02-15T00:43:27.862Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-15T00:43:27.862Z] baec39f091d6: Preparing [2023-02-15T00:43:27.862Z] b46c9f1bc544: Preparing [2023-02-15T00:43:27.862Z] 367cbd1c59eb: Preparing [2023-02-15T00:43:27.862Z] 2001eca300ad: Preparing [2023-02-15T00:43:27.862Z] aa5968d388b8: Preparing [2023-02-15T00:43:27.862Z] b46c9f1bc544: Layer already exists [2023-02-15T00:43:27.862Z] aa5968d388b8: Layer already exists [2023-02-15T00:43:27.862Z] baec39f091d6: Layer already exists [2023-02-15T00:43:27.862Z] 2001eca300ad: Layer already exists [2023-02-15T00:43:27.862Z] 367cbd1c59eb: Layer already exists [2023-02-15T00:43:27.862Z] main: digest: sha256:8c9684633f09d001fa7e0d7f16f0efb8baf00dea917f09f2c81fce81fff0a8ad size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:43:27.898Z] ===================================================== [Pipeline] echo [2023-02-15T00:43:27.906Z] taggedImages: [2023-02-15T00:43:27.906Z] - nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:43:27.906Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-15T00:43:27.906Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.9 [2023-02-15T00:43:27.906Z] - nexus3.edgexfoundry.org:10004/device-rest:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:43:27.906Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:28.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:43:28.275Z] [2023-02-15T00:43:28.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:28.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:43:28.569Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:43:28.569Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:43:28.569Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:43:28.569Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:43:28.569Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:43:28.569Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:43:28.569Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:43:28.569Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:43:28.569Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:43:28.569Z] 5d3b04190fa2: Waiting [2023-02-15T00:43:28.569Z] 2f39f015ded8: Waiting [2023-02-15T00:43:28.569Z] 33b1e0a273af: Waiting [2023-02-15T00:43:28.569Z] 5c69ac0246d0: Download complete [2023-02-15T00:43:28.569Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T00:43:28.569Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:43:28.839Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:43:28.839Z] 33b1e0a273af: Download complete [2023-02-15T00:43:28.839Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T00:43:28.839Z] 5d3b04190fa2: Download complete [2023-02-15T00:43:28.839Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:43:28.839Z] ec43610c2a17: Download complete [2023-02-15T00:43:29.100Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:43:29.100Z] 5eb5b503b376: Download complete [2023-02-15T00:43:29.665Z] 2f39f015ded8: Download complete [2023-02-15T00:43:30.233Z] 5eb5b503b376: Pull complete [2023-02-15T00:43:30.233Z] 5c69ac0246d0: Pull complete [2023-02-15T00:43:30.797Z] ec43610c2a17: Pull complete [2023-02-15T00:43:30.797Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:43:31.058Z] 33b1e0a273af: Pull complete [2023-02-15T00:43:31.058Z] 5d3b04190fa2: Pull complete [2023-02-15T00:43:35.249Z] 2f39f015ded8: Pull complete [2023-02-15T00:43:35.249Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:43:35.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:43:35.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:35.336Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:43:35.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:43:38.991Z] $ docker top 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:39.364Z] ---> job-cost.sh [2023-02-15T00:43:39.364Z] lf-activate-venv: SKIPPING [2023-02-15T00:43:39.364Z] INFO: No Stack... [2023-02-15T00:43:39.934Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:43:40.195Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:43:40.488Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-02-15T00:43:40.489Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:43:40.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [2023-02-15T00:43:40.510Z] Resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] did not exist. Created. [2023-02-15T00:43:40.510Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:43:40.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:43:40.830Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:43:40.836Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:43:40.852Z] $ docker stop --time=1 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea [2023-02-15T00:43:42.010Z] $ docker rm -f --volumes 0ac02e79c79c4a440975df9ca244e0963c1b16b123ea02ff9c941d66e8bbc2ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:44:21.304Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5954 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-02-15T00:44:21.316Z] Running in /w/workspace/device-rest-go/81 [Pipeline] { [Pipeline] checkout [2023-02-15T00:44:21.356Z] The recommended git tool is: git [2023-02-15T00:44:27.155Z] using credential edgex-jenkins-ssh [2023-02-15T00:44:27.172Z] Cloning the remote Git repository [2023-02-15T00:44:27.227Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:44:27.316Z] > git init /w/workspace/device-rest-go/81 # timeout=10 [2023-02-15T00:44:27.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T00:44:27.484Z] > git --version # timeout=10 [2023-02-15T00:44:27.514Z] > git --version # 'git version 2.25.1' [2023-02-15T00:44:27.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:44:27.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:44:29.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T00:44:29.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:44:30.898Z] Avoid second fetch [2023-02-15T00:44:30.899Z] Checking out Revision 361e34ad238f1f05923baf29fae00e57c159c00c (main) [2023-02-15T00:44:30.920Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:44:30.941Z] > git checkout -f 361e34ad238f1f05923baf29fae00e57c159c00c # timeout=10 [2023-02-15T00:44:31.567Z] Commit message: "feat!: updates for common config (#251)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:44:32.434Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:44:32.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:44:32.434Z] Dload Upload Total Spent Left Speed [2023-02-15T00:44:32.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-02-15T00:44:33.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:44:33.550Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-02-15T00:44:33.550Z] /etc/docker/daemon.json [2023-02-15T00:44:33.550Z] { [2023-02-15T00:44:33.550Z] "registry-mirrors": [ [2023-02-15T00:44:33.550Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:44:33.550Z] ], [2023-02-15T00:44:33.550Z] "bip": "10.250.0.254/24", [2023-02-15T00:44:33.550Z] "hosts": [ [2023-02-15T00:44:33.550Z] "tcp://0.0.0.0:5555", [2023-02-15T00:44:33.550Z] "unix:///var/run/docker.sock" [2023-02-15T00:44:33.550Z] ], [2023-02-15T00:44:33.550Z] "mtu": 1458, [2023-02-15T00:44:33.550Z] "selinux-enabled": true, [2023-02-15T00:44:33.550Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:44:33.550Z] } [Pipeline] sh [2023-02-15T00:44:34.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:44:34.469Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:44:53.103Z] provisioning config files... [2023-02-15T00:44:53.135Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/81@tmp/config12881380500530608749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:44:53.521Z] ---> docker-login.sh [2023-02-15T00:44:53.521Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:44:54.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:54.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:54.114Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:54.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:54.114Z] [2023-02-15T00:44:54.114Z] Login Succeeded [2023-02-15T00:44:54.114Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:44:54.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:54.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:54.660Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:54.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:54.660Z] [2023-02-15T00:44:54.660Z] Login Succeeded [2023-02-15T00:44:54.660Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:44:54.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:54.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:54.935Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:54.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:54.935Z] [2023-02-15T00:44:54.935Z] Login Succeeded [2023-02-15T00:44:54.935Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:44:55.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:55.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:55.480Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:55.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:55.480Z] [2023-02-15T00:44:55.480Z] Login Succeeded [2023-02-15T00:44:55.480Z] docker.io [2023-02-15T00:44:55.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:44:56.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:44:56.030Z] Configure a credential helper to remove this warning. See [2023-02-15T00:44:56.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:44:56.030Z] [2023-02-15T00:44:56.030Z] Login Succeeded [2023-02-15T00:44:56.030Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:44:56.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:44:56.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:44:56.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:44:56.410Z] ========================================================= [2023-02-15T00:44:56.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:44:56.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:56.778Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:44:56.778Z] Sending build context to Docker daemon 139.8kB [2023-02-15T00:44:57.050Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:44:57.050Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T00:44:57.325Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:44:57.325Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:44:57.325Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:44:57.325Z] e16973657156: Pulling fs layer [2023-02-15T00:44:57.325Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:44:57.325Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:44:57.325Z] dda99020689f: Pulling fs layer [2023-02-15T00:44:57.325Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:44:57.325Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:44:57.325Z] fc693d55d65f: Waiting [2023-02-15T00:44:57.325Z] 7e9fc2657dce: Waiting [2023-02-15T00:44:57.325Z] dda99020689f: Waiting [2023-02-15T00:44:57.325Z] db1c61fa0a46: Waiting [2023-02-15T00:44:57.325Z] 891c053d2c06: Waiting [2023-02-15T00:44:57.325Z] e16973657156: Verifying Checksum [2023-02-15T00:44:57.325Z] e16973657156: Download complete [2023-02-15T00:44:57.325Z] 35d82f9e3411: Verifying Checksum [2023-02-15T00:44:57.325Z] 35d82f9e3411: Download complete [2023-02-15T00:44:57.325Z] 7e9fc2657dce: Download complete [2023-02-15T00:44:57.325Z] dda99020689f: Verifying Checksum [2023-02-15T00:44:57.325Z] dda99020689f: Download complete [2023-02-15T00:44:57.325Z] 9b18e9b68314: Download complete [2023-02-15T00:44:58.317Z] 9b18e9b68314: Pull complete [2023-02-15T00:44:58.601Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:44:58.601Z] 891c053d2c06: Download complete [2023-02-15T00:44:59.206Z] 35d82f9e3411: Pull complete [2023-02-15T00:44:59.498Z] e16973657156: Pull complete [2023-02-15T00:45:00.096Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:45:00.096Z] db1c61fa0a46: Download complete [2023-02-15T00:45:00.695Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:45:00.695Z] fc693d55d65f: Download complete [2023-02-15T00:45:13.882Z] fc693d55d65f: Pull complete [2023-02-15T00:45:13.882Z] 7e9fc2657dce: Pull complete [2023-02-15T00:45:13.882Z] dda99020689f: Pull complete [2023-02-15T00:45:20.569Z] db1c61fa0a46: Pull complete [2023-02-15T00:45:23.193Z] 891c053d2c06: Pull complete [2023-02-15T00:45:23.193Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:45:23.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:45:23.193Z] ---> f96f9c87975a [2023-02-15T00:45:23.193Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:45:25.278Z] ---> Running in 2c3507a3d03f [2023-02-15T00:45:25.567Z] Removing intermediate container 2c3507a3d03f [2023-02-15T00:45:25.567Z] ---> 948901f0fb85 [2023-02-15T00:45:25.567Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:45:25.844Z] ---> Running in bead362af1ba [2023-02-15T00:45:26.134Z] Removing intermediate container bead362af1ba [2023-02-15T00:45:26.134Z] ---> f884f419acf4 [2023-02-15T00:45:26.134Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:45:26.134Z] ---> Running in c843e275ab85 [2023-02-15T00:45:26.731Z] Removing intermediate container c843e275ab85 [2023-02-15T00:45:26.731Z] ---> 79578c77c43c [2023-02-15T00:45:26.731Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:45:26.731Z] ---> Running in abaf9c6e59bb [2023-02-15T00:45:27.324Z] Removing intermediate container abaf9c6e59bb [2023-02-15T00:45:27.324Z] ---> 78d4ca9acbdc [2023-02-15T00:45:27.324Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:45:27.324Z] ---> Running in 6c8bc6482f4a [2023-02-15T00:45:28.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:45:29.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:45:30.458Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:45:30.458Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T00:45:30.458Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:45:30.458Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:45:30.458Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:45:30.458Z] OK: 226 MiB in 55 packages [2023-02-15T00:45:31.454Z] Removing intermediate container 6c8bc6482f4a [2023-02-15T00:45:31.455Z] ---> 786e0046c43b [2023-02-15T00:45:31.455Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T00:45:31.723Z] ---> Running in f6b86eec2195 [2023-02-15T00:45:31.994Z] Removing intermediate container f6b86eec2195 [2023-02-15T00:45:31.994Z] ---> 4cf222ddf0dd [2023-02-15T00:45:31.994Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T00:45:32.649Z] ---> 941c32e4ef0c [2023-02-15T00:45:32.649Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:45:32.649Z] ---> Running in 3024960e6daa [2023-02-15T00:46:54.347Z] Removing intermediate container 3024960e6daa [2023-02-15T00:46:54.347Z] ---> 0730762b7ebe [2023-02-15T00:46:54.347Z] Step 11/12 : COPY . . [2023-02-15T00:46:54.347Z] ---> a5dc47eb41b7 [2023-02-15T00:46:54.347Z] Step 12/12 : RUN $MAKE [2023-02-15T00:46:54.347Z] ---> Running in 13b1aed41029 [2023-02-15T00:46:54.347Z] noop [2023-02-15T00:46:54.347Z] Removing intermediate container 13b1aed41029 [2023-02-15T00:46:54.347Z] ---> 92e0bb65c866 [2023-02-15T00:46:54.347Z] Successfully built 92e0bb65c866 [2023-02-15T00:46:54.347Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:46:54.719Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:46:54.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:46:54.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container [2023-02-15T00:46:55.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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 [2023-02-15T00:46:56.424Z] $ docker top 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:46:57.280Z] + go version [2023-02-15T00:46:57.280Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:46:57.315Z] $ docker stop --time=1 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 [2023-02-15T00:46:59.027Z] $ docker rm -f --volumes 5c2112708a76f612596dc9f76f74416665c055ca1c0a027883481bd41bf7f8a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:46:59.597Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:46:59.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:46:59.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container [2023-02-15T00:46:59.893Z] $ 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/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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 [2023-02-15T00:47:01.192Z] $ docker top dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:47:02.042Z] + git config --global --add safe.directory /w/workspace/device-rest-go/81 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:47:02.708Z] + make test [2023-02-15T00:47:02.708Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T00:47:04.658Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T00:48:41.373Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-15T00:48:44.729Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.9% of statements [2023-02-15T00:48:44.998Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:48:44.998Z] go vet ./... [2023-02-15T00:49:23.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:49:23.959Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:49:23.959Z] ./bin/test-attribution-txt.sh [2023-02-15T00:49:23.959Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:49:23.959Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:49:23.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:49:24.006Z] $ docker stop --time=1 dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 [2023-02-15T00:49:25.820Z] $ docker rm -f --volumes dabfcabf359c28d66bfab8ffd0db241d3deaa1b1027a623fb61b64e07bb5e9b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:49:26.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:49:26.906Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:49:27.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:49:27.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:49:28.225Z] + ls -al . [2023-02-15T00:49:28.225Z] total 184 [2023-02-15T00:49:28.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:47 . [2023-02-15T00:49:28.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:44 .. [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 15 00:44 .dockerignore [2023-02-15T00:49:28.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:44 .git [2023-02-15T00:49:28.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:44 .github [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 00:44 .gitignore [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:44 .golangci.yml [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 15 00:44 Attribution.txt [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 15 00:44 CHANGELOG.md [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 15 00:44 Dockerfile [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:44 GOVERNANCE.md [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:44 Jenkinsfile [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:44 LICENSE [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 15 00:44 Makefile [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 00:44 OWNERS.md [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 15 00:44 README.md [2023-02-15T00:49:28.225Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 15 00:41 VERSION [2023-02-15T00:49:28.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:44 bin [2023-02-15T00:49:28.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:44 cmd [2023-02-15T00:49:28.226Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 15 00:48 coverage.out [2023-02-15T00:49:28.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:44 driver [2023-02-15T00:49:28.226Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 15 00:44 go.mod [2023-02-15T00:49:28.226Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 00:44 go.sum [2023-02-15T00:49:28.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:44 snap [2023-02-15T00:49:28.226Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 15 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:49:28.572Z] + 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=361e34ad238f1f05923baf29fae00e57c159c00c --label arch=arm64 --label version=3.0.0-dev.9 . [2023-02-15T00:49:28.572Z] Sending build context to Docker daemon 154.1kB [2023-02-15T00:49:28.844Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:49:28.844Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T00:49:28.844Z] ---> 92e0bb65c866 [2023-02-15T00:49:28.844Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:49:28.844Z] ---> Running in 887d761e2417 [2023-02-15T00:49:29.434Z] Removing intermediate container 887d761e2417 [2023-02-15T00:49:29.434Z] ---> b09ace26f2fc [2023-02-15T00:49:29.434Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:49:29.434Z] ---> Running in cbae107c214d [2023-02-15T00:49:29.707Z] Removing intermediate container cbae107c214d [2023-02-15T00:49:29.707Z] ---> 8ade6957a43c [2023-02-15T00:49:29.707Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T00:49:29.979Z] ---> Running in fbe3598812ee [2023-02-15T00:49:30.252Z] Removing intermediate container fbe3598812ee [2023-02-15T00:49:30.252Z] ---> 0a3173685ecb [2023-02-15T00:49:30.252Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T00:49:30.252Z] ---> Running in 14ea1b7cecee [2023-02-15T00:49:30.848Z] Removing intermediate container 14ea1b7cecee [2023-02-15T00:49:30.848Z] ---> 14a287be80cf [2023-02-15T00:49:30.848Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T00:49:30.848Z] ---> Running in 1bd7f09a6ad5 [2023-02-15T00:49:32.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:49:32.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:49:33.704Z] OK: 226 MiB in 55 packages [2023-02-15T00:49:37.084Z] Removing intermediate container 1bd7f09a6ad5 [2023-02-15T00:49:37.084Z] ---> 93401146f4b8 [2023-02-15T00:49:37.084Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-15T00:49:37.084Z] ---> Running in 78504a41b788 [2023-02-15T00:49:37.355Z] Removing intermediate container 78504a41b788 [2023-02-15T00:49:37.355Z] ---> 0f38240d208e [2023-02-15T00:49:37.355Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-15T00:49:37.947Z] ---> df36d040be37 [2023-02-15T00:49:37.947Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:49:38.223Z] ---> Running in bccb6619ffc1 [2023-02-15T00:49:41.599Z] Removing intermediate container bccb6619ffc1 [2023-02-15T00:49:41.599Z] ---> 0cce3304c004 [2023-02-15T00:49:41.599Z] Step 11/25 : COPY . . [2023-02-15T00:49:41.871Z] ---> 102f82d41d6a [2023-02-15T00:49:41.871Z] Step 12/25 : RUN $MAKE [2023-02-15T00:49:41.871Z] ---> Running in 809bd2d783ac [2023-02-15T00:49:43.293Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-15T00:52:22.560Z] Removing intermediate container 809bd2d783ac [2023-02-15T00:52:22.560Z] ---> 4c0b2cc2f0f9 [2023-02-15T00:52:22.560Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T00:52:22.560Z] 3.16: Pulling from library/alpine [2023-02-15T00:52:22.560Z] 3760b48202b3: Pulling fs layer [2023-02-15T00:52:22.560Z] 3760b48202b3: Verifying Checksum [2023-02-15T00:52:22.560Z] 3760b48202b3: Download complete [2023-02-15T00:52:22.560Z] 3760b48202b3: Pull complete [2023-02-15T00:52:22.560Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:52:22.560Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:52:22.560Z] ---> 4c81e5bf8899 [2023-02-15T00:52:22.560Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:52:22.560Z] ---> Running in d2f65370dcaf [2023-02-15T00:52:22.560Z] Removing intermediate container d2f65370dcaf [2023-02-15T00:52:22.560Z] ---> aa8777240c68 [2023-02-15T00:52:22.560Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-15T00:52:22.560Z] ---> Running in b08a357a097e [2023-02-15T00:52:22.560Z] Removing intermediate container b08a357a097e [2023-02-15T00:52:22.560Z] ---> e956117062cc [2023-02-15T00:52:22.560Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:52:22.560Z] ---> Running in 449c083daf02 [2023-02-15T00:52:22.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:52:22.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:52:22.560Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:52:22.560Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:52:22.560Z] OK: 5 MiB in 15 packages [2023-02-15T00:52:22.560Z] Removing intermediate container 449c083daf02 [2023-02-15T00:52:22.560Z] ---> 399858102009 [2023-02-15T00:52:22.560Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-15T00:52:22.560Z] ---> 28b076a2b713 [2023-02-15T00:52:22.560Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-15T00:52:22.560Z] ---> d60a6a5a70b4 [2023-02-15T00:52:22.560Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-15T00:52:22.560Z] ---> ba3bc9e7d56c [2023-02-15T00:52:22.560Z] Step 20/25 : EXPOSE 59986 [2023-02-15T00:52:22.560Z] ---> Running in 7b875bf86eb3 [2023-02-15T00:52:22.560Z] Removing intermediate container 7b875bf86eb3 [2023-02-15T00:52:22.560Z] ---> 66131afcf598 [2023-02-15T00:52:22.560Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-15T00:52:22.560Z] ---> Running in 692882cd2005 [2023-02-15T00:52:22.560Z] Removing intermediate container 692882cd2005 [2023-02-15T00:52:22.560Z] ---> 2a817de266ca [2023-02-15T00:52:22.561Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:52:22.561Z] ---> Running in e34e2b3d50ea [2023-02-15T00:52:22.561Z] Removing intermediate container e34e2b3d50ea [2023-02-15T00:52:22.561Z] ---> b3569066caa0 [2023-02-15T00:52:22.561Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T00:52:22.561Z] ---> Running in 3e9a3c6c8fb0 [2023-02-15T00:52:22.831Z] Removing intermediate container 3e9a3c6c8fb0 [2023-02-15T00:52:22.831Z] ---> 8b6534112160 [2023-02-15T00:52:22.831Z] Step 24/25 : LABEL git_sha=361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:52:22.831Z] ---> Running in 0583d60f3174 [2023-02-15T00:52:23.419Z] Removing intermediate container 0583d60f3174 [2023-02-15T00:52:23.419Z] ---> 17f88d4aa485 [2023-02-15T00:52:23.419Z] Step 25/25 : LABEL version=3.0.0-dev.9 [2023-02-15T00:52:23.419Z] ---> Running in 77c53f4fe105 [2023-02-15T00:52:23.690Z] Removing intermediate container 77c53f4fe105 [2023-02-15T00:52:23.690Z] ---> 94a09727980f [2023-02-15T00:52:23.690Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:52:23.690Z] Successfully built 94a09727980f [2023-02-15T00:52:23.690Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:52:23.810Z] provisioning config files... [2023-02-15T00:52:23.826Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/81@tmp/config8514157193073592858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:52:24.175Z] ---> docker-login.sh [2023-02-15T00:52:24.175Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:52:24.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:52:24.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:52:24.444Z] Configure a credential helper to remove this warning. See [2023-02-15T00:52:24.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:52:24.444Z] [2023-02-15T00:52:24.444Z] Login Succeeded [2023-02-15T00:52:24.444Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:52:24.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:52:24.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:52:24.980Z] Configure a credential helper to remove this warning. See [2023-02-15T00:52:24.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:52:24.980Z] [2023-02-15T00:52:24.980Z] Login Succeeded [2023-02-15T00:52:24.980Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:52:25.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:52:25.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:52:25.250Z] Configure a credential helper to remove this warning. See [2023-02-15T00:52:25.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:52:25.250Z] [2023-02-15T00:52:25.250Z] Login Succeeded [2023-02-15T00:52:25.250Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:52:25.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:52:25.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:52:25.788Z] Configure a credential helper to remove this warning. See [2023-02-15T00:52:25.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:52:25.788Z] [2023-02-15T00:52:25.788Z] Login Succeeded [2023-02-15T00:52:25.788Z] docker.io [2023-02-15T00:52:26.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:52:26.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:52:26.327Z] Configure a credential helper to remove this warning. See [2023-02-15T00:52:26.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:52:26.327Z] [2023-02-15T00:52:26.327Z] Login Succeeded [2023-02-15T00:52:26.327Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:52:26.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:52:26.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:52:26.390Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-02-15T00:52:26.390Z] 361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:52:26.390Z] latest [2023-02-15T00:52:26.390Z] 3.0.0-dev.9 [2023-02-15T00:52:26.390Z] 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:52:26.390Z] main [2023-02-15T00:52:26.390Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:26.752Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:27.118Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:52:27.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T00:52:27.119Z] b452cfcb863e: Preparing [2023-02-15T00:52:27.119Z] be725e9dc67c: Preparing [2023-02-15T00:52:27.119Z] f3bdc840f45d: Preparing [2023-02-15T00:52:27.119Z] 9b8a37f27a0b: Preparing [2023-02-15T00:52:27.119Z] f70ee36035b9: Preparing [2023-02-15T00:52:27.119Z] f70ee36035b9: Layer already exists [2023-02-15T00:52:27.389Z] be725e9dc67c: Pushed [2023-02-15T00:52:27.389Z] b452cfcb863e: Pushed [2023-02-15T00:52:27.389Z] 9b8a37f27a0b: Pushed [2023-02-15T00:52:34.080Z] f3bdc840f45d: Pushed [2023-02-15T00:52:34.080Z] 361e34ad238f1f05923baf29fae00e57c159c00c: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:34.441Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:34.797Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-15T00:52:34.798Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T00:52:34.798Z] b452cfcb863e: Preparing [2023-02-15T00:52:34.798Z] be725e9dc67c: Preparing [2023-02-15T00:52:34.798Z] f3bdc840f45d: Preparing [2023-02-15T00:52:34.798Z] 9b8a37f27a0b: Preparing [2023-02-15T00:52:34.798Z] f70ee36035b9: Preparing [2023-02-15T00:52:34.798Z] f3bdc840f45d: Layer already exists [2023-02-15T00:52:34.798Z] f70ee36035b9: Layer already exists [2023-02-15T00:52:34.798Z] 9b8a37f27a0b: Layer already exists [2023-02-15T00:52:34.798Z] be725e9dc67c: Layer already exists [2023-02-15T00:52:34.798Z] b452cfcb863e: Layer already exists [2023-02-15T00:52:35.126Z] latest: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:35.519Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:35.892Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 [2023-02-15T00:52:35.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T00:52:35.892Z] b452cfcb863e: Preparing [2023-02-15T00:52:35.892Z] be725e9dc67c: Preparing [2023-02-15T00:52:35.892Z] f3bdc840f45d: Preparing [2023-02-15T00:52:35.892Z] 9b8a37f27a0b: Preparing [2023-02-15T00:52:35.892Z] f70ee36035b9: Preparing [2023-02-15T00:52:35.892Z] f3bdc840f45d: Layer already exists [2023-02-15T00:52:35.892Z] be725e9dc67c: Layer already exists [2023-02-15T00:52:35.892Z] 9b8a37f27a0b: Layer already exists [2023-02-15T00:52:35.892Z] f70ee36035b9: Layer already exists [2023-02-15T00:52:35.892Z] b452cfcb863e: Layer already exists [2023-02-15T00:52:36.166Z] 3.0.0-dev.9: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:36.545Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:36.911Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:52:36.912Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T00:52:36.912Z] b452cfcb863e: Preparing [2023-02-15T00:52:36.912Z] be725e9dc67c: Preparing [2023-02-15T00:52:36.912Z] f3bdc840f45d: Preparing [2023-02-15T00:52:36.912Z] 9b8a37f27a0b: Preparing [2023-02-15T00:52:36.912Z] f70ee36035b9: Preparing [2023-02-15T00:52:36.912Z] 9b8a37f27a0b: Layer already exists [2023-02-15T00:52:36.912Z] b452cfcb863e: Layer already exists [2023-02-15T00:52:36.912Z] f3bdc840f45d: Layer already exists [2023-02-15T00:52:36.912Z] f70ee36035b9: Layer already exists [2023-02-15T00:52:36.912Z] be725e9dc67c: Layer already exists [2023-02-15T00:52:37.183Z] 361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:37.541Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:37.890Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-02-15T00:52:37.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-15T00:52:37.890Z] b452cfcb863e: Preparing [2023-02-15T00:52:37.890Z] be725e9dc67c: Preparing [2023-02-15T00:52:37.890Z] f3bdc840f45d: Preparing [2023-02-15T00:52:37.890Z] 9b8a37f27a0b: Preparing [2023-02-15T00:52:37.890Z] f70ee36035b9: Preparing [2023-02-15T00:52:37.890Z] 9b8a37f27a0b: Layer already exists [2023-02-15T00:52:37.890Z] be725e9dc67c: Layer already exists [2023-02-15T00:52:37.890Z] f70ee36035b9: Layer already exists [2023-02-15T00:52:37.890Z] f3bdc840f45d: Layer already exists [2023-02-15T00:52:37.890Z] b452cfcb863e: Layer already exists [2023-02-15T00:52:38.161Z] main: digest: sha256:2b5eb1cf8dd8d48c405c9c41929502fb4b2ef63ae99946ae0eee997dafb02dd7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:52:38.213Z] ===================================================== [Pipeline] echo [2023-02-15T00:52:38.220Z] taggedImages: [2023-02-15T00:52:38.220Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c [2023-02-15T00:52:38.220Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-15T00:52:38.220Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.9 [2023-02-15T00:52:38.220Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:361e34ad238f1f05923baf29fae00e57c159c00c-3.0.0-dev.9 [2023-02-15T00:52:38.220Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:38.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:52:38.587Z] [2023-02-15T00:52:38.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:52:38.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:52:39.207Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:52:39.207Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:52:39.207Z] 04944245beec: Pulling fs layer [2023-02-15T00:52:39.207Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:52:39.207Z] 765212b225bb: Pulling fs layer [2023-02-15T00:52:39.207Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:52:39.207Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:52:39.207Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:52:39.207Z] d65c8cfc05b1: Waiting [2023-02-15T00:52:39.207Z] 2437ff75d9bd: Waiting [2023-02-15T00:52:39.207Z] 765212b225bb: Waiting [2023-02-15T00:52:39.207Z] f23df028b6ca: Waiting [2023-02-15T00:52:39.207Z] 04944245beec: Verifying Checksum [2023-02-15T00:52:39.207Z] 04944245beec: Download complete [2023-02-15T00:52:39.207Z] 765212b225bb: Verifying Checksum [2023-02-15T00:52:39.207Z] 765212b225bb: Download complete [2023-02-15T00:52:39.484Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:52:39.484Z] f23df028b6ca: Download complete [2023-02-15T00:52:39.484Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:52:39.484Z] d65c8cfc05b1: Download complete [2023-02-15T00:52:39.484Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:52:39.484Z] 699f458cf7ca: Download complete [2023-02-15T00:52:40.073Z] 8998bd30e6a1: Download complete [2023-02-15T00:52:42.670Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:52:42.670Z] 2437ff75d9bd: Download complete [2023-02-15T00:52:44.625Z] 8998bd30e6a1: Pull complete [2023-02-15T00:52:44.894Z] 04944245beec: Pull complete [2023-02-15T00:52:46.308Z] 699f458cf7ca: Pull complete [2023-02-15T00:52:46.308Z] 765212b225bb: Pull complete [2023-02-15T00:52:47.275Z] f23df028b6ca: Pull complete [2023-02-15T00:52:47.544Z] d65c8cfc05b1: Pull complete [2023-02-15T00:53:02.558Z] 2437ff75d9bd: Pull complete [2023-02-15T00:53:02.558Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:53:02.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:53:02.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:02.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-5954 does not seem to be running inside a container [2023-02-15T00:53:02.877Z] $ 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/81 -v /w/workspace/device-rest-go/81:/w/workspace/device-rest-go/81:rw,z -v /w/workspace/device-rest-go/81@tmp:/w/workspace/device-rest-go/81@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 [2023-02-15T00:53:05.985Z] $ docker top e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:53:06.871Z] ---> job-cost.sh [2023-02-15T00:53:06.871Z] lf-activate-venv: SKIPPING [2023-02-15T00:53:06.871Z] INFO: No Stack... [2023-02-15T00:53:07.141Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:53:08.109Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:53:08.765Z] + cat /w/workspace/device-rest-go/81/archives/cost.csv [2023-02-15T00:53:08.765Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:53:08.862Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [2023-02-15T00:53:08.872Z] Resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] did not exist. Created. [2023-02-15T00:53:08.872Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:53:09.561Z] /w/workspace/device-rest-go/81@tmp/durable-fd873bb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:53:10.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:53:10.265Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:53:10.324Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:53:10.335Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:53:10.367Z] $ docker stop --time=1 e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 [2023-02-15T00:53:11.994Z] $ docker rm -f --volumes e68553f88e96fdeff93cb786c3a71308205937e1c18f56acd0367087e92c9980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T00:53:12.429Z] provisioning config files... [2023-02-15T00:53:12.437Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13646002458769966880tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:53:12.726Z] + set +x [2023-02-15T00:53:12.726Z] + curl -s https://codecov.io/bash [2023-02-15T00:53:12.726Z] + bash -s -- [2023-02-15T00:53:12.726Z] [2023-02-15T00:53:12.726Z] _____ _ [2023-02-15T00:53:12.726Z] / ____| | | [2023-02-15T00:53:12.726Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:53:12.726Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:53:12.726Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:53:12.726Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:53:12.726Z] Bash-1.0.6 [2023-02-15T00:53:12.726Z] [2023-02-15T00:53:12.726Z] [2023-02-15T00:53:12.726Z] ==> git version 2.25.1 found [2023-02-15T00:53:12.726Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T00:53:12.726Z] Release-Date: 2020-01-08 [2023-02-15T00:53:12.726Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T00:53:12.726Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:53:12.726Z] ==> Jenkins CI detected. [2023-02-15T00:53:12.726Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-02-15T00:53:12.726Z] project root: . [2023-02-15T00:53:12.726Z] --> token set from env [2023-02-15T00:53:12.726Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:53:12.726Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:53:12.726Z] ==> Python coveragepy not found [2023-02-15T00:53:12.726Z] ==> Searching for coverage reports in: [2023-02-15T00:53:12.726Z] + . [2023-02-15T00:53:12.726Z] -> Found 1 reports [2023-02-15T00:53:12.726Z] ==> Detecting git/mercurial file structure [2023-02-15T00:53:12.985Z] ==> Reading reports [2023-02-15T00:53:12.985Z] + ./coverage.out bytes=13744 [2023-02-15T00:53:12.985Z] ==> Appending adjustments [2023-02-15T00:53:12.985Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:53:12.985Z] + Found adjustments [2023-02-15T00:53:12.985Z] ==> Gzipping contents [2023-02-15T00:53:12.985Z] 4.0K /tmp/codecov.Yb2E7k.gz [2023-02-15T00:53:12.985Z] ==> Uploading reports [2023-02-15T00:53:12.985Z] url: https://codecov.io [2023-02-15T00:53:12.985Z] query: branch=main&commit=361e34ad238f1f05923baf29fae00e57c159c00c&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T00:53:12.985Z] -> Pinging Codecov [2023-02-15T00:53:12.985Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=361e34ad238f1f05923baf29fae00e57c159c00c&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T00:53:12.985Z] -> Uploading to [2023-02-15T00:53:12.985Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/4E5D53B4F1F92C436F7061BF334D961C/361e34ad238f1f05923baf29fae00e57c159c00c/955d29d7-e9a4-4908-a73f-4b93b31e2fb2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63616497883a2b9d045da724aebca12a4df5ccb7d42b1be2f1547187df14e7e8 [2023-02-15T00:53:12.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:53:12.985Z] Dload Upload Total Spent Left Speed [2023-02-15T00:53:13.552Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8337 --:--:-- --:--:-- --:--:-- 8337 [2023-02-15T00:53:13.552Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] } [2023-02-15T00:53:13.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-15T00:53:13.749Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-15T00:53:13.761Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:14.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:53:14.052Z] [2023-02-15T00:53:14.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:14.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:53:14.349Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-15T00:53:14.349Z] df9b9388f04a: Pulling fs layer [2023-02-15T00:53:14.349Z] 52dc419b0ee2: Pulling fs layer [2023-02-15T00:53:14.349Z] 25bc292e5bac: Pulling fs layer [2023-02-15T00:53:14.349Z] 114826534d7a: Pulling fs layer [2023-02-15T00:53:14.349Z] 4657fd5d0bcf: Pulling fs layer [2023-02-15T00:53:14.349Z] 6ad1cebc031e: Pulling fs layer [2023-02-15T00:53:14.349Z] 8a3aa393b2d8: Pulling fs layer [2023-02-15T00:53:14.349Z] 4657fd5d0bcf: Waiting [2023-02-15T00:53:14.349Z] 6ad1cebc031e: Waiting [2023-02-15T00:53:14.349Z] 8a3aa393b2d8: Waiting [2023-02-15T00:53:14.349Z] 114826534d7a: Waiting [2023-02-15T00:53:14.349Z] 25bc292e5bac: Verifying Checksum [2023-02-15T00:53:14.349Z] 25bc292e5bac: Download complete [2023-02-15T00:53:14.349Z] 52dc419b0ee2: Download complete [2023-02-15T00:53:14.349Z] 4657fd5d0bcf: Verifying Checksum [2023-02-15T00:53:14.349Z] 4657fd5d0bcf: Download complete [2023-02-15T00:53:14.349Z] df9b9388f04a: Verifying Checksum [2023-02-15T00:53:14.349Z] df9b9388f04a: Download complete [2023-02-15T00:53:14.614Z] df9b9388f04a: Pull complete [2023-02-15T00:53:14.614Z] 52dc419b0ee2: Pull complete [2023-02-15T00:53:14.881Z] 6ad1cebc031e: Verifying Checksum [2023-02-15T00:53:14.881Z] 6ad1cebc031e: Download complete [2023-02-15T00:53:14.882Z] 25bc292e5bac: Pull complete [2023-02-15T00:53:15.467Z] 114826534d7a: Verifying Checksum [2023-02-15T00:53:15.467Z] 114826534d7a: Download complete [2023-02-15T00:53:15.724Z] 8a3aa393b2d8: Verifying Checksum [2023-02-15T00:53:15.724Z] 8a3aa393b2d8: Download complete [2023-02-15T00:53:19.008Z] 114826534d7a: Pull complete [2023-02-15T00:53:19.008Z] 4657fd5d0bcf: Pull complete [2023-02-15T00:53:19.008Z] 6ad1cebc031e: Pull complete [2023-02-15T00:53:21.555Z] 8a3aa393b2d8: Pull complete [2023-02-15T00:53:21.555Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-15T00:53:21.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:53:21.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:21.637Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:53:21.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-15T00:53:25.241Z] $ docker top f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-15T00:53:25.307Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-02-15T00:53:25.584Z] + set -o pipefail [2023-02-15T00:53:25.584Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-02-15T00:53:29.826Z] [2023-02-15T00:53:29.826Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-02-15T00:53:29.826Z] [2023-02-15T00:53:29.826Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/bcbbbd8b-f95d-49e8-b4f0-f92772f9f374 [2023-02-15T00:53:29.826Z] [2023-02-15T00:53:29.826Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-15T00:53:29.826Z] [2023-02-15T00:53:29.826Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-15T00:53:29.826Z] [2023-02-15T00:53:30.085Z] [2023-02-15T00:53:30.085Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-15T00:53:30.085Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-15T00:53:30.085Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-15T00:53:30.099Z] $ docker stop --time=1 f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 [2023-02-15T00:53:33.216Z] $ docker rm -f --volumes f0f2c8ac4be9211ede30b4cef3378eeee9f0a18df8b42b2c72c925f265d70d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:53:33.977Z] + git log --format=format:%s -1 361e34ad238f1f05923baf29fae00e57c159c00c [Pipeline] sh [2023-02-15T00:53:34.267Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:53:34.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:34.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:53:34.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:34.651Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:53:34.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:53:35.111Z] $ docker top 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:53:35.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:53:35.198Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:53:35.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:53:35.332Z] $ docker exec 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 ssh-agent [2023-02-15T00:53:35.444Z] SSH_AUTH_SOCK=/tmp/ssh-1g2U7HHkd4lV/agent.31 [2023-02-15T00:53:35.444Z] SSH_AGENT_PID=37 [2023-02-15T00:53:35.449Z] Running ssh-add (command line suppressed) [2023-02-15T00:53:35.562Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11003947919454168888.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11003947919454168888.key) [2023-02-15T00:53:35.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:53:35.862Z] + git semver tag [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,062 [run_tag] DEBUG tag force:False [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,062 [check_head_tag] DEBUG check head tag [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,063 [execute] INFO git cat-file --batch-check [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,068 [execute] INFO git cat-file --batch [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,086 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,086 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:53:36.122Z] 2023-02-15 00:53:36,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:53:36.122Z] 3.0.0-dev.9 [Pipeline] } [2023-02-15T00:53:36.135Z] $ docker exec --env ******** --env ******** 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 ssh-agent -k [2023-02-15T00:53:36.237Z] unset SSH_AUTH_SOCK; [2023-02-15T00:53:36.237Z] unset SSH_AGENT_PID; [2023-02-15T00:53:36.237Z] echo Agent pid 37 killed; [2023-02-15T00:53:36.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:53:36.556Z] + git semver [Pipeline] } [2023-02-15T00:53:36.830Z] $ docker stop --time=1 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 [2023-02-15T00:53:38.133Z] $ docker rm -f --volumes 193f1f78f42608469654e12c24c5720d3164edd34b02d54f3b4339c328d6b845 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:38.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:53:38.521Z] [2023-02-15T00:53:38.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:38.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:53:38.828Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-15T00:53:38.828Z] ab5ef0e58194: Pulling fs layer [2023-02-15T00:53:38.828Z] 9712f1f96733: Pulling fs layer [2023-02-15T00:53:38.828Z] 63f879dbbcfc: Pulling fs layer [2023-02-15T00:53:38.828Z] 0d9ebad4ef96: Pulling fs layer [2023-02-15T00:53:38.828Z] e9a5061849ea: Pulling fs layer [2023-02-15T00:53:38.828Z] d747dcd14b5f: Pulling fs layer [2023-02-15T00:53:38.828Z] 2de7ff778b66: Pulling fs layer [2023-02-15T00:53:38.828Z] 0d9ebad4ef96: Waiting [2023-02-15T00:53:38.828Z] e9a5061849ea: Waiting [2023-02-15T00:53:38.828Z] d747dcd14b5f: Waiting [2023-02-15T00:53:38.828Z] 9712f1f96733: Download complete [2023-02-15T00:53:40.330Z] 0d9ebad4ef96: Verifying Checksum [2023-02-15T00:53:40.330Z] 0d9ebad4ef96: Download complete [2023-02-15T00:53:40.330Z] 63f879dbbcfc: Verifying Checksum [2023-02-15T00:53:40.330Z] 63f879dbbcfc: Download complete [2023-02-15T00:53:40.330Z] d747dcd14b5f: Download complete [2023-02-15T00:53:40.330Z] e9a5061849ea: Download complete [2023-02-15T00:53:40.590Z] ab5ef0e58194: Verifying Checksum [2023-02-15T00:53:40.590Z] ab5ef0e58194: Download complete [2023-02-15T00:53:40.590Z] 2de7ff778b66: Verifying Checksum [2023-02-15T00:53:40.590Z] 2de7ff778b66: Download complete [2023-02-15T00:53:43.877Z] ab5ef0e58194: Pull complete [2023-02-15T00:53:43.877Z] 9712f1f96733: Pull complete [2023-02-15T00:53:44.442Z] 63f879dbbcfc: Pull complete [2023-02-15T00:53:48.622Z] 0d9ebad4ef96: Pull complete [2023-02-15T00:53:48.622Z] e9a5061849ea: Pull complete [2023-02-15T00:53:48.622Z] d747dcd14b5f: Pull complete [2023-02-15T00:53:49.557Z] 2de7ff778b66: Pull complete [2023-02-15T00:53:49.557Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-15T00:53:49.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:53:49.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:49.645Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:53:49.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-15T00:53:54.367Z] $ docker top 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:53:54.445Z] provisioning config files... [2023-02-15T00:53:54.452Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config646901277325833427tmp [2023-02-15T00:53:54.461Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9911470661446853128tmp [2023-02-15T00:53:54.472Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15254946772884589169tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:53:54.483Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:53:54.764Z] ---> sigul-configuration.sh [2023-02-15T00:53:54.764Z] gpg: directory `/root/.gnupg' created [2023-02-15T00:53:54.764Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-15T00:53:54.764Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-15T00:53:54.764Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-15T00:53:54.764Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-15T00:53:54.764Z] gpg: CAST5 encrypted data [2023-02-15T00:53:54.764Z] gpg: encrypted with 1 passphrase [2023-02-15T00:53:54.764Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-15T00:53:55.049Z] + mkdir /home/jenkins [2023-02-15T00:53:55.049Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-15T00:53:55.336Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-02-15T00:53:55.347Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:53:55.633Z] ---> sigul-install.sh [2023-02-15T00:53:55.633Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-15T00:53:55.923Z] + git tag --list [2023-02-15T00:53:55.923Z] v1.0.0 [2023-02-15T00:53:55.923Z] v1.1.0 [2023-02-15T00:53:55.923Z] v1.1.1 [2023-02-15T00:53:55.923Z] v1.1.2 [2023-02-15T00:53:55.923Z] v1.2.0 [2023-02-15T00:53:55.923Z] v1.2.1 [2023-02-15T00:53:55.923Z] v2.0.0 [2023-02-15T00:53:55.923Z] v2.1.0 [2023-02-15T00:53:55.923Z] v2.1.1 [2023-02-15T00:53:55.923Z] v2.1.1-dev.1 [2023-02-15T00:53:55.923Z] v2.1.1-dev.2 [2023-02-15T00:53:55.923Z] v2.1.1-dev.3 [2023-02-15T00:53:55.923Z] v2.2.0 [2023-02-15T00:53:55.923Z] v2.2.1-dev.1 [2023-02-15T00:53:55.923Z] v2.2.1-dev.2 [2023-02-15T00:53:55.923Z] v2.2.1-dev.3 [2023-02-15T00:53:55.923Z] v2.2.1-dev.4 [2023-02-15T00:53:55.923Z] v2.2.1-dev.5 [2023-02-15T00:53:55.923Z] v2.2.1-dev.6 [2023-02-15T00:53:55.923Z] v2.2.1-dev.7 [2023-02-15T00:53:55.923Z] v2.2.1-dev.8 [2023-02-15T00:53:55.923Z] v2.2.1-dev.9 [2023-02-15T00:53:55.923Z] v2.3.0 [2023-02-15T00:53:55.923Z] v2.3.0-dev.10 [2023-02-15T00:53:55.923Z] v2.3.0-dev.11 [2023-02-15T00:53:55.923Z] v2.3.0-dev.12 [2023-02-15T00:53:55.923Z] v2.3.0-dev.13 [2023-02-15T00:53:55.923Z] v2.3.0-dev.14 [2023-02-15T00:53:55.923Z] v2.3.0-dev.15 [2023-02-15T00:53:55.923Z] v2.3.0-dev.16 [2023-02-15T00:53:55.923Z] v2.3.0-dev.17 [2023-02-15T00:53:55.923Z] v2.3.0-dev.18 [2023-02-15T00:53:55.923Z] v2.3.0-dev.19 [2023-02-15T00:53:55.923Z] v2.3.0-dev.20 [2023-02-15T00:53:55.923Z] v2.3.0-dev.21 [2023-02-15T00:53:55.923Z] v2.3.0-dev.22 [2023-02-15T00:53:55.923Z] v2.3.0-dev.23 [2023-02-15T00:53:55.923Z] v2.3.0-dev.24 [2023-02-15T00:53:55.923Z] v2.3.0-dev.25 [2023-02-15T00:53:55.923Z] v2.3.0-dev.9 [2023-02-15T00:53:55.923Z] v3.0.0-dev.1 [2023-02-15T00:53:55.923Z] v3.0.0-dev.2 [2023-02-15T00:53:55.923Z] v3.0.0-dev.3 [2023-02-15T00:53:55.923Z] v3.0.0-dev.4 [2023-02-15T00:53:55.923Z] v3.0.0-dev.5 [2023-02-15T00:53:55.923Z] v3.0.0-dev.6 [2023-02-15T00:53:55.923Z] v3.0.0-dev.7 [2023-02-15T00:53:55.923Z] v3.0.0-dev.8 [2023-02-15T00:53:55.923Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-15T00:53:56.212Z] + lftools sign git-tag v3.0.0-dev.9 [2023-02-15T00:53:56.781Z] Signing Git tag with Sigul... [2023-02-15T00:53:56.781Z] Signing v3.0.0-dev.9 [Pipeline] echo [2023-02-15T00:53:57.360Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:53:57.647Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-15T00:53:57.656Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-15T00:53:57.678Z] $ docker stop --time=1 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 [2023-02-15T00:53:58.985Z] $ docker rm -f --volumes 78340ee46ed2c917e59963696344cd144087e6a2a0d7c48ed9d692bb1f7b33b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-15T00:53:59.376Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:53:59.376Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:53:59.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:53:59.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:53:59.751Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:53:59.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:54:00.107Z] $ docker top 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 -eo pid,comm [2023-02-15T00:54:00.154Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T00:54:00.154Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:54:00.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:54:00.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:54:00.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:54:00.323Z] $ docker exec 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 ssh-agent [2023-02-15T00:54:00.419Z] SSH_AUTH_SOCK=/tmp/ssh-TvYTElM5yoKy/agent.32 [2023-02-15T00:54:00.419Z] SSH_AGENT_PID=38 [2023-02-15T00:54:00.423Z] Running ssh-add (command line suppressed) [2023-02-15T00:54:00.522Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5968965087556584232.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5968965087556584232.key) [2023-02-15T00:54:00.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:54:00.817Z] + git semver bump pre [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,991 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,992 [bump_version] DEBUG bumped version:3.0.0-dev.10 [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,992 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,992 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,994 [execute] INFO git cat-file --batch-check [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,999 [execute] INFO git cat-file --batch [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:00,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:54:01.077Z] 2023-02-15 00:54:01,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:54:01.077Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T00:54:01.091Z] $ docker exec --env ******** --env ******** 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 ssh-agent -k [2023-02-15T00:54:01.191Z] unset SSH_AUTH_SOCK; [2023-02-15T00:54:01.191Z] unset SSH_AGENT_PID; [2023-02-15T00:54:01.191Z] echo Agent pid 38 killed; [2023-02-15T00:54:01.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:54:01.496Z] + git semver [Pipeline] } [2023-02-15T00:54:01.774Z] $ docker stop --time=1 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 [2023-02-15T00:54:03.041Z] $ docker rm -f --volumes 7113c062b3e7e8cb47e89774fd8732943f79584515caa9f38d35dbf7c7312c54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:54:03.376Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:54:03.376Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:03.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:54:03.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:03.761Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:54:03.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:54:04.124Z] $ docker top 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb -eo pid,comm [2023-02-15T00:54:04.165Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T00:54:04.165Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:54:04.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:54:04.206Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:54:04.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:54:04.327Z] $ docker exec 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb ssh-agent [2023-02-15T00:54:04.441Z] SSH_AUTH_SOCK=/tmp/ssh-QmPzPtyTEaAl/agent.32 [2023-02-15T00:54:04.441Z] SSH_AGENT_PID=38 [2023-02-15T00:54:04.447Z] Running ssh-add (command line suppressed) [2023-02-15T00:54:04.541Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10449707766777455375.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10449707766777455375.key) [2023-02-15T00:54:04.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:54:04.842Z] + git semver push [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,033 [run_push] DEBUG push [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,033 [execute] INFO git cat-file --batch-check [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,037 [execute] INFO git rev-list 3ac664dc51944eac98845b127e69f497ad40683e -- [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,037 [execute] DEBUG Popen(['git', 'rev-list', '3ac664dc51944eac98845b127e69f497ad40683e', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,044 [execute] INFO git fetch -v origin [2023-02-15T00:54:05.101Z] 2023-02-15 00:54:05,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-15T00:54:05.669Z] 2023-02-15 00:54:05,641 [run_push] DEBUG no remote changes detected [2023-02-15T00:54:05.669Z] 2023-02-15 00:54:05,641 [execute] INFO git push origin semver [2023-02-15T00:54:05.669Z] 2023-02-15 00:54:05,641 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:54:06.605Z] 2023-02-15 00:54:06,535 [run_push] DEBUG push all version tags [2023-02-15T00:54:06.606Z] 2023-02-15 00:54:06,535 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-15T00:54:06.606Z] 2023-02-15 00:54:06,536 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:54:07.542Z] 2023-02-15 00:54:07,377 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-15T00:54:07.542Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T00:54:07.555Z] $ docker exec --env ******** --env ******** 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb ssh-agent -k [2023-02-15T00:54:07.646Z] unset SSH_AUTH_SOCK; [2023-02-15T00:54:07.646Z] unset SSH_AGENT_PID; [2023-02-15T00:54:07.646Z] echo Agent pid 38 killed; [2023-02-15T00:54:07.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:54:07.957Z] + git semver [Pipeline] } [2023-02-15T00:54:08.231Z] $ docker stop --time=1 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb [2023-02-15T00:54:09.480Z] $ docker rm -f --volumes 42c6eb2863115743168ee3a74645c1d98905110644ace5aab99cf1745e49c6fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T00:54:10.031Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-02-15T00:54:10.031Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T00:54:10.031Z] total 16 [2023-02-15T00:54:10.031Z] drwxr-xr-x 3 root root 4096 Feb 15 00:43 . [2023-02-15T00:54:10.031Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:53 .. [2023-02-15T00:54:10.031Z] drwxr-xr-x 2 root root 4096 Feb 15 00:43 cost [2023-02-15T00:54:10.031Z] -rw-r--r-- 1 root root 85 Feb 15 00:43 cost.csv [2023-02-15T00:54:10.031Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T00:54:10.031Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-15T00:54:10.031Z] total 16 [2023-02-15T00:54:10.031Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:43 . [2023-02-15T00:54:10.031Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:53 .. [2023-02-15T00:54:10.031Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:43 cost [2023-02-15T00:54:10.031Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 15 00:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:10.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:11.181Z] ---> package-listing.sh [2023-02-15T00:54:11.181Z] ++ facter osfamily [2023-02-15T00:54:11.181Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:54:11.440Z] + OS_FAMILY=debian [2023-02-15T00:54:11.440Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-02-15T00:54:11.440Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:54:11.440Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:54:11.440Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:54:11.440Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:54:11.440Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-15T00:54:11.440Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:54:11.440Z] + case "${OS_FAMILY}" in [2023-02-15T00:54:11.440Z] + dpkg -l [2023-02-15T00:54:11.440Z] + grep '^ii' [2023-02-15T00:54:11.440Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:54:11.440Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:54:11.440Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:54:11.440Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-15T00:54:11.440Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-02-15T00:54:11.440Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-02-15T00:54:11.449Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:54:11.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:12.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:54:12.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:12.355Z] prd-ubuntu20.04-docker-8c-8g-5946 does not seem to be running inside a container [2023-02-15T00:54:12.387Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:54:12.610Z] $ docker top c8e00f000a9547c4b5f67ff32b6faaa4eb77f6e8481d5d8727b48eb96861a992 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:54:12.994Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:54:13.337Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:54:13.615Z] + ls /var/log/sa-host [2023-02-15T00:54:13.615Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:54:13.688Z] provisioning config files... [2023-02-15T00:54:13.695Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5170280365247647842tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:54:13.706Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:13.988Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:54:13.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:14.319Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:54:14.329Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:14.614Z] ---> sudo-logs.sh [2023-02-15T00:54:14.615Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:54:14.641Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:14.924Z] ---> job-cost.sh [2023-02-15T00:54:14.925Z] lf-activate-venv: SKIPPING [2023-02-15T00:54:14.925Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:54:14.925Z] INFO: Retrieving Stack Cost... [2023-02-15T00:54:15.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:54:15.749Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:54:15.763Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:16.047Z] ---> logs-deploy.sh [2023-02-15T00:54:16.047Z] lf-activate-venv: SKIPPING [2023-02-15T00:54:16.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/81 [2023-02-15T00:54:16.047Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:54:16.985Z] Archives upload complete. [2023-02-15T00:54:16.985Z] INFO: archiving logs to Nexus