Pull request #1084 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c5bde19f229bd9fb830245ad58441650dbec3d77+010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (6bc4b4e8345fc4bc23d78d9850b0754cd52a9096) 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-ssh831180684795948742.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh11348588331886838111.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-sdk-go/branches/PR-1084/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-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9570660917129426435.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-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7261319524130737219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh1938332374551008105.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-sdk-go/branches/PR-1084/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-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5111096501935352391.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1851 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1084 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/jenkins-gitclient-ssh4520398143590299262.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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 /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/jenkins-gitclient-ssh1908897299228548735.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit c5bde19f229bd9fb830245ad58441650dbec3d77 Merge succeeded, producing c5bde19f229bd9fb830245ad58441650dbec3d77 Checking out Revision c5bde19f229bd9fb830245ad58441650dbec3d77 (PR-1084) > git config core.sparsecheckout # timeout=10 > git checkout -f c5bde19f229bd9fb830245ad58441650dbec3d77 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/jenkins-gitclient-ssh6942676552886345829.key > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5bde19f229bd9fb830245ad58441650dbec3d77 # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-19T19:52:54.081Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T19:52:54.332Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T19:52:54.463Z] ========================================================= [2022-01-19T19:52:54.463Z] EdgeX Global Pipelines Version Info [2022-01-19T19:52:54.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:52:55.618Z] ------------------- [2022-01-19T19:52:55.618Z] stable info: [2022-01-19T19:52:55.618Z] ------------------- [2022-01-19T19:52:55.618Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T19:52:55.618Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T19:52:55.618Z] Message: update stable to v1.0.219 [2022-01-19T19:52:56.189Z] ------------------- [2022-01-19T19:52:56.189Z] experimental info: [2022-01-19T19:52:56.189Z] ------------------- [2022-01-19T19:52:56.189Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T19:52:56.189Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T19:52:56.189Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T19:52:56.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-19T19:52:56.473Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-19T19:52:56.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T19:52:56.551Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T19:52:56.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T19:52:56.634Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T19:52:56.682Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T19:52:56.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-19T19:52:56.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T19:52:56.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T19:52:56.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T19:52:56.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-19T19:52:56.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T19:52:56.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T19:52:57.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T19:52:57.062Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T19:52:57.104Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T19:52:57.153Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T19:52:57.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T19:52:57.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T19:52:57.274Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-19T19:52:57.311Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-19T19:52:57.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T19:52:57.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T19:52:57.443Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T19:52:57.489Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T19:52:57.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1084 [Pipeline] echo [2022-01-19T19:52:57.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1084 [Pipeline] echo [2022-01-19T19:52:57.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1084 [Pipeline] echo [2022-01-19T19:52:57.648Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5bde19f229bd9fb830245ad58441650dbec3d77 [Pipeline] echo [2022-01-19T19:52:57.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5bde19 [Pipeline] echo [2022-01-19T19:52:57.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T19:52:57.846Z] provisioning config files... [2022-01-19T19:52:57.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config2623564934055947755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:52:58.214Z] ---> docker-login.sh [2022-01-19T19:52:58.214Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:52:58.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:58.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:58.214Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:58.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:58.214Z] [2022-01-19T19:52:58.214Z] Login Succeeded [2022-01-19T19:52:58.214Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:52:58.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:58.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:58.479Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:58.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:58.479Z] [2022-01-19T19:52:58.479Z] Login Succeeded [2022-01-19T19:52:58.479Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:52:58.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:58.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:58.479Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:58.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:58.479Z] [2022-01-19T19:52:58.479Z] Login Succeeded [2022-01-19T19:52:58.479Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:52:58.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:58.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:58.753Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:58.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:58.753Z] [2022-01-19T19:52:58.753Z] Login Succeeded [2022-01-19T19:52:58.753Z] docker.io [2022-01-19T19:52:58.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:52:59.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:52:59.014Z] Configure a credential helper to remove this warning. See [2022-01-19T19:52:59.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:52:59.014Z] [2022-01-19T19:52:59.014Z] Login Succeeded [2022-01-19T19:52:59.014Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:52:59.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T19:52:59.647Z] + git rev-list -1 --merges c5bde19f229bd9fb830245ad58441650dbec3d77~1..c5bde19f229bd9fb830245ad58441650dbec3d77 [Pipeline] echo [2022-01-19T19:52:59.694Z] -----------> git rev-list -1 --merges c5bde19f229bd9fb830245ad58441650dbec3d77~1..c5bde19f229bd9fb830245ad58441650dbec3d77 c5bde19f229bd9fb830245ad58441650dbec3d77 [false] [Pipeline] sh [2022-01-19T19:53:00.022Z] + git log --format=format:%s -1 c5bde19f229bd9fb830245ad58441650dbec3d77 [Pipeline] echo [2022-01-19T19:53:00.061Z] ========================================================= [2022-01-19T19:53:00.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T19:53:00.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T19:53:00.520Z] + git log --format=format:%s -1 c5bde19f229bd9fb830245ad58441650dbec3d77 [Pipeline] echo [2022-01-19T19:53:00.554Z] [semverPrep] GIT_COMMIT: c5bde19f229bd9fb830245ad58441650dbec3d77, Commit Message: ci: Go 1.17 related changes [Pipeline] echo [2022-01-19T19:53:00.585Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T19:53:01.020Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T19:53:01.020Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T19:53:01.020Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T19:53:01.020Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T19:53:01.020Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T19:53:01.020Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T19:53:01.020Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:01.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:53:01.403Z] [2022-01-19T19:53:01.403Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:01.755Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:53:01.755Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T19:53:01.755Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T19:53:01.755Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T19:53:01.755Z] 4c7163046ea9: Pulling fs layer [2022-01-19T19:53:01.755Z] 0c2d73faf560: Pulling fs layer [2022-01-19T19:53:01.755Z] 0c2d73faf560: Waiting [2022-01-19T19:53:01.755Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T19:53:01.755Z] 3e5f54012d9b: Download complete [2022-01-19T19:53:01.755Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T19:53:01.755Z] a0d0a0d46f8b: Download complete [2022-01-19T19:53:01.755Z] 4c7163046ea9: Verifying Checksum [2022-01-19T19:53:01.755Z] 4c7163046ea9: Download complete [2022-01-19T19:53:02.020Z] 0c2d73faf560: Verifying Checksum [2022-01-19T19:53:02.020Z] 0c2d73faf560: Download complete [2022-01-19T19:53:02.020Z] a0d0a0d46f8b: Pull complete [2022-01-19T19:53:02.020Z] 3e5f54012d9b: Pull complete [2022-01-19T19:53:02.282Z] 4c7163046ea9: Pull complete [2022-01-19T19:53:02.545Z] 0c2d73faf560: Pull complete [2022-01-19T19:53:02.545Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T19:53:02.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T19:53:02.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T19:53:02.641Z] prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container [2022-01-19T19:53:02.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-19T19:53:03.375Z] $ docker top 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T19:53:03.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T19:53:03.571Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T19:53:03.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T19:53:03.681Z] $ docker exec 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 ssh-agent [2022-01-19T19:53:03.778Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMHIgam/agent.14 [2022-01-19T19:53:03.779Z] SSH_AGENT_PID=21 [2022-01-19T19:53:03.786Z] Running ssh-add (command line suppressed) [2022-01-19T19:53:03.874Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_5505353494183411965.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_5505353494183411965.key) [2022-01-19T19:53:03.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T19:53:04.317Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T19:53:04.344Z] $ docker exec --env ******** --env ******** 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 ssh-agent -k [2022-01-19T19:53:04.422Z] unset SSH_AUTH_SOCK; [2022-01-19T19:53:04.423Z] unset SSH_AGENT_PID; [2022-01-19T19:53:04.423Z] echo Agent pid 21 killed; [2022-01-19T19:53:04.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T19:53:04.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T19:53:04.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T19:53:04.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T19:53:04.622Z] $ docker exec 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 ssh-agent [2022-01-19T19:53:04.723Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEJEJen/agent.55 [2022-01-19T19:53:04.723Z] SSH_AGENT_PID=61 [2022-01-19T19:53:04.729Z] Running ssh-add (command line suppressed) [2022-01-19T19:53:04.823Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_2468484525758517289.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_2468484525758517289.key) [2022-01-19T19:53:04.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T19:53:05.232Z] + git semver init [2022-01-19T19:53:05.232Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T19:53:05.232Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.git [2022-01-19T19:53:05.232Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-19T19:53:05.232Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T19:53:05.232Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T19:53:05.232Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T19:53:05.232Z] # $SEMVER_BRANCH = PR-1084 [2022-01-19T19:53:05.232Z] # $SEMVER_TEMP = /tmp/semver-835460032 [2022-01-19T19:53:05.232Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-19T19:53:06.175Z] # '/tmp/semver-835460032' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver' [2022-01-19T19:53:06.175Z] # -> Force: false [2022-01-19T19:53:06.175Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver [Pipeline] } [2022-01-19T19:53:06.204Z] $ docker exec --env ******** --env ******** 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 ssh-agent -k [2022-01-19T19:53:06.289Z] unset SSH_AUTH_SOCK; [2022-01-19T19:53:06.289Z] unset SSH_AGENT_PID; [2022-01-19T19:53:06.289Z] echo Agent pid 61 killed; [2022-01-19T19:53:06.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T19:53:06.729Z] + git semver [Pipeline] } [2022-01-19T19:53:06.766Z] $ docker stop --time=1 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 [2022-01-19T19:53:08.057Z] $ docker rm -f 839ae981c2e3e804ad27a8ad55aa0f7dd78798a75e86b92a3f2505502dff6ff5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T19:53:08.462Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T19:53:08.776Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T19:53:08.799Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T19:53:09.452Z] provisioning config files... [2022-01-19T19:53:09.462Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config1420913565742504203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:53:09.831Z] ---> docker-login.sh [2022-01-19T19:53:09.831Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:53:09.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:09.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:09.831Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:09.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:09.831Z] [2022-01-19T19:53:09.831Z] Login Succeeded [2022-01-19T19:53:09.831Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:53:09.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:09.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:09.831Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:09.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:09.831Z] [2022-01-19T19:53:09.831Z] Login Succeeded [2022-01-19T19:53:09.831Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:53:10.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:10.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:10.092Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:10.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:10.092Z] [2022-01-19T19:53:10.092Z] Login Succeeded [2022-01-19T19:53:10.092Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:53:10.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:10.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:10.092Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:10.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:10.092Z] [2022-01-19T19:53:10.092Z] Login Succeeded [2022-01-19T19:53:10.092Z] docker.io [2022-01-19T19:53:10.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:53:10.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:53:10.612Z] Configure a credential helper to remove this warning. See [2022-01-19T19:53:10.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:53:10.612Z] [2022-01-19T19:53:10.612Z] Login Succeeded [2022-01-19T19:53:10.612Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:53:10.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T19:53:10.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T19:53:10.914Z] ========================================================= [2022-01-19T19:53:10.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T19:53:10.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:11.342Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-19T19:53:11.342Z] Sending build context to Docker daemon 9.373MB [2022-01-19T19:53:11.342Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T19:53:11.342Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T19:53:11.342Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T19:53:11.342Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T19:53:11.342Z] 666ba61612fd: Pulling fs layer [2022-01-19T19:53:11.342Z] 8ed8ca486205: Pulling fs layer [2022-01-19T19:53:11.342Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T19:53:11.342Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T19:53:11.342Z] f965cba54748: Pulling fs layer [2022-01-19T19:53:11.342Z] 861ffc35075e: Pulling fs layer [2022-01-19T19:53:11.342Z] 4b385c91608e: Pulling fs layer [2022-01-19T19:53:11.342Z] 560528eb2ebb: Pulling fs layer [2022-01-19T19:53:11.342Z] f965cba54748: Waiting [2022-01-19T19:53:11.342Z] 861ffc35075e: Waiting [2022-01-19T19:53:11.342Z] 4b385c91608e: Waiting [2022-01-19T19:53:11.342Z] 560528eb2ebb: Waiting [2022-01-19T19:53:11.342Z] 4fe6c5a15a65: Waiting [2022-01-19T19:53:11.342Z] 22a0e8bec74d: Waiting [2022-01-19T19:53:11.606Z] 8ed8ca486205: Verifying Checksum [2022-01-19T19:53:11.606Z] 8ed8ca486205: Download complete [2022-01-19T19:53:11.606Z] 666ba61612fd: Verifying Checksum [2022-01-19T19:53:11.606Z] 666ba61612fd: Download complete [2022-01-19T19:53:11.606Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T19:53:11.606Z] 22a0e8bec74d: Download complete [2022-01-19T19:53:11.606Z] f965cba54748: Verifying Checksum [2022-01-19T19:53:11.606Z] f965cba54748: Download complete [2022-01-19T19:53:11.606Z] 861ffc35075e: Verifying Checksum [2022-01-19T19:53:11.606Z] 861ffc35075e: Download complete [2022-01-19T19:53:11.606Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T19:53:11.606Z] 59bf1c3509f3: Download complete [2022-01-19T19:53:11.606Z] 4b385c91608e: Verifying Checksum [2022-01-19T19:53:11.606Z] 4b385c91608e: Download complete [2022-01-19T19:53:11.868Z] 59bf1c3509f3: Pull complete [2022-01-19T19:53:12.143Z] 666ba61612fd: Pull complete [2022-01-19T19:53:12.143Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T19:53:12.143Z] 4fe6c5a15a65: Download complete [2022-01-19T19:53:12.143Z] 8ed8ca486205: Pull complete [2022-01-19T19:53:12.407Z] 560528eb2ebb: Verifying Checksum [2022-01-19T19:53:12.407Z] 560528eb2ebb: Download complete [2022-01-19T19:53:16.640Z] 4fe6c5a15a65: Pull complete [2022-01-19T19:53:16.640Z] 22a0e8bec74d: Pull complete [2022-01-19T19:53:16.640Z] f965cba54748: Pull complete [2022-01-19T19:53:16.640Z] 861ffc35075e: Pull complete [2022-01-19T19:53:16.640Z] 4b385c91608e: Pull complete [2022-01-19T19:53:19.201Z] 560528eb2ebb: Pull complete [2022-01-19T19:53:19.201Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T19:53:19.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T19:53:19.201Z] ---> dd4a08f94e63 [2022-01-19T19:53:19.201Z] Step 3/11 : ARG MAKE=make build [2022-01-19T19:53:21.758Z] ---> Running in 2cc9f065fe27 [2022-01-19T19:53:21.758Z] Removing intermediate container 2cc9f065fe27 [2022-01-19T19:53:21.758Z] ---> 3c49f04a183f [2022-01-19T19:53:21.758Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-19T19:53:21.758Z] ---> Running in e089a3639bf4 [2022-01-19T19:53:21.758Z] Removing intermediate container e089a3639bf4 [2022-01-19T19:53:21.758Z] ---> 2f3bf49a7467 [2022-01-19T19:53:21.758Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T19:53:21.758Z] ---> Running in eb4e8fe27597 [2022-01-19T19:53:21.758Z] Removing intermediate container eb4e8fe27597 [2022-01-19T19:53:21.758Z] ---> cfe97baf5a5d [2022-01-19T19:53:21.758Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T19:53:21.758Z] ---> Running in bedca317d152 [2022-01-19T19:53:22.020Z] Removing intermediate container bedca317d152 [2022-01-19T19:53:22.020Z] ---> 3245ebd00e25 [2022-01-19T19:53:22.020Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T19:53:22.020Z] ---> Running in f25cdfa7e92b [2022-01-19T19:53:22.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T19:53:23.225Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T19:53:23.485Z] OK: 221 MiB in 52 packages [2022-01-19T19:53:23.745Z] Removing intermediate container f25cdfa7e92b [2022-01-19T19:53:23.745Z] ---> 9516bbc77c42 [2022-01-19T19:53:23.745Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T19:53:24.006Z] ---> a744a0e1abd9 [2022-01-19T19:53:24.006Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T19:53:24.006Z] ---> Running in a11436a2fd7d [2022-01-19T19:53:24.252Z] Still waiting to schedule task [2022-01-19T19:53:24.252Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1849’ [2022-01-19T19:53:56.147Z] Removing intermediate container a11436a2fd7d [2022-01-19T19:53:56.147Z] ---> 22289c433f04 [2022-01-19T19:53:56.147Z] Step 10/11 : COPY . . [2022-01-19T19:53:56.147Z] ---> 93f151415aa0 [2022-01-19T19:53:56.147Z] Step 11/11 : RUN ${MAKE} [2022-01-19T19:53:56.147Z] ---> Running in 0c4c96022376 [2022-01-19T19:53:56.147Z] noop [2022-01-19T19:53:56.147Z] Removing intermediate container 0c4c96022376 [2022-01-19T19:53:56.147Z] ---> e1d9b05d0a04 [2022-01-19T19:53:56.147Z] Successfully built e1d9b05d0a04 [2022-01-19T19:53:56.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:56.500Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T19:53:56.501Z] . [Pipeline] withDockerContainer [2022-01-19T19:53:56.589Z] prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container [2022-01-19T19:53:56.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T19:53:57.022Z] $ docker top 8e36bd1b1e54b8129f65859e86452daa226dbb58cb86f708cf5ffdf6420d10f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T19:53:57.465Z] + go version [2022-01-19T19:53:57.465Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T19:53:57.494Z] $ docker stop --time=1 8e36bd1b1e54b8129f65859e86452daa226dbb58cb86f708cf5ffdf6420d10f9 [2022-01-19T19:53:58.701Z] $ docker rm -f 8e36bd1b1e54b8129f65859e86452daa226dbb58cb86f708cf5ffdf6420d10f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:53:59.389Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T19:53:59.389Z] . [Pipeline] withDockerContainer [2022-01-19T19:53:59.487Z] prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container [2022-01-19T19:53:59.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-19T19:53:59.879Z] $ docker top 54f729b47b8704ff9bdab18ead6348311f1e5ad518828642804d7a233d0cc3a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T19:54:00.352Z] + make test [2022-01-19T19:54:00.352Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-19T19:54:06.976Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-19T19:54:33.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.068s coverage: 23.3% of statements [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-19T19:54:33.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 27.6% of statements [2022-01-19T19:54:33.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2022-01-19T19:54:33.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-19T19:54:33.680Z] --- FAIL: TestMetricsRequest (0.00s) [2022-01-19T19:54:33.680Z] common_test.go:114: [2022-01-19T19:54:33.680Z] Error Trace: common_test.go:114 [2022-01-19T19:54:33.680Z] Error: Should not be zero, but was 0 [2022-01-19T19:54:33.680Z] Test: TestMetricsRequest [2022-01-19T19:54:33.680Z] FAIL [2022-01-19T19:54:33.680Z] coverage: 28.7% of statements [2022-01-19T19:54:33.680Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.050s [2022-01-19T19:54:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-19T19:54:35.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-01-19T19:54:35.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-19T19:54:35.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-19T19:54:35.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.4% of statements [2022-01-19T19:54:36.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements [2022-01-19T19:54:36.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-19T19:54:36.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements [2022-01-19T19:54:36.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-19T19:54:36.024Z] FAIL [2022-01-19T19:54:36.286Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-19T19:54:36.328Z] $ docker stop --time=1 54f729b47b8704ff9bdab18ead6348311f1e5ad518828642804d7a233d0cc3a7 [2022-01-19T19:54:38.216Z] $ docker rm -f 54f729b47b8704ff9bdab18ead6348311f1e5ad518828642804d7a233d0cc3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:54:39.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:39.336Z] [2022-01-19T19:54:39.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:54:39.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:39.693Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T19:54:39.693Z] b4d181a07f80: Pulling fs layer [2022-01-19T19:54:39.693Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T19:54:39.693Z] ed53099fbce6: Pulling fs layer [2022-01-19T19:54:39.693Z] dc539afda2c1: Pulling fs layer [2022-01-19T19:54:39.693Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T19:54:39.693Z] 9065ff56babe: Pulling fs layer [2022-01-19T19:54:39.693Z] d287ab97295c: Pulling fs layer [2022-01-19T19:54:39.693Z] dc539afda2c1: Waiting [2022-01-19T19:54:39.693Z] 77bc0d833cb6: Waiting [2022-01-19T19:54:39.693Z] 9065ff56babe: Waiting [2022-01-19T19:54:39.693Z] d287ab97295c: Waiting [2022-01-19T19:54:39.693Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T19:54:39.693Z] a1111a8f2ec3: Download complete [2022-01-19T19:54:39.693Z] dc539afda2c1: Verifying Checksum [2022-01-19T19:54:39.693Z] dc539afda2c1: Download complete [2022-01-19T19:54:39.964Z] ed53099fbce6: Verifying Checksum [2022-01-19T19:54:39.964Z] ed53099fbce6: Download complete [2022-01-19T19:54:39.964Z] 77bc0d833cb6: Download complete [2022-01-19T19:54:39.964Z] 9065ff56babe: Verifying Checksum [2022-01-19T19:54:39.964Z] 9065ff56babe: Download complete [2022-01-19T19:54:39.964Z] b4d181a07f80: Verifying Checksum [2022-01-19T19:54:39.964Z] b4d181a07f80: Download complete [2022-01-19T19:54:40.542Z] d287ab97295c: Verifying Checksum [2022-01-19T19:54:40.542Z] d287ab97295c: Download complete [2022-01-19T19:54:41.515Z] b4d181a07f80: Pull complete [2022-01-19T19:54:41.781Z] a1111a8f2ec3: Pull complete [2022-01-19T19:54:42.055Z] ed53099fbce6: Pull complete [2022-01-19T19:54:42.329Z] dc539afda2c1: Pull complete [2022-01-19T19:54:42.596Z] 77bc0d833cb6: Pull complete [2022-01-19T19:54:42.596Z] 9065ff56babe: Pull complete [2022-01-19T19:54:47.925Z] d287ab97295c: Pull complete [2022-01-19T19:54:47.925Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T19:54:47.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T19:54:47.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T19:54:48.035Z] prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container [2022-01-19T19:54:48.073Z] $ 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-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T19:54:50.980Z] $ docker top 1d6c61608183d2ec3a8208132c51e02a6afa2baee331560c209956da2cc4983e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:54:51.447Z] ---> job-cost.sh [2022-01-19T19:54:51.447Z] lf-activate-venv: SKIPPING [2022-01-19T19:54:51.447Z] INFO: No Stack... [2022-01-19T19:54:51.706Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T19:54:52.283Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T19:54:52.623Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/cost.csv [2022-01-19T19:54:52.623Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T19:54:52.662Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [2022-01-19T19:54:52.666Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] did not exist. Created. [2022-01-19T19:54:52.667Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T19:54:53.072Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T19:54:53.138Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T19:54:53.152Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T19:54:53.223Z] $ docker stop --time=1 1d6c61608183d2ec3a8208132c51e02a6afa2baee331560c209956da2cc4983e [2022-01-19T19:54:54.365Z] $ docker rm -f 1d6c61608183d2ec3a8208132c51e02a6afa2baee331560c209956da2cc4983e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T19:54:54.750Z] Failed in branch amd64 [2022-01-19T19:56:04.811Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1865 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [Pipeline] { [Pipeline] ws [2022-01-19T19:56:04.854Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-19T19:56:05.139Z] The recommended git tool is: git [2022-01-19T19:56:10.479Z] using credential edgex-jenkins-ssh [2022-01-19T19:56:10.500Z] Cloning the remote Git repository [2022-01-19T19:56:10.563Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-19T19:56:10.658Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-19T19:56:10.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-19T19:56:10.772Z] > git --version # timeout=10 [2022-01-19T19:56:10.794Z] > git --version # 'git version 2.17.1' [2022-01-19T19:56:10.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:56:10.886Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T19:56:13.623Z] Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit c5bde19f229bd9fb830245ad58441650dbec3d77 [2022-01-19T19:56:12.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-19T19:56:12.741Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T19:56:12.783Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-19T19:56:12.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-19T19:56:12.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:56:12.892Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-19T19:56:13.663Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T19:56:13.699Z] > git checkout -f c5bde19f229bd9fb830245ad58441650dbec3d77 # timeout=10 [2022-01-19T19:56:13.845Z] > git remote # timeout=10 [2022-01-19T19:56:13.867Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T19:56:13.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T19:56:13.905Z] > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 [2022-01-19T19:56:13.961Z] Merge succeeded, producing c5bde19f229bd9fb830245ad58441650dbec3d77 [2022-01-19T19:56:13.962Z] Checking out Revision c5bde19f229bd9fb830245ad58441650dbec3d77 (PR-1084) [2022-01-19T19:56:13.935Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T19:56:13.971Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T19:56:13.989Z] > git checkout -f c5bde19f229bd9fb830245ad58441650dbec3d77 # timeout=10 [2022-01-19T19:56:18.514Z] Commit message: "ci: Go 1.17 related changes" [2022-01-19T19:56:18.583Z] > git --version # timeout=10 [2022-01-19T19:56:18.594Z] > git --version # 'git version 2.17.1' [2022-01-19T19:56:18.611Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T19:56:19.746Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T19:56:19.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T19:56:19.746Z] Dload Upload Total Spent Left Speed [2022-01-19T19:56:19.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 158k 0 --:--:-- --:--:-- --:--:-- 156k [Pipeline] sh [2022-01-19T19:56:20.362Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T19:56:20.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T19:56:20.726Z] + sudo tee /etc/docker/daemon.new [2022-01-19T19:56:20.726Z] { [2022-01-19T19:56:20.726Z] "registry-mirrors": [ [2022-01-19T19:56:20.726Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T19:56:20.726Z] ], [2022-01-19T19:56:20.726Z] "bip": "10.250.0.254/24", [2022-01-19T19:56:20.726Z] "hosts": [ [2022-01-19T19:56:20.726Z] "tcp://0.0.0.0:5555", [2022-01-19T19:56:20.726Z] "unix:///var/run/docker.sock" [2022-01-19T19:56:20.726Z] ], [2022-01-19T19:56:20.726Z] "mtu": 1458, [2022-01-19T19:56:20.726Z] "selinux-enabled": true, [2022-01-19T19:56:20.726Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T19:56:20.726Z] } [Pipeline] sh [2022-01-19T19:56:21.104Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T19:56:21.474Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T19:56:39.901Z] provisioning config files... [2022-01-19T19:56:39.934Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6559852503197216176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T19:56:40.606Z] ---> docker-login.sh [2022-01-19T19:56:40.606Z] nexus3.edgexfoundry.org:10001 [2022-01-19T19:56:41.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:41.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:41.816Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:41.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:41.816Z] [2022-01-19T19:56:41.816Z] Login Succeeded [2022-01-19T19:56:41.816Z] nexus3.edgexfoundry.org:10002 [2022-01-19T19:56:42.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:42.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:42.094Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:42.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:42.094Z] [2022-01-19T19:56:42.094Z] Login Succeeded [2022-01-19T19:56:42.094Z] nexus3.edgexfoundry.org:10003 [2022-01-19T19:56:42.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:42.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:42.696Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:42.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:42.697Z] [2022-01-19T19:56:42.697Z] Login Succeeded [2022-01-19T19:56:42.697Z] nexus3.edgexfoundry.org:10004 [2022-01-19T19:56:42.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:43.250Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:43.250Z] [2022-01-19T19:56:43.250Z] Login Succeeded [2022-01-19T19:56:43.250Z] docker.io [2022-01-19T19:56:43.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T19:56:43.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T19:56:43.809Z] Configure a credential helper to remove this warning. See [2022-01-19T19:56:43.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T19:56:43.809Z] [2022-01-19T19:56:43.809Z] Login Succeeded [2022-01-19T19:56:43.809Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T19:56:43.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T19:56:44.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T19:56:44.351Z] ========================================================= [2022-01-19T19:56:44.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T19:56:44.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:56:45.030Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-19T19:56:45.319Z] Sending build context to Docker daemon 5.07MB [2022-01-19T19:56:45.605Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T19:56:45.605Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T19:56:45.605Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T19:56:45.605Z] 9b3977197b4f: Pulling fs layer [2022-01-19T19:56:45.605Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T19:56:45.605Z] 94645a83ff95: Pulling fs layer [2022-01-19T19:56:45.605Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T19:56:45.605Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T19:56:45.605Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T19:56:45.605Z] 9a6b49a46696: Pulling fs layer [2022-01-19T19:56:45.605Z] cf05db05a679: Pulling fs layer [2022-01-19T19:56:45.605Z] 3f3a8bcf1eab: Waiting [2022-01-19T19:56:45.605Z] 0c92f367c5e7: Waiting [2022-01-19T19:56:45.605Z] 4b8299f9d1f4: Waiting [2022-01-19T19:56:45.605Z] cf05db05a679: Waiting [2022-01-19T19:56:45.605Z] 9a6b49a46696: Waiting [2022-01-19T19:56:45.605Z] 94645a83ff95: Verifying Checksum [2022-01-19T19:56:45.605Z] 94645a83ff95: Download complete [2022-01-19T19:56:45.882Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T19:56:45.882Z] 1a89e8eeedd5: Download complete [2022-01-19T19:56:45.882Z] 0c92f367c5e7: Download complete [2022-01-19T19:56:45.882Z] 4b8299f9d1f4: Verifying Checksum [2022-01-19T19:56:45.882Z] 4b8299f9d1f4: Download complete [2022-01-19T19:56:45.882Z] 9a6b49a46696: Verifying Checksum [2022-01-19T19:56:45.882Z] 9a6b49a46696: Download complete [2022-01-19T19:56:45.882Z] 9b3977197b4f: Verifying Checksum [2022-01-19T19:56:45.882Z] 9b3977197b4f: Download complete [2022-01-19T19:56:46.491Z] 9b3977197b4f: Pull complete [2022-01-19T19:56:47.088Z] 1a89e8eeedd5: Pull complete [2022-01-19T19:56:47.369Z] 94645a83ff95: Pull complete [2022-01-19T19:56:48.361Z] cf05db05a679: Verifying Checksum [2022-01-19T19:56:48.361Z] cf05db05a679: Download complete [2022-01-19T19:56:48.957Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T19:56:48.957Z] 3f3a8bcf1eab: Download complete [2022-01-19T19:57:01.354Z] 3f3a8bcf1eab: Pull complete [2022-01-19T19:57:01.354Z] 0c92f367c5e7: Pull complete [2022-01-19T19:57:01.354Z] 4b8299f9d1f4: Pull complete [2022-01-19T19:57:01.354Z] 9a6b49a46696: Pull complete [2022-01-19T19:57:06.771Z] cf05db05a679: Pull complete [2022-01-19T19:57:06.771Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T19:57:06.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T19:57:06.771Z] ---> 0ccda1f7e2ee [2022-01-19T19:57:06.771Z] Step 3/11 : ARG MAKE=make build [2022-01-19T19:57:08.774Z] ---> Running in 208be01acb8b [2022-01-19T19:57:08.774Z] Removing intermediate container 208be01acb8b [2022-01-19T19:57:08.774Z] ---> 5f7d19b93430 [2022-01-19T19:57:08.774Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-19T19:57:09.053Z] ---> Running in e3a9d58c33f0 [2022-01-19T19:57:09.332Z] Removing intermediate container e3a9d58c33f0 [2022-01-19T19:57:09.332Z] ---> d64185872624 [2022-01-19T19:57:09.332Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-19T19:57:09.657Z] ---> Running in 435dfa4d3859 [2022-01-19T19:57:09.936Z] Removing intermediate container 435dfa4d3859 [2022-01-19T19:57:09.937Z] ---> 9eff07784d87 [2022-01-19T19:57:09.937Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T19:57:10.213Z] ---> Running in cc8fe226efbe [2022-01-19T19:57:12.203Z] Removing intermediate container cc8fe226efbe [2022-01-19T19:57:12.203Z] ---> b311f4b348c3 [2022-01-19T19:57:12.203Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-19T19:57:12.478Z] ---> Running in 0e39c8fb3353 [2022-01-19T19:57:13.928Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T19:57:14.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T19:57:15.992Z] OK: 220 MiB in 52 packages [2022-01-19T19:57:17.000Z] Removing intermediate container 0e39c8fb3353 [2022-01-19T19:57:17.000Z] ---> 58525a5e7e96 [2022-01-19T19:57:17.000Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T19:57:17.611Z] ---> 666ca96247bb [2022-01-19T19:57:17.611Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T19:57:17.902Z] ---> Running in 093c64edcc25 [2022-01-19T19:58:39.814Z] Removing intermediate container 093c64edcc25 [2022-01-19T19:58:39.814Z] ---> 4ab29e7170cb [2022-01-19T19:58:39.814Z] Step 10/11 : COPY . . [2022-01-19T19:58:40.428Z] ---> bb9f3d208320 [2022-01-19T19:58:40.428Z] Step 11/11 : RUN ${MAKE} [2022-01-19T19:58:40.707Z] ---> Running in 422569ceb281 [2022-01-19T19:58:42.170Z] noop [2022-01-19T19:58:42.773Z] Removing intermediate container 422569ceb281 [2022-01-19T19:58:42.773Z] ---> 7e318ce15aac [2022-01-19T19:58:42.773Z] Successfully built 7e318ce15aac [2022-01-19T19:58:42.773Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:58:43.181Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T19:58:43.181Z] . [Pipeline] withDockerContainer [2022-01-19T19:58:43.493Z] prd-ubuntu18.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container [2022-01-19T19:58:43.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T19:58:45.308Z] $ docker top b2070d1dea01b54f7924a1e1eeae1ee2ab3a34662622c80d5a9a223d5415cfbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T19:58:46.373Z] + go version [2022-01-19T19:58:46.373Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T19:58:46.411Z] $ docker stop --time=1 b2070d1dea01b54f7924a1e1eeae1ee2ab3a34662622c80d5a9a223d5415cfbc [2022-01-19T19:58:48.286Z] $ docker rm -f b2070d1dea01b54f7924a1e1eeae1ee2ab3a34662622c80d5a9a223d5415cfbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T19:58:49.248Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T19:58:49.249Z] . [Pipeline] withDockerContainer [2022-01-19T19:58:49.528Z] prd-ubuntu18.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container [2022-01-19T19:58:49.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-19T19:58:51.092Z] $ docker top 3888ef57302798a8b1abf08a334416b0126862f9d33b40f16024ae6bd4318d5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T19:58:52.127Z] + make test [2022-01-19T19:58:52.127Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-19T19:59:31.167Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-19T20:00:53.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-19T20:00:53.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-19T20:00:53.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-19T20:01:05.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.416s coverage: 23.3% of statements [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-19T20:01:05.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.312s coverage: 27.6% of statements [2022-01-19T20:01:05.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.331s coverage: 78.9% of statements [2022-01-19T20:01:05.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.219s coverage: 9.0% of statements [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-19T20:01:05.504Z] --- FAIL: TestMetricsRequest (0.01s) [2022-01-19T20:01:05.504Z] common_test.go:114: [2022-01-19T20:01:05.504Z] Error Trace: common_test.go:114 [2022-01-19T20:01:05.504Z] Error: Should not be zero, but was 0 [2022-01-19T20:01:05.504Z] Test: TestMetricsRequest [2022-01-19T20:01:05.504Z] FAIL [2022-01-19T20:01:05.504Z] coverage: 28.7% of statements [2022-01-19T20:01:05.504Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.374s [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-19T20:01:05.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.344s coverage: 86.1% of statements [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-19T20:01:05.504Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-19T20:01:06.508Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.433s coverage: 57.4% of statements [2022-01-19T20:01:11.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.521s coverage: 89.2% of statements [2022-01-19T20:01:11.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-19T20:01:11.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.237s coverage: 4.8% of statements [2022-01-19T20:01:11.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-19T20:01:11.968Z] FAIL [2022-01-19T20:01:12.244Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-19T20:01:12.293Z] $ docker stop --time=1 3888ef57302798a8b1abf08a334416b0126862f9d33b40f16024ae6bd4318d5e [2022-01-19T20:01:14.181Z] $ docker rm -f 3888ef57302798a8b1abf08a334416b0126862f9d33b40f16024ae6bd4318d5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:01:15.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:15.791Z] [2022-01-19T20:01:15.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:01:16.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:16.454Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T20:01:16.454Z] 448f6bf000e3: Pulling fs layer [2022-01-19T20:01:16.454Z] f757da607395: Pulling fs layer [2022-01-19T20:01:16.454Z] 05883995daec: Pulling fs layer [2022-01-19T20:01:16.454Z] 8603b9c90790: Pulling fs layer [2022-01-19T20:01:16.454Z] 1560dd03e051: Pulling fs layer [2022-01-19T20:01:16.454Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T20:01:16.454Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T20:01:16.454Z] 1560dd03e051: Waiting [2022-01-19T20:01:16.454Z] 27f5ce0e4adf: Waiting [2022-01-19T20:01:16.454Z] c2d8d7efcc4b: Waiting [2022-01-19T20:01:16.454Z] 8603b9c90790: Waiting [2022-01-19T20:01:16.454Z] f757da607395: Verifying Checksum [2022-01-19T20:01:16.454Z] f757da607395: Download complete [2022-01-19T20:01:16.454Z] 8603b9c90790: Verifying Checksum [2022-01-19T20:01:16.454Z] 8603b9c90790: Download complete [2022-01-19T20:01:16.730Z] 1560dd03e051: Verifying Checksum [2022-01-19T20:01:16.730Z] 05883995daec: Verifying Checksum [2022-01-19T20:01:16.730Z] 05883995daec: Download complete [2022-01-19T20:01:16.730Z] 1560dd03e051: Download complete [2022-01-19T20:01:16.730Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T20:01:16.730Z] 27f5ce0e4adf: Download complete [2022-01-19T20:01:17.008Z] 448f6bf000e3: Download complete [2022-01-19T20:01:19.638Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T20:01:19.638Z] c2d8d7efcc4b: Download complete [2022-01-19T20:01:20.630Z] 448f6bf000e3: Pull complete [2022-01-19T20:01:21.608Z] f757da607395: Pull complete [2022-01-19T20:01:23.045Z] 05883995daec: Pull complete [2022-01-19T20:01:23.045Z] 8603b9c90790: Pull complete [2022-01-19T20:01:24.028Z] 1560dd03e051: Pull complete [2022-01-19T20:01:24.304Z] 27f5ce0e4adf: Pull complete [2022-01-19T20:01:39.428Z] c2d8d7efcc4b: Pull complete [2022-01-19T20:01:39.428Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T20:01:39.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T20:01:39.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T20:01:39.719Z] prd-ubuntu18.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container [2022-01-19T20:01:39.809Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-19T20:01:43.203Z] $ docker top 5c77c1c05ca2e4326818fe401dfe40b756c4080efa7ece0747f64ec6fcc152dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:44.220Z] ---> job-cost.sh [2022-01-19T20:01:44.220Z] lf-activate-venv: SKIPPING [2022-01-19T20:01:44.220Z] INFO: No Stack... [2022-01-19T20:01:44.496Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T20:01:45.094Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T20:01:45.789Z] + cut -d, -f6 [2022-01-19T20:01:45.789Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-01-19T20:01:45.886Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [2022-01-19T20:01:45.891Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] did not exist. Created. [2022-01-19T20:01:45.891Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T20:01:46.652Z] /w/workspace/device-sdk-go/1@tmp/durable-12556b29/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-12556b29/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-19T20:01:47.361Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T20:01:47.402Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T20:01:48.005Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T20:01:48.024Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T20:01:48.100Z] $ docker stop --time=1 5c77c1c05ca2e4326818fe401dfe40b756c4080efa7ece0747f64ec6fcc152dd [2022-01-19T20:01:49.622Z] $ docker rm -f 5c77c1c05ca2e4326818fe401dfe40b756c4080efa7ece0747f64ec6fcc152dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T20:01:50.387Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-19T20:01:52.502Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives ']' [2022-01-19T20:01:52.502Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-19T20:01:52.502Z] total 8 [2022-01-19T20:01:52.502Z] drwxr-xr-x. 3 root root 34 Jan 19 19:54 . [2022-01-19T20:01:52.502Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 19:54 .. [2022-01-19T20:01:52.502Z] drwxr-xr-x. 2 root root 6 Jan 19 19:54 cost [2022-01-19T20:01:52.502Z] -rw-r--r--. 1 root root 85 Jan 19 19:54 cost.csv [2022-01-19T20:01:52.502Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-19T20:01:52.502Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-19T20:01:52.502Z] total 8 [2022-01-19T20:01:52.502Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 19:54 . [2022-01-19T20:01:52.502Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 19:54 .. [2022-01-19T20:01:52.502Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 19:54 cost [2022-01-19T20:01:52.502Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 19 19:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:52.844Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:53.440Z] ---> package-listing.sh [2022-01-19T20:01:53.440Z] ++ facter osfamily [2022-01-19T20:01:53.440Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T20:01:53.701Z] + OS_FAMILY=redhat [2022-01-19T20:01:53.701Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-19T20:01:53.701Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T20:01:53.701Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T20:01:53.701Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T20:01:53.701Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T20:01:53.701Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-19T20:01:53.701Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T20:01:53.701Z] + case "${OS_FAMILY}" in [2022-01-19T20:01:53.701Z] + sort [2022-01-19T20:01:53.701Z] + rpm -qa [2022-01-19T20:01:54.273Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T20:01:54.273Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T20:01:54.273Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T20:01:54.273Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-19T20:01:54.273Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [2022-01-19T20:01:54.273Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [Pipeline] echo [2022-01-19T20:01:54.308Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1084/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-19T20:01:54.604Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T20:01:55.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T20:01:55.191Z] . [Pipeline] withDockerContainer [2022-01-19T20:01:55.282Z] prd-centos7-docker-4c-2g-1851 does not seem to be running inside a container [2022-01-19T20:01:55.428Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1084/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-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-19T20:01:55.686Z] $ docker top c0ad7ad264c53469d6286bc231bb525195ef8267af4c2278656c1223f8a03ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T20:01:56.214Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T20:01:56.535Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T20:01:56.849Z] + ls /var/log/sa-host [2022-01-19T20:01:56.849Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T20:01:56.849Z] file_magic: OK [2022-01-19T20:01:56.849Z] HZ: Using current value: 100 [2022-01-19T20:01:56.849Z] file_header: OK [2022-01-19T20:01:56.849Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:01:56.849Z] Statistics: [2022-01-19T20:01:56.849Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:01:56.849Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T20:01:56.849Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T20:01:56.849Z] file_magic: OK [2022-01-19T20:01:56.849Z] HZ: Using current value: 100 [2022-01-19T20:01:56.849Z] file_header: OK [2022-01-19T20:01:56.849Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-19T20:01:56.849Z] Statistics: [2022-01-19T20:01:56.849Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T20:01:56.849Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T20:01:56.992Z] provisioning config files... [2022-01-19T20:01:57.002Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config1388457523330604597tmp [Pipeline] { [Pipeline] echo [2022-01-19T20:01:57.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:57.374Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T20:01:57.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:57.819Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T20:01:57.855Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:58.174Z] ---> sudo-logs.sh [2022-01-19T20:01:58.174Z] Archiving 'sudo' log.. [2022-01-19T20:01:58.174Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1851.novalocal: Name or service not known [2022-01-19T20:01:58.174Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1851.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T20:01:58.257Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:58.583Z] ---> job-cost.sh [2022-01-19T20:01:58.584Z] lf-activate-venv: SKIPPING [2022-01-19T20:01:58.584Z] DEBUG: total: 0.05999999865889549 [2022-01-19T20:01:58.584Z] INFO: Retrieving Stack Cost... [2022-01-19T20:01:58.843Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T20:01:59.104Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T20:01:59.142Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T20:01:59.466Z] ---> logs-deploy.sh [2022-01-19T20:01:59.466Z] lf-activate-venv: SKIPPING [2022-01-19T20:01:59.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1084/1 [2022-01-19T20:01:59.466Z] INFO: archiving workspace using pattern(s): [2022-01-19T20:02:00.037Z] Archives upload complete. [2022-01-19T20:02:00.300Z] INFO: archiving logs to Nexus