Pull request #181 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 jinlinGuan for edgexfoundry/device-rest-go Loading trusted files from base branch main at b5c3ad01f67977970fed420537dc3b570bb51b0a rather than b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec Obtained Jenkinsfile from b5c3ad01f67977970fed420537dc3b570bb51b0a 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-ssh2835760711059064760.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6458119300901203462.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-181/workspace@libs/edgex-global-pipelines # 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-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9390943198954690036.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-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15888061305973703871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh8711381379941800009.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-181/workspace@libs/lf-pipelines # 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-181/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11221153223251276845.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 on ‘prd-ubuntu20.04-docker-8c-8g-33443’ Running on prd-ubuntu20.04-docker-8c-8g-33446 in /w/workspace/gexfoundry_device-rest-go_PR-181 [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-181 # 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/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec Merge succeeded, producing b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec Checking out Revision b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec (PR-181) > 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/181/head:refs/remotes/origin/PR-181 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec # 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 b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec # timeout=10 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:06:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:06:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:06:29 ========================================================= 08:06:29 EdgeX Global Pipelines Version Info 08:06:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:06:29 ------------------- 08:06:29 stable info: 08:06:29 ------------------- 08:06:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:06:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:06:29 Message: update stable to v1.0.221 08:06:30 ------------------- 08:06:30 experimental info: 08:06:30 ------------------- 08:06:30 Commited By: **** collab-it+edgex@linuxfoundation.org 08:06:30 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 08:06:30 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6f2cc2 [Pipeline] echo 08:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:32 provisioning config files... 08:06:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/config8356093790129082231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:32 ---> docker-login.sh 08:06:32 nexus3.edgexfoundry.org:10001 08:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:32 Configure a credential helper to remove this warning. See 08:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:32 08:06:32 Login Succeeded 08:06:32 nexus3.edgexfoundry.org:10002 08:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:32 Configure a credential helper to remove this warning. See 08:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:32 08:06:32 Login Succeeded 08:06:32 nexus3.edgexfoundry.org:10003 08:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:32 Configure a credential helper to remove this warning. See 08:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:32 08:06:32 Login Succeeded 08:06:32 nexus3.edgexfoundry.org:10004 08:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:33 Configure a credential helper to remove this warning. See 08:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:33 08:06:33 Login Succeeded 08:06:33 docker.io 08:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:33 Configure a credential helper to remove this warning. See 08:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:33 08:06:33 Login Succeeded 08:06:33 ---> docker-login.sh ends [Pipeline] } 08:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:06:34 + git rev-list -1 --merges b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec~1..b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [Pipeline] echo 08:06:34 -----------> git rev-list -1 --merges b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec~1..b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [false] [Pipeline] sh 08:06:34 + git log --format=format:%s -1 b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [Pipeline] echo 08:06:34 ========================================================= 08:06:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:06:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:35 + git log --format=format:%s -1 b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [Pipeline] echo 08:06:35 [semverPrep] GIT_COMMIT: b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec, Commit Message: feat: Bump device-sdk-go version and update configuration.toml [Pipeline] echo 08:06:35 [semverPrep] This is not a build commit. [Pipeline] sh 08:06:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:06:35 + grep -v github /etc/ssh/ssh_known_hosts 08:06:35 + [ -e /tmp/ssh_known_hosts ] 08:06:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:06:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:06:35 + sudo tee -a /etc/ssh/ssh_known_hosts 08:06:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:36 08:06:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:06:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:36 latest: Pulling from edgex-devops/git-semver 08:06:36 a0d0a0d46f8b: Pulling fs layer 08:06:36 3e5f54012d9b: Pulling fs layer 08:06:36 4c7163046ea9: Pulling fs layer 08:06:36 0c2d73faf560: Pulling fs layer 08:06:36 3e5f54012d9b: Verifying Checksum 08:06:36 3e5f54012d9b: Download complete 08:06:36 a0d0a0d46f8b: Download complete 08:06:36 4c7163046ea9: Verifying Checksum 08:06:36 4c7163046ea9: Download complete 08:06:36 0c2d73faf560: Verifying Checksum 08:06:36 0c2d73faf560: Download complete 08:06:36 a0d0a0d46f8b: Pull complete 08:06:36 3e5f54012d9b: Pull complete 08:06:36 4c7163046ea9: Pull complete 08:06:37 0c2d73faf560: Pull complete 08:06:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:06:37 prd-ubuntu20.04-docker-8c-8g-33446 does not seem to be running inside a container 08:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-181 -v /w/workspace/gexfoundry_device-rest-go_PR-181:/w/workspace/gexfoundry_device-rest-go_PR-181:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-181@tmp:/w/workspace/gexfoundry_device-rest-go_PR-181@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:10004/edgex-devops/git-semver:latest cat 08:06:38 $ docker top eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:38 [ssh-agent] Looking for ssh-agent implementation... 08:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:38 $ docker exec eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb ssh-agent 08:06:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcCddEh/agent.13 08:06:38 SSH_AGENT_PID=20 08:06:38 Running ssh-add (command line suppressed) 08:06:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-181@tmp/private_key_7275714071331153065.key (/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/private_key_7275714071331153065.key) 08:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:06:39 + git tag --points-at HEAD [Pipeline] } 08:06:39 $ docker exec --env ******** --env ******** eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb ssh-agent -k 08:06:39 unset SSH_AUTH_SOCK; 08:06:39 unset SSH_AGENT_PID; 08:06:39 echo Agent pid 20 killed; 08:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:39 [ssh-agent] Looking for ssh-agent implementation... 08:06:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:39 $ docker exec eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb ssh-agent 08:06:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpbddMa/agent.53 08:06:39 SSH_AGENT_PID=59 08:06:39 Running ssh-add (command line suppressed) 08:06:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-181@tmp/private_key_5628231725691760671.key (/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/private_key_5628231725691760671.key) 08:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:06:40 + git semver init 08:06:40 # -> Open(): unable to determine branch for HEAD 08:06:40 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-181/.git 08:06:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-181 08:06:40 # $SEMVER_REMOTE_NAME = origin 08:06:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:06:40 # $SEMVER_USER_NAME = edgex-jenkins 08:06:40 # $SEMVER_BRANCH = PR-181 08:06:40 # $SEMVER_TEMP = /tmp/semver-222335522 08:06:40 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:06:41 # '/tmp/semver-222335522' -> '/w/workspace/gexfoundry_device-rest-go_PR-181/.semver' 08:06:41 # -> Force: false 08:06:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-181/.semver [Pipeline] } 08:06:41 $ docker exec --env ******** --env ******** eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb ssh-agent -k 08:06:41 unset SSH_AUTH_SOCK; 08:06:41 unset SSH_AGENT_PID; 08:06:41 echo Agent pid 59 killed; 08:06:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:06:42 + git semver [Pipeline] } 08:06:42 $ docker stop --time=1 eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb 08:06:43 $ docker rm -f eae0ae8efd019bdf4425e02ffbd8e61f492b3ad88c702b4aeabafcd83d9a21bb [Pipeline] // withDockerContainer [Pipeline] sh 08:06:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:06:44 Stashed 1 file(s) [Pipeline] echo 08:06:44 [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 08:06:44 provisioning config files... 08:06:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/config8348512275004027389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:45 ---> docker-login.sh 08:06:45 nexus3.edgexfoundry.org:10001 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:45 Configure a credential helper to remove this warning. See 08:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:45 08:06:45 Login Succeeded 08:06:45 nexus3.edgexfoundry.org:10002 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:45 Configure a credential helper to remove this warning. See 08:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:45 08:06:45 Login Succeeded 08:06:45 nexus3.edgexfoundry.org:10003 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:45 Configure a credential helper to remove this warning. See 08:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:45 08:06:45 Login Succeeded 08:06:45 nexus3.edgexfoundry.org:10004 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:45 Configure a credential helper to remove this warning. See 08:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:45 08:06:45 Login Succeeded 08:06:45 docker.io 08:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:46 Configure a credential helper to remove this warning. See 08:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:46 08:06:46 Login Succeeded 08:06:46 ---> docker-login.sh ends [Pipeline] } 08:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:06:46 ========================================================= 08:06:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:06:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:06:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:06:46 Sending build context to Docker daemon 10.58MB 08:06:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:06:46 Step 2/12 : FROM ${BASE} AS builder 08:06:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:06:46 59bf1c3509f3: Pulling fs layer 08:06:46 666ba61612fd: Pulling fs layer 08:06:46 8ed8ca486205: Pulling fs layer 08:06:46 4fe6c5a15a65: Pulling fs layer 08:06:46 22a0e8bec74d: Pulling fs layer 08:06:46 ca2b28591e48: Pulling fs layer 08:06:46 a51346096db8: Pulling fs layer 08:06:46 daebc70d1ce1: Pulling fs layer 08:06:46 0e18a0eac166: Pulling fs layer 08:06:46 4fe6c5a15a65: Waiting 08:06:46 22a0e8bec74d: Waiting 08:06:46 ca2b28591e48: Waiting 08:06:46 a51346096db8: Waiting 08:06:46 daebc70d1ce1: Waiting 08:06:46 0e18a0eac166: Waiting 08:06:46 8ed8ca486205: Download complete 08:06:47 666ba61612fd: Download complete 08:06:47 22a0e8bec74d: Download complete 08:06:47 ca2b28591e48: Verifying Checksum 08:06:47 ca2b28591e48: Download complete 08:06:47 a51346096db8: Verifying Checksum 08:06:47 a51346096db8: Download complete 08:06:47 59bf1c3509f3: Verifying Checksum 08:06:47 daebc70d1ce1: Verifying Checksum 08:06:47 daebc70d1ce1: Download complete 08:06:47 59bf1c3509f3: Pull complete 08:06:47 666ba61612fd: Pull complete 08:06:47 8ed8ca486205: Pull complete 08:06:47 0e18a0eac166: Verifying Checksum 08:06:47 0e18a0eac166: Download complete 08:06:47 4fe6c5a15a65: Verifying Checksum 08:06:47 4fe6c5a15a65: Download complete 08:06:52 4fe6c5a15a65: Pull complete 08:06:52 22a0e8bec74d: Pull complete 08:06:52 ca2b28591e48: Pull complete 08:06:52 a51346096db8: Pull complete 08:06:52 daebc70d1ce1: Pull complete 08:06:54 0e18a0eac166: Pull complete 08:06:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:06:54 ---> f018257e8ee9 08:06:54 Step 3/12 : ARG MAKE='make build' 08:06:56 ---> Running in 5fdcffa91e33 08:06:56 Removing intermediate container 5fdcffa91e33 08:06:56 ---> 21d21b796a56 08:06:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:06:56 ---> Running in c8ca5d7124ee 08:06:56 Removing intermediate container c8ca5d7124ee 08:06:56 ---> c9f4d4cf78ac 08:06:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:06:56 ---> Running in 64464322a4d7 08:06:56 Removing intermediate container 64464322a4d7 08:06:56 ---> a2f1c470b2a5 08:06:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:06:56 ---> Running in d71162440b3b 08:06:57 Removing intermediate container d71162440b3b 08:06:57 ---> 1afff3283405 08:06:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:06:57 ---> Running in 56faf5c1043e 08:06:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:06:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:06:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:06:59 (2/4) Installing libedit (20210910.3.1-r0) 08:06:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:06:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:06:59 Executing busybox-1.34.1-r3.trigger 08:06:59 OK: 224 MiB in 56 packages 08:06:59 Still waiting to schedule task 08:06:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33444’ 08:06:59 Removing intermediate container 56faf5c1043e 08:06:59 ---> 405cb8a990b3 08:06:59 Step 8/12 : WORKDIR /device-rest-go 08:06:59 ---> Running in d4c1aa0c9cbc 08:07:00 Removing intermediate container d4c1aa0c9cbc 08:07:00 ---> d2921cbecc6d 08:07:00 Step 9/12 : COPY go.mod vendor* ./ 08:07:00 ---> 20b2d9b093e5 08:07:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:07:00 ---> Running in 49c0938331b8 08:07:26 Removing intermediate container 49c0938331b8 08:07:26 ---> ec9c9d7f61ee 08:07:26 Step 11/12 : COPY . . 08:07:26 ---> 9ec0df2e8014 08:07:26 Step 12/12 : RUN $MAKE 08:07:26 ---> Running in fc105c9ffd0b 08:07:26 noop 08:07:26 Removing intermediate container fc105c9ffd0b 08:07:26 ---> b1d7f5d65fa8 08:07:26 Successfully built b1d7f5d65fa8 08:07:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:07:27 + docker inspect -f . ci-base-image-x86_64 08:07:27 . [Pipeline] withDockerContainer 08:07:27 prd-ubuntu20.04-docker-8c-8g-33446 does not seem to be running inside a container 08:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-181 -v /w/workspace/gexfoundry_device-rest-go_PR-181:/w/workspace/gexfoundry_device-rest-go_PR-181:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-181@tmp:/w/workspace/gexfoundry_device-rest-go_PR-181@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 08:07:27 $ docker top 40cf84b6b2a27e33776be14345360a95b41b27e41799c5b63018525be4766efc -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:28 + go version 08:07:28 go version go1.17.6 linux/amd64 [Pipeline] } 08:07:28 $ docker stop --time=1 40cf84b6b2a27e33776be14345360a95b41b27e41799c5b63018525be4766efc 08:07:29 $ docker rm -f 40cf84b6b2a27e33776be14345360a95b41b27e41799c5b63018525be4766efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:07:30 + docker inspect -f . ci-base-image-x86_64 08:07:30 . [Pipeline] withDockerContainer 08:07:30 prd-ubuntu20.04-docker-8c-8g-33446 does not seem to be running inside a container 08:07:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-181 -v /w/workspace/gexfoundry_device-rest-go_PR-181:/w/workspace/gexfoundry_device-rest-go_PR-181:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-181@tmp:/w/workspace/gexfoundry_device-rest-go_PR-181@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 08:07:30 $ docker top f7f9df16476482bac43cbe764bc00e1ddc4aac6716145ee495d818ed15fcb0df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:07:31 + make test 08:07:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:07:31 ? github.com/edgexfoundry/device-rest-go [no test files] 08:07:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:07:43 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 08:07:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:07:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:07:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:07:54 ./bin/test-attribution-txt.sh [Pipeline] echo 08:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:07:55 $ docker stop --time=1 f7f9df16476482bac43cbe764bc00e1ddc4aac6716145ee495d818ed15fcb0df 08:07:57 $ docker rm -f f7f9df16476482bac43cbe764bc00e1ddc4aac6716145ee495d818ed15fcb0df [Pipeline] // withDockerContainer [Pipeline] sh 08:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:07:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:07:59 + ls -al . 08:07:59 total 172 08:07:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 08:07 . 08:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 08:06 .. 08:07:59 -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 08:06 .dockerignore 08:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:06 .git 08:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:06 .github 08:07:59 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 08:06 .gitignore 08:07:59 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 08:06 .golangci.yml 08:07:59 drwx------ 3 jenkins jenkins 4096 Apr 27 08:06 .semver 08:07:59 -rw-rw-r-- 1 jenkins jenkins 8463 Apr 27 08:06 Attribution.txt 08:07:59 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 27 08:06 CHANGELOG.md 08:07:59 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 27 08:06 Dockerfile 08:07:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 08:06 GOVERNANCE.md 08:07:59 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 08:06 Jenkinsfile 08:07:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 08:06 LICENSE 08:07:59 -rw-rw-r-- 1 jenkins jenkins 1977 Apr 27 08:06 Makefile 08:07:59 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 08:06 OWNERS.md 08:07:59 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 27 08:06 README.md 08:07:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 08:06 VERSION 08:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:06 bin 08:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:06 cmd 08:07:59 -rw-r--r-- 1 jenkins jenkins 9355 Apr 27 08:07 coverage.out 08:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:06 driver 08:07:59 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 08:06 go.mod 08:07:59 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 08:06 go.sum 08:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:06 snap 08:07:59 -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 08:06 version.go [Pipeline] isUnix [Pipeline] sh 08:07:59 + 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=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec --label arch=amd64 --label version=0.0.0 . 08:07:59 Sending build context to Docker daemon 10.59MB 08:07:59 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:07:59 Step 2/25 : FROM ${BASE} AS builder 08:07:59 ---> b1d7f5d65fa8 08:07:59 Step 3/25 : ARG MAKE='make build' 08:08:00 ---> Running in 7abfb9fc303a 08:08:00 Removing intermediate container 7abfb9fc303a 08:08:00 ---> b20f8ef3c82a 08:08:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:08:00 ---> Running in 65c4b2a039cf 08:08:00 Removing intermediate container 65c4b2a039cf 08:08:00 ---> a3d3fd644b68 08:08:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:08:00 ---> Running in 977d60b93e7f 08:08:00 Removing intermediate container 977d60b93e7f 08:08:00 ---> 82b685305677 08:08:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:08:00 ---> Running in 043498c10c22 08:08:00 Removing intermediate container 043498c10c22 08:08:00 ---> 20ef644b4968 08:08:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:08:00 ---> Running in aaf63b7f0fe0 08:08:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:08:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:08:02 OK: 224 MiB in 56 packages 08:08:02 Removing intermediate container aaf63b7f0fe0 08:08:02 ---> 88772388872c 08:08:02 Step 8/25 : WORKDIR /device-rest-go 08:08:02 ---> Running in b96956eb4c21 08:08:02 Removing intermediate container b96956eb4c21 08:08:02 ---> 469fc8e96832 08:08:02 Step 9/25 : COPY go.mod vendor* ./ 08:08:03 ---> 72f6cd34a8ff 08:08:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:08:03 ---> Running in e432a0bb5521 08:08:03 Removing intermediate container e432a0bb5521 08:08:03 ---> d1e32cc4de40 08:08:03 Step 11/25 : COPY . . 08:08:04 ---> 1b697057a18b 08:08:04 Step 12/25 : RUN $MAKE 08:08:04 ---> Running in 9082f35b1138 08:08:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:08:26 Removing intermediate container 9082f35b1138 08:08:26 ---> b1556f7988f1 08:08:26 Step 13/25 : FROM alpine:3.14 08:08:26 3.14: Pulling from library/alpine 08:08:26 8663204ce13b: Pulling fs layer 08:08:26 8663204ce13b: Verifying Checksum 08:08:26 8663204ce13b: Download complete 08:08:26 8663204ce13b: Pull complete 08:08:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:08:26 Status: Downloaded newer image for alpine:3.14 08:08:26 ---> e04c818066af 08:08:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:08:26 ---> Running in b2c90e7eb03f 08:08:26 Removing intermediate container b2c90e7eb03f 08:08:26 ---> 61ededbb7737 08:08:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:08:26 ---> Running in 32e19f1abc15 08:08:26 Removing intermediate container 32e19f1abc15 08:08:26 ---> ee2634c400ce 08:08:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:08:27 ---> Running in 5c273d68d215 08:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:08:27 (1/6) Installing dumb-init (1.2.5-r1) 08:08:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:08:27 (3/6) Installing libsodium (1.0.18-r0) 08:08:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:08:27 (5/6) Installing libzmq (4.3.4-r0) 08:08:27 (6/6) Installing zeromq (4.3.4-r0) 08:08:27 Executing busybox-1.33.1-r7.trigger 08:08:27 OK: 8 MiB in 20 packages 08:08:28 Removing intermediate container 5c273d68d215 08:08:28 ---> e5a0f2881514 08:08:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:08:28 ---> 1c9c276e14f8 08:08:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:08:28 ---> 14362b033c51 08:08:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:08:28 ---> 67b47dc23a19 08:08:28 Step 20/25 : EXPOSE 59986 08:08:29 ---> Running in ff5ac6704c39 08:08:29 Removing intermediate container ff5ac6704c39 08:08:29 ---> 2d2e5e900535 08:08:29 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:08:29 ---> Running in 925d02320929 08:08:29 Removing intermediate container 925d02320929 08:08:29 ---> 74bb83d28ac7 08:08:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:08:29 ---> Running in f2b876c25579 08:08:29 Removing intermediate container f2b876c25579 08:08:29 ---> 280454d4b800 08:08:29 Step 23/25 : LABEL arch=amd64 08:08:29 ---> Running in e6598d8e36e9 08:08:29 Removing intermediate container e6598d8e36e9 08:08:29 ---> cd3484d83cfe 08:08:29 Step 24/25 : LABEL git_sha=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec 08:08:29 ---> Running in 790acfabe92c 08:08:29 Removing intermediate container 790acfabe92c 08:08:29 ---> b652d718bd78 08:08:29 Step 25/25 : LABEL version=0.0.0 08:08:29 ---> Running in f27a890735a3 08:08:30 Removing intermediate container f27a890735a3 08:08:30 ---> 8059e1cad719 08:08:30 [Warning] One or more build-args [ARCH] were not consumed 08:08:30 Successfully built 8059e1cad719 08:08:30 Successfully tagged device-rest:latest [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] sh 08:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:30 08:08:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:31 latest: Pulling from edgex-lftools-log-publisher 08:08:31 5eb5b503b376: Pulling fs layer 08:08:31 5c69ac0246d0: Pulling fs layer 08:08:31 ec43610c2a17: Pulling fs layer 08:08:31 3a2ae6a8a46f: Pulling fs layer 08:08:31 33b1e0a273af: Pulling fs layer 08:08:31 5d3b04190fa2: Pulling fs layer 08:08:31 2f39f015ded8: Pulling fs layer 08:08:31 3a2ae6a8a46f: Waiting 08:08:31 33b1e0a273af: Waiting 08:08:31 5d3b04190fa2: Waiting 08:08:31 2f39f015ded8: Waiting 08:08:31 5c69ac0246d0: Verifying Checksum 08:08:31 5c69ac0246d0: Download complete 08:08:31 3a2ae6a8a46f: Verifying Checksum 08:08:31 3a2ae6a8a46f: Download complete 08:08:31 33b1e0a273af: Verifying Checksum 08:08:31 33b1e0a273af: Download complete 08:08:31 5d3b04190fa2: Download complete 08:08:31 ec43610c2a17: Verifying Checksum 08:08:31 ec43610c2a17: Download complete 08:08:31 5eb5b503b376: Verifying Checksum 08:08:31 5eb5b503b376: Download complete 08:08:31 2f39f015ded8: Download complete 08:08:32 5eb5b503b376: Pull complete 08:08:32 5c69ac0246d0: Pull complete 08:08:33 ec43610c2a17: Pull complete 08:08:33 3a2ae6a8a46f: Pull complete 08:08:33 33b1e0a273af: Pull complete 08:08:33 5d3b04190fa2: Pull complete 08:08:39 2f39f015ded8: Pull complete 08:08:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:08:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:08:39 prd-ubuntu20.04-docker-8c-8g-33446 does not seem to be running inside a container 08:08:39 $ 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-181 -v /w/workspace/gexfoundry_device-rest-go_PR-181:/w/workspace/gexfoundry_device-rest-go_PR-181:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-181@tmp:/w/workspace/gexfoundry_device-rest-go_PR-181@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 08:08:41 $ docker top 4566d91fda0a747fd5ba86d2d99666fe00e3de42a5c487b52c5986bd913cb8fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:41 ---> job-cost.sh 08:08:41 lf-activate-venv: SKIPPING 08:08:41 INFO: No Stack... 08:08:42 INFO: Retrieving Pricing Info for: v3-standard-8 08:08:42 INFO: Archiving Costs [Pipeline] sh 08:08:43 + cat /w/workspace/gexfoundry_device-rest-go_PR-181/archives/cost.csv 08:08:43 + cut -d, -f6 [Pipeline] lock 08:08:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] 08:08:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] did not exist. Created. 08:08:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:08:43 + echo total: 0.2199999988079071 [Pipeline] stash 08:08:43 Stashed 1 file(s) [Pipeline] } 08:08:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:08:43 $ docker stop --time=1 4566d91fda0a747fd5ba86d2d99666fe00e3de42a5c487b52c5986bd913cb8fb 08:08:44 $ docker rm -f 4566d91fda0a747fd5ba86d2d99666fe00e3de42a5c487b52c5986bd913cb8fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:10:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33447 in /w/workspace/gexfoundry_device-rest-go_PR-181 [Pipeline] { [Pipeline] ws 08:10:33 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 08:10:34 The recommended git tool is: git 08:10:41 using credential edgex-jenkins-ssh 08:10:41 Cloning the remote Git repository 08:10:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:10:41 > git init /w/workspace/device-rest-go/1 # timeout=10 08:10:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:10:41 > git --version # timeout=10 08:10:41 > git --version # 'git version 2.25.1' 08:10:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:10:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:10:43 Merging remotes/origin/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec 08:10:44 Merge succeeded, producing b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec 08:10:44 Checking out Revision b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec (PR-181) 08:10:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:10:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:10:43 > git config core.sparsecheckout # timeout=10 08:10:44 > git checkout -f b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec # timeout=10 08:10:44 > git remote # timeout=10 08:10:44 > git config --get remote.origin.url # timeout=10 08:10:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:44 > git merge b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 08:10:44 > git rev-parse HEAD^{commit} # timeout=10 08:10:44 > git config core.sparsecheckout # timeout=10 08:10:44 > git checkout -f b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec # timeout=10 08:10:48 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 08:10:48 > git --version # timeout=10 08:10:48 > git --version # 'git version 2.25.1' 08:10:48 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:10:49 % Total % Received % Xferd Average Speed Time Time Time Current 08:10:49 Dload Upload Total Spent Left Speed 08:10:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 75916 0 --:--:-- --:--:-- --:--:-- 75916 [Pipeline] sh 08:10:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:10:50 + sudo tee /etc/docker/daemon.new 08:10:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:10:50 { 08:10:50 "registry-mirrors": [ 08:10:50 "https://nexus3.edgexfoundry.org:10001" 08:10:50 ], 08:10:50 "bip": "10.250.0.254/24", 08:10:50 "hosts": [ 08:10:50 "tcp://0.0.0.0:5555", 08:10:50 "unix:///var/run/docker.sock" 08:10:50 ], 08:10:50 "mtu": 1458, 08:10:50 "selinux-enabled": true, 08:10:50 "seccomp-profile": "/etc/docker/seccomp.json" 08:10:50 } [Pipeline] sh 08:10:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:10:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:11:09 provisioning config files... 08:11:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8984363663407005481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:10 ---> docker-login.sh 08:11:10 nexus3.edgexfoundry.org:10001 08:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:11 Configure a credential helper to remove this warning. See 08:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:11 08:11:11 Login Succeeded 08:11:11 nexus3.edgexfoundry.org:10002 08:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:11 Configure a credential helper to remove this warning. See 08:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:11 08:11:11 Login Succeeded 08:11:11 nexus3.edgexfoundry.org:10003 08:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:12 Configure a credential helper to remove this warning. See 08:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:12 08:11:12 Login Succeeded 08:11:12 nexus3.edgexfoundry.org:10004 08:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:13 Configure a credential helper to remove this warning. See 08:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:13 08:11:13 Login Succeeded 08:11:13 docker.io 08:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:14 Configure a credential helper to remove this warning. See 08:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:14 08:11:14 Login Succeeded 08:11:14 ---> docker-login.sh ends [Pipeline] } 08:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:15 ========================================================= 08:11:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:11:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:11:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:11:15 Sending build context to Docker daemon 130kB 08:11:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:11:15 Step 2/12 : FROM ${BASE} AS builder 08:11:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:11:16 9b3977197b4f: Pulling fs layer 08:11:16 1a89e8eeedd5: Pulling fs layer 08:11:16 94645a83ff95: Pulling fs layer 08:11:16 3f3a8bcf1eab: Pulling fs layer 08:11:16 0c92f367c5e7: Pulling fs layer 08:11:16 3096ccb668a1: Pulling fs layer 08:11:16 e8cf19c19ddd: Pulling fs layer 08:11:16 a4caa8a26152: Pulling fs layer 08:11:16 0c92f367c5e7: Waiting 08:11:16 3096ccb668a1: Waiting 08:11:16 e8cf19c19ddd: Waiting 08:11:16 a4caa8a26152: Waiting 08:11:16 3f3a8bcf1eab: Waiting 08:11:16 94645a83ff95: Verifying Checksum 08:11:16 94645a83ff95: Download complete 08:11:16 1a89e8eeedd5: Download complete 08:11:16 0c92f367c5e7: Verifying Checksum 08:11:16 0c92f367c5e7: Download complete 08:11:16 3096ccb668a1: Verifying Checksum 08:11:16 3096ccb668a1: Download complete 08:11:16 9b3977197b4f: Verifying Checksum 08:11:16 9b3977197b4f: Download complete 08:11:16 e8cf19c19ddd: Verifying Checksum 08:11:16 e8cf19c19ddd: Download complete 08:11:16 9b3977197b4f: Pull complete 08:11:17 1a89e8eeedd5: Pull complete 08:11:18 94645a83ff95: Pull complete 08:11:18 a4caa8a26152: Verifying Checksum 08:11:18 a4caa8a26152: Download complete 08:11:18 3f3a8bcf1eab: Verifying Checksum 08:11:18 3f3a8bcf1eab: Download complete 08:11:31 3f3a8bcf1eab: Pull complete 08:11:31 0c92f367c5e7: Pull complete 08:11:31 3096ccb668a1: Pull complete 08:11:31 e8cf19c19ddd: Pull complete 08:11:38 a4caa8a26152: Pull complete 08:11:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:11:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:11:38 ---> 725f1c02e7f9 08:11:38 Step 3/12 : ARG MAKE='make build' 08:11:39 ---> Running in c7b9a23a4022 08:11:39 Removing intermediate container c7b9a23a4022 08:11:39 ---> fe11618da976 08:11:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:11:39 ---> Running in ccbac08af2f7 08:11:40 Removing intermediate container ccbac08af2f7 08:11:40 ---> 874c5ec8305e 08:11:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:11:40 ---> Running in 2b82bb8683e9 08:11:41 Removing intermediate container 2b82bb8683e9 08:11:41 ---> 7da6c7f6d46a 08:11:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:11:41 ---> Running in 204bc8290ecf 08:11:43 Removing intermediate container 204bc8290ecf 08:11:43 ---> 9b13dfe660c4 08:11:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:43 ---> Running in 7278479546e2 08:11:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:11:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:11:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:11:46 (2/4) Installing libedit (20210910.3.1-r0) 08:11:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:11:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:11:47 Executing busybox-1.34.1-r3.trigger 08:11:47 OK: 224 MiB in 56 packages 08:11:48 Removing intermediate container 7278479546e2 08:11:48 ---> 3dbc9f386e35 08:11:48 Step 8/12 : WORKDIR /device-rest-go 08:11:48 ---> Running in 0e5325d2373c 08:11:48 Removing intermediate container 0e5325d2373c 08:11:48 ---> 12f83989bcdd 08:11:48 Step 9/12 : COPY go.mod vendor* ./ 08:11:48 ---> 22ebc544bbc8 08:11:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:48 ---> Running in 9d7f635806a1 08:12:35 Removing intermediate container 9d7f635806a1 08:12:35 ---> 403e357bf89e 08:12:35 Step 11/12 : COPY . . 08:12:35 ---> 3c1331ffa38c 08:12:35 Step 12/12 : RUN $MAKE 08:12:35 ---> Running in 00cf0dbfbf55 08:12:36 noop 08:12:37 Removing intermediate container 00cf0dbfbf55 08:12:37 ---> cfd246fa5c4a 08:12:37 Successfully built cfd246fa5c4a 08:12:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:12:37 + docker inspect -f . ci-base-image-arm64 08:12:37 . [Pipeline] withDockerContainer 08:12:38 prd-ubuntu20.04-docker-arm64-4c-16g-33447 does not seem to be running inside a container 08:12:38 $ 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 ******** ci-base-image-arm64 cat 08:12:39 $ docker top a51dcbea43a500e066eb2ca3e0b87d92a64848230ba62c25a14f9ce345d3897a -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:40 + go version 08:12:40 go version go1.17.6 linux/arm64 [Pipeline] } 08:12:40 $ docker stop --time=1 a51dcbea43a500e066eb2ca3e0b87d92a64848230ba62c25a14f9ce345d3897a 08:12:42 $ docker rm -f a51dcbea43a500e066eb2ca3e0b87d92a64848230ba62c25a14f9ce345d3897a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:12:43 + docker inspect -f . ci-base-image-arm64 08:12:43 . [Pipeline] withDockerContainer 08:12:43 prd-ubuntu20.04-docker-arm64-4c-16g-33447 does not seem to be running inside a container 08:12:43 $ 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 ******** ci-base-image-arm64 cat 08:12:44 $ docker top 14463bf49147532f6cdffcf722444488df71c469213be0ba109e25a7f34ace9a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:12:45 + make test 08:12:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:12:47 ? github.com/edgexfoundry/device-rest-go [no test files] 08:14:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:14:09 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 08:14:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:14:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:14:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:14:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:14:36 ./bin/test-attribution-txt.sh [Pipeline] echo 08:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:14:37 $ docker stop --time=1 14463bf49147532f6cdffcf722444488df71c469213be0ba109e25a7f34ace9a 08:14:39 $ docker rm -f 14463bf49147532f6cdffcf722444488df71c469213be0ba109e25a7f34ace9a [Pipeline] // withDockerContainer [Pipeline] sh 08:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:14:40 Warning: overwriting stash ‘coverage-report’ 08:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:14:41 + ls -al . 08:14:41 total 168 08:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:14 . 08:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 08:10 .. 08:14:41 -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 08:10 .dockerignore 08:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:10 .git 08:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:10 .github 08:14:41 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 08:10 .gitignore 08:14:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 08:10 .golangci.yml 08:14:41 -rw-rw-r-- 1 jenkins jenkins 8463 Apr 27 08:10 Attribution.txt 08:14:41 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 27 08:10 CHANGELOG.md 08:14:41 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 27 08:10 Dockerfile 08:14:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 08:10 GOVERNANCE.md 08:14:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 08:10 Jenkinsfile 08:14:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 08:10 LICENSE 08:14:41 -rw-rw-r-- 1 jenkins jenkins 1977 Apr 27 08:10 Makefile 08:14:41 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 08:10 OWNERS.md 08:14:41 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 27 08:10 README.md 08:14:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 08:06 VERSION 08:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:10 bin 08:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:10 cmd 08:14:41 -rw-r--r-- 1 jenkins jenkins 9355 Apr 27 08:14 coverage.out 08:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:10 driver 08:14:41 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 08:10 go.mod 08:14:41 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 08:10 go.sum 08:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:10 snap 08:14:41 -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 08:10 version.go [Pipeline] isUnix [Pipeline] sh 08:14:41 + 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=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec --label arch=arm64 --label version=0.0.0 . 08:14:41 Sending build context to Docker daemon 140.3kB 08:14:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:14:42 Step 2/25 : FROM ${BASE} AS builder 08:14:42 ---> cfd246fa5c4a 08:14:42 Step 3/25 : ARG MAKE='make build' 08:14:42 ---> Running in 1d3298be1cdd 08:14:42 Removing intermediate container 1d3298be1cdd 08:14:42 ---> 60c3fb2d3e83 08:14:42 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:14:42 ---> Running in 658d75e13af4 08:14:43 Removing intermediate container 658d75e13af4 08:14:43 ---> 127ab36bbec3 08:14:43 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:14:43 ---> Running in 14cdf96afca5 08:14:43 Removing intermediate container 14cdf96afca5 08:14:43 ---> 9b68dfc77484 08:14:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:14:43 ---> Running in bfb3db2b150a 08:14:44 Removing intermediate container bfb3db2b150a 08:14:44 ---> c35e28f0e8ad 08:14:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:14:45 ---> Running in ad5ac4cc04c2 08:14:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:14:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:14:47 OK: 224 MiB in 56 packages 08:14:48 Removing intermediate container ad5ac4cc04c2 08:14:48 ---> 8ba7b0cd0294 08:14:48 Step 8/25 : WORKDIR /device-rest-go 08:14:48 ---> Running in 65639a8c488e 08:14:48 Removing intermediate container 65639a8c488e 08:14:48 ---> 692d3674078d 08:14:48 Step 9/25 : COPY go.mod vendor* ./ 08:14:48 ---> a3b131b8d505 08:14:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:14:49 ---> Running in ac20e2436a2d 08:14:51 Removing intermediate container ac20e2436a2d 08:14:51 ---> 99b9e681626c 08:14:51 Step 11/25 : COPY . . 08:14:51 ---> 3256a5ea6da2 08:14:51 Step 12/25 : RUN $MAKE 08:14:51 ---> Running in 1a46fb64ca0f 08:14:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:16:59 Removing intermediate container 1a46fb64ca0f 08:16:59 ---> 15f38d8db0f7 08:16:59 Step 13/25 : FROM alpine:3.14 08:16:59 3.14: Pulling from library/alpine 08:16:59 455c02918c45: Pulling fs layer 08:16:59 455c02918c45: Download complete 08:16:59 455c02918c45: Pull complete 08:16:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:16:59 Status: Downloaded newer image for alpine:3.14 08:16:59 ---> ac73e934f311 08:16:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:16:59 ---> Running in 91050c5f5c57 08:16:59 Removing intermediate container 91050c5f5c57 08:16:59 ---> ef8e05e88e0b 08:16:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:16:59 ---> Running in 2c27979f791b 08:16:59 Removing intermediate container 2c27979f791b 08:16:59 ---> a4cc155d966e 08:16:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:16:59 ---> Running in cfca9f37bdcd 08:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:16:59 (1/6) Installing dumb-init (1.2.5-r1) 08:16:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:16:59 (3/6) Installing libsodium (1.0.18-r0) 08:16:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:16:59 (5/6) Installing libzmq (4.3.4-r0) 08:16:59 (6/6) Installing zeromq (4.3.4-r0) 08:16:59 Executing busybox-1.33.1-r7.trigger 08:16:59 OK: 8 MiB in 20 packages 08:16:59 Removing intermediate container cfca9f37bdcd 08:16:59 ---> f871fff7a874 08:16:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:17:00 ---> 7d1b7bf3d276 08:17:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:17:00 ---> b0e1def58fa4 08:17:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:17:01 ---> b6e05a38fa48 08:17:01 Step 20/25 : EXPOSE 59986 08:17:01 ---> Running in 98cb717408b2 08:17:01 Removing intermediate container 98cb717408b2 08:17:01 ---> c6c6b6885752 08:17:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:17:01 ---> Running in 5657637d09bc 08:17:02 Removing intermediate container 5657637d09bc 08:17:02 ---> bbe657330622 08:17:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:17:02 ---> Running in bd2539b64f3d 08:17:02 Removing intermediate container bd2539b64f3d 08:17:02 ---> 3ab12b9c140b 08:17:02 Step 23/25 : LABEL arch=arm64 08:17:02 ---> Running in e4abc94aec51 08:17:02 Removing intermediate container e4abc94aec51 08:17:02 ---> 720bebf95c02 08:17:02 Step 24/25 : LABEL git_sha=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec 08:17:02 ---> Running in 9a77e6c09a77 08:17:03 Removing intermediate container 9a77e6c09a77 08:17:03 ---> 437f37525f2d 08:17:03 Step 25/25 : LABEL version=0.0.0 08:17:03 ---> Running in f290063a4b4c 08:17:03 Removing intermediate container f290063a4b4c 08:17:03 ---> 3e624f0a915d 08:17:03 [Warning] One or more build-args [ARCH] were not consumed 08:17:03 Successfully built 3e624f0a915d 08:17:03 Successfully tagged device-rest-arm64:latest [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] sh 08:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:04 08:17:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:17:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:04 arm64: Pulling from edgex-lftools-log-publisher 08:17:04 8998bd30e6a1: Pulling fs layer 08:17:04 04944245beec: Pulling fs layer 08:17:04 699f458cf7ca: Pulling fs layer 08:17:04 765212b225bb: Pulling fs layer 08:17:04 f23df028b6ca: Pulling fs layer 08:17:04 d65c8cfc05b1: Pulling fs layer 08:17:04 2437ff75d9bd: Pulling fs layer 08:17:04 f23df028b6ca: Waiting 08:17:04 d65c8cfc05b1: Waiting 08:17:04 2437ff75d9bd: Waiting 08:17:04 765212b225bb: Waiting 08:17:04 04944245beec: Verifying Checksum 08:17:04 04944245beec: Download complete 08:17:04 765212b225bb: Download complete 08:17:04 f23df028b6ca: Download complete 08:17:04 d65c8cfc05b1: Verifying Checksum 08:17:04 d65c8cfc05b1: Download complete 08:17:05 699f458cf7ca: Verifying Checksum 08:17:05 699f458cf7ca: Download complete 08:17:05 8998bd30e6a1: Verifying Checksum 08:17:05 8998bd30e6a1: Download complete 08:17:08 2437ff75d9bd: Verifying Checksum 08:17:08 2437ff75d9bd: Download complete 08:17:09 8998bd30e6a1: Pull complete 08:17:10 04944245beec: Pull complete 08:17:11 699f458cf7ca: Pull complete 08:17:11 765212b225bb: Pull complete 08:17:12 f23df028b6ca: Pull complete 08:17:12 d65c8cfc05b1: Pull complete 08:17:27 2437ff75d9bd: Pull complete 08:17:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-33447 does not seem to be running inside a container 08:17:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:17:30 $ docker top 171dc8882362cc0b5fbee3433ca45c23042f1287e499ae86f7b3a485191aa4d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:31 ---> job-cost.sh 08:17:31 lf-activate-venv: SKIPPING 08:17:31 INFO: No Stack... 08:17:32 INFO: Retrieving Pricing Info for: v3-standard-4 08:17:33 INFO: Archiving Costs [Pipeline] sh 08:17:34 + cat /w/workspace/device-rest-go/1/archives/cost.csv 08:17:34 + cut -d, -f6 [Pipeline] lock 08:17:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] 08:17:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] did not exist. Created. 08:17:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:17:34 /w/workspace/device-rest-go/1@tmp/durable-9e87aff7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:17:35 + echo total: 0.10999999940395355 [Pipeline] stash 08:17:35 Warning: overwriting stash ‘stack-cost’ 08:17:35 Stashed 1 file(s) [Pipeline] } 08:17:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:17:35 $ docker stop --time=1 171dc8882362cc0b5fbee3433ca45c23042f1287e499ae86f7b3a485191aa4d5 08:17:37 $ docker rm -f 171dc8882362cc0b5fbee3433ca45c23042f1287e499ae86f7b3a485191aa4d5 [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 08:17:38 provisioning config files... 08:17:38 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/config4894375613428113242tmp [Pipeline] { [Pipeline] sh 08:17:38 + set +x 08:17:38 + curl -s https://codecov.io/bash 08:17:38 + bash -s -- 08:17:38 08:17:38 _____ _ 08:17:38 / ____| | | 08:17:38 | | ___ __| | ___ ___ _____ __ 08:17:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:17:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:17:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:17:38 Bash-1.0.6 08:17:38 08:17:38 08:17:38 ==> git version 2.25.1 found 08:17:38 ==> 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 08:17:38 Release-Date: 2020-01-08 08:17:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:17:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:17:38 ==> Jenkins CI detected. 08:17:38 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-181 08:17:38 project root: . 08:17:38 --> token set from env 08:17:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:17:38 ==> Running gcov in . (disable via -X gcov) 08:17:38 ==> Python coveragepy not found 08:17:38 ==> Searching for coverage reports in: 08:17:38 + . 08:17:38 -> Found 1 reports 08:17:38 ==> Detecting git/mercurial file structure 08:17:38 ==> Reading reports 08:17:38 + ./coverage.out bytes=9355 08:17:38 ==> Appending adjustments 08:17:38 https://docs.codecov.io/docs/fixing-reports 08:17:38 + Found adjustments 08:17:38 ==> Gzipping contents 08:17:38 4.0K /tmp/codecov.l9luRr.gz 08:17:38 ==> Uploading reports 08:17:38 url: https://codecov.io 08:17:38 query: branch=PR-181&commit=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=181&job=&cmd_args= 08:17:38 -> Pinging Codecov 08:17:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-181&commit=b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=181&job=&cmd_args= 08:17:39 -> Uploading to 08:17:39 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/4E5D53B4F1F92C436F7061BF334D961C/b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec/8db861fa-8457-44ed-b969-bfbecb5e1047.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T081739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5d0461f867864105b039b368f99ac4b8553d648d153bc6b193382810adbf452 08:17:39 % Total % Received % Xferd Average Speed Time Time Time Current 08:17:39 Dload Upload Total Spent Left Speed 08:17:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7082 --:--:-- --:--:-- --:--:-- 7110 08:17:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b6f2cc25e9ff0f3e267c44d4cafbc9ca657a64ec [Pipeline] } 08:17:39 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 08:17:41 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-181/archives ] 08:17:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-181/archives 08:17:41 total 16 08:17:41 drwxr-xr-x 3 root root 4096 Apr 27 08:08 . 08:17:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 08:08 .. 08:17:41 drwxr-xr-x 2 root root 4096 Apr 27 08:08 cost 08:17:41 -rw-r--r-- 1 root root 85 Apr 27 08:08 cost.csv 08:17:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-181/archives 08:17:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-181/archives 08:17:41 total 16 08:17:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 08:08 . 08:17:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 08:08 .. 08:17:41 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 08:08 cost 08:17:41 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 08:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:17:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:17:42 ---> package-listing.sh 08:17:42 ++ tr '[:upper:]' '[:lower:]' 08:17:42 ++ facter osfamily 08:17:42 + OS_FAMILY=debian 08:17:42 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-181 08:17:42 + START_PACKAGES=/tmp/packages_start.txt 08:17:42 + END_PACKAGES=/tmp/packages_end.txt 08:17:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:17:42 + PACKAGES=/tmp/packages_start.txt 08:17:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-181 ']' 08:17:42 + PACKAGES=/tmp/packages_end.txt 08:17:42 + case "${OS_FAMILY}" in 08:17:42 + dpkg -l 08:17:42 + grep '^ii' 08:17:42 + '[' -f /tmp/packages_start.txt ']' 08:17:42 + '[' -f /tmp/packages_end.txt ']' 08:17:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:17:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-181 ']' 08:17:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-181/archives/ 08:17:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-181/archives/ [Pipeline] echo 08:17:42 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-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:17:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:17:43 . [Pipeline] withDockerContainer 08:17:43 prd-ubuntu20.04-docker-8c-8g-33446 does not seem to be running inside a container 08:17:43 $ 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-181/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-181 -v /w/workspace/gexfoundry_device-rest-go_PR-181:/w/workspace/gexfoundry_device-rest-go_PR-181:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-181@tmp:/w/workspace/gexfoundry_device-rest-go_PR-181@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 08:17:44 $ docker top 2777536f89b09149040d66896a76b9c075bd524f4a221bde169a59b65efb7f01 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:44 + touch /tmp/pre-build-complete [Pipeline] sh 08:17:44 + mkdir -p /var/log/sysstat [Pipeline] sh 08:17:45 + ls /var/log/sa-host 08:17:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:45 provisioning config files... 08:17:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-181@tmp/config8926200604846854196tmp [Pipeline] { [Pipeline] echo 08:17:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:17:45 ---> create-netrc.sh [Pipeline] } 08:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:17:46 ---> python-tools-install.sh [Pipeline] echo 08:17:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:17:46 ---> sudo-logs.sh 08:17:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:17:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:17:47 ---> job-cost.sh 08:17:47 lf-activate-venv: SKIPPING 08:17:47 DEBUG: total: 0.2199999988079071 08:17:47 INFO: Retrieving Stack Cost... 08:17:47 INFO: Retrieving Pricing Info for: v3-standard-8 08:17:47 INFO: Archiving Costs [Pipeline] echo 08:17:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:17:48 ---> logs-deploy.sh 08:17:48 lf-activate-venv: SKIPPING 08:17:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-181/1 08:17:48 INFO: archiving workspace using pattern(s): 08:17:49 Archives upload complete. 08:17:49 INFO: archiving logs to Nexus