Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 539913158ea56f8dca24ab775bb8172a7292d425 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-ssh14676735385491874436.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13335500587167252320.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh342635644045218879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12859364091544339221.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-ssh11670093286936581178.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5224’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5227’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5225’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5229 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 539913158ea56f8dca24ab775bb8172a7292d425 (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275)" > git config core.sparsecheckout # timeout=10 > git checkout -f 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-list --no-walk e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T17:21:51.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T17:21:51.803Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T17:21:51.822Z] ========================================================= [2023-03-22T17:21:51.822Z] EdgeX Global Pipelines Version Info [2023-03-22T17:21:51.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:21:52.588Z] ------------------- [2023-03-22T17:21:52.588Z] stable info: [2023-03-22T17:21:52.588Z] ------------------- [2023-03-22T17:21:52.588Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T17:21:52.588Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T17:21:52.588Z] Message: update stable to v1.0.245 [2023-03-22T17:21:53.159Z] ------------------- [2023-03-22T17:21:53.159Z] experimental info: [2023-03-22T17:21:53.159Z] ------------------- [2023-03-22T17:21:53.159Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T17:21:53.159Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T17:21:53.159Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T17:21:53.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-22T17:21:53.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-22T17:21:53.332Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T17:21:53.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T17:21:53.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T17:21:53.366Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T17:21:53.377Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T17:21:53.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T17:21:53.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T17:21:53.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T17:21:53.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T17:21:53.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-22T17:21:53.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T17:21:53.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T17:21:53.479Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:21:53.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:21:53.514Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:21:53.525Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:21:53.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T17:21:53.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T17:21:53.551Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T17:21:53.560Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T17:21:53.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T17:21:53.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T17:21:53.594Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T17:21:53.610Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T17:21:53.629Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T17:21:53.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-22T17:21:53.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-22T17:21:53.667Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-22T17:21:53.681Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo [2023-03-22T17:21:53.694Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5399131 [Pipeline] echo [2023-03-22T17:21:53.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:21:53.746Z] provisioning config files... [2023-03-22T17:21:53.761Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config792578463659354962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:21:54.071Z] ---> docker-login.sh [2023-03-22T17:21:54.072Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:21:54.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:21:54.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:21:54.333Z] Configure a credential helper to remove this warning. See [2023-03-22T17:21:54.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:21:54.333Z] [2023-03-22T17:21:54.333Z] Login Succeeded [2023-03-22T17:21:54.333Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:21:54.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:21:54.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:21:54.594Z] Configure a credential helper to remove this warning. See [2023-03-22T17:21:54.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:21:54.594Z] [2023-03-22T17:21:54.594Z] Login Succeeded [2023-03-22T17:21:54.594Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:21:54.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:21:54.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:21:54.594Z] Configure a credential helper to remove this warning. See [2023-03-22T17:21:54.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:21:54.594Z] [2023-03-22T17:21:54.594Z] Login Succeeded [2023-03-22T17:21:54.594Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:21:54.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:21:54.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:21:54.857Z] Configure a credential helper to remove this warning. See [2023-03-22T17:21:54.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:21:54.857Z] [2023-03-22T17:21:54.857Z] Login Succeeded [2023-03-22T17:21:54.857Z] docker.io [2023-03-22T17:21:54.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:21:55.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:21:55.117Z] Configure a credential helper to remove this warning. See [2023-03-22T17:21:55.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:21:55.117Z] [2023-03-22T17:21:55.117Z] Login Succeeded [2023-03-22T17:21:55.117Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:21:55.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T17:21:55.504Z] + git rev-list -1 --merges 539913158ea56f8dca24ab775bb8172a7292d425~1..539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo [2023-03-22T17:21:55.551Z] -----------> git rev-list -1 --merges 539913158ea56f8dca24ab775bb8172a7292d425~1..539913158ea56f8dca24ab775bb8172a7292d425 539913158ea56f8dca24ab775bb8172a7292d425 [false] [Pipeline] sh [2023-03-22T17:21:55.841Z] + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo [2023-03-22T17:21:55.858Z] ========================================================= [2023-03-22T17:21:55.858Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T17:21:55.858Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:21:56.192Z] + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] echo [2023-03-22T17:21:56.202Z] [semverPrep] GIT_COMMIT: 539913158ea56f8dca24ab775bb8172a7292d425, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275) [Pipeline] echo [2023-03-22T17:21:56.210Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T17:21:56.558Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:21:56.558Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T17:21:56.558Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T17:21:56.558Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T17:21:56.558Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T17:21:56.558Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T17:21:56.558Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:21:56.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:21:56.897Z] [2023-03-22T17:21:56.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:21:57.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:21:57.200Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T17:21:57.200Z] b85a868b505f: Pulling fs layer [2023-03-22T17:21:57.200Z] e2be974225ed: Pulling fs layer [2023-03-22T17:21:57.200Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T17:21:57.200Z] 988bab9f4d93: Pulling fs layer [2023-03-22T17:21:57.200Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T17:21:57.200Z] eaf3925da568: Pulling fs layer [2023-03-22T17:21:57.200Z] bab4dde63d76: Pulling fs layer [2023-03-22T17:21:57.200Z] bde34c3a00c8: Pulling fs layer [2023-03-22T17:21:57.200Z] b352a97aabf1: Pulling fs layer [2023-03-22T17:21:57.200Z] 4872d77fe225: Pulling fs layer [2023-03-22T17:21:57.200Z] 5851b861e8e6: Pulling fs layer [2023-03-22T17:21:57.200Z] eaf3925da568: Waiting [2023-03-22T17:21:57.200Z] bab4dde63d76: Waiting [2023-03-22T17:21:57.200Z] bde34c3a00c8: Waiting [2023-03-22T17:21:57.200Z] b352a97aabf1: Waiting [2023-03-22T17:21:57.200Z] 988bab9f4d93: Waiting [2023-03-22T17:21:57.200Z] 1469e6f7b9e6: Waiting [2023-03-22T17:21:57.200Z] 5851b861e8e6: Waiting [2023-03-22T17:21:57.200Z] e2be974225ed: Download complete [2023-03-22T17:21:57.200Z] 988bab9f4d93: Verifying Checksum [2023-03-22T17:21:57.200Z] 988bab9f4d93: Download complete [2023-03-22T17:21:57.459Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T17:21:57.459Z] 1469e6f7b9e6: Download complete [2023-03-22T17:21:57.459Z] eaf3925da568: Verifying Checksum [2023-03-22T17:21:57.459Z] eaf3925da568: Download complete [2023-03-22T17:21:57.459Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T17:21:57.459Z] 339a4e72a1f5: Download complete [2023-03-22T17:21:57.459Z] bde34c3a00c8: Download complete [2023-03-22T17:21:57.459Z] b352a97aabf1: Download complete [2023-03-22T17:21:57.459Z] 4872d77fe225: Download complete [2023-03-22T17:21:57.459Z] 5851b861e8e6: Verifying Checksum [2023-03-22T17:21:57.459Z] 5851b861e8e6: Download complete [2023-03-22T17:21:57.459Z] b85a868b505f: Verifying Checksum [2023-03-22T17:21:57.459Z] b85a868b505f: Download complete [2023-03-22T17:21:58.026Z] bab4dde63d76: Verifying Checksum [2023-03-22T17:21:58.026Z] bab4dde63d76: Download complete [2023-03-22T17:21:58.965Z] b85a868b505f: Pull complete [2023-03-22T17:21:58.965Z] e2be974225ed: Pull complete [2023-03-22T17:21:59.536Z] 339a4e72a1f5: Pull complete [2023-03-22T17:21:59.536Z] 988bab9f4d93: Pull complete [2023-03-22T17:21:59.797Z] 1469e6f7b9e6: Pull complete [2023-03-22T17:21:59.797Z] eaf3925da568: Pull complete [2023-03-22T17:22:01.702Z] bab4dde63d76: Pull complete [2023-03-22T17:22:01.963Z] bde34c3a00c8: Pull complete [2023-03-22T17:22:01.963Z] b352a97aabf1: Pull complete [2023-03-22T17:22:01.963Z] 4872d77fe225: Pull complete [2023-03-22T17:22:02.225Z] 5851b861e8e6: Pull complete [2023-03-22T17:22:02.225Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T17:22:02.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:22:02.225Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:22:02.333Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:22:02.357Z] $ 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-03-22T17:22:03.958Z] $ docker top 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 -eo pid,comm [2023-03-22T17:22:04.032Z] 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-03-22T17:22:04.032Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:22:04.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:22:04.065Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:22:04.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:22:04.188Z] $ docker exec 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent [2023-03-22T17:22:04.312Z] SSH_AUTH_SOCK=/tmp/ssh-RWpLDSwq83gY/agent.32 [2023-03-22T17:22:04.312Z] SSH_AGENT_PID=38 [2023-03-22T17:22:04.318Z] Running ssh-add (command line suppressed) [2023-03-22T17:22:04.399Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17763023011232399434.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17763023011232399434.key) [2023-03-22T17:22:04.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:22:04.709Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T17:22:04.703Z] $ docker exec --env ******** --env ******** 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent -k [2023-03-22T17:22:04.806Z] unset SSH_AUTH_SOCK; [2023-03-22T17:22:04.806Z] unset SSH_AGENT_PID; [2023-03-22T17:22:04.806Z] echo Agent pid 38 killed; [2023-03-22T17:22:04.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T17:22:04.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:22:04.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:22:04.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:22:04.946Z] $ docker exec 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent [2023-03-22T17:22:05.067Z] SSH_AUTH_SOCK=/tmp/ssh-45hljNGuFpQs/agent.70 [2023-03-22T17:22:05.067Z] SSH_AGENT_PID=76 [2023-03-22T17:22:05.072Z] Running ssh-add (command line suppressed) [2023-03-22T17:22:05.154Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2744540672599714332.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2744540672599714332.key) [2023-03-22T17:22:05.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:22:05.474Z] + git semver init [2023-03-22T17:22:05.734Z] 2023-03-22 17:22:05,623 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T17:22:05.734Z] 2023-03-22 17:22:05,624 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-22T17:22:05.734Z] 2023-03-22 17:22:05,624 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-22T17:22:05.734Z] 2023-03-22 17:22:05,624 [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-03-22T17:22:06.673Z] 2023-03-22 17:22:06,608 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-03-22T17:22:06.673Z] 2023-03-22 17:22:06,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-03-22T17:22:06.673Z] 2023-03-22 17:22:06,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:22:06.673Z] 2023-03-22 17:22:06,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:22:06.673Z] 3.0.0-dev.22 [Pipeline] } [2023-03-22T17:22:06.666Z] $ docker exec --env ******** --env ******** 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 ssh-agent -k [2023-03-22T17:22:06.756Z] unset SSH_AUTH_SOCK; [2023-03-22T17:22:06.756Z] unset SSH_AGENT_PID; [2023-03-22T17:22:06.756Z] echo Agent pid 76 killed; [2023-03-22T17:22:06.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:22:07.090Z] + git semver [Pipeline] } [2023-03-22T17:22:07.348Z] $ docker stop --time=1 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 [2023-03-22T17:22:08.712Z] $ docker rm -f --volumes 9f1107d70f2c7d85b82b8f3a84e9c8c4795468187f960f529f562c37a714d049 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:22:09.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T17:22:09.315Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T17:22:09.317Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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-03-22T17:22:09.465Z] provisioning config files... [2023-03-22T17:22:09.475Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16135167025260610554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:22:09.774Z] ---> docker-login.sh [2023-03-22T17:22:09.774Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:22:09.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:22:09.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:22:09.774Z] Configure a credential helper to remove this warning. See [2023-03-22T17:22:09.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:22:09.774Z] [2023-03-22T17:22:09.774Z] Login Succeeded [2023-03-22T17:22:09.774Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:22:09.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:22:09.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:22:09.774Z] Configure a credential helper to remove this warning. See [2023-03-22T17:22:09.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:22:09.774Z] [2023-03-22T17:22:09.774Z] Login Succeeded [2023-03-22T17:22:09.774Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:22:10.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:22:10.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:22:10.034Z] Configure a credential helper to remove this warning. See [2023-03-22T17:22:10.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:22:10.034Z] [2023-03-22T17:22:10.034Z] Login Succeeded [2023-03-22T17:22:10.034Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:22:10.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:22:10.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:22:10.034Z] Configure a credential helper to remove this warning. See [2023-03-22T17:22:10.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:22:10.034Z] [2023-03-22T17:22:10.034Z] Login Succeeded [2023-03-22T17:22:10.034Z] docker.io [2023-03-22T17:22:10.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:22:10.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:22:10.293Z] Configure a credential helper to remove this warning. See [2023-03-22T17:22:10.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:22:10.293Z] [2023-03-22T17:22:10.293Z] Login Succeeded [2023-03-22T17:22:10.293Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:22:10.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:22:10.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:22:10.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:22:10.398Z] ========================================================= [2023-03-22T17:22:10.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T17:22:10.398Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:22:10.714Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T17:22:10.714Z] Sending build context to Docker daemon 10.86MB [2023-03-22T17:22:10.715Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:22:10.715Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T17:22:10.715Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T17:22:10.715Z] 63b65145d645: Pulling fs layer [2023-03-22T17:22:10.715Z] a2d21d5440eb: Pulling fs layer [2023-03-22T17:22:10.715Z] 935e6c44a52c: Pulling fs layer [2023-03-22T17:22:10.715Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T17:22:10.715Z] 30dea6a524f1: Pulling fs layer [2023-03-22T17:22:10.715Z] a2aff8979fd8: Pulling fs layer [2023-03-22T17:22:10.715Z] 6808be2612f2: Pulling fs layer [2023-03-22T17:22:10.715Z] f25807f1079a: Pulling fs layer [2023-03-22T17:22:10.715Z] 94cc34f8dd06: Waiting [2023-03-22T17:22:10.715Z] a2aff8979fd8: Waiting [2023-03-22T17:22:10.715Z] 6808be2612f2: Waiting [2023-03-22T17:22:10.715Z] 30dea6a524f1: Waiting [2023-03-22T17:22:10.715Z] f25807f1079a: Waiting [2023-03-22T17:22:10.977Z] a2d21d5440eb: Verifying Checksum [2023-03-22T17:22:10.977Z] a2d21d5440eb: Download complete [2023-03-22T17:22:10.977Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T17:22:10.977Z] 94cc34f8dd06: Download complete [2023-03-22T17:22:10.977Z] 30dea6a524f1: Verifying Checksum [2023-03-22T17:22:10.977Z] 30dea6a524f1: Download complete [2023-03-22T17:22:10.977Z] 63b65145d645: Verifying Checksum [2023-03-22T17:22:10.977Z] 63b65145d645: Download complete [2023-03-22T17:22:10.977Z] a2aff8979fd8: Verifying Checksum [2023-03-22T17:22:10.977Z] a2aff8979fd8: Download complete [2023-03-22T17:22:10.977Z] 63b65145d645: Pull complete [2023-03-22T17:22:11.246Z] a2d21d5440eb: Pull complete [2023-03-22T17:22:11.509Z] f25807f1079a: Verifying Checksum [2023-03-22T17:22:11.509Z] f25807f1079a: Download complete [2023-03-22T17:22:11.768Z] 935e6c44a52c: Verifying Checksum [2023-03-22T17:22:11.768Z] 935e6c44a52c: Download complete [2023-03-22T17:22:11.768Z] 6808be2612f2: Verifying Checksum [2023-03-22T17:22:11.768Z] 6808be2612f2: Download complete [2023-03-22T17:22:15.054Z] 935e6c44a52c: Pull complete [2023-03-22T17:22:15.313Z] 94cc34f8dd06: Pull complete [2023-03-22T17:22:15.313Z] 30dea6a524f1: Pull complete [2023-03-22T17:22:15.313Z] a2aff8979fd8: Pull complete [2023-03-22T17:22:17.841Z] 6808be2612f2: Pull complete [2023-03-22T17:22:18.412Z] f25807f1079a: Pull complete [2023-03-22T17:22:18.412Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T17:22:18.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T17:22:18.412Z] ---> 3b553350e43f [2023-03-22T17:22:18.412Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:22:20.317Z] ---> Running in 933034eaab64 [2023-03-22T17:22:20.317Z] Removing intermediate container 933034eaab64 [2023-03-22T17:22:20.317Z] ---> d6ac2914979a [2023-03-22T17:22:20.317Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:22:20.317Z] ---> Running in 25e8c41c4704 [2023-03-22T17:22:20.574Z] Removing intermediate container 25e8c41c4704 [2023-03-22T17:22:20.574Z] ---> cbf7a9962628 [2023-03-22T17:22:20.574Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T17:22:20.574Z] ---> Running in fd00e34e436a [2023-03-22T17:22:20.574Z] Removing intermediate container fd00e34e436a [2023-03-22T17:22:20.574Z] ---> a209f19ffee7 [2023-03-22T17:22:20.574Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:22:20.832Z] ---> Running in 0808e0abdb8c [2023-03-22T17:22:20.832Z] Removing intermediate container 0808e0abdb8c [2023-03-22T17:22:20.832Z] ---> e64d3552e269 [2023-03-22T17:22:20.832Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:22:20.832Z] ---> Running in e1b96b2ca042 [2023-03-22T17:22:21.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:22:21.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:22:21.348Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T17:22:21.606Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T17:22:21.606Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T17:22:21.606Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T17:22:21.606Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:22:21.606Z] OK: 269 MiB in 57 packages [2023-03-22T17:22:21.874Z] Removing intermediate container e1b96b2ca042 [2023-03-22T17:22:21.874Z] ---> b00b765797fb [2023-03-22T17:22:21.874Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-22T17:22:22.135Z] ---> Running in 757b63259f0a [2023-03-22T17:22:22.135Z] Removing intermediate container 757b63259f0a [2023-03-22T17:22:22.135Z] ---> 29575e8a3624 [2023-03-22T17:22:22.135Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-22T17:22:22.135Z] ---> 37073bc6a559 [2023-03-22T17:22:22.135Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:22:22.393Z] ---> Running in 206044686d17 [2023-03-22T17:22:24.421Z] Still waiting to schedule task [2023-03-22T17:22:24.422Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T17:22:54.484Z] Removing intermediate container 206044686d17 [2023-03-22T17:22:54.484Z] ---> 03503b6111ba [2023-03-22T17:22:54.484Z] Step 11/12 : COPY . . [2023-03-22T17:22:54.484Z] ---> 2c306946e843 [2023-03-22T17:22:54.484Z] Step 12/12 : RUN $MAKE [2023-03-22T17:22:54.484Z] ---> Running in b6098c6b28d0 [2023-03-22T17:22:54.484Z] noop [2023-03-22T17:22:54.484Z] Removing intermediate container b6098c6b28d0 [2023-03-22T17:22:54.484Z] ---> 8b9fb4f39951 [2023-03-22T17:22:54.484Z] Successfully built 8b9fb4f39951 [2023-03-22T17:22:54.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:22:54.790Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:22:54.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:22:54.861Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:22:54.897Z] $ 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-03-22T17:22:55.305Z] $ docker top 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:22:55.652Z] + go version [2023-03-22T17:22:55.652Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T17:22:55.665Z] $ docker stop --time=1 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b [2023-03-22T17:22:56.962Z] $ docker rm -f --volumes 52b95e11d2c12d11191ef5eb34249c10b26f0803443f34ae646dabd9257e140b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:22:57.356Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:22:57.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:22:57.436Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:22:57.475Z] $ 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-03-22T17:22:57.846Z] $ docker top fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:22:58.181Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:22:58.477Z] + make test [2023-03-22T17:22:58.477Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T17:23:03.747Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-22T17:23:13.715Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-22T17:23:13.715Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.0% of statements [2023-03-22T17:23:18.972Z] go vet ./... [2023-03-22T17:23:21.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T17:23:21.756Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T17:23:21.756Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T17:23:21.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T17:23:21.787Z] $ docker stop --time=1 fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf [2023-03-22T17:23:24.017Z] $ docker rm -f --volumes fd238127f279181f753a7a0a43febc215cabd4372541d3b2c160629829a353cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:23:24.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T17:23:24.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T17:23:24.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T17:23:25.240Z] + ls -al . [2023-03-22T17:23:25.240Z] total 184 [2023-03-22T17:23:25.240Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 17:22 . [2023-03-22T17:23:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:21 .. [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 17:21 .dockerignore [2023-03-22T17:23:25.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:22 .git [2023-03-22T17:23:25.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:21 .github [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 17:21 .gitignore [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:21 .golangci.yml [2023-03-22T17:23:25.240Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:22 .semver [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 17:21 Attribution.txt [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 17:21 CHANGELOG.md [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 17:21 Dockerfile [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:21 GOVERNANCE.md [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:21 Jenkinsfile [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:21 LICENSE [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 17:21 Makefile [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 17:21 OWNERS.md [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 17:21 README.md [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:22 VERSION [2023-03-22T17:23:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:21 bin [2023-03-22T17:23:25.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:21 cmd [2023-03-22T17:23:25.240Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 17:23 coverage.out [2023-03-22T17:23:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:21 driver [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 22 17:21 go.mod [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 22 17:21 go.sum [2023-03-22T17:23:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:21 snap [2023-03-22T17:23:25.240Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:25.641Z] + 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=539913158ea56f8dca24ab775bb8172a7292d425 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-03-22T17:23:25.641Z] Sending build context to Docker daemon 10.88MB [2023-03-22T17:23:25.641Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:23:25.641Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-22T17:23:25.641Z] ---> 8b9fb4f39951 [2023-03-22T17:23:25.642Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:23:25.925Z] ---> Running in b94c91cf6811 [2023-03-22T17:23:25.925Z] Removing intermediate container b94c91cf6811 [2023-03-22T17:23:25.925Z] ---> 7d467136d2fb [2023-03-22T17:23:25.925Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:23:25.925Z] ---> Running in 4070f594eda8 [2023-03-22T17:23:25.925Z] Removing intermediate container 4070f594eda8 [2023-03-22T17:23:25.925Z] ---> 54c61a2b3c3d [2023-03-22T17:23:25.925Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T17:23:26.188Z] ---> Running in 7f211f23ccb3 [2023-03-22T17:23:26.188Z] Removing intermediate container 7f211f23ccb3 [2023-03-22T17:23:26.188Z] ---> 12bbdf9a6a28 [2023-03-22T17:23:26.188Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:23:26.188Z] ---> Running in bf7085bdc0f7 [2023-03-22T17:23:26.465Z] Removing intermediate container bf7085bdc0f7 [2023-03-22T17:23:26.465Z] ---> da7de51a04a4 [2023-03-22T17:23:26.465Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:23:26.465Z] ---> Running in a5b5665e9ca3 [2023-03-22T17:23:26.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:26.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:27.020Z] OK: 269 MiB in 57 packages [2023-03-22T17:23:27.279Z] Removing intermediate container a5b5665e9ca3 [2023-03-22T17:23:27.279Z] ---> 57a02f2592a2 [2023-03-22T17:23:27.279Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-22T17:23:27.540Z] ---> Running in a0f60e7ed5eb [2023-03-22T17:23:27.540Z] Removing intermediate container a0f60e7ed5eb [2023-03-22T17:23:27.540Z] ---> 45366d41aa14 [2023-03-22T17:23:27.540Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-22T17:23:27.799Z] ---> 907f088c98ca [2023-03-22T17:23:27.799Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:23:27.799Z] ---> Running in b7c1cc335e27 [2023-03-22T17:23:28.749Z] Removing intermediate container b7c1cc335e27 [2023-03-22T17:23:28.749Z] ---> 738e831a2b56 [2023-03-22T17:23:28.749Z] Step 11/25 : COPY . . [2023-03-22T17:23:29.009Z] ---> 7add0b6a0dfd [2023-03-22T17:23:29.009Z] Step 12/25 : RUN $MAKE [2023-03-22T17:23:29.009Z] ---> Running in a752294863b4 [2023-03-22T17:23:29.268Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-22T17:23:47.355Z] Removing intermediate container a752294863b4 [2023-03-22T17:23:47.355Z] ---> 022452d5d543 [2023-03-22T17:23:47.355Z] Step 13/25 : FROM alpine:3.17 [2023-03-22T17:23:47.355Z] 3.17: Pulling from library/alpine [2023-03-22T17:23:47.355Z] 63b65145d645: Already exists [2023-03-22T17:23:47.355Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T17:23:47.355Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T17:23:47.355Z] ---> b2aa39c304c2 [2023-03-22T17:23:47.355Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T17:23:47.355Z] ---> Running in 5d245f2f08eb [2023-03-22T17:23:47.355Z] Removing intermediate container 5d245f2f08eb [2023-03-22T17:23:47.355Z] ---> b94a4c1a1854 [2023-03-22T17:23:47.355Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-22T17:23:47.355Z] ---> Running in bf08bcf48599 [2023-03-22T17:23:47.355Z] Removing intermediate container bf08bcf48599 [2023-03-22T17:23:47.355Z] ---> 5e4040b83087 [2023-03-22T17:23:47.355Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-22T17:23:47.355Z] ---> Running in c75127f88c4e [2023-03-22T17:23:47.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:47.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:47.614Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T17:23:47.614Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:23:47.614Z] OK: 7 MiB in 16 packages [2023-03-22T17:23:47.875Z] Removing intermediate container c75127f88c4e [2023-03-22T17:23:47.875Z] ---> 4ed1149fe5b0 [2023-03-22T17:23:47.875Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-22T17:23:48.442Z] ---> bb50fbcf8daa [2023-03-22T17:23:48.442Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-22T17:23:48.703Z] ---> 32bfbb9b1649 [2023-03-22T17:23:48.703Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-22T17:23:48.703Z] ---> 855f42a5bcaf [2023-03-22T17:23:48.703Z] Step 20/25 : EXPOSE 59986 [2023-03-22T17:23:48.703Z] ---> Running in 948f8ae28f51 [2023-03-22T17:23:48.965Z] Removing intermediate container 948f8ae28f51 [2023-03-22T17:23:48.965Z] ---> 7665543d3624 [2023-03-22T17:23:48.965Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-22T17:23:48.965Z] ---> Running in b23eeb4ec77b [2023-03-22T17:23:48.965Z] Removing intermediate container b23eeb4ec77b [2023-03-22T17:23:48.965Z] ---> c785634e8aa1 [2023-03-22T17:23:48.965Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-22T17:23:48.965Z] ---> Running in 23cb398e585b [2023-03-22T17:23:49.223Z] Removing intermediate container 23cb398e585b [2023-03-22T17:23:49.224Z] ---> 0be73f869ca9 [2023-03-22T17:23:49.224Z] Step 23/25 : LABEL arch=amd64 [2023-03-22T17:23:49.224Z] ---> Running in cb5ae8c8b8b3 [2023-03-22T17:23:49.224Z] Removing intermediate container cb5ae8c8b8b3 [2023-03-22T17:23:49.224Z] ---> 426ce5709612 [2023-03-22T17:23:49.224Z] Step 24/25 : LABEL git_sha=539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:23:49.224Z] ---> Running in bafcaf64a06e [2023-03-22T17:23:49.490Z] Removing intermediate container bafcaf64a06e [2023-03-22T17:23:49.490Z] ---> 9319ed51cbb5 [2023-03-22T17:23:49.490Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-22T17:23:49.490Z] ---> Running in 1300f5c4bec7 [2023-03-22T17:23:49.490Z] Removing intermediate container 1300f5c4bec7 [2023-03-22T17:23:49.490Z] ---> a35cc2a252df [2023-03-22T17:23:49.490Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T17:23:49.490Z] Successfully built a35cc2a252df [2023-03-22T17:23:49.490Z] 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-03-22T17:23:49.597Z] provisioning config files... [2023-03-22T17:23:49.609Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6814906718170551996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:23:49.911Z] ---> docker-login.sh [2023-03-22T17:23:49.911Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:23:49.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:49.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:49.911Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:49.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:49.911Z] [2023-03-22T17:23:49.911Z] Login Succeeded [2023-03-22T17:23:49.911Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:23:49.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:49.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:49.911Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:49.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:49.911Z] [2023-03-22T17:23:49.911Z] Login Succeeded [2023-03-22T17:23:49.911Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:23:50.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:50.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:50.171Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:50.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:50.171Z] [2023-03-22T17:23:50.171Z] Login Succeeded [2023-03-22T17:23:50.171Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:23:50.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:50.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:50.171Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:50.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:50.171Z] [2023-03-22T17:23:50.171Z] Login Succeeded [2023-03-22T17:23:50.171Z] docker.io [2023-03-22T17:23:50.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:50.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:50.431Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:50.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:50.431Z] [2023-03-22T17:23:50.431Z] Login Succeeded [2023-03-22T17:23:50.431Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:23:50.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:23:50.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:23:50.495Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-03-22T17:23:50.495Z] 539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:23:50.495Z] latest [2023-03-22T17:23:50.495Z] 3.0.0-dev.22 [2023-03-22T17:23:50.495Z] 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:23:50.495Z] main [2023-03-22T17:23:50.495Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:50.818Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:51.125Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:23:51.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-22T17:23:51.125Z] 160d44c71fca: Preparing [2023-03-22T17:23:51.125Z] e8221528d9a1: Preparing [2023-03-22T17:23:51.125Z] 72381c75b62b: Preparing [2023-03-22T17:23:51.125Z] c8ab2ddccc71: Preparing [2023-03-22T17:23:51.125Z] 7cd52847ad77: Preparing [2023-03-22T17:23:51.125Z] 7cd52847ad77: Layer already exists [2023-03-22T17:23:51.125Z] e8221528d9a1: Pushed [2023-03-22T17:23:51.125Z] c8ab2ddccc71: Pushed [2023-03-22T17:23:51.125Z] 160d44c71fca: Pushed [2023-03-22T17:23:53.661Z] 72381c75b62b: Pushed [2023-03-22T17:23:53.661Z] 539913158ea56f8dca24ab775bb8172a7292d425: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:53.975Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:54.285Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-22T17:23:54.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-22T17:23:54.285Z] 160d44c71fca: Preparing [2023-03-22T17:23:54.285Z] e8221528d9a1: Preparing [2023-03-22T17:23:54.285Z] 72381c75b62b: Preparing [2023-03-22T17:23:54.285Z] c8ab2ddccc71: Preparing [2023-03-22T17:23:54.285Z] 7cd52847ad77: Preparing [2023-03-22T17:23:54.285Z] c8ab2ddccc71: Layer already exists [2023-03-22T17:23:54.285Z] 72381c75b62b: Layer already exists [2023-03-22T17:23:54.285Z] e8221528d9a1: Layer already exists [2023-03-22T17:23:54.285Z] 7cd52847ad77: Layer already exists [2023-03-22T17:23:54.285Z] 160d44c71fca: Layer already exists [2023-03-22T17:23:54.285Z] latest: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:54.604Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:54.917Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 [2023-03-22T17:23:54.917Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-22T17:23:54.917Z] 160d44c71fca: Preparing [2023-03-22T17:23:54.917Z] e8221528d9a1: Preparing [2023-03-22T17:23:54.917Z] 72381c75b62b: Preparing [2023-03-22T17:23:54.917Z] c8ab2ddccc71: Preparing [2023-03-22T17:23:54.917Z] 7cd52847ad77: Preparing [2023-03-22T17:23:54.917Z] e8221528d9a1: Layer already exists [2023-03-22T17:23:54.917Z] 160d44c71fca: Layer already exists [2023-03-22T17:23:54.917Z] c8ab2ddccc71: Layer already exists [2023-03-22T17:23:54.917Z] 72381c75b62b: Layer already exists [2023-03-22T17:23:54.917Z] 7cd52847ad77: Layer already exists [2023-03-22T17:23:54.917Z] 3.0.0-dev.22: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:55.231Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:55.544Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:23:55.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-22T17:23:55.544Z] 160d44c71fca: Preparing [2023-03-22T17:23:55.544Z] e8221528d9a1: Preparing [2023-03-22T17:23:55.544Z] 72381c75b62b: Preparing [2023-03-22T17:23:55.544Z] c8ab2ddccc71: Preparing [2023-03-22T17:23:55.544Z] 7cd52847ad77: Preparing [2023-03-22T17:23:55.544Z] 72381c75b62b: Layer already exists [2023-03-22T17:23:55.544Z] 160d44c71fca: Layer already exists [2023-03-22T17:23:55.544Z] c8ab2ddccc71: Layer already exists [2023-03-22T17:23:55.544Z] e8221528d9a1: Layer already exists [2023-03-22T17:23:55.544Z] 7cd52847ad77: Layer already exists [2023-03-22T17:23:55.544Z] 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:55.862Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:56.182Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-03-22T17:23:56.182Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-22T17:23:56.182Z] 160d44c71fca: Preparing [2023-03-22T17:23:56.182Z] e8221528d9a1: Preparing [2023-03-22T17:23:56.182Z] 72381c75b62b: Preparing [2023-03-22T17:23:56.182Z] c8ab2ddccc71: Preparing [2023-03-22T17:23:56.182Z] 7cd52847ad77: Preparing [2023-03-22T17:23:56.182Z] 72381c75b62b: Layer already exists [2023-03-22T17:23:56.182Z] c8ab2ddccc71: Layer already exists [2023-03-22T17:23:56.182Z] 7cd52847ad77: Layer already exists [2023-03-22T17:23:56.182Z] e8221528d9a1: Layer already exists [2023-03-22T17:23:56.182Z] 160d44c71fca: Layer already exists [2023-03-22T17:23:56.182Z] main: digest: sha256:d70826093f545e9a85047cd2bc230427656c8bee914f24aadf67d04edcef6fce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:23:56.235Z] ===================================================== [Pipeline] echo [2023-03-22T17:23:56.243Z] taggedImages: [2023-03-22T17:23:56.243Z] - nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:23:56.243Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-22T17:23:56.243Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.22 [2023-03-22T17:23:56.243Z] - nexus3.edgexfoundry.org:10004/device-rest:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:23:56.243Z] - 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-03-22T17:23:56.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:23:56.620Z] [2023-03-22T17:23:56.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:56.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:23:56.924Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T17:23:56.924Z] 5eb5b503b376: Pulling fs layer [2023-03-22T17:23:56.924Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T17:23:56.924Z] ec43610c2a17: Pulling fs layer [2023-03-22T17:23:56.924Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T17:23:56.924Z] 33b1e0a273af: Pulling fs layer [2023-03-22T17:23:56.924Z] 3a2ae6a8a46f: Waiting [2023-03-22T17:23:56.924Z] 33b1e0a273af: Waiting [2023-03-22T17:23:56.924Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T17:23:56.924Z] 2f39f015ded8: Pulling fs layer [2023-03-22T17:23:56.924Z] 5d3b04190fa2: Waiting [2023-03-22T17:23:56.924Z] 2f39f015ded8: Waiting [2023-03-22T17:23:56.924Z] 5c69ac0246d0: Download complete [2023-03-22T17:23:56.924Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T17:23:56.924Z] 3a2ae6a8a46f: Download complete [2023-03-22T17:23:57.186Z] 33b1e0a273af: Verifying Checksum [2023-03-22T17:23:57.186Z] 33b1e0a273af: Download complete [2023-03-22T17:23:57.186Z] 5d3b04190fa2: Download complete [2023-03-22T17:23:57.186Z] ec43610c2a17: Verifying Checksum [2023-03-22T17:23:57.186Z] ec43610c2a17: Download complete [2023-03-22T17:23:57.186Z] 5eb5b503b376: Verifying Checksum [2023-03-22T17:23:57.186Z] 5eb5b503b376: Download complete [2023-03-22T17:23:57.752Z] 2f39f015ded8: Download complete [2023-03-22T17:23:58.318Z] 5eb5b503b376: Pull complete [2023-03-22T17:23:58.318Z] 5c69ac0246d0: Pull complete [2023-03-22T17:23:58.884Z] ec43610c2a17: Pull complete [2023-03-22T17:23:58.884Z] 3a2ae6a8a46f: Pull complete [2023-03-22T17:23:59.143Z] 33b1e0a273af: Pull complete [2023-03-22T17:23:59.143Z] 5d3b04190fa2: Pull complete [2023-03-22T17:24:03.326Z] 2f39f015ded8: Pull complete [2023-03-22T17:24:03.326Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T17:24:03.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:24:03.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:24:03.411Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:24:03.441Z] $ 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-03-22T17:24:05.487Z] $ docker top 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:24:05.870Z] ---> job-cost.sh [2023-03-22T17:24:05.870Z] lf-activate-venv: SKIPPING [2023-03-22T17:24:05.870Z] INFO: No Stack... [2023-03-22T17:24:06.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:24:06.388Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:24:06.681Z] + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-03-22T17:24:06.681Z] cut -d, -f6 [Pipeline] lock [2023-03-22T17:24:06.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [2023-03-22T17:24:06.701Z] Resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] did not exist. Created. [2023-03-22T17:24:06.701Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:24:07.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T17:24:07.033Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:24:07.041Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:24:07.056Z] $ docker stop --time=1 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e [2023-03-22T17:24:08.226Z] $ docker rm -f --volumes 26afad91a561b4072e79bd6397dc88f3d4785877cd97242d27458a9e8bdb575e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T17:24:59.129Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5236 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-03-22T17:24:59.141Z] Running in /w/workspace/device-rest-go/94 [Pipeline] { [Pipeline] checkout [2023-03-22T17:24:59.184Z] The recommended git tool is: git [2023-03-22T17:25:06.189Z] using credential edgex-jenkins-ssh [2023-03-22T17:25:06.209Z] Cloning the remote Git repository [2023-03-22T17:25:06.272Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-22T17:25:06.389Z] > git init /w/workspace/device-rest-go/94 # timeout=10 [2023-03-22T17:25:06.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-22T17:25:06.591Z] > git --version # timeout=10 [2023-03-22T17:25:06.622Z] > git --version # 'git version 2.25.1' [2023-03-22T17:25:06.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T17:25:06.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:25:08.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-22T17:25:08.985Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:25:10.072Z] Avoid second fetch [2023-03-22T17:25:10.072Z] Checking out Revision 539913158ea56f8dca24ab775bb8172a7292d425 (main) [2023-03-22T17:25:10.765Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#275)" [2023-03-22T17:25:10.096Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T17:25:10.185Z] > git checkout -f 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:25:11.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T17:25:11.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T17:25:11.577Z] Dload Upload Total Spent Left Speed [2023-03-22T17:25:11.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-03-22T17:25:12.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T17:25:12.573Z] + sudo tee /etc/docker/daemon.new [2023-03-22T17:25:12.573Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T17:25:12.573Z] { [2023-03-22T17:25:12.573Z] "registry-mirrors": [ [2023-03-22T17:25:12.573Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T17:25:12.573Z] ], [2023-03-22T17:25:12.573Z] "bip": "10.250.0.254/24", [2023-03-22T17:25:12.573Z] "hosts": [ [2023-03-22T17:25:12.573Z] "tcp://0.0.0.0:5555", [2023-03-22T17:25:12.573Z] "unix:///var/run/docker.sock" [2023-03-22T17:25:12.573Z] ], [2023-03-22T17:25:12.573Z] "mtu": 1458, [2023-03-22T17:25:12.573Z] "selinux-enabled": true, [2023-03-22T17:25:12.573Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T17:25:12.573Z] } [Pipeline] sh [2023-03-22T17:25:12.909Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T17:25:13.242Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:25:31.600Z] provisioning config files... [2023-03-22T17:25:31.642Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/94@tmp/config13682394723116672454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:25:32.025Z] ---> docker-login.sh [2023-03-22T17:25:32.025Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:25:32.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:25:32.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:25:32.624Z] Configure a credential helper to remove this warning. See [2023-03-22T17:25:32.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:25:32.624Z] [2023-03-22T17:25:32.624Z] Login Succeeded [2023-03-22T17:25:32.624Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:25:32.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:25:33.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:25:33.171Z] Configure a credential helper to remove this warning. See [2023-03-22T17:25:33.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:25:33.171Z] [2023-03-22T17:25:33.171Z] Login Succeeded [2023-03-22T17:25:33.171Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:25:33.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:25:33.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:25:33.444Z] Configure a credential helper to remove this warning. See [2023-03-22T17:25:33.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:25:33.444Z] [2023-03-22T17:25:33.444Z] Login Succeeded [2023-03-22T17:25:33.444Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:25:33.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:25:33.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:25:33.999Z] Configure a credential helper to remove this warning. See [2023-03-22T17:25:33.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:25:33.999Z] [2023-03-22T17:25:33.999Z] Login Succeeded [2023-03-22T17:25:33.999Z] docker.io [2023-03-22T17:25:34.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:25:34.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:25:34.541Z] Configure a credential helper to remove this warning. See [2023-03-22T17:25:34.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:25:34.541Z] [2023-03-22T17:25:34.541Z] Login Succeeded [2023-03-22T17:25:34.541Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:25:34.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:25:34.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:25:34.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:25:34.918Z] ========================================================= [2023-03-22T17:25:34.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T17:25:34.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:35.272Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T17:25:35.272Z] Sending build context to Docker daemon 138.2kB [2023-03-22T17:25:35.543Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:25:35.543Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T17:25:35.818Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T17:25:35.818Z] af6eaf76a39c: Pulling fs layer [2023-03-22T17:25:35.818Z] 55522c791124: Pulling fs layer [2023-03-22T17:25:35.818Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T17:25:35.818Z] 169dfbe0d373: Pulling fs layer [2023-03-22T17:25:35.818Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T17:25:35.818Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T17:25:35.818Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T17:25:35.818Z] e1ff8fa3b103: Waiting [2023-03-22T17:25:35.818Z] 52ebb69f0ebf: Waiting [2023-03-22T17:25:35.818Z] 5abe8eddf0d5: Waiting [2023-03-22T17:25:35.818Z] 169dfbe0d373: Waiting [2023-03-22T17:25:35.818Z] 55522c791124: Verifying Checksum [2023-03-22T17:25:35.818Z] 55522c791124: Download complete [2023-03-22T17:25:35.818Z] 169dfbe0d373: Verifying Checksum [2023-03-22T17:25:35.818Z] 169dfbe0d373: Download complete [2023-03-22T17:25:35.818Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T17:25:35.818Z] e1ff8fa3b103: Download complete [2023-03-22T17:25:35.818Z] af6eaf76a39c: Verifying Checksum [2023-03-22T17:25:35.818Z] af6eaf76a39c: Download complete [2023-03-22T17:25:36.816Z] af6eaf76a39c: Pull complete [2023-03-22T17:25:36.816Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T17:25:36.816Z] 5abe8eddf0d5: Download complete [2023-03-22T17:25:37.802Z] 55522c791124: Pull complete [2023-03-22T17:25:38.396Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T17:25:38.396Z] ce5c4a1c91eb: Download complete [2023-03-22T17:25:38.668Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T17:25:38.668Z] 52ebb69f0ebf: Download complete [2023-03-22T17:25:48.778Z] ce5c4a1c91eb: Pull complete [2023-03-22T17:25:48.778Z] 169dfbe0d373: Pull complete [2023-03-22T17:25:48.778Z] e1ff8fa3b103: Pull complete [2023-03-22T17:25:57.029Z] 52ebb69f0ebf: Pull complete [2023-03-22T17:25:58.025Z] 5abe8eddf0d5: Pull complete [2023-03-22T17:25:58.025Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T17:25:58.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T17:25:58.025Z] ---> 6cb57ee374ae [2023-03-22T17:25:58.025Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:26:00.011Z] ---> Running in 3773ab5a9b2e [2023-03-22T17:26:00.285Z] Removing intermediate container 3773ab5a9b2e [2023-03-22T17:26:00.285Z] ---> c6b499be10ff [2023-03-22T17:26:00.285Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:26:00.285Z] ---> Running in fcfcf0f5a6dc [2023-03-22T17:26:00.878Z] Removing intermediate container fcfcf0f5a6dc [2023-03-22T17:26:00.878Z] ---> e0b90662cb63 [2023-03-22T17:26:00.878Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T17:26:00.878Z] ---> Running in 92fa23bad624 [2023-03-22T17:26:01.152Z] Removing intermediate container 92fa23bad624 [2023-03-22T17:26:01.152Z] ---> 9e074b2faf97 [2023-03-22T17:26:01.152Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:26:01.152Z] ---> Running in 936058165c17 [2023-03-22T17:26:01.808Z] Removing intermediate container 936058165c17 [2023-03-22T17:26:01.808Z] ---> 40e954a13eca [2023-03-22T17:26:01.808Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:26:01.808Z] ---> Running in 4e5c1df552bd [2023-03-22T17:26:03.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:26:03.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:26:05.290Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T17:26:05.290Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T17:26:05.290Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T17:26:05.563Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T17:26:05.563Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:26:05.563Z] OK: 268 MiB in 57 packages [2023-03-22T17:26:06.989Z] Removing intermediate container 4e5c1df552bd [2023-03-22T17:26:06.989Z] ---> ad34f414c0d3 [2023-03-22T17:26:06.989Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-22T17:26:06.989Z] ---> Running in 40c0893d4caa [2023-03-22T17:26:07.261Z] Removing intermediate container 40c0893d4caa [2023-03-22T17:26:07.261Z] ---> 7443412a14c7 [2023-03-22T17:26:07.261Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-22T17:26:07.853Z] ---> e7790fe796b3 [2023-03-22T17:26:07.853Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:26:07.853Z] ---> Running in 8f672f74811f [2023-03-22T17:27:15.782Z] Removing intermediate container 8f672f74811f [2023-03-22T17:27:15.782Z] ---> ff6b1607c4c7 [2023-03-22T17:27:15.782Z] Step 11/12 : COPY . . [2023-03-22T17:27:15.782Z] ---> 1caab77ee7bd [2023-03-22T17:27:15.782Z] Step 12/12 : RUN $MAKE [2023-03-22T17:27:15.782Z] ---> Running in 47e96b09d239 [2023-03-22T17:27:15.782Z] noop [2023-03-22T17:27:15.782Z] Removing intermediate container 47e96b09d239 [2023-03-22T17:27:15.782Z] ---> fee8e428e278 [2023-03-22T17:27:15.782Z] Successfully built fee8e428e278 [2023-03-22T17:27:15.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:27:16.149Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:27:16.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:27:16.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2023-03-22T17:27:16.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T17:27:17.725Z] $ docker top 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:27:18.604Z] + go version [2023-03-22T17:27:18.604Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T17:27:18.626Z] $ docker stop --time=1 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f [2023-03-22T17:27:20.283Z] $ docker rm -f --volumes 7f7fca1990a9c68c188dbed88dcfeb4bf94924f7172afdf080c34d023f82547f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:27:20.879Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:27:20.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:27:21.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2023-03-22T17:27:21.184Z] $ 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/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T17:27:22.490Z] $ docker top 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:27:23.343Z] + git config --global --add safe.directory /w/workspace/device-rest-go/94 [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:27:24.005Z] + make test [2023-03-22T17:27:24.005Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T17:28:02.908Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-22T17:30:09.707Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-22T17:30:09.707Z] ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 33.0% of statements [2023-03-22T17:30:09.707Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T17:30:09.707Z] go vet ./... [2023-03-22T17:30:41.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T17:30:41.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T17:30:41.973Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T17:30:41.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T17:30:42.008Z] $ docker stop --time=1 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 [2023-03-22T17:30:43.905Z] $ docker rm -f --volumes 6ad519140fa41352c3cc43673687b17ff1000b87e95bfb08a058be6b044be106 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:30:45.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T17:30:45.173Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T17:30:45.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:30:46.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T17:30:46.524Z] + ls -al . [2023-03-22T17:30:46.525Z] total 180 [2023-03-22T17:30:46.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:27 . [2023-03-22T17:30:46.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:25 .. [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 17:25 .dockerignore [2023-03-22T17:30:46.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:25 .git [2023-03-22T17:30:46.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:25 .github [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 17:25 .gitignore [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:25 .golangci.yml [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 17:25 Attribution.txt [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 17:25 CHANGELOG.md [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 17:25 Dockerfile [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:25 GOVERNANCE.md [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:25 Jenkinsfile [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:25 LICENSE [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 17:25 Makefile [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 17:25 OWNERS.md [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 17:25 README.md [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:22 VERSION [2023-03-22T17:30:46.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:25 bin [2023-03-22T17:30:46.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:25 cmd [2023-03-22T17:30:46.525Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 17:30 coverage.out [2023-03-22T17:30:46.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:25 driver [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 22 17:25 go.mod [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 22 17:25 go.sum [2023-03-22T17:30:46.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:25 snap [2023-03-22T17:30:46.525Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:30:46.878Z] + 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=539913158ea56f8dca24ab775bb8172a7292d425 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-03-22T17:30:46.878Z] Sending build context to Docker daemon 153.1kB [2023-03-22T17:30:47.149Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:30:47.149Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-22T17:30:47.149Z] ---> fee8e428e278 [2023-03-22T17:30:47.149Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:30:47.149Z] ---> Running in 18f5f72ceae3 [2023-03-22T17:30:47.739Z] Removing intermediate container 18f5f72ceae3 [2023-03-22T17:30:47.739Z] ---> 9fa8f9ad36e7 [2023-03-22T17:30:47.739Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:30:47.739Z] ---> Running in b21f8e21b763 [2023-03-22T17:30:48.011Z] Removing intermediate container b21f8e21b763 [2023-03-22T17:30:48.011Z] ---> 7043b0e6b9ef [2023-03-22T17:30:48.011Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-22T17:30:48.011Z] ---> Running in 67f0612dbb5d [2023-03-22T17:30:48.615Z] Removing intermediate container 67f0612dbb5d [2023-03-22T17:30:48.615Z] ---> faf76a072efe [2023-03-22T17:30:48.615Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:30:48.615Z] ---> Running in 0d0da4e75e78 [2023-03-22T17:30:48.890Z] Removing intermediate container 0d0da4e75e78 [2023-03-22T17:30:48.890Z] ---> 8cc82dbd1af1 [2023-03-22T17:30:48.890Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:30:48.890Z] ---> Running in 4fd9cfd8dabf [2023-03-22T17:30:50.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:30:52.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:30:53.694Z] OK: 268 MiB in 57 packages [2023-03-22T17:30:54.283Z] Removing intermediate container 4fd9cfd8dabf [2023-03-22T17:30:54.283Z] ---> a4b8bb134b06 [2023-03-22T17:30:54.283Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-22T17:30:54.283Z] ---> Running in c8f5104b2be6 [2023-03-22T17:30:54.873Z] Removing intermediate container c8f5104b2be6 [2023-03-22T17:30:54.873Z] ---> 73e04c814cf2 [2023-03-22T17:30:54.873Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-22T17:30:55.141Z] ---> 9eca9c5ba2ba [2023-03-22T17:30:55.141Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:30:55.411Z] ---> Running in 508ebb081e5c [2023-03-22T17:30:58.015Z] Removing intermediate container 508ebb081e5c [2023-03-22T17:30:58.015Z] ---> 071c02bcbe7a [2023-03-22T17:30:58.015Z] Step 11/25 : COPY . . [2023-03-22T17:30:58.609Z] ---> ab5c512539d4 [2023-03-22T17:30:58.609Z] Step 12/25 : RUN $MAKE [2023-03-22T17:30:58.609Z] ---> Running in 602d4380858b [2023-03-22T17:30:59.583Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-22T17:33:36.393Z] Removing intermediate container 602d4380858b [2023-03-22T17:33:36.393Z] ---> 94955168c2e6 [2023-03-22T17:33:36.393Z] Step 13/25 : FROM alpine:3.17 [2023-03-22T17:33:36.393Z] 3.17: Pulling from library/alpine [2023-03-22T17:33:36.393Z] af6eaf76a39c: Already exists [2023-03-22T17:33:36.393Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T17:33:36.393Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T17:33:36.393Z] ---> d74e625d9115 [2023-03-22T17:33:36.393Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T17:33:36.393Z] ---> Running in ab22c619fe72 [2023-03-22T17:33:36.393Z] Removing intermediate container ab22c619fe72 [2023-03-22T17:33:36.393Z] ---> 5992b04afdb1 [2023-03-22T17:33:36.393Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-22T17:33:36.393Z] ---> Running in b48c044f37e7 [2023-03-22T17:33:36.393Z] Removing intermediate container b48c044f37e7 [2023-03-22T17:33:36.393Z] ---> 7c15134f3549 [2023-03-22T17:33:36.393Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-22T17:33:36.393Z] ---> Running in aad8d5888f65 [2023-03-22T17:33:36.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:33:36.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:33:36.393Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T17:33:36.393Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:33:36.393Z] OK: 8 MiB in 16 packages [2023-03-22T17:33:36.393Z] Removing intermediate container aad8d5888f65 [2023-03-22T17:33:36.393Z] ---> 466ecc4ae117 [2023-03-22T17:33:36.393Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-22T17:33:37.359Z] ---> e0a00cf447f7 [2023-03-22T17:33:37.359Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-22T17:33:37.945Z] ---> 6f9d1bc7b65b [2023-03-22T17:33:37.945Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-22T17:33:38.545Z] ---> 84b9b1110ea2 [2023-03-22T17:33:38.545Z] Step 20/25 : EXPOSE 59986 [2023-03-22T17:33:38.545Z] ---> Running in 598c60cdd255 [2023-03-22T17:33:38.815Z] Removing intermediate container 598c60cdd255 [2023-03-22T17:33:38.815Z] ---> af13ba59b45d [2023-03-22T17:33:38.815Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-22T17:33:38.815Z] ---> Running in 4e905ca8c999 [2023-03-22T17:33:39.086Z] Removing intermediate container 4e905ca8c999 [2023-03-22T17:33:39.086Z] ---> 234175023344 [2023-03-22T17:33:39.086Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-22T17:33:39.362Z] ---> Running in 8c46dac5eab9 [2023-03-22T17:33:39.630Z] Removing intermediate container 8c46dac5eab9 [2023-03-22T17:33:39.630Z] ---> 81759f1bd2f5 [2023-03-22T17:33:39.630Z] Step 23/25 : LABEL arch=arm64 [2023-03-22T17:33:39.630Z] ---> Running in 187b69321ab1 [2023-03-22T17:33:39.900Z] Removing intermediate container 187b69321ab1 [2023-03-22T17:33:39.900Z] ---> 24a8a321411b [2023-03-22T17:33:39.900Z] Step 24/25 : LABEL git_sha=539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:33:39.900Z] ---> Running in 6e7fef8ea3ff [2023-03-22T17:33:40.494Z] Removing intermediate container 6e7fef8ea3ff [2023-03-22T17:33:40.494Z] ---> 9f1745b0ed80 [2023-03-22T17:33:40.494Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-22T17:33:40.494Z] ---> Running in a1fb5fe399e3 [2023-03-22T17:33:40.765Z] Removing intermediate container a1fb5fe399e3 [2023-03-22T17:33:40.765Z] ---> 247afedef0db [2023-03-22T17:33:40.765Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T17:33:40.765Z] Successfully built 247afedef0db [2023-03-22T17:33:40.765Z] 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-03-22T17:33:40.879Z] provisioning config files... [2023-03-22T17:33:40.898Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/94@tmp/config13000769203016467267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:33:41.248Z] ---> docker-login.sh [2023-03-22T17:33:41.248Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:33:41.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:33:41.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:33:41.518Z] Configure a credential helper to remove this warning. See [2023-03-22T17:33:41.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:33:41.518Z] [2023-03-22T17:33:41.518Z] Login Succeeded [2023-03-22T17:33:41.518Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:33:41.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:33:42.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:33:42.061Z] Configure a credential helper to remove this warning. See [2023-03-22T17:33:42.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:33:42.061Z] [2023-03-22T17:33:42.061Z] Login Succeeded [2023-03-22T17:33:42.061Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:33:42.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:33:42.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:33:42.333Z] Configure a credential helper to remove this warning. See [2023-03-22T17:33:42.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:33:42.333Z] [2023-03-22T17:33:42.333Z] Login Succeeded [2023-03-22T17:33:42.333Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:33:42.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:33:42.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:33:42.874Z] Configure a credential helper to remove this warning. See [2023-03-22T17:33:42.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:33:42.874Z] [2023-03-22T17:33:42.874Z] Login Succeeded [2023-03-22T17:33:42.874Z] docker.io [2023-03-22T17:33:43.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:33:43.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:33:43.413Z] Configure a credential helper to remove this warning. See [2023-03-22T17:33:43.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:33:43.413Z] [2023-03-22T17:33:43.413Z] Login Succeeded [2023-03-22T17:33:43.413Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:33:43.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:33:43.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:33:43.469Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-03-22T17:33:43.469Z] 539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:33:43.469Z] latest [2023-03-22T17:33:43.469Z] 3.0.0-dev.22 [2023-03-22T17:33:43.469Z] 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:33:43.469Z] main [2023-03-22T17:33:43.469Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:43.818Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:44.184Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:33:44.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-22T17:33:44.184Z] 4f8ac71e4d00: Preparing [2023-03-22T17:33:44.184Z] dbb2296e3615: Preparing [2023-03-22T17:33:44.184Z] 8ef4e6144be6: Preparing [2023-03-22T17:33:44.184Z] be4aeb602417: Preparing [2023-03-22T17:33:44.184Z] edf70074bd40: Preparing [2023-03-22T17:33:44.184Z] edf70074bd40: Layer already exists [2023-03-22T17:33:44.455Z] 4f8ac71e4d00: Pushed [2023-03-22T17:33:44.455Z] be4aeb602417: Pushed [2023-03-22T17:33:44.455Z] dbb2296e3615: Pushed [2023-03-22T17:33:51.156Z] 8ef4e6144be6: Pushed [2023-03-22T17:33:51.156Z] 539913158ea56f8dca24ab775bb8172a7292d425: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:51.571Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:51.928Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-22T17:33:51.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-22T17:33:51.928Z] 4f8ac71e4d00: Preparing [2023-03-22T17:33:51.928Z] dbb2296e3615: Preparing [2023-03-22T17:33:51.928Z] 8ef4e6144be6: Preparing [2023-03-22T17:33:51.928Z] be4aeb602417: Preparing [2023-03-22T17:33:51.928Z] edf70074bd40: Preparing [2023-03-22T17:33:51.928Z] edf70074bd40: Layer already exists [2023-03-22T17:33:51.928Z] be4aeb602417: Layer already exists [2023-03-22T17:33:51.928Z] 4f8ac71e4d00: Layer already exists [2023-03-22T17:33:51.928Z] dbb2296e3615: Layer already exists [2023-03-22T17:33:51.928Z] 8ef4e6144be6: Layer already exists [2023-03-22T17:33:52.203Z] latest: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:52.579Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:52.968Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 [2023-03-22T17:33:52.968Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-22T17:33:52.968Z] 4f8ac71e4d00: Preparing [2023-03-22T17:33:52.968Z] dbb2296e3615: Preparing [2023-03-22T17:33:52.968Z] 8ef4e6144be6: Preparing [2023-03-22T17:33:52.968Z] be4aeb602417: Preparing [2023-03-22T17:33:52.968Z] edf70074bd40: Preparing [2023-03-22T17:33:52.968Z] edf70074bd40: Layer already exists [2023-03-22T17:33:52.968Z] 8ef4e6144be6: Layer already exists [2023-03-22T17:33:52.968Z] dbb2296e3615: Layer already exists [2023-03-22T17:33:52.968Z] be4aeb602417: Layer already exists [2023-03-22T17:33:52.968Z] 4f8ac71e4d00: Layer already exists [2023-03-22T17:33:53.244Z] 3.0.0-dev.22: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:53.617Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:56.557Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:33:56.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-22T17:33:56.557Z] 4f8ac71e4d00: Preparing [2023-03-22T17:33:56.557Z] dbb2296e3615: Preparing [2023-03-22T17:33:56.557Z] 8ef4e6144be6: Preparing [2023-03-22T17:33:56.557Z] be4aeb602417: Preparing [2023-03-22T17:33:56.557Z] edf70074bd40: Preparing [2023-03-22T17:33:56.557Z] 4f8ac71e4d00: Layer already exists [2023-03-22T17:33:56.557Z] edf70074bd40: Layer already exists [2023-03-22T17:33:56.557Z] 8ef4e6144be6: Layer already exists [2023-03-22T17:33:56.557Z] dbb2296e3615: Layer already exists [2023-03-22T17:33:56.557Z] be4aeb602417: Layer already exists [2023-03-22T17:33:56.826Z] 539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:57.186Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:57.541Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-03-22T17:33:57.541Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-22T17:33:57.541Z] 4f8ac71e4d00: Preparing [2023-03-22T17:33:57.541Z] dbb2296e3615: Preparing [2023-03-22T17:33:57.541Z] 8ef4e6144be6: Preparing [2023-03-22T17:33:57.541Z] be4aeb602417: Preparing [2023-03-22T17:33:57.541Z] edf70074bd40: Preparing [2023-03-22T17:33:57.541Z] edf70074bd40: Layer already exists [2023-03-22T17:33:57.541Z] 4f8ac71e4d00: Layer already exists [2023-03-22T17:33:57.541Z] dbb2296e3615: Layer already exists [2023-03-22T17:33:57.541Z] be4aeb602417: Layer already exists [2023-03-22T17:33:57.541Z] 8ef4e6144be6: Layer already exists [2023-03-22T17:33:57.811Z] main: digest: sha256:ab899e52f492338bc69a7b212432c6b28786fca53fbcc7c2899e0050f4117f9d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:33:57.857Z] ===================================================== [Pipeline] echo [2023-03-22T17:33:57.862Z] taggedImages: [2023-03-22T17:33:57.863Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425 [2023-03-22T17:33:57.863Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-22T17:33:57.863Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.22 [2023-03-22T17:33:57.863Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:539913158ea56f8dca24ab775bb8172a7292d425-3.0.0-dev.22 [2023-03-22T17:33:57.863Z] - 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-03-22T17:33:58.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:33:58.232Z] [2023-03-22T17:33:58.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:33:58.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:33:58.848Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T17:33:58.848Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T17:33:58.848Z] 04944245beec: Pulling fs layer [2023-03-22T17:33:58.848Z] 699f458cf7ca: Pulling fs layer [2023-03-22T17:33:58.848Z] 765212b225bb: Pulling fs layer [2023-03-22T17:33:58.848Z] f23df028b6ca: Pulling fs layer [2023-03-22T17:33:58.848Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T17:33:58.848Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T17:33:58.848Z] f23df028b6ca: Waiting [2023-03-22T17:33:58.848Z] d65c8cfc05b1: Waiting [2023-03-22T17:33:58.848Z] 2437ff75d9bd: Waiting [2023-03-22T17:33:58.848Z] 765212b225bb: Waiting [2023-03-22T17:33:58.848Z] 04944245beec: Verifying Checksum [2023-03-22T17:33:58.848Z] 04944245beec: Download complete [2023-03-22T17:33:58.848Z] 765212b225bb: Verifying Checksum [2023-03-22T17:33:58.848Z] 765212b225bb: Download complete [2023-03-22T17:33:59.124Z] f23df028b6ca: Verifying Checksum [2023-03-22T17:33:59.124Z] f23df028b6ca: Download complete [2023-03-22T17:33:59.124Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T17:33:59.124Z] d65c8cfc05b1: Download complete [2023-03-22T17:33:59.124Z] 699f458cf7ca: Verifying Checksum [2023-03-22T17:33:59.124Z] 699f458cf7ca: Download complete [2023-03-22T17:33:59.717Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T17:33:59.717Z] 8998bd30e6a1: Download complete [2023-03-22T17:34:02.318Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T17:34:02.319Z] 2437ff75d9bd: Download complete [2023-03-22T17:34:04.272Z] 8998bd30e6a1: Pull complete [2023-03-22T17:34:04.541Z] 04944245beec: Pull complete [2023-03-22T17:34:05.957Z] 699f458cf7ca: Pull complete [2023-03-22T17:34:06.227Z] 765212b225bb: Pull complete [2023-03-22T17:34:07.190Z] f23df028b6ca: Pull complete [2023-03-22T17:34:07.460Z] d65c8cfc05b1: Pull complete [2023-03-22T17:34:22.468Z] 2437ff75d9bd: Pull complete [2023-03-22T17:34:22.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T17:34:22.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:34:22.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:34:22.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2023-03-22T17:34:22.776Z] $ 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/94 -v /w/workspace/device-rest-go/94:/w/workspace/device-rest-go/94:rw,z -v /w/workspace/device-rest-go/94@tmp:/w/workspace/device-rest-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T17:34:25.764Z] $ docker top 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:34:26.635Z] ---> job-cost.sh [2023-03-22T17:34:26.635Z] lf-activate-venv: SKIPPING [2023-03-22T17:34:26.635Z] INFO: No Stack... [2023-03-22T17:34:26.903Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T17:34:27.865Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:34:28.503Z] + cat /w/workspace/device-rest-go/94/archives/cost.csv [2023-03-22T17:34:28.503Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T17:34:28.579Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [2023-03-22T17:34:28.586Z] Resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] did not exist. Created. [2023-03-22T17:34:28.587Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:34:29.246Z] /w/workspace/device-rest-go/94@tmp/durable-9f16b2a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T17:34:29.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T17:34:29.926Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T17:34:29.980Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:34:29.991Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:34:30.012Z] $ docker stop --time=1 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff [2023-03-22T17:34:31.564Z] $ docker rm -f --volumes 6f8fa7e2cbb523ab5dc56a4f7ac9c3518e3b185df000f8b4c57dd8c2791b2eff [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-03-22T17:34:31.990Z] provisioning config files... [2023-03-22T17:34:31.996Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6767554872610700054tmp [Pipeline] { [Pipeline] sh [2023-03-22T17:34:32.287Z] + set +x [2023-03-22T17:34:32.287Z] + bash -s -- [2023-03-22T17:34:32.287Z] + curl -s https://codecov.io/bash [2023-03-22T17:34:32.287Z] [2023-03-22T17:34:32.287Z] _____ _ [2023-03-22T17:34:32.287Z] / ____| | | [2023-03-22T17:34:32.287Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T17:34:32.287Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T17:34:32.287Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T17:34:32.287Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T17:34:32.287Z] Bash-1.0.6 [2023-03-22T17:34:32.287Z] [2023-03-22T17:34:32.287Z] [2023-03-22T17:34:32.287Z] ==> git version 2.25.1 found [2023-03-22T17:34:32.287Z] ==> 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-03-22T17:34:32.287Z] Release-Date: 2020-01-08 [2023-03-22T17:34:32.287Z] 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-03-22T17:34:32.287Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T17:34:32.287Z] ==> Jenkins CI detected. [2023-03-22T17:34:32.287Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-03-22T17:34:32.287Z] project root: . [2023-03-22T17:34:32.287Z] --> token set from env [2023-03-22T17:34:32.287Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T17:34:32.287Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T17:34:32.287Z] ==> Python coveragepy not found [2023-03-22T17:34:32.287Z] ==> Searching for coverage reports in: [2023-03-22T17:34:32.287Z] + . [2023-03-22T17:34:32.287Z] -> Found 1 reports [2023-03-22T17:34:32.287Z] ==> Detecting git/mercurial file structure [2023-03-22T17:34:32.287Z] ==> Reading reports [2023-03-22T17:34:32.287Z] + ./coverage.out bytes=14200 [2023-03-22T17:34:32.287Z] ==> Appending adjustments [2023-03-22T17:34:32.287Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T17:34:32.545Z] + Found adjustments [2023-03-22T17:34:32.545Z] ==> Gzipping contents [2023-03-22T17:34:32.545Z] 4.0K /tmp/codecov.tb73aR.gz [2023-03-22T17:34:32.545Z] ==> Uploading reports [2023-03-22T17:34:32.545Z] url: https://codecov.io [2023-03-22T17:34:32.545Z] query: branch=main&commit=539913158ea56f8dca24ab775bb8172a7292d425&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-22T17:34:32.545Z] -> Pinging Codecov [2023-03-22T17:34:32.545Z] 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=539913158ea56f8dca24ab775bb8172a7292d425&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-22T17:34:32.804Z] -> Uploading to [2023-03-22T17:34:32.804Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/4E5D53B4F1F92C436F7061BF334D961C/539913158ea56f8dca24ab775bb8172a7292d425/0db66d67-f21a-474e-abe1-6e49699c003a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T173432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e72649bc8c3255eb45f24480898e7fa7e07510b29dea0db62c5c1e941ad875ab [2023-03-22T17:34:32.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T17:34:32.804Z] Dload Upload Total Spent Left Speed [2023-03-22T17:34:33.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10144 --:--:-- --:--:-- --:--:-- 10144 [2023-03-22T17:34:33.065Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] } [2023-03-22T17:34:33.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-22T17:34:33.207Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-22T17:34:33.219Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:34:33.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:34:33.519Z] [2023-03-22T17:34:33.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:34:33.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:34:33.821Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-22T17:34:33.821Z] df9b9388f04a: Pulling fs layer [2023-03-22T17:34:33.821Z] 52dc419b0ee2: Pulling fs layer [2023-03-22T17:34:33.821Z] 25bc292e5bac: Pulling fs layer [2023-03-22T17:34:33.821Z] 114826534d7a: Pulling fs layer [2023-03-22T17:34:33.821Z] 4657fd5d0bcf: Pulling fs layer [2023-03-22T17:34:33.821Z] 6ad1cebc031e: Pulling fs layer [2023-03-22T17:34:33.821Z] 8a3aa393b2d8: Pulling fs layer [2023-03-22T17:34:33.821Z] 6ad1cebc031e: Waiting [2023-03-22T17:34:33.821Z] 114826534d7a: Waiting [2023-03-22T17:34:33.821Z] 8a3aa393b2d8: Waiting [2023-03-22T17:34:33.821Z] 4657fd5d0bcf: Waiting [2023-03-22T17:34:33.821Z] 25bc292e5bac: Verifying Checksum [2023-03-22T17:34:33.821Z] 25bc292e5bac: Download complete [2023-03-22T17:34:33.821Z] 52dc419b0ee2: Download complete [2023-03-22T17:34:33.821Z] 4657fd5d0bcf: Verifying Checksum [2023-03-22T17:34:33.821Z] 4657fd5d0bcf: Download complete [2023-03-22T17:34:33.821Z] df9b9388f04a: Verifying Checksum [2023-03-22T17:34:33.821Z] df9b9388f04a: Download complete [2023-03-22T17:34:34.084Z] df9b9388f04a: Pull complete [2023-03-22T17:34:34.084Z] 6ad1cebc031e: Verifying Checksum [2023-03-22T17:34:34.084Z] 6ad1cebc031e: Download complete [2023-03-22T17:34:34.084Z] 52dc419b0ee2: Pull complete [2023-03-22T17:34:34.343Z] 25bc292e5bac: Pull complete [2023-03-22T17:34:34.601Z] 114826534d7a: Verifying Checksum [2023-03-22T17:34:34.601Z] 114826534d7a: Download complete [2023-03-22T17:34:34.858Z] 8a3aa393b2d8: Verifying Checksum [2023-03-22T17:34:34.858Z] 8a3aa393b2d8: Download complete [2023-03-22T17:34:38.140Z] 114826534d7a: Pull complete [2023-03-22T17:34:38.140Z] 4657fd5d0bcf: Pull complete [2023-03-22T17:34:38.140Z] 6ad1cebc031e: Pull complete [2023-03-22T17:34:41.423Z] 8a3aa393b2d8: Pull complete [2023-03-22T17:34:41.423Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-22T17:34:41.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:34:41.423Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:34:41.510Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:34:41.552Z] $ 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-03-22T17:34:43.516Z] $ docker top ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-22T17:34:43.567Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-03-22T17:34:43.846Z] + set -o pipefail [2023-03-22T17:34:43.846Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-03-22T17:34:49.118Z] [2023-03-22T17:34:49.118Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-03-22T17:34:49.118Z] [2023-03-22T17:34:49.118Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/329df419-9b03-4644-b9da-4485401df70c [2023-03-22T17:34:49.118Z] [2023-03-22T17:34:49.118Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-22T17:34:49.118Z] [2023-03-22T17:34:49.118Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-22T17:34:49.118Z] [2023-03-22T17:34:49.377Z] [2023-03-22T17:34:49.377Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-22T17:34:49.377Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-22T17:34:49.377Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-22T17:34:49.395Z] $ docker stop --time=1 ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c [2023-03-22T17:34:51.472Z] $ docker rm -f --volumes ead50e7673eeacd6ec5f7f0811be93dafb47cf6c8a4beba648540bc4ddfde41c [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-03-22T17:34:52.209Z] + git log --format=format:%s -1 539913158ea56f8dca24ab775bb8172a7292d425 [Pipeline] sh [2023-03-22T17:34:52.498Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:34:52.498Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:34:52.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:34:52.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:34:52.860Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:34:52.901Z] $ 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-03-22T17:34:53.326Z] $ docker top 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 -eo pid,comm [2023-03-22T17:34:53.362Z] 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-03-22T17:34:53.362Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:34:53.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:34:53.401Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:34:53.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:34:53.523Z] $ docker exec 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 ssh-agent [2023-03-22T17:34:53.618Z] SSH_AUTH_SOCK=/tmp/ssh-IsUboB63MgRz/agent.32 [2023-03-22T17:34:53.618Z] SSH_AGENT_PID=38 [2023-03-22T17:34:53.622Z] Running ssh-add (command line suppressed) [2023-03-22T17:34:53.736Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8263136732559364299.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8263136732559364299.key) [2023-03-22T17:34:53.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:34:54.027Z] + git semver tag [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,214 [run_tag] DEBUG tag force:False [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,214 [check_head_tag] DEBUG check head tag [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,215 [execute] INFO git cat-file --batch-check [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,220 [execute] INFO git cat-file --batch [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,240 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,240 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:34:54.285Z] 2023-03-22 17:34:54,245 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:34:54.285Z] 3.0.0-dev.22 [Pipeline] } [2023-03-22T17:34:54.303Z] $ docker exec --env ******** --env ******** 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 ssh-agent -k [2023-03-22T17:34:54.403Z] unset SSH_AUTH_SOCK; [2023-03-22T17:34:54.403Z] unset SSH_AGENT_PID; [2023-03-22T17:34:54.403Z] echo Agent pid 38 killed; [2023-03-22T17:34:54.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:34:54.707Z] + git semver [Pipeline] } [2023-03-22T17:34:54.988Z] $ docker stop --time=1 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 [2023-03-22T17:34:56.314Z] $ docker rm -f --volumes 58c95a7883147224b3ff32b414dcbf69a7e96418d28fbf81a83c414733062b16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:34:56.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:34:56.671Z] [2023-03-22T17:34:56.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:34:56.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:34:56.970Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-22T17:34:56.970Z] ab5ef0e58194: Pulling fs layer [2023-03-22T17:34:56.970Z] 9712f1f96733: Pulling fs layer [2023-03-22T17:34:56.970Z] 63f879dbbcfc: Pulling fs layer [2023-03-22T17:34:56.970Z] 0d9ebad4ef96: Pulling fs layer [2023-03-22T17:34:56.970Z] e9a5061849ea: Pulling fs layer [2023-03-22T17:34:56.970Z] d747dcd14b5f: Pulling fs layer [2023-03-22T17:34:56.970Z] 2de7ff778b66: Pulling fs layer [2023-03-22T17:34:56.970Z] e9a5061849ea: Waiting [2023-03-22T17:34:56.970Z] d747dcd14b5f: Waiting [2023-03-22T17:34:56.970Z] 2de7ff778b66: Waiting [2023-03-22T17:34:56.970Z] 0d9ebad4ef96: Waiting [2023-03-22T17:34:56.970Z] 9712f1f96733: Verifying Checksum [2023-03-22T17:34:56.970Z] 9712f1f96733: Download complete [2023-03-22T17:34:57.557Z] 63f879dbbcfc: Verifying Checksum [2023-03-22T17:34:57.557Z] 63f879dbbcfc: Download complete [2023-03-22T17:34:57.557Z] ab5ef0e58194: Verifying Checksum [2023-03-22T17:34:57.557Z] ab5ef0e58194: Download complete [2023-03-22T17:34:57.557Z] 0d9ebad4ef96: Verifying Checksum [2023-03-22T17:34:57.557Z] 0d9ebad4ef96: Download complete [2023-03-22T17:34:57.557Z] d747dcd14b5f: Download complete [2023-03-22T17:34:57.557Z] e9a5061849ea: Verifying Checksum [2023-03-22T17:34:57.557Z] e9a5061849ea: Download complete [2023-03-22T17:34:57.815Z] 2de7ff778b66: Download complete [2023-03-22T17:35:00.342Z] ab5ef0e58194: Pull complete [2023-03-22T17:35:00.342Z] 9712f1f96733: Pull complete [2023-03-22T17:35:00.909Z] 63f879dbbcfc: Pull complete [2023-03-22T17:35:04.192Z] 0d9ebad4ef96: Pull complete [2023-03-22T17:35:04.192Z] e9a5061849ea: Pull complete [2023-03-22T17:35:04.192Z] d747dcd14b5f: Pull complete [2023-03-22T17:35:05.126Z] 2de7ff778b66: Pull complete [2023-03-22T17:35:05.126Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-22T17:35:05.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:35:05.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:35:05.203Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:35:05.246Z] $ 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-03-22T17:35:07.740Z] $ docker top 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:35:07.801Z] provisioning config files... [2023-03-22T17:35:07.810Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11070466662414472013tmp [2023-03-22T17:35:07.820Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15040962538165630251tmp [2023-03-22T17:35:07.830Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16625112219096726065tmp [Pipeline] { [Pipeline] echo [2023-03-22T17:35:07.844Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:08.126Z] ---> sigul-configuration.sh [2023-03-22T17:35:08.126Z] gpg: directory `/root/.gnupg' created [2023-03-22T17:35:08.126Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-22T17:35:08.126Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-22T17:35:08.126Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-22T17:35:08.126Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-22T17:35:08.126Z] gpg: CAST5 encrypted data [2023-03-22T17:35:08.126Z] gpg: encrypted with 1 passphrase [2023-03-22T17:35:08.126Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-22T17:35:08.412Z] + mkdir /home/jenkins [2023-03-22T17:35:08.412Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-22T17:35:08.698Z] + 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-03-22T17:35:08.706Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:08.989Z] ---> sigul-install.sh [2023-03-22T17:35:08.989Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-22T17:35:09.273Z] + git tag --list [2023-03-22T17:35:09.274Z] v1.0.0 [2023-03-22T17:35:09.274Z] v1.1.0 [2023-03-22T17:35:09.274Z] v1.1.1 [2023-03-22T17:35:09.274Z] v1.1.2 [2023-03-22T17:35:09.274Z] v1.2.0 [2023-03-22T17:35:09.274Z] v1.2.1 [2023-03-22T17:35:09.274Z] v2.0.0 [2023-03-22T17:35:09.274Z] v2.1.0 [2023-03-22T17:35:09.274Z] v2.1.1 [2023-03-22T17:35:09.274Z] v2.1.1-dev.1 [2023-03-22T17:35:09.274Z] v2.1.1-dev.2 [2023-03-22T17:35:09.274Z] v2.1.1-dev.3 [2023-03-22T17:35:09.274Z] v2.2.0 [2023-03-22T17:35:09.274Z] v2.2.1-dev.1 [2023-03-22T17:35:09.274Z] v2.2.1-dev.2 [2023-03-22T17:35:09.274Z] v2.2.1-dev.3 [2023-03-22T17:35:09.274Z] v2.2.1-dev.4 [2023-03-22T17:35:09.274Z] v2.2.1-dev.5 [2023-03-22T17:35:09.274Z] v2.2.1-dev.6 [2023-03-22T17:35:09.274Z] v2.2.1-dev.7 [2023-03-22T17:35:09.274Z] v2.2.1-dev.8 [2023-03-22T17:35:09.274Z] v2.2.1-dev.9 [2023-03-22T17:35:09.274Z] v2.3.0 [2023-03-22T17:35:09.274Z] v2.3.0-dev.10 [2023-03-22T17:35:09.274Z] v2.3.0-dev.11 [2023-03-22T17:35:09.274Z] v2.3.0-dev.12 [2023-03-22T17:35:09.274Z] v2.3.0-dev.13 [2023-03-22T17:35:09.274Z] v2.3.0-dev.14 [2023-03-22T17:35:09.274Z] v2.3.0-dev.15 [2023-03-22T17:35:09.274Z] v2.3.0-dev.16 [2023-03-22T17:35:09.274Z] v2.3.0-dev.17 [2023-03-22T17:35:09.274Z] v2.3.0-dev.18 [2023-03-22T17:35:09.274Z] v2.3.0-dev.19 [2023-03-22T17:35:09.274Z] v2.3.0-dev.20 [2023-03-22T17:35:09.274Z] v2.3.0-dev.21 [2023-03-22T17:35:09.274Z] v2.3.0-dev.22 [2023-03-22T17:35:09.274Z] v2.3.0-dev.23 [2023-03-22T17:35:09.274Z] v2.3.0-dev.24 [2023-03-22T17:35:09.274Z] v2.3.0-dev.25 [2023-03-22T17:35:09.274Z] v2.3.0-dev.9 [2023-03-22T17:35:09.274Z] v3.0.0-dev.1 [2023-03-22T17:35:09.274Z] v3.0.0-dev.10 [2023-03-22T17:35:09.274Z] v3.0.0-dev.11 [2023-03-22T17:35:09.274Z] v3.0.0-dev.12 [2023-03-22T17:35:09.274Z] v3.0.0-dev.13 [2023-03-22T17:35:09.274Z] v3.0.0-dev.14 [2023-03-22T17:35:09.274Z] v3.0.0-dev.15 [2023-03-22T17:35:09.274Z] v3.0.0-dev.16 [2023-03-22T17:35:09.274Z] v3.0.0-dev.17 [2023-03-22T17:35:09.274Z] v3.0.0-dev.18 [2023-03-22T17:35:09.274Z] v3.0.0-dev.19 [2023-03-22T17:35:09.274Z] v3.0.0-dev.2 [2023-03-22T17:35:09.274Z] v3.0.0-dev.20 [2023-03-22T17:35:09.274Z] v3.0.0-dev.21 [2023-03-22T17:35:09.274Z] v3.0.0-dev.22 [2023-03-22T17:35:09.274Z] v3.0.0-dev.3 [2023-03-22T17:35:09.274Z] v3.0.0-dev.4 [2023-03-22T17:35:09.274Z] v3.0.0-dev.5 [2023-03-22T17:35:09.274Z] v3.0.0-dev.6 [2023-03-22T17:35:09.274Z] v3.0.0-dev.7 [2023-03-22T17:35:09.274Z] v3.0.0-dev.8 [2023-03-22T17:35:09.274Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-22T17:35:09.564Z] + lftools sign git-tag v3.0.0-dev.22 [2023-03-22T17:35:10.132Z] Signing Git tag with Sigul... [2023-03-22T17:35:10.132Z] Signing v3.0.0-dev.22 [Pipeline] echo [2023-03-22T17:35:10.710Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:10.994Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-22T17:35:11.001Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-22T17:35:11.029Z] $ docker stop --time=1 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e [2023-03-22T17:35:12.384Z] $ docker rm -f --volumes 4fd7458a2b6629c1e6ddffeb9f343dc788f95f5005ea406daa0986401407346e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-22T17:35:12.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:35:12.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:13.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:35:13.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:35:13.160Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:35:13.201Z] $ 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-03-22T17:35:13.583Z] $ docker top 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f -eo pid,comm [2023-03-22T17:35:13.624Z] 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-03-22T17:35:13.624Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:35:13.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:35:13.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:35:13.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:35:13.775Z] $ docker exec 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f ssh-agent [2023-03-22T17:35:13.873Z] SSH_AUTH_SOCK=/tmp/ssh-aVOCOxuGrGzy/agent.32 [2023-03-22T17:35:13.873Z] SSH_AGENT_PID=38 [2023-03-22T17:35:13.878Z] Running ssh-add (command line suppressed) [2023-03-22T17:35:13.992Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7944947996517619474.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7944947996517619474.key) [2023-03-22T17:35:13.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:35:14.279Z] + git semver bump pre [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [bump_version] DEBUG bumped version:3.0.0-dev.23 [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,465 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,467 [execute] INFO git cat-file --batch-check [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,472 [execute] INFO git cat-file --batch [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:35:14.539Z] 2023-03-22 17:35:14,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:35:14.539Z] 3.0.0-dev.23 [Pipeline] } [2023-03-22T17:35:14.557Z] $ docker exec --env ******** --env ******** 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f ssh-agent -k [2023-03-22T17:35:14.651Z] unset SSH_AUTH_SOCK; [2023-03-22T17:35:14.651Z] unset SSH_AGENT_PID; [2023-03-22T17:35:14.651Z] echo Agent pid 38 killed; [2023-03-22T17:35:14.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:35:14.949Z] + git semver [Pipeline] } [2023-03-22T17:35:15.228Z] $ docker stop --time=1 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f [2023-03-22T17:35:16.544Z] $ docker rm -f --volumes 36f665680933e86da74d2513e5309ec935f72949e2254d4de0f223b32fc4160f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:35:16.875Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:35:16.875Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:17.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:35:17.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:35:17.242Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:35:17.287Z] $ 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-03-22T17:35:17.677Z] $ docker top 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf -eo pid,comm [2023-03-22T17:35:17.715Z] 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-03-22T17:35:17.715Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:35:17.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:35:17.757Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:35:17.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:35:17.879Z] $ docker exec 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf ssh-agent [2023-03-22T17:35:17.973Z] SSH_AUTH_SOCK=/tmp/ssh-Qbj6jSllf6iF/agent.32 [2023-03-22T17:35:17.973Z] SSH_AGENT_PID=39 [2023-03-22T17:35:17.979Z] Running ssh-add (command line suppressed) [2023-03-22T17:35:18.097Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12749020170797605003.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12749020170797605003.key) [2023-03-22T17:35:18.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:35:18.387Z] + git semver push [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,588 [run_push] DEBUG push [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,588 [execute] INFO git cat-file --batch-check [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,592 [execute] INFO git rev-list 6a5c67732bb7f18221647604b2f55e5ebb7859fc -- [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,593 [execute] DEBUG Popen(['git', 'rev-list', '6a5c67732bb7f18221647604b2f55e5ebb7859fc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,601 [execute] INFO git fetch -v origin [2023-03-22T17:35:18.648Z] 2023-03-22 17:35:18,601 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-22T17:35:19.215Z] 2023-03-22 17:35:19,092 [run_push] DEBUG no remote changes detected [2023-03-22T17:35:19.215Z] 2023-03-22 17:35:19,092 [execute] INFO git push origin semver [2023-03-22T17:35:19.215Z] 2023-03-22 17:35:19,093 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:35:20.150Z] 2023-03-22 17:35:19,932 [run_push] DEBUG push all version tags [2023-03-22T17:35:20.150Z] 2023-03-22 17:35:19,933 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-22T17:35:20.150Z] 2023-03-22 17:35:19,933 [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-03-22T17:35:20.718Z] 2023-03-22 17:35:20,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-22T17:35:20.718Z] 3.0.0-dev.23 [Pipeline] } [2023-03-22T17:35:20.737Z] $ docker exec --env ******** --env ******** 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf ssh-agent -k [2023-03-22T17:35:20.827Z] unset SSH_AUTH_SOCK; [2023-03-22T17:35:20.827Z] unset SSH_AGENT_PID; [2023-03-22T17:35:20.827Z] echo Agent pid 39 killed; [2023-03-22T17:35:20.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:35:21.136Z] + git semver [Pipeline] } [2023-03-22T17:35:21.418Z] $ docker stop --time=1 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf [2023-03-22T17:35:22.708Z] $ docker rm -f --volumes 0105a0898f892ca4271abdd54664d11a0f8d59584971fe3ec8c323909e1f4daf [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-03-22T17:35:23.281Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-03-22T17:35:23.281Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-22T17:35:23.281Z] total 16 [2023-03-22T17:35:23.281Z] drwxr-xr-x 3 root root 4096 Mar 22 17:24 . [2023-03-22T17:35:23.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:35 .. [2023-03-22T17:35:23.281Z] drwxr-xr-x 2 root root 4096 Mar 22 17:24 cost [2023-03-22T17:35:23.281Z] -rw-r--r-- 1 root root 85 Mar 22 17:24 cost.csv [2023-03-22T17:35:23.281Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-22T17:35:23.281Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-22T17:35:23.281Z] total 16 [2023-03-22T17:35:23.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:24 . [2023-03-22T17:35:23.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:35 .. [2023-03-22T17:35:23.281Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 17:24 cost [2023-03-22T17:35:23.281Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 22 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:23.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:24.425Z] ---> package-listing.sh [2023-03-22T17:35:24.425Z] ++ facter osfamily [2023-03-22T17:35:24.425Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T17:35:24.685Z] + OS_FAMILY=debian [2023-03-22T17:35:24.685Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-03-22T17:35:24.685Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T17:35:24.685Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T17:35:24.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T17:35:24.685Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T17:35:24.685Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-22T17:35:24.685Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T17:35:24.685Z] + case "${OS_FAMILY}" in [2023-03-22T17:35:24.685Z] + dpkg -l [2023-03-22T17:35:24.685Z] + grep '^ii' [2023-03-22T17:35:24.685Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T17:35:24.685Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T17:35:24.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T17:35:24.685Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-22T17:35:24.685Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-03-22T17:35:24.685Z] + 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-03-22T17:35:24.694Z] 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-03-22T17:35:24.970Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:25.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:35:25.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:35:25.672Z] prd-ubuntu20.04-docker-8c-8g-5229 does not seem to be running inside a container [2023-03-22T17:35:25.779Z] $ 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-03-22T17:35:26.016Z] $ docker top 3e5f989fd71388c6956e433891209562bc429956d1ba72b7842af958426f50be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:35:26.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T17:35:26.675Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T17:35:26.959Z] + ls /var/log/sa-host [2023-03-22T17:35:26.960Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:35:27.022Z] provisioning config files... [2023-03-22T17:35:27.029Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12593490069665671125tmp [Pipeline] { [Pipeline] echo [2023-03-22T17:35:27.039Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:27.320Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T17:35:27.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:27.657Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T17:35:27.667Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:27.954Z] ---> sudo-logs.sh [2023-03-22T17:35:27.954Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T17:35:27.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:28.274Z] ---> job-cost.sh [2023-03-22T17:35:28.274Z] lf-activate-venv: SKIPPING [2023-03-22T17:35:28.274Z] DEBUG: total: 0.2199999988079071 [2023-03-22T17:35:28.275Z] INFO: Retrieving Stack Cost... [2023-03-22T17:35:28.841Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:35:29.101Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T17:35:29.112Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:29.396Z] ---> logs-deploy.sh [2023-03-22T17:35:29.396Z] lf-activate-venv: SKIPPING [2023-03-22T17:35:29.396Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/94 [2023-03-22T17:35:29.396Z] INFO: archiving workspace using pattern(s): [2023-03-22T17:35:30.333Z] Archives upload complete. [2023-03-22T17:35:30.333Z] INFO: archiving logs to Nexus