Pull request #193 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 957d6cd4a1bfbb5f83082f797b007b589f007ffd+e1fcaedc117190cf91a20be56ea49244ed6da75f (aae0e813dab5fe1c971c321dab3205f05b749b93) 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-ssh8121117733064325098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9241206220998789932.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11699196403016047440.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10585891796973358291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3754146217627370560.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2906190197807828703.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-588 in /w/workspace/gexfoundry_device-rest-go_PR-193 [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/gexfoundry_device-rest-go_PR-193 # 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 Merging remotes/origin/jakarta commit e1fcaedc117190cf91a20be56ea49244ed6da75f into PR head commit 957d6cd4a1bfbb5f83082f797b007b589f007ffd Merge succeeded, producing 957d6cd4a1bfbb5f83082f797b007b589f007ffd Checking out Revision 957d6cd4a1bfbb5f83082f797b007b589f007ffd (PR-193) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 Commit message: "build: Update SDK to version with 2.1.1 patch fixes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T22:33:22.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T22:33:22.772Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T22:33:22.873Z] ========================================================= [2022-06-01T22:33:22.873Z] EdgeX Global Pipelines Version Info [2022-06-01T22:33:22.873Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:33:23.658Z] ------------------- [2022-06-01T22:33:23.659Z] stable info: [2022-06-01T22:33:23.659Z] ------------------- [2022-06-01T22:33:23.659Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T22:33:23.659Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T22:33:23.659Z] Message: update stable to v1.0.230 [2022-06-01T22:33:24.229Z] ------------------- [2022-06-01T22:33:24.229Z] experimental info: [2022-06-01T22:33:24.229Z] ------------------- [2022-06-01T22:33:24.229Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T22:33:24.229Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T22:33:24.229Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T22:33:24.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-01T22:33:24.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-01T22:33:24.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T22:33:24.727Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T22:33:24.766Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T22:33:24.805Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T22:33:24.846Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T22:33:24.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T22:33:24.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T22:33:24.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T22:33:25.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T22:33:25.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-01T22:33:25.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T22:33:25.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T22:33:25.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T22:33:25.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T22:33:25.289Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T22:33:25.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T22:33:25.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T22:33:25.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T22:33:25.445Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T22:33:25.488Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T22:33:25.527Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T22:33:25.565Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T22:33:25.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T22:33:25.645Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T22:33:25.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo [2022-06-01T22:33:25.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo [2022-06-01T22:33:25.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo [2022-06-01T22:33:25.799Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo [2022-06-01T22:33:25.836Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 957d6cd [Pipeline] echo [2022-06-01T22:33:25.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:33:25.975Z] provisioning config files... [2022-06-01T22:33:25.990Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config6380641602583372572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:33:26.337Z] ---> docker-login.sh [2022-06-01T22:33:26.338Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:33:26.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:26.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:26.860Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:26.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:26.860Z] [2022-06-01T22:33:26.860Z] Login Succeeded [2022-06-01T22:33:26.860Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:33:26.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:26.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:26.860Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:26.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:26.860Z] [2022-06-01T22:33:26.860Z] Login Succeeded [2022-06-01T22:33:26.860Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:33:26.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:27.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:27.121Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:27.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:27.121Z] [2022-06-01T22:33:27.121Z] Login Succeeded [2022-06-01T22:33:27.121Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:33:27.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:27.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:27.121Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:27.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:27.121Z] [2022-06-01T22:33:27.121Z] Login Succeeded [2022-06-01T22:33:27.121Z] docker.io [2022-06-01T22:33:27.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:27.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:27.644Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:27.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:27.644Z] [2022-06-01T22:33:27.644Z] Login Succeeded [2022-06-01T22:33:27.644Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:33:27.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T22:33:28.288Z] + git rev-list -1 --merges 957d6cd4a1bfbb5f83082f797b007b589f007ffd~1..957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo [2022-06-01T22:33:28.336Z] -----------> git rev-list -1 --merges 957d6cd4a1bfbb5f83082f797b007b589f007ffd~1..957d6cd4a1bfbb5f83082f797b007b589f007ffd 957d6cd4a1bfbb5f83082f797b007b589f007ffd [false] [Pipeline] sh [2022-06-01T22:33:28.652Z] + git log --format=format:%s -1 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo [2022-06-01T22:33:28.686Z] ========================================================= [2022-06-01T22:33:28.686Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T22:33:28.686Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:33:29.122Z] + git log --format=format:%s -1 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo [2022-06-01T22:33:29.160Z] [semverPrep] GIT_COMMIT: 957d6cd4a1bfbb5f83082f797b007b589f007ffd, Commit Message: build: Update SDK to version with 2.1.1 patch fixes [Pipeline] echo [2022-06-01T22:33:29.188Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T22:33:29.573Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T22:33:29.573Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T22:33:29.573Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T22:33:29.573Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T22:33:29.573Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T22:33:29.573Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T22:33:29.573Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:33:30.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:33:30.071Z] [2022-06-01T22:33:30.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:33:30.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:33:30.450Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T22:33:30.450Z] 1fe172e4850f: Pulling fs layer [2022-06-01T22:33:30.450Z] caf521ccaac6: Pulling fs layer [2022-06-01T22:33:30.450Z] 3ead6fa29328: Pulling fs layer [2022-06-01T22:33:30.450Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T22:33:30.450Z] a8d5f1318db7: Pulling fs layer [2022-06-01T22:33:30.450Z] c427282e49a2: Pulling fs layer [2022-06-01T22:33:30.450Z] 1827001aaf11: Pulling fs layer [2022-06-01T22:33:30.450Z] 0714d37db230: Pulling fs layer [2022-06-01T22:33:30.450Z] ac28cf19c067: Pulling fs layer [2022-06-01T22:33:30.450Z] ca983d60f3e2: Pulling fs layer [2022-06-01T22:33:30.450Z] 9f894cec8388: Pulling fs layer [2022-06-01T22:33:30.450Z] ac28cf19c067: Waiting [2022-06-01T22:33:30.450Z] 9f894cec8388: Waiting [2022-06-01T22:33:30.450Z] 1827001aaf11: Waiting [2022-06-01T22:33:30.450Z] 0714d37db230: Waiting [2022-06-01T22:33:30.450Z] ca983d60f3e2: Waiting [2022-06-01T22:33:30.450Z] a8d5f1318db7: Waiting [2022-06-01T22:33:30.450Z] 5c2a1cbceb83: Waiting [2022-06-01T22:33:30.450Z] c427282e49a2: Waiting [2022-06-01T22:33:30.450Z] caf521ccaac6: Download complete [2022-06-01T22:33:30.450Z] 5c2a1cbceb83: Download complete [2022-06-01T22:33:30.714Z] a8d5f1318db7: Verifying Checksum [2022-06-01T22:33:30.714Z] a8d5f1318db7: Download complete [2022-06-01T22:33:30.714Z] 3ead6fa29328: Verifying Checksum [2022-06-01T22:33:30.714Z] 3ead6fa29328: Download complete [2022-06-01T22:33:30.714Z] c427282e49a2: Verifying Checksum [2022-06-01T22:33:30.714Z] c427282e49a2: Download complete [2022-06-01T22:33:30.714Z] 0714d37db230: Download complete [2022-06-01T22:33:30.714Z] ac28cf19c067: Verifying Checksum [2022-06-01T22:33:30.714Z] ac28cf19c067: Download complete [2022-06-01T22:33:30.714Z] ca983d60f3e2: Download complete [2022-06-01T22:33:30.714Z] 9f894cec8388: Download complete [2022-06-01T22:33:30.714Z] 1fe172e4850f: Download complete [2022-06-01T22:33:30.977Z] 1827001aaf11: Verifying Checksum [2022-06-01T22:33:30.977Z] 1827001aaf11: Download complete [2022-06-01T22:33:31.918Z] 1fe172e4850f: Pull complete [2022-06-01T22:33:32.179Z] caf521ccaac6: Pull complete [2022-06-01T22:33:32.751Z] 3ead6fa29328: Pull complete [2022-06-01T22:33:32.751Z] 5c2a1cbceb83: Pull complete [2022-06-01T22:33:33.013Z] a8d5f1318db7: Pull complete [2022-06-01T22:33:33.013Z] c427282e49a2: Pull complete [2022-06-01T22:33:34.925Z] 1827001aaf11: Pull complete [2022-06-01T22:33:34.925Z] 0714d37db230: Pull complete [2022-06-01T22:33:35.189Z] ac28cf19c067: Pull complete [2022-06-01T22:33:35.189Z] ca983d60f3e2: Pull complete [2022-06-01T22:33:35.451Z] 9f894cec8388: Pull complete [2022-06-01T22:33:35.452Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T22:33:35.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T22:33:35.452Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:33:35.700Z] prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container [2022-06-01T22:33:35.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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/py-git-semver:latest cat [2022-06-01T22:33:37.453Z] $ docker top 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb -eo pid,comm [2022-06-01T22:33:37.524Z] 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-01T22:33:37.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T22:33:37.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:33:37.642Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:33:37.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:33:37.799Z] $ docker exec 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent [2022-06-01T22:33:37.930Z] SSH_AUTH_SOCK=/tmp/ssh-GBg481hWwAeo/agent.33 [2022-06-01T22:33:37.930Z] SSH_AGENT_PID=40 [2022-06-01T22:33:37.936Z] Running ssh-add (command line suppressed) [2022-06-01T22:33:38.072Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_5449200601801601750.key (/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_5449200601801601750.key) [2022-06-01T22:33:38.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:33:38.409Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T22:33:38.440Z] $ docker exec --env ******** --env ******** 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent -k [2022-06-01T22:33:38.564Z] unset SSH_AUTH_SOCK; [2022-06-01T22:33:38.564Z] unset SSH_AGENT_PID; [2022-06-01T22:33:38.564Z] echo Agent pid 40 killed; [2022-06-01T22:33:38.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T22:33:38.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T22:33:38.663Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T22:33:38.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T22:33:38.801Z] $ docker exec 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent [2022-06-01T22:33:38.933Z] SSH_AUTH_SOCK=/tmp/ssh-yvvFaEVhTA0Y/agent.76 [2022-06-01T22:33:38.933Z] SSH_AGENT_PID=82 [2022-06-01T22:33:38.938Z] Running ssh-add (command line suppressed) [2022-06-01T22:33:39.056Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_4641514185439409814.key (/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_4641514185439409814.key) [2022-06-01T22:33:39.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T22:33:39.400Z] + git semver init [2022-06-01T22:33:39.661Z] 2022-06-01 22:33:39,615 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T22:33:39.661Z] 2022-06-01 22:33:39,615 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver [2022-06-01T22:33:39.661Z] 2022-06-01 22:33:39,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-193/.semver [2022-06-01T22:33:39.661Z] 2022-06-01 22:33:39,616 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-193/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193, universal_newlines=False, shell=None, istream=None) [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,528 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-193/.git/info/exclude [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 with force:False [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,529 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,533 [execute] INFO git cat-file --batch-check [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,539 [execute] INFO git cat-file --batch [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T22:33:40.613Z] 2022-06-01 22:33:40,545 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 [2022-06-01T22:33:40.613Z] 0.0.0 [Pipeline] } [2022-06-01T22:33:40.648Z] $ docker exec --env ******** --env ******** 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent -k [2022-06-01T22:33:40.776Z] unset SSH_AUTH_SOCK; [2022-06-01T22:33:40.777Z] unset SSH_AGENT_PID; [2022-06-01T22:33:40.777Z] echo Agent pid 82 killed; [2022-06-01T22:33:40.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T22:33:41.219Z] + git semver [Pipeline] } [2022-06-01T22:33:41.513Z] $ docker stop --time=1 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb [2022-06-01T22:33:42.874Z] $ docker rm -f 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:33:43.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T22:33:43.629Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T22:33:43.646Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-01T22:33:44.240Z] provisioning config files... [2022-06-01T22:33:44.253Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config6303989003634083937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:33:44.608Z] ---> docker-login.sh [2022-06-01T22:33:44.608Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:33:44.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:44.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:44.608Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:44.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:44.608Z] [2022-06-01T22:33:44.608Z] Login Succeeded [2022-06-01T22:33:44.608Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:33:44.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:44.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:44.872Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:44.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:44.872Z] [2022-06-01T22:33:44.872Z] Login Succeeded [2022-06-01T22:33:44.872Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:33:44.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:44.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:44.872Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:44.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:44.872Z] [2022-06-01T22:33:44.872Z] Login Succeeded [2022-06-01T22:33:44.872Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:33:45.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:45.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:45.133Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:45.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:45.133Z] [2022-06-01T22:33:45.133Z] Login Succeeded [2022-06-01T22:33:45.133Z] docker.io [2022-06-01T22:33:45.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:33:45.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:33:45.396Z] Configure a credential helper to remove this warning. See [2022-06-01T22:33:45.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:33:45.396Z] [2022-06-01T22:33:45.396Z] Login Succeeded [2022-06-01T22:33:45.396Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:33:45.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T22:33:45.600Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:33:45.632Z] ========================================================= [2022-06-01T22:33:45.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-01T22:33:45.632Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:33:46.087Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T22:33:46.349Z] Sending build context to Docker daemon 21.61MB [2022-06-01T22:33:46.349Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:33:46.349Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-01T22:33:46.349Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-01T22:33:46.349Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T22:33:46.349Z] 666ba61612fd: Pulling fs layer [2022-06-01T22:33:46.349Z] 8ed8ca486205: Pulling fs layer [2022-06-01T22:33:46.349Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T22:33:46.349Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T22:33:46.349Z] 812f408151ee: Pulling fs layer [2022-06-01T22:33:46.349Z] bab7bd504b26: Pulling fs layer [2022-06-01T22:33:46.349Z] 070449caade9: Pulling fs layer [2022-06-01T22:33:46.349Z] 8f1a5288e3a6: Pulling fs layer [2022-06-01T22:33:46.349Z] 4fe6c5a15a65: Waiting [2022-06-01T22:33:46.349Z] 22a0e8bec74d: Waiting [2022-06-01T22:33:46.349Z] 812f408151ee: Waiting [2022-06-01T22:33:46.349Z] bab7bd504b26: Waiting [2022-06-01T22:33:46.349Z] 070449caade9: Waiting [2022-06-01T22:33:46.349Z] 8f1a5288e3a6: Waiting [2022-06-01T22:33:46.349Z] 8ed8ca486205: Download complete [2022-06-01T22:33:46.349Z] 666ba61612fd: Download complete [2022-06-01T22:33:46.349Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T22:33:46.349Z] 22a0e8bec74d: Download complete [2022-06-01T22:33:46.349Z] 812f408151ee: Verifying Checksum [2022-06-01T22:33:46.349Z] 812f408151ee: Download complete [2022-06-01T22:33:46.349Z] bab7bd504b26: Verifying Checksum [2022-06-01T22:33:46.349Z] bab7bd504b26: Download complete [2022-06-01T22:33:46.349Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T22:33:46.349Z] 59bf1c3509f3: Download complete [2022-06-01T22:33:46.611Z] 070449caade9: Verifying Checksum [2022-06-01T22:33:46.611Z] 070449caade9: Download complete [2022-06-01T22:33:46.611Z] 59bf1c3509f3: Pull complete [2022-06-01T22:33:46.611Z] 666ba61612fd: Pull complete [2022-06-01T22:33:46.872Z] 8ed8ca486205: Pull complete [2022-06-01T22:33:47.132Z] 8f1a5288e3a6: Verifying Checksum [2022-06-01T22:33:47.132Z] 8f1a5288e3a6: Download complete [2022-06-01T22:33:47.132Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T22:33:47.132Z] 4fe6c5a15a65: Download complete [2022-06-01T22:33:51.329Z] 4fe6c5a15a65: Pull complete [2022-06-01T22:33:51.329Z] 22a0e8bec74d: Pull complete [2022-06-01T22:33:51.329Z] 812f408151ee: Pull complete [2022-06-01T22:33:51.329Z] bab7bd504b26: Pull complete [2022-06-01T22:33:51.329Z] 070449caade9: Pull complete [2022-06-01T22:33:53.236Z] 8f1a5288e3a6: Pull complete [2022-06-01T22:33:53.236Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-01T22:33:53.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-01T22:33:53.236Z] ---> c47586b81864 [2022-06-01T22:33:53.236Z] Step 3/11 : ARG MAKE='make build' [2022-06-01T22:33:55.786Z] ---> Running in 672e4d5876eb [2022-06-01T22:33:55.786Z] Removing intermediate container 672e4d5876eb [2022-06-01T22:33:55.786Z] ---> e7e63031d79b [2022-06-01T22:33:55.786Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:33:55.786Z] ---> Running in 2c3a10843edb [2022-06-01T22:33:55.786Z] Removing intermediate container 2c3a10843edb [2022-06-01T22:33:55.786Z] ---> 623d5625284c [2022-06-01T22:33:55.786Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:33:55.786Z] ---> Running in e1c5dae53f1f [2022-06-01T22:33:56.047Z] Removing intermediate container e1c5dae53f1f [2022-06-01T22:33:56.047Z] ---> 2083cf266ae0 [2022-06-01T22:33:56.047Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:33:56.047Z] ---> Running in b308045b7c89 [2022-06-01T22:33:56.620Z] Removing intermediate container b308045b7c89 [2022-06-01T22:33:56.620Z] ---> cc66a9cdfc25 [2022-06-01T22:33:56.620Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:33:56.620Z] ---> Running in ee986b192e72 [2022-06-01T22:33:56.883Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:33:57.828Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:33:58.089Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T22:33:58.350Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T22:33:58.350Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T22:33:58.350Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T22:33:58.613Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T22:33:58.613Z] OK: 224 MiB in 56 packages [2022-06-01T22:33:58.882Z] Removing intermediate container ee986b192e72 [2022-06-01T22:33:58.882Z] ---> 1f6888c21fd9 [2022-06-01T22:33:58.882Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-01T22:33:59.074Z] Still waiting to schedule task [2022-06-01T22:33:59.074Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-01T22:33:59.143Z] ---> Running in e4e07c73bb40 [2022-06-01T22:33:59.143Z] Removing intermediate container e4e07c73bb40 [2022-06-01T22:33:59.143Z] ---> edc4db591aba [2022-06-01T22:33:59.143Z] Step 9/11 : COPY . . [2022-06-01T22:34:00.084Z] ---> 0f7179ae6e6f [2022-06-01T22:34:00.084Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:34:00.345Z] ---> Running in 44487074a30b [2022-06-01T22:34:00.606Z] skipping... [2022-06-01T22:34:00.892Z] Removing intermediate container 44487074a30b [2022-06-01T22:34:00.892Z] ---> 515fda6a8917 [2022-06-01T22:34:00.892Z] Step 11/11 : RUN $MAKE [2022-06-01T22:34:00.892Z] ---> Running in b7507ec8ab80 [2022-06-01T22:34:01.463Z] noop [2022-06-01T22:34:01.724Z] Removing intermediate container b7507ec8ab80 [2022-06-01T22:34:01.725Z] ---> 0453a04f0500 [2022-06-01T22:34:01.725Z] Successfully built 0453a04f0500 [2022-06-01T22:34:01.725Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:34:02.167Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T22:34:02.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:34:02.325Z] prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container [2022-06-01T22:34:02.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T22:34:02.884Z] $ docker top 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:34:03.280Z] + go version [2022-06-01T22:34:03.280Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T22:34:03.320Z] $ docker stop --time=1 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 [2022-06-01T22:34:04.604Z] $ docker rm -f 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:34:05.313Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T22:34:05.313Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:34:05.477Z] prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container [2022-06-01T22:34:05.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T22:34:06.028Z] $ docker top c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:34:06.516Z] + make test [2022-06-01T22:34:06.516Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-01T22:34:06.794Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T22:34:13.367Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T22:34:13.367Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2022-06-01T22:34:13.367Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T22:34:16.661Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T22:34:16.661Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T22:34:16.661Z] ./bin/test-attribution-txt.sh [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-01T22:34:17.232Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T22:34:17.232Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T22:34:17.232Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T22:34:17.232Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T22:34:17.232Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T22:34:17.232Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T22:34:17.232Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T22:34:17.232Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T22:34:17.232Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T22:34:17.232Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T22:34:17.232Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T22:34:17.232Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T22:34:17.493Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T22:34:17.493Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T22:34:17.493Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T22:34:17.493Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T22:34:17.493Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T22:34:17.493Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T22:34:17.493Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T22:34:17.493Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T22:34:17.493Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T22:34:17.493Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T22:34:17.493Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T22:34:17.493Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T22:34:17.753Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T22:34:17.753Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T22:34:17.753Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T22:34:17.753Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T22:34:17.753Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T22:34:17.753Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T22:34:17.753Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T22:34:18.725Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:34:19.083Z] + go mod tidy [2022-06-01T22:34:19.083Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T22:34:19.083Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T22:34:19.083Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T22:34:19.083Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T22:34:19.083Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T22:34:19.083Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T22:34:19.083Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T22:34:19.345Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T22:34:19.345Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T22:34:19.345Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T22:34:19.345Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T22:34:19.345Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T22:34:19.345Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T22:34:19.345Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T22:34:19.345Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-06-01T22:34:19.345Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T22:34:19.345Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T22:34:19.345Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T22:34:19.345Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [Pipeline] } [2022-06-01T22:34:19.635Z] $ docker stop --time=1 c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d [2022-06-01T22:34:22.083Z] $ docker rm -f c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:34:22.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T22:34:22.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T22:34:23.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T22:34:23.724Z] + ls -al . [2022-06-01T22:34:23.724Z] total 184 [2022-06-01T22:34:23.724Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 22:34 . [2022-06-01T22:34:23.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:33 .. [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:33 .dockerignore [2022-06-01T22:34:23.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:33 .git [2022-06-01T22:34:23.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 .github [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:33 .gitignore [2022-06-01T22:34:23.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:33 .semver [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:33 Attribution.txt [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:33 CHANGELOG.md [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:33 Dockerfile [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:33 GOVERNANCE.md [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:33 Jenkinsfile [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:33 LICENSE [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:33 Makefile [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:33 OWNERS.md [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:33 README.md [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 22:33 VERSION [2022-06-01T22:34:23.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 bin [2022-06-01T22:34:23.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:33 cmd [2022-06-01T22:34:23.724Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:34 coverage.out [2022-06-01T22:34:23.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 driver [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:34 go.mod [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:33 go.sum [2022-06-01T22:34:23.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:33 snap [2022-06-01T22:34:23.724Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:33 vendor [2022-06-01T22:34:23.724Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:34:24.116Z] + 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=957d6cd4a1bfbb5f83082f797b007b589f007ffd --label arch=amd64 --label version=0.0.0 . [2022-06-01T22:34:24.378Z] Sending build context to Docker daemon 21.62MB [2022-06-01T22:34:24.378Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:34:24.378Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-01T22:34:24.378Z] ---> 0453a04f0500 [2022-06-01T22:34:24.378Z] Step 3/24 : ARG MAKE='make build' [2022-06-01T22:34:24.378Z] ---> Running in 84664cb244fa [2022-06-01T22:34:24.639Z] Removing intermediate container 84664cb244fa [2022-06-01T22:34:24.639Z] ---> 877eaa3bcc2c [2022-06-01T22:34:24.639Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:34:24.639Z] ---> Running in 97eac16bf0ee [2022-06-01T22:34:24.639Z] Removing intermediate container 97eac16bf0ee [2022-06-01T22:34:24.639Z] ---> f4f0f6dedd55 [2022-06-01T22:34:24.639Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:34:24.639Z] ---> Running in 0ca2dce9b221 [2022-06-01T22:34:24.900Z] Removing intermediate container 0ca2dce9b221 [2022-06-01T22:34:24.900Z] ---> b550cc7f8d3d [2022-06-01T22:34:24.900Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:34:24.900Z] ---> Running in 7ce45ac5b9a8 [2022-06-01T22:34:25.478Z] Removing intermediate container 7ce45ac5b9a8 [2022-06-01T22:34:25.478Z] ---> 920a1c03579a [2022-06-01T22:34:25.478Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:34:25.478Z] ---> Running in 21186425152b [2022-06-01T22:34:26.050Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:34:26.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:34:26.884Z] OK: 224 MiB in 56 packages [2022-06-01T22:34:27.456Z] Removing intermediate container 21186425152b [2022-06-01T22:34:27.456Z] ---> 55b0cb8c5e9e [2022-06-01T22:34:27.456Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-01T22:34:27.456Z] ---> Running in de9e5ffef79a [2022-06-01T22:34:27.456Z] Removing intermediate container de9e5ffef79a [2022-06-01T22:34:27.456Z] ---> 15244a03f7ad [2022-06-01T22:34:27.456Z] Step 9/24 : COPY . . [2022-06-01T22:34:28.907Z] ---> 18329f5e88ed [2022-06-01T22:34:28.907Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:34:28.907Z] ---> Running in 426c7f0ce5eb [2022-06-01T22:34:28.907Z] skipping... [2022-06-01T22:34:29.173Z] Removing intermediate container 426c7f0ce5eb [2022-06-01T22:34:29.173Z] ---> ecdd0f0ed759 [2022-06-01T22:34:29.173Z] Step 11/24 : RUN $MAKE [2022-06-01T22:34:29.435Z] ---> Running in 36d605ec5505 [2022-06-01T22:34:29.695Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-06-01T22:34:37.819Z] Removing intermediate container 36d605ec5505 [2022-06-01T22:34:37.819Z] ---> 2c2e5f3d78af [2022-06-01T22:34:37.819Z] Step 12/24 : FROM alpine:3.14 [2022-06-01T22:34:37.819Z] 3.14: Pulling from library/alpine [2022-06-01T22:34:37.819Z] 8663204ce13b: Pulling fs layer [2022-06-01T22:34:37.819Z] 8663204ce13b: Verifying Checksum [2022-06-01T22:34:37.819Z] 8663204ce13b: Download complete [2022-06-01T22:34:37.819Z] 8663204ce13b: Pull complete [2022-06-01T22:34:38.081Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T22:34:38.081Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T22:34:38.081Z] ---> e04c818066af [2022-06-01T22:34:38.081Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T22:34:38.081Z] ---> Running in 0d11e359b97b [2022-06-01T22:34:38.081Z] Removing intermediate container 0d11e359b97b [2022-06-01T22:34:38.081Z] ---> 8e0a10279d7a [2022-06-01T22:34:38.081Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T22:34:38.081Z] ---> Running in 4f4c53ff15cd [2022-06-01T22:34:38.340Z] Removing intermediate container 4f4c53ff15cd [2022-06-01T22:34:38.340Z] ---> ce4f38b4dfb4 [2022-06-01T22:34:38.340Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T22:34:38.340Z] ---> Running in f6510b6ec4bc [2022-06-01T22:34:38.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-01T22:34:39.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-01T22:34:39.174Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T22:34:39.174Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T22:34:39.174Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T22:34:39.174Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T22:34:39.174Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T22:34:39.453Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T22:34:39.453Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T22:34:39.453Z] OK: 8 MiB in 20 packages [2022-06-01T22:34:39.714Z] Removing intermediate container f6510b6ec4bc [2022-06-01T22:34:39.714Z] ---> e721d1e053de [2022-06-01T22:34:39.714Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T22:34:40.286Z] ---> a5df35808462 [2022-06-01T22:34:40.286Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T22:34:40.286Z] ---> 04edf9c1ed9f [2022-06-01T22:34:40.286Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T22:34:40.549Z] ---> 7359b3da5d85 [2022-06-01T22:34:40.549Z] Step 19/24 : EXPOSE 59986 [2022-06-01T22:34:40.549Z] ---> Running in 8853408f9b95 [2022-06-01T22:34:40.549Z] Removing intermediate container 8853408f9b95 [2022-06-01T22:34:40.549Z] ---> 7ff39d01f00f [2022-06-01T22:34:40.549Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-01T22:34:40.549Z] ---> Running in 1091bc9beb30 [2022-06-01T22:34:40.810Z] Removing intermediate container 1091bc9beb30 [2022-06-01T22:34:40.810Z] ---> cfcde1fc3b64 [2022-06-01T22:34:40.810Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T22:34:40.810Z] ---> Running in 3e2379449703 [2022-06-01T22:34:40.810Z] Removing intermediate container 3e2379449703 [2022-06-01T22:34:40.810Z] ---> a06ba9a1c20e [2022-06-01T22:34:40.810Z] Step 22/24 : LABEL arch=amd64 [2022-06-01T22:34:40.810Z] ---> Running in 0f83dbceca88 [2022-06-01T22:34:41.071Z] Removing intermediate container 0f83dbceca88 [2022-06-01T22:34:41.071Z] ---> f65d600b9010 [2022-06-01T22:34:41.071Z] Step 23/24 : LABEL git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd [2022-06-01T22:34:41.071Z] ---> Running in 1be0c7074115 [2022-06-01T22:34:41.071Z] Removing intermediate container 1be0c7074115 [2022-06-01T22:34:41.071Z] ---> cf244fd55744 [2022-06-01T22:34:41.071Z] Step 24/24 : LABEL version=0.0.0 [2022-06-01T22:34:41.071Z] ---> Running in 9bedecab6dbc [2022-06-01T22:34:41.333Z] Removing intermediate container 9bedecab6dbc [2022-06-01T22:34:41.333Z] ---> 04003774362f [2022-06-01T22:34:41.333Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T22:34:41.333Z] Successfully built 04003774362f [2022-06-01T22:34:41.333Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-01T22:34:42.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:34:42.162Z] [2022-06-01T22:34:42.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:34:42.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:34:42.541Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T22:34:42.541Z] 5eb5b503b376: Pulling fs layer [2022-06-01T22:34:42.541Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T22:34:42.541Z] ec43610c2a17: Pulling fs layer [2022-06-01T22:34:42.541Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T22:34:42.541Z] 33b1e0a273af: Pulling fs layer [2022-06-01T22:34:42.541Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T22:34:42.541Z] 2f39f015ded8: Pulling fs layer [2022-06-01T22:34:42.541Z] 33b1e0a273af: Waiting [2022-06-01T22:34:42.541Z] 5d3b04190fa2: Waiting [2022-06-01T22:34:42.541Z] 2f39f015ded8: Waiting [2022-06-01T22:34:42.541Z] 3a2ae6a8a46f: Waiting [2022-06-01T22:34:42.541Z] 5c69ac0246d0: Download complete [2022-06-01T22:34:42.541Z] 3a2ae6a8a46f: Download complete [2022-06-01T22:34:42.541Z] ec43610c2a17: Verifying Checksum [2022-06-01T22:34:42.541Z] ec43610c2a17: Download complete [2022-06-01T22:34:42.541Z] 33b1e0a273af: Verifying Checksum [2022-06-01T22:34:42.541Z] 33b1e0a273af: Download complete [2022-06-01T22:34:42.541Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T22:34:42.541Z] 5d3b04190fa2: Download complete [2022-06-01T22:34:42.802Z] 5eb5b503b376: Verifying Checksum [2022-06-01T22:34:42.802Z] 5eb5b503b376: Download complete [2022-06-01T22:34:43.374Z] 2f39f015ded8: Download complete [2022-06-01T22:34:43.944Z] 5eb5b503b376: Pull complete [2022-06-01T22:34:44.203Z] 5c69ac0246d0: Pull complete [2022-06-01T22:34:44.772Z] ec43610c2a17: Pull complete [2022-06-01T22:34:44.772Z] 3a2ae6a8a46f: Pull complete [2022-06-01T22:34:45.034Z] 33b1e0a273af: Pull complete [2022-06-01T22:34:45.034Z] 5d3b04190fa2: Pull complete [2022-06-01T22:34:50.305Z] 2f39f015ded8: Pull complete [2022-06-01T22:34:50.305Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T22:34:50.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:34:50.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:34:50.522Z] prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container [2022-06-01T22:34:50.559Z] $ 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/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T22:34:52.794Z] $ docker top 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:34:53.263Z] ---> job-cost.sh [2022-06-01T22:34:53.263Z] lf-activate-venv: SKIPPING [2022-06-01T22:34:53.263Z] INFO: No Stack... [2022-06-01T22:34:53.834Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T22:34:54.095Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T22:34:54.411Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-193/archives/cost.csv [2022-06-01T22:34:54.411Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T22:34:54.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [2022-06-01T22:34:54.453Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] did not exist. Created. [2022-06-01T22:34:54.453Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T22:34:54.836Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T22:34:54.899Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T22:34:54.914Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T22:34:54.991Z] $ docker stop --time=1 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a [2022-06-01T22:34:56.151Z] $ docker rm -f 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T22:35:38.018Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-589 in /w/workspace/gexfoundry_device-rest-go_PR-193 [Pipeline] { [Pipeline] ws [2022-06-01T22:35:38.056Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-01T22:35:38.181Z] The recommended git tool is: git [2022-06-01T22:35:44.282Z] using credential edgex-jenkins-ssh [2022-06-01T22:35:44.299Z] Cloning the remote Git repository [2022-06-01T22:35:44.358Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T22:35:44.429Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-01T22:35:44.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T22:35:44.507Z] > git --version # timeout=10 [2022-06-01T22:35:44.533Z] > git --version # 'git version 2.25.1' [2022-06-01T22:35:44.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T22:35:44.696Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T22:35:47.018Z] Merging remotes/origin/jakarta commit e1fcaedc117190cf91a20be56ea49244ed6da75f into PR head commit 957d6cd4a1bfbb5f83082f797b007b589f007ffd [2022-06-01T22:35:46.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T22:35:46.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T22:35:46.454Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T22:35:46.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T22:35:46.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T22:35:46.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-06-01T22:35:47.040Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T22:35:47.060Z] > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 [2022-06-01T22:35:47.605Z] Merge succeeded, producing 957d6cd4a1bfbb5f83082f797b007b589f007ffd [2022-06-01T22:35:47.605Z] Checking out Revision 957d6cd4a1bfbb5f83082f797b007b589f007ffd (PR-193) [2022-06-01T22:35:47.523Z] > git remote # timeout=10 [2022-06-01T22:35:47.540Z] > git config --get remote.origin.url # timeout=10 [2022-06-01T22:35:47.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T22:35:47.566Z] > git merge e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 [2022-06-01T22:35:47.591Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-01T22:35:47.614Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T22:35:47.627Z] > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 [2022-06-01T22:35:52.158Z] Commit message: "build: Update SDK to version with 2.1.1 patch fixes" [2022-06-01T22:35:52.215Z] > git --version # timeout=10 [2022-06-01T22:35:52.233Z] > git --version # 'git version 2.25.1' [2022-06-01T22:35:52.247Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:35:53.239Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T22:35:53.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T22:35:53.239Z] Dload Upload Total Spent Left Speed [2022-06-01T22:35:53.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-06-01T22:35:54.281Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T22:35:54.631Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-06-01T22:35:54.631Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T22:35:54.631Z] { [2022-06-01T22:35:54.631Z] "registry-mirrors": [ [2022-06-01T22:35:54.631Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T22:35:54.631Z] ], [2022-06-01T22:35:54.631Z] "bip": "10.250.0.254/24", [2022-06-01T22:35:54.631Z] "hosts": [ [2022-06-01T22:35:54.631Z] "tcp://0.0.0.0:5555", [2022-06-01T22:35:54.631Z] "unix:///var/run/docker.sock" [2022-06-01T22:35:54.631Z] ], [2022-06-01T22:35:54.631Z] "mtu": 1458, [2022-06-01T22:35:54.631Z] "selinux-enabled": true, [2022-06-01T22:35:54.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T22:35:54.631Z] } [Pipeline] sh [2022-06-01T22:35:54.989Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T22:35:55.338Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:36:13.722Z] provisioning config files... [2022-06-01T22:36:13.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config912644257378309255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:36:14.131Z] ---> docker-login.sh [2022-06-01T22:36:14.131Z] nexus3.edgexfoundry.org:10001 [2022-06-01T22:36:14.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:36:15.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:36:15.004Z] Configure a credential helper to remove this warning. See [2022-06-01T22:36:15.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:36:15.004Z] [2022-06-01T22:36:15.004Z] Login Succeeded [2022-06-01T22:36:15.005Z] nexus3.edgexfoundry.org:10002 [2022-06-01T22:36:15.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:36:15.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:36:15.278Z] Configure a credential helper to remove this warning. See [2022-06-01T22:36:15.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:36:15.278Z] [2022-06-01T22:36:15.278Z] Login Succeeded [2022-06-01T22:36:15.278Z] nexus3.edgexfoundry.org:10003 [2022-06-01T22:36:15.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:36:15.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:36:15.878Z] Configure a credential helper to remove this warning. See [2022-06-01T22:36:15.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:36:15.878Z] [2022-06-01T22:36:15.878Z] Login Succeeded [2022-06-01T22:36:15.878Z] nexus3.edgexfoundry.org:10004 [2022-06-01T22:36:16.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:36:16.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:36:16.431Z] Configure a credential helper to remove this warning. See [2022-06-01T22:36:16.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:36:16.431Z] [2022-06-01T22:36:16.431Z] Login Succeeded [2022-06-01T22:36:16.431Z] docker.io [2022-06-01T22:36:16.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T22:36:16.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T22:36:16.978Z] Configure a credential helper to remove this warning. See [2022-06-01T22:36:16.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T22:36:16.978Z] [2022-06-01T22:36:16.978Z] Login Succeeded [2022-06-01T22:36:16.978Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T22:36:17.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T22:36:17.400Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T22:36:17.434Z] ========================================================= [2022-06-01T22:36:17.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-01T22:36:17.434Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:36:17.941Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-01T22:36:18.926Z] Sending build context to Docker daemon 11.13MB [2022-06-01T22:36:19.201Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:36:19.201Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-01T22:36:19.201Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T22:36:19.201Z] 9b3977197b4f: Pulling fs layer [2022-06-01T22:36:19.201Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T22:36:19.201Z] 94645a83ff95: Pulling fs layer [2022-06-01T22:36:19.201Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T22:36:19.201Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T22:36:19.201Z] 63b1bc5785f6: Pulling fs layer [2022-06-01T22:36:19.201Z] 626d30ff41c6: Pulling fs layer [2022-06-01T22:36:19.201Z] de1d54c125be: Pulling fs layer [2022-06-01T22:36:19.201Z] 3f3a8bcf1eab: Waiting [2022-06-01T22:36:19.201Z] 0c92f367c5e7: Waiting [2022-06-01T22:36:19.201Z] 63b1bc5785f6: Waiting [2022-06-01T22:36:19.201Z] 626d30ff41c6: Waiting [2022-06-01T22:36:19.201Z] de1d54c125be: Waiting [2022-06-01T22:36:19.201Z] 94645a83ff95: Verifying Checksum [2022-06-01T22:36:19.201Z] 94645a83ff95: Download complete [2022-06-01T22:36:19.201Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T22:36:19.201Z] 1a89e8eeedd5: Download complete [2022-06-01T22:36:19.201Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T22:36:19.201Z] 0c92f367c5e7: Download complete [2022-06-01T22:36:19.477Z] 9b3977197b4f: Verifying Checksum [2022-06-01T22:36:19.477Z] 9b3977197b4f: Download complete [2022-06-01T22:36:19.477Z] 63b1bc5785f6: Verifying Checksum [2022-06-01T22:36:19.477Z] 63b1bc5785f6: Download complete [2022-06-01T22:36:19.477Z] 626d30ff41c6: Verifying Checksum [2022-06-01T22:36:19.477Z] 626d30ff41c6: Download complete [2022-06-01T22:36:20.079Z] 9b3977197b4f: Pull complete [2022-06-01T22:36:20.689Z] 1a89e8eeedd5: Pull complete [2022-06-01T22:36:20.975Z] 94645a83ff95: Pull complete [2022-06-01T22:36:21.252Z] de1d54c125be: Verifying Checksum [2022-06-01T22:36:21.252Z] de1d54c125be: Download complete [2022-06-01T22:36:21.849Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T22:36:21.849Z] 3f3a8bcf1eab: Download complete [2022-06-01T22:36:34.251Z] 3f3a8bcf1eab: Pull complete [2022-06-01T22:36:34.251Z] 0c92f367c5e7: Pull complete [2022-06-01T22:36:34.251Z] 63b1bc5785f6: Pull complete [2022-06-01T22:36:34.533Z] 626d30ff41c6: Pull complete [2022-06-01T22:36:41.261Z] de1d54c125be: Pull complete [2022-06-01T22:36:41.261Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-01T22:36:41.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-01T22:36:41.261Z] ---> 5f011755c4a2 [2022-06-01T22:36:41.261Z] Step 3/11 : ARG MAKE='make build' [2022-06-01T22:36:42.240Z] ---> Running in 792c5bb3e675 [2022-06-01T22:36:42.514Z] Removing intermediate container 792c5bb3e675 [2022-06-01T22:36:42.514Z] ---> f8ce5391b6b9 [2022-06-01T22:36:42.514Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:36:42.514Z] ---> Running in de77dde5be8a [2022-06-01T22:36:42.788Z] Removing intermediate container de77dde5be8a [2022-06-01T22:36:42.788Z] ---> 966c153c1e46 [2022-06-01T22:36:42.788Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:36:42.788Z] ---> Running in 04ce022a8d59 [2022-06-01T22:36:43.072Z] Removing intermediate container 04ce022a8d59 [2022-06-01T22:36:43.072Z] ---> 5a32efe579ae [2022-06-01T22:36:43.072Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:36:43.347Z] ---> Running in 5430ff59f56e [2022-06-01T22:36:45.324Z] Removing intermediate container 5430ff59f56e [2022-06-01T22:36:45.324Z] ---> 4548341a5889 [2022-06-01T22:36:45.324Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:36:45.324Z] ---> Running in 77d3fe2c055c [2022-06-01T22:36:47.316Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:36:47.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:36:48.894Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T22:36:48.894Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T22:36:48.894Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T22:36:49.171Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T22:36:49.171Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T22:36:49.171Z] OK: 224 MiB in 56 packages [2022-06-01T22:36:50.161Z] Removing intermediate container 77d3fe2c055c [2022-06-01T22:36:50.161Z] ---> 8d6dac22ba17 [2022-06-01T22:36:50.161Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-01T22:36:50.161Z] ---> Running in 0bc7f575d6fd [2022-06-01T22:36:50.434Z] Removing intermediate container 0bc7f575d6fd [2022-06-01T22:36:50.434Z] ---> 2757863ebea3 [2022-06-01T22:36:50.434Z] Step 9/11 : COPY . . [2022-06-01T22:36:53.839Z] ---> de12d92fb3e0 [2022-06-01T22:36:53.839Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:36:53.839Z] ---> Running in 5234c865f5d0 [2022-06-01T22:36:54.824Z] skipping... [2022-06-01T22:36:55.424Z] Removing intermediate container 5234c865f5d0 [2022-06-01T22:36:55.424Z] ---> 213c89a13f69 [2022-06-01T22:36:55.424Z] Step 11/11 : RUN $MAKE [2022-06-01T22:36:55.424Z] ---> Running in 3d8cc92fea7e [2022-06-01T22:36:56.408Z] noop [2022-06-01T22:36:57.016Z] Removing intermediate container 3d8cc92fea7e [2022-06-01T22:36:57.016Z] ---> a4b42c860dcb [2022-06-01T22:36:57.290Z] Successfully built a4b42c860dcb [2022-06-01T22:36:57.290Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:36:57.775Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T22:36:57.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:36:58.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container [2022-06-01T22:36:58.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-01T22:36:59.356Z] $ docker top fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:37:00.285Z] + go version [2022-06-01T22:37:00.285Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T22:37:00.328Z] $ docker stop --time=1 fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff [2022-06-01T22:37:01.957Z] $ docker rm -f fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:37:02.843Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T22:37:02.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:37:03.128Z] prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container [2022-06-01T22:37:03.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-01T22:37:04.433Z] $ docker top 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:37:05.389Z] + make test [2022-06-01T22:37:05.389Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-01T22:37:06.372Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T22:37:53.407Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T22:37:55.395Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 56.0% of statements [2022-06-01T22:37:56.013Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T22:38:14.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T22:38:14.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T22:38:14.358Z] ./bin/test-attribution-txt.sh [2022-06-01T22:38:14.961Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 [2022-06-01T22:38:14.961Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-06-01T22:38:14.961Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T22:38:14.961Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-01T22:38:14.961Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-01T22:38:15.240Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T22:38:15.240Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 [2022-06-01T22:38:15.240Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T22:38:15.240Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T22:38:15.240Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-01T22:38:15.240Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 [2022-06-01T22:38:15.240Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T22:38:15.240Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T22:38:15.518Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-01T22:38:15.518Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-01T22:38:15.518Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 [2022-06-01T22:38:15.518Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-01T22:38:15.518Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T22:38:15.518Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T22:38:15.518Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-01T22:38:15.518Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-01T22:38:15.518Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-01T22:38:15.794Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T22:38:15.794Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T22:38:15.794Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T22:38:15.794Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T22:38:15.794Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T22:38:15.794Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T22:38:15.794Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T22:38:15.794Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-01T22:38:15.794Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T22:38:16.072Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T22:38:16.072Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-01T22:38:16.072Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-01T22:38:16.072Z] go: downloading golang.org/x/text v0.3.6 [2022-06-01T22:38:17.057Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T22:38:17.057Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T22:38:17.057Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T22:38:17.057Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T22:38:17.342Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T22:38:17.342Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T22:38:17.614Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T22:38:17.614Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T22:38:17.614Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T22:38:17.890Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-01T22:38:19.326Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T22:38:19.326Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T22:38:19.326Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T22:38:19.326Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T22:38:19.326Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T22:38:19.326Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-01T22:38:19.326Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-01T22:38:23.665Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-01T22:38:24.381Z] + go mod tidy [2022-06-01T22:38:24.654Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-01T22:38:24.654Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-01T22:38:24.654Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-01T22:38:24.927Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-01T22:38:24.927Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-01T22:38:24.927Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-01T22:38:24.927Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-01T22:38:24.927Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-01T22:38:24.927Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-01T22:38:24.927Z] go: downloading github.com/kr/text v0.2.0 [2022-06-01T22:38:24.927Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-01T22:38:24.927Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-01T22:38:25.217Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-01T22:38:25.217Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-01T22:38:25.217Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-01T22:38:25.217Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-01T22:38:25.217Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-01T22:38:25.217Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-01T22:38:25.217Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-01T22:38:25.217Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-01T22:38:25.496Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-01T22:38:25.496Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-01T22:38:25.496Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-01T22:38:25.496Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-01T22:38:25.803Z] $ docker stop --time=1 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba [2022-06-01T22:38:28.185Z] $ docker rm -f 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T22:38:30.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T22:38:30.664Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T22:38:31.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T22:38:32.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T22:38:32.431Z] + ls -al . [2022-06-01T22:38:32.431Z] total 180 [2022-06-01T22:38:32.431Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 22:38 . [2022-06-01T22:38:32.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:35 .. [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:35 .dockerignore [2022-06-01T22:38:32.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:35 .git [2022-06-01T22:38:32.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 .github [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:35 .gitignore [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:35 Attribution.txt [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:35 CHANGELOG.md [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:35 Dockerfile [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:35 GOVERNANCE.md [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:35 Jenkinsfile [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:35 LICENSE [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:35 Makefile [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:35 OWNERS.md [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:35 README.md [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 22:33 VERSION [2022-06-01T22:38:32.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 bin [2022-06-01T22:38:32.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:35 cmd [2022-06-01T22:38:32.431Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:37 coverage.out [2022-06-01T22:38:32.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 driver [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:38 go.mod [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:35 go.sum [2022-06-01T22:38:32.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:35 snap [2022-06-01T22:38:32.431Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:35 vendor [2022-06-01T22:38:32.431Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:38:32.866Z] + 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=957d6cd4a1bfbb5f83082f797b007b589f007ffd --label arch=arm64 --label version=0.0.0 . [2022-06-01T22:38:34.305Z] Sending build context to Docker daemon 11.14MB [2022-06-01T22:38:34.305Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-01T22:38:34.305Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-01T22:38:34.305Z] ---> a4b42c860dcb [2022-06-01T22:38:34.305Z] Step 3/24 : ARG MAKE='make build' [2022-06-01T22:38:34.305Z] ---> Running in 5e99df7b2d73 [2022-06-01T22:38:34.587Z] Removing intermediate container 5e99df7b2d73 [2022-06-01T22:38:34.587Z] ---> 23ae81bf2851 [2022-06-01T22:38:34.587Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T22:38:34.862Z] ---> Running in 2a81d22db7d9 [2022-06-01T22:38:35.136Z] Removing intermediate container 2a81d22db7d9 [2022-06-01T22:38:35.136Z] ---> 64f84b65fc3c [2022-06-01T22:38:35.136Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T22:38:35.136Z] ---> Running in cd3838a166f7 [2022-06-01T22:38:35.415Z] Removing intermediate container cd3838a166f7 [2022-06-01T22:38:35.415Z] ---> 1189df56a7a8 [2022-06-01T22:38:35.415Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T22:38:35.415Z] ---> Running in 54c651c21011 [2022-06-01T22:38:37.420Z] Removing intermediate container 54c651c21011 [2022-06-01T22:38:37.420Z] ---> 3a95705631b5 [2022-06-01T22:38:37.420Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T22:38:37.420Z] ---> Running in d22e9682cb8a [2022-06-01T22:38:38.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:38:39.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:38:40.372Z] OK: 224 MiB in 56 packages [2022-06-01T22:38:40.977Z] Removing intermediate container d22e9682cb8a [2022-06-01T22:38:40.977Z] ---> 4641de4b0fb4 [2022-06-01T22:38:40.977Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-01T22:38:40.977Z] ---> Running in afb8d0f17756 [2022-06-01T22:38:41.580Z] Removing intermediate container afb8d0f17756 [2022-06-01T22:38:41.580Z] ---> 69adc6db9567 [2022-06-01T22:38:41.580Z] Step 9/24 : COPY . . [2022-06-01T22:38:45.894Z] ---> f7deae9b8ef4 [2022-06-01T22:38:45.894Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T22:38:45.894Z] ---> Running in 150a291743b8 [2022-06-01T22:38:46.496Z] skipping... [2022-06-01T22:38:47.478Z] Removing intermediate container 150a291743b8 [2022-06-01T22:38:47.478Z] ---> 1c1bf1f32fe4 [2022-06-01T22:38:47.478Z] Step 11/24 : RUN $MAKE [2022-06-01T22:38:47.478Z] ---> Running in 6997945ce3d0 [2022-06-01T22:38:48.468Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-06-01T22:39:35.512Z] Removing intermediate container 6997945ce3d0 [2022-06-01T22:39:35.512Z] ---> cebaf0bf8c1c [2022-06-01T22:39:35.512Z] Step 12/24 : FROM alpine:3.14 [2022-06-01T22:39:35.512Z] 3.14: Pulling from library/alpine [2022-06-01T22:39:35.512Z] 455c02918c45: Pulling fs layer [2022-06-01T22:39:35.512Z] 455c02918c45: Download complete [2022-06-01T22:39:35.512Z] 455c02918c45: Pull complete [2022-06-01T22:39:35.512Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T22:39:35.512Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T22:39:35.512Z] ---> ac73e934f311 [2022-06-01T22:39:35.512Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T22:39:35.512Z] ---> Running in f68838d2390b [2022-06-01T22:39:35.512Z] Removing intermediate container f68838d2390b [2022-06-01T22:39:35.512Z] ---> 090e71736283 [2022-06-01T22:39:35.512Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T22:39:35.512Z] ---> Running in 0e370a985169 [2022-06-01T22:39:35.512Z] Removing intermediate container 0e370a985169 [2022-06-01T22:39:35.512Z] ---> 49735bac67dd [2022-06-01T22:39:35.512Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T22:39:35.512Z] ---> Running in adc808d88b33 [2022-06-01T22:39:35.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-01T22:39:35.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-01T22:39:35.512Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T22:39:35.512Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T22:39:35.512Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T22:39:35.512Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T22:39:35.512Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T22:39:35.512Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T22:39:35.512Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T22:39:35.512Z] OK: 8 MiB in 20 packages [2022-06-01T22:39:35.512Z] Removing intermediate container adc808d88b33 [2022-06-01T22:39:35.512Z] ---> 6a947fe9c0e5 [2022-06-01T22:39:35.512Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T22:39:36.112Z] ---> c170b79b447f [2022-06-01T22:39:36.112Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T22:39:36.707Z] ---> 25f4f824cc68 [2022-06-01T22:39:36.707Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T22:39:37.311Z] ---> 48a5f7d02f8a [2022-06-01T22:39:37.311Z] Step 19/24 : EXPOSE 59986 [2022-06-01T22:39:37.311Z] ---> Running in cc4efa653072 [2022-06-01T22:39:37.585Z] Removing intermediate container cc4efa653072 [2022-06-01T22:39:37.585Z] ---> 083a27515f49 [2022-06-01T22:39:37.585Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-01T22:39:37.585Z] ---> Running in 02ea0bdc992e [2022-06-01T22:39:37.867Z] Removing intermediate container 02ea0bdc992e [2022-06-01T22:39:37.867Z] ---> 6cfd6e801bb8 [2022-06-01T22:39:37.867Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T22:39:37.867Z] ---> Running in 59c4e87af290 [2022-06-01T22:39:38.149Z] Removing intermediate container 59c4e87af290 [2022-06-01T22:39:38.149Z] ---> 9e3f65b6b839 [2022-06-01T22:39:38.149Z] Step 22/24 : LABEL arch=arm64 [2022-06-01T22:39:38.426Z] ---> Running in 0dc4c9d3a910 [2022-06-01T22:39:38.702Z] Removing intermediate container 0dc4c9d3a910 [2022-06-01T22:39:38.702Z] ---> 872b7d408b97 [2022-06-01T22:39:38.702Z] Step 23/24 : LABEL git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd [2022-06-01T22:39:38.702Z] ---> Running in 7b74c975c034 [2022-06-01T22:39:38.978Z] Removing intermediate container 7b74c975c034 [2022-06-01T22:39:38.978Z] ---> 7d0a6008230e [2022-06-01T22:39:38.978Z] Step 24/24 : LABEL version=0.0.0 [2022-06-01T22:39:39.253Z] ---> Running in 380faccc1217 [2022-06-01T22:39:39.526Z] Removing intermediate container 380faccc1217 [2022-06-01T22:39:39.526Z] ---> 098ae0defe20 [2022-06-01T22:39:39.526Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T22:39:39.526Z] Successfully built 098ae0defe20 [2022-06-01T22:39:39.526Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:39:40.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:39:40.317Z] [2022-06-01T22:39:40.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:39:40.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:39:41.011Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T22:39:41.011Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T22:39:41.011Z] 04944245beec: Pulling fs layer [2022-06-01T22:39:41.011Z] 699f458cf7ca: Pulling fs layer [2022-06-01T22:39:41.011Z] 765212b225bb: Pulling fs layer [2022-06-01T22:39:41.011Z] f23df028b6ca: Pulling fs layer [2022-06-01T22:39:41.011Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T22:39:41.011Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T22:39:41.011Z] f23df028b6ca: Waiting [2022-06-01T22:39:41.011Z] d65c8cfc05b1: Waiting [2022-06-01T22:39:41.011Z] 2437ff75d9bd: Waiting [2022-06-01T22:39:41.011Z] 765212b225bb: Waiting [2022-06-01T22:39:41.011Z] 04944245beec: Verifying Checksum [2022-06-01T22:39:41.011Z] 04944245beec: Download complete [2022-06-01T22:39:41.011Z] 765212b225bb: Download complete [2022-06-01T22:39:41.011Z] f23df028b6ca: Verifying Checksum [2022-06-01T22:39:41.011Z] f23df028b6ca: Download complete [2022-06-01T22:39:41.011Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T22:39:41.011Z] d65c8cfc05b1: Download complete [2022-06-01T22:39:41.287Z] 699f458cf7ca: Verifying Checksum [2022-06-01T22:39:41.287Z] 699f458cf7ca: Download complete [2022-06-01T22:39:41.570Z] 8998bd30e6a1: Download complete [2022-06-01T22:39:44.200Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T22:39:44.200Z] 2437ff75d9bd: Download complete [2022-06-01T22:39:45.644Z] 8998bd30e6a1: Pull complete [2022-06-01T22:39:46.246Z] 04944245beec: Pull complete [2022-06-01T22:39:47.687Z] 699f458cf7ca: Pull complete [2022-06-01T22:39:47.961Z] 765212b225bb: Pull complete [2022-06-01T22:39:48.942Z] f23df028b6ca: Pull complete [2022-06-01T22:39:48.942Z] d65c8cfc05b1: Pull complete [2022-06-01T22:40:04.075Z] 2437ff75d9bd: Pull complete [2022-06-01T22:40:04.075Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T22:40:04.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T22:40:04.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:40:04.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container [2022-06-01T22:40:04.544Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-01T22:40:07.266Z] $ docker top a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:08.280Z] ---> job-cost.sh [2022-06-01T22:40:08.280Z] lf-activate-venv: SKIPPING [2022-06-01T22:40:08.280Z] INFO: No Stack... [2022-06-01T22:40:08.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T22:40:09.856Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T22:40:10.536Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-06-01T22:40:10.536Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T22:40:10.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [2022-06-01T22:40:10.628Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] did not exist. Created. [2022-06-01T22:40:10.628Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T22:40:11.393Z] /w/workspace/device-rest-go/1@tmp/durable-cd6b5793/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T22:40:12.092Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T22:40:12.130Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T22:40:12.368Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T22:40:12.384Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T22:40:12.468Z] $ docker stop --time=1 a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 [2022-06-01T22:40:14.015Z] $ docker rm -f a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 [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-01T22:40:14.974Z] provisioning config files... [2022-06-01T22:40:14.982Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config9158689735846307653tmp [Pipeline] { [Pipeline] sh [2022-06-01T22:40:15.315Z] + set +x [2022-06-01T22:40:15.315Z] + curl -s https://codecov.io/bash [2022-06-01T22:40:15.315Z] + bash -s -- [2022-06-01T22:40:15.315Z] [2022-06-01T22:40:15.315Z] _____ _ [2022-06-01T22:40:15.315Z] / ____| | | [2022-06-01T22:40:15.315Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T22:40:15.315Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T22:40:15.315Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T22:40:15.315Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T22:40:15.315Z] Bash-1.0.6 [2022-06-01T22:40:15.315Z] [2022-06-01T22:40:15.315Z] [2022-06-01T22:40:15.315Z] ==> git version 2.25.1 found [2022-06-01T22:40:15.315Z] ==> 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-01T22:40:15.315Z] Release-Date: 2020-01-08 [2022-06-01T22:40:15.315Z] 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-01T22:40:15.315Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T22:40:15.315Z] ==> Jenkins CI detected. [2022-06-01T22:40:15.315Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-193 [2022-06-01T22:40:15.315Z] project root: . [2022-06-01T22:40:15.315Z] --> token set from env [2022-06-01T22:40:15.315Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T22:40:15.315Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T22:40:15.316Z] ==> Python coveragepy not found [2022-06-01T22:40:15.316Z] ==> Searching for coverage reports in: [2022-06-01T22:40:15.316Z] + . [2022-06-01T22:40:15.316Z] -> Found 1 reports [2022-06-01T22:40:15.316Z] ==> Detecting git/mercurial file structure [2022-06-01T22:40:15.316Z] ==> Reading reports [2022-06-01T22:40:15.316Z] + ./coverage.out bytes=9215 [2022-06-01T22:40:15.316Z] ==> Appending adjustments [2022-06-01T22:40:15.316Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T22:40:15.576Z] + Found adjustments [2022-06-01T22:40:15.576Z] ==> Gzipping contents [2022-06-01T22:40:15.576Z] 12K /tmp/codecov.rMzjbh.gz [2022-06-01T22:40:15.576Z] ==> Uploading reports [2022-06-01T22:40:15.576Z] url: https://codecov.io [2022-06-01T22:40:15.576Z] query: branch=PR-193&commit=957d6cd4a1bfbb5f83082f797b007b589f007ffd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-06-01T22:40:15.576Z] -> Pinging Codecov [2022-06-01T22:40:15.576Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-193&commit=957d6cd4a1bfbb5f83082f797b007b589f007ffd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-06-01T22:40:15.837Z] -> Uploading to [2022-06-01T22:40:15.837Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/957d6cd4a1bfbb5f83082f797b007b589f007ffd/4ad8c722-14f4-4cf8-9b79-fce86a538ff8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T224015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4022aec916c9fa274f827ebb8e19675e9c851af5c8ba8864b2c199c6437d4460 [2022-06-01T22:40:15.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T22:40:15.837Z] Dload Upload Total Spent Left Speed [2022-06-01T22:40:16.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 34531 --:--:-- --:--:-- --:--:-- 34675 [2022-06-01T22:40:16.099Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] } [2022-06-01T22:40:16.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-01T22:40:17.792Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-193/archives ] [2022-06-01T22:40:17.792Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-193/archives [2022-06-01T22:40:17.792Z] total 16 [2022-06-01T22:40:17.792Z] drwxr-xr-x 3 root root 4096 Jun 1 22:34 . [2022-06-01T22:40:17.792Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:34 .. [2022-06-01T22:40:17.792Z] drwxr-xr-x 2 root root 4096 Jun 1 22:34 cost [2022-06-01T22:40:17.792Z] -rw-r--r-- 1 root root 85 Jun 1 22:34 cost.csv [2022-06-01T22:40:17.792Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-193/archives [2022-06-01T22:40:17.792Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-193/archives [2022-06-01T22:40:17.792Z] total 16 [2022-06-01T22:40:17.792Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:34 . [2022-06-01T22:40:17.793Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:34 .. [2022-06-01T22:40:17.793Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 22:34 cost [2022-06-01T22:40:17.793Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 1 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:18.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:19.011Z] ---> package-listing.sh [2022-06-01T22:40:19.011Z] ++ facter osfamily [2022-06-01T22:40:19.011Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T22:40:19.271Z] + OS_FAMILY=debian [2022-06-01T22:40:19.271Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-193 [2022-06-01T22:40:19.271Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T22:40:19.271Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T22:40:19.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T22:40:19.271Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T22:40:19.271Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-193 ']' [2022-06-01T22:40:19.271Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T22:40:19.271Z] + case "${OS_FAMILY}" in [2022-06-01T22:40:19.271Z] + dpkg -l [2022-06-01T22:40:19.271Z] + grep '^ii' [2022-06-01T22:40:19.271Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T22:40:19.271Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T22:40:19.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T22:40:19.271Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-193 ']' [2022-06-01T22:40:19.271Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-193/archives/ [2022-06-01T22:40:19.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-193/archives/ [Pipeline] echo [2022-06-01T22:40:19.308Z] 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/gexfoundry_device-rest-go_PR-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T22:40:19.600Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T22:40:20.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T22:40:20.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T22:40:20.388Z] prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container [2022-06-01T22:40:20.430Z] $ 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/gexfoundry_device-rest-go_PR-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T22:40:20.669Z] $ docker top a3e9eed573a1115f333a3a65f0ea3d5ea9899f2cf535ad146da33d6afdc09f10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T22:40:21.065Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T22:40:21.377Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T22:40:21.692Z] + ls /var/log/sa-host [2022-06-01T22:40:21.692Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T22:40:21.886Z] provisioning config files... [2022-06-01T22:40:21.896Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config77713102578909289tmp [Pipeline] { [Pipeline] echo [2022-06-01T22:40:21.945Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:22.268Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T22:40:22.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:22.811Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T22:40:22.844Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:23.163Z] ---> sudo-logs.sh [2022-06-01T22:40:23.163Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T22:40:23.240Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:23.559Z] ---> job-cost.sh [2022-06-01T22:40:23.559Z] lf-activate-venv: SKIPPING [2022-06-01T22:40:23.559Z] DEBUG: total: 0.2199999988079071 [2022-06-01T22:40:23.559Z] INFO: Retrieving Stack Cost... [2022-06-01T22:40:24.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T22:40:24.391Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T22:40:24.428Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T22:40:24.740Z] ---> logs-deploy.sh [2022-06-01T22:40:24.740Z] lf-activate-venv: SKIPPING [2022-06-01T22:40:24.740Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-193/1 [2022-06-01T22:40:24.740Z] INFO: archiving workspace using pattern(s): [2022-06-01T22:40:25.680Z] Archives upload complete. [2022-06-01T22:40:25.680Z] INFO: archiving logs to Nexus