Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 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-ssh2981482422255731225.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh14948750728550653048.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh2725770959116714800.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh8165666471727800497.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh1911120618979070646.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1662 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 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 (main) > 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 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 Commit message: "Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" > git rev-list --no-walk 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T17:07:08.627Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T17:07:08.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T17:07:08.704Z] ========================================================= [2022-06-07T17:07:08.704Z] EdgeX Global Pipelines Version Info [2022-06-07T17:07:08.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:07:09.487Z] ------------------- [2022-06-07T17:07:09.488Z] stable info: [2022-06-07T17:07:09.488Z] ------------------- [2022-06-07T17:07:09.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T17:07:09.488Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T17:07:09.488Z] Message: update stable to v1.0.232 [2022-06-07T17:07:10.064Z] ------------------- [2022-06-07T17:07:10.064Z] experimental info: [2022-06-07T17:07:10.064Z] ------------------- [2022-06-07T17:07:10.064Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T17:07:10.064Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T17:07:10.064Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T17:07:10.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-07T17:07:10.299Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-07T17:07:10.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T17:07:10.320Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T17:07:10.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T17:07:10.343Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T17:07:10.353Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T17:07:10.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T17:07:10.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T17:07:10.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T17:07:10.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T17:07:10.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-07T17:07:10.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T17:07:10.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T17:07:10.443Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T17:07:10.454Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T17:07:10.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T17:07:10.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T17:07:10.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T17:07:10.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T17:07:10.518Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T17:07:10.527Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T17:07:10.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T17:07:10.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T17:07:10.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T17:07:10.579Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T17:07:10.596Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T17:07:10.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-07T17:07:10.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-07T17:07:10.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-07T17:07:10.652Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo [2022-06-07T17:07:10.663Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cad1b3 [Pipeline] echo [2022-06-07T17:07:10.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T17:07:10.723Z] provisioning config files... [2022-06-07T17:07:10.737Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5350412240092751092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:07:11.048Z] ---> docker-login.sh [2022-06-07T17:07:11.048Z] nexus3.edgexfoundry.org:10001 [2022-06-07T17:07:11.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:11.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:11.314Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:11.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:11.314Z] [2022-06-07T17:07:11.314Z] Login Succeeded [2022-06-07T17:07:11.314Z] nexus3.edgexfoundry.org:10002 [2022-06-07T17:07:11.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:11.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:11.582Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:11.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:11.582Z] [2022-06-07T17:07:11.582Z] Login Succeeded [2022-06-07T17:07:11.582Z] nexus3.edgexfoundry.org:10003 [2022-06-07T17:07:11.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:11.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:11.582Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:11.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:11.582Z] [2022-06-07T17:07:11.582Z] Login Succeeded [2022-06-07T17:07:11.582Z] nexus3.edgexfoundry.org:10004 [2022-06-07T17:07:11.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:11.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:11.850Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:11.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:11.850Z] [2022-06-07T17:07:11.850Z] Login Succeeded [2022-06-07T17:07:11.850Z] docker.io [2022-06-07T17:07:11.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:12.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:12.424Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:12.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:12.424Z] [2022-06-07T17:07:12.424Z] Login Succeeded [2022-06-07T17:07:12.424Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T17:07:12.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T17:07:12.818Z] + git rev-list -1 --merges 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9~1..1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo [2022-06-07T17:07:12.848Z] -----------> git rev-list -1 --merges 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9~1..1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:07:12.848Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [false] [Pipeline] sh [2022-06-07T17:07:13.145Z] + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo [2022-06-07T17:07:13.162Z] ========================================================= [2022-06-07T17:07:13.162Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T17:07:13.162Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T17:07:13.495Z] + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo [2022-06-07T17:07:13.507Z] [semverPrep] GIT_COMMIT: 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9, Commit Message: Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0 [Pipeline] echo [2022-06-07T17:07:13.517Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T17:07:13.884Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T17:07:13.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T17:07:13.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T17:07:13.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T17:07:13.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T17:07:13.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T17:07:13.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:07:14.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:07:14.306Z] [2022-06-07T17:07:14.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:07:14.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:07:14.613Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T17:07:14.613Z] 42c077c10790: Pulling fs layer [2022-06-07T17:07:14.613Z] f63e77b7563a: Pulling fs layer [2022-06-07T17:07:14.613Z] bd5fdadae976: Pulling fs layer [2022-06-07T17:07:14.613Z] 205491f53016: Pulling fs layer [2022-06-07T17:07:14.613Z] df18705c85c3: Pulling fs layer [2022-06-07T17:07:14.613Z] 205491f53016: Waiting [2022-06-07T17:07:14.613Z] bdb3f477010e: Pulling fs layer [2022-06-07T17:07:14.613Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T17:07:14.613Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T17:07:14.613Z] bdb8f0575790: Pulling fs layer [2022-06-07T17:07:14.613Z] bdb3f477010e: Waiting [2022-06-07T17:07:14.613Z] bdb8f0575790: Waiting [2022-06-07T17:07:14.613Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T17:07:14.613Z] 2343380bae48: Pulling fs layer [2022-06-07T17:07:14.613Z] 2343380bae48: Waiting [2022-06-07T17:07:14.613Z] 386e3cb2ff24: Waiting [2022-06-07T17:07:14.613Z] c8a8fc8e1c8f: Waiting [2022-06-07T17:07:14.613Z] 2c6e9b1d212d: Waiting [2022-06-07T17:07:14.613Z] f63e77b7563a: Verifying Checksum [2022-06-07T17:07:14.613Z] f63e77b7563a: Download complete [2022-06-07T17:07:14.613Z] 205491f53016: Download complete [2022-06-07T17:07:14.874Z] df18705c85c3: Verifying Checksum [2022-06-07T17:07:14.874Z] df18705c85c3: Download complete [2022-06-07T17:07:14.874Z] bdb3f477010e: Verifying Checksum [2022-06-07T17:07:14.874Z] bdb3f477010e: Download complete [2022-06-07T17:07:14.874Z] bd5fdadae976: Verifying Checksum [2022-06-07T17:07:14.874Z] bd5fdadae976: Download complete [2022-06-07T17:07:14.874Z] 2c6e9b1d212d: Download complete [2022-06-07T17:07:14.874Z] bdb8f0575790: Verifying Checksum [2022-06-07T17:07:14.874Z] bdb8f0575790: Download complete [2022-06-07T17:07:14.874Z] 386e3cb2ff24: Download complete [2022-06-07T17:07:14.874Z] 2343380bae48: Verifying Checksum [2022-06-07T17:07:14.874Z] 2343380bae48: Download complete [2022-06-07T17:07:14.874Z] 42c077c10790: Verifying Checksum [2022-06-07T17:07:14.874Z] 42c077c10790: Download complete [2022-06-07T17:07:15.133Z] c8a8fc8e1c8f: Download complete [2022-06-07T17:07:16.524Z] 42c077c10790: Pull complete [2022-06-07T17:07:16.524Z] f63e77b7563a: Pull complete [2022-06-07T17:07:17.096Z] bd5fdadae976: Pull complete [2022-06-07T17:07:17.096Z] 205491f53016: Pull complete [2022-06-07T17:07:17.671Z] df18705c85c3: Pull complete [2022-06-07T17:07:17.671Z] bdb3f477010e: Pull complete [2022-06-07T17:07:19.582Z] c8a8fc8e1c8f: Pull complete [2022-06-07T17:07:19.582Z] 2c6e9b1d212d: Pull complete [2022-06-07T17:07:19.844Z] bdb8f0575790: Pull complete [2022-06-07T17:07:19.844Z] 386e3cb2ff24: Pull complete [2022-06-07T17:07:19.844Z] 2343380bae48: Pull complete [2022-06-07T17:07:19.844Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T17:07:19.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:07:19.844Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:07:19.947Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:07:19.992Z] $ 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 [2022-06-07T17:07:21.483Z] $ docker top ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 -eo pid,comm [2022-06-07T17:07:21.557Z] 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). [2022-06-07T17:07:21.557Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T17:07:21.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T17:07:21.592Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T17:07:21.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T17:07:21.742Z] $ docker exec ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent [2022-06-07T17:07:21.876Z] SSH_AUTH_SOCK=/tmp/ssh-IZoTKa6F5KTB/agent.33 [2022-06-07T17:07:21.876Z] SSH_AGENT_PID=39 [2022-06-07T17:07:21.883Z] Running ssh-add (command line suppressed) [2022-06-07T17:07:22.020Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8349675560380356969.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8349675560380356969.key) [2022-06-07T17:07:22.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T17:07:22.327Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T17:07:22.354Z] $ docker exec --env ******** --env ******** ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent -k [2022-06-07T17:07:22.477Z] unset SSH_AUTH_SOCK; [2022-06-07T17:07:22.478Z] unset SSH_AGENT_PID; [2022-06-07T17:07:22.479Z] echo Agent pid 39 killed; [2022-06-07T17:07:22.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T17:07:22.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T17:07:22.509Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T17:07:22.644Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T17:07:22.649Z] $ docker exec ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent [2022-06-07T17:07:22.780Z] SSH_AUTH_SOCK=/tmp/ssh-csh2AUgxn05a/agent.72 [2022-06-07T17:07:22.780Z] SSH_AGENT_PID=79 [2022-06-07T17:07:22.787Z] Running ssh-add (command line suppressed) [2022-06-07T17:07:22.904Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6068150663691959723.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6068150663691959723.key) [2022-06-07T17:07:22.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T17:07:23.210Z] + git semver init [2022-06-07T17:07:23.471Z] 2022-06-07 17:07:23,410 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T17:07:23.471Z] 2022-06-07 17:07:23,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-07T17:07:23.471Z] 2022-06-07 17:07:23,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-07T17:07:23.472Z] 2022-06-07 17:07:23,412 [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) [2022-06-07T17:07:24.416Z] 2022-06-07 17:07:24,278 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-06-07T17:07:24.416Z] 2022-06-07 17:07:24,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-06-07T17:07:24.416Z] 2022-06-07 17:07:24,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:07:24.416Z] 2022-06-07 17:07:24,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:07:24.416Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T17:07:24.431Z] $ docker exec --env ******** --env ******** ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent -k [2022-06-07T17:07:24.567Z] unset SSH_AUTH_SOCK; [2022-06-07T17:07:24.568Z] unset SSH_AGENT_PID; [2022-06-07T17:07:24.568Z] echo Agent pid 79 killed; [2022-06-07T17:07:24.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T17:07:24.893Z] + git semver [Pipeline] } [2022-06-07T17:07:25.171Z] $ docker stop --time=1 ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 [2022-06-07T17:07:26.489Z] $ docker rm -f ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T17:07:26.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T17:07:27.096Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T17:07:27.099Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 [2022-06-07T17:07:27.208Z] provisioning config files... [2022-06-07T17:07:27.220Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6067054361312488733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:07:27.530Z] ---> docker-login.sh [2022-06-07T17:07:27.530Z] nexus3.edgexfoundry.org:10001 [2022-06-07T17:07:27.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:27.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:27.530Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:27.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:27.530Z] [2022-06-07T17:07:27.530Z] Login Succeeded [2022-06-07T17:07:27.530Z] nexus3.edgexfoundry.org:10002 [2022-06-07T17:07:27.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:27.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:27.790Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:27.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:27.790Z] [2022-06-07T17:07:27.790Z] Login Succeeded [2022-06-07T17:07:27.790Z] nexus3.edgexfoundry.org:10003 [2022-06-07T17:07:27.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:27.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:27.791Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:27.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:27.791Z] [2022-06-07T17:07:27.791Z] Login Succeeded [2022-06-07T17:07:27.791Z] nexus3.edgexfoundry.org:10004 [2022-06-07T17:07:28.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:28.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:28.051Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:28.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:28.051Z] [2022-06-07T17:07:28.051Z] Login Succeeded [2022-06-07T17:07:28.051Z] docker.io [2022-06-07T17:07:28.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:07:28.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:07:28.312Z] Configure a credential helper to remove this warning. See [2022-06-07T17:07:28.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:07:28.312Z] [2022-06-07T17:07:28.312Z] Login Succeeded [2022-06-07T17:07:28.312Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T17:07:28.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T17:07:28.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T17:07:28.398Z] ========================================================= [2022-06-07T17:07:28.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T17:07:28.398Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:07:28.722Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T17:07:28.722Z] Sending build context to Docker daemon 10.64MB [2022-06-07T17:07:28.722Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T17:07:28.722Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T17:07:28.722Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T17:07:28.722Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T17:07:28.722Z] 666ba61612fd: Pulling fs layer [2022-06-07T17:07:28.722Z] 8ed8ca486205: Pulling fs layer [2022-06-07T17:07:28.722Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T17:07:28.722Z] c516ae0d96e1: Pulling fs layer [2022-06-07T17:07:28.722Z] 684cea983483: Pulling fs layer [2022-06-07T17:07:28.722Z] dd3240ac7de5: Pulling fs layer [2022-06-07T17:07:28.722Z] b1e948a4e11c: Pulling fs layer [2022-06-07T17:07:28.722Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T17:07:28.722Z] 646ad004c059: Pulling fs layer [2022-06-07T17:07:28.722Z] cc1cd167ecdc: Waiting [2022-06-07T17:07:28.722Z] c516ae0d96e1: Waiting [2022-06-07T17:07:28.722Z] 684cea983483: Waiting [2022-06-07T17:07:28.722Z] dd3240ac7de5: Waiting [2022-06-07T17:07:28.722Z] b1e948a4e11c: Waiting [2022-06-07T17:07:28.722Z] a8fd76ee1af6: Waiting [2022-06-07T17:07:28.722Z] 646ad004c059: Waiting [2022-06-07T17:07:28.722Z] 8ed8ca486205: Download complete [2022-06-07T17:07:28.984Z] 666ba61612fd: Download complete [2022-06-07T17:07:28.984Z] c516ae0d96e1: Download complete [2022-06-07T17:07:28.984Z] 684cea983483: Download complete [2022-06-07T17:07:28.984Z] dd3240ac7de5: Verifying Checksum [2022-06-07T17:07:28.984Z] dd3240ac7de5: Download complete [2022-06-07T17:07:28.984Z] 59bf1c3509f3: Download complete [2022-06-07T17:07:28.984Z] b1e948a4e11c: Verifying Checksum [2022-06-07T17:07:28.984Z] b1e948a4e11c: Download complete [2022-06-07T17:07:28.984Z] 59bf1c3509f3: Pull complete [2022-06-07T17:07:29.246Z] 666ba61612fd: Pull complete [2022-06-07T17:07:29.246Z] 8ed8ca486205: Pull complete [2022-06-07T17:07:29.508Z] 646ad004c059: Verifying Checksum [2022-06-07T17:07:29.508Z] 646ad004c059: Download complete [2022-06-07T17:07:29.508Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T17:07:29.508Z] a8fd76ee1af6: Download complete [2022-06-07T17:07:29.768Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T17:07:29.768Z] cc1cd167ecdc: Download complete [2022-06-07T17:07:33.961Z] cc1cd167ecdc: Pull complete [2022-06-07T17:07:33.961Z] c516ae0d96e1: Pull complete [2022-06-07T17:07:33.961Z] 684cea983483: Pull complete [2022-06-07T17:07:33.961Z] dd3240ac7de5: Pull complete [2022-06-07T17:07:33.961Z] b1e948a4e11c: Pull complete [2022-06-07T17:07:36.502Z] a8fd76ee1af6: Pull complete [2022-06-07T17:07:37.075Z] 646ad004c059: Pull complete [2022-06-07T17:07:37.075Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T17:07:37.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T17:07:37.075Z] ---> 8f69c11f6b0c [2022-06-07T17:07:37.075Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T17:07:38.993Z] ---> Running in 926e1e992868 [2022-06-07T17:07:38.993Z] Removing intermediate container 926e1e992868 [2022-06-07T17:07:38.993Z] ---> e46012324931 [2022-06-07T17:07:38.993Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T17:07:38.993Z] ---> Running in f2efcf00e20d [2022-06-07T17:07:38.993Z] Removing intermediate container f2efcf00e20d [2022-06-07T17:07:38.993Z] ---> 50c5fc6157a0 [2022-06-07T17:07:38.993Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T17:07:38.993Z] ---> Running in cfe831b2c820 [2022-06-07T17:07:39.255Z] Removing intermediate container cfe831b2c820 [2022-06-07T17:07:39.255Z] ---> 20c3ff2e93d0 [2022-06-07T17:07:39.255Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T17:07:39.255Z] ---> Running in 90d763770198 [2022-06-07T17:07:39.828Z] Removing intermediate container 90d763770198 [2022-06-07T17:07:39.828Z] ---> 33e658f3f135 [2022-06-07T17:07:39.828Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T17:07:39.828Z] ---> Running in d83159d4f8ad [2022-06-07T17:07:40.088Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T17:07:41.032Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T17:07:41.295Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T17:07:41.558Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T17:07:41.558Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T17:07:41.558Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T17:07:41.819Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T17:07:41.819Z] OK: 224 MiB in 56 packages [2022-06-07T17:07:42.085Z] Removing intermediate container d83159d4f8ad [2022-06-07T17:07:42.085Z] ---> 00759215535d [2022-06-07T17:07:42.085Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T17:07:42.180Z] Still waiting to schedule task [2022-06-07T17:07:42.181Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-07T17:07:42.350Z] ---> Running in 5cb5ac58e1eb [2022-06-07T17:07:42.350Z] Removing intermediate container 5cb5ac58e1eb [2022-06-07T17:07:42.350Z] ---> 80c40ad41ebd [2022-06-07T17:07:42.350Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T17:07:42.611Z] ---> d9d833e305c7 [2022-06-07T17:07:42.611Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T17:07:42.611Z] ---> Running in 6fcacebf8979 [2022-06-07T17:07:57.600Z] Removing intermediate container 6fcacebf8979 [2022-06-07T17:07:57.600Z] ---> 0b964ac1dfa1 [2022-06-07T17:07:57.600Z] Step 11/12 : COPY . . [2022-06-07T17:07:57.861Z] ---> 47e0523f545d [2022-06-07T17:07:57.861Z] Step 12/12 : RUN $MAKE [2022-06-07T17:07:58.122Z] ---> Running in 1170b9f1450b [2022-06-07T17:07:58.382Z] noop [2022-06-07T17:07:58.644Z] Removing intermediate container 1170b9f1450b [2022-06-07T17:07:58.644Z] ---> ef7913eeb2d1 [2022-06-07T17:07:58.644Z] Successfully built ef7913eeb2d1 [2022-06-07T17:07:58.644Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:07:58.966Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T17:07:58.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:07:59.046Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:07:59.085Z] $ 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 [2022-06-07T17:07:59.479Z] $ docker top 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T17:07:59.828Z] + go version [2022-06-07T17:07:59.828Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T17:07:59.841Z] $ docker stop --time=1 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c [2022-06-07T17:08:01.140Z] $ docker rm -f 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:01.544Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T17:08:01.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:08:01.623Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:08:01.660Z] $ 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 [2022-06-07T17:08:02.055Z] $ docker top 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T17:08:02.420Z] + make test [2022-06-07T17:08:02.420Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T17:08:02.680Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T17:08:12.672Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T17:08:12.672Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-07T17:08:19.256Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T17:08:22.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T17:08:22.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T17:08:22.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T17:08:22.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T17:08:22.852Z] $ docker stop --time=1 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b [2022-06-07T17:08:24.750Z] $ docker rm -f 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T17:08:25.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T17:08:25.231Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T17:08:25.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T17:08:26.071Z] + ls -al . [2022-06-07T17:08:26.072Z] total 172 [2022-06-07T17:08:26.072Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 17:08 . [2022-06-07T17:08:26.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 17:07 .. [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 17:07 .dockerignore [2022-06-07T17:08:26.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:07 .git [2022-06-07T17:08:26.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 .github [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 17:07 .gitignore [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 17:07 .golangci.yml [2022-06-07T17:08:26.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 17:07 .semver [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 17:07 Attribution.txt [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 17:07 CHANGELOG.md [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 17:07 Dockerfile [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 17:07 GOVERNANCE.md [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 17:07 Jenkinsfile [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 17:07 LICENSE [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 17:07 Makefile [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 17:07 OWNERS.md [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 17:07 README.md [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 17:07 VERSION [2022-06-07T17:08:26.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:07 bin [2022-06-07T17:08:26.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 cmd [2022-06-07T17:08:26.072Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 17:08 coverage.out [2022-06-07T17:08:26.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:07 driver [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 17:07 go.mod [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 17:07 go.sum [2022-06-07T17:08:26.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 snap [2022-06-07T17:08:26.072Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:26.387Z] + 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 --label arch=amd64 --label version=2.2.1-dev.4 . [2022-06-07T17:08:26.387Z] Sending build context to Docker daemon 10.65MB [2022-06-07T17:08:26.387Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T17:08:26.387Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T17:08:26.387Z] ---> ef7913eeb2d1 [2022-06-07T17:08:26.387Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T17:08:26.387Z] ---> Running in a373ba631dee [2022-06-07T17:08:26.648Z] Removing intermediate container a373ba631dee [2022-06-07T17:08:26.648Z] ---> 749f138e8bbf [2022-06-07T17:08:26.648Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T17:08:26.648Z] ---> Running in b8d8d1ef6b9e [2022-06-07T17:08:26.648Z] Removing intermediate container b8d8d1ef6b9e [2022-06-07T17:08:26.648Z] ---> 74777c22bf67 [2022-06-07T17:08:26.648Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T17:08:26.648Z] ---> Running in f90001275d57 [2022-06-07T17:08:26.909Z] Removing intermediate container f90001275d57 [2022-06-07T17:08:26.909Z] ---> 77532ad7a1dc [2022-06-07T17:08:26.909Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T17:08:26.909Z] ---> Running in 3d5d02ba83d7 [2022-06-07T17:08:27.481Z] Removing intermediate container 3d5d02ba83d7 [2022-06-07T17:08:27.481Z] ---> 0de6acecc34b [2022-06-07T17:08:27.481Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T17:08:27.481Z] ---> Running in aebeea7ee026 [2022-06-07T17:08:27.742Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T17:08:28.691Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T17:08:28.950Z] OK: 224 MiB in 56 packages [2022-06-07T17:08:29.209Z] Removing intermediate container aebeea7ee026 [2022-06-07T17:08:29.209Z] ---> a52de1a5e89b [2022-06-07T17:08:29.209Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T17:08:29.209Z] ---> Running in ceba3295efc3 [2022-06-07T17:08:29.209Z] Removing intermediate container ceba3295efc3 [2022-06-07T17:08:29.209Z] ---> e4e0c9c4aeb3 [2022-06-07T17:08:29.209Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T17:08:29.467Z] ---> 7b520748677d [2022-06-07T17:08:29.467Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T17:08:29.467Z] ---> Running in 3071f3d0d373 [2022-06-07T17:08:30.033Z] Removing intermediate container 3071f3d0d373 [2022-06-07T17:08:30.033Z] ---> d0efc0e845ef [2022-06-07T17:08:30.033Z] Step 11/25 : COPY . . [2022-06-07T17:08:30.603Z] ---> 30abdc4bb942 [2022-06-07T17:08:30.603Z] Step 12/25 : RUN $MAKE [2022-06-07T17:08:30.603Z] ---> Running in b4e844aca7f8 [2022-06-07T17:08:30.861Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T17:08:52.813Z] Removing intermediate container b4e844aca7f8 [2022-06-07T17:08:52.813Z] ---> c0cc47435053 [2022-06-07T17:08:52.813Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T17:08:52.813Z] 3.14: Pulling from library/alpine [2022-06-07T17:08:52.813Z] 8663204ce13b: Pulling fs layer [2022-06-07T17:08:52.813Z] 8663204ce13b: Verifying Checksum [2022-06-07T17:08:52.813Z] 8663204ce13b: Download complete [2022-06-07T17:08:52.813Z] 8663204ce13b: Pull complete [2022-06-07T17:08:52.813Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T17:08:52.813Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T17:08:52.813Z] ---> e04c818066af [2022-06-07T17:08:52.813Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T17:08:52.813Z] ---> Running in e3f94c807222 [2022-06-07T17:08:52.813Z] Removing intermediate container e3f94c807222 [2022-06-07T17:08:52.813Z] ---> 6e8165a98582 [2022-06-07T17:08:52.813Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T17:08:52.813Z] ---> Running in 21b7edbaff07 [2022-06-07T17:08:52.813Z] Removing intermediate container 21b7edbaff07 [2022-06-07T17:08:52.813Z] ---> d7987a747e72 [2022-06-07T17:08:52.813Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T17:08:52.813Z] ---> Running in a6bf2b9a0030 [2022-06-07T17:08:52.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T17:08:52.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T17:08:52.813Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T17:08:52.813Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T17:08:52.813Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T17:08:52.813Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T17:08:52.813Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T17:08:52.813Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T17:08:52.813Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T17:08:52.813Z] OK: 8 MiB in 20 packages [2022-06-07T17:08:52.813Z] Removing intermediate container a6bf2b9a0030 [2022-06-07T17:08:52.813Z] ---> 2d9de7320f79 [2022-06-07T17:08:52.813Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T17:08:53.075Z] ---> 3f5e774a5e62 [2022-06-07T17:08:53.075Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T17:08:53.075Z] ---> d1016fdec625 [2022-06-07T17:08:53.075Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T17:08:53.335Z] ---> bc0cc57dc5d8 [2022-06-07T17:08:53.335Z] Step 20/25 : EXPOSE 59986 [2022-06-07T17:08:53.335Z] ---> Running in ac3f7a7a2e7c [2022-06-07T17:08:53.335Z] Removing intermediate container ac3f7a7a2e7c [2022-06-07T17:08:53.335Z] ---> 2c24ba583ca0 [2022-06-07T17:08:53.335Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T17:08:53.595Z] ---> Running in 185d9e250d68 [2022-06-07T17:08:53.595Z] Removing intermediate container 185d9e250d68 [2022-06-07T17:08:53.595Z] ---> 4206ea9f72bd [2022-06-07T17:08:53.595Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T17:08:53.595Z] ---> Running in b6712bf1eb3b [2022-06-07T17:08:53.595Z] Removing intermediate container b6712bf1eb3b [2022-06-07T17:08:53.595Z] ---> e3e9fe42991a [2022-06-07T17:08:53.595Z] Step 23/25 : LABEL arch=amd64 [2022-06-07T17:08:53.856Z] ---> Running in c99648c3c385 [2022-06-07T17:08:53.857Z] Removing intermediate container c99648c3c385 [2022-06-07T17:08:53.857Z] ---> 04ccf53e82f1 [2022-06-07T17:08:53.857Z] Step 24/25 : LABEL git_sha=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:08:53.857Z] ---> Running in 48b92f982ac8 [2022-06-07T17:08:53.857Z] Removing intermediate container 48b92f982ac8 [2022-06-07T17:08:53.857Z] ---> fc436a00c1c1 [2022-06-07T17:08:53.857Z] Step 25/25 : LABEL version=2.2.1-dev.4 [2022-06-07T17:08:54.117Z] ---> Running in 1302169bfc4b [2022-06-07T17:08:54.117Z] Removing intermediate container 1302169bfc4b [2022-06-07T17:08:54.117Z] ---> 4661aa2c73eb [2022-06-07T17:08:54.117Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T17:08:54.117Z] Successfully built 4661aa2c73eb [2022-06-07T17:08:54.117Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T17:08:54.235Z] provisioning config files... [2022-06-07T17:08:54.244Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5696705330806320908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:08:54.542Z] ---> docker-login.sh [2022-06-07T17:08:54.542Z] nexus3.edgexfoundry.org:10001 [2022-06-07T17:08:54.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:08:54.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:08:54.542Z] Configure a credential helper to remove this warning. See [2022-06-07T17:08:54.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:08:54.542Z] [2022-06-07T17:08:54.542Z] Login Succeeded [2022-06-07T17:08:54.542Z] nexus3.edgexfoundry.org:10002 [2022-06-07T17:08:54.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:08:54.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:08:54.802Z] Configure a credential helper to remove this warning. See [2022-06-07T17:08:54.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:08:54.802Z] [2022-06-07T17:08:54.802Z] Login Succeeded [2022-06-07T17:08:54.802Z] nexus3.edgexfoundry.org:10003 [2022-06-07T17:08:54.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:08:54.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:08:54.802Z] Configure a credential helper to remove this warning. See [2022-06-07T17:08:54.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:08:54.802Z] [2022-06-07T17:08:54.802Z] Login Succeeded [2022-06-07T17:08:54.802Z] nexus3.edgexfoundry.org:10004 [2022-06-07T17:08:54.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:08:55.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:08:55.061Z] Configure a credential helper to remove this warning. See [2022-06-07T17:08:55.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:08:55.061Z] [2022-06-07T17:08:55.061Z] Login Succeeded [2022-06-07T17:08:55.061Z] docker.io [2022-06-07T17:08:55.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:08:55.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:08:55.321Z] Configure a credential helper to remove this warning. See [2022-06-07T17:08:55.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:08:55.321Z] [2022-06-07T17:08:55.321Z] Login Succeeded [2022-06-07T17:08:55.321Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T17:08:55.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T17:08:55.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T17:08:55.384Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-07T17:08:55.384Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:08:55.384Z] latest [2022-06-07T17:08:55.384Z] 2.2.1-dev.4 [2022-06-07T17:08:55.384Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:08:55.384Z] main [2022-06-07T17:08:55.384Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:55.698Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:56.009Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:08:56.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T17:08:56.009Z] 454bb3ce7f25: Preparing [2022-06-07T17:08:56.009Z] fdaa3cf3792d: Preparing [2022-06-07T17:08:56.009Z] 62bf62aae86c: Preparing [2022-06-07T17:08:56.009Z] 9950605d5499: Preparing [2022-06-07T17:08:56.009Z] b541d28bf3b4: Preparing [2022-06-07T17:08:56.009Z] b541d28bf3b4: Layer already exists [2022-06-07T17:08:56.009Z] 454bb3ce7f25: Pushed [2022-06-07T17:08:56.009Z] fdaa3cf3792d: Pushed [2022-06-07T17:08:56.270Z] 9950605d5499: Pushed [2022-06-07T17:08:58.807Z] 62bf62aae86c: Pushed [2022-06-07T17:08:58.807Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:59.122Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:59.434Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-07T17:08:59.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T17:08:59.435Z] 454bb3ce7f25: Preparing [2022-06-07T17:08:59.435Z] fdaa3cf3792d: Preparing [2022-06-07T17:08:59.435Z] 62bf62aae86c: Preparing [2022-06-07T17:08:59.435Z] 9950605d5499: Preparing [2022-06-07T17:08:59.435Z] b541d28bf3b4: Preparing [2022-06-07T17:08:59.435Z] fdaa3cf3792d: Layer already exists [2022-06-07T17:08:59.435Z] 9950605d5499: Layer already exists [2022-06-07T17:08:59.435Z] 62bf62aae86c: Layer already exists [2022-06-07T17:08:59.435Z] 454bb3ce7f25: Layer already exists [2022-06-07T17:08:59.435Z] b541d28bf3b4: Layer already exists [2022-06-07T17:08:59.435Z] latest: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:08:59.750Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:00.063Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 [2022-06-07T17:09:00.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T17:09:00.063Z] 454bb3ce7f25: Preparing [2022-06-07T17:09:00.063Z] fdaa3cf3792d: Preparing [2022-06-07T17:09:00.063Z] 62bf62aae86c: Preparing [2022-06-07T17:09:00.063Z] 9950605d5499: Preparing [2022-06-07T17:09:00.063Z] b541d28bf3b4: Preparing [2022-06-07T17:09:00.063Z] b541d28bf3b4: Layer already exists [2022-06-07T17:09:00.063Z] 9950605d5499: Layer already exists [2022-06-07T17:09:00.063Z] fdaa3cf3792d: Layer already exists [2022-06-07T17:09:00.063Z] 62bf62aae86c: Layer already exists [2022-06-07T17:09:00.063Z] 454bb3ce7f25: Layer already exists [2022-06-07T17:09:00.063Z] 2.2.1-dev.4: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:00.386Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:00.701Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:09:00.701Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T17:09:00.701Z] 454bb3ce7f25: Preparing [2022-06-07T17:09:00.701Z] fdaa3cf3792d: Preparing [2022-06-07T17:09:00.701Z] 62bf62aae86c: Preparing [2022-06-07T17:09:00.701Z] 9950605d5499: Preparing [2022-06-07T17:09:00.701Z] b541d28bf3b4: Preparing [2022-06-07T17:09:00.701Z] b541d28bf3b4: Layer already exists [2022-06-07T17:09:00.701Z] 62bf62aae86c: Layer already exists [2022-06-07T17:09:00.701Z] 454bb3ce7f25: Layer already exists [2022-06-07T17:09:00.701Z] 9950605d5499: Layer already exists [2022-06-07T17:09:00.701Z] fdaa3cf3792d: Layer already exists [2022-06-07T17:09:00.701Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:01.089Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:01.428Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-06-07T17:09:01.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T17:09:01.428Z] 454bb3ce7f25: Preparing [2022-06-07T17:09:01.428Z] fdaa3cf3792d: Preparing [2022-06-07T17:09:01.428Z] 62bf62aae86c: Preparing [2022-06-07T17:09:01.428Z] 9950605d5499: Preparing [2022-06-07T17:09:01.428Z] b541d28bf3b4: Preparing [2022-06-07T17:09:01.428Z] fdaa3cf3792d: Layer already exists [2022-06-07T17:09:01.428Z] 62bf62aae86c: Layer already exists [2022-06-07T17:09:01.428Z] 9950605d5499: Layer already exists [2022-06-07T17:09:01.428Z] 454bb3ce7f25: Layer already exists [2022-06-07T17:09:01.428Z] b541d28bf3b4: Layer already exists [2022-06-07T17:09:01.428Z] main: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T17:09:01.474Z] ===================================================== [Pipeline] echo [2022-06-07T17:09:01.481Z] taggedImages: [2022-06-07T17:09:01.481Z] - nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:09:01.481Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-07T17:09:01.481Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 [2022-06-07T17:09:01.481Z] - nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:09:01.481Z] - 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 [2022-06-07T17:09:01.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T17:09:01.859Z] [2022-06-07T17:09:01.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:02.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T17:09:02.163Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T17:09:02.163Z] 5eb5b503b376: Pulling fs layer [2022-06-07T17:09:02.163Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T17:09:02.163Z] ec43610c2a17: Pulling fs layer [2022-06-07T17:09:02.163Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T17:09:02.163Z] 33b1e0a273af: Pulling fs layer [2022-06-07T17:09:02.163Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T17:09:02.163Z] 2f39f015ded8: Pulling fs layer [2022-06-07T17:09:02.163Z] 3a2ae6a8a46f: Waiting [2022-06-07T17:09:02.163Z] 33b1e0a273af: Waiting [2022-06-07T17:09:02.163Z] 2f39f015ded8: Waiting [2022-06-07T17:09:02.163Z] 5c69ac0246d0: Verifying Checksum [2022-06-07T17:09:02.163Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T17:09:02.163Z] 3a2ae6a8a46f: Download complete [2022-06-07T17:09:02.163Z] ec43610c2a17: Verifying Checksum [2022-06-07T17:09:02.163Z] ec43610c2a17: Download complete [2022-06-07T17:09:02.422Z] 33b1e0a273af: Verifying Checksum [2022-06-07T17:09:02.422Z] 33b1e0a273af: Download complete [2022-06-07T17:09:02.422Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T17:09:02.422Z] 5d3b04190fa2: Download complete [2022-06-07T17:09:02.422Z] 5eb5b503b376: Verifying Checksum [2022-06-07T17:09:02.422Z] 5eb5b503b376: Download complete [2022-06-07T17:09:02.991Z] 2f39f015ded8: Download complete [2022-06-07T17:09:03.559Z] 5eb5b503b376: Pull complete [2022-06-07T17:09:03.818Z] 5c69ac0246d0: Pull complete [2022-06-07T17:09:04.078Z] ec43610c2a17: Pull complete [2022-06-07T17:09:04.339Z] 3a2ae6a8a46f: Pull complete [2022-06-07T17:09:04.339Z] 33b1e0a273af: Pull complete [2022-06-07T17:09:04.599Z] 5d3b04190fa2: Pull complete [2022-06-07T17:09:08.800Z] 2f39f015ded8: Pull complete [2022-06-07T17:09:08.801Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T17:09:08.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T17:09:08.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:09:08.896Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:09:08.936Z] $ 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 [2022-06-07T17:09:10.702Z] $ docker top 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:09:11.129Z] ---> job-cost.sh [2022-06-07T17:09:11.129Z] lf-activate-venv: SKIPPING [2022-06-07T17:09:11.129Z] INFO: No Stack... [2022-06-07T17:09:11.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T17:09:11.960Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T17:09:12.250Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-06-07T17:09:12.250Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T17:09:12.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [2022-06-07T17:09:12.273Z] Resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] did not exist. Created. [2022-06-07T17:09:12.274Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T17:09:12.578Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T17:09:12.612Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T17:09:12.620Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T17:09:12.644Z] $ docker stop --time=1 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 [2022-06-07T17:09:13.811Z] $ docker rm -f 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T17:09:16.575Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1663 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-06-07T17:09:16.587Z] Running in /w/workspace/device-rest-go/45 [Pipeline] { [Pipeline] checkout [2022-06-07T17:09:16.633Z] The recommended git tool is: git [2022-06-07T17:09:24.234Z] using credential edgex-jenkins-ssh [2022-06-07T17:09:24.254Z] Cloning the remote Git repository [2022-06-07T17:09:24.378Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T17:09:24.534Z] > git init /w/workspace/device-rest-go/45 # timeout=10 [2022-06-07T17:09:24.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T17:09:24.685Z] > git --version # timeout=10 [2022-06-07T17:09:24.709Z] > git --version # 'git version 2.25.1' [2022-06-07T17:09:24.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T17:09:24.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T17:09:26.711Z] Avoid second fetch [2022-06-07T17:09:26.712Z] Checking out Revision 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 (main) [2022-06-07T17:09:26.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-07T17:09:26.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T17:09:26.741Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T17:09:26.773Z] > git checkout -f 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 [2022-06-07T17:09:30.961Z] Commit message: "Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T17:09:31.879Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T17:09:31.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T17:09:31.879Z] Dload Upload Total Spent Left Speed [2022-06-07T17:09:31.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh [2022-06-07T17:09:32.596Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T17:09:32.957Z] + sudo tee /etc/docker/daemon.new [2022-06-07T17:09:32.957Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T17:09:32.957Z] { [2022-06-07T17:09:32.957Z] "registry-mirrors": [ [2022-06-07T17:09:32.957Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T17:09:32.957Z] ], [2022-06-07T17:09:32.957Z] "bip": "10.250.0.254/24", [2022-06-07T17:09:32.957Z] "hosts": [ [2022-06-07T17:09:32.957Z] "tcp://0.0.0.0:5555", [2022-06-07T17:09:32.957Z] "unix:///var/run/docker.sock" [2022-06-07T17:09:32.957Z] ], [2022-06-07T17:09:32.957Z] "mtu": 1458, [2022-06-07T17:09:32.957Z] "selinux-enabled": true, [2022-06-07T17:09:32.957Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T17:09:32.957Z] } [Pipeline] sh [2022-06-07T17:09:33.308Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T17:09:33.648Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T17:09:51.959Z] provisioning config files... [2022-06-07T17:09:51.981Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config4244897913693826371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:09:52.510Z] ---> docker-login.sh [2022-06-07T17:09:52.510Z] nexus3.edgexfoundry.org:10001 [2022-06-07T17:09:53.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:09:53.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:09:53.373Z] Configure a credential helper to remove this warning. See [2022-06-07T17:09:53.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:09:53.373Z] [2022-06-07T17:09:53.373Z] Login Succeeded [2022-06-07T17:09:53.373Z] nexus3.edgexfoundry.org:10002 [2022-06-07T17:09:53.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:09:53.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:09:53.645Z] Configure a credential helper to remove this warning. See [2022-06-07T17:09:53.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:09:53.645Z] [2022-06-07T17:09:53.645Z] Login Succeeded [2022-06-07T17:09:53.645Z] nexus3.edgexfoundry.org:10003 [2022-06-07T17:09:53.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:09:54.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:09:54.190Z] Configure a credential helper to remove this warning. See [2022-06-07T17:09:54.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:09:54.190Z] [2022-06-07T17:09:54.190Z] Login Succeeded [2022-06-07T17:09:54.190Z] nexus3.edgexfoundry.org:10004 [2022-06-07T17:09:54.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:09:54.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:09:54.465Z] Configure a credential helper to remove this warning. See [2022-06-07T17:09:54.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:09:54.465Z] [2022-06-07T17:09:54.465Z] Login Succeeded [2022-06-07T17:09:54.736Z] docker.io [2022-06-07T17:09:55.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:09:55.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:09:55.277Z] Configure a credential helper to remove this warning. See [2022-06-07T17:09:55.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:09:55.277Z] [2022-06-07T17:09:55.277Z] Login Succeeded [2022-06-07T17:09:55.277Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T17:09:55.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T17:09:55.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T17:09:55.545Z] ========================================================= [2022-06-07T17:09:55.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T17:09:55.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:09:55.894Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T17:09:55.894Z] Sending build context to Docker daemon 128.5kB [2022-06-07T17:09:56.167Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T17:09:56.167Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T17:09:56.167Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T17:09:56.167Z] 9b3977197b4f: Pulling fs layer [2022-06-07T17:09:56.167Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T17:09:56.167Z] 94645a83ff95: Pulling fs layer [2022-06-07T17:09:56.167Z] e6fb740bc735: Pulling fs layer [2022-06-07T17:09:56.167Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T17:09:56.167Z] 355e64cbe906: Pulling fs layer [2022-06-07T17:09:56.167Z] 63ab81a10011: Pulling fs layer [2022-06-07T17:09:56.167Z] 555d1d1c4555: Pulling fs layer [2022-06-07T17:09:56.167Z] 3a77bd46dcc9: Waiting [2022-06-07T17:09:56.167Z] 355e64cbe906: Waiting [2022-06-07T17:09:56.167Z] 63ab81a10011: Waiting [2022-06-07T17:09:56.167Z] e6fb740bc735: Waiting [2022-06-07T17:09:56.167Z] 555d1d1c4555: Waiting [2022-06-07T17:09:56.167Z] 7d9057610161: Pulling fs layer [2022-06-07T17:09:56.167Z] 7d9057610161: Waiting [2022-06-07T17:09:56.444Z] 94645a83ff95: Verifying Checksum [2022-06-07T17:09:56.444Z] 94645a83ff95: Download complete [2022-06-07T17:09:56.444Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T17:09:56.444Z] 1a89e8eeedd5: Download complete [2022-06-07T17:09:56.444Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T17:09:56.444Z] 3a77bd46dcc9: Download complete [2022-06-07T17:09:56.444Z] 355e64cbe906: Verifying Checksum [2022-06-07T17:09:56.444Z] 355e64cbe906: Download complete [2022-06-07T17:09:56.444Z] 9b3977197b4f: Verifying Checksum [2022-06-07T17:09:56.444Z] 9b3977197b4f: Download complete [2022-06-07T17:09:56.444Z] 63ab81a10011: Verifying Checksum [2022-06-07T17:09:56.444Z] 63ab81a10011: Download complete [2022-06-07T17:09:57.446Z] 9b3977197b4f: Pull complete [2022-06-07T17:09:57.446Z] 7d9057610161: Verifying Checksum [2022-06-07T17:09:57.446Z] 7d9057610161: Download complete [2022-06-07T17:09:57.727Z] 1a89e8eeedd5: Pull complete [2022-06-07T17:09:58.001Z] 94645a83ff95: Pull complete [2022-06-07T17:09:58.599Z] 555d1d1c4555: Verifying Checksum [2022-06-07T17:09:58.599Z] 555d1d1c4555: Download complete [2022-06-07T17:09:58.874Z] e6fb740bc735: Verifying Checksum [2022-06-07T17:09:58.874Z] e6fb740bc735: Download complete [2022-06-07T17:10:11.277Z] e6fb740bc735: Pull complete [2022-06-07T17:10:11.277Z] 3a77bd46dcc9: Pull complete [2022-06-07T17:10:11.277Z] 355e64cbe906: Pull complete [2022-06-07T17:10:11.552Z] 63ab81a10011: Pull complete [2022-06-07T17:10:18.294Z] 555d1d1c4555: Pull complete [2022-06-07T17:10:19.739Z] 7d9057610161: Pull complete [2022-06-07T17:10:19.739Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T17:10:19.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T17:10:19.739Z] ---> 819e984ddca1 [2022-06-07T17:10:19.739Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T17:10:21.746Z] ---> Running in 4afcb163da39 [2022-06-07T17:10:21.746Z] Removing intermediate container 4afcb163da39 [2022-06-07T17:10:21.746Z] ---> 13479b7c3a95 [2022-06-07T17:10:21.746Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T17:10:21.746Z] ---> Running in 5c11055df8e2 [2022-06-07T17:10:22.020Z] Removing intermediate container 5c11055df8e2 [2022-06-07T17:10:22.020Z] ---> 0beeadb4fa94 [2022-06-07T17:10:22.020Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T17:10:22.020Z] ---> Running in dd2317b704c8 [2022-06-07T17:10:22.299Z] Removing intermediate container dd2317b704c8 [2022-06-07T17:10:22.299Z] ---> 0a92104783d5 [2022-06-07T17:10:22.299Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T17:10:22.575Z] ---> Running in c8ec9897c59a [2022-06-07T17:10:24.559Z] Removing intermediate container c8ec9897c59a [2022-06-07T17:10:24.559Z] ---> b5809ab53c34 [2022-06-07T17:10:24.559Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T17:10:24.559Z] ---> Running in e084eddb6a14 [2022-06-07T17:10:25.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T17:10:26.153Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T17:10:26.758Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T17:10:27.032Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T17:10:27.032Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T17:10:27.313Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T17:10:27.313Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T17:10:27.313Z] OK: 224 MiB in 56 packages [2022-06-07T17:10:29.330Z] Removing intermediate container e084eddb6a14 [2022-06-07T17:10:29.330Z] ---> 53c452f314aa [2022-06-07T17:10:29.330Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T17:10:29.330Z] ---> Running in d57a28d3d6fa [2022-06-07T17:10:29.604Z] Removing intermediate container d57a28d3d6fa [2022-06-07T17:10:29.604Z] ---> 5a8ec9bc47a6 [2022-06-07T17:10:29.604Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T17:10:30.208Z] ---> c55a7303a1c5 [2022-06-07T17:10:30.208Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T17:10:30.208Z] ---> Running in f69ea1930803 [2022-06-07T17:11:17.218Z] Removing intermediate container f69ea1930803 [2022-06-07T17:11:17.219Z] ---> 5e615784b280 [2022-06-07T17:11:17.219Z] Step 11/12 : COPY . . [2022-06-07T17:11:17.219Z] ---> 60a31568ffbc [2022-06-07T17:11:17.219Z] Step 12/12 : RUN $MAKE [2022-06-07T17:11:17.219Z] ---> Running in a61827902ebc [2022-06-07T17:11:17.219Z] noop [2022-06-07T17:11:17.219Z] Removing intermediate container a61827902ebc [2022-06-07T17:11:17.219Z] ---> 7962164afbd8 [2022-06-07T17:11:17.219Z] Successfully built 7962164afbd8 [2022-06-07T17:11:17.219Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:11:17.594Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T17:11:17.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:11:17.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container [2022-06-07T17:11:17.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T17:11:19.241Z] $ docker top d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T17:11:20.148Z] + go version [2022-06-07T17:11:20.148Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T17:11:20.178Z] $ docker stop --time=1 d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d [2022-06-07T17:11:21.824Z] $ docker rm -f d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:11:22.433Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T17:11:22.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:11:22.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container [2022-06-07T17:11:22.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T17:11:24.045Z] $ docker top 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T17:11:24.962Z] + make test [2022-06-07T17:11:24.962Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T17:11:26.404Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T17:12:48.258Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T17:12:48.258Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-06-07T17:12:48.258Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T17:12:48.258Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T17:13:10.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T17:13:10.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T17:13:10.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T17:13:11.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T17:13:11.481Z] $ docker stop --time=1 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 [2022-06-07T17:13:13.247Z] $ docker rm -f 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T17:13:14.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T17:13:14.218Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T17:13:14.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T17:13:15.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T17:13:15.381Z] + ls -al . [2022-06-07T17:13:15.381Z] total 168 [2022-06-07T17:13:15.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:13 . [2022-06-07T17:13:15.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 17:09 .. [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 17:09 .dockerignore [2022-06-07T17:13:15.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:09 .git [2022-06-07T17:13:15.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 .github [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 17:09 .gitignore [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 17:09 .golangci.yml [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 17:09 Attribution.txt [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 17:09 CHANGELOG.md [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 17:09 Dockerfile [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 17:09 GOVERNANCE.md [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 17:09 Jenkinsfile [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 17:09 LICENSE [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 17:09 Makefile [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 17:09 OWNERS.md [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 17:09 README.md [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 17:07 VERSION [2022-06-07T17:13:15.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:09 bin [2022-06-07T17:13:15.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 cmd [2022-06-07T17:13:15.381Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 17:12 coverage.out [2022-06-07T17:13:15.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:09 driver [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 17:09 go.mod [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 17:09 go.sum [2022-06-07T17:13:15.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 snap [2022-06-07T17:13:15.381Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 17:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:13:15.737Z] + 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 --label arch=arm64 --label version=2.2.1-dev.4 . [2022-06-07T17:13:15.737Z] Sending build context to Docker daemon 138.8kB [2022-06-07T17:13:16.018Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T17:13:16.018Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T17:13:16.018Z] ---> 7962164afbd8 [2022-06-07T17:13:16.018Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T17:13:16.018Z] ---> Running in a70eaacfe3cd [2022-06-07T17:13:16.629Z] Removing intermediate container a70eaacfe3cd [2022-06-07T17:13:16.629Z] ---> a5a61624386a [2022-06-07T17:13:16.629Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T17:13:16.629Z] ---> Running in 0ca198ab8c95 [2022-06-07T17:13:16.903Z] Removing intermediate container 0ca198ab8c95 [2022-06-07T17:13:16.903Z] ---> 754862ccdc26 [2022-06-07T17:13:16.903Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T17:13:16.903Z] ---> Running in 28bfe825982a [2022-06-07T17:13:17.177Z] Removing intermediate container 28bfe825982a [2022-06-07T17:13:17.177Z] ---> f428951a45e6 [2022-06-07T17:13:17.178Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T17:13:17.455Z] ---> Running in 1cfa0a8cc81f [2022-06-07T17:13:18.909Z] Removing intermediate container 1cfa0a8cc81f [2022-06-07T17:13:18.909Z] ---> 12cc69ab3fc2 [2022-06-07T17:13:18.909Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T17:13:19.188Z] ---> Running in 8b30285dde45 [2022-06-07T17:13:20.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T17:13:21.141Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T17:13:22.126Z] OK: 224 MiB in 56 packages [2022-06-07T17:13:22.724Z] Removing intermediate container 8b30285dde45 [2022-06-07T17:13:22.724Z] ---> 7f3f86b7874d [2022-06-07T17:13:22.724Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T17:13:23.004Z] ---> Running in f4a1f5e44522 [2022-06-07T17:13:23.277Z] Removing intermediate container f4a1f5e44522 [2022-06-07T17:13:23.277Z] ---> c0edc7b56b3a [2022-06-07T17:13:23.277Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T17:13:23.553Z] ---> d403bf2ee1e6 [2022-06-07T17:13:23.553Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T17:13:23.824Z] ---> Running in 8e416c0eb8f2 [2022-06-07T17:13:25.805Z] Removing intermediate container 8e416c0eb8f2 [2022-06-07T17:13:25.805Z] ---> eaf8e66d468c [2022-06-07T17:13:25.805Z] Step 11/25 : COPY . . [2022-06-07T17:13:26.086Z] ---> 5ceaea278950 [2022-06-07T17:13:26.086Z] Step 12/25 : RUN $MAKE [2022-06-07T17:13:26.086Z] ---> Running in 27eae75980d9 [2022-06-07T17:13:27.075Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T17:15:33.965Z] Removing intermediate container 27eae75980d9 [2022-06-07T17:15:33.965Z] ---> c5e3a696c568 [2022-06-07T17:15:33.965Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T17:15:33.965Z] 3.14: Pulling from library/alpine [2022-06-07T17:15:33.965Z] 455c02918c45: Pulling fs layer [2022-06-07T17:15:33.965Z] 455c02918c45: Verifying Checksum [2022-06-07T17:15:33.965Z] 455c02918c45: Download complete [2022-06-07T17:15:33.965Z] 455c02918c45: Pull complete [2022-06-07T17:15:33.965Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T17:15:33.965Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T17:15:33.965Z] ---> ac73e934f311 [2022-06-07T17:15:33.965Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T17:15:33.965Z] ---> Running in 03e8257bf2cc [2022-06-07T17:15:33.965Z] Removing intermediate container 03e8257bf2cc [2022-06-07T17:15:33.965Z] ---> 12b7858ef8d5 [2022-06-07T17:15:33.965Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T17:15:33.965Z] ---> Running in b8f051d2cee4 [2022-06-07T17:15:33.965Z] Removing intermediate container b8f051d2cee4 [2022-06-07T17:15:33.965Z] ---> ebad2e5e07fe [2022-06-07T17:15:33.965Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T17:15:33.965Z] ---> Running in 22e2689056bc [2022-06-07T17:15:33.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T17:15:33.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T17:15:33.965Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T17:15:33.965Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T17:15:33.965Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T17:15:33.965Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T17:15:33.965Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T17:15:33.965Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T17:15:33.965Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T17:15:33.965Z] OK: 8 MiB in 20 packages [2022-06-07T17:15:33.965Z] Removing intermediate container 22e2689056bc [2022-06-07T17:15:33.965Z] ---> 761b6ecab481 [2022-06-07T17:15:33.965Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T17:15:33.965Z] ---> 4262c52aa8fc [2022-06-07T17:15:33.965Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T17:15:33.966Z] ---> 8c05ad60908b [2022-06-07T17:15:33.966Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T17:15:33.966Z] ---> 0d9c4de4c84b [2022-06-07T17:15:33.966Z] Step 20/25 : EXPOSE 59986 [2022-06-07T17:15:33.966Z] ---> Running in b16af1acc540 [2022-06-07T17:15:33.966Z] Removing intermediate container b16af1acc540 [2022-06-07T17:15:33.966Z] ---> c769b5b2b0cd [2022-06-07T17:15:33.966Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T17:15:33.966Z] ---> Running in 019fbeeefd6f [2022-06-07T17:15:33.966Z] Removing intermediate container 019fbeeefd6f [2022-06-07T17:15:33.966Z] ---> fa7187ea6d7c [2022-06-07T17:15:33.966Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T17:15:33.966Z] ---> Running in df01fde48fe0 [2022-06-07T17:15:33.966Z] Removing intermediate container df01fde48fe0 [2022-06-07T17:15:33.966Z] ---> 1790e9e30252 [2022-06-07T17:15:33.966Z] Step 23/25 : LABEL arch=arm64 [2022-06-07T17:15:33.966Z] ---> Running in 1701c35f6636 [2022-06-07T17:15:33.966Z] Removing intermediate container 1701c35f6636 [2022-06-07T17:15:33.966Z] ---> 754bd13ef7ea [2022-06-07T17:15:33.966Z] Step 24/25 : LABEL git_sha=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:15:33.966Z] ---> Running in 8f9290f709d3 [2022-06-07T17:15:33.966Z] Removing intermediate container 8f9290f709d3 [2022-06-07T17:15:33.966Z] ---> e0ebd499f934 [2022-06-07T17:15:33.966Z] Step 25/25 : LABEL version=2.2.1-dev.4 [2022-06-07T17:15:33.966Z] ---> Running in 7d0244ce4a76 [2022-06-07T17:15:33.966Z] Removing intermediate container 7d0244ce4a76 [2022-06-07T17:15:33.966Z] ---> cf3fe66cd54b [2022-06-07T17:15:33.966Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T17:15:33.966Z] Successfully built cf3fe66cd54b [2022-06-07T17:15:33.966Z] 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 [2022-06-07T17:15:34.091Z] provisioning config files... [2022-06-07T17:15:34.108Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config3242363269443490808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:15:34.461Z] ---> docker-login.sh [2022-06-07T17:15:34.461Z] nexus3.edgexfoundry.org:10001 [2022-06-07T17:15:34.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:15:34.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:15:34.736Z] Configure a credential helper to remove this warning. See [2022-06-07T17:15:34.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:15:34.736Z] [2022-06-07T17:15:34.736Z] Login Succeeded [2022-06-07T17:15:34.736Z] nexus3.edgexfoundry.org:10002 [2022-06-07T17:15:35.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:15:35.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:15:35.291Z] Configure a credential helper to remove this warning. See [2022-06-07T17:15:35.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:15:35.291Z] [2022-06-07T17:15:35.291Z] Login Succeeded [2022-06-07T17:15:35.291Z] nexus3.edgexfoundry.org:10003 [2022-06-07T17:15:35.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:15:35.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:15:35.843Z] Configure a credential helper to remove this warning. See [2022-06-07T17:15:35.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:15:35.843Z] [2022-06-07T17:15:35.843Z] Login Succeeded [2022-06-07T17:15:35.843Z] nexus3.edgexfoundry.org:10004 [2022-06-07T17:15:36.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:15:36.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:15:36.119Z] Configure a credential helper to remove this warning. See [2022-06-07T17:15:36.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:15:36.119Z] [2022-06-07T17:15:36.119Z] Login Succeeded [2022-06-07T17:15:36.119Z] docker.io [2022-06-07T17:15:36.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T17:15:36.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T17:15:36.990Z] Configure a credential helper to remove this warning. See [2022-06-07T17:15:36.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T17:15:36.990Z] [2022-06-07T17:15:36.990Z] Login Succeeded [2022-06-07T17:15:36.990Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T17:15:37.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T17:15:37.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T17:15:37.078Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-07T17:15:37.078Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:15:37.078Z] latest [2022-06-07T17:15:37.078Z] 2.2.1-dev.4 [2022-06-07T17:15:37.078Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:15:37.078Z] main [2022-06-07T17:15:37.078Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:37.454Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:37.823Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:15:37.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T17:15:37.823Z] 87819267ec26: Preparing [2022-06-07T17:15:37.823Z] 50ca31be1392: Preparing [2022-06-07T17:15:37.823Z] f070979aa7f7: Preparing [2022-06-07T17:15:37.823Z] 04bcec156985: Preparing [2022-06-07T17:15:37.823Z] f73e7dbfee58: Preparing [2022-06-07T17:15:38.099Z] f73e7dbfee58: Layer already exists [2022-06-07T17:15:38.099Z] 50ca31be1392: Pushed [2022-06-07T17:15:38.099Z] 87819267ec26: Pushed [2022-06-07T17:15:38.699Z] 04bcec156985: Pushed [2022-06-07T17:15:44.102Z] f070979aa7f7: Pushed [2022-06-07T17:15:44.375Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:44.743Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:45.110Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-07T17:15:45.110Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T17:15:45.110Z] 87819267ec26: Preparing [2022-06-07T17:15:45.110Z] 50ca31be1392: Preparing [2022-06-07T17:15:45.110Z] f070979aa7f7: Preparing [2022-06-07T17:15:45.110Z] 04bcec156985: Preparing [2022-06-07T17:15:45.110Z] f73e7dbfee58: Preparing [2022-06-07T17:15:45.110Z] 04bcec156985: Layer already exists [2022-06-07T17:15:45.110Z] 87819267ec26: Layer already exists [2022-06-07T17:15:45.110Z] f070979aa7f7: Layer already exists [2022-06-07T17:15:45.110Z] f73e7dbfee58: Layer already exists [2022-06-07T17:15:45.110Z] 50ca31be1392: Layer already exists [2022-06-07T17:15:45.386Z] latest: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:45.760Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:46.122Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 [2022-06-07T17:15:46.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T17:15:46.122Z] 87819267ec26: Preparing [2022-06-07T17:15:46.122Z] 50ca31be1392: Preparing [2022-06-07T17:15:46.122Z] f070979aa7f7: Preparing [2022-06-07T17:15:46.122Z] 04bcec156985: Preparing [2022-06-07T17:15:46.122Z] f73e7dbfee58: Preparing [2022-06-07T17:15:46.122Z] 87819267ec26: Layer already exists [2022-06-07T17:15:46.122Z] 04bcec156985: Layer already exists [2022-06-07T17:15:46.122Z] f070979aa7f7: Layer already exists [2022-06-07T17:15:46.122Z] 50ca31be1392: Layer already exists [2022-06-07T17:15:46.122Z] f73e7dbfee58: Layer already exists [2022-06-07T17:15:46.396Z] 2.2.1-dev.4: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:46.762Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:47.136Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:15:47.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T17:15:47.136Z] 87819267ec26: Preparing [2022-06-07T17:15:47.136Z] 50ca31be1392: Preparing [2022-06-07T17:15:47.136Z] f070979aa7f7: Preparing [2022-06-07T17:15:47.136Z] 04bcec156985: Preparing [2022-06-07T17:15:47.136Z] f73e7dbfee58: Preparing [2022-06-07T17:15:47.136Z] 04bcec156985: Layer already exists [2022-06-07T17:15:47.136Z] f070979aa7f7: Layer already exists [2022-06-07T17:15:47.136Z] 50ca31be1392: Layer already exists [2022-06-07T17:15:47.136Z] f73e7dbfee58: Layer already exists [2022-06-07T17:15:47.136Z] 87819267ec26: Layer already exists [2022-06-07T17:15:47.411Z] 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:47.785Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:48.151Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-06-07T17:15:48.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T17:15:48.151Z] 87819267ec26: Preparing [2022-06-07T17:15:48.151Z] 50ca31be1392: Preparing [2022-06-07T17:15:48.151Z] f070979aa7f7: Preparing [2022-06-07T17:15:48.151Z] 04bcec156985: Preparing [2022-06-07T17:15:48.151Z] f73e7dbfee58: Preparing [2022-06-07T17:15:48.151Z] f070979aa7f7: Layer already exists [2022-06-07T17:15:48.151Z] 87819267ec26: Layer already exists [2022-06-07T17:15:48.151Z] f73e7dbfee58: Layer already exists [2022-06-07T17:15:48.151Z] 04bcec156985: Layer already exists [2022-06-07T17:15:48.151Z] 50ca31be1392: Layer already exists [2022-06-07T17:15:48.423Z] main: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T17:15:48.492Z] ===================================================== [Pipeline] echo [2022-06-07T17:15:48.504Z] taggedImages: [2022-06-07T17:15:48.504Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [2022-06-07T17:15:48.504Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-07T17:15:48.504Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 [2022-06-07T17:15:48.504Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [2022-06-07T17:15:48.504Z] - 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 [2022-06-07T17:15:48.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T17:15:48.894Z] [2022-06-07T17:15:48.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:15:49.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T17:15:49.539Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T17:15:49.539Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T17:15:49.539Z] 04944245beec: Pulling fs layer [2022-06-07T17:15:49.539Z] 699f458cf7ca: Pulling fs layer [2022-06-07T17:15:49.539Z] 765212b225bb: Pulling fs layer [2022-06-07T17:15:49.539Z] f23df028b6ca: Pulling fs layer [2022-06-07T17:15:49.539Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T17:15:49.539Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T17:15:49.539Z] 765212b225bb: Waiting [2022-06-07T17:15:49.539Z] f23df028b6ca: Waiting [2022-06-07T17:15:49.539Z] d65c8cfc05b1: Waiting [2022-06-07T17:15:49.539Z] 2437ff75d9bd: Waiting [2022-06-07T17:15:49.539Z] 04944245beec: Verifying Checksum [2022-06-07T17:15:49.539Z] 04944245beec: Download complete [2022-06-07T17:15:49.539Z] 765212b225bb: Verifying Checksum [2022-06-07T17:15:49.539Z] 765212b225bb: Download complete [2022-06-07T17:15:49.539Z] f23df028b6ca: Download complete [2022-06-07T17:15:49.539Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T17:15:49.539Z] d65c8cfc05b1: Download complete [2022-06-07T17:15:49.820Z] 699f458cf7ca: Verifying Checksum [2022-06-07T17:15:49.820Z] 699f458cf7ca: Download complete [2022-06-07T17:15:50.097Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T17:15:50.097Z] 8998bd30e6a1: Download complete [2022-06-07T17:15:52.731Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T17:15:52.731Z] 2437ff75d9bd: Download complete [2022-06-07T17:15:54.180Z] 8998bd30e6a1: Pull complete [2022-06-07T17:15:54.777Z] 04944245beec: Pull complete [2022-06-07T17:15:56.218Z] 699f458cf7ca: Pull complete [2022-06-07T17:15:56.492Z] 765212b225bb: Pull complete [2022-06-07T17:15:57.478Z] f23df028b6ca: Pull complete [2022-06-07T17:15:57.478Z] d65c8cfc05b1: Pull complete [2022-06-07T17:16:12.576Z] 2437ff75d9bd: Pull complete [2022-06-07T17:16:12.576Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T17:16:12.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T17:16:12.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:16:12.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container [2022-06-07T17:16:12.930Z] $ 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/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T17:16:15.462Z] $ docker top ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:16:16.371Z] ---> job-cost.sh [2022-06-07T17:16:16.371Z] lf-activate-venv: SKIPPING [2022-06-07T17:16:16.371Z] INFO: No Stack... [2022-06-07T17:16:16.643Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T17:16:17.624Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T17:16:18.300Z] + + cut -d,cat -f6 /w/workspace/device-rest-go/45/archives/cost.csv [2022-06-07T17:16:18.300Z] [Pipeline] lock [2022-06-07T17:16:18.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [2022-06-07T17:16:18.368Z] Resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] did not exist. Created. [2022-06-07T17:16:18.368Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T17:16:19.046Z] /w/workspace/device-rest-go/45@tmp/durable-546ef1b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T17:16:19.728Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T17:16:19.758Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T17:16:19.802Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T17:16:19.808Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T17:16:19.828Z] $ docker stop --time=1 ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 [2022-06-07T17:16:21.350Z] $ docker rm -f ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 [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 [2022-06-07T17:16:21.822Z] provisioning config files... [2022-06-07T17:16:21.830Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7376057706808018698tmp [Pipeline] { [Pipeline] sh [2022-06-07T17:16:22.122Z] + set +x [2022-06-07T17:16:22.122Z] + curl -s https://codecov.io/bash [2022-06-07T17:16:22.122Z] + bash -s -- [2022-06-07T17:16:22.122Z] [2022-06-07T17:16:22.122Z] _____ _ [2022-06-07T17:16:22.122Z] / ____| | | [2022-06-07T17:16:22.122Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T17:16:22.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T17:16:22.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T17:16:22.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T17:16:22.122Z] Bash-1.0.6 [2022-06-07T17:16:22.122Z] [2022-06-07T17:16:22.122Z] [2022-06-07T17:16:22.122Z] ==> git version 2.25.1 found [2022-06-07T17:16:22.122Z] ==> 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 [2022-06-07T17:16:22.122Z] Release-Date: 2020-01-08 [2022-06-07T17:16:22.122Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T17:16:22.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T17:16:22.122Z] ==> Jenkins CI detected. [2022-06-07T17:16:22.122Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-06-07T17:16:22.122Z] project root: . [2022-06-07T17:16:22.122Z] --> token set from env [2022-06-07T17:16:22.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T17:16:22.122Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T17:16:22.122Z] ==> Python coveragepy not found [2022-06-07T17:16:22.122Z] ==> Searching for coverage reports in: [2022-06-07T17:16:22.122Z] + . [2022-06-07T17:16:22.122Z] -> Found 1 reports [2022-06-07T17:16:22.122Z] ==> Detecting git/mercurial file structure [2022-06-07T17:16:22.122Z] ==> Reading reports [2022-06-07T17:16:22.122Z] + ./coverage.out bytes=9355 [2022-06-07T17:16:22.122Z] ==> Appending adjustments [2022-06-07T17:16:22.122Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T17:16:22.382Z] + Found adjustments [2022-06-07T17:16:22.382Z] ==> Gzipping contents [2022-06-07T17:16:22.382Z] 4.0K /tmp/codecov.7XArjA.gz [2022-06-07T17:16:22.383Z] ==> Uploading reports [2022-06-07T17:16:22.383Z] url: https://codecov.io [2022-06-07T17:16:22.383Z] query: branch=main&commit=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-07T17:16:22.383Z] -> Pinging Codecov [2022-06-07T17:16:22.383Z] 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-07T17:16:22.642Z] -> Uploading to [2022-06-07T17:16:22.642Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/4E5D53B4F1F92C436F7061BF334D961C/1cad1b3ab7defbb98e091de6cdc18e5f9044bad9/c2b2e8db-66f5-48c2-8d66-7ece06696e3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T171622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72a7276d4218e89da682986f1759b2eb527b787952c56d2000d420d7423867b9 [2022-06-07T17:16:22.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T17:16:22.643Z] Dload Upload Total Spent Left Speed [2022-06-07T17:16:22.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7818 [2022-06-07T17:16:22.902Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } [2022-06-07T17:16:22.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-07T17:16:23.171Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-07T17:16:23.187Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:16:23.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T17:16:23.488Z] [2022-06-07T17:16:23.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:16:23.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T17:16:23.788Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-07T17:16:23.788Z] df9b9388f04a: Pulling fs layer [2022-06-07T17:16:23.788Z] 52dc419b0ee2: Pulling fs layer [2022-06-07T17:16:23.788Z] 25bc292e5bac: Pulling fs layer [2022-06-07T17:16:23.788Z] 114826534d7a: Pulling fs layer [2022-06-07T17:16:23.788Z] 4657fd5d0bcf: Pulling fs layer [2022-06-07T17:16:23.788Z] 6ad1cebc031e: Pulling fs layer [2022-06-07T17:16:23.788Z] 8a3aa393b2d8: Pulling fs layer [2022-06-07T17:16:23.788Z] 114826534d7a: Waiting [2022-06-07T17:16:23.788Z] 4657fd5d0bcf: Waiting [2022-06-07T17:16:23.788Z] 25bc292e5bac: Verifying Checksum [2022-06-07T17:16:23.788Z] 25bc292e5bac: Download complete [2022-06-07T17:16:23.788Z] 52dc419b0ee2: Download complete [2022-06-07T17:16:23.788Z] 4657fd5d0bcf: Download complete [2022-06-07T17:16:23.788Z] df9b9388f04a: Download complete [2022-06-07T17:16:24.048Z] 6ad1cebc031e: Verifying Checksum [2022-06-07T17:16:24.048Z] 6ad1cebc031e: Download complete [2022-06-07T17:16:24.048Z] df9b9388f04a: Pull complete [2022-06-07T17:16:24.306Z] 52dc419b0ee2: Pull complete [2022-06-07T17:16:24.306Z] 25bc292e5bac: Pull complete [2022-06-07T17:16:24.565Z] 114826534d7a: Verifying Checksum [2022-06-07T17:16:24.565Z] 114826534d7a: Download complete [2022-06-07T17:16:24.824Z] 8a3aa393b2d8: Verifying Checksum [2022-06-07T17:16:24.824Z] 8a3aa393b2d8: Download complete [2022-06-07T17:16:28.108Z] 114826534d7a: Pull complete [2022-06-07T17:16:28.108Z] 4657fd5d0bcf: Pull complete [2022-06-07T17:16:28.366Z] 6ad1cebc031e: Pull complete [2022-06-07T17:16:31.659Z] 8a3aa393b2d8: Pull complete [2022-06-07T17:16:31.659Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-07T17:16:31.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T17:16:31.659Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:16:31.747Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:16:31.786Z] $ 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 [2022-06-07T17:16:33.930Z] $ docker top c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-07T17:16:33.997Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-06-07T17:16:34.276Z] + set -o pipefail [2022-06-07T17:16:34.276Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-06-07T17:16:39.559Z] [2022-06-07T17:16:39.559Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-06-07T17:16:39.559Z] [2022-06-07T17:16:39.559Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/785249fc-f812-488f-af86-716c12f2a700 [2022-06-07T17:16:39.559Z] [2022-06-07T17:16:39.559Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-07T17:16:39.559Z] [2022-06-07T17:16:39.559Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-07T17:16:39.559Z] [2022-06-07T17:16:39.559Z] [Pipeline] } [2022-06-07T17:16:39.573Z] $ docker stop --time=1 c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 [2022-06-07T17:16:41.886Z] $ docker rm -f c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 [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 [2022-06-07T17:16:42.672Z] + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] sh [2022-06-07T17:16:42.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T17:16:42.965Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:16:43.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:16:43.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:16:43.354Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:16:43.388Z] $ 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 [2022-06-07T17:16:43.797Z] $ docker top c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 -eo pid,comm [2022-06-07T17:16:43.849Z] 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). [2022-06-07T17:16:43.849Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T17:16:43.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T17:16:43.882Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T17:16:44.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T17:16:44.011Z] $ docker exec c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 ssh-agent [2022-06-07T17:16:44.128Z] SSH_AUTH_SOCK=/tmp/ssh-iVbBBjt4EYDw/agent.32 [2022-06-07T17:16:44.128Z] SSH_AGENT_PID=38 [2022-06-07T17:16:44.134Z] Running ssh-add (command line suppressed) [2022-06-07T17:16:44.237Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7619950896574694485.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7619950896574694485.key) [2022-06-07T17:16:44.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T17:16:44.539Z] + git semver tag [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,739 [run_tag] DEBUG tag force:False [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,739 [check_head_tag] DEBUG check head tag [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,740 [execute] INFO git cat-file --batch-check [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,743 [execute] INFO git cat-file --batch [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,752 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,752 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,752 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-07T17:16:44.800Z] 2022-06-07 17:16:44,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:16:44.800Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T17:16:44.813Z] $ docker exec --env ******** --env ******** c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 ssh-agent -k [2022-06-07T17:16:44.928Z] unset SSH_AUTH_SOCK; [2022-06-07T17:16:44.929Z] unset SSH_AGENT_PID; [2022-06-07T17:16:44.929Z] echo Agent pid 38 killed; [2022-06-07T17:16:44.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T17:16:45.244Z] + git semver [Pipeline] } [2022-06-07T17:16:45.522Z] $ docker stop --time=1 c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 [2022-06-07T17:16:46.828Z] $ docker rm -f c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:16:47.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T17:16:47.231Z] [2022-06-07T17:16:47.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:16:47.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T17:16:47.531Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-07T17:16:47.531Z] ab5ef0e58194: Pulling fs layer [2022-06-07T17:16:47.531Z] 9712f1f96733: Pulling fs layer [2022-06-07T17:16:47.531Z] 63f879dbbcfc: Pulling fs layer [2022-06-07T17:16:47.531Z] 0d9ebad4ef96: Pulling fs layer [2022-06-07T17:16:47.531Z] e9a5061849ea: Pulling fs layer [2022-06-07T17:16:47.531Z] d747dcd14b5f: Pulling fs layer [2022-06-07T17:16:47.531Z] 2de7ff778b66: Pulling fs layer [2022-06-07T17:16:47.531Z] 0d9ebad4ef96: Waiting [2022-06-07T17:16:47.531Z] e9a5061849ea: Waiting [2022-06-07T17:16:47.531Z] d747dcd14b5f: Waiting [2022-06-07T17:16:47.531Z] 2de7ff778b66: Waiting [2022-06-07T17:16:47.531Z] 9712f1f96733: Verifying Checksum [2022-06-07T17:16:47.531Z] 9712f1f96733: Download complete [2022-06-07T17:16:47.792Z] 63f879dbbcfc: Verifying Checksum [2022-06-07T17:16:47.792Z] 63f879dbbcfc: Download complete [2022-06-07T17:16:48.052Z] 0d9ebad4ef96: Verifying Checksum [2022-06-07T17:16:48.052Z] 0d9ebad4ef96: Download complete [2022-06-07T17:16:48.052Z] d747dcd14b5f: Download complete [2022-06-07T17:16:48.052Z] e9a5061849ea: Verifying Checksum [2022-06-07T17:16:48.052Z] ab5ef0e58194: Verifying Checksum [2022-06-07T17:16:48.052Z] ab5ef0e58194: Download complete [2022-06-07T17:16:48.052Z] 2de7ff778b66: Verifying Checksum [2022-06-07T17:16:48.052Z] 2de7ff778b66: Download complete [2022-06-07T17:16:50.585Z] ab5ef0e58194: Pull complete [2022-06-07T17:16:50.844Z] 9712f1f96733: Pull complete [2022-06-07T17:16:51.411Z] 63f879dbbcfc: Pull complete [2022-06-07T17:16:55.605Z] 0d9ebad4ef96: Pull complete [2022-06-07T17:16:55.605Z] e9a5061849ea: Pull complete [2022-06-07T17:16:55.605Z] d747dcd14b5f: Pull complete [2022-06-07T17:16:56.174Z] 2de7ff778b66: Pull complete [2022-06-07T17:16:56.174Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-07T17:16:56.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T17:16:56.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:16:56.268Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:16:56.311Z] $ 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 [2022-06-07T17:16:58.244Z] $ docker top 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-07T17:16:58.327Z] provisioning config files... [2022-06-07T17:16:58.335Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2052882031787880127tmp [2022-06-07T17:16:58.347Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6329063394658662583tmp [2022-06-07T17:16:58.359Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6393698145033372307tmp [Pipeline] { [Pipeline] echo [2022-06-07T17:16:58.376Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:16:58.662Z] ---> sigul-configuration.sh [2022-06-07T17:16:58.662Z] gpg: directory `/root/.gnupg' created [2022-06-07T17:16:58.662Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-07T17:16:58.662Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-07T17:16:58.662Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-07T17:16:58.662Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-07T17:16:58.662Z] gpg: CAST5 encrypted data [2022-06-07T17:16:58.662Z] gpg: encrypted with 1 passphrase [2022-06-07T17:16:58.662Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-07T17:16:58.951Z] + mkdir /home/jenkins [2022-06-07T17:16:58.951Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-07T17:16:59.241Z] + 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 [2022-06-07T17:16:59.251Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:16:59.537Z] ---> sigul-install.sh [2022-06-07T17:16:59.537Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-07T17:16:59.826Z] + git tag --list [2022-06-07T17:16:59.827Z] v1.0.0 [2022-06-07T17:16:59.827Z] v1.1.0 [2022-06-07T17:16:59.827Z] v1.1.1 [2022-06-07T17:16:59.827Z] v1.1.2 [2022-06-07T17:16:59.827Z] v1.2.0 [2022-06-07T17:16:59.827Z] v1.2.1 [2022-06-07T17:16:59.827Z] v2.0.0 [2022-06-07T17:16:59.827Z] v2.1.0 [2022-06-07T17:16:59.827Z] v2.1.1-dev.1 [2022-06-07T17:16:59.827Z] v2.1.1-dev.2 [2022-06-07T17:16:59.827Z] v2.2.0 [2022-06-07T17:16:59.827Z] v2.2.1-dev.1 [2022-06-07T17:16:59.827Z] v2.2.1-dev.2 [2022-06-07T17:16:59.827Z] v2.2.1-dev.3 [2022-06-07T17:16:59.827Z] v2.2.1-dev.4 [Pipeline] sh [2022-06-07T17:17:00.116Z] + lftools sign git-tag v2.2.1-dev.4 [2022-06-07T17:17:00.688Z] Signing Git tag with Sigul... [2022-06-07T17:17:00.689Z] Signing v2.2.1-dev.4 [Pipeline] echo [2022-06-07T17:17:00.957Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:01.243Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-07T17:17:01.261Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-07T17:17:01.285Z] $ docker stop --time=1 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 [2022-06-07T17:17:02.591Z] $ docker rm -f 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-07T17:17:03.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T17:17:03.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:17:03.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:17:03.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:17:03.411Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:17:03.456Z] $ 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 [2022-06-07T17:17:03.815Z] $ docker top 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T17:17:03.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T17:17:03.916Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T17:17:04.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T17:17:04.046Z] $ docker exec 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 ssh-agent [2022-06-07T17:17:04.166Z] SSH_AUTH_SOCK=/tmp/ssh-wdAmLNOEYKE1/agent.33 [2022-06-07T17:17:04.166Z] SSH_AGENT_PID=40 [2022-06-07T17:17:04.171Z] Running ssh-add (command line suppressed) [2022-06-07T17:17:04.309Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9090377785362762747.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9090377785362762747.key) [2022-06-07T17:17:04.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T17:17:04.612Z] + git semver bump pre [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [bump_version] DEBUG bumped version:2.2.1-dev.5 [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,819 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,821 [execute] INFO git cat-file --batch-check [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,827 [execute] INFO git cat-file --batch [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T17:17:04.873Z] 2022-06-07 17:17:04,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:17:04.873Z] 2.2.1-dev.5 [Pipeline] } [2022-06-07T17:17:04.886Z] $ docker exec --env ******** --env ******** 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 ssh-agent -k [2022-06-07T17:17:04.984Z] unset SSH_AUTH_SOCK; [2022-06-07T17:17:04.985Z] unset SSH_AGENT_PID; [2022-06-07T17:17:04.985Z] echo Agent pid 40 killed; [2022-06-07T17:17:04.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T17:17:05.300Z] + git semver [Pipeline] } [2022-06-07T17:17:05.578Z] $ docker stop --time=1 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 [2022-06-07T17:17:06.890Z] $ docker rm -f 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T17:17:07.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T17:17:07.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:17:07.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T17:17:07.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:17:07.654Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:17:07.691Z] $ 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 [2022-06-07T17:17:08.039Z] $ docker top 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T17:17:08.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T17:17:08.127Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T17:17:08.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T17:17:08.264Z] $ docker exec 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc ssh-agent [2022-06-07T17:17:08.382Z] SSH_AUTH_SOCK=/tmp/ssh-CWbkjavNPyRQ/agent.34 [2022-06-07T17:17:08.382Z] SSH_AGENT_PID=40 [2022-06-07T17:17:08.388Z] Running ssh-add (command line suppressed) [2022-06-07T17:17:08.506Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6291811921683976353.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6291811921683976353.key) [2022-06-07T17:17:08.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T17:17:08.807Z] + git semver push [2022-06-07T17:17:09.068Z] 2022-06-07 17:17:08,988 [run_push] DEBUG push [2022-06-07T17:17:09.068Z] 2022-06-07 17:17:08,989 [execute] INFO git cat-file --batch-check [2022-06-07T17:17:09.068Z] 2022-06-07 17:17:08,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T17:17:09.069Z] 2022-06-07 17:17:08,993 [execute] INFO git rev-list 666b3ad81eda180ce82c03d337ffe16c2f825878 -- [2022-06-07T17:17:09.069Z] 2022-06-07 17:17:08,993 [execute] DEBUG Popen(['git', 'rev-list', '666b3ad81eda180ce82c03d337ffe16c2f825878', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-07T17:17:09.069Z] 2022-06-07 17:17:08,999 [execute] INFO git fetch -v origin [2022-06-07T17:17:09.069Z] 2022-06-07 17:17:09,000 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-07T17:17:09.640Z] 2022-06-07 17:17:09,470 [run_push] DEBUG no remote changes detected [2022-06-07T17:17:09.640Z] 2022-06-07 17:17:09,471 [execute] INFO git push origin semver [2022-06-07T17:17:09.640Z] 2022-06-07 17:17:09,471 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-07T17:17:10.212Z] 2022-06-07 17:17:10,167 [run_push] DEBUG push all version tags [2022-06-07T17:17:10.212Z] 2022-06-07 17:17:10,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-07T17:17:10.212Z] 2022-06-07 17:17:10,168 [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) [2022-06-07T17:17:11.152Z] 2022-06-07 17:17:10,811 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T17:17:11.152Z] 2.2.1-dev.5 [Pipeline] } [2022-06-07T17:17:11.165Z] $ docker exec --env ******** --env ******** 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc ssh-agent -k [2022-06-07T17:17:11.279Z] unset SSH_AUTH_SOCK; [2022-06-07T17:17:11.279Z] unset SSH_AGENT_PID; [2022-06-07T17:17:11.279Z] echo Agent pid 40 killed; [2022-06-07T17:17:11.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T17:17:11.594Z] + git semver [Pipeline] } [2022-06-07T17:17:11.871Z] $ docker stop --time=1 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc [2022-06-07T17:17:13.167Z] $ docker rm -f 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc [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 [2022-06-07T17:17:13.738Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-06-07T17:17:13.738Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T17:17:13.738Z] total 16 [2022-06-07T17:17:13.738Z] drwxr-xr-x 3 root root 4096 Jun 7 17:09 . [2022-06-07T17:17:13.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 17:16 .. [2022-06-07T17:17:13.738Z] drwxr-xr-x 2 root root 4096 Jun 7 17:09 cost [2022-06-07T17:17:13.738Z] -rw-r--r-- 1 root root 84 Jun 7 17:09 cost.csv [2022-06-07T17:17:13.738Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T17:17:13.738Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T17:17:13.738Z] total 16 [2022-06-07T17:17:13.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 17:09 . [2022-06-07T17:17:13.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 17:16 .. [2022-06-07T17:17:13.738Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 17:09 cost [2022-06-07T17:17:13.738Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 7 17:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:14.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:14.886Z] ---> package-listing.sh [2022-06-07T17:17:14.886Z] ++ facter osfamily [2022-06-07T17:17:14.886Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T17:17:15.146Z] + OS_FAMILY=debian [2022-06-07T17:17:15.146Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-06-07T17:17:15.146Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T17:17:15.146Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T17:17:15.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T17:17:15.146Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T17:17:15.146Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-07T17:17:15.146Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T17:17:15.146Z] + case "${OS_FAMILY}" in [2022-06-07T17:17:15.146Z] + dpkg -l [2022-06-07T17:17:15.146Z] + grep '^ii' [2022-06-07T17:17:15.146Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T17:17:15.146Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T17:17:15.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T17:17:15.146Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-07T17:17:15.146Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-06-07T17:17:15.146Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-06-07T17:17:15.158Z] 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 [2022-06-07T17:17:15.435Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T17:17:15.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T17:17:15.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T17:17:16.071Z] prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container [2022-06-07T17:17:16.104Z] $ 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 [2022-06-07T17:17:16.315Z] $ docker top 3f35a1c8ba0a8c884a3d3fac7693ae8a1a860e8f5b5a457d12a7e9903bdf99da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T17:17:16.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T17:17:16.950Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T17:17:17.237Z] + ls /var/log/sa-host [2022-06-07T17:17:17.237Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T17:17:17.364Z] provisioning config files... [2022-06-07T17:17:17.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5118534860038808514tmp [Pipeline] { [Pipeline] echo [2022-06-07T17:17:17.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:17.668Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T17:17:17.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:18.009Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T17:17:18.018Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:18.302Z] ---> sudo-logs.sh [2022-06-07T17:17:18.302Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T17:17:18.333Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:18.621Z] ---> job-cost.sh [2022-06-07T17:17:18.621Z] lf-activate-venv: SKIPPING [2022-06-07T17:17:18.621Z] DEBUG: total: 0.2199999988079071 [2022-06-07T17:17:18.621Z] INFO: Retrieving Stack Cost... [2022-06-07T17:17:19.193Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T17:17:19.454Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T17:17:19.463Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T17:17:19.746Z] ---> logs-deploy.sh [2022-06-07T17:17:19.746Z] lf-activate-venv: SKIPPING [2022-06-07T17:17:19.746Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/45 [2022-06-07T17:17:19.746Z] INFO: archiving workspace using pattern(s): [2022-06-07T17:17:20.689Z] Archives upload complete. [2022-06-07T17:17:20.689Z] INFO: archiving logs to Nexus