Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae54ce6f1033167052867af1427946ef32cb9188 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-ssh6942508577959265159.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-ssh6390685601674420823.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-ssh14844002540661449023.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-ssh9033558887519839057.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-ssh8083284591099295968.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-850’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-852 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 ae54ce6f1033167052867af1427946ef32cb9188 (main) Commit message: "ci: Change dependabot gomod schedule to daily (#267)" > 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 ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 > git rev-list --no-walk eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:10:43.041Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:10:43.133Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:10:43.147Z] ========================================================= [2023-03-15T16:10:43.147Z] EdgeX Global Pipelines Version Info [2023-03-15T16:10:43.147Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:10:43.848Z] ------------------- [2023-03-15T16:10:43.848Z] stable info: [2023-03-15T16:10:43.848Z] ------------------- [2023-03-15T16:10:43.848Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:10:43.848Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:10:43.848Z] Message: update stable to v1.0.245 [2023-03-15T16:10:44.417Z] ------------------- [2023-03-15T16:10:44.417Z] experimental info: [2023-03-15T16:10:44.417Z] ------------------- [2023-03-15T16:10:44.417Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:10:44.417Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:10:44.417Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:10:44.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-15T16:10:44.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-15T16:10:44.600Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:10:44.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:10:44.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:10:44.632Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:10:44.641Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:10:44.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:10:44.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:10:44.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:10:44.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:10:44.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-15T16:10:44.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:10:44.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:10:44.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:10:44.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:10:44.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:10:44.770Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:10:44.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:10:44.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:10:44.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:10:44.812Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:10:44.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:10:44.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:10:44.844Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:10:44.854Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:10:44.864Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:10:44.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T16:10:44.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T16:10:44.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T16:10:44.907Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo [2023-03-15T16:10:44.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae54ce6 [Pipeline] echo [2023-03-15T16:10:44.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:10:44.976Z] provisioning config files... [2023-03-15T16:10:44.989Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12340883564498881534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:10:45.289Z] ---> docker-login.sh [2023-03-15T16:10:45.289Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:10:45.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:45.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:45.547Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:45.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:45.547Z] [2023-03-15T16:10:45.547Z] Login Succeeded [2023-03-15T16:10:45.547Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:10:45.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:45.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:45.813Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:45.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:45.813Z] [2023-03-15T16:10:45.813Z] Login Succeeded [2023-03-15T16:10:45.813Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:10:45.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:45.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:45.813Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:45.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:45.813Z] [2023-03-15T16:10:45.813Z] Login Succeeded [2023-03-15T16:10:45.813Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:10:46.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:46.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:46.072Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:46.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:46.072Z] [2023-03-15T16:10:46.072Z] Login Succeeded [2023-03-15T16:10:46.072Z] docker.io [2023-03-15T16:10:46.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:46.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:46.333Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:46.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:46.333Z] [2023-03-15T16:10:46.333Z] Login Succeeded [2023-03-15T16:10:46.333Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:10:46.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:10:46.695Z] + git rev-list -1 --merges ae54ce6f1033167052867af1427946ef32cb9188~1..ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo [2023-03-15T16:10:46.743Z] -----------> git rev-list -1 --merges ae54ce6f1033167052867af1427946ef32cb9188~1..ae54ce6f1033167052867af1427946ef32cb9188 ae54ce6f1033167052867af1427946ef32cb9188 [false] [Pipeline] sh [2023-03-15T16:10:47.028Z] + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo [2023-03-15T16:10:47.044Z] ========================================================= [2023-03-15T16:10:47.044Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:10:47.044Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:10:47.374Z] + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] echo [2023-03-15T16:10:47.384Z] [semverPrep] GIT_COMMIT: ae54ce6f1033167052867af1427946ef32cb9188, Commit Message: ci: Change dependabot gomod schedule to daily (#267) [Pipeline] echo [2023-03-15T16:10:47.391Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:10:47.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:10:47.727Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:10:47.727Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:10:47.727Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:10:47.727Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:10:47.727Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:10:47.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:48.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:10:48.074Z] [2023-03-15T16:10:48.074Z] 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-15T16:10:48.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:10:48.371Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:10:48.371Z] b85a868b505f: Pulling fs layer [2023-03-15T16:10:48.371Z] e2be974225ed: Pulling fs layer [2023-03-15T16:10:48.371Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:10:48.371Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:10:48.371Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:10:48.371Z] eaf3925da568: Pulling fs layer [2023-03-15T16:10:48.371Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:10:48.371Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:10:48.371Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:10:48.371Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:10:48.371Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:10:48.371Z] bab4dde63d76: Waiting [2023-03-15T16:10:48.371Z] 4872d77fe225: Waiting [2023-03-15T16:10:48.371Z] 5851b861e8e6: Waiting [2023-03-15T16:10:48.371Z] b352a97aabf1: Waiting [2023-03-15T16:10:48.371Z] 1469e6f7b9e6: Waiting [2023-03-15T16:10:48.371Z] eaf3925da568: Waiting [2023-03-15T16:10:48.371Z] 988bab9f4d93: Waiting [2023-03-15T16:10:48.371Z] e2be974225ed: Download complete [2023-03-15T16:10:48.371Z] 988bab9f4d93: Download complete [2023-03-15T16:10:48.641Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:10:48.641Z] 1469e6f7b9e6: Download complete [2023-03-15T16:10:48.641Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:10:48.641Z] 339a4e72a1f5: Download complete [2023-03-15T16:10:48.641Z] eaf3925da568: Verifying Checksum [2023-03-15T16:10:48.641Z] eaf3925da568: Download complete [2023-03-15T16:10:48.641Z] bde34c3a00c8: Download complete [2023-03-15T16:10:48.641Z] b352a97aabf1: Download complete [2023-03-15T16:10:48.641Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:10:48.641Z] 4872d77fe225: Download complete [2023-03-15T16:10:48.642Z] 5851b861e8e6: Download complete [2023-03-15T16:10:48.642Z] b85a868b505f: Verifying Checksum [2023-03-15T16:10:48.902Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:10:48.902Z] bab4dde63d76: Download complete [2023-03-15T16:10:49.838Z] b85a868b505f: Pull complete [2023-03-15T16:10:50.095Z] e2be974225ed: Pull complete [2023-03-15T16:10:50.352Z] 339a4e72a1f5: Pull complete [2023-03-15T16:10:50.611Z] 988bab9f4d93: Pull complete [2023-03-15T16:10:50.870Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:10:50.870Z] eaf3925da568: Pull complete [2023-03-15T16:10:52.777Z] bab4dde63d76: Pull complete [2023-03-15T16:10:52.777Z] bde34c3a00c8: Pull complete [2023-03-15T16:10:52.777Z] b352a97aabf1: Pull complete [2023-03-15T16:10:52.777Z] 4872d77fe225: Pull complete [2023-03-15T16:10:52.777Z] 5851b861e8e6: Pull complete [2023-03-15T16:10:52.777Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:10:52.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:10:52.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:10:52.878Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:10:52.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:10:54.329Z] $ docker top 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa -eo pid,comm [2023-03-15T16:10:54.385Z] 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-15T16:10:54.385Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:10:54.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:10:54.412Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:10:54.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:10:54.510Z] $ docker exec 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent [2023-03-15T16:10:54.610Z] SSH_AUTH_SOCK=/tmp/ssh-ExL5EbhXy5Ps/agent.32 [2023-03-15T16:10:54.610Z] SSH_AGENT_PID=38 [2023-03-15T16:10:54.616Z] Running ssh-add (command line suppressed) [2023-03-15T16:10:54.712Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7501703099944161457.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7501703099944161457.key) [2023-03-15T16:10:54.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:10:55.016Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:10:55.025Z] $ docker exec --env ******** --env ******** 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent -k [2023-03-15T16:10:55.124Z] unset SSH_AUTH_SOCK; [2023-03-15T16:10:55.125Z] unset SSH_AGENT_PID; [2023-03-15T16:10:55.125Z] echo Agent pid 38 killed; [2023-03-15T16:10:55.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:10:55.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:10:55.159Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:10:55.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:10:55.285Z] $ docker exec 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent [2023-03-15T16:10:55.423Z] SSH_AUTH_SOCK=/tmp/ssh-TIEoD6roLWGu/agent.70 [2023-03-15T16:10:55.423Z] SSH_AGENT_PID=77 [2023-03-15T16:10:55.429Z] Running ssh-add (command line suppressed) [2023-03-15T16:10:55.532Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7812953577416621906.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7812953577416621906.key) [2023-03-15T16:10:55.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:10:55.840Z] + git semver init [2023-03-15T16:10:56.098Z] 2023-03-15 16:10:56,003 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:10:56.098Z] 2023-03-15 16:10:56,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-15T16:10:56.098Z] 2023-03-15 16:10:56,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-15T16:10:56.098Z] 2023-03-15 16:10:56,005 [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-15T16:10:57.033Z] 2023-03-15 16:10:57,005 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-03-15T16:10:57.033Z] 2023-03-15 16:10:57,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-03-15T16:10:57.033Z] 2023-03-15 16:10:57,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:10:57.033Z] 2023-03-15 16:10:57,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:10:57.033Z] 3.0.0-dev.19 [Pipeline] } [2023-03-15T16:10:57.040Z] $ docker exec --env ******** --env ******** 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa ssh-agent -k [2023-03-15T16:10:57.142Z] unset SSH_AUTH_SOCK; [2023-03-15T16:10:57.142Z] unset SSH_AGENT_PID; [2023-03-15T16:10:57.142Z] echo Agent pid 77 killed; [2023-03-15T16:10:57.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:10:57.456Z] + git semver [Pipeline] } [2023-03-15T16:10:57.739Z] $ docker stop --time=1 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa [2023-03-15T16:10:59.074Z] $ docker rm -f --volumes 6c3f4ccd763541c80188f12736df12c8a39ac898ece4c4f2f771374510a71ffa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:10:59.414Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:10:59.636Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:10:59.638Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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-15T16:10:59.773Z] provisioning config files... [2023-03-15T16:10:59.782Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11896604670893382728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:00.075Z] ---> docker-login.sh [2023-03-15T16:11:00.075Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:00.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:00.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:00.075Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:00.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:00.075Z] [2023-03-15T16:11:00.075Z] Login Succeeded [2023-03-15T16:11:00.075Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:00.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:00.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:00.075Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:00.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:00.075Z] [2023-03-15T16:11:00.075Z] Login Succeeded [2023-03-15T16:11:00.075Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:00.335Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:00.335Z] [2023-03-15T16:11:00.335Z] Login Succeeded [2023-03-15T16:11:00.335Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:00.335Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:00.335Z] [2023-03-15T16:11:00.335Z] Login Succeeded [2023-03-15T16:11:00.335Z] docker.io [2023-03-15T16:11:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:00.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:00.593Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:00.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:00.593Z] [2023-03-15T16:11:00.593Z] Login Succeeded [2023-03-15T16:11:00.593Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:00.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:11:00.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:00.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:00.676Z] ========================================================= [2023-03-15T16:11:00.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:11:00.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:00.988Z] + 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-15T16:11:00.988Z] Sending build context to Docker daemon 10.85MB [2023-03-15T16:11:00.988Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:11:00.988Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:11:00.988Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:11:00.988Z] 63b65145d645: Pulling fs layer [2023-03-15T16:11:00.988Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:11:00.988Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:11:00.988Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:11:00.988Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:11:00.988Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:11:00.988Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:11:00.988Z] f25807f1079a: Pulling fs layer [2023-03-15T16:11:00.988Z] 94cc34f8dd06: Waiting [2023-03-15T16:11:00.988Z] 30dea6a524f1: Waiting [2023-03-15T16:11:00.988Z] 6808be2612f2: Waiting [2023-03-15T16:11:00.988Z] f25807f1079a: Waiting [2023-03-15T16:11:00.988Z] a2aff8979fd8: Waiting [2023-03-15T16:11:00.988Z] a2d21d5440eb: Verifying Checksum [2023-03-15T16:11:00.988Z] a2d21d5440eb: Download complete [2023-03-15T16:11:01.251Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:11:01.251Z] 94cc34f8dd06: Download complete [2023-03-15T16:11:01.251Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:11:01.251Z] 30dea6a524f1: Download complete [2023-03-15T16:11:01.251Z] 63b65145d645: Verifying Checksum [2023-03-15T16:11:01.251Z] 63b65145d645: Download complete [2023-03-15T16:11:01.251Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:11:01.251Z] a2aff8979fd8: Download complete [2023-03-15T16:11:01.251Z] 63b65145d645: Pull complete [2023-03-15T16:11:01.525Z] a2d21d5440eb: Pull complete [2023-03-15T16:11:01.788Z] f25807f1079a: Verifying Checksum [2023-03-15T16:11:01.788Z] f25807f1079a: Download complete [2023-03-15T16:11:02.047Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:11:02.047Z] 935e6c44a52c: Download complete [2023-03-15T16:11:02.311Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:11:02.311Z] 6808be2612f2: Download complete [2023-03-15T16:11:05.599Z] 935e6c44a52c: Pull complete [2023-03-15T16:11:05.599Z] 94cc34f8dd06: Pull complete [2023-03-15T16:11:05.599Z] 30dea6a524f1: Pull complete [2023-03-15T16:11:05.599Z] a2aff8979fd8: Pull complete [2023-03-15T16:11:07.494Z] 6808be2612f2: Pull complete [2023-03-15T16:11:08.428Z] f25807f1079a: Pull complete [2023-03-15T16:11:08.428Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:11:08.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:11:08.428Z] ---> 3b553350e43f [2023-03-15T16:11:08.428Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:11:10.395Z] ---> Running in b2824765c217 [2023-03-15T16:11:10.395Z] Removing intermediate container b2824765c217 [2023-03-15T16:11:10.395Z] ---> ba3b63581e42 [2023-03-15T16:11:10.395Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:11:10.395Z] ---> Running in dae2632b3548 [2023-03-15T16:11:10.395Z] Removing intermediate container dae2632b3548 [2023-03-15T16:11:10.395Z] ---> 801b0e3b73d9 [2023-03-15T16:11:10.395Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:11:10.395Z] ---> Running in 775471a11e62 [2023-03-15T16:11:10.652Z] Removing intermediate container 775471a11e62 [2023-03-15T16:11:10.652Z] ---> c74d25ca56a6 [2023-03-15T16:11:10.652Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:11:10.652Z] ---> Running in f8084f57b9d4 [2023-03-15T16:11:10.652Z] Removing intermediate container f8084f57b9d4 [2023-03-15T16:11:10.652Z] ---> b8834926ada2 [2023-03-15T16:11:10.652Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:11:10.652Z] ---> Running in b6e75c7d24b2 [2023-03-15T16:11:10.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:11.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:11.441Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:11:11.441Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:11:11.441Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:11:11.441Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:11:11.441Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:11:11.441Z] OK: 269 MiB in 57 packages [2023-03-15T16:11:11.702Z] Removing intermediate container b6e75c7d24b2 [2023-03-15T16:11:11.703Z] ---> 6a555b65cd98 [2023-03-15T16:11:11.703Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:11:11.967Z] ---> Running in 2c18b39bf218 [2023-03-15T16:11:11.967Z] Removing intermediate container 2c18b39bf218 [2023-03-15T16:11:11.967Z] ---> 61690f3d9dfe [2023-03-15T16:11:11.967Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:11:11.967Z] ---> c32e6edaae69 [2023-03-15T16:11:11.967Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:11:12.227Z] ---> Running in d31114ddde58 [2023-03-15T16:11:14.744Z] Still waiting to schedule task [2023-03-15T16:11:14.744Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:38.780Z] Removing intermediate container d31114ddde58 [2023-03-15T16:11:38.780Z] ---> 4e9db2b5f9f2 [2023-03-15T16:11:38.780Z] Step 11/12 : COPY . . [2023-03-15T16:11:38.780Z] ---> 241802fbbb28 [2023-03-15T16:11:38.780Z] Step 12/12 : RUN $MAKE [2023-03-15T16:11:38.780Z] ---> Running in 910f67039f9f [2023-03-15T16:11:38.780Z] noop [2023-03-15T16:11:38.780Z] Removing intermediate container 910f67039f9f [2023-03-15T16:11:38.780Z] ---> b4a5ead7e48e [2023-03-15T16:11:38.780Z] Successfully built b4a5ead7e48e [2023-03-15T16:11:38.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:39.084Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:11:39.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:39.181Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:11:39.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:11:39.570Z] $ docker top d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:11:39.909Z] + go version [2023-03-15T16:11:39.910Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:11:39.926Z] $ docker stop --time=1 d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 [2023-03-15T16:11:41.216Z] $ docker rm -f --volumes d0d1b6068e1ab95a975cca423e0ab28dd27ca16fe1b1360d23a93e69db5e0379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:41.604Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:11:41.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:41.672Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:11:41.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:11:42.169Z] $ docker top 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:11:42.502Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:11:42.788Z] + make test [2023-03-15T16:11:42.788Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:11:48.050Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:11:58.007Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:11:58.007Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.1% of statements [2023-03-15T16:12:02.185Z] go vet ./... [2023-03-15T16:12:06.363Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:12:06.363Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:12:06.363Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:12:06.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:12:06.396Z] $ docker stop --time=1 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c [2023-03-15T16:12:08.547Z] $ docker rm -f --volumes 4d7121153617b31ddfbc35de58da602786692163439551761cb2ca2558488a6c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:12:08.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:12:09.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:12:09.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:12:09.872Z] + ls -al . [2023-03-15T16:12:09.872Z] total 184 [2023-03-15T16:12:09.872Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:11 . [2023-03-15T16:12:09.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 .. [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:10 .dockerignore [2023-03-15T16:12:09.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:10 .git [2023-03-15T16:12:09.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 .github [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:10 .gitignore [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:10 .golangci.yml [2023-03-15T16:12:09.872Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:10 .semver [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:10 Attribution.txt [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:10 CHANGELOG.md [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:10 Dockerfile [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:10 GOVERNANCE.md [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:10 Jenkinsfile [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:10 LICENSE [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:10 Makefile [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:10 OWNERS.md [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:10 README.md [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:10 VERSION [2023-03-15T16:12:09.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 bin [2023-03-15T16:12:09.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 cmd [2023-03-15T16:12:09.872Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:11 coverage.out [2023-03-15T16:12:09.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 driver [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:10 go.mod [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:10 go.sum [2023-03-15T16:12:09.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 snap [2023-03-15T16:12:09.872Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:10.248Z] + 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=ae54ce6f1033167052867af1427946ef32cb9188 --label arch=amd64 --label version=3.0.0-dev.19 . [2023-03-15T16:12:10.248Z] Sending build context to Docker daemon 10.87MB [2023-03-15T16:12:10.248Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:12:10.248Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:12:10.248Z] ---> b4a5ead7e48e [2023-03-15T16:12:10.248Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:12:10.248Z] ---> Running in 3eef0d7629f9 [2023-03-15T16:12:10.511Z] Removing intermediate container 3eef0d7629f9 [2023-03-15T16:12:10.511Z] ---> 44d78a4a2682 [2023-03-15T16:12:10.511Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:12:10.511Z] ---> Running in fbac60aea6c1 [2023-03-15T16:12:10.511Z] Removing intermediate container fbac60aea6c1 [2023-03-15T16:12:10.511Z] ---> dcbc55243e12 [2023-03-15T16:12:10.511Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:12:10.511Z] ---> Running in 01cb0f04fac2 [2023-03-15T16:12:10.805Z] Removing intermediate container 01cb0f04fac2 [2023-03-15T16:12:10.805Z] ---> f1f86866c709 [2023-03-15T16:12:10.805Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:12:10.805Z] ---> Running in 787791f75558 [2023-03-15T16:12:10.805Z] Removing intermediate container 787791f75558 [2023-03-15T16:12:10.805Z] ---> 5b07b090730b [2023-03-15T16:12:10.805Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:12:10.805Z] ---> Running in 6952fa365da7 [2023-03-15T16:12:11.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:11.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:11.348Z] OK: 269 MiB in 57 packages [2023-03-15T16:12:11.606Z] Removing intermediate container 6952fa365da7 [2023-03-15T16:12:11.606Z] ---> 40073bb30ef8 [2023-03-15T16:12:11.606Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:12:11.865Z] ---> Running in 6cf164bffee6 [2023-03-15T16:12:11.865Z] Removing intermediate container 6cf164bffee6 [2023-03-15T16:12:11.865Z] ---> fa82d0c1ba32 [2023-03-15T16:12:11.865Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:12:11.865Z] ---> eba12b5a5edb [2023-03-15T16:12:11.865Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:12:12.123Z] ---> Running in d25ce2e4ed89 [2023-03-15T16:12:12.691Z] Removing intermediate container d25ce2e4ed89 [2023-03-15T16:12:12.691Z] ---> ab53ae886625 [2023-03-15T16:12:12.691Z] Step 11/25 : COPY . . [2023-03-15T16:12:12.950Z] ---> 3ef1a4abb628 [2023-03-15T16:12:12.950Z] Step 12/25 : RUN $MAKE [2023-03-15T16:12:13.211Z] ---> Running in 3f4ab058255d [2023-03-15T16:12:13.469Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:12:31.542Z] Removing intermediate container 3f4ab058255d [2023-03-15T16:12:31.542Z] ---> 83d295616996 [2023-03-15T16:12:31.542Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:12:31.542Z] 3.17: Pulling from library/alpine [2023-03-15T16:12:31.542Z] 63b65145d645: Already exists [2023-03-15T16:12:31.542Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:12:31.542Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:12:31.542Z] ---> b2aa39c304c2 [2023-03-15T16:12:31.542Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:12:31.542Z] ---> Running in cd11ef9ec9ca [2023-03-15T16:12:31.542Z] Removing intermediate container cd11ef9ec9ca [2023-03-15T16:12:31.542Z] ---> 36b0118210d9 [2023-03-15T16:12:31.542Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:12:31.542Z] ---> Running in 6eb1368e4709 [2023-03-15T16:12:31.542Z] Removing intermediate container 6eb1368e4709 [2023-03-15T16:12:31.542Z] ---> 384444459800 [2023-03-15T16:12:31.542Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:12:31.542Z] ---> Running in d767d7f05700 [2023-03-15T16:12:31.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:31.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:31.542Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:12:31.542Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:12:31.542Z] OK: 7 MiB in 16 packages [2023-03-15T16:12:31.542Z] Removing intermediate container d767d7f05700 [2023-03-15T16:12:31.542Z] ---> 663ed303f2f1 [2023-03-15T16:12:31.542Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:12:32.111Z] ---> 5acbbf3c3b51 [2023-03-15T16:12:32.111Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:12:32.111Z] ---> 3ea267e087f8 [2023-03-15T16:12:32.111Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:12:32.383Z] ---> 01748cc8e5ad [2023-03-15T16:12:32.383Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:12:32.383Z] ---> Running in 62d024b81fe6 [2023-03-15T16:12:32.383Z] Removing intermediate container 62d024b81fe6 [2023-03-15T16:12:32.383Z] ---> 6658dfd72351 [2023-03-15T16:12:32.383Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:12:32.644Z] ---> Running in 7dd217ca4338 [2023-03-15T16:12:32.644Z] Removing intermediate container 7dd217ca4338 [2023-03-15T16:12:32.644Z] ---> 1ebd7e14d943 [2023-03-15T16:12:32.644Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:12:32.930Z] ---> Running in d5138f91e558 [2023-03-15T16:12:32.930Z] Removing intermediate container d5138f91e558 [2023-03-15T16:12:32.930Z] ---> 96550ffb46e2 [2023-03-15T16:12:32.930Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T16:12:33.189Z] ---> Running in f21f46b6e2aa [2023-03-15T16:12:33.189Z] Removing intermediate container f21f46b6e2aa [2023-03-15T16:12:33.189Z] ---> 1175d86f6033 [2023-03-15T16:12:33.189Z] Step 24/25 : LABEL git_sha=ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:12:33.189Z] ---> Running in 46893cefb385 [2023-03-15T16:12:33.448Z] Removing intermediate container 46893cefb385 [2023-03-15T16:12:33.448Z] ---> 10b5361e398e [2023-03-15T16:12:33.448Z] Step 25/25 : LABEL version=3.0.0-dev.19 [2023-03-15T16:12:33.448Z] ---> Running in 38cf28497487 [2023-03-15T16:12:33.448Z] Removing intermediate container 38cf28497487 [2023-03-15T16:12:33.448Z] ---> b2c5e2cd00be [2023-03-15T16:12:33.448Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:12:33.448Z] Successfully built b2c5e2cd00be [2023-03-15T16:12:33.448Z] 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-15T16:12:33.533Z] provisioning config files... [2023-03-15T16:12:33.541Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3100595374353056424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:12:33.827Z] ---> docker-login.sh [2023-03-15T16:12:33.827Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:12:33.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:33.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:33.827Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:33.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:33.827Z] [2023-03-15T16:12:33.827Z] Login Succeeded [2023-03-15T16:12:33.827Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:12:33.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:33.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:33.827Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:33.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:33.827Z] [2023-03-15T16:12:33.827Z] Login Succeeded [2023-03-15T16:12:33.827Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:12:34.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:34.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:34.084Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:34.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:34.084Z] [2023-03-15T16:12:34.084Z] Login Succeeded [2023-03-15T16:12:34.084Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:12:34.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:34.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:34.084Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:34.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:34.084Z] [2023-03-15T16:12:34.084Z] Login Succeeded [2023-03-15T16:12:34.084Z] docker.io [2023-03-15T16:12:34.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:34.342Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:34.342Z] [2023-03-15T16:12:34.342Z] Login Succeeded [2023-03-15T16:12:34.342Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:12:34.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:12:34.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:12:34.406Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-03-15T16:12:34.406Z] ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:12:34.406Z] latest [2023-03-15T16:12:34.406Z] 3.0.0-dev.19 [2023-03-15T16:12:34.406Z] ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:12:34.406Z] main [2023-03-15T16:12:34.406Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:34.722Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:35.024Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:12:35.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:12:35.024Z] 2ae7e562bd8e: Preparing [2023-03-15T16:12:35.024Z] 0c94fde75c28: Preparing [2023-03-15T16:12:35.024Z] 02eeaeecceb1: Preparing [2023-03-15T16:12:35.024Z] 7ec9b9f0562c: Preparing [2023-03-15T16:12:35.024Z] 7cd52847ad77: Preparing [2023-03-15T16:12:35.024Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:35.024Z] 7ec9b9f0562c: Pushed [2023-03-15T16:12:35.024Z] 0c94fde75c28: Pushed [2023-03-15T16:12:35.024Z] 2ae7e562bd8e: Pushed [2023-03-15T16:12:37.560Z] 02eeaeecceb1: Pushed [2023-03-15T16:12:37.560Z] ae54ce6f1033167052867af1427946ef32cb9188: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:37.862Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:38.169Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-15T16:12:38.169Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:12:38.169Z] 2ae7e562bd8e: Preparing [2023-03-15T16:12:38.169Z] 0c94fde75c28: Preparing [2023-03-15T16:12:38.169Z] 02eeaeecceb1: Preparing [2023-03-15T16:12:38.169Z] 7ec9b9f0562c: Preparing [2023-03-15T16:12:38.169Z] 7cd52847ad77: Preparing [2023-03-15T16:12:38.169Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:38.169Z] 02eeaeecceb1: Layer already exists [2023-03-15T16:12:38.169Z] 0c94fde75c28: Layer already exists [2023-03-15T16:12:38.169Z] 2ae7e562bd8e: Layer already exists [2023-03-15T16:12:38.169Z] 7ec9b9f0562c: Layer already exists [2023-03-15T16:12:38.169Z] latest: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:38.480Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:38.785Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 [2023-03-15T16:12:38.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:12:38.785Z] 2ae7e562bd8e: Preparing [2023-03-15T16:12:38.785Z] 0c94fde75c28: Preparing [2023-03-15T16:12:38.785Z] 02eeaeecceb1: Preparing [2023-03-15T16:12:38.785Z] 7ec9b9f0562c: Preparing [2023-03-15T16:12:38.785Z] 7cd52847ad77: Preparing [2023-03-15T16:12:38.785Z] 2ae7e562bd8e: Layer already exists [2023-03-15T16:12:38.785Z] 02eeaeecceb1: Layer already exists [2023-03-15T16:12:38.785Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:38.785Z] 7ec9b9f0562c: Layer already exists [2023-03-15T16:12:38.785Z] 0c94fde75c28: Layer already exists [2023-03-15T16:12:38.785Z] 3.0.0-dev.19: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:39.095Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:39.400Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:12:39.400Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:12:39.400Z] 2ae7e562bd8e: Preparing [2023-03-15T16:12:39.400Z] 0c94fde75c28: Preparing [2023-03-15T16:12:39.400Z] 02eeaeecceb1: Preparing [2023-03-15T16:12:39.400Z] 7ec9b9f0562c: Preparing [2023-03-15T16:12:39.400Z] 7cd52847ad77: Preparing [2023-03-15T16:12:39.400Z] 2ae7e562bd8e: Layer already exists [2023-03-15T16:12:39.400Z] 02eeaeecceb1: Layer already exists [2023-03-15T16:12:39.400Z] 7ec9b9f0562c: Layer already exists [2023-03-15T16:12:39.400Z] 0c94fde75c28: Layer already exists [2023-03-15T16:12:39.400Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:39.400Z] ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:39.708Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:40.015Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-03-15T16:12:40.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:12:40.015Z] 2ae7e562bd8e: Preparing [2023-03-15T16:12:40.015Z] 0c94fde75c28: Preparing [2023-03-15T16:12:40.015Z] 02eeaeecceb1: Preparing [2023-03-15T16:12:40.015Z] 7ec9b9f0562c: Preparing [2023-03-15T16:12:40.015Z] 7cd52847ad77: Preparing [2023-03-15T16:12:40.015Z] 0c94fde75c28: Layer already exists [2023-03-15T16:12:40.015Z] 7ec9b9f0562c: Layer already exists [2023-03-15T16:12:40.015Z] 2ae7e562bd8e: Layer already exists [2023-03-15T16:12:40.015Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:40.015Z] 02eeaeecceb1: Layer already exists [2023-03-15T16:12:40.015Z] main: digest: sha256:75a20967ae32cef9eac58a1430c600fdd352c7a5a72c5bf441c8d2596c982411 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:12:40.059Z] ===================================================== [Pipeline] echo [2023-03-15T16:12:40.067Z] taggedImages: [2023-03-15T16:12:40.067Z] - nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:12:40.067Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-15T16:12:40.067Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.19 [2023-03-15T16:12:40.067Z] - nexus3.edgexfoundry.org:10004/device-rest:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:12:40.067Z] - 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-15T16:12:40.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:40.426Z] [2023-03-15T16:12:40.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:40.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:40.729Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:12:40.729Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:12:40.729Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:12:40.729Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:12:40.729Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:12:40.729Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:12:40.729Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:12:40.729Z] 33b1e0a273af: Waiting [2023-03-15T16:12:40.729Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:12:40.729Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:12:40.729Z] 5d3b04190fa2: Waiting [2023-03-15T16:12:40.729Z] 2f39f015ded8: Waiting [2023-03-15T16:12:40.729Z] 5c69ac0246d0: Download complete [2023-03-15T16:12:40.729Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:12:40.988Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:12:40.988Z] 33b1e0a273af: Download complete [2023-03-15T16:12:40.988Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T16:12:40.988Z] 5d3b04190fa2: Download complete [2023-03-15T16:12:40.988Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:12:40.988Z] ec43610c2a17: Download complete [2023-03-15T16:12:40.988Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:12:40.988Z] 5eb5b503b376: Download complete [2023-03-15T16:12:41.555Z] 2f39f015ded8: Download complete [2023-03-15T16:12:42.122Z] 5eb5b503b376: Pull complete [2023-03-15T16:12:42.122Z] 5c69ac0246d0: Pull complete [2023-03-15T16:12:42.687Z] ec43610c2a17: Pull complete [2023-03-15T16:12:42.687Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:12:42.945Z] 33b1e0a273af: Pull complete [2023-03-15T16:12:42.945Z] 5d3b04190fa2: Pull complete [2023-03-15T16:12:47.128Z] 2f39f015ded8: Pull complete [2023-03-15T16:12:47.128Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:12:47.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:47.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:47.199Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:12:47.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:12:49.162Z] $ docker top d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:12:49.518Z] ---> job-cost.sh [2023-03-15T16:12:49.518Z] lf-activate-venv: SKIPPING [2023-03-15T16:12:49.518Z] INFO: No Stack... [2023-03-15T16:12:49.776Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:12:50.035Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:12:50.320Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-03-15T16:12:50.320Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:12:50.331Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [2023-03-15T16:12:50.335Z] Resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] did not exist. Created. [2023-03-15T16:12:50.335Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:12:50.631Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:12:50.658Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:12:50.663Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:12:50.692Z] $ docker stop --time=1 d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 [2023-03-15T16:12:51.847Z] $ docker rm -f --volumes d0665ab6624ef0a8c22b65f1c6ef49b249583ec01b98a213f048dcbbf728d3c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:13:50.590Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-864 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-03-15T16:13:50.604Z] Running in /w/workspace/device-rest-go/91 [Pipeline] { [Pipeline] checkout [2023-03-15T16:13:50.645Z] The recommended git tool is: git [2023-03-15T16:14:02.090Z] using credential edgex-jenkins-ssh [2023-03-15T16:14:02.119Z] Cloning the remote Git repository [2023-03-15T16:14:02.263Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:14:02.480Z] > git init /w/workspace/device-rest-go/91 # timeout=10 [2023-03-15T16:14:02.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:14:02.825Z] > git --version # timeout=10 [2023-03-15T16:14:02.880Z] > git --version # 'git version 2.25.1' [2023-03-15T16:14:02.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:14:03.139Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:14:05.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T16:14:05.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:14:07.130Z] Avoid second fetch [2023-03-15T16:14:07.131Z] Checking out Revision ae54ce6f1033167052867af1427946ef32cb9188 (main) [2023-03-15T16:14:07.156Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:14:07.254Z] > git checkout -f ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 [2023-03-15T16:14:08.092Z] Commit message: "ci: Change dependabot gomod schedule to daily (#267)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:14:09.078Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:14:09.078Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:14:09.078Z] Dload Upload Total Spent Left Speed [2023-03-15T16:14:09.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-03-15T16:14:09.855Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:14:10.236Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:14:10.236Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:14:10.236Z] { [2023-03-15T16:14:10.236Z] "registry-mirrors": [ [2023-03-15T16:14:10.236Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:14:10.236Z] ], [2023-03-15T16:14:10.236Z] "bip": "10.250.0.254/24", [2023-03-15T16:14:10.236Z] "hosts": [ [2023-03-15T16:14:10.236Z] "tcp://0.0.0.0:5555", [2023-03-15T16:14:10.236Z] "unix:///var/run/docker.sock" [2023-03-15T16:14:10.236Z] ], [2023-03-15T16:14:10.236Z] "mtu": 1458, [2023-03-15T16:14:10.236Z] "selinux-enabled": true, [2023-03-15T16:14:10.236Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:14:10.236Z] } [Pipeline] sh [2023-03-15T16:14:10.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:14:11.093Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:14:29.459Z] provisioning config files... [2023-03-15T16:14:29.494Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/91@tmp/config6617368864654404657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:14:29.866Z] ---> docker-login.sh [2023-03-15T16:14:29.866Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:14:30.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:14:30.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:14:30.461Z] Configure a credential helper to remove this warning. See [2023-03-15T16:14:30.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:14:30.461Z] [2023-03-15T16:14:30.461Z] Login Succeeded [2023-03-15T16:14:30.461Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:14:30.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:14:31.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:14:31.007Z] Configure a credential helper to remove this warning. See [2023-03-15T16:14:31.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:14:31.007Z] [2023-03-15T16:14:31.007Z] Login Succeeded [2023-03-15T16:14:31.007Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:14:31.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:14:31.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:14:31.284Z] Configure a credential helper to remove this warning. See [2023-03-15T16:14:31.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:14:31.284Z] [2023-03-15T16:14:31.284Z] Login Succeeded [2023-03-15T16:14:31.284Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:14:31.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:14:31.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:14:31.886Z] Configure a credential helper to remove this warning. See [2023-03-15T16:14:31.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:14:31.886Z] [2023-03-15T16:14:31.886Z] Login Succeeded [2023-03-15T16:14:31.886Z] docker.io [2023-03-15T16:14:32.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:14:32.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:14:32.430Z] Configure a credential helper to remove this warning. See [2023-03-15T16:14:32.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:14:32.430Z] [2023-03-15T16:14:32.430Z] Login Succeeded [2023-03-15T16:14:32.430Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:14:32.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:14:32.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:14:32.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:14:32.775Z] ========================================================= [2023-03-15T16:14:32.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:14:32.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:14:33.132Z] + 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-15T16:14:33.132Z] Sending build context to Docker daemon 139.3kB [2023-03-15T16:14:33.405Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:14:33.405Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:14:33.681Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:14:33.681Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:14:33.681Z] 55522c791124: Pulling fs layer [2023-03-15T16:14:33.681Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:14:33.681Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:14:33.681Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:14:33.681Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:14:33.681Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:14:33.681Z] 169dfbe0d373: Waiting [2023-03-15T16:14:33.681Z] e1ff8fa3b103: Waiting [2023-03-15T16:14:33.681Z] 52ebb69f0ebf: Waiting [2023-03-15T16:14:33.681Z] 5abe8eddf0d5: Waiting [2023-03-15T16:14:33.681Z] 55522c791124: Download complete [2023-03-15T16:14:33.681Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:14:33.681Z] 169dfbe0d373: Download complete [2023-03-15T16:14:33.682Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:14:33.682Z] e1ff8fa3b103: Download complete [2023-03-15T16:14:33.682Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:14:33.682Z] af6eaf76a39c: Download complete [2023-03-15T16:14:35.113Z] af6eaf76a39c: Pull complete [2023-03-15T16:14:35.113Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:14:35.113Z] 5abe8eddf0d5: Download complete [2023-03-15T16:14:35.388Z] 55522c791124: Pull complete [2023-03-15T16:14:36.829Z] ce5c4a1c91eb: Download complete [2023-03-15T16:14:36.829Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:14:36.829Z] 52ebb69f0ebf: Download complete [2023-03-15T16:14:49.202Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:14:49.202Z] 169dfbe0d373: Pull complete [2023-03-15T16:14:49.202Z] e1ff8fa3b103: Pull complete [2023-03-15T16:14:55.911Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:14:57.341Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:14:57.341Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:14:57.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:14:57.341Z] ---> 6cb57ee374ae [2023-03-15T16:14:57.341Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:14:59.322Z] ---> Running in 1d4812e073c2 [2023-03-15T16:14:59.595Z] Removing intermediate container 1d4812e073c2 [2023-03-15T16:14:59.595Z] ---> 29c3b6a1c86d [2023-03-15T16:14:59.595Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:14:59.868Z] ---> Running in cce57f6dc4ea [2023-03-15T16:15:00.222Z] Removing intermediate container cce57f6dc4ea [2023-03-15T16:15:00.222Z] ---> 4b5957d965f9 [2023-03-15T16:15:00.222Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:15:00.222Z] ---> Running in a3719e41c10b [2023-03-15T16:15:00.515Z] Removing intermediate container a3719e41c10b [2023-03-15T16:15:00.515Z] ---> 0e8bd3b678b6 [2023-03-15T16:15:00.515Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:15:00.800Z] ---> Running in d334fd063729 [2023-03-15T16:15:01.096Z] Removing intermediate container d334fd063729 [2023-03-15T16:15:01.096Z] ---> c04a9b25a09c [2023-03-15T16:15:01.096Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:15:01.096Z] ---> Running in 29429fd6e693 [2023-03-15T16:15:02.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:15:03.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:15:04.555Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:15:04.555Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:15:04.555Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:15:04.555Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:15:04.555Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:15:04.555Z] OK: 268 MiB in 57 packages [2023-03-15T16:15:06.001Z] Removing intermediate container 29429fd6e693 [2023-03-15T16:15:06.001Z] ---> 9b2f453ad9e2 [2023-03-15T16:15:06.001Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:15:06.001Z] ---> Running in cb0f21581c48 [2023-03-15T16:15:06.273Z] Removing intermediate container cb0f21581c48 [2023-03-15T16:15:06.273Z] ---> 46a5704cc71e [2023-03-15T16:15:06.273Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:15:06.863Z] ---> 3ce7b0d47116 [2023-03-15T16:15:06.863Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:15:07.135Z] ---> Running in 465e03976e70 [2023-03-15T16:16:28.868Z] Removing intermediate container 465e03976e70 [2023-03-15T16:16:28.868Z] ---> 4fbf788fe249 [2023-03-15T16:16:28.868Z] Step 11/12 : COPY . . [2023-03-15T16:16:28.868Z] ---> 6f0c357638a8 [2023-03-15T16:16:28.868Z] Step 12/12 : RUN $MAKE [2023-03-15T16:16:28.868Z] ---> Running in 600d74c62703 [2023-03-15T16:16:28.868Z] noop [2023-03-15T16:16:28.868Z] Removing intermediate container 600d74c62703 [2023-03-15T16:16:28.868Z] ---> aaa27a0a18b9 [2023-03-15T16:16:28.868Z] Successfully built aaa27a0a18b9 [2023-03-15T16:16:28.868Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:16:29.235Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:16:29.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:16:29.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-03-15T16:16:29.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@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-15T16:16:31.216Z] $ docker top ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:16:32.116Z] + go version [2023-03-15T16:16:32.116Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:16:32.148Z] $ docker stop --time=1 ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 [2023-03-15T16:16:33.868Z] $ docker rm -f --volumes ec101261d438979ec8f5a8a510acd6c329c3875201b61b6a6d9047499d6577b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:16:34.464Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:16:34.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:16:34.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-03-15T16:16:34.772Z] $ 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/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@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-15T16:16:36.154Z] $ docker top 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:16:37.047Z] + git config --global --add safe.directory /w/workspace/device-rest-go/91 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:16:37.723Z] + make test [2023-03-15T16:16:37.723Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:17:21.546Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:19:43.432Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:19:43.432Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.1% of statements [2023-03-15T16:19:43.432Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:19:43.432Z] go vet ./... [2023-03-15T16:20:10.193Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:20:10.193Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:20:10.193Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:20:10.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:20:10.234Z] $ docker stop --time=1 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 [2023-03-15T16:20:12.265Z] $ docker rm -f --volumes 3e042ca1498b4f74e946deeb3d53351d93af14e2b705a39ff6fca02243f0ce67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:20:13.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:20:13.688Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:20:14.360Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:20:14.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:20:15.100Z] + ls -al . [2023-03-15T16:20:15.100Z] total 180 [2023-03-15T16:20:15.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:16 . [2023-03-15T16:20:15.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:14 .. [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:14 .dockerignore [2023-03-15T16:20:15.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:14 .git [2023-03-15T16:20:15.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:14 .github [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:14 .gitignore [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:14 .golangci.yml [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:14 Attribution.txt [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:14 CHANGELOG.md [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:14 Dockerfile [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:14 GOVERNANCE.md [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:14 Jenkinsfile [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:14 LICENSE [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:14 Makefile [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:14 OWNERS.md [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:14 README.md [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:10 VERSION [2023-03-15T16:20:15.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:14 bin [2023-03-15T16:20:15.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:14 cmd [2023-03-15T16:20:15.100Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:19 coverage.out [2023-03-15T16:20:15.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:14 driver [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:14 go.mod [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:14 go.sum [2023-03-15T16:20:15.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:14 snap [2023-03-15T16:20:15.100Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:15.465Z] + 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=ae54ce6f1033167052867af1427946ef32cb9188 --label arch=arm64 --label version=3.0.0-dev.19 . [2023-03-15T16:20:15.465Z] Sending build context to Docker daemon 154.1kB [2023-03-15T16:20:15.737Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:20:15.737Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:20:15.737Z] ---> aaa27a0a18b9 [2023-03-15T16:20:15.737Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:20:16.007Z] ---> Running in 72a505760ffc [2023-03-15T16:20:16.279Z] Removing intermediate container 72a505760ffc [2023-03-15T16:20:16.279Z] ---> 05c7580dcf2d [2023-03-15T16:20:16.279Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:20:16.554Z] ---> Running in 333f052441f0 [2023-03-15T16:20:16.826Z] Removing intermediate container 333f052441f0 [2023-03-15T16:20:16.826Z] ---> e41b546eb5df [2023-03-15T16:20:16.826Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:20:16.826Z] ---> Running in e3747a7ef0c3 [2023-03-15T16:20:17.433Z] Removing intermediate container e3747a7ef0c3 [2023-03-15T16:20:17.433Z] ---> 49bf9dfe7847 [2023-03-15T16:20:17.433Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:20:17.433Z] ---> Running in cbc10e26a0b3 [2023-03-15T16:20:17.708Z] Removing intermediate container cbc10e26a0b3 [2023-03-15T16:20:17.708Z] ---> 4251b3f8effd [2023-03-15T16:20:17.708Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:20:17.978Z] ---> Running in b563d0340a23 [2023-03-15T16:20:18.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:20:19.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:20:21.337Z] OK: 268 MiB in 57 packages [2023-03-15T16:20:22.303Z] Removing intermediate container b563d0340a23 [2023-03-15T16:20:22.303Z] ---> dcff39d3104a [2023-03-15T16:20:22.303Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:20:22.303Z] ---> Running in de46e9fcb561 [2023-03-15T16:20:22.571Z] Removing intermediate container de46e9fcb561 [2023-03-15T16:20:22.571Z] ---> ecbaeff0cc8e [2023-03-15T16:20:22.571Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:20:23.170Z] ---> 238bdca086a6 [2023-03-15T16:20:23.170Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:20:23.442Z] ---> Running in 255a4fa557a5 [2023-03-15T16:20:26.899Z] Removing intermediate container 255a4fa557a5 [2023-03-15T16:20:26.899Z] ---> 90cbbbd6f963 [2023-03-15T16:20:26.899Z] Step 11/25 : COPY . . [2023-03-15T16:20:27.173Z] ---> 5727657f3c84 [2023-03-15T16:20:27.173Z] Step 12/25 : RUN $MAKE [2023-03-15T16:20:27.173Z] ---> Running in 24d2c4ad2248 [2023-03-15T16:20:28.597Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:23:20.439Z] Removing intermediate container 24d2c4ad2248 [2023-03-15T16:23:20.439Z] ---> 05eec92adf41 [2023-03-15T16:23:20.439Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:23:20.439Z] 3.17: Pulling from library/alpine [2023-03-15T16:23:20.439Z] af6eaf76a39c: Already exists [2023-03-15T16:23:20.439Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:23:20.439Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:23:20.439Z] ---> d74e625d9115 [2023-03-15T16:23:20.439Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:23:20.439Z] ---> Running in e7523cf92b47 [2023-03-15T16:23:20.439Z] Removing intermediate container e7523cf92b47 [2023-03-15T16:23:20.439Z] ---> 4b32d88c0e31 [2023-03-15T16:23:20.439Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:23:20.439Z] ---> Running in e7a4500915fe [2023-03-15T16:23:20.439Z] Removing intermediate container e7a4500915fe [2023-03-15T16:23:20.439Z] ---> 45fec20daef6 [2023-03-15T16:23:20.439Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:23:20.439Z] ---> Running in 51a961320130 [2023-03-15T16:23:20.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:23:20.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:23:21.877Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:23:21.877Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:23:21.877Z] OK: 8 MiB in 16 packages [2023-03-15T16:23:22.849Z] Removing intermediate container 51a961320130 [2023-03-15T16:23:22.849Z] ---> e63dd2de75a4 [2023-03-15T16:23:22.849Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:23:24.275Z] ---> a5773d916207 [2023-03-15T16:23:24.275Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:23:25.263Z] ---> ecbd7c4d7d7c [2023-03-15T16:23:25.263Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:23:25.859Z] ---> 4593c5c38dfd [2023-03-15T16:23:25.859Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:23:25.859Z] ---> Running in 3e8b7cffc7a7 [2023-03-15T16:23:26.131Z] Removing intermediate container 3e8b7cffc7a7 [2023-03-15T16:23:26.131Z] ---> 3f4dd31a36bb [2023-03-15T16:23:26.131Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:23:26.131Z] ---> Running in b94c7c54538f [2023-03-15T16:23:26.723Z] Removing intermediate container b94c7c54538f [2023-03-15T16:23:26.723Z] ---> e283dd2f51a2 [2023-03-15T16:23:26.723Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:23:26.723Z] ---> Running in 562b6770214f [2023-03-15T16:23:27.004Z] Removing intermediate container 562b6770214f [2023-03-15T16:23:27.004Z] ---> 09daf838c240 [2023-03-15T16:23:27.004Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:23:27.274Z] ---> Running in 5e288892a708 [2023-03-15T16:23:27.544Z] Removing intermediate container 5e288892a708 [2023-03-15T16:23:27.544Z] ---> 841831304c14 [2023-03-15T16:23:27.544Z] Step 24/25 : LABEL git_sha=ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:23:27.814Z] ---> Running in fe33c2a64de7 [2023-03-15T16:23:28.087Z] Removing intermediate container fe33c2a64de7 [2023-03-15T16:23:28.087Z] ---> 0cb290d5b5fe [2023-03-15T16:23:28.087Z] Step 25/25 : LABEL version=3.0.0-dev.19 [2023-03-15T16:23:28.087Z] ---> Running in 4f563e300249 [2023-03-15T16:23:28.678Z] Removing intermediate container 4f563e300249 [2023-03-15T16:23:28.678Z] ---> b29fe91e8fa4 [2023-03-15T16:23:28.678Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:23:28.678Z] Successfully built b29fe91e8fa4 [2023-03-15T16:23:28.678Z] 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-15T16:23:28.800Z] provisioning config files... [2023-03-15T16:23:28.820Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/91@tmp/config17726227815205308786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:29.176Z] ---> docker-login.sh [2023-03-15T16:23:29.176Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:23:29.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:29.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:29.716Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:29.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:29.716Z] [2023-03-15T16:23:29.716Z] Login Succeeded [2023-03-15T16:23:29.716Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:23:29.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:29.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:29.989Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:29.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:29.989Z] [2023-03-15T16:23:29.989Z] Login Succeeded [2023-03-15T16:23:29.989Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:23:30.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:30.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:30.581Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:30.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:30.581Z] [2023-03-15T16:23:30.581Z] Login Succeeded [2023-03-15T16:23:30.581Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:23:30.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:31.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:31.215Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:31.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:31.215Z] [2023-03-15T16:23:31.215Z] Login Succeeded [2023-03-15T16:23:31.215Z] docker.io [2023-03-15T16:23:31.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:31.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:31.501Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:31.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:31.501Z] [2023-03-15T16:23:31.501Z] Login Succeeded [2023-03-15T16:23:31.501Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:23:31.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:23:31.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:23:31.632Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-03-15T16:23:31.632Z] ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:23:31.632Z] latest [2023-03-15T16:23:31.632Z] 3.0.0-dev.19 [2023-03-15T16:23:31.632Z] ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:23:31.632Z] main [2023-03-15T16:23:31.632Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:32.004Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:32.420Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:23:32.420Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:23:32.420Z] 6b90b20a6ec7: Preparing [2023-03-15T16:23:32.420Z] 6c2b4747a6a5: Preparing [2023-03-15T16:23:32.420Z] 0f3b49307500: Preparing [2023-03-15T16:23:32.420Z] d884ab793250: Preparing [2023-03-15T16:23:32.420Z] edf70074bd40: Preparing [2023-03-15T16:23:32.420Z] edf70074bd40: Layer already exists [2023-03-15T16:23:32.708Z] 6c2b4747a6a5: Pushed [2023-03-15T16:23:32.708Z] 6b90b20a6ec7: Pushed [2023-03-15T16:23:32.708Z] d884ab793250: Pushed [2023-03-15T16:23:38.112Z] 0f3b49307500: Pushed [2023-03-15T16:23:39.077Z] ae54ce6f1033167052867af1427946ef32cb9188: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:39.441Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:39.808Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-15T16:23:39.808Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:23:39.808Z] 6b90b20a6ec7: Preparing [2023-03-15T16:23:39.808Z] 6c2b4747a6a5: Preparing [2023-03-15T16:23:39.808Z] 0f3b49307500: Preparing [2023-03-15T16:23:39.808Z] d884ab793250: Preparing [2023-03-15T16:23:39.808Z] edf70074bd40: Preparing [2023-03-15T16:23:39.808Z] 6c2b4747a6a5: Layer already exists [2023-03-15T16:23:39.808Z] d884ab793250: Layer already exists [2023-03-15T16:23:39.808Z] 6b90b20a6ec7: Layer already exists [2023-03-15T16:23:39.808Z] 0f3b49307500: Layer already exists [2023-03-15T16:23:39.808Z] edf70074bd40: Layer already exists [2023-03-15T16:23:40.077Z] latest: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:40.438Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:40.797Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 [2023-03-15T16:23:40.797Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:23:40.797Z] 6b90b20a6ec7: Preparing [2023-03-15T16:23:40.797Z] 6c2b4747a6a5: Preparing [2023-03-15T16:23:40.797Z] 0f3b49307500: Preparing [2023-03-15T16:23:40.797Z] d884ab793250: Preparing [2023-03-15T16:23:40.797Z] edf70074bd40: Preparing [2023-03-15T16:23:40.797Z] 6b90b20a6ec7: Layer already exists [2023-03-15T16:23:40.797Z] edf70074bd40: Layer already exists [2023-03-15T16:23:40.797Z] 0f3b49307500: Layer already exists [2023-03-15T16:23:40.797Z] d884ab793250: Layer already exists [2023-03-15T16:23:40.797Z] 6c2b4747a6a5: Layer already exists [2023-03-15T16:23:41.067Z] 3.0.0-dev.19: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:41.427Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:41.785Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:23:41.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:23:41.785Z] 6b90b20a6ec7: Preparing [2023-03-15T16:23:41.785Z] 6c2b4747a6a5: Preparing [2023-03-15T16:23:41.785Z] 0f3b49307500: Preparing [2023-03-15T16:23:41.785Z] d884ab793250: Preparing [2023-03-15T16:23:41.785Z] edf70074bd40: Preparing [2023-03-15T16:23:41.785Z] 6c2b4747a6a5: Layer already exists [2023-03-15T16:23:41.785Z] d884ab793250: Layer already exists [2023-03-15T16:23:41.785Z] 6b90b20a6ec7: Layer already exists [2023-03-15T16:23:41.785Z] edf70074bd40: Layer already exists [2023-03-15T16:23:41.785Z] 0f3b49307500: Layer already exists [2023-03-15T16:23:42.056Z] ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:42.429Z] + 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-15T16:23:42.789Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-03-15T16:23:42.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:23:42.789Z] 6b90b20a6ec7: Preparing [2023-03-15T16:23:42.789Z] 6c2b4747a6a5: Preparing [2023-03-15T16:23:42.789Z] 0f3b49307500: Preparing [2023-03-15T16:23:42.789Z] d884ab793250: Preparing [2023-03-15T16:23:42.789Z] edf70074bd40: Preparing [2023-03-15T16:23:42.789Z] 6c2b4747a6a5: Layer already exists [2023-03-15T16:23:42.789Z] 0f3b49307500: Layer already exists [2023-03-15T16:23:42.789Z] d884ab793250: Layer already exists [2023-03-15T16:23:42.789Z] edf70074bd40: Layer already exists [2023-03-15T16:23:42.789Z] 6b90b20a6ec7: Layer already exists [2023-03-15T16:23:43.060Z] main: digest: sha256:57d60b521053a5bae09bd63646a309f8da50ae9accbb39c435bd0ca58ea8d077 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:23:43.111Z] ===================================================== [Pipeline] echo [2023-03-15T16:23:43.119Z] taggedImages: [2023-03-15T16:23:43.119Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188 [2023-03-15T16:23:43.119Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-15T16:23:43.119Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.19 [2023-03-15T16:23:43.119Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ae54ce6f1033167052867af1427946ef32cb9188-3.0.0-dev.19 [2023-03-15T16:23:43.119Z] - 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-15T16:23:43.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:23:43.498Z] [2023-03-15T16:23:43.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:43.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:23:44.122Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:23:44.122Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:23:44.122Z] 04944245beec: Pulling fs layer [2023-03-15T16:23:44.122Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:23:44.122Z] 765212b225bb: Pulling fs layer [2023-03-15T16:23:44.122Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:23:44.122Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:23:44.122Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:23:44.122Z] 765212b225bb: Waiting [2023-03-15T16:23:44.122Z] f23df028b6ca: Waiting [2023-03-15T16:23:44.122Z] d65c8cfc05b1: Waiting [2023-03-15T16:23:44.122Z] 2437ff75d9bd: Waiting [2023-03-15T16:23:44.122Z] 04944245beec: Verifying Checksum [2023-03-15T16:23:44.122Z] 04944245beec: Download complete [2023-03-15T16:23:44.122Z] 765212b225bb: Verifying Checksum [2023-03-15T16:23:44.122Z] 765212b225bb: Download complete [2023-03-15T16:23:44.122Z] f23df028b6ca: Download complete [2023-03-15T16:23:44.122Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:23:44.122Z] d65c8cfc05b1: Download complete [2023-03-15T16:23:44.394Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:23:44.394Z] 699f458cf7ca: Download complete [2023-03-15T16:23:44.667Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:23:44.667Z] 8998bd30e6a1: Download complete [2023-03-15T16:23:47.267Z] 2437ff75d9bd: Download complete [2023-03-15T16:23:49.224Z] 8998bd30e6a1: Pull complete [2023-03-15T16:23:49.814Z] 04944245beec: Pull complete [2023-03-15T16:23:51.235Z] 699f458cf7ca: Pull complete [2023-03-15T16:23:51.505Z] 765212b225bb: Pull complete [2023-03-15T16:23:52.478Z] f23df028b6ca: Pull complete [2023-03-15T16:23:52.478Z] d65c8cfc05b1: Pull complete [2023-03-15T16:24:07.526Z] 2437ff75d9bd: Pull complete [2023-03-15T16:24:07.526Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:24:07.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:24:07.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:07.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-03-15T16:24:07.832Z] $ 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/91 -v /w/workspace/device-rest-go/91:/w/workspace/device-rest-go/91:rw,z -v /w/workspace/device-rest-go/91@tmp:/w/workspace/device-rest-go/91@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-15T16:24:10.722Z] $ docker top 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:11.629Z] ---> job-cost.sh [2023-03-15T16:24:11.629Z] lf-activate-venv: SKIPPING [2023-03-15T16:24:11.629Z] INFO: No Stack... [2023-03-15T16:24:12.215Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:24:13.185Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:24:13.837Z] + + cutcat -d, /w/workspace/device-rest-go/91/archives/cost.csv -f6 [2023-03-15T16:24:13.837Z] [Pipeline] lock [2023-03-15T16:24:13.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [2023-03-15T16:24:13.916Z] Resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] did not exist. Created. [2023-03-15T16:24:13.916Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:24:14.578Z] /w/workspace/device-rest-go/91@tmp/durable-b7358668/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:24:15.245Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:24:15.267Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:24:15.324Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:24:15.330Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:24:15.353Z] $ docker stop --time=1 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf [2023-03-15T16:24:16.925Z] $ docker rm -f --volumes 1ac6471227b66a39338636ab89f53a4f26d36d3dfce8aef06c21323f9d6b52cf [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-15T16:24:17.310Z] provisioning config files... [2023-03-15T16:24:17.317Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7496579477292928305tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:24:17.607Z] + set +x [2023-03-15T16:24:17.607Z] + curl -s https://codecov.io/bash [2023-03-15T16:24:17.607Z] + bash -s -- [2023-03-15T16:24:17.607Z] [2023-03-15T16:24:17.607Z] _____ _ [2023-03-15T16:24:17.607Z] / ____| | | [2023-03-15T16:24:17.607Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:24:17.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:24:17.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:24:17.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:24:17.607Z] Bash-1.0.6 [2023-03-15T16:24:17.607Z] [2023-03-15T16:24:17.607Z] [2023-03-15T16:24:17.607Z] ==> git version 2.25.1 found [2023-03-15T16:24:17.608Z] ==> 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-15T16:24:17.608Z] Release-Date: 2020-01-08 [2023-03-15T16:24:17.608Z] 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-15T16:24:17.608Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:24:17.608Z] ==> Jenkins CI detected. [2023-03-15T16:24:17.608Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-03-15T16:24:17.608Z] project root: . [2023-03-15T16:24:17.608Z] --> token set from env [2023-03-15T16:24:17.608Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:24:17.608Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:24:17.608Z] ==> Python coveragepy not found [2023-03-15T16:24:17.608Z] ==> Searching for coverage reports in: [2023-03-15T16:24:17.608Z] + . [2023-03-15T16:24:17.608Z] -> Found 1 reports [2023-03-15T16:24:17.608Z] ==> Detecting git/mercurial file structure [2023-03-15T16:24:17.608Z] ==> Reading reports [2023-03-15T16:24:17.608Z] + ./coverage.out bytes=14200 [2023-03-15T16:24:17.608Z] ==> Appending adjustments [2023-03-15T16:24:17.608Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:24:17.866Z] + Found adjustments [2023-03-15T16:24:17.866Z] ==> Gzipping contents [2023-03-15T16:24:17.866Z] 4.0K /tmp/codecov.4XTswO.gz [2023-03-15T16:24:17.866Z] ==> Uploading reports [2023-03-15T16:24:17.866Z] url: https://codecov.io [2023-03-15T16:24:17.866Z] query: branch=main&commit=ae54ce6f1033167052867af1427946ef32cb9188&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:24:17.866Z] -> Pinging Codecov [2023-03-15T16:24:17.866Z] 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=ae54ce6f1033167052867af1427946ef32cb9188&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:24:17.866Z] -> Uploading to [2023-03-15T16:24:17.866Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/ae54ce6f1033167052867af1427946ef32cb9188/bb6e3d25-6d1b-44cd-b0d3-949424f45e00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e28e81d9a15b9a7ba40f80d1d57ec1b982302b53dc6d1d89152dea3996a02821 [2023-03-15T16:24:17.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:24:17.866Z] Dload Upload Total Spent Left Speed [2023-03-15T16:24:18.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10811 --:--:-- --:--:-- --:--:-- 10811 [2023-03-15T16:24:18.125Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] } [2023-03-15T16:24:18.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T16:24:18.243Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T16:24:18.252Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:18.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:24:18.547Z] [2023-03-15T16:24:18.547Z] 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-15T16:24:18.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:24:18.841Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T16:24:18.841Z] df9b9388f04a: Pulling fs layer [2023-03-15T16:24:18.841Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T16:24:18.841Z] 25bc292e5bac: Pulling fs layer [2023-03-15T16:24:18.841Z] 114826534d7a: Pulling fs layer [2023-03-15T16:24:18.841Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T16:24:18.841Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T16:24:18.841Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T16:24:18.841Z] 114826534d7a: Waiting [2023-03-15T16:24:18.841Z] 4657fd5d0bcf: Waiting [2023-03-15T16:24:18.841Z] 6ad1cebc031e: Waiting [2023-03-15T16:24:18.841Z] 8a3aa393b2d8: Waiting [2023-03-15T16:24:18.841Z] 25bc292e5bac: Download complete [2023-03-15T16:24:18.841Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T16:24:18.841Z] 52dc419b0ee2: Download complete [2023-03-15T16:24:18.841Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T16:24:18.841Z] 4657fd5d0bcf: Download complete [2023-03-15T16:24:18.841Z] df9b9388f04a: Verifying Checksum [2023-03-15T16:24:18.841Z] df9b9388f04a: Download complete [2023-03-15T16:24:19.100Z] df9b9388f04a: Pull complete [2023-03-15T16:24:19.100Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T16:24:19.100Z] 6ad1cebc031e: Download complete [2023-03-15T16:24:19.100Z] 52dc419b0ee2: Pull complete [2023-03-15T16:24:19.358Z] 25bc292e5bac: Pull complete [2023-03-15T16:24:19.616Z] 114826534d7a: Verifying Checksum [2023-03-15T16:24:19.616Z] 114826534d7a: Download complete [2023-03-15T16:24:19.872Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T16:24:19.872Z] 8a3aa393b2d8: Download complete [2023-03-15T16:24:23.150Z] 114826534d7a: Pull complete [2023-03-15T16:24:23.150Z] 4657fd5d0bcf: Pull complete [2023-03-15T16:24:23.150Z] 6ad1cebc031e: Pull complete [2023-03-15T16:24:25.676Z] 8a3aa393b2d8: Pull complete [2023-03-15T16:24:25.676Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T16:24:25.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:24:25.676Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:25.761Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:24:25.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T16:24:27.830Z] $ docker top d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T16:24:27.874Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-03-15T16:24:28.152Z] + set -o pipefail [2023-03-15T16:24:28.153Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/819a040d-ff9e-437a-9951-b9e49b172ec6 [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] [2023-03-15T16:24:32.339Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T16:24:32.339Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T16:24:32.339Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-15T16:24:32.368Z] $ docker stop --time=1 d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b [2023-03-15T16:24:34.474Z] $ docker rm -f --volumes d5b0471b0ef0226c7827a2d28e39858dea4c5ea8e1af8b4798633c1a5b602f9b [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-15T16:24:35.177Z] + git log --format=format:%s -1 ae54ce6f1033167052867af1427946ef32cb9188 [Pipeline] sh [2023-03-15T16:24:35.465Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:24:35.465Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:35.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:24:35.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:35.832Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:24:35.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:24:36.253Z] $ docker top c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:24:36.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:24:36.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:24:36.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:24:36.448Z] $ docker exec c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 ssh-agent [2023-03-15T16:24:36.543Z] SSH_AUTH_SOCK=/tmp/ssh-c7prE0T1A4D7/agent.33 [2023-03-15T16:24:36.543Z] SSH_AGENT_PID=39 [2023-03-15T16:24:36.549Z] Running ssh-add (command line suppressed) [2023-03-15T16:24:36.663Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9611414587560527712.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9611414587560527712.key) [2023-03-15T16:24:36.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:24:36.939Z] + git semver tag [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,118 [run_tag] DEBUG tag force:False [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,119 [check_head_tag] DEBUG check head tag [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,119 [execute] INFO git cat-file --batch-check [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,124 [execute] INFO git cat-file --batch [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,143 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,143 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:24:37.198Z] 2023-03-15 16:24:37,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:37.198Z] 3.0.0-dev.19 [Pipeline] } [2023-03-15T16:24:37.224Z] $ docker exec --env ******** --env ******** c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 ssh-agent -k [2023-03-15T16:24:37.321Z] unset SSH_AUTH_SOCK; [2023-03-15T16:24:37.322Z] unset SSH_AGENT_PID; [2023-03-15T16:24:37.322Z] echo Agent pid 39 killed; [2023-03-15T16:24:37.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:24:37.616Z] + git semver [Pipeline] } [2023-03-15T16:24:37.903Z] $ docker stop --time=1 c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 [2023-03-15T16:24:39.212Z] $ docker rm -f --volumes c916f217b525e6e6ed99cd1d86a6ba22544e3b6c0494178aafc3eb953a8db084 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:39.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:24:39.583Z] [2023-03-15T16:24:39.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:39.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:24:39.886Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T16:24:39.886Z] ab5ef0e58194: Pulling fs layer [2023-03-15T16:24:39.886Z] 9712f1f96733: Pulling fs layer [2023-03-15T16:24:39.886Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T16:24:39.886Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T16:24:39.886Z] e9a5061849ea: Pulling fs layer [2023-03-15T16:24:39.886Z] d747dcd14b5f: Pulling fs layer [2023-03-15T16:24:39.886Z] 2de7ff778b66: Pulling fs layer [2023-03-15T16:24:39.886Z] e9a5061849ea: Waiting [2023-03-15T16:24:39.886Z] d747dcd14b5f: Waiting [2023-03-15T16:24:39.886Z] 2de7ff778b66: Waiting [2023-03-15T16:24:40.473Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T16:24:40.473Z] 63f879dbbcfc: Download complete [2023-03-15T16:24:40.735Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T16:24:40.735Z] 0d9ebad4ef96: Download complete [2023-03-15T16:24:40.735Z] e9a5061849ea: Verifying Checksum [2023-03-15T16:24:40.735Z] e9a5061849ea: Download complete [2023-03-15T16:24:40.735Z] ab5ef0e58194: Verifying Checksum [2023-03-15T16:24:40.735Z] ab5ef0e58194: Download complete [2023-03-15T16:24:40.735Z] d747dcd14b5f: Download complete [2023-03-15T16:24:40.735Z] 2de7ff778b66: Verifying Checksum [2023-03-15T16:24:40.735Z] 2de7ff778b66: Download complete [2023-03-15T16:24:43.257Z] ab5ef0e58194: Pull complete [2023-03-15T16:24:43.257Z] 9712f1f96733: Pull complete [2023-03-15T16:24:43.822Z] 63f879dbbcfc: Pull complete [2023-03-15T16:24:48.007Z] 0d9ebad4ef96: Pull complete [2023-03-15T16:24:48.007Z] e9a5061849ea: Pull complete [2023-03-15T16:24:48.007Z] d747dcd14b5f: Pull complete [2023-03-15T16:24:48.571Z] 2de7ff778b66: Pull complete [2023-03-15T16:24:48.571Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T16:24:48.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:24:48.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:48.646Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:24:48.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-15T16:24:51.076Z] $ docker top c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:24:51.129Z] provisioning config files... [2023-03-15T16:24:51.135Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8343490048928823807tmp [2023-03-15T16:24:51.145Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13669239070335289573tmp [2023-03-15T16:24:51.154Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10386523325047722159tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:24:51.168Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:51.448Z] ---> sigul-configuration.sh [2023-03-15T16:24:51.448Z] gpg: directory `/root/.gnupg' created [2023-03-15T16:24:51.448Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T16:24:51.448Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T16:24:51.448Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T16:24:51.448Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T16:24:51.448Z] gpg: CAST5 encrypted data [2023-03-15T16:24:51.448Z] gpg: encrypted with 1 passphrase [2023-03-15T16:24:51.448Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T16:24:51.732Z] + mkdir /home/jenkins [2023-03-15T16:24:51.732Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T16:24:52.017Z] + 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-15T16:24:52.025Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:52.307Z] ---> sigul-install.sh [2023-03-15T16:24:52.307Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T16:24:52.598Z] + git tag --list [2023-03-15T16:24:52.599Z] v1.0.0 [2023-03-15T16:24:52.599Z] v1.1.0 [2023-03-15T16:24:52.599Z] v1.1.1 [2023-03-15T16:24:52.599Z] v1.1.2 [2023-03-15T16:24:52.599Z] v1.2.0 [2023-03-15T16:24:52.599Z] v1.2.1 [2023-03-15T16:24:52.599Z] v2.0.0 [2023-03-15T16:24:52.599Z] v2.1.0 [2023-03-15T16:24:52.599Z] v2.1.1 [2023-03-15T16:24:52.599Z] v2.1.1-dev.1 [2023-03-15T16:24:52.599Z] v2.1.1-dev.2 [2023-03-15T16:24:52.599Z] v2.1.1-dev.3 [2023-03-15T16:24:52.599Z] v2.2.0 [2023-03-15T16:24:52.599Z] v2.2.1-dev.1 [2023-03-15T16:24:52.599Z] v2.2.1-dev.2 [2023-03-15T16:24:52.599Z] v2.2.1-dev.3 [2023-03-15T16:24:52.599Z] v2.2.1-dev.4 [2023-03-15T16:24:52.599Z] v2.2.1-dev.5 [2023-03-15T16:24:52.599Z] v2.2.1-dev.6 [2023-03-15T16:24:52.599Z] v2.2.1-dev.7 [2023-03-15T16:24:52.599Z] v2.2.1-dev.8 [2023-03-15T16:24:52.599Z] v2.2.1-dev.9 [2023-03-15T16:24:52.599Z] v2.3.0 [2023-03-15T16:24:52.599Z] v2.3.0-dev.10 [2023-03-15T16:24:52.599Z] v2.3.0-dev.11 [2023-03-15T16:24:52.599Z] v2.3.0-dev.12 [2023-03-15T16:24:52.599Z] v2.3.0-dev.13 [2023-03-15T16:24:52.599Z] v2.3.0-dev.14 [2023-03-15T16:24:52.599Z] v2.3.0-dev.15 [2023-03-15T16:24:52.599Z] v2.3.0-dev.16 [2023-03-15T16:24:52.599Z] v2.3.0-dev.17 [2023-03-15T16:24:52.599Z] v2.3.0-dev.18 [2023-03-15T16:24:52.599Z] v2.3.0-dev.19 [2023-03-15T16:24:52.599Z] v2.3.0-dev.20 [2023-03-15T16:24:52.599Z] v2.3.0-dev.21 [2023-03-15T16:24:52.599Z] v2.3.0-dev.22 [2023-03-15T16:24:52.599Z] v2.3.0-dev.23 [2023-03-15T16:24:52.599Z] v2.3.0-dev.24 [2023-03-15T16:24:52.599Z] v2.3.0-dev.25 [2023-03-15T16:24:52.599Z] v2.3.0-dev.9 [2023-03-15T16:24:52.599Z] v3.0.0-dev.1 [2023-03-15T16:24:52.599Z] v3.0.0-dev.10 [2023-03-15T16:24:52.599Z] v3.0.0-dev.11 [2023-03-15T16:24:52.599Z] v3.0.0-dev.12 [2023-03-15T16:24:52.599Z] v3.0.0-dev.13 [2023-03-15T16:24:52.599Z] v3.0.0-dev.14 [2023-03-15T16:24:52.599Z] v3.0.0-dev.15 [2023-03-15T16:24:52.599Z] v3.0.0-dev.16 [2023-03-15T16:24:52.599Z] v3.0.0-dev.17 [2023-03-15T16:24:52.599Z] v3.0.0-dev.18 [2023-03-15T16:24:52.599Z] v3.0.0-dev.19 [2023-03-15T16:24:52.599Z] v3.0.0-dev.2 [2023-03-15T16:24:52.599Z] v3.0.0-dev.3 [2023-03-15T16:24:52.599Z] v3.0.0-dev.4 [2023-03-15T16:24:52.599Z] v3.0.0-dev.5 [2023-03-15T16:24:52.599Z] v3.0.0-dev.6 [2023-03-15T16:24:52.599Z] v3.0.0-dev.7 [2023-03-15T16:24:52.599Z] v3.0.0-dev.8 [2023-03-15T16:24:52.599Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T16:24:52.886Z] + lftools sign git-tag v3.0.0-dev.19 [2023-03-15T16:24:53.454Z] Signing Git tag with Sigul... [2023-03-15T16:24:53.454Z] Signing v3.0.0-dev.19 [Pipeline] echo [2023-03-15T16:24:53.721Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:54.001Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T16:24:54.008Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T16:24:54.041Z] $ docker stop --time=1 c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 [2023-03-15T16:24:55.376Z] $ docker rm -f --volumes c4705e45b039471166d331664094acddfe751ce0348b82a761ee5da2a90bea98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T16:24:55.757Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:24:55.757Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:56.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:24:56.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:56.124Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:24:56.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:24:56.516Z] $ docker top 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 -eo pid,comm [2023-03-15T16:24:56.542Z] 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-15T16:24:56.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:24:56.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:24:56.574Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:24:56.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:24:56.710Z] $ docker exec 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 ssh-agent [2023-03-15T16:24:56.786Z] SSH_AUTH_SOCK=/tmp/ssh-Mw65aiVgzypP/agent.31 [2023-03-15T16:24:56.786Z] SSH_AGENT_PID=37 [2023-03-15T16:24:56.791Z] Running ssh-add (command line suppressed) [2023-03-15T16:24:56.915Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17838223464062805408.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17838223464062805408.key) [2023-03-15T16:24:56.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:24:57.194Z] + git semver bump pre [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,385 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,386 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,386 [bump_version] DEBUG bumped version:3.0.0-dev.20 [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,386 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,388 [execute] INFO git cat-file --batch-check [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,389 [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-15T16:24:57.453Z] 2023-03-15 16:24:57,394 [execute] INFO git cat-file --batch [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:24:57.453Z] 2023-03-15 16:24:57,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:24:57.453Z] 3.0.0-dev.20 [Pipeline] } [2023-03-15T16:24:57.481Z] $ docker exec --env ******** --env ******** 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 ssh-agent -k [2023-03-15T16:24:57.578Z] unset SSH_AUTH_SOCK; [2023-03-15T16:24:57.578Z] unset SSH_AGENT_PID; [2023-03-15T16:24:57.578Z] echo Agent pid 37 killed; [2023-03-15T16:24:57.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:24:57.875Z] + git semver [Pipeline] } [2023-03-15T16:24:58.165Z] $ docker stop --time=1 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 [2023-03-15T16:24:59.445Z] $ docker rm -f --volumes 532666f0b4c01e95831140fae2c593fac8e4a0df9336e230b4b70a9a4a6df506 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:24:59.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:24:59.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:25:00.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:25:00.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:25:00.137Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:25:00.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:25:00.551Z] $ docker top 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:25:00.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:25:00.617Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:25:00.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:25:00.738Z] $ docker exec 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 ssh-agent [2023-03-15T16:25:00.826Z] SSH_AUTH_SOCK=/tmp/ssh-4mE9cbXMUV46/agent.32 [2023-03-15T16:25:00.826Z] SSH_AGENT_PID=38 [2023-03-15T16:25:00.830Z] Running ssh-add (command line suppressed) [2023-03-15T16:25:00.956Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9817876312015826088.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9817876312015826088.key) [2023-03-15T16:25:00.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:25:01.242Z] + git semver push [2023-03-15T16:25:01.501Z] 2023-03-15 16:25:01,470 [run_push] DEBUG push [2023-03-15T16:25:01.502Z] 2023-03-15 16:25:01,471 [execute] INFO git cat-file --batch-check [2023-03-15T16:25:01.502Z] 2023-03-15 16:25:01,471 [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-15T16:25:01.502Z] 2023-03-15 16:25:01,475 [execute] INFO git rev-list 20729e7ee85546f134c9a4c2e3e1f7791e114e10 -- [2023-03-15T16:25:01.502Z] 2023-03-15 16:25:01,475 [execute] DEBUG Popen(['git', 'rev-list', '20729e7ee85546f134c9a4c2e3e1f7791e114e10', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:25:01.502Z] 2023-03-15 16:25:01,483 [execute] INFO git fetch -v origin [2023-03-15T16:25:01.502Z] 2023-03-15 16:25:01,484 [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-15T16:25:02.438Z] 2023-03-15 16:25:02,184 [run_push] DEBUG no remote changes detected [2023-03-15T16:25:02.438Z] 2023-03-15 16:25:02,185 [execute] INFO git push origin semver [2023-03-15T16:25:02.438Z] 2023-03-15 16:25:02,185 [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-15T16:25:03.817Z] 2023-03-15 16:25:03,440 [run_push] DEBUG push all version tags [2023-03-15T16:25:03.817Z] 2023-03-15 16:25:03,441 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T16:25:03.817Z] 2023-03-15 16:25:03,441 [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-15T16:25:04.385Z] 2023-03-15 16:25:04,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:25:04.385Z] 3.0.0-dev.20 [Pipeline] } [2023-03-15T16:25:04.413Z] $ docker exec --env ******** --env ******** 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 ssh-agent -k [2023-03-15T16:25:04.505Z] unset SSH_AUTH_SOCK; [2023-03-15T16:25:04.505Z] unset SSH_AGENT_PID; [2023-03-15T16:25:04.505Z] echo Agent pid 38 killed; [2023-03-15T16:25:04.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:25:04.799Z] + git semver [Pipeline] } [2023-03-15T16:25:05.089Z] $ docker stop --time=1 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 [2023-03-15T16:25:06.430Z] $ docker rm -f --volumes 1c2fba53966762ec33ecd5f62d6751390a45b083d3cca5e8f1d1b62198afa5a2 [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-15T16:25:06.909Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-03-15T16:25:06.909Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:25:06.909Z] total 16 [2023-03-15T16:25:06.909Z] drwxr-xr-x 3 root root 4096 Mar 15 16:12 . [2023-03-15T16:25:06.909Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:24 .. [2023-03-15T16:25:06.909Z] drwxr-xr-x 2 root root 4096 Mar 15 16:12 cost [2023-03-15T16:25:06.909Z] -rw-r--r-- 1 root root 85 Mar 15 16:12 cost.csv [2023-03-15T16:25:06.909Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:25:06.909Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:25:06.909Z] total 16 [2023-03-15T16:25:06.909Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 . [2023-03-15T16:25:06.909Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:24 .. [2023-03-15T16:25:06.909Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:12 cost [2023-03-15T16:25:06.910Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:07.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:08.055Z] ---> package-listing.sh [2023-03-15T16:25:08.055Z] ++ facter osfamily [2023-03-15T16:25:08.055Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:25:08.314Z] + OS_FAMILY=debian [2023-03-15T16:25:08.314Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-03-15T16:25:08.314Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:25:08.314Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:25:08.314Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:25:08.314Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:25:08.314Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-15T16:25:08.314Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:25:08.314Z] + case "${OS_FAMILY}" in [2023-03-15T16:25:08.314Z] + dpkg -l [2023-03-15T16:25:08.314Z] + grep '^ii' [2023-03-15T16:25:08.314Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:25:08.314Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:25:08.314Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:25:08.314Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-15T16:25:08.314Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-03-15T16:25:08.314Z] + 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-15T16:25:08.325Z] 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-15T16:25:08.602Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:25:09.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:25:09.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:25:09.227Z] prd-ubuntu20.04-docker-8c-8g-852 does not seem to be running inside a container [2023-03-15T16:25:09.344Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:25:09.541Z] $ docker top bbe85a4c34d024c9d1099a15b2d52e3b3bbfb4f75cb690bc9b4c156df847fe1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:25:09.909Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:25:10.189Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:25:10.470Z] + ls /var/log/sa-host [2023-03-15T16:25:10.470Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:25:10.529Z] provisioning config files... [2023-03-15T16:25:10.538Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11444265541503570060tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:25:10.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:10.829Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:25:10.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:11.158Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:25:11.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:11.445Z] ---> sudo-logs.sh [2023-03-15T16:25:11.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:25:11.477Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:11.761Z] ---> job-cost.sh [2023-03-15T16:25:11.761Z] lf-activate-venv: SKIPPING [2023-03-15T16:25:11.761Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:25:11.761Z] INFO: Retrieving Stack Cost... [2023-03-15T16:25:12.020Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:25:12.587Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:25:12.598Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:25:12.878Z] ---> logs-deploy.sh [2023-03-15T16:25:12.878Z] lf-activate-venv: SKIPPING [2023-03-15T16:25:12.878Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/91 [2023-03-15T16:25:12.878Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:25:13.814Z] Archives upload complete. [2023-03-15T16:25:13.814Z] INFO: archiving logs to Nexus