Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb45550bbe0df662ecfda2dd82817b25f9b033bb 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-ssh6398534022885326877.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-ssh6088511053982931568.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-ssh13884609419671446419.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-ssh14189406290934243210.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-ssh7077965548008831318.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-261 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision eb45550bbe0df662ecfda2dd82817b25f9b033bb (main) Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 > git rev-list --no-walk c4a62108a817389daed93061827783c9b25eff67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T20:57:56.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T20:57:56.074Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T20:57:56.088Z] ========================================================= [2023-03-14T20:57:56.088Z] EdgeX Global Pipelines Version Info [2023-03-14T20:57:56.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:57:56.813Z] ------------------- [2023-03-14T20:57:56.814Z] stable info: [2023-03-14T20:57:56.814Z] ------------------- [2023-03-14T20:57:56.814Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T20:57:56.814Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T20:57:56.814Z] Message: update stable to v1.0.245 [2023-03-14T20:57:57.385Z] ------------------- [2023-03-14T20:57:57.385Z] experimental info: [2023-03-14T20:57:57.385Z] ------------------- [2023-03-14T20:57:57.385Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T20:57:57.385Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T20:57:57.385Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T20:57:57.549Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-14T20:57:57.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-14T20:57:57.571Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T20:57:57.582Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T20:57:57.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T20:57:57.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T20:57:57.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T20:57:57.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T20:57:57.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T20:57:57.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T20:57:57.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T20:57:57.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-14T20:57:57.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T20:57:57.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T20:57:57.703Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:57:57.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:57:57.730Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:57:57.740Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:57:57.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T20:57:57.770Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T20:57:57.787Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T20:57:57.798Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T20:57:57.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T20:57:57.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T20:57:57.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T20:57:57.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T20:57:57.857Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T20:57:57.868Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-14T20:57:57.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-14T20:57:57.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-14T20:57:57.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo [2023-03-14T20:57:57.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb45550 [Pipeline] echo [2023-03-14T20:57:57.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:57:58.027Z] provisioning config files... [2023-03-14T20:57:58.038Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3076275809492211816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:57:58.337Z] ---> docker-login.sh [2023-03-14T20:57:58.337Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:57:58.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:57:58.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:57:58.597Z] Configure a credential helper to remove this warning. See [2023-03-14T20:57:58.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:57:58.597Z] [2023-03-14T20:57:58.597Z] Login Succeeded [2023-03-14T20:57:58.597Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:57:58.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:57:58.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:57:58.597Z] Configure a credential helper to remove this warning. See [2023-03-14T20:57:58.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:57:58.597Z] [2023-03-14T20:57:58.597Z] Login Succeeded [2023-03-14T20:57:58.597Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:57:58.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:57:58.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:57:58.857Z] Configure a credential helper to remove this warning. See [2023-03-14T20:57:58.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:57:58.857Z] [2023-03-14T20:57:58.857Z] Login Succeeded [2023-03-14T20:57:58.858Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:57:58.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:57:58.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:57:58.858Z] Configure a credential helper to remove this warning. See [2023-03-14T20:57:58.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:57:58.858Z] [2023-03-14T20:57:58.858Z] Login Succeeded [2023-03-14T20:57:58.858Z] docker.io [2023-03-14T20:57:59.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:57:59.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:57:59.121Z] Configure a credential helper to remove this warning. See [2023-03-14T20:57:59.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:57:59.121Z] [2023-03-14T20:57:59.121Z] Login Succeeded [2023-03-14T20:57:59.121Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:57:59.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T20:57:59.477Z] + git rev-list -1 --merges eb45550bbe0df662ecfda2dd82817b25f9b033bb~1..eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo [2023-03-14T20:57:59.522Z] -----------> git rev-list -1 --merges eb45550bbe0df662ecfda2dd82817b25f9b033bb~1..eb45550bbe0df662ecfda2dd82817b25f9b033bb eb45550bbe0df662ecfda2dd82817b25f9b033bb [false] [Pipeline] sh [2023-03-14T20:57:59.806Z] + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo [2023-03-14T20:57:59.817Z] ========================================================= [2023-03-14T20:57:59.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T20:57:59.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:58:00.137Z] + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] echo [2023-03-14T20:58:00.148Z] [semverPrep] GIT_COMMIT: eb45550bbe0df662ecfda2dd82817b25f9b033bb, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265) [Pipeline] echo [2023-03-14T20:58:00.157Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T20:58:00.490Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T20:58:00.490Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T20:58:00.490Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T20:58:00.490Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T20:58:00.490Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T20:58:00.490Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T20:58:00.490Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:00.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:58:00.835Z] [2023-03-14T20:58:00.835Z] 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-14T20:58:01.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:58:01.134Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T20:58:01.134Z] b85a868b505f: Pulling fs layer [2023-03-14T20:58:01.134Z] e2be974225ed: Pulling fs layer [2023-03-14T20:58:01.134Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T20:58:01.134Z] 988bab9f4d93: Pulling fs layer [2023-03-14T20:58:01.134Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T20:58:01.134Z] eaf3925da568: Pulling fs layer [2023-03-14T20:58:01.134Z] bab4dde63d76: Pulling fs layer [2023-03-14T20:58:01.134Z] bde34c3a00c8: Pulling fs layer [2023-03-14T20:58:01.134Z] b352a97aabf1: Pulling fs layer [2023-03-14T20:58:01.134Z] 4872d77fe225: Pulling fs layer [2023-03-14T20:58:01.134Z] 5851b861e8e6: Pulling fs layer [2023-03-14T20:58:01.134Z] 988bab9f4d93: Waiting [2023-03-14T20:58:01.134Z] b352a97aabf1: Waiting [2023-03-14T20:58:01.134Z] 4872d77fe225: Waiting [2023-03-14T20:58:01.134Z] bab4dde63d76: Waiting [2023-03-14T20:58:01.134Z] bde34c3a00c8: Waiting [2023-03-14T20:58:01.134Z] 5851b861e8e6: Waiting [2023-03-14T20:58:01.134Z] eaf3925da568: Waiting [2023-03-14T20:58:01.134Z] e2be974225ed: Verifying Checksum [2023-03-14T20:58:01.135Z] e2be974225ed: Download complete [2023-03-14T20:58:01.135Z] 988bab9f4d93: Download complete [2023-03-14T20:58:01.397Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T20:58:01.397Z] 1469e6f7b9e6: Download complete [2023-03-14T20:58:01.397Z] eaf3925da568: Download complete [2023-03-14T20:58:01.397Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T20:58:01.397Z] 339a4e72a1f5: Download complete [2023-03-14T20:58:01.397Z] bde34c3a00c8: Verifying Checksum [2023-03-14T20:58:01.397Z] bde34c3a00c8: Download complete [2023-03-14T20:58:01.397Z] b352a97aabf1: Download complete [2023-03-14T20:58:01.397Z] 4872d77fe225: Download complete [2023-03-14T20:58:01.397Z] 5851b861e8e6: Verifying Checksum [2023-03-14T20:58:01.397Z] 5851b861e8e6: Download complete [2023-03-14T20:58:01.397Z] b85a868b505f: Verifying Checksum [2023-03-14T20:58:01.397Z] b85a868b505f: Download complete [2023-03-14T20:58:01.657Z] bab4dde63d76: Verifying Checksum [2023-03-14T20:58:01.657Z] bab4dde63d76: Download complete [2023-03-14T20:58:02.594Z] b85a868b505f: Pull complete [2023-03-14T20:58:02.853Z] e2be974225ed: Pull complete [2023-03-14T20:58:03.418Z] 339a4e72a1f5: Pull complete [2023-03-14T20:58:03.418Z] 988bab9f4d93: Pull complete [2023-03-14T20:58:03.677Z] 1469e6f7b9e6: Pull complete [2023-03-14T20:58:03.677Z] eaf3925da568: Pull complete [2023-03-14T20:58:05.581Z] bab4dde63d76: Pull complete [2023-03-14T20:58:05.581Z] bde34c3a00c8: Pull complete [2023-03-14T20:58:05.840Z] b352a97aabf1: Pull complete [2023-03-14T20:58:05.840Z] 4872d77fe225: Pull complete [2023-03-14T20:58:05.840Z] 5851b861e8e6: Pull complete [2023-03-14T20:58:05.840Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T20:58:05.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:58:05.840Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:58:05.929Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T20:58:05.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T20:58:07.396Z] $ docker top e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 -eo pid,comm [2023-03-14T20:58:07.451Z] 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-14T20:58:07.451Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T20:58:07.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:58:07.488Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:58:07.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:58:07.631Z] $ docker exec e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent [2023-03-14T20:58:07.743Z] SSH_AUTH_SOCK=/tmp/ssh-fFiWQR25uaqA/agent.31 [2023-03-14T20:58:07.743Z] SSH_AGENT_PID=37 [2023-03-14T20:58:07.751Z] Running ssh-add (command line suppressed) [2023-03-14T20:58:07.874Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2889920724333162514.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2889920724333162514.key) [2023-03-14T20:58:07.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:58:08.170Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T20:58:08.184Z] $ docker exec --env ******** --env ******** e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent -k [2023-03-14T20:58:08.278Z] unset SSH_AUTH_SOCK; [2023-03-14T20:58:08.279Z] unset SSH_AGENT_PID; [2023-03-14T20:58:08.280Z] echo Agent pid 37 killed; [2023-03-14T20:58:08.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T20:58:08.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:58:08.307Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:58:08.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:58:08.442Z] $ docker exec e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent [2023-03-14T20:58:08.569Z] SSH_AUTH_SOCK=/tmp/ssh-ri0LZd6Cxwat/agent.70 [2023-03-14T20:58:08.569Z] SSH_AGENT_PID=76 [2023-03-14T20:58:08.574Z] Running ssh-add (command line suppressed) [2023-03-14T20:58:08.695Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7411862103666708138.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7411862103666708138.key) [2023-03-14T20:58:08.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:58:08.995Z] + git semver init [2023-03-14T20:58:09.254Z] 2023-03-14 20:58:09,206 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T20:58:09.254Z] 2023-03-14 20:58:09,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-14T20:58:09.254Z] 2023-03-14 20:58:09,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-14T20:58:09.254Z] 2023-03-14 20:58:09,207 [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-14T20:58:10.189Z] 2023-03-14 20:58:10,181 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-03-14T20:58:10.189Z] 2023-03-14 20:58:10,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-03-14T20:58:10.189Z] 2023-03-14 20:58:10,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T20:58:10.189Z] 2023-03-14 20:58:10,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T20:58:10.189Z] 3.0.0-dev.18 [Pipeline] } [2023-03-14T20:58:10.463Z] $ docker exec --env ******** --env ******** e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 ssh-agent -k [2023-03-14T20:58:10.566Z] unset SSH_AUTH_SOCK; [2023-03-14T20:58:10.566Z] unset SSH_AGENT_PID; [2023-03-14T20:58:10.566Z] echo Agent pid 76 killed; [2023-03-14T20:58:10.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T20:58:10.882Z] + git semver [Pipeline] } [2023-03-14T20:58:11.156Z] $ docker stop --time=1 e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 [2023-03-14T20:58:12.466Z] $ docker rm -f --volumes e8a4c6390f8cf42309601ed632c46d7b74ff5a34ebff0b442a7bf1327782ad67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:58:12.803Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T20:58:13.009Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T20:58:13.012Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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-14T20:58:13.134Z] provisioning config files... [2023-03-14T20:58:13.143Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5851970951458535830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:58:13.434Z] ---> docker-login.sh [2023-03-14T20:58:13.434Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:58:13.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:13.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:13.434Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:13.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:13.434Z] [2023-03-14T20:58:13.434Z] Login Succeeded [2023-03-14T20:58:13.434Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:58:13.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:13.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:13.434Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:13.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:13.434Z] [2023-03-14T20:58:13.434Z] Login Succeeded [2023-03-14T20:58:13.434Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:58:13.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:13.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:13.693Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:13.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:13.693Z] [2023-03-14T20:58:13.693Z] Login Succeeded [2023-03-14T20:58:13.693Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:58:13.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:13.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:13.693Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:13.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:13.693Z] [2023-03-14T20:58:13.693Z] Login Succeeded [2023-03-14T20:58:13.693Z] docker.io [2023-03-14T20:58:13.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:58:14.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:58:14.211Z] Configure a credential helper to remove this warning. See [2023-03-14T20:58:14.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:58:14.211Z] [2023-03-14T20:58:14.211Z] Login Succeeded [2023-03-14T20:58:14.211Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:58:14.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:58:14.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:58:14.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:58:14.300Z] ========================================================= [2023-03-14T20:58:14.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T20:58:14.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:14.612Z] + 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-14T20:58:14.612Z] Sending build context to Docker daemon 10.85MB [2023-03-14T20:58:14.612Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:58:14.612Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T20:58:14.612Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T20:58:14.612Z] 63b65145d645: Pulling fs layer [2023-03-14T20:58:14.612Z] a2d21d5440eb: Pulling fs layer [2023-03-14T20:58:14.612Z] 935e6c44a52c: Pulling fs layer [2023-03-14T20:58:14.612Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T20:58:14.612Z] 30dea6a524f1: Pulling fs layer [2023-03-14T20:58:14.612Z] a2aff8979fd8: Pulling fs layer [2023-03-14T20:58:14.612Z] 6808be2612f2: Pulling fs layer [2023-03-14T20:58:14.612Z] f25807f1079a: Pulling fs layer [2023-03-14T20:58:14.612Z] 94cc34f8dd06: Waiting [2023-03-14T20:58:14.612Z] a2aff8979fd8: Waiting [2023-03-14T20:58:14.612Z] 30dea6a524f1: Waiting [2023-03-14T20:58:14.613Z] 6808be2612f2: Waiting [2023-03-14T20:58:14.613Z] f25807f1079a: Waiting [2023-03-14T20:58:14.613Z] a2d21d5440eb: Verifying Checksum [2023-03-14T20:58:14.613Z] a2d21d5440eb: Download complete [2023-03-14T20:58:14.613Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T20:58:14.613Z] 94cc34f8dd06: Download complete [2023-03-14T20:58:14.875Z] 30dea6a524f1: Download complete [2023-03-14T20:58:14.875Z] 63b65145d645: Verifying Checksum [2023-03-14T20:58:14.875Z] 63b65145d645: Download complete [2023-03-14T20:58:14.875Z] a2aff8979fd8: Verifying Checksum [2023-03-14T20:58:14.875Z] a2aff8979fd8: Download complete [2023-03-14T20:58:14.875Z] 63b65145d645: Pull complete [2023-03-14T20:58:15.142Z] a2d21d5440eb: Pull complete [2023-03-14T20:58:15.403Z] f25807f1079a: Verifying Checksum [2023-03-14T20:58:15.403Z] f25807f1079a: Download complete [2023-03-14T20:58:15.403Z] 935e6c44a52c: Verifying Checksum [2023-03-14T20:58:15.403Z] 935e6c44a52c: Download complete [2023-03-14T20:58:15.661Z] 6808be2612f2: Verifying Checksum [2023-03-14T20:58:15.661Z] 6808be2612f2: Download complete [2023-03-14T20:58:18.945Z] 935e6c44a52c: Pull complete [2023-03-14T20:58:18.945Z] 94cc34f8dd06: Pull complete [2023-03-14T20:58:18.945Z] 30dea6a524f1: Pull complete [2023-03-14T20:58:18.945Z] a2aff8979fd8: Pull complete [2023-03-14T20:58:21.474Z] 6808be2612f2: Pull complete [2023-03-14T20:58:22.041Z] f25807f1079a: Pull complete [2023-03-14T20:58:22.041Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T20:58:22.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T20:58:22.041Z] ---> 3b553350e43f [2023-03-14T20:58:22.041Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:58:23.946Z] ---> Running in f0b0cdc5c922 [2023-03-14T20:58:23.946Z] Removing intermediate container f0b0cdc5c922 [2023-03-14T20:58:23.946Z] ---> 96fe02462a28 [2023-03-14T20:58:23.946Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:58:23.946Z] ---> Running in b7c0327c269a [2023-03-14T20:58:23.946Z] Removing intermediate container b7c0327c269a [2023-03-14T20:58:23.946Z] ---> 47a078fb55bc [2023-03-14T20:58:23.946Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:58:23.946Z] ---> Running in 6f2f815cb98f [2023-03-14T20:58:24.206Z] Removing intermediate container 6f2f815cb98f [2023-03-14T20:58:24.206Z] ---> f0c9b7b2db0b [2023-03-14T20:58:24.206Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:58:24.206Z] ---> Running in 2f1a5e866b63 [2023-03-14T20:58:24.206Z] Removing intermediate container 2f1a5e866b63 [2023-03-14T20:58:24.206Z] ---> 0c22e4ccc193 [2023-03-14T20:58:24.206Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:58:24.206Z] ---> Running in 67a7edde1ef1 [2023-03-14T20:58:24.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:24.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:58:24.997Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T20:58:24.997Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T20:58:24.997Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T20:58:24.997Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T20:58:24.997Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:58:24.997Z] OK: 269 MiB in 57 packages [2023-03-14T20:58:25.592Z] Removing intermediate container 67a7edde1ef1 [2023-03-14T20:58:25.592Z] ---> 9382c45aa4d4 [2023-03-14T20:58:25.592Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-14T20:58:25.592Z] ---> Running in f1c0ea8b6106 [2023-03-14T20:58:25.592Z] Removing intermediate container f1c0ea8b6106 [2023-03-14T20:58:25.592Z] ---> 547af4683746 [2023-03-14T20:58:25.592Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T20:58:25.592Z] ---> 16a5bb1ad165 [2023-03-14T20:58:25.592Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:58:25.850Z] ---> Running in 86f8ee5704b8 [2023-03-14T20:58:28.104Z] Still waiting to schedule task [2023-03-14T20:58:28.104Z] ‘prd-ubuntu18.04-docker-8c-8g-160’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T20:58:28.104Z] ‘prd-ubuntu20.04-docker-8c-8g-258’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T20:58:28.104Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-262’ is offline [2023-03-14T20:58:47.787Z] Removing intermediate container 86f8ee5704b8 [2023-03-14T20:58:47.787Z] ---> fb851313ac93 [2023-03-14T20:58:47.787Z] Step 11/12 : COPY . . [2023-03-14T20:58:47.787Z] ---> 35c4e0b68d73 [2023-03-14T20:58:47.787Z] Step 12/12 : RUN $MAKE [2023-03-14T20:58:47.787Z] ---> Running in f8641c8b2e4c [2023-03-14T20:58:47.787Z] noop [2023-03-14T20:58:47.787Z] Removing intermediate container f8641c8b2e4c [2023-03-14T20:58:47.787Z] ---> f2a35c990387 [2023-03-14T20:58:47.787Z] Successfully built f2a35c990387 [2023-03-14T20:58:47.787Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:48.104Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:58:48.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:58:48.174Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T20:58:48.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:58:48.563Z] $ docker top 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:58:48.906Z] + go version [2023-03-14T20:58:48.906Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T20:58:48.919Z] $ docker stop --time=1 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd [2023-03-14T20:58:50.202Z] $ docker rm -f --volumes 8684459c23c0a5c865b7cc9f5eafc1660f99d1323113719dae0294f77f40eefd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:58:50.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:58:50.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:58:50.669Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T20:58:50.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:58:51.045Z] $ docker top d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:58:51.382Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-14T20:58:51.672Z] + make test [2023-03-14T20:58:51.672Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T20:58:56.938Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-14T20:59:06.901Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-14T20:59:06.901Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.1% of statements [2023-03-14T20:59:12.159Z] go vet ./... [2023-03-14T20:59:16.355Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T20:59:16.355Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T20:59:16.355Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T20:59:16.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T20:59:16.382Z] $ docker stop --time=1 d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 [2023-03-14T20:59:18.496Z] $ docker rm -f --volumes d46ac5aa5bfa7b622c0e8edbf500ac0c9a9e6f8172356dee92df9cc4d7600422 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:59:18.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T20:59:18.978Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T20:59:19.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T20:59:19.689Z] + ls -al . [2023-03-14T20:59:19.689Z] total 184 [2023-03-14T20:59:19.689Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 20:58 . [2023-03-14T20:59:19.689Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 .. [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 20:57 .dockerignore [2023-03-14T20:59:19.689Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:58 .git [2023-03-14T20:59:19.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 .github [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 20:57 .gitignore [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:57 .golangci.yml [2023-03-14T20:59:19.689Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 .semver [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 20:57 Attribution.txt [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 20:57 CHANGELOG.md [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 20:57 Dockerfile [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:57 GOVERNANCE.md [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:57 Jenkinsfile [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:57 LICENSE [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 20:57 Makefile [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 20:57 OWNERS.md [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 20:57 README.md [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:58 VERSION [2023-03-14T20:59:19.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 bin [2023-03-14T20:59:19.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 cmd [2023-03-14T20:59:19.689Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 20:59 coverage.out [2023-03-14T20:59:19.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 driver [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 20:57 go.mod [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 20:57 go.sum [2023-03-14T20:59:19.689Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 snap [2023-03-14T20:59:19.689Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:19.987Z] + 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=eb45550bbe0df662ecfda2dd82817b25f9b033bb --label arch=amd64 --label version=3.0.0-dev.18 . [2023-03-14T20:59:19.987Z] Sending build context to Docker daemon 10.86MB [2023-03-14T20:59:19.987Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:59:19.987Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T20:59:19.987Z] ---> f2a35c990387 [2023-03-14T20:59:19.987Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:59:19.987Z] ---> Running in 75ef0d891bfd [2023-03-14T20:59:20.246Z] Removing intermediate container 75ef0d891bfd [2023-03-14T20:59:20.246Z] ---> 6dec5f3cfbc4 [2023-03-14T20:59:20.246Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:59:20.246Z] ---> Running in 9196dfd0db13 [2023-03-14T20:59:20.246Z] Removing intermediate container 9196dfd0db13 [2023-03-14T20:59:20.246Z] ---> d3aa6465fe9b [2023-03-14T20:59:20.246Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:59:20.246Z] ---> Running in f8d76ba06225 [2023-03-14T20:59:20.508Z] Removing intermediate container f8d76ba06225 [2023-03-14T20:59:20.508Z] ---> f35198b23bda [2023-03-14T20:59:20.508Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:59:20.508Z] ---> Running in 9ef874e14150 [2023-03-14T20:59:20.508Z] Removing intermediate container 9ef874e14150 [2023-03-14T20:59:20.508Z] ---> ebac1b24ea3c [2023-03-14T20:59:20.508Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:59:20.508Z] ---> Running in 920f33d83cba [2023-03-14T20:59:20.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:59:21.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:59:21.115Z] OK: 269 MiB in 57 packages [2023-03-14T20:59:21.703Z] Removing intermediate container 920f33d83cba [2023-03-14T20:59:21.703Z] ---> 4c906249a059 [2023-03-14T20:59:21.703Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-14T20:59:21.703Z] ---> Running in d3f331aba8e9 [2023-03-14T20:59:21.703Z] Removing intermediate container d3f331aba8e9 [2023-03-14T20:59:21.703Z] ---> a0c6113c9f27 [2023-03-14T20:59:21.703Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-14T20:59:21.703Z] ---> 0cfe56dd8d05 [2023-03-14T20:59:21.703Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:59:21.979Z] ---> Running in 99c6c45b0f81 [2023-03-14T20:59:22.578Z] Removing intermediate container 99c6c45b0f81 [2023-03-14T20:59:22.578Z] ---> f0c52e2eab29 [2023-03-14T20:59:22.578Z] Step 11/25 : COPY . . [2023-03-14T20:59:23.144Z] ---> 44f188758a52 [2023-03-14T20:59:23.144Z] Step 12/25 : RUN $MAKE [2023-03-14T20:59:23.144Z] ---> Running in a2f0b0a50de9 [2023-03-14T20:59:23.402Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-14T20:59:41.469Z] Removing intermediate container a2f0b0a50de9 [2023-03-14T20:59:41.469Z] ---> 76b826196d6d [2023-03-14T20:59:41.469Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T20:59:41.469Z] 3.17: Pulling from library/alpine [2023-03-14T20:59:41.469Z] 63b65145d645: Already exists [2023-03-14T20:59:41.469Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T20:59:41.469Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T20:59:41.469Z] ---> b2aa39c304c2 [2023-03-14T20:59:41.469Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T20:59:41.469Z] ---> Running in 0635beaf137c [2023-03-14T20:59:41.469Z] Removing intermediate container 0635beaf137c [2023-03-14T20:59:41.469Z] ---> fdbdabb5e9d5 [2023-03-14T20:59:41.469Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-14T20:59:41.469Z] ---> Running in 8de88f5a8f28 [2023-03-14T20:59:41.469Z] Removing intermediate container 8de88f5a8f28 [2023-03-14T20:59:41.469Z] ---> fcc82e99f247 [2023-03-14T20:59:41.469Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T20:59:41.469Z] ---> Running in 6189b88da459 [2023-03-14T20:59:41.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:59:41.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:59:41.469Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T20:59:41.469Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:59:41.469Z] OK: 7 MiB in 16 packages [2023-03-14T20:59:41.469Z] Removing intermediate container 6189b88da459 [2023-03-14T20:59:41.469Z] ---> 5f0fefca1aca [2023-03-14T20:59:41.469Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-14T20:59:42.043Z] ---> 3645852c931a [2023-03-14T20:59:42.043Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-14T20:59:42.043Z] ---> 3d5e0ac1ad3a [2023-03-14T20:59:42.043Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-14T20:59:42.303Z] ---> da785f2d961f [2023-03-14T20:59:42.303Z] Step 20/25 : EXPOSE 59986 [2023-03-14T20:59:42.303Z] ---> Running in a9d53747e08d [2023-03-14T20:59:42.303Z] Removing intermediate container a9d53747e08d [2023-03-14T20:59:42.303Z] ---> 9adf2b55a584 [2023-03-14T20:59:42.303Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-14T20:59:42.303Z] ---> Running in 5eb51eacdcc5 [2023-03-14T20:59:42.561Z] Removing intermediate container 5eb51eacdcc5 [2023-03-14T20:59:42.561Z] ---> bbb93fd2f9dd [2023-03-14T20:59:42.561Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T20:59:42.561Z] ---> Running in f48efbd1165f [2023-03-14T20:59:42.561Z] Removing intermediate container f48efbd1165f [2023-03-14T20:59:42.561Z] ---> 456aafaff274 [2023-03-14T20:59:42.561Z] Step 23/25 : LABEL arch=amd64 [2023-03-14T20:59:42.561Z] ---> Running in bdae120751e0 [2023-03-14T20:59:42.561Z] Removing intermediate container bdae120751e0 [2023-03-14T20:59:42.561Z] ---> 18d032e97e4d [2023-03-14T20:59:42.561Z] Step 24/25 : LABEL git_sha=eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T20:59:42.820Z] ---> Running in 798c94ac3d8d [2023-03-14T20:59:42.820Z] Removing intermediate container 798c94ac3d8d [2023-03-14T20:59:42.820Z] ---> 9554d96886bf [2023-03-14T20:59:42.820Z] Step 25/25 : LABEL version=3.0.0-dev.18 [2023-03-14T20:59:42.820Z] ---> Running in 944245016e80 [2023-03-14T20:59:42.820Z] Removing intermediate container 944245016e80 [2023-03-14T20:59:42.820Z] ---> cf474125e01c [2023-03-14T20:59:42.820Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T20:59:42.820Z] Successfully built cf474125e01c [2023-03-14T20:59:42.820Z] 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-14T20:59:42.891Z] provisioning config files... [2023-03-14T20:59:42.899Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4935305141502410785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:59:43.188Z] ---> docker-login.sh [2023-03-14T20:59:43.188Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:59:43.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:43.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:43.189Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:43.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:43.189Z] [2023-03-14T20:59:43.189Z] Login Succeeded [2023-03-14T20:59:43.189Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:59:43.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:43.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:43.189Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:43.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:43.189Z] [2023-03-14T20:59:43.189Z] Login Succeeded [2023-03-14T20:59:43.189Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:59:43.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:43.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:43.447Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:43.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:43.447Z] [2023-03-14T20:59:43.447Z] Login Succeeded [2023-03-14T20:59:43.447Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:59:43.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:43.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:43.447Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:43.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:43.447Z] [2023-03-14T20:59:43.447Z] Login Succeeded [2023-03-14T20:59:43.447Z] docker.io [2023-03-14T20:59:43.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:59:43.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:59:43.705Z] Configure a credential helper to remove this warning. See [2023-03-14T20:59:43.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:59:43.705Z] [2023-03-14T20:59:43.705Z] Login Succeeded [2023-03-14T20:59:43.705Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:59:43.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T20:59:43.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:59:43.759Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-03-14T20:59:43.759Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T20:59:43.759Z] latest [2023-03-14T20:59:43.759Z] 3.0.0-dev.18 [2023-03-14T20:59:43.759Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T20:59:43.759Z] main [2023-03-14T20:59:43.759Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:44.075Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:44.377Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T20:59:44.377Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-14T20:59:44.377Z] 814d754ede5b: Preparing [2023-03-14T20:59:44.377Z] 4672c933db59: Preparing [2023-03-14T20:59:44.377Z] 041223f54107: Preparing [2023-03-14T20:59:44.377Z] d1fd3e9a20d6: Preparing [2023-03-14T20:59:44.377Z] 7cd52847ad77: Preparing [2023-03-14T20:59:44.377Z] 7cd52847ad77: Layer already exists [2023-03-14T20:59:44.377Z] 4672c933db59: Pushed [2023-03-14T20:59:44.377Z] d1fd3e9a20d6: Pushed [2023-03-14T20:59:44.377Z] 814d754ede5b: Pushed [2023-03-14T20:59:46.908Z] 041223f54107: Pushed [2023-03-14T20:59:46.908Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:47.208Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:47.507Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-14T20:59:47.507Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-14T20:59:47.507Z] 814d754ede5b: Preparing [2023-03-14T20:59:47.507Z] 4672c933db59: Preparing [2023-03-14T20:59:47.507Z] 041223f54107: Preparing [2023-03-14T20:59:47.507Z] d1fd3e9a20d6: Preparing [2023-03-14T20:59:47.507Z] 7cd52847ad77: Preparing [2023-03-14T20:59:47.507Z] 041223f54107: Layer already exists [2023-03-14T20:59:47.507Z] 4672c933db59: Layer already exists [2023-03-14T20:59:47.507Z] 814d754ede5b: Layer already exists [2023-03-14T20:59:47.507Z] d1fd3e9a20d6: Layer already exists [2023-03-14T20:59:47.507Z] 7cd52847ad77: Layer already exists [2023-03-14T20:59:47.507Z] latest: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:47.811Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:48.109Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 [2023-03-14T20:59:48.109Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-14T20:59:48.109Z] 814d754ede5b: Preparing [2023-03-14T20:59:48.109Z] 4672c933db59: Preparing [2023-03-14T20:59:48.109Z] 041223f54107: Preparing [2023-03-14T20:59:48.109Z] d1fd3e9a20d6: Preparing [2023-03-14T20:59:48.109Z] 7cd52847ad77: Preparing [2023-03-14T20:59:48.109Z] 041223f54107: Layer already exists [2023-03-14T20:59:48.109Z] d1fd3e9a20d6: Layer already exists [2023-03-14T20:59:48.109Z] 4672c933db59: Layer already exists [2023-03-14T20:59:48.109Z] 7cd52847ad77: Layer already exists [2023-03-14T20:59:48.109Z] 814d754ede5b: Layer already exists [2023-03-14T20:59:48.109Z] 3.0.0-dev.18: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:48.411Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:48.719Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T20:59:48.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-14T20:59:48.719Z] 814d754ede5b: Preparing [2023-03-14T20:59:48.719Z] 4672c933db59: Preparing [2023-03-14T20:59:48.719Z] 041223f54107: Preparing [2023-03-14T20:59:48.719Z] d1fd3e9a20d6: Preparing [2023-03-14T20:59:48.719Z] 7cd52847ad77: Preparing [2023-03-14T20:59:48.719Z] 4672c933db59: Layer already exists [2023-03-14T20:59:48.719Z] 7cd52847ad77: Layer already exists [2023-03-14T20:59:48.719Z] 041223f54107: Layer already exists [2023-03-14T20:59:48.719Z] d1fd3e9a20d6: Layer already exists [2023-03-14T20:59:48.719Z] 814d754ede5b: Layer already exists [2023-03-14T20:59:48.719Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:49.033Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:49.334Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-03-14T20:59:49.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-14T20:59:49.334Z] 814d754ede5b: Preparing [2023-03-14T20:59:49.334Z] 4672c933db59: Preparing [2023-03-14T20:59:49.334Z] 041223f54107: Preparing [2023-03-14T20:59:49.334Z] d1fd3e9a20d6: Preparing [2023-03-14T20:59:49.334Z] 7cd52847ad77: Preparing [2023-03-14T20:59:49.334Z] 041223f54107: Layer already exists [2023-03-14T20:59:49.334Z] d1fd3e9a20d6: Layer already exists [2023-03-14T20:59:49.334Z] 4672c933db59: Layer already exists [2023-03-14T20:59:49.334Z] 814d754ede5b: Layer already exists [2023-03-14T20:59:49.334Z] 7cd52847ad77: Layer already exists [2023-03-14T20:59:49.334Z] main: digest: sha256:1706dadaa2f2dad40fb48dfe137e14335eddcb69741a580c28651c1c1d56b127 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T20:59:49.377Z] ===================================================== [Pipeline] echo [2023-03-14T20:59:49.385Z] taggedImages: [2023-03-14T20:59:49.385Z] - nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T20:59:49.385Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-14T20:59:49.385Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.18 [2023-03-14T20:59:49.385Z] - nexus3.edgexfoundry.org:10004/device-rest:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T20:59:49.385Z] - 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-14T20:59:49.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:59:49.737Z] [2023-03-14T20:59:49.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:59:50.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:59:50.032Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T20:59:50.032Z] 5eb5b503b376: Pulling fs layer [2023-03-14T20:59:50.032Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T20:59:50.032Z] ec43610c2a17: Pulling fs layer [2023-03-14T20:59:50.032Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T20:59:50.032Z] 33b1e0a273af: Pulling fs layer [2023-03-14T20:59:50.032Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T20:59:50.032Z] 2f39f015ded8: Pulling fs layer [2023-03-14T20:59:50.032Z] 3a2ae6a8a46f: Waiting [2023-03-14T20:59:50.032Z] 33b1e0a273af: Waiting [2023-03-14T20:59:50.032Z] 5d3b04190fa2: Waiting [2023-03-14T20:59:50.032Z] 2f39f015ded8: Waiting [2023-03-14T20:59:50.032Z] 5c69ac0246d0: Download complete [2023-03-14T20:59:50.032Z] 3a2ae6a8a46f: Download complete [2023-03-14T20:59:50.291Z] 33b1e0a273af: Verifying Checksum [2023-03-14T20:59:50.291Z] 33b1e0a273af: Download complete [2023-03-14T20:59:50.291Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T20:59:50.291Z] 5d3b04190fa2: Download complete [2023-03-14T20:59:50.291Z] ec43610c2a17: Verifying Checksum [2023-03-14T20:59:50.291Z] ec43610c2a17: Download complete [2023-03-14T20:59:50.291Z] 5eb5b503b376: Download complete [2023-03-14T20:59:50.857Z] 2f39f015ded8: Download complete [2023-03-14T20:59:51.424Z] 5eb5b503b376: Pull complete [2023-03-14T20:59:51.424Z] 5c69ac0246d0: Pull complete [2023-03-14T20:59:51.989Z] ec43610c2a17: Pull complete [2023-03-14T20:59:51.989Z] 3a2ae6a8a46f: Pull complete [2023-03-14T20:59:52.248Z] 33b1e0a273af: Pull complete [2023-03-14T20:59:52.248Z] 5d3b04190fa2: Pull complete [2023-03-14T20:59:56.429Z] 2f39f015ded8: Pull complete [2023-03-14T20:59:56.429Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T20:59:56.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:59:56.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:59:56.516Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T20:59:56.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T20:59:58.364Z] $ docker top 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:59:58.742Z] ---> job-cost.sh [2023-03-14T20:59:58.742Z] lf-activate-venv: SKIPPING [2023-03-14T20:59:58.742Z] INFO: No Stack... [2023-03-14T20:59:59.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T20:59:59.567Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T20:59:59.854Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-03-14T20:59:59.854Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T20:59:59.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [2023-03-14T20:59:59.870Z] Resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] did not exist. Created. [2023-03-14T20:59:59.870Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:00:00.171Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T21:00:00.202Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:00:00.209Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:00:00.229Z] $ docker stop --time=1 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb [2023-03-14T21:00:01.384Z] $ docker rm -f --volumes 509a782d2d160d3d8b9b35a0d45aa27407ca7147605c2c36215fbb13ab10d4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T21:01:19.063Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-266 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-03-14T21:01:19.076Z] Running in /w/workspace/device-rest-go/90 [Pipeline] { [Pipeline] checkout [2023-03-14T21:01:19.117Z] The recommended git tool is: git [2023-03-14T21:01:26.035Z] using credential edgex-jenkins-ssh [2023-03-14T21:01:26.055Z] Cloning the remote Git repository [2023-03-14T21:01:26.108Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-14T21:01:26.231Z] > git init /w/workspace/device-rest-go/90 # timeout=10 [2023-03-14T21:01:26.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-14T21:01:26.417Z] > git --version # timeout=10 [2023-03-14T21:01:26.444Z] > git --version # 'git version 2.25.1' [2023-03-14T21:01:26.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T21:01:26.653Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:01:28.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-14T21:01:28.907Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:01:30.047Z] Avoid second fetch [2023-03-14T21:01:30.048Z] Checking out Revision eb45550bbe0df662ecfda2dd82817b25f9b033bb (main) [2023-03-14T21:01:30.750Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#265)" [2023-03-14T21:01:30.068Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T21:01:30.153Z] > git checkout -f eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:01:31.781Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T21:01:31.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:01:31.781Z] Dload Upload Total Spent Left Speed [2023-03-14T21:01:31.781Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-14T21:01:32.479Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T21:01:32.826Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-03-14T21:01:32.826Z] sudo tee /etc/docker/daemon.new [2023-03-14T21:01:32.826Z] { [2023-03-14T21:01:32.826Z] "registry-mirrors": [ [2023-03-14T21:01:32.826Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T21:01:32.826Z] ], [2023-03-14T21:01:32.826Z] "bip": "10.250.0.254/24", [2023-03-14T21:01:32.826Z] "hosts": [ [2023-03-14T21:01:32.826Z] "tcp://0.0.0.0:5555", [2023-03-14T21:01:32.826Z] "unix:///var/run/docker.sock" [2023-03-14T21:01:32.826Z] ], [2023-03-14T21:01:32.826Z] "mtu": 1458, [2023-03-14T21:01:32.826Z] "selinux-enabled": true, [2023-03-14T21:01:32.826Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T21:01:32.826Z] } [Pipeline] sh [2023-03-14T21:01:33.177Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T21:01:33.536Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:01:51.856Z] provisioning config files... [2023-03-14T21:01:51.892Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/90@tmp/config12393827214504352782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:01:52.269Z] ---> docker-login.sh [2023-03-14T21:01:52.270Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:01:52.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:01:52.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:01:52.865Z] Configure a credential helper to remove this warning. See [2023-03-14T21:01:52.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:01:52.865Z] [2023-03-14T21:01:52.865Z] Login Succeeded [2023-03-14T21:01:53.137Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:01:53.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:01:53.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:01:53.409Z] Configure a credential helper to remove this warning. See [2023-03-14T21:01:53.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:01:53.409Z] [2023-03-14T21:01:53.409Z] Login Succeeded [2023-03-14T21:01:53.409Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:01:53.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:01:53.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:01:53.950Z] Configure a credential helper to remove this warning. See [2023-03-14T21:01:53.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:01:53.950Z] [2023-03-14T21:01:53.950Z] Login Succeeded [2023-03-14T21:01:53.950Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:01:54.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:01:54.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:01:54.228Z] Configure a credential helper to remove this warning. See [2023-03-14T21:01:54.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:01:54.228Z] [2023-03-14T21:01:54.228Z] Login Succeeded [2023-03-14T21:01:54.228Z] docker.io [2023-03-14T21:01:54.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:01:54.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:01:54.771Z] Configure a credential helper to remove this warning. See [2023-03-14T21:01:54.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:01:54.771Z] [2023-03-14T21:01:54.771Z] Login Succeeded [2023-03-14T21:01:54.771Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:01:54.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T21:01:55.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:01:55.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:01:55.105Z] ========================================================= [2023-03-14T21:01:55.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T21:01:55.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:01:55.475Z] + 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-14T21:01:55.475Z] Sending build context to Docker daemon 139.3kB [2023-03-14T21:01:55.746Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:01:55.746Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T21:01:56.023Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T21:01:56.023Z] af6eaf76a39c: Pulling fs layer [2023-03-14T21:01:56.023Z] 55522c791124: Pulling fs layer [2023-03-14T21:01:56.023Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T21:01:56.023Z] 169dfbe0d373: Pulling fs layer [2023-03-14T21:01:56.023Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T21:01:56.023Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T21:01:56.023Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T21:01:56.023Z] 169dfbe0d373: Waiting [2023-03-14T21:01:56.023Z] e1ff8fa3b103: Waiting [2023-03-14T21:01:56.023Z] 52ebb69f0ebf: Waiting [2023-03-14T21:01:56.023Z] 5abe8eddf0d5: Waiting [2023-03-14T21:01:56.023Z] 55522c791124: Download complete [2023-03-14T21:01:56.023Z] 169dfbe0d373: Verifying Checksum [2023-03-14T21:01:56.023Z] 169dfbe0d373: Download complete [2023-03-14T21:01:56.023Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T21:01:56.023Z] e1ff8fa3b103: Download complete [2023-03-14T21:01:56.023Z] af6eaf76a39c: Verifying Checksum [2023-03-14T21:01:56.023Z] af6eaf76a39c: Download complete [2023-03-14T21:01:57.001Z] af6eaf76a39c: Pull complete [2023-03-14T21:01:57.282Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T21:01:57.282Z] 5abe8eddf0d5: Download complete [2023-03-14T21:01:57.878Z] 55522c791124: Pull complete [2023-03-14T21:01:58.854Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T21:01:58.854Z] ce5c4a1c91eb: Download complete [2023-03-14T21:01:58.854Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T21:01:58.854Z] 52ebb69f0ebf: Download complete [2023-03-14T21:02:08.985Z] ce5c4a1c91eb: Pull complete [2023-03-14T21:02:09.256Z] 169dfbe0d373: Pull complete [2023-03-14T21:02:09.531Z] e1ff8fa3b103: Pull complete [2023-03-14T21:02:16.427Z] 52ebb69f0ebf: Pull complete [2023-03-14T21:02:17.864Z] 5abe8eddf0d5: Pull complete [2023-03-14T21:02:17.864Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T21:02:17.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T21:02:17.864Z] ---> 6cb57ee374ae [2023-03-14T21:02:17.864Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:02:19.821Z] ---> Running in 0c4142402e92 [2023-03-14T21:02:20.089Z] Removing intermediate container 0c4142402e92 [2023-03-14T21:02:20.089Z] ---> 17faf601fbef [2023-03-14T21:02:20.089Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:02:20.359Z] ---> Running in e1a8cd651a69 [2023-03-14T21:02:20.630Z] Removing intermediate container e1a8cd651a69 [2023-03-14T21:02:20.630Z] ---> 4f8e4db4dc61 [2023-03-14T21:02:20.630Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:02:20.630Z] ---> Running in 89ce84248e6f [2023-03-14T21:02:20.901Z] Removing intermediate container 89ce84248e6f [2023-03-14T21:02:20.901Z] ---> 6c6b8b596ec3 [2023-03-14T21:02:20.901Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:02:21.181Z] ---> Running in b81345004fc6 [2023-03-14T21:02:21.451Z] Removing intermediate container b81345004fc6 [2023-03-14T21:02:21.451Z] ---> e2f150f82480 [2023-03-14T21:02:21.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:02:21.722Z] ---> Running in 2678a830de54 [2023-03-14T21:02:22.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:02:23.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:02:24.686Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T21:02:24.686Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T21:02:24.686Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T21:02:24.686Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T21:02:24.686Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:02:24.953Z] OK: 268 MiB in 57 packages [2023-03-14T21:02:25.920Z] Removing intermediate container 2678a830de54 [2023-03-14T21:02:25.920Z] ---> 9f0975342ec0 [2023-03-14T21:02:25.920Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-14T21:02:25.920Z] ---> Running in 89b246c5bea1 [2023-03-14T21:02:26.507Z] Removing intermediate container 89b246c5bea1 [2023-03-14T21:02:26.507Z] ---> f715ab25c80e [2023-03-14T21:02:26.507Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T21:02:26.782Z] ---> dec44883f40f [2023-03-14T21:02:26.782Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:02:27.051Z] ---> Running in 4bf4743b5d66 [2023-03-14T21:03:48.760Z] Removing intermediate container 4bf4743b5d66 [2023-03-14T21:03:48.760Z] ---> f1d638e45b3f [2023-03-14T21:03:48.760Z] Step 11/12 : COPY . . [2023-03-14T21:03:48.760Z] ---> cad07f9572c2 [2023-03-14T21:03:48.760Z] Step 12/12 : RUN $MAKE [2023-03-14T21:03:48.760Z] ---> Running in f273380df849 [2023-03-14T21:03:48.760Z] noop [2023-03-14T21:03:48.760Z] Removing intermediate container f273380df849 [2023-03-14T21:03:48.760Z] ---> 3b11eac369f4 [2023-03-14T21:03:48.760Z] Successfully built 3b11eac369f4 [2023-03-14T21:03:48.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:03:49.129Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:03:49.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:03:49.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container [2023-03-14T21:03:49.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@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-14T21:03:54.043Z] $ docker top bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:03:54.937Z] + go version [2023-03-14T21:03:54.938Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T21:03:54.959Z] $ docker stop --time=1 bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 [2023-03-14T21:03:56.690Z] $ docker rm -f --volumes bcb2c8cc0d282d91ee66d17af313cab50ade9a57d4a09a7da7bd000c12cbd411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:03:57.260Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:03:57.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:03:57.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container [2023-03-14T21:03:57.551Z] $ 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/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@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-14T21:03:58.870Z] $ docker top 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:03:59.756Z] + git config --global --add safe.directory /w/workspace/device-rest-go/90 [Pipeline] fileExists [Pipeline] sh [2023-03-14T21:04:00.419Z] + make test [2023-03-14T21:04:00.419Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T21:04:39.351Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-14T21:07:31.199Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-14T21:07:31.199Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.1% of statements [2023-03-14T21:07:31.199Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T21:07:31.199Z] go vet ./... [2023-03-14T21:07:49.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T21:07:49.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T21:07:49.445Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T21:07:49.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T21:07:49.755Z] $ docker stop --time=1 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 [2023-03-14T21:07:51.706Z] $ docker rm -f --volumes 42ad2bac537faf8c48b96aa7e9f6042df633aa939d991ee7a8cea98cdce558e9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:07:52.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T21:07:52.926Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T21:07:53.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:07:53.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T21:07:54.189Z] + ls -al . [2023-03-14T21:07:54.189Z] total 180 [2023-03-14T21:07:54.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:04 . [2023-03-14T21:07:54.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:01 .. [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 21:01 .dockerignore [2023-03-14T21:07:54.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:01 .git [2023-03-14T21:07:54.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:01 .github [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 21:01 .gitignore [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:01 .golangci.yml [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 21:01 Attribution.txt [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 21:01 CHANGELOG.md [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 21:01 Dockerfile [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:01 GOVERNANCE.md [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 21:01 Jenkinsfile [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:01 LICENSE [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 21:01 Makefile [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 21:01 OWNERS.md [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 21:01 README.md [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:58 VERSION [2023-03-14T21:07:54.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:01 bin [2023-03-14T21:07:54.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:01 cmd [2023-03-14T21:07:54.189Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 21:07 coverage.out [2023-03-14T21:07:54.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:01 driver [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 21:01 go.mod [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 21:01 go.sum [2023-03-14T21:07:54.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:01 snap [2023-03-14T21:07:54.189Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:07:54.540Z] + 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=eb45550bbe0df662ecfda2dd82817b25f9b033bb --label arch=arm64 --label version=3.0.0-dev.18 . [2023-03-14T21:07:54.540Z] Sending build context to Docker daemon 154.1kB [2023-03-14T21:07:54.809Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:07:54.809Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T21:07:54.809Z] ---> 3b11eac369f4 [2023-03-14T21:07:54.809Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:07:58.166Z] ---> Running in 21a4aa1cfbef [2023-03-14T21:07:58.166Z] Removing intermediate container 21a4aa1cfbef [2023-03-14T21:07:58.166Z] ---> 83a5a7e6c4a8 [2023-03-14T21:07:58.166Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:07:58.166Z] ---> Running in ba636bc1cf99 [2023-03-14T21:07:58.166Z] Removing intermediate container ba636bc1cf99 [2023-03-14T21:07:58.166Z] ---> 0b2ca646d873 [2023-03-14T21:07:58.166Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:07:58.443Z] ---> Running in f488cec1dfd8 [2023-03-14T21:07:58.711Z] Removing intermediate container f488cec1dfd8 [2023-03-14T21:07:58.711Z] ---> 64d65d843bf6 [2023-03-14T21:07:58.711Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:07:58.711Z] ---> Running in 4c1a54cac917 [2023-03-14T21:07:58.989Z] Removing intermediate container 4c1a54cac917 [2023-03-14T21:07:58.989Z] ---> 313fb06017ac [2023-03-14T21:07:58.989Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:07:59.273Z] ---> Running in cb5f41d65c43 [2023-03-14T21:08:01.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:08:02.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:08:03.872Z] OK: 268 MiB in 57 packages [2023-03-14T21:08:04.467Z] Removing intermediate container cb5f41d65c43 [2023-03-14T21:08:04.467Z] ---> bb1fbd4c7d34 [2023-03-14T21:08:04.467Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-14T21:08:04.737Z] ---> Running in a18b1721111c [2023-03-14T21:08:05.006Z] Removing intermediate container a18b1721111c [2023-03-14T21:08:05.006Z] ---> 5ef6a7c64681 [2023-03-14T21:08:05.006Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-14T21:08:05.592Z] ---> 314acb8afe7c [2023-03-14T21:08:05.592Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:08:05.592Z] ---> Running in aeac1604e471 [2023-03-14T21:08:08.182Z] Removing intermediate container aeac1604e471 [2023-03-14T21:08:08.182Z] ---> ca47d4a4d942 [2023-03-14T21:08:08.182Z] Step 11/25 : COPY . . [2023-03-14T21:08:08.778Z] ---> 69c7fb75bbe8 [2023-03-14T21:08:08.778Z] Step 12/25 : RUN $MAKE [2023-03-14T21:08:08.778Z] ---> Running in 369e163f6e27 [2023-03-14T21:08:09.744Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-14T21:10:31.459Z] Removing intermediate container 369e163f6e27 [2023-03-14T21:10:31.459Z] ---> cb10fc155c49 [2023-03-14T21:10:31.459Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T21:10:31.459Z] 3.17: Pulling from library/alpine [2023-03-14T21:10:31.459Z] af6eaf76a39c: Already exists [2023-03-14T21:10:31.459Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T21:10:31.459Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T21:10:31.459Z] ---> d74e625d9115 [2023-03-14T21:10:31.459Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T21:10:31.459Z] ---> Running in 558a1438cb55 [2023-03-14T21:10:31.459Z] Removing intermediate container 558a1438cb55 [2023-03-14T21:10:31.459Z] ---> 34e2cbb380ed [2023-03-14T21:10:31.459Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-14T21:10:31.459Z] ---> Running in d74b3f124d8d [2023-03-14T21:10:31.459Z] Removing intermediate container d74b3f124d8d [2023-03-14T21:10:31.459Z] ---> de4591acafc3 [2023-03-14T21:10:31.459Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T21:10:31.459Z] ---> Running in 452c14a4ae1e [2023-03-14T21:10:31.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:10:31.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:10:32.039Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T21:10:32.039Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:10:32.305Z] OK: 8 MiB in 16 packages [2023-03-14T21:10:32.886Z] Removing intermediate container 452c14a4ae1e [2023-03-14T21:10:32.886Z] ---> 124cfe689f32 [2023-03-14T21:10:32.886Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-14T21:10:34.288Z] ---> cd376b09cc81 [2023-03-14T21:10:34.288Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-14T21:10:34.554Z] ---> 622d252b4c8b [2023-03-14T21:10:34.554Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-14T21:10:35.134Z] ---> 1107549a92dc [2023-03-14T21:10:35.134Z] Step 20/25 : EXPOSE 59986 [2023-03-14T21:10:37.710Z] ---> Running in 6b923b26bf35 [2023-03-14T21:10:37.710Z] Removing intermediate container 6b923b26bf35 [2023-03-14T21:10:37.710Z] ---> b80f07265379 [2023-03-14T21:10:37.710Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-14T21:10:37.710Z] ---> Running in 0da4c155c4f3 [2023-03-14T21:10:37.977Z] Removing intermediate container 0da4c155c4f3 [2023-03-14T21:10:37.977Z] ---> 15b015f10f0e [2023-03-14T21:10:37.977Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T21:10:37.977Z] ---> Running in 2d4372994d57 [2023-03-14T21:10:38.248Z] Removing intermediate container 2d4372994d57 [2023-03-14T21:10:38.248Z] ---> 4d9e9bcaf7fe [2023-03-14T21:10:38.248Z] Step 23/25 : LABEL arch=arm64 [2023-03-14T21:10:38.248Z] ---> Running in ffde3251cb01 [2023-03-14T21:10:38.521Z] Removing intermediate container ffde3251cb01 [2023-03-14T21:10:38.521Z] ---> 55ee429b3865 [2023-03-14T21:10:38.521Z] Step 24/25 : LABEL git_sha=eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T21:10:38.786Z] ---> Running in 21c1b93564ce [2023-03-14T21:10:39.055Z] Removing intermediate container 21c1b93564ce [2023-03-14T21:10:39.055Z] ---> 55dfba72b882 [2023-03-14T21:10:39.055Z] Step 25/25 : LABEL version=3.0.0-dev.18 [2023-03-14T21:10:39.055Z] ---> Running in b56b82540043 [2023-03-14T21:10:39.321Z] Removing intermediate container b56b82540043 [2023-03-14T21:10:39.321Z] ---> 9ef9840d02fd [2023-03-14T21:10:39.321Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T21:10:39.321Z] Successfully built 9ef9840d02fd [2023-03-14T21:10:39.321Z] 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-14T21:10:39.418Z] provisioning config files... [2023-03-14T21:10:39.432Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/90@tmp/config12091055205640150864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:10:39.757Z] ---> docker-login.sh [2023-03-14T21:10:39.757Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:10:39.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:10:40.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:10:40.024Z] Configure a credential helper to remove this warning. See [2023-03-14T21:10:40.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:10:40.024Z] [2023-03-14T21:10:40.024Z] Login Succeeded [2023-03-14T21:10:40.024Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:10:40.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:10:40.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:10:40.610Z] Configure a credential helper to remove this warning. See [2023-03-14T21:10:40.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:10:40.610Z] [2023-03-14T21:10:40.610Z] Login Succeeded [2023-03-14T21:10:40.610Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:10:40.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:10:40.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:10:40.898Z] Configure a credential helper to remove this warning. See [2023-03-14T21:10:40.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:10:40.898Z] [2023-03-14T21:10:40.898Z] Login Succeeded [2023-03-14T21:10:40.898Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:10:41.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:10:41.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:10:41.169Z] Configure a credential helper to remove this warning. See [2023-03-14T21:10:41.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:10:41.169Z] [2023-03-14T21:10:41.169Z] Login Succeeded [2023-03-14T21:10:41.169Z] docker.io [2023-03-14T21:10:41.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:10:41.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:10:41.718Z] Configure a credential helper to remove this warning. See [2023-03-14T21:10:41.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:10:41.718Z] [2023-03-14T21:10:41.718Z] Login Succeeded [2023-03-14T21:10:41.718Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:10:41.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T21:10:41.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:10:41.793Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-03-14T21:10:41.793Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T21:10:41.793Z] latest [2023-03-14T21:10:41.793Z] 3.0.0-dev.18 [2023-03-14T21:10:41.793Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T21:10:41.793Z] main [2023-03-14T21:10:41.793Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:42.141Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:42.522Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T21:10:42.522Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-14T21:10:42.522Z] 5bda21560826: Preparing [2023-03-14T21:10:42.522Z] 93dbc06aad64: Preparing [2023-03-14T21:10:42.522Z] 1cf2be17d0dd: Preparing [2023-03-14T21:10:42.522Z] 402e4c8bffeb: Preparing [2023-03-14T21:10:42.522Z] edf70074bd40: Preparing [2023-03-14T21:10:42.522Z] edf70074bd40: Layer already exists [2023-03-14T21:10:42.794Z] 402e4c8bffeb: Pushed [2023-03-14T21:10:42.794Z] 5bda21560826: Pushed [2023-03-14T21:10:42.794Z] 93dbc06aad64: Pushed [2023-03-14T21:10:48.145Z] 1cf2be17d0dd: Pushed [2023-03-14T21:10:48.410Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:48.752Z] + 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-14T21:10:49.088Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-14T21:10:49.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-14T21:10:49.089Z] 5bda21560826: Preparing [2023-03-14T21:10:49.089Z] 93dbc06aad64: Preparing [2023-03-14T21:10:49.089Z] 1cf2be17d0dd: Preparing [2023-03-14T21:10:49.089Z] 402e4c8bffeb: Preparing [2023-03-14T21:10:49.089Z] edf70074bd40: Preparing [2023-03-14T21:10:49.089Z] 5bda21560826: Layer already exists [2023-03-14T21:10:49.089Z] 93dbc06aad64: Layer already exists [2023-03-14T21:10:49.089Z] 402e4c8bffeb: Layer already exists [2023-03-14T21:10:49.089Z] 1cf2be17d0dd: Layer already exists [2023-03-14T21:10:49.089Z] edf70074bd40: Layer already exists [2023-03-14T21:10:49.089Z] latest: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:49.432Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:49.769Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 [2023-03-14T21:10:49.769Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-14T21:10:49.769Z] 5bda21560826: Preparing [2023-03-14T21:10:49.769Z] 93dbc06aad64: Preparing [2023-03-14T21:10:49.769Z] 1cf2be17d0dd: Preparing [2023-03-14T21:10:49.769Z] 402e4c8bffeb: Preparing [2023-03-14T21:10:49.769Z] edf70074bd40: Preparing [2023-03-14T21:10:49.769Z] 5bda21560826: Layer already exists [2023-03-14T21:10:49.769Z] 402e4c8bffeb: Layer already exists [2023-03-14T21:10:49.769Z] edf70074bd40: Layer already exists [2023-03-14T21:10:49.769Z] 1cf2be17d0dd: Layer already exists [2023-03-14T21:10:49.769Z] 93dbc06aad64: Layer already exists [2023-03-14T21:10:49.769Z] 3.0.0-dev.18: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:50.114Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:50.455Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T21:10:50.455Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-14T21:10:50.455Z] 5bda21560826: Preparing [2023-03-14T21:10:50.455Z] 93dbc06aad64: Preparing [2023-03-14T21:10:50.455Z] 1cf2be17d0dd: Preparing [2023-03-14T21:10:50.455Z] 402e4c8bffeb: Preparing [2023-03-14T21:10:50.455Z] edf70074bd40: Preparing [2023-03-14T21:10:50.455Z] 1cf2be17d0dd: Layer already exists [2023-03-14T21:10:50.455Z] edf70074bd40: Layer already exists [2023-03-14T21:10:50.455Z] 5bda21560826: Layer already exists [2023-03-14T21:10:50.455Z] 93dbc06aad64: Layer already exists [2023-03-14T21:10:50.455Z] 402e4c8bffeb: Layer already exists [2023-03-14T21:10:50.455Z] eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:50.813Z] + 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-14T21:10:51.148Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-03-14T21:10:51.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-14T21:10:51.148Z] 5bda21560826: Preparing [2023-03-14T21:10:51.148Z] 93dbc06aad64: Preparing [2023-03-14T21:10:51.148Z] 1cf2be17d0dd: Preparing [2023-03-14T21:10:51.148Z] 402e4c8bffeb: Preparing [2023-03-14T21:10:51.148Z] edf70074bd40: Preparing [2023-03-14T21:10:51.148Z] 1cf2be17d0dd: Layer already exists [2023-03-14T21:10:51.148Z] 402e4c8bffeb: Layer already exists [2023-03-14T21:10:51.148Z] 5bda21560826: Layer already exists [2023-03-14T21:10:51.148Z] edf70074bd40: Layer already exists [2023-03-14T21:10:51.148Z] 93dbc06aad64: Layer already exists [2023-03-14T21:10:51.148Z] main: digest: sha256:351ba15f0a3c9738b91c7b26a1c6e579c632d8c46a088b4fa44ee9023bc8418a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-14T21:10:51.191Z] ===================================================== [Pipeline] echo [2023-03-14T21:10:51.197Z] taggedImages: [2023-03-14T21:10:51.197Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb [2023-03-14T21:10:51.197Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-14T21:10:51.197Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.18 [2023-03-14T21:10:51.197Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:eb45550bbe0df662ecfda2dd82817b25f9b033bb-3.0.0-dev.18 [2023-03-14T21:10:51.197Z] - 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-14T21:10:51.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:10:51.535Z] [2023-03-14T21:10:51.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:10:51.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:10:51.868Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T21:10:51.868Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T21:10:51.868Z] 04944245beec: Pulling fs layer [2023-03-14T21:10:51.868Z] 699f458cf7ca: Pulling fs layer [2023-03-14T21:10:51.868Z] 765212b225bb: Pulling fs layer [2023-03-14T21:10:51.868Z] f23df028b6ca: Pulling fs layer [2023-03-14T21:10:51.868Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T21:10:51.868Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T21:10:51.868Z] f23df028b6ca: Waiting [2023-03-14T21:10:51.868Z] d65c8cfc05b1: Waiting [2023-03-14T21:10:51.868Z] 2437ff75d9bd: Waiting [2023-03-14T21:10:52.140Z] 04944245beec: Verifying Checksum [2023-03-14T21:10:52.140Z] 04944245beec: Download complete [2023-03-14T21:10:52.140Z] 765212b225bb: Download complete [2023-03-14T21:10:52.140Z] f23df028b6ca: Verifying Checksum [2023-03-14T21:10:52.140Z] f23df028b6ca: Download complete [2023-03-14T21:10:52.140Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T21:10:52.140Z] d65c8cfc05b1: Download complete [2023-03-14T21:10:52.140Z] 699f458cf7ca: Verifying Checksum [2023-03-14T21:10:52.140Z] 699f458cf7ca: Download complete [2023-03-14T21:10:52.726Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T21:10:52.726Z] 8998bd30e6a1: Download complete [2023-03-14T21:10:54.675Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T21:10:54.675Z] 2437ff75d9bd: Download complete [2023-03-14T21:10:56.122Z] 8998bd30e6a1: Pull complete [2023-03-14T21:10:56.704Z] 04944245beec: Pull complete [2023-03-14T21:10:58.112Z] 699f458cf7ca: Pull complete [2023-03-14T21:10:58.112Z] 765212b225bb: Pull complete [2023-03-14T21:10:58.695Z] f23df028b6ca: Pull complete [2023-03-14T21:10:58.960Z] d65c8cfc05b1: Pull complete [2023-03-14T21:11:13.937Z] 2437ff75d9bd: Pull complete [2023-03-14T21:11:13.938Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T21:11:13.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:11:13.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:11:14.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-266 does not seem to be running inside a container [2023-03-14T21:11:14.211Z] $ 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/90 -v /w/workspace/device-rest-go/90:/w/workspace/device-rest-go/90:rw,z -v /w/workspace/device-rest-go/90@tmp:/w/workspace/device-rest-go/90@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-14T21:11:16.800Z] $ docker top 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:11:17.635Z] ---> job-cost.sh [2023-03-14T21:11:17.635Z] lf-activate-venv: SKIPPING [2023-03-14T21:11:17.635Z] INFO: No Stack... [2023-03-14T21:11:18.217Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T21:11:18.799Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T21:11:19.110Z] + cat /w/workspace/device-rest-go/90/archives/cost.csv [2023-03-14T21:11:19.110Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T21:11:19.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [2023-03-14T21:11:19.170Z] Resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] did not exist. Created. [2023-03-14T21:11:19.170Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:11:19.496Z] /w/workspace/device-rest-go/90@tmp/durable-1c5959e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T21:11:19.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T21:11:19.845Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T21:11:19.888Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:11:19.894Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:11:19.916Z] $ docker stop --time=1 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 [2023-03-14T21:11:21.358Z] $ docker rm -f --volumes 527e1669ac713aac12142df38c18a6db620187e5ba2d9c905b1f0dd0736bec78 [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-14T21:11:21.675Z] provisioning config files... [2023-03-14T21:11:21.682Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16639519005844341839tmp [Pipeline] { [Pipeline] sh [2023-03-14T21:11:21.975Z] + set +x [2023-03-14T21:11:21.975Z] + curl -s https://codecov.io/bash [2023-03-14T21:11:21.975Z] + bash -s -- [2023-03-14T21:11:21.975Z] [2023-03-14T21:11:21.975Z] _____ _ [2023-03-14T21:11:21.975Z] / ____| | | [2023-03-14T21:11:21.975Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T21:11:21.975Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T21:11:21.975Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T21:11:21.975Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T21:11:21.975Z] Bash-1.0.6 [2023-03-14T21:11:21.975Z] [2023-03-14T21:11:21.975Z] [2023-03-14T21:11:21.975Z] ==> git version 2.25.1 found [2023-03-14T21:11:21.975Z] ==> 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-14T21:11:21.975Z] Release-Date: 2020-01-08 [2023-03-14T21:11:21.975Z] 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-14T21:11:21.975Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T21:11:21.975Z] ==> Jenkins CI detected. [2023-03-14T21:11:21.975Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-03-14T21:11:21.975Z] project root: . [2023-03-14T21:11:21.975Z] --> token set from env [2023-03-14T21:11:21.975Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T21:11:21.975Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T21:11:21.975Z] ==> Python coveragepy not found [2023-03-14T21:11:21.975Z] ==> Searching for coverage reports in: [2023-03-14T21:11:21.975Z] + . [2023-03-14T21:11:21.975Z] -> Found 1 reports [2023-03-14T21:11:21.975Z] ==> Detecting git/mercurial file structure [2023-03-14T21:11:21.975Z] ==> Reading reports [2023-03-14T21:11:21.975Z] + ./coverage.out bytes=14200 [2023-03-14T21:11:21.975Z] ==> Appending adjustments [2023-03-14T21:11:21.975Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T21:11:22.233Z] + Found adjustments [2023-03-14T21:11:22.233Z] ==> Gzipping contents [2023-03-14T21:11:22.233Z] 4.0K /tmp/codecov.M3RGyY.gz [2023-03-14T21:11:22.233Z] ==> Uploading reports [2023-03-14T21:11:22.233Z] url: https://codecov.io [2023-03-14T21:11:22.233Z] query: branch=main&commit=eb45550bbe0df662ecfda2dd82817b25f9b033bb&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T21:11:22.233Z] -> Pinging Codecov [2023-03-14T21:11:22.233Z] 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=eb45550bbe0df662ecfda2dd82817b25f9b033bb&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-14T21:11:22.233Z] -> Uploading to [2023-03-14T21:11:22.233Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/4E5D53B4F1F92C436F7061BF334D961C/eb45550bbe0df662ecfda2dd82817b25f9b033bb/a0de8261-0d51-46ed-a8f7-82ca86e35e7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T211122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18f3a707e3316565b5e7d56eee2562bbadec96719b5b3c59aaefb39cd2766c0c [2023-03-14T21:11:22.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:11:22.233Z] Dload Upload Total Spent Left Speed [2023-03-14T21:11:22.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 12142 --:--:-- --:--:-- --:--:-- 12083 100 2465 0 0 100 2465 0 9062 --:--:-- --:--:-- --:--:-- 9029 [2023-03-14T21:11:22.491Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] } [2023-03-14T21:11:22.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-14T21:11:22.612Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-14T21:11:22.620Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:11:22.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:11:22.909Z] [2023-03-14T21:11:22.909Z] 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-14T21:11:23.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:11:23.212Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-14T21:11:23.212Z] df9b9388f04a: Pulling fs layer [2023-03-14T21:11:23.212Z] 52dc419b0ee2: Pulling fs layer [2023-03-14T21:11:23.212Z] 25bc292e5bac: Pulling fs layer [2023-03-14T21:11:23.212Z] 114826534d7a: Pulling fs layer [2023-03-14T21:11:23.212Z] 4657fd5d0bcf: Pulling fs layer [2023-03-14T21:11:23.212Z] 6ad1cebc031e: Pulling fs layer [2023-03-14T21:11:23.212Z] 8a3aa393b2d8: Pulling fs layer [2023-03-14T21:11:23.212Z] 114826534d7a: Waiting [2023-03-14T21:11:23.212Z] 4657fd5d0bcf: Waiting [2023-03-14T21:11:23.212Z] 8a3aa393b2d8: Waiting [2023-03-14T21:11:23.212Z] 25bc292e5bac: Verifying Checksum [2023-03-14T21:11:23.212Z] 25bc292e5bac: Download complete [2023-03-14T21:11:23.212Z] 52dc419b0ee2: Download complete [2023-03-14T21:11:23.212Z] 4657fd5d0bcf: Verifying Checksum [2023-03-14T21:11:23.212Z] 4657fd5d0bcf: Download complete [2023-03-14T21:11:23.212Z] df9b9388f04a: Download complete [2023-03-14T21:11:23.471Z] df9b9388f04a: Pull complete [2023-03-14T21:11:23.471Z] 52dc419b0ee2: Pull complete [2023-03-14T21:11:23.471Z] 6ad1cebc031e: Verifying Checksum [2023-03-14T21:11:23.471Z] 6ad1cebc031e: Download complete [2023-03-14T21:11:23.471Z] 25bc292e5bac: Pull complete [2023-03-14T21:11:24.039Z] 114826534d7a: Verifying Checksum [2023-03-14T21:11:24.039Z] 114826534d7a: Download complete [2023-03-14T21:11:24.039Z] 8a3aa393b2d8: Verifying Checksum [2023-03-14T21:11:24.039Z] 8a3aa393b2d8: Download complete [2023-03-14T21:11:27.315Z] 114826534d7a: Pull complete [2023-03-14T21:11:27.315Z] 4657fd5d0bcf: Pull complete [2023-03-14T21:11:27.573Z] 6ad1cebc031e: Pull complete [2023-03-14T21:11:30.102Z] 8a3aa393b2d8: Pull complete [2023-03-14T21:11:30.102Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-14T21:11:30.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-14T21:11:30.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:11:30.180Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:11:30.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-14T21:11:32.459Z] $ docker top b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-14T21:11:32.520Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-03-14T21:11:32.797Z] + set -o pipefail [2023-03-14T21:11:32.797Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/fbdd84f5-918c-41bd-84b2-f00ce1784306 [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] [2023-03-14T21:11:38.062Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-14T21:11:38.062Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-14T21:11:38.062Z] More details here: https://snyk.co/ue1NS [2023-03-14T21:11:38.062Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-14T21:11:38.062Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-14T21:11:38.073Z] $ docker stop --time=1 b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c [2023-03-14T21:11:40.491Z] $ docker rm -f --volumes b33bd4b535c617a2a0461af38507fbc6964f536df370c7bb416f1592a331052c [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-14T21:11:41.148Z] + git log --format=format:%s -1 eb45550bbe0df662ecfda2dd82817b25f9b033bb [Pipeline] sh [2023-03-14T21:11:41.440Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:11:41.440Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:11:41.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:11:41.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:11:41.804Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:11:41.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:11:42.229Z] $ docker top ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb -eo pid,comm [2023-03-14T21:11:42.269Z] 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-14T21:11:42.269Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:11:42.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:11:42.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:11:42.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:11:42.419Z] $ docker exec ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb ssh-agent [2023-03-14T21:11:42.520Z] SSH_AUTH_SOCK=/tmp/ssh-kTayPLxeyQvl/agent.32 [2023-03-14T21:11:42.520Z] SSH_AGENT_PID=38 [2023-03-14T21:11:42.524Z] Running ssh-add (command line suppressed) [2023-03-14T21:11:42.632Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16496081632317686779.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16496081632317686779.key) [2023-03-14T21:11:42.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:11:42.930Z] + git semver tag [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,102 [run_tag] DEBUG tag force:False [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,102 [check_head_tag] DEBUG check head tag [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,103 [execute] INFO git cat-file --batch-check [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,107 [execute] INFO git cat-file --batch [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,129 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,130 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:11:43.188Z] 2023-03-14 21:11:43,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:11:43.188Z] 3.0.0-dev.18 [Pipeline] } [2023-03-14T21:11:43.199Z] $ docker exec --env ******** --env ******** ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb ssh-agent -k [2023-03-14T21:11:43.297Z] unset SSH_AUTH_SOCK; [2023-03-14T21:11:43.297Z] unset SSH_AGENT_PID; [2023-03-14T21:11:43.297Z] echo Agent pid 38 killed; [2023-03-14T21:11:43.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:11:43.612Z] + git semver [Pipeline] } [2023-03-14T21:11:43.886Z] $ docker stop --time=1 ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb [2023-03-14T21:11:45.223Z] $ docker rm -f --volumes ba667b5eb85e8bbd0f896b66a078c3dbecc93e7df42fec68574e632e664564bb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:11:45.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:11:45.601Z] [2023-03-14T21:11:45.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:11:45.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:11:45.899Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-14T21:11:45.899Z] ab5ef0e58194: Pulling fs layer [2023-03-14T21:11:45.899Z] 9712f1f96733: Pulling fs layer [2023-03-14T21:11:45.899Z] 63f879dbbcfc: Pulling fs layer [2023-03-14T21:11:45.899Z] 0d9ebad4ef96: Pulling fs layer [2023-03-14T21:11:45.899Z] e9a5061849ea: Pulling fs layer [2023-03-14T21:11:45.899Z] d747dcd14b5f: Pulling fs layer [2023-03-14T21:11:45.899Z] 2de7ff778b66: Pulling fs layer [2023-03-14T21:11:45.899Z] e9a5061849ea: Waiting [2023-03-14T21:11:45.899Z] d747dcd14b5f: Waiting [2023-03-14T21:11:45.899Z] 2de7ff778b66: Waiting [2023-03-14T21:11:45.899Z] 0d9ebad4ef96: Waiting [2023-03-14T21:11:45.899Z] 9712f1f96733: Verifying Checksum [2023-03-14T21:11:45.899Z] 9712f1f96733: Download complete [2023-03-14T21:11:46.494Z] 63f879dbbcfc: Verifying Checksum [2023-03-14T21:11:46.494Z] 63f879dbbcfc: Download complete [2023-03-14T21:11:46.756Z] ab5ef0e58194: Verifying Checksum [2023-03-14T21:11:46.756Z] ab5ef0e58194: Download complete [2023-03-14T21:11:46.756Z] 0d9ebad4ef96: Verifying Checksum [2023-03-14T21:11:46.756Z] 0d9ebad4ef96: Download complete [2023-03-14T21:11:46.756Z] d747dcd14b5f: Verifying Checksum [2023-03-14T21:11:46.756Z] d747dcd14b5f: Download complete [2023-03-14T21:11:46.756Z] e9a5061849ea: Verifying Checksum [2023-03-14T21:11:46.756Z] e9a5061849ea: Download complete [2023-03-14T21:11:46.756Z] 2de7ff778b66: Verifying Checksum [2023-03-14T21:11:46.756Z] 2de7ff778b66: Download complete [2023-03-14T21:11:49.285Z] ab5ef0e58194: Pull complete [2023-03-14T21:11:49.285Z] 9712f1f96733: Pull complete [2023-03-14T21:11:49.850Z] 63f879dbbcfc: Pull complete [2023-03-14T21:11:53.129Z] 0d9ebad4ef96: Pull complete [2023-03-14T21:11:53.387Z] e9a5061849ea: Pull complete [2023-03-14T21:11:53.387Z] d747dcd14b5f: Pull complete [2023-03-14T21:11:54.321Z] 2de7ff778b66: Pull complete [2023-03-14T21:11:54.321Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-14T21:11:54.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-14T21:11:54.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:11:54.401Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:11:54.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-14T21:11:58.528Z] $ docker top bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:11:58.594Z] provisioning config files... [2023-03-14T21:11:58.600Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17781165388863711734tmp [2023-03-14T21:11:58.610Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13931292757680588374tmp [2023-03-14T21:11:58.619Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11893447438234868450tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:11:58.634Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:11:58.914Z] ---> sigul-configuration.sh [2023-03-14T21:11:58.914Z] gpg: directory `/root/.gnupg' created [2023-03-14T21:11:58.914Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-14T21:11:58.914Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-14T21:11:58.914Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-14T21:11:58.914Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-14T21:11:58.914Z] gpg: CAST5 encrypted data [2023-03-14T21:11:58.914Z] gpg: encrypted with 1 passphrase [2023-03-14T21:11:58.914Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-14T21:11:59.199Z] + mkdir /home/jenkins [2023-03-14T21:11:59.199Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-14T21:11:59.480Z] + 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-14T21:11:59.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:11:59.770Z] ---> sigul-install.sh [2023-03-14T21:11:59.770Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-14T21:12:00.057Z] + git tag --list [2023-03-14T21:12:00.057Z] v1.0.0 [2023-03-14T21:12:00.057Z] v1.1.0 [2023-03-14T21:12:00.057Z] v1.1.1 [2023-03-14T21:12:00.057Z] v1.1.2 [2023-03-14T21:12:00.057Z] v1.2.0 [2023-03-14T21:12:00.057Z] v1.2.1 [2023-03-14T21:12:00.057Z] v2.0.0 [2023-03-14T21:12:00.057Z] v2.1.0 [2023-03-14T21:12:00.057Z] v2.1.1 [2023-03-14T21:12:00.057Z] v2.1.1-dev.1 [2023-03-14T21:12:00.057Z] v2.1.1-dev.2 [2023-03-14T21:12:00.057Z] v2.1.1-dev.3 [2023-03-14T21:12:00.057Z] v2.2.0 [2023-03-14T21:12:00.057Z] v2.2.1-dev.1 [2023-03-14T21:12:00.057Z] v2.2.1-dev.2 [2023-03-14T21:12:00.057Z] v2.2.1-dev.3 [2023-03-14T21:12:00.057Z] v2.2.1-dev.4 [2023-03-14T21:12:00.057Z] v2.2.1-dev.5 [2023-03-14T21:12:00.057Z] v2.2.1-dev.6 [2023-03-14T21:12:00.057Z] v2.2.1-dev.7 [2023-03-14T21:12:00.057Z] v2.2.1-dev.8 [2023-03-14T21:12:00.057Z] v2.2.1-dev.9 [2023-03-14T21:12:00.057Z] v2.3.0 [2023-03-14T21:12:00.057Z] v2.3.0-dev.10 [2023-03-14T21:12:00.057Z] v2.3.0-dev.11 [2023-03-14T21:12:00.057Z] v2.3.0-dev.12 [2023-03-14T21:12:00.057Z] v2.3.0-dev.13 [2023-03-14T21:12:00.057Z] v2.3.0-dev.14 [2023-03-14T21:12:00.057Z] v2.3.0-dev.15 [2023-03-14T21:12:00.057Z] v2.3.0-dev.16 [2023-03-14T21:12:00.057Z] v2.3.0-dev.17 [2023-03-14T21:12:00.057Z] v2.3.0-dev.18 [2023-03-14T21:12:00.057Z] v2.3.0-dev.19 [2023-03-14T21:12:00.057Z] v2.3.0-dev.20 [2023-03-14T21:12:00.057Z] v2.3.0-dev.21 [2023-03-14T21:12:00.057Z] v2.3.0-dev.22 [2023-03-14T21:12:00.057Z] v2.3.0-dev.23 [2023-03-14T21:12:00.057Z] v2.3.0-dev.24 [2023-03-14T21:12:00.057Z] v2.3.0-dev.25 [2023-03-14T21:12:00.057Z] v2.3.0-dev.9 [2023-03-14T21:12:00.057Z] v3.0.0-dev.1 [2023-03-14T21:12:00.057Z] v3.0.0-dev.10 [2023-03-14T21:12:00.057Z] v3.0.0-dev.11 [2023-03-14T21:12:00.057Z] v3.0.0-dev.12 [2023-03-14T21:12:00.057Z] v3.0.0-dev.13 [2023-03-14T21:12:00.057Z] v3.0.0-dev.14 [2023-03-14T21:12:00.057Z] v3.0.0-dev.15 [2023-03-14T21:12:00.057Z] v3.0.0-dev.16 [2023-03-14T21:12:00.057Z] v3.0.0-dev.17 [2023-03-14T21:12:00.057Z] v3.0.0-dev.18 [2023-03-14T21:12:00.057Z] v3.0.0-dev.2 [2023-03-14T21:12:00.057Z] v3.0.0-dev.3 [2023-03-14T21:12:00.057Z] v3.0.0-dev.4 [2023-03-14T21:12:00.057Z] v3.0.0-dev.5 [2023-03-14T21:12:00.057Z] v3.0.0-dev.6 [2023-03-14T21:12:00.057Z] v3.0.0-dev.7 [2023-03-14T21:12:00.057Z] v3.0.0-dev.8 [2023-03-14T21:12:00.057Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-14T21:12:00.341Z] + lftools sign git-tag v3.0.0-dev.18 [2023-03-14T21:12:00.907Z] Signing Git tag with Sigul... [2023-03-14T21:12:00.907Z] Signing v3.0.0-dev.18 [Pipeline] echo [2023-03-14T21:12:01.481Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:01.764Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-14T21:12:01.770Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-14T21:12:01.792Z] $ docker stop --time=1 bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac [2023-03-14T21:12:03.135Z] $ docker rm -f --volumes bc7dd3faa7374295c575e301576e82cd700e33154ea28e137fa7b8849ed838ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-14T21:12:03.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:12:03.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:12:03.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:12:03.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:12:03.901Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:12:03.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:12:04.292Z] $ docker top daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:12:04.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:12:04.376Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:12:04.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:12:04.498Z] $ docker exec daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 ssh-agent [2023-03-14T21:12:04.600Z] SSH_AUTH_SOCK=/tmp/ssh-iEeOGNf2J3Dv/agent.32 [2023-03-14T21:12:04.600Z] SSH_AGENT_PID=38 [2023-03-14T21:12:04.605Z] Running ssh-add (command line suppressed) [2023-03-14T21:12:04.704Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1829846122004443619.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1829846122004443619.key) [2023-03-14T21:12:04.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:12:04.997Z] + git semver bump pre [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [bump_version] DEBUG bumped version:3.0.0-dev.19 [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,178 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,180 [execute] INFO git cat-file --batch-check [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,180 [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-14T21:12:05.256Z] 2023-03-14 21:12:05,185 [execute] INFO git cat-file --batch [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:12:05.256Z] 2023-03-14 21:12:05,190 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:12:05.256Z] 3.0.0-dev.19 [Pipeline] } [2023-03-14T21:12:05.267Z] $ docker exec --env ******** --env ******** daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 ssh-agent -k [2023-03-14T21:12:05.368Z] unset SSH_AUTH_SOCK; [2023-03-14T21:12:05.368Z] unset SSH_AGENT_PID; [2023-03-14T21:12:05.368Z] echo Agent pid 38 killed; [2023-03-14T21:12:05.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:12:05.681Z] + git semver [Pipeline] } [2023-03-14T21:12:05.954Z] $ docker stop --time=1 daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 [2023-03-14T21:12:07.230Z] $ docker rm -f --volumes daa43b5e7901b7853110004c31150a587cae0784c0535eae562b2658445774d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:12:07.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:12:07.565Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:12:07.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:12:07.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:12:07.936Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:12:07.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T21:12:08.319Z] $ docker top 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 -eo pid,comm [2023-03-14T21:12:08.360Z] 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-14T21:12:08.360Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:12:08.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:12:08.397Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:12:08.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:12:08.509Z] $ docker exec 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 ssh-agent [2023-03-14T21:12:08.610Z] SSH_AUTH_SOCK=/tmp/ssh-yWP1h7b2E7Vk/agent.33 [2023-03-14T21:12:08.610Z] SSH_AGENT_PID=39 [2023-03-14T21:12:08.614Z] Running ssh-add (command line suppressed) [2023-03-14T21:12:08.711Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_275731850266657668.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_275731850266657668.key) [2023-03-14T21:12:08.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:12:09.007Z] + git semver push [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,178 [run_push] DEBUG push [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,179 [execute] INFO git cat-file --batch-check [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,179 [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-14T21:12:09.265Z] 2023-03-14 21:12:09,183 [execute] INFO git rev-list 59fa3318070f802bd6cfd85622f5e0d78dee0588 -- [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,183 [execute] DEBUG Popen(['git', 'rev-list', '59fa3318070f802bd6cfd85622f5e0d78dee0588', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,189 [execute] INFO git fetch -v origin [2023-03-14T21:12:09.265Z] 2023-03-14 21:12:09,189 [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-14T21:12:09.834Z] 2023-03-14 21:12:09,716 [run_push] DEBUG no remote changes detected [2023-03-14T21:12:09.834Z] 2023-03-14 21:12:09,717 [execute] INFO git push origin semver [2023-03-14T21:12:09.834Z] 2023-03-14 21:12:09,717 [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-14T21:12:10.773Z] 2023-03-14 21:12:10,668 [run_push] DEBUG push all version tags [2023-03-14T21:12:10.773Z] 2023-03-14 21:12:10,669 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-14T21:12:10.773Z] 2023-03-14 21:12:10,669 [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-14T21:12:11.710Z] 2023-03-14 21:12:11,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-14T21:12:11.710Z] 3.0.0-dev.19 [Pipeline] } [2023-03-14T21:12:11.721Z] $ docker exec --env ******** --env ******** 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 ssh-agent -k [2023-03-14T21:12:11.821Z] unset SSH_AUTH_SOCK; [2023-03-14T21:12:11.821Z] unset SSH_AGENT_PID; [2023-03-14T21:12:11.822Z] echo Agent pid 39 killed; [2023-03-14T21:12:11.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:12:12.139Z] + git semver [Pipeline] } [2023-03-14T21:12:12.413Z] $ docker stop --time=1 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 [2023-03-14T21:12:13.745Z] $ docker rm -f --volumes 67efb7c636a7587a2ccb94c93c31b5b4d04c0f94aba708249f8c59fe5b521f55 [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-14T21:12:14.362Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-03-14T21:12:14.362Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-14T21:12:14.362Z] total 16 [2023-03-14T21:12:14.362Z] drwxr-xr-x 3 root root 4096 Mar 14 20:59 . [2023-03-14T21:12:14.362Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 21:11 .. [2023-03-14T21:12:14.362Z] drwxr-xr-x 2 root root 4096 Mar 14 20:59 cost [2023-03-14T21:12:14.362Z] -rw-r--r-- 1 root root 85 Mar 14 20:59 cost.csv [2023-03-14T21:12:14.362Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-14T21:12:14.362Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-14T21:12:14.362Z] total 16 [2023-03-14T21:12:14.362Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:59 . [2023-03-14T21:12:14.362Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 21:11 .. [2023-03-14T21:12:14.362Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:59 cost [2023-03-14T21:12:14.362Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 14 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:14.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:15.507Z] ---> package-listing.sh [2023-03-14T21:12:15.508Z] ++ facter osfamily [2023-03-14T21:12:15.508Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T21:12:15.766Z] + OS_FAMILY=debian [2023-03-14T21:12:15.766Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-03-14T21:12:15.766Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T21:12:15.766Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T21:12:15.766Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T21:12:15.766Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T21:12:15.766Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-14T21:12:15.766Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T21:12:15.766Z] + case "${OS_FAMILY}" in [2023-03-14T21:12:15.766Z] + dpkg -l [2023-03-14T21:12:15.766Z] + grep '^ii' [2023-03-14T21:12:15.766Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T21:12:15.766Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T21:12:15.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T21:12:15.766Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-14T21:12:15.766Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-03-14T21:12:15.766Z] + 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-14T21:12:15.776Z] 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-14T21:12:16.054Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:12:16.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:12:16.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:12:16.779Z] prd-ubuntu20.04-docker-8c-8g-261 does not seem to be running inside a container [2023-03-14T21:12:16.831Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T21:12:17.062Z] $ docker top 8e2fcf3627e2d22f6a28409b0b7dd3c975b126f1fd05714bea3a5b87ffe125c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:12:17.384Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T21:12:17.663Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T21:12:17.945Z] + ls /var/log/sa-host [2023-03-14T21:12:17.945Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:12:18.026Z] provisioning config files... [2023-03-14T21:12:18.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6392312295838587339tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:12:18.048Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:18.327Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T21:12:18.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:18.660Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T21:12:18.667Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:18.950Z] ---> sudo-logs.sh [2023-03-14T21:12:18.950Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T21:12:18.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:19.261Z] ---> job-cost.sh [2023-03-14T21:12:19.261Z] lf-activate-venv: SKIPPING [2023-03-14T21:12:19.261Z] DEBUG: total: 0.2199999988079071 [2023-03-14T21:12:19.261Z] INFO: Retrieving Stack Cost... [2023-03-14T21:12:19.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T21:12:20.085Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T21:12:20.095Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:12:20.375Z] ---> logs-deploy.sh [2023-03-14T21:12:20.375Z] lf-activate-venv: SKIPPING [2023-03-14T21:12:20.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/90 [2023-03-14T21:12:20.375Z] INFO: archiving workspace using pattern(s): [2023-03-14T21:12:21.310Z] Archives upload complete. [2023-03-14T21:12:21.310Z] INFO: archiving logs to Nexus [2023-03-14T21:12:21.877Z] ---> uname -a: [2023-03-14T21:12:21.877Z] Linux prd-ubuntu20-04-docker-8c-8g-261 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-14T21:12:21.877Z] [2023-03-14T21:12:21.877Z]