cloudxxx8 commented: recheck 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 20fc5d680fde34849585fc2d3e7db5164e009dad+010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (ae5957c146bc205ff647d2e0260b0f57f22c5ccf) 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-ssh1199108111284823402.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-ssh8226250615467087788.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7790182244105773581.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 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-ssh10604912196846048700.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18170434496705778095.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2195 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-ssh1504078042948652824.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit 20fc5d680fde34849585fc2d3e7db5164e009dad Merge succeeded, producing 20fc5d680fde34849585fc2d3e7db5164e009dad Checking out Revision 20fc5d680fde34849585fc2d3e7db5164e009dad (PR-1084) > 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-ssh3566524457079846027.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 20fc5d680fde34849585fc2d3e7db5164e009dad # 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-ssh3905648336983304409.key > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20fc5d680fde34849585fc2d3e7db5164e009dad # timeout=10 Commit message: "ci: Go 1.17 related changes" > git rev-list --no-walk 20fc5d680fde34849585fc2d3e7db5164e009dad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T03:14:03.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T03:14:03.892Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T03:14:03.907Z] ========================================================= [2022-01-20T03:14:03.907Z] EdgeX Global Pipelines Version Info [2022-01-20T03:14:03.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:14:05.057Z] ------------------- [2022-01-20T03:14:05.057Z] stable info: [2022-01-20T03:14:05.057Z] ------------------- [2022-01-20T03:14:05.057Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T03:14:05.057Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T03:14:05.057Z] Message: update stable to v1.0.219 [2022-01-20T03:14:05.630Z] ------------------- [2022-01-20T03:14:05.630Z] experimental info: [2022-01-20T03:14:05.630Z] ------------------- [2022-01-20T03:14:05.630Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T03:14:05.630Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T03:14:05.630Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T03:14:05.775Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-20T03:14:05.787Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-20T03:14:05.802Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T03:14:05.814Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T03:14:05.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T03:14:05.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T03:14:05.865Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T03:14:05.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-20T03:14:05.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T03:14:05.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T03:14:05.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T03:14:05.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-20T03:14:05.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T03:14:05.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T03:14:05.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T03:14:05.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T03:14:06.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T03:14:06.014Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T03:14:06.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T03:14:06.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-20T03:14:06.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-20T03:14:06.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-20T03:14:06.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T03:14:06.090Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T03:14:06.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T03:14:06.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T03:14:06.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1084 [Pipeline] echo [2022-01-20T03:14:06.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1084 [Pipeline] echo [2022-01-20T03:14:06.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1084 [Pipeline] echo [2022-01-20T03:14:06.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20fc5d680fde34849585fc2d3e7db5164e009dad [Pipeline] echo [2022-01-20T03:14:06.212Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20fc5d6 [Pipeline] echo [2022-01-20T03:14:06.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T03:14:06.288Z] provisioning config files... [2022-01-20T03:14:06.303Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config6609106001994266062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:14:06.632Z] ---> docker-login.sh [2022-01-20T03:14:06.632Z] nexus3.edgexfoundry.org:10001 [2022-01-20T03:14:06.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:06.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:06.896Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:06.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:06.896Z] [2022-01-20T03:14:06.896Z] Login Succeeded [2022-01-20T03:14:06.896Z] nexus3.edgexfoundry.org:10002 [2022-01-20T03:14:06.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:07.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:07.156Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:07.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:07.156Z] [2022-01-20T03:14:07.156Z] Login Succeeded [2022-01-20T03:14:07.156Z] nexus3.edgexfoundry.org:10003 [2022-01-20T03:14:07.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:07.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:07.156Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:07.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:07.156Z] [2022-01-20T03:14:07.156Z] Login Succeeded [2022-01-20T03:14:07.156Z] nexus3.edgexfoundry.org:10004 [2022-01-20T03:14:07.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:07.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:07.425Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:07.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:07.425Z] [2022-01-20T03:14:07.425Z] Login Succeeded [2022-01-20T03:14:07.425Z] docker.io [2022-01-20T03:14:07.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:07.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:07.686Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:07.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:07.686Z] [2022-01-20T03:14:07.686Z] Login Succeeded [2022-01-20T03:14:07.686Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T03:14:07.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T03:14:08.091Z] + git rev-list -1 --merges 20fc5d680fde34849585fc2d3e7db5164e009dad~1..20fc5d680fde34849585fc2d3e7db5164e009dad [Pipeline] echo [2022-01-20T03:14:08.129Z] -----------> git rev-list -1 --merges 20fc5d680fde34849585fc2d3e7db5164e009dad~1..20fc5d680fde34849585fc2d3e7db5164e009dad 20fc5d680fde34849585fc2d3e7db5164e009dad [false] [Pipeline] sh [2022-01-20T03:14:08.427Z] + git log --format=format:%s -1 20fc5d680fde34849585fc2d3e7db5164e009dad [Pipeline] echo [2022-01-20T03:14:08.442Z] ========================================================= [2022-01-20T03:14:08.442Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T03:14:08.442Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T03:14:08.785Z] + git log --format=format:%s -1 20fc5d680fde34849585fc2d3e7db5164e009dad [Pipeline] echo [2022-01-20T03:14:08.802Z] [semverPrep] GIT_COMMIT: 20fc5d680fde34849585fc2d3e7db5164e009dad, Commit Message: ci: Go 1.17 related changes [Pipeline] echo [2022-01-20T03:14:08.813Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T03:14:09.339Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T03:14:09.339Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T03:14:09.339Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T03:14:09.339Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T03:14:09.339Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T03:14:09.339Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T03:14:09.339Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:14:09.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T03:14:09.769Z] [2022-01-20T03:14:09.769Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:14:10.081Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T03:14:10.081Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T03:14:10.081Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T03:14:10.081Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T03:14:10.081Z] 4c7163046ea9: Pulling fs layer [2022-01-20T03:14:10.081Z] 0c2d73faf560: Pulling fs layer [2022-01-20T03:14:10.081Z] 0c2d73faf560: Waiting [2022-01-20T03:14:10.081Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T03:14:10.081Z] 3e5f54012d9b: Download complete [2022-01-20T03:14:10.081Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T03:14:10.081Z] a0d0a0d46f8b: Download complete [2022-01-20T03:14:10.081Z] 4c7163046ea9: Verifying Checksum [2022-01-20T03:14:10.081Z] 4c7163046ea9: Download complete [2022-01-20T03:14:10.344Z] 0c2d73faf560: Verifying Checksum [2022-01-20T03:14:10.344Z] 0c2d73faf560: Download complete [2022-01-20T03:14:10.344Z] a0d0a0d46f8b: Pull complete [2022-01-20T03:14:10.344Z] 3e5f54012d9b: Pull complete [2022-01-20T03:14:10.617Z] 4c7163046ea9: Pull complete [2022-01-20T03:14:10.886Z] 0c2d73faf560: Pull complete [2022-01-20T03:14:10.886Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T03:14:10.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T03:14:10.886Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T03:14:10.964Z] prd-centos7-docker-4c-2g-2195 does not seem to be running inside a container [2022-01-20T03:14:10.999Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T03:14:11.858Z] $ docker top b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T03:14:11.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T03:14:11.961Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T03:14:12.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T03:14:12.079Z] $ docker exec b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 ssh-agent [2022-01-20T03:14:12.184Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXicjOKD/agent.14 [2022-01-20T03:14:12.184Z] SSH_AGENT_PID=20 [2022-01-20T03:14:12.194Z] Running ssh-add (command line suppressed) [2022-01-20T03:14:12.285Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_3623539162402857208.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_3623539162402857208.key) [2022-01-20T03:14:12.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T03:14:12.607Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T03:14:12.630Z] $ docker exec --env ******** --env ******** b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 ssh-agent -k [2022-01-20T03:14:12.713Z] unset SSH_AUTH_SOCK; [2022-01-20T03:14:12.713Z] unset SSH_AGENT_PID; [2022-01-20T03:14:12.713Z] echo Agent pid 20 killed; [2022-01-20T03:14:12.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T03:14:12.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T03:14:12.750Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T03:14:12.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T03:14:12.867Z] $ docker exec b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 ssh-agent [2022-01-20T03:14:12.962Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAbehBD/agent.52 [2022-01-20T03:14:12.962Z] SSH_AGENT_PID=58 [2022-01-20T03:14:12.968Z] Running ssh-add (command line suppressed) [2022-01-20T03:14:13.054Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_3755197858482106304.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_3755197858482106304.key) [2022-01-20T03:14:13.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T03:14:13.368Z] + git semver init [2022-01-20T03:14:13.368Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T03:14:13.368Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.git [2022-01-20T03:14:13.368Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-20T03:14:13.368Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T03:14:13.368Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T03:14:13.368Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T03:14:13.368Z] # $SEMVER_BRANCH = PR-1084 [2022-01-20T03:14:13.368Z] # $SEMVER_TEMP = /tmp/semver-213373906 [2022-01-20T03:14:13.368Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-20T03:14:14.314Z] # '/tmp/semver-213373906' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver' [2022-01-20T03:14:14.314Z] # -> Force: false [2022-01-20T03:14:14.314Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver [Pipeline] } [2022-01-20T03:14:14.323Z] $ docker exec --env ******** --env ******** b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 ssh-agent -k [2022-01-20T03:14:14.401Z] unset SSH_AUTH_SOCK; [2022-01-20T03:14:14.401Z] unset SSH_AGENT_PID; [2022-01-20T03:14:14.401Z] echo Agent pid 58 killed; [2022-01-20T03:14:14.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T03:14:14.724Z] + git semver [Pipeline] } [2022-01-20T03:14:14.743Z] $ docker stop --time=1 b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 [2022-01-20T03:14:16.089Z] $ docker rm -f b20e5ee403307601422336eb6315878d1045fe7a1c2e9790d1fd87be505f5562 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T03:14:16.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T03:14:16.724Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T03:14:16.728Z] [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-20T03:14:16.874Z] provisioning config files... [2022-01-20T03:14:16.885Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config2910841496291939789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:14:17.192Z] ---> docker-login.sh [2022-01-20T03:14:17.192Z] nexus3.edgexfoundry.org:10001 [2022-01-20T03:14:17.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:17.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:17.192Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:17.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:17.192Z] [2022-01-20T03:14:17.192Z] Login Succeeded [2022-01-20T03:14:17.192Z] nexus3.edgexfoundry.org:10002 [2022-01-20T03:14:17.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:17.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:17.453Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:17.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:17.453Z] [2022-01-20T03:14:17.453Z] Login Succeeded [2022-01-20T03:14:17.453Z] nexus3.edgexfoundry.org:10003 [2022-01-20T03:14:17.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:17.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:17.453Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:17.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:17.453Z] [2022-01-20T03:14:17.453Z] Login Succeeded [2022-01-20T03:14:17.453Z] nexus3.edgexfoundry.org:10004 [2022-01-20T03:14:17.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:17.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:17.714Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:17.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:17.714Z] [2022-01-20T03:14:17.714Z] Login Succeeded [2022-01-20T03:14:17.714Z] docker.io [2022-01-20T03:14:17.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:14:17.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:14:17.974Z] Configure a credential helper to remove this warning. See [2022-01-20T03:14:17.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:14:17.974Z] [2022-01-20T03:14:17.974Z] Login Succeeded [2022-01-20T03:14:17.974Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T03:14:17.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T03:14:18.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T03:14:18.066Z] ========================================================= [2022-01-20T03:14:18.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T03:14:18.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:14:18.379Z] + 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-20T03:14:18.379Z] Sending build context to Docker daemon 9.381MB [2022-01-20T03:14:18.379Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T03:14:18.379Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-20T03:14:18.655Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T03:14:18.655Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T03:14:18.655Z] 666ba61612fd: Pulling fs layer [2022-01-20T03:14:18.655Z] 8ed8ca486205: Pulling fs layer [2022-01-20T03:14:18.655Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T03:14:18.655Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T03:14:18.655Z] f965cba54748: Pulling fs layer [2022-01-20T03:14:18.655Z] 861ffc35075e: Pulling fs layer [2022-01-20T03:14:18.655Z] 4b385c91608e: Pulling fs layer [2022-01-20T03:14:18.655Z] 560528eb2ebb: Pulling fs layer [2022-01-20T03:14:18.655Z] 4fe6c5a15a65: Waiting [2022-01-20T03:14:18.655Z] 22a0e8bec74d: Waiting [2022-01-20T03:14:18.655Z] f965cba54748: Waiting [2022-01-20T03:14:18.655Z] 861ffc35075e: Waiting [2022-01-20T03:14:18.655Z] 4b385c91608e: Waiting [2022-01-20T03:14:18.655Z] 560528eb2ebb: Waiting [2022-01-20T03:14:18.655Z] 8ed8ca486205: Verifying Checksum [2022-01-20T03:14:18.655Z] 8ed8ca486205: Download complete [2022-01-20T03:14:18.655Z] 666ba61612fd: Verifying Checksum [2022-01-20T03:14:18.655Z] 666ba61612fd: Download complete [2022-01-20T03:14:18.655Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T03:14:18.655Z] 22a0e8bec74d: Download complete [2022-01-20T03:14:18.655Z] f965cba54748: Verifying Checksum [2022-01-20T03:14:18.655Z] f965cba54748: Download complete [2022-01-20T03:14:18.655Z] 861ffc35075e: Verifying Checksum [2022-01-20T03:14:18.655Z] 861ffc35075e: Download complete [2022-01-20T03:14:18.655Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T03:14:18.655Z] 59bf1c3509f3: Download complete [2022-01-20T03:14:18.655Z] 4b385c91608e: Verifying Checksum [2022-01-20T03:14:18.655Z] 4b385c91608e: Download complete [2022-01-20T03:14:19.236Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T03:14:19.236Z] 4fe6c5a15a65: Download complete [2022-01-20T03:14:19.236Z] 560528eb2ebb: Verifying Checksum [2022-01-20T03:14:19.236Z] 560528eb2ebb: Download complete [2022-01-20T03:14:19.236Z] 59bf1c3509f3: Pull complete [2022-01-20T03:14:19.500Z] 666ba61612fd: Pull complete [2022-01-20T03:14:19.500Z] 8ed8ca486205: Pull complete [2022-01-20T03:14:23.753Z] 4fe6c5a15a65: Pull complete [2022-01-20T03:14:23.753Z] 22a0e8bec74d: Pull complete [2022-01-20T03:14:23.753Z] f965cba54748: Pull complete [2022-01-20T03:14:23.753Z] 861ffc35075e: Pull complete [2022-01-20T03:14:23.753Z] 4b385c91608e: Pull complete [2022-01-20T03:14:27.090Z] 560528eb2ebb: Pull complete [2022-01-20T03:14:27.090Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T03:14:27.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T03:14:27.090Z] ---> dd4a08f94e63 [2022-01-20T03:14:27.090Z] Step 3/11 : ARG MAKE=make build [2022-01-20T03:14:31.825Z] Still waiting to schedule task [2022-01-20T03:14:31.825Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-20T03:14:32.413Z] ---> Running in e1175850cc7b [2022-01-20T03:14:32.413Z] Removing intermediate container e1175850cc7b [2022-01-20T03:14:32.413Z] ---> 3962c12eb703 [2022-01-20T03:14:32.413Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-20T03:14:32.413Z] ---> Running in 88a8824cbb38 [2022-01-20T03:14:32.413Z] Removing intermediate container 88a8824cbb38 [2022-01-20T03:14:32.413Z] ---> aa077e3ce1b5 [2022-01-20T03:14:32.413Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-20T03:14:32.413Z] ---> Running in 1d372ed41b5d [2022-01-20T03:14:32.413Z] Removing intermediate container 1d372ed41b5d [2022-01-20T03:14:32.413Z] ---> a416c90c855a [2022-01-20T03:14:32.413Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T03:14:32.413Z] ---> Running in 59a76d1e585a [2022-01-20T03:14:32.413Z] Removing intermediate container 59a76d1e585a [2022-01-20T03:14:32.413Z] ---> 4941c70f1d0c [2022-01-20T03:14:32.413Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T03:14:32.675Z] ---> Running in 0e3441e77827 [2022-01-20T03:14:32.675Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T03:14:33.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T03:14:34.200Z] OK: 221 MiB in 52 packages [2022-01-20T03:14:34.200Z] Removing intermediate container 0e3441e77827 [2022-01-20T03:14:34.200Z] ---> bb2f87fec0da [2022-01-20T03:14:34.200Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-20T03:14:34.464Z] ---> 01af586b16b2 [2022-01-20T03:14:34.464Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T03:14:34.464Z] ---> Running in ae1eced50264 [2022-01-20T03:15:13.263Z] Removing intermediate container ae1eced50264 [2022-01-20T03:15:13.263Z] ---> 8e997479ad41 [2022-01-20T03:15:13.263Z] Step 10/11 : COPY . . [2022-01-20T03:15:13.263Z] ---> ac217dbec489 [2022-01-20T03:15:13.263Z] Step 11/11 : RUN ${MAKE} [2022-01-20T03:15:13.263Z] ---> Running in b20337cd11c4 [2022-01-20T03:15:13.263Z] noop [2022-01-20T03:15:13.263Z] Removing intermediate container b20337cd11c4 [2022-01-20T03:15:13.263Z] ---> b6fa67a90104 [2022-01-20T03:15:13.263Z] Successfully built b6fa67a90104 [2022-01-20T03:15:13.263Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:15:13.571Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T03:15:13.571Z] . [Pipeline] withDockerContainer [2022-01-20T03:15:13.639Z] prd-centos7-docker-4c-2g-2195 does not seem to be running inside a container [2022-01-20T03:15:13.682Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T03:15:14.137Z] $ docker top f15369e89546f2837264b0893b5e341842e9c0c5ecef49eac0713917088d4406 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T03:15:14.524Z] + go version [2022-01-20T03:15:14.524Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T03:15:14.534Z] $ docker stop --time=1 f15369e89546f2837264b0893b5e341842e9c0c5ecef49eac0713917088d4406 [2022-01-20T03:15:15.795Z] $ docker rm -f f15369e89546f2837264b0893b5e341842e9c0c5ecef49eac0713917088d4406 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:15:16.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T03:15:16.236Z] . [Pipeline] withDockerContainer [2022-01-20T03:15:16.314Z] prd-centos7-docker-4c-2g-2195 does not seem to be running inside a container [2022-01-20T03:15:16.349Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T03:15:16.764Z] $ docker top b4c3a0c2dfe4cb54b308306d3b4244191c7f028c95f51cadbcdb068815cc63db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T03:15:17.137Z] + make test [2022-01-20T03:15:17.137Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-20T03:15:23.763Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-20T03:15:45.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-20T03:15:45.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-20T03:15:45.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-20T03:15:47.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements [2022-01-20T03:15:47.209Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-20T03:15:47.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 27.6% of statements [2022-01-20T03:15:47.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2022-01-20T03:15:47.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2022-01-20T03:15:47.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-20T03:15:47.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-20T03:15:47.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-20T03:15:47.784Z] --- FAIL: TestMetricsRequest (0.00s) [2022-01-20T03:15:47.784Z] common_test.go:114: [2022-01-20T03:15:47.784Z] Error Trace: common_test.go:114 [2022-01-20T03:15:47.784Z] Error: Should not be zero, but was 0 [2022-01-20T03:15:47.784Z] Test: TestMetricsRequest [2022-01-20T03:15:47.784Z] FAIL [2022-01-20T03:15:47.784Z] coverage: 28.7% of statements [2022-01-20T03:15:47.784Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.047s [2022-01-20T03:15:47.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-20T03:15:49.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 86.1% of statements [2022-01-20T03:15:49.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-20T03:15:49.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-20T03:15:49.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements [2022-01-20T03:15:50.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.702s coverage: 89.2% of statements [2022-01-20T03:15:50.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-20T03:15:50.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.8% of statements [2022-01-20T03:15:50.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-20T03:15:50.132Z] FAIL [2022-01-20T03:15:50.132Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-20T03:15:50.147Z] $ docker stop --time=1 b4c3a0c2dfe4cb54b308306d3b4244191c7f028c95f51cadbcdb068815cc63db [2022-01-20T03:15:51.956Z] $ docker rm -f b4c3a0c2dfe4cb54b308306d3b4244191c7f028c95f51cadbcdb068815cc63db [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-20T03:15:52.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T03:15:52.560Z] [2022-01-20T03:15:52.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:15:52.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T03:15:52.866Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T03:15:52.866Z] b4d181a07f80: Pulling fs layer [2022-01-20T03:15:52.866Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T03:15:52.866Z] ed53099fbce6: Pulling fs layer [2022-01-20T03:15:52.866Z] dc539afda2c1: Pulling fs layer [2022-01-20T03:15:52.866Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T03:15:52.866Z] 9065ff56babe: Pulling fs layer [2022-01-20T03:15:52.866Z] d287ab97295c: Pulling fs layer [2022-01-20T03:15:52.866Z] dc539afda2c1: Waiting [2022-01-20T03:15:52.866Z] 77bc0d833cb6: Waiting [2022-01-20T03:15:52.866Z] 9065ff56babe: Waiting [2022-01-20T03:15:52.866Z] d287ab97295c: Waiting [2022-01-20T03:15:52.866Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T03:15:52.866Z] a1111a8f2ec3: Download complete [2022-01-20T03:15:52.866Z] dc539afda2c1: Verifying Checksum [2022-01-20T03:15:52.866Z] dc539afda2c1: Download complete [2022-01-20T03:15:52.866Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T03:15:52.866Z] 77bc0d833cb6: Download complete [2022-01-20T03:15:53.134Z] ed53099fbce6: Verifying Checksum [2022-01-20T03:15:53.134Z] ed53099fbce6: Download complete [2022-01-20T03:15:53.134Z] 9065ff56babe: Verifying Checksum [2022-01-20T03:15:53.134Z] 9065ff56babe: Download complete [2022-01-20T03:15:53.134Z] b4d181a07f80: Verifying Checksum [2022-01-20T03:15:53.134Z] b4d181a07f80: Download complete [2022-01-20T03:15:53.716Z] d287ab97295c: Verifying Checksum [2022-01-20T03:15:53.716Z] d287ab97295c: Download complete [2022-01-20T03:15:54.679Z] b4d181a07f80: Pull complete [2022-01-20T03:15:54.679Z] a1111a8f2ec3: Pull complete [2022-01-20T03:15:55.258Z] ed53099fbce6: Pull complete [2022-01-20T03:15:55.258Z] dc539afda2c1: Pull complete [2022-01-20T03:15:55.520Z] 77bc0d833cb6: Pull complete [2022-01-20T03:15:55.520Z] 9065ff56babe: Pull complete [2022-01-20T03:15:56.121Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2196 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [Pipeline] { [Pipeline] ws [2022-01-20T03:15:56.134Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-01-20T03:15:56.313Z] The recommended git tool is: git [2022-01-20T03:16:00.703Z] using credential edgex-jenkins-ssh [2022-01-20T03:16:00.729Z] Cloning the remote Git repository [2022-01-20T03:16:00.858Z] d287ab97295c: Pull complete [2022-01-20T03:16:00.859Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T03:16:00.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T03:16:00.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T03:16:00.927Z] prd-centos7-docker-4c-2g-2195 does not seem to be running inside a container [2022-01-20T03:16:00.966Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T03:16:00.785Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-20T03:16:00.859Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-01-20T03:16:00.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-20T03:16:00.927Z] > git --version # timeout=10 [2022-01-20T03:16:00.947Z] > git --version # 'git version 2.17.1' [2022-01-20T03:16:00.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T03:16:01.093Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T03:16:03.508Z] Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit 20fc5d680fde34849585fc2d3e7db5164e009dad [2022-01-20T03:16:03.544Z] $ docker top f732d756bbe4266db23b0e6aa233fedc36253b83eb900acd566b3023f80499fa -eo pid,comm [Pipeline] { [2022-01-20T03:16:02.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-20T03:16:02.725Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T03:16:02.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-20T03:16:02.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-20T03:16:02.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T03:16:02.808Z] > 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-20T03:16:03.533Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T03:16:03.559Z] > git checkout -f 20fc5d680fde34849585fc2d3e7db5164e009dad # timeout=10 [2022-01-20T03:16:03.669Z] > git remote # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:16:03.758Z] Merge succeeded, producing 20fc5d680fde34849585fc2d3e7db5164e009dad [2022-01-20T03:16:03.758Z] Checking out Revision 20fc5d680fde34849585fc2d3e7db5164e009dad (PR-1084) [2022-01-20T03:16:03.994Z] ---> job-cost.sh [2022-01-20T03:16:03.994Z] lf-activate-venv: SKIPPING [2022-01-20T03:16:03.994Z] INFO: No Stack... [2022-01-20T03:16:04.254Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T03:16:04.514Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T03:16:04.810Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/cost.csv [2022-01-20T03:16:04.811Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T03:16:04.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [2022-01-20T03:16:04.832Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] did not exist. Created. [2022-01-20T03:16:04.833Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T03:16:03.687Z] > git config --get remote.origin.url # timeout=10 [2022-01-20T03:16:03.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T03:16:03.711Z] > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 [2022-01-20T03:16:03.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-20T03:16:03.765Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T03:16:03.778Z] > git checkout -f 20fc5d680fde34849585fc2d3e7db5164e009dad # timeout=10 [2022-01-20T03:16:05.144Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T03:16:05.185Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T03:16:05.192Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T03:16:05.209Z] $ docker stop --time=1 f732d756bbe4266db23b0e6aa233fedc36253b83eb900acd566b3023f80499fa [2022-01-20T03:16:06.352Z] $ docker rm -f f732d756bbe4266db23b0e6aa233fedc36253b83eb900acd566b3023f80499fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T03:16:06.459Z] Failed in branch amd64 [2022-01-20T03:16:07.921Z] Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T03:16:08.780Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T03:16:08.780Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T03:16:08.780Z] Dload Upload Total Spent Left Speed [2022-01-20T03:16:24.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:12 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:13 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:14 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0 100 11843 100 11843 0 0 774 0 0:00:15 0:00:15 --:--:-- 2930 [Pipeline] sh [2022-01-20T03:16:24.674Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T03:16:25.004Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T03:16:25.004Z] sudo tee /etc/docker/daemon.new [2022-01-20T03:16:25.004Z] { [2022-01-20T03:16:25.004Z] "registry-mirrors": [ [2022-01-20T03:16:25.004Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T03:16:25.004Z] ], [2022-01-20T03:16:25.004Z] "bip": "10.250.0.254/24", [2022-01-20T03:16:25.004Z] "hosts": [ [2022-01-20T03:16:25.004Z] "tcp://0.0.0.0:5555", [2022-01-20T03:16:25.004Z] "unix:///var/run/docker.sock" [2022-01-20T03:16:25.004Z] ], [2022-01-20T03:16:25.004Z] "mtu": 1458, [2022-01-20T03:16:25.004Z] "selinux-enabled": true, [2022-01-20T03:16:25.004Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T03:16:25.004Z] } [Pipeline] sh [2022-01-20T03:16:25.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T03:16:25.680Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T03:16:43.979Z] provisioning config files... [2022-01-20T03:16:44.006Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5911100144352604908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:16:44.365Z] ---> docker-login.sh [2022-01-20T03:16:44.365Z] nexus3.edgexfoundry.org:10001 [2022-01-20T03:16:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:16:44.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:16:44.962Z] Configure a credential helper to remove this warning. See [2022-01-20T03:16:44.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:16:44.962Z] [2022-01-20T03:16:44.962Z] Login Succeeded [2022-01-20T03:16:45.236Z] nexus3.edgexfoundry.org:10002 [2022-01-20T03:16:45.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:16:45.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:16:45.509Z] Configure a credential helper to remove this warning. See [2022-01-20T03:16:45.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:16:45.509Z] [2022-01-20T03:16:45.510Z] Login Succeeded [2022-01-20T03:16:45.510Z] nexus3.edgexfoundry.org:10003 [2022-01-20T03:16:45.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:16:46.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:16:46.057Z] Configure a credential helper to remove this warning. See [2022-01-20T03:16:46.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:16:46.057Z] [2022-01-20T03:16:46.057Z] Login Succeeded [2022-01-20T03:16:46.057Z] nexus3.edgexfoundry.org:10004 [2022-01-20T03:16:46.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:16:46.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:16:46.332Z] Configure a credential helper to remove this warning. See [2022-01-20T03:16:46.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:16:46.332Z] [2022-01-20T03:16:46.332Z] Login Succeeded [2022-01-20T03:16:46.332Z] docker.io [2022-01-20T03:16:46.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T03:16:47.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T03:16:47.198Z] Configure a credential helper to remove this warning. See [2022-01-20T03:16:47.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T03:16:47.198Z] [2022-01-20T03:16:47.198Z] Login Succeeded [2022-01-20T03:16:47.198Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T03:16:47.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T03:16:47.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T03:16:47.759Z] ========================================================= [2022-01-20T03:16:47.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T03:16:47.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:16:48.102Z] + 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-20T03:16:48.373Z] Sending build context to Docker daemon 5.078MB [2022-01-20T03:16:48.646Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T03:16:48.646Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-20T03:16:48.646Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T03:16:48.646Z] 9b3977197b4f: Pulling fs layer [2022-01-20T03:16:48.646Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T03:16:48.646Z] 94645a83ff95: Pulling fs layer [2022-01-20T03:16:48.646Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T03:16:48.646Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T03:16:48.646Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T03:16:48.646Z] 9a6b49a46696: Pulling fs layer [2022-01-20T03:16:48.646Z] cf05db05a679: Pulling fs layer [2022-01-20T03:16:48.646Z] 3f3a8bcf1eab: Waiting [2022-01-20T03:16:48.646Z] 0c92f367c5e7: Waiting [2022-01-20T03:16:48.646Z] 4b8299f9d1f4: Waiting [2022-01-20T03:16:48.646Z] cf05db05a679: Waiting [2022-01-20T03:16:48.646Z] 9a6b49a46696: Waiting [2022-01-20T03:16:48.646Z] 94645a83ff95: Verifying Checksum [2022-01-20T03:16:48.646Z] 94645a83ff95: Download complete [2022-01-20T03:16:48.646Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T03:16:48.646Z] 1a89e8eeedd5: Download complete [2022-01-20T03:16:48.646Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T03:16:48.646Z] 0c92f367c5e7: Download complete [2022-01-20T03:16:48.646Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T03:16:48.646Z] 4b8299f9d1f4: Download complete [2022-01-20T03:16:48.646Z] 9b3977197b4f: Download complete [2022-01-20T03:16:48.921Z] 9a6b49a46696: Verifying Checksum [2022-01-20T03:16:48.921Z] 9a6b49a46696: Download complete [2022-01-20T03:16:49.519Z] 9b3977197b4f: Pull complete [2022-01-20T03:16:50.119Z] 1a89e8eeedd5: Pull complete [2022-01-20T03:16:50.391Z] 94645a83ff95: Pull complete [2022-01-20T03:16:50.664Z] cf05db05a679: Verifying Checksum [2022-01-20T03:16:50.664Z] cf05db05a679: Download complete [2022-01-20T03:16:51.260Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T03:16:51.260Z] 3f3a8bcf1eab: Download complete [2022-01-20T03:17:03.666Z] 3f3a8bcf1eab: Pull complete [2022-01-20T03:17:03.666Z] 0c92f367c5e7: Pull complete [2022-01-20T03:17:03.666Z] 4b8299f9d1f4: Pull complete [2022-01-20T03:17:03.666Z] 9a6b49a46696: Pull complete [2022-01-20T03:17:09.082Z] cf05db05a679: Pull complete [2022-01-20T03:17:09.082Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T03:17:09.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T03:17:09.082Z] ---> 0ccda1f7e2ee [2022-01-20T03:17:09.082Z] Step 3/11 : ARG MAKE=make build [2022-01-20T03:17:10.517Z] ---> Running in 26dd38cdb3ec [2022-01-20T03:17:10.787Z] Removing intermediate container 26dd38cdb3ec [2022-01-20T03:17:10.787Z] ---> 2fadf8f4f431 [2022-01-20T03:17:10.787Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-20T03:17:10.787Z] ---> Running in 59542b1fb581 [2022-01-20T03:17:11.379Z] Removing intermediate container 59542b1fb581 [2022-01-20T03:17:11.379Z] ---> 18985c99ecb7 [2022-01-20T03:17:11.379Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-20T03:17:11.379Z] ---> Running in 02bec1f6a04a [2022-01-20T03:17:11.975Z] Removing intermediate container 02bec1f6a04a [2022-01-20T03:17:11.975Z] ---> 901a91e93447 [2022-01-20T03:17:11.975Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T03:17:11.975Z] ---> Running in ade199d82c3d [2022-01-20T03:17:13.949Z] Removing intermediate container ade199d82c3d [2022-01-20T03:17:13.949Z] ---> a8e3d652fa31 [2022-01-20T03:17:13.949Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T03:17:13.949Z] ---> Running in cd469c908232 [2022-01-20T03:17:14.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T03:17:15.519Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T03:17:16.497Z] OK: 220 MiB in 52 packages [2022-01-20T03:17:17.091Z] Removing intermediate container cd469c908232 [2022-01-20T03:17:17.091Z] ---> ad9533e4a1e4 [2022-01-20T03:17:17.091Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-20T03:17:17.690Z] ---> 411621eecc2a [2022-01-20T03:17:17.690Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T03:17:17.969Z] ---> Running in 9da4470f6618 [2022-01-20T03:18:25.971Z] Removing intermediate container 9da4470f6618 [2022-01-20T03:18:25.971Z] ---> 97824242e7d6 [2022-01-20T03:18:25.971Z] Step 10/11 : COPY . . [2022-01-20T03:18:26.940Z] ---> a6890c9f6786 [2022-01-20T03:18:26.940Z] Step 11/11 : RUN ${MAKE} [2022-01-20T03:18:26.940Z] ---> Running in e0c1b3c552e1 [2022-01-20T03:18:28.904Z] noop [2022-01-20T03:18:29.176Z] Removing intermediate container e0c1b3c552e1 [2022-01-20T03:18:29.176Z] ---> 6773646fdb7e [2022-01-20T03:18:29.176Z] Successfully built 6773646fdb7e [2022-01-20T03:18:29.176Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:18:29.525Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T03:18:29.525Z] . [Pipeline] withDockerContainer [2022-01-20T03:18:29.715Z] prd-ubuntu18.04-docker-arm64-4c-16g-2196 does not seem to be running inside a container [2022-01-20T03:18:29.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T03:18:30.972Z] $ docker top 5e647c4164eef2d5d0d5f6651c4fed07b4b72f3d09e848e8bbbf8cb0dec60d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T03:18:31.823Z] + go version [2022-01-20T03:18:31.823Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T03:18:31.842Z] $ docker stop --time=1 5e647c4164eef2d5d0d5f6651c4fed07b4b72f3d09e848e8bbbf8cb0dec60d62 [2022-01-20T03:18:33.421Z] $ docker rm -f 5e647c4164eef2d5d0d5f6651c4fed07b4b72f3d09e848e8bbbf8cb0dec60d62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:18:33.977Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T03:18:33.977Z] . [Pipeline] withDockerContainer [2022-01-20T03:18:34.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-2196 does not seem to be running inside a container [2022-01-20T03:18:34.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T03:18:35.379Z] $ docker top 28774e0e47b63b5dea943157f505dfcd0c67e61377a4ac92604a4ce80a852767 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T03:18:36.259Z] + make test [2022-01-20T03:18:36.259Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-20T03:19:03.055Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-20T03:20:11.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-20T03:20:11.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-20T03:20:11.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-20T03:20:12.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.318s coverage: 23.3% of statements [2022-01-20T03:20:12.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-20T03:20:12.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.222s coverage: 27.6% of statements [2022-01-20T03:20:12.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.261s coverage: 78.9% of statements [2022-01-20T03:20:12.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.214s coverage: 9.0% of statements [2022-01-20T03:20:12.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-20T03:20:12.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-20T03:20:12.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-20T03:20:13.499Z] --- FAIL: TestMetricsRequest (0.00s) [2022-01-20T03:20:13.499Z] common_test.go:114: [2022-01-20T03:20:13.499Z] Error Trace: common_test.go:114 [2022-01-20T03:20:13.499Z] Error: Should not be zero, but was 0 [2022-01-20T03:20:13.499Z] Test: TestMetricsRequest [2022-01-20T03:20:13.499Z] FAIL [2022-01-20T03:20:13.499Z] coverage: 28.7% of statements [2022-01-20T03:20:13.499Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.344s [2022-01-20T03:20:13.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-20T03:20:13.499Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.239s coverage: 86.1% of statements [2022-01-20T03:20:13.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-20T03:20:13.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-20T03:20:13.772Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.327s coverage: 57.4% of statements [2022-01-20T03:20:19.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.993s coverage: 89.2% of statements [2022-01-20T03:20:19.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-20T03:20:19.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.8% of statements [2022-01-20T03:20:19.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-20T03:20:19.167Z] FAIL [2022-01-20T03:20:19.167Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-20T03:20:19.184Z] $ docker stop --time=1 28774e0e47b63b5dea943157f505dfcd0c67e61377a4ac92604a4ce80a852767 [2022-01-20T03:20:20.921Z] $ docker rm -f 28774e0e47b63b5dea943157f505dfcd0c67e61377a4ac92604a4ce80a852767 [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-20T03:20:21.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T03:20:21.914Z] [2022-01-20T03:20:21.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:20:22.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T03:20:22.264Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T03:20:22.264Z] 448f6bf000e3: Pulling fs layer [2022-01-20T03:20:22.264Z] f757da607395: Pulling fs layer [2022-01-20T03:20:22.264Z] 05883995daec: Pulling fs layer [2022-01-20T03:20:22.264Z] 8603b9c90790: Pulling fs layer [2022-01-20T03:20:22.264Z] 1560dd03e051: Pulling fs layer [2022-01-20T03:20:22.264Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T03:20:22.264Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T03:20:22.264Z] 1560dd03e051: Waiting [2022-01-20T03:20:22.264Z] 27f5ce0e4adf: Waiting [2022-01-20T03:20:22.264Z] c2d8d7efcc4b: Waiting [2022-01-20T03:20:22.264Z] 8603b9c90790: Waiting [2022-01-20T03:20:22.536Z] f757da607395: Verifying Checksum [2022-01-20T03:20:22.536Z] f757da607395: Download complete [2022-01-20T03:20:22.536Z] 8603b9c90790: Verifying Checksum [2022-01-20T03:20:22.536Z] 8603b9c90790: Download complete [2022-01-20T03:20:22.536Z] 1560dd03e051: Verifying Checksum [2022-01-20T03:20:22.536Z] 1560dd03e051: Download complete [2022-01-20T03:20:22.536Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T03:20:22.536Z] 27f5ce0e4adf: Download complete [2022-01-20T03:20:22.536Z] 05883995daec: Verifying Checksum [2022-01-20T03:20:22.536Z] 05883995daec: Download complete [2022-01-20T03:20:23.133Z] 448f6bf000e3: Verifying Checksum [2022-01-20T03:20:23.133Z] 448f6bf000e3: Download complete [2022-01-20T03:20:25.750Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T03:20:26.726Z] 448f6bf000e3: Pull complete [2022-01-20T03:20:27.318Z] f757da607395: Pull complete [2022-01-20T03:20:28.753Z] 05883995daec: Pull complete [2022-01-20T03:20:28.753Z] 8603b9c90790: Pull complete [2022-01-20T03:20:29.730Z] 1560dd03e051: Pull complete [2022-01-20T03:20:30.004Z] 27f5ce0e4adf: Pull complete [2022-01-20T03:20:45.072Z] c2d8d7efcc4b: Pull complete [2022-01-20T03:20:45.072Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T03:20:45.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T03:20:45.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T03:20:45.295Z] prd-ubuntu18.04-docker-arm64-4c-16g-2196 does not seem to be running inside a container [2022-01-20T03:20:45.365Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T03:20:47.920Z] $ docker top d5c7ea26c671b2500b545a0f4d1c675598ffd10c2d9cca4b7ba9fc23981f3e66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:20:48.806Z] ---> job-cost.sh [2022-01-20T03:20:48.806Z] lf-activate-venv: SKIPPING [2022-01-20T03:20:48.806Z] INFO: No Stack... [2022-01-20T03:20:49.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T03:20:50.507Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T03:20:51.160Z] + cut -d, -f6 [2022-01-20T03:20:51.160Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2022-01-20T03:20:51.224Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [2022-01-20T03:20:51.231Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] did not exist. Created. [2022-01-20T03:20:51.231Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T03:20:51.902Z] /w/workspace/device-sdk-go/5@tmp/durable-6a65fa10/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-6a65fa10/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T03:20:52.576Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T03:20:52.605Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T03:20:53.065Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T03:20:53.073Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T03:20:53.086Z] $ docker stop --time=1 d5c7ea26c671b2500b545a0f4d1c675598ffd10c2d9cca4b7ba9fc23981f3e66 [2022-01-20T03:20:54.568Z] $ docker rm -f d5c7ea26c671b2500b545a0f4d1c675598ffd10c2d9cca4b7ba9fc23981f3e66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T03:20:54.855Z] 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-20T03:20:55.588Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives ']' [2022-01-20T03:20:55.588Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-20T03:20:55.588Z] total 8 [2022-01-20T03:20:55.588Z] drwxr-xr-x. 3 root root 34 Jan 20 03:16 . [2022-01-20T03:20:55.588Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 20 03:16 .. [2022-01-20T03:20:55.588Z] drwxr-xr-x. 2 root root 6 Jan 20 03:16 cost [2022-01-20T03:20:55.588Z] -rw-r--r--. 1 root root 85 Jan 20 03:16 cost.csv [2022-01-20T03:20:55.588Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-20T03:20:55.588Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-20T03:20:55.588Z] total 8 [2022-01-20T03:20:55.588Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 03:16 . [2022-01-20T03:20:55.588Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 20 03:16 .. [2022-01-20T03:20:55.588Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 03:16 cost [2022-01-20T03:20:55.588Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 20 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:20:55.893Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:20:56.460Z] ---> package-listing.sh [2022-01-20T03:20:56.461Z] ++ facter osfamily [2022-01-20T03:20:56.461Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T03:20:56.723Z] + OS_FAMILY=redhat [2022-01-20T03:20:56.723Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-20T03:20:56.723Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T03:20:56.723Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T03:20:56.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T03:20:56.723Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T03:20:56.723Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-20T03:20:56.723Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T03:20:56.723Z] + case "${OS_FAMILY}" in [2022-01-20T03:20:56.723Z] + sort [2022-01-20T03:20:56.723Z] + rpm -qa [2022-01-20T03:20:57.301Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T03:20:57.301Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T03:20:57.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T03:20:57.301Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-20T03:20:57.301Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [2022-01-20T03:20:57.301Z] + 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-20T03:20:57.315Z] 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-20T03:20:57.597Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T03:20:58.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T03:20:58.155Z] . [Pipeline] withDockerContainer [2022-01-20T03:20:58.214Z] prd-centos7-docker-4c-2g-2195 does not seem to be running inside a container [2022-01-20T03:20:58.261Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T03:20:58.535Z] $ docker top 355f623839ea932ac2367f9326f11db31ed1ae424e4ff05cce0708e5a51027ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T03:20:59.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T03:20:59.301Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T03:20:59.594Z] + ls /var/log/sa-host [2022-01-20T03:20:59.594Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T03:20:59.594Z] file_magic: OK [2022-01-20T03:20:59.594Z] HZ: Using current value: 100 [2022-01-20T03:20:59.594Z] file_header: OK [2022-01-20T03:20:59.594Z] 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-20T03:20:59.594Z] Statistics: [2022-01-20T03:20:59.594Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T03:20:59.594Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T03:20:59.594Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T03:20:59.594Z] file_magic: OK [2022-01-20T03:20:59.594Z] HZ: Using current value: 100 [2022-01-20T03:20:59.594Z] file_header: OK [2022-01-20T03:20:59.594Z] 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-20T03:20:59.594Z] Statistics: [2022-01-20T03:20:59.594Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T03:20:59.594Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T03:20:59.803Z] provisioning config files... [2022-01-20T03:20:59.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config7898554176299081314tmp [Pipeline] { [Pipeline] echo [2022-01-20T03:20:59.829Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:21:00.119Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T03:21:00.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:21:00.470Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T03:21:00.478Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:21:00.764Z] ---> sudo-logs.sh [2022-01-20T03:21:00.764Z] Archiving 'sudo' log.. [2022-01-20T03:21:00.764Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2195.novalocal: Name or service not known [2022-01-20T03:21:00.764Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2195.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T03:21:00.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:21:01.086Z] ---> job-cost.sh [2022-01-20T03:21:01.086Z] lf-activate-venv: SKIPPING [2022-01-20T03:21:01.086Z] DEBUG: total: 0.05999999865889549 [2022-01-20T03:21:01.086Z] INFO: Retrieving Stack Cost... [2022-01-20T03:21:01.347Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T03:21:01.607Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T03:21:01.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T03:21:01.912Z] ---> logs-deploy.sh [2022-01-20T03:21:01.912Z] lf-activate-venv: SKIPPING [2022-01-20T03:21:01.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1084/5 [2022-01-20T03:21:01.912Z] INFO: archiving workspace using pattern(s): [2022-01-20T03:21:02.484Z] Archives upload complete. [2022-01-20T03:21:02.745Z] INFO: archiving logs to Nexus