Pull request #1096 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 381b63a3cb60c8cc960975300aed4e14bc11aa65+9a649bf1bf9918af6bcd6933aa59ded149e77d26 (a26fb72d37bd1ae3682b8b980ae820f9386e7933) 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-ssh6665915736798241383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh15453009287109636002.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1096/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1096/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2462748552915129405.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1096/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9704291451930855277.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10723347708165925630.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1096/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1096/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3575050568693597165.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-4749 in /w/workspace/gexfoundry_device-sdk-go_PR-1096 [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-1096 # 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-1096@tmp/jenkins-gitclient-ssh4221370590068617332.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 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit 381b63a3cb60c8cc960975300aed4e14bc11aa65 Merge succeeded, producing 381b63a3cb60c8cc960975300aed4e14bc11aa65 Checking out Revision 381b63a3cb60c8cc960975300aed4e14bc11aa65 (PR-1096) > 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-1096@tmp/jenkins-gitclient-ssh628732854995658301.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1096/head:refs/remotes/origin/PR-1096 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 381b63a3cb60c8cc960975300aed4e14bc11aa65 # 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-1096@tmp/jenkins-gitclient-ssh8154033009437414304.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 381b63a3cb60c8cc960975300aed4e14bc11aa65 # timeout=10 Commit message: "ci: add '-race' flag for unit tests" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-07T04:24:22.715Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-07T04:24:22.877Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-07T04:24:22.974Z] ========================================================= [2022-02-07T04:24:22.974Z] EdgeX Global Pipelines Version Info [2022-02-07T04:24:22.974Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:24:24.119Z] ------------------- [2022-02-07T04:24:24.119Z] stable info: [2022-02-07T04:24:24.119Z] ------------------- [2022-02-07T04:24:24.119Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T04:24:24.120Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T04:24:24.120Z] Message: update stable to v1.0.220 [2022-02-07T04:24:24.692Z] ------------------- [2022-02-07T04:24:24.692Z] experimental info: [2022-02-07T04:24:24.692Z] ------------------- [2022-02-07T04:24:24.692Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T04:24:24.692Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T04:24:24.692Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-07T04:24:24.951Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-07T04:24:24.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-07T04:24:25.040Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-07T04:24:25.083Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-07T04:24:25.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-07T04:24:25.170Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-07T04:24:25.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-07T04:24:25.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-07T04:24:25.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-07T04:24:25.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-07T04:24:25.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-07T04:24:25.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-07T04:24:25.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-07T04:24:25.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-07T04:24:25.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T04:24:25.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T04:24:25.642Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T04:24:25.685Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T04:24:25.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-07T04:24:25.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-07T04:24:25.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-07T04:24:25.846Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-07T04:24:25.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-07T04:24:25.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-07T04:24:25.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-07T04:24:26.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-07T04:24:26.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1096 [Pipeline] echo [2022-02-07T04:24:26.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1096 [Pipeline] echo [2022-02-07T04:24:26.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1096 [Pipeline] echo [2022-02-07T04:24:26.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 381b63a3cb60c8cc960975300aed4e14bc11aa65 [Pipeline] echo [2022-02-07T04:24:26.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 381b63a [Pipeline] echo [2022-02-07T04:24:26.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T04:24:26.374Z] provisioning config files... [2022-02-07T04:24:26.393Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/config6589523293109495462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:24:26.736Z] ---> docker-login.sh [2022-02-07T04:24:26.736Z] nexus3.edgexfoundry.org:10001 [2022-02-07T04:24:26.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:26.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:26.999Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:26.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:26.999Z] [2022-02-07T04:24:26.999Z] Login Succeeded [2022-02-07T04:24:26.999Z] nexus3.edgexfoundry.org:10002 [2022-02-07T04:24:26.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:26.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:26.999Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:26.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:26.999Z] [2022-02-07T04:24:26.999Z] Login Succeeded [2022-02-07T04:24:26.999Z] nexus3.edgexfoundry.org:10003 [2022-02-07T04:24:26.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:26.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:26.999Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:26.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:26.999Z] [2022-02-07T04:24:26.999Z] Login Succeeded [2022-02-07T04:24:26.999Z] nexus3.edgexfoundry.org:10004 [2022-02-07T04:24:27.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:27.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:27.264Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:27.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:27.264Z] [2022-02-07T04:24:27.264Z] Login Succeeded [2022-02-07T04:24:27.264Z] docker.io [2022-02-07T04:24:27.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:27.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:27.839Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:27.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:27.839Z] [2022-02-07T04:24:27.839Z] Login Succeeded [2022-02-07T04:24:27.839Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T04:24:27.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-07T04:24:28.489Z] + git rev-list -1 --merges 381b63a3cb60c8cc960975300aed4e14bc11aa65~1..381b63a3cb60c8cc960975300aed4e14bc11aa65 [Pipeline] echo [2022-02-07T04:24:28.536Z] -----------> git rev-list -1 --merges 381b63a3cb60c8cc960975300aed4e14bc11aa65~1..381b63a3cb60c8cc960975300aed4e14bc11aa65 381b63a3cb60c8cc960975300aed4e14bc11aa65 [false] [Pipeline] sh [2022-02-07T04:24:28.865Z] + git log --format=format:%s -1 381b63a3cb60c8cc960975300aed4e14bc11aa65 [Pipeline] echo [2022-02-07T04:24:28.905Z] ========================================================= [2022-02-07T04:24:28.905Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-07T04:24:28.905Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T04:24:29.352Z] + git log --format=format:%s -1 381b63a3cb60c8cc960975300aed4e14bc11aa65 [Pipeline] echo [2022-02-07T04:24:29.395Z] [semverPrep] GIT_COMMIT: 381b63a3cb60c8cc960975300aed4e14bc11aa65, Commit Message: ci: add '-race' flag for unit tests [Pipeline] echo [2022-02-07T04:24:29.426Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-07T04:24:29.889Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-07T04:24:29.889Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-07T04:24:29.889Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-07T04:24:29.889Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-07T04:24:29.889Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-07T04:24:29.889Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-07T04:24:29.889Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:24:30.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T04:24:30.343Z] [2022-02-07T04:24:30.343Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:24:30.688Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T04:24:30.688Z] latest: Pulling from edgex-devops/git-semver [2022-02-07T04:24:30.688Z] a0d0a0d46f8b: Pulling fs layer [2022-02-07T04:24:30.688Z] 3e5f54012d9b: Pulling fs layer [2022-02-07T04:24:30.688Z] 4c7163046ea9: Pulling fs layer [2022-02-07T04:24:30.688Z] 0c2d73faf560: Pulling fs layer [2022-02-07T04:24:30.688Z] 0c2d73faf560: Waiting [2022-02-07T04:24:30.688Z] 3e5f54012d9b: Verifying Checksum [2022-02-07T04:24:30.688Z] 3e5f54012d9b: Download complete [2022-02-07T04:24:30.688Z] a0d0a0d46f8b: Verifying Checksum [2022-02-07T04:24:30.688Z] a0d0a0d46f8b: Download complete [2022-02-07T04:24:30.688Z] 0c2d73faf560: Verifying Checksum [2022-02-07T04:24:30.688Z] 0c2d73faf560: Download complete [2022-02-07T04:24:30.955Z] 4c7163046ea9: Verifying Checksum [2022-02-07T04:24:30.955Z] 4c7163046ea9: Download complete [2022-02-07T04:24:30.955Z] a0d0a0d46f8b: Pull complete [2022-02-07T04:24:30.955Z] 3e5f54012d9b: Pull complete [2022-02-07T04:24:31.215Z] 4c7163046ea9: Pull complete [2022-02-07T04:24:31.479Z] 0c2d73faf560: Pull complete [2022-02-07T04:24:31.479Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-07T04:24:31.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T04:24:31.479Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-07T04:24:31.571Z] prd-centos7-docker-4c-2g-4749 does not seem to be running inside a container [2022-02-07T04:24:31.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1096 -v /w/workspace/gexfoundry_device-sdk-go_PR-1096:/w/workspace/gexfoundry_device-sdk-go_PR-1096:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-07T04:24:32.206Z] $ docker top cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-07T04:24:32.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T04:24:32.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T04:24:32.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T04:24:32.481Z] $ docker exec cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 ssh-agent [2022-02-07T04:24:32.588Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoBndHL/agent.13 [2022-02-07T04:24:32.588Z] SSH_AGENT_PID=19 [2022-02-07T04:24:32.595Z] Running ssh-add (command line suppressed) [2022-02-07T04:24:32.683Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/private_key_7442007170230358153.key (/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/private_key_7442007170230358153.key) [2022-02-07T04:24:32.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T04:24:33.036Z] + git tag --points-at HEAD [Pipeline] } [2022-02-07T04:24:33.061Z] $ docker exec --env ******** --env ******** cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 ssh-agent -k [2022-02-07T04:24:33.153Z] unset SSH_AUTH_SOCK; [2022-02-07T04:24:33.154Z] unset SSH_AGENT_PID; [2022-02-07T04:24:33.154Z] echo Agent pid 19 killed; [2022-02-07T04:24:33.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-07T04:24:33.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T04:24:33.240Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T04:24:33.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T04:24:33.349Z] $ docker exec cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 ssh-agent [2022-02-07T04:24:33.444Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEbMGPG/agent.54 [2022-02-07T04:24:33.444Z] SSH_AGENT_PID=60 [2022-02-07T04:24:33.450Z] Running ssh-add (command line suppressed) [2022-02-07T04:24:33.541Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/private_key_6255748921528846149.key (/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/private_key_6255748921528846149.key) [2022-02-07T04:24:33.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T04:24:33.896Z] + git semver init [2022-02-07T04:24:33.896Z] # -> Open(): unable to determine branch for HEAD [2022-02-07T04:24:33.896Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1096/.git [2022-02-07T04:24:33.896Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1096 [2022-02-07T04:24:33.896Z] # $SEMVER_REMOTE_NAME = origin [2022-02-07T04:24:33.896Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-07T04:24:33.896Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-07T04:24:33.896Z] # $SEMVER_BRANCH = PR-1096 [2022-02-07T04:24:33.896Z] # $SEMVER_TEMP = /tmp/semver-465591084 [2022-02-07T04:24:33.896Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-07T04:24:34.843Z] # '/tmp/semver-465591084' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1096/.semver' [2022-02-07T04:24:34.843Z] # -> Force: false [2022-02-07T04:24:34.843Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1096/.semver [Pipeline] } [2022-02-07T04:24:34.868Z] $ docker exec --env ******** --env ******** cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 ssh-agent -k [2022-02-07T04:24:34.960Z] unset SSH_AUTH_SOCK; [2022-02-07T04:24:34.960Z] unset SSH_AGENT_PID; [2022-02-07T04:24:34.961Z] echo Agent pid 60 killed; [2022-02-07T04:24:34.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-07T04:24:35.411Z] + git semver [Pipeline] } [2022-02-07T04:24:35.443Z] $ docker stop --time=1 cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 [2022-02-07T04:24:36.693Z] $ docker rm -f cb357913f5da31053b37517cdc0dc3d3d0f8968cc1e3098babe6c0d2bebef125 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-07T04:24:37.104Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-07T04:24:37.371Z] Stashed 1 file(s) [Pipeline] echo [2022-02-07T04:24:37.390Z] [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-02-07T04:24:37.952Z] provisioning config files... [2022-02-07T04:24:37.961Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/config673363193638700829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:24:38.318Z] ---> docker-login.sh [2022-02-07T04:24:38.318Z] nexus3.edgexfoundry.org:10001 [2022-02-07T04:24:38.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:38.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:38.318Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:38.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:38.318Z] [2022-02-07T04:24:38.318Z] Login Succeeded [2022-02-07T04:24:38.318Z] nexus3.edgexfoundry.org:10002 [2022-02-07T04:24:38.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:38.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:38.318Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:38.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:38.318Z] [2022-02-07T04:24:38.318Z] Login Succeeded [2022-02-07T04:24:38.318Z] nexus3.edgexfoundry.org:10003 [2022-02-07T04:24:38.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:38.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:38.584Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:38.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:38.584Z] [2022-02-07T04:24:38.584Z] Login Succeeded [2022-02-07T04:24:38.584Z] nexus3.edgexfoundry.org:10004 [2022-02-07T04:24:38.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:38.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:38.584Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:38.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:38.584Z] [2022-02-07T04:24:38.584Z] Login Succeeded [2022-02-07T04:24:38.584Z] docker.io [2022-02-07T04:24:38.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:24:39.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:24:39.105Z] Configure a credential helper to remove this warning. See [2022-02-07T04:24:39.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:24:39.105Z] [2022-02-07T04:24:39.105Z] Login Succeeded [2022-02-07T04:24:39.105Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T04:24:39.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T04:24:39.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T04:24:39.399Z] ========================================================= [2022-02-07T04:24:39.399Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-07T04:24:39.399Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:24:39.801Z] + 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-02-07T04:24:39.801Z] Sending build context to Docker daemon 9.428MB [2022-02-07T04:24:39.801Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T04:24:39.801Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-07T04:24:40.067Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-07T04:24:40.067Z] 59bf1c3509f3: Pulling fs layer [2022-02-07T04:24:40.067Z] 666ba61612fd: Pulling fs layer [2022-02-07T04:24:40.067Z] 8ed8ca486205: Pulling fs layer [2022-02-07T04:24:40.067Z] 4fe6c5a15a65: Pulling fs layer [2022-02-07T04:24:40.067Z] 22a0e8bec74d: Pulling fs layer [2022-02-07T04:24:40.067Z] 640e595b4fbd: Pulling fs layer [2022-02-07T04:24:40.067Z] 763cafe07f6e: Pulling fs layer [2022-02-07T04:24:40.067Z] 0c0b528cf693: Pulling fs layer [2022-02-07T04:24:40.067Z] 10935f4eaf8b: Pulling fs layer [2022-02-07T04:24:40.067Z] 640e595b4fbd: Waiting [2022-02-07T04:24:40.067Z] 763cafe07f6e: Waiting [2022-02-07T04:24:40.067Z] 0c0b528cf693: Waiting [2022-02-07T04:24:40.067Z] 10935f4eaf8b: Waiting [2022-02-07T04:24:40.067Z] 4fe6c5a15a65: Waiting [2022-02-07T04:24:40.067Z] 22a0e8bec74d: Waiting [2022-02-07T04:24:40.067Z] 8ed8ca486205: Verifying Checksum [2022-02-07T04:24:40.067Z] 8ed8ca486205: Download complete [2022-02-07T04:24:40.067Z] 666ba61612fd: Verifying Checksum [2022-02-07T04:24:40.067Z] 666ba61612fd: Download complete [2022-02-07T04:24:40.067Z] 22a0e8bec74d: Download complete [2022-02-07T04:24:40.067Z] 640e595b4fbd: Verifying Checksum [2022-02-07T04:24:40.067Z] 640e595b4fbd: Download complete [2022-02-07T04:24:40.067Z] 59bf1c3509f3: Verifying Checksum [2022-02-07T04:24:40.067Z] 59bf1c3509f3: Download complete [2022-02-07T04:24:40.067Z] 763cafe07f6e: Verifying Checksum [2022-02-07T04:24:40.067Z] 763cafe07f6e: Download complete [2022-02-07T04:24:40.067Z] 0c0b528cf693: Verifying Checksum [2022-02-07T04:24:40.067Z] 0c0b528cf693: Download complete [2022-02-07T04:24:40.331Z] 59bf1c3509f3: Pull complete [2022-02-07T04:24:40.592Z] 4fe6c5a15a65: Verifying Checksum [2022-02-07T04:24:40.592Z] 4fe6c5a15a65: Download complete [2022-02-07T04:24:40.592Z] 666ba61612fd: Pull complete [2022-02-07T04:24:40.592Z] 10935f4eaf8b: Verifying Checksum [2022-02-07T04:24:40.592Z] 10935f4eaf8b: Download complete [2022-02-07T04:24:40.855Z] 8ed8ca486205: Pull complete [2022-02-07T04:24:45.097Z] 4fe6c5a15a65: Pull complete [2022-02-07T04:24:45.097Z] 22a0e8bec74d: Pull complete [2022-02-07T04:24:45.097Z] 640e595b4fbd: Pull complete [2022-02-07T04:24:45.097Z] 763cafe07f6e: Pull complete [2022-02-07T04:24:45.097Z] 0c0b528cf693: Pull complete [2022-02-07T04:24:47.725Z] 10935f4eaf8b: Pull complete [2022-02-07T04:24:47.725Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-07T04:24:47.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-07T04:24:47.725Z] ---> 99d49a6021b9 [2022-02-07T04:24:47.725Z] Step 3/11 : ARG MAKE=make build [2022-02-07T04:24:49.113Z] ---> Running in 9a54e58d8b75 [2022-02-07T04:24:49.113Z] Removing intermediate container 9a54e58d8b75 [2022-02-07T04:24:49.113Z] ---> fbf1d38a4495 [2022-02-07T04:24:49.113Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-07T04:24:49.113Z] ---> Running in 7ae43e7fba0b [2022-02-07T04:24:49.375Z] Removing intermediate container 7ae43e7fba0b [2022-02-07T04:24:49.375Z] ---> a2739ffe5069 [2022-02-07T04:24:49.375Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-07T04:24:49.375Z] ---> Running in 2166c06158b5 [2022-02-07T04:24:49.375Z] Removing intermediate container 2166c06158b5 [2022-02-07T04:24:49.375Z] ---> adf7739eeeea [2022-02-07T04:24:49.375Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T04:24:49.375Z] ---> Running in 2533a7c060ab [2022-02-07T04:24:49.946Z] Removing intermediate container 2533a7c060ab [2022-02-07T04:24:49.946Z] ---> fdcae7da9581 [2022-02-07T04:24:49.946Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-07T04:24:49.946Z] ---> Running in f26636fee74a [2022-02-07T04:24:50.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-07T04:24:51.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-07T04:24:51.429Z] OK: 221 MiB in 52 packages [2022-02-07T04:24:51.690Z] Removing intermediate container f26636fee74a [2022-02-07T04:24:51.690Z] ---> 84678a2bf6e4 [2022-02-07T04:24:51.690Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-07T04:24:51.690Z] ---> 100a2293645d [2022-02-07T04:24:51.690Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T04:24:51.690Z] ---> Running in 6bf63b835b28 [2022-02-07T04:24:52.775Z] Still waiting to schedule task [2022-02-07T04:24:52.775Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-07T04:25:23.846Z] Removing intermediate container 6bf63b835b28 [2022-02-07T04:25:23.846Z] ---> 5f1e45985fef [2022-02-07T04:25:23.846Z] Step 10/11 : COPY . . [2022-02-07T04:25:23.846Z] ---> d0067133e840 [2022-02-07T04:25:23.846Z] Step 11/11 : RUN ${MAKE} [2022-02-07T04:25:23.846Z] ---> Running in 9cdb8522c701 [2022-02-07T04:25:23.846Z] noop [2022-02-07T04:25:23.846Z] Removing intermediate container 9cdb8522c701 [2022-02-07T04:25:23.846Z] ---> 7a2a6212580b [2022-02-07T04:25:23.846Z] Successfully built 7a2a6212580b [2022-02-07T04:25:23.846Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:25:24.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T04:25:24.186Z] . [Pipeline] withDockerContainer [2022-02-07T04:25:24.268Z] prd-centos7-docker-4c-2g-4749 does not seem to be running inside a container [2022-02-07T04:25:24.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1096 -v /w/workspace/gexfoundry_device-sdk-go_PR-1096:/w/workspace/gexfoundry_device-sdk-go_PR-1096:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-07T04:25:24.662Z] $ docker top d10c665de900a23e5bd4fdd6c319ea3b95a63a7754464f3eb4bf80d1f8497484 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T04:25:25.077Z] + go version [2022-02-07T04:25:25.077Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-07T04:25:25.103Z] $ docker stop --time=1 d10c665de900a23e5bd4fdd6c319ea3b95a63a7754464f3eb4bf80d1f8497484 [2022-02-07T04:25:26.276Z] $ docker rm -f d10c665de900a23e5bd4fdd6c319ea3b95a63a7754464f3eb4bf80d1f8497484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:25:26.942Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T04:25:26.942Z] . [Pipeline] withDockerContainer [2022-02-07T04:25:27.028Z] prd-centos7-docker-4c-2g-4749 does not seem to be running inside a container [2022-02-07T04:25:27.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1096 -v /w/workspace/gexfoundry_device-sdk-go_PR-1096:/w/workspace/gexfoundry_device-sdk-go_PR-1096:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-07T04:25:27.387Z] $ docker top b6efeb0ce1f1e5aeade4099a5bbbd141046598681bb7efee0127ab22977a7753 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T04:25:27.835Z] + make test [2022-02-07T04:25:27.836Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-07T04:25:34.466Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-07T04:25:56.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 23.3% of statements [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-07T04:25:56.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-02-07T04:25:56.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-02-07T04:25:56.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.041s coverage: 9.0% of statements [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-07T04:25:56.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-07T04:25:56.805Z] --- FAIL: TestMetricsRequest (0.00s) [2022-02-07T04:25:56.805Z] common_test.go:121: [2022-02-07T04:25:56.805Z] Error Trace: common_test.go:121 [2022-02-07T04:25:56.805Z] Error: Should not be zero, but was 0 [2022-02-07T04:25:56.805Z] Test: TestMetricsRequest [2022-02-07T04:25:56.805Z] FAIL [2022-02-07T04:25:56.805Z] coverage: 28.7% of statements [2022-02-07T04:25:56.805Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.048s [2022-02-07T04:25:56.805Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-07T04:25:58.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements [2022-02-07T04:25:58.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-07T04:25:58.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-07T04:25:58.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.4% of statements [2022-02-07T04:25:58.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.732s coverage: 89.2% of statements [2022-02-07T04:25:58.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-07T04:25:58.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.8% of statements [2022-02-07T04:25:58.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-07T04:25:58.782Z] FAIL [2022-02-07T04:25:59.043Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-07T04:25:59.100Z] $ docker stop --time=1 b6efeb0ce1f1e5aeade4099a5bbbd141046598681bb7efee0127ab22977a7753 [2022-02-07T04:26:00.803Z] $ docker rm -f b6efeb0ce1f1e5aeade4099a5bbbd141046598681bb7efee0127ab22977a7753 [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-02-07T04:26:01.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T04:26:01.914Z] [2022-02-07T04:26:01.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:26:02.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T04:26:02.263Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-07T04:26:02.263Z] b4d181a07f80: Pulling fs layer [2022-02-07T04:26:02.263Z] a1111a8f2ec3: Pulling fs layer [2022-02-07T04:26:02.263Z] ed53099fbce6: Pulling fs layer [2022-02-07T04:26:02.263Z] dc539afda2c1: Pulling fs layer [2022-02-07T04:26:02.263Z] 77bc0d833cb6: Pulling fs layer [2022-02-07T04:26:02.263Z] 9065ff56babe: Pulling fs layer [2022-02-07T04:26:02.263Z] d287ab97295c: Pulling fs layer [2022-02-07T04:26:02.263Z] dc539afda2c1: Waiting [2022-02-07T04:26:02.263Z] 77bc0d833cb6: Waiting [2022-02-07T04:26:02.263Z] 9065ff56babe: Waiting [2022-02-07T04:26:02.263Z] d287ab97295c: Waiting [2022-02-07T04:26:02.263Z] a1111a8f2ec3: Verifying Checksum [2022-02-07T04:26:02.263Z] a1111a8f2ec3: Download complete [2022-02-07T04:26:02.263Z] dc539afda2c1: Verifying Checksum [2022-02-07T04:26:02.263Z] dc539afda2c1: Download complete [2022-02-07T04:26:02.525Z] ed53099fbce6: Verifying Checksum [2022-02-07T04:26:02.525Z] ed53099fbce6: Download complete [2022-02-07T04:26:02.525Z] 9065ff56babe: Verifying Checksum [2022-02-07T04:26:02.525Z] 9065ff56babe: Download complete [2022-02-07T04:26:02.525Z] b4d181a07f80: Verifying Checksum [2022-02-07T04:26:02.525Z] b4d181a07f80: Download complete [2022-02-07T04:26:02.525Z] 77bc0d833cb6: Verifying Checksum [2022-02-07T04:26:02.525Z] 77bc0d833cb6: Download complete [2022-02-07T04:26:03.100Z] d287ab97295c: Verifying Checksum [2022-02-07T04:26:03.100Z] d287ab97295c: Download complete [2022-02-07T04:26:03.688Z] b4d181a07f80: Pull complete [2022-02-07T04:26:03.955Z] a1111a8f2ec3: Pull complete [2022-02-07T04:26:04.530Z] ed53099fbce6: Pull complete [2022-02-07T04:26:04.530Z] dc539afda2c1: Pull complete [2022-02-07T04:26:04.792Z] 77bc0d833cb6: Pull complete [2022-02-07T04:26:05.055Z] 9065ff56babe: Pull complete [2022-02-07T04:26:10.383Z] d287ab97295c: Pull complete [2022-02-07T04:26:10.383Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-07T04:26:10.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T04:26:10.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-07T04:26:10.476Z] prd-centos7-docker-4c-2g-4749 does not seem to be running inside a container [2022-02-07T04:26:10.511Z] $ 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-1096 -v /w/workspace/gexfoundry_device-sdk-go_PR-1096:/w/workspace/gexfoundry_device-sdk-go_PR-1096:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-07T04:26:13.294Z] $ docker top bef796423f49ba7777fe074671b9479ca38fea80e0fae8d6aa6c43b8addda06b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:26:13.794Z] ---> job-cost.sh [2022-02-07T04:26:13.794Z] lf-activate-venv: SKIPPING [2022-02-07T04:26:13.794Z] INFO: No Stack... [2022-02-07T04:26:14.053Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T04:26:14.312Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T04:26:14.626Z] + cut -d, -f6 [2022-02-07T04:26:14.626Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives/cost.csv [Pipeline] lock [2022-02-07T04:26:14.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [2022-02-07T04:26:14.673Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] did not exist. Created. [2022-02-07T04:26:14.673Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T04:26:15.061Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-07T04:26:15.123Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T04:26:15.142Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T04:26:15.211Z] $ docker stop --time=1 bef796423f49ba7777fe074671b9479ca38fea80e0fae8d6aa6c43b8addda06b [2022-02-07T04:26:16.339Z] $ docker rm -f bef796423f49ba7777fe074671b9479ca38fea80e0fae8d6aa6c43b8addda06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T04:26:16.698Z] Failed in branch amd64 [2022-02-07T04:26:18.325Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4750 in /w/workspace/gexfoundry_device-sdk-go_PR-1096 [Pipeline] { [Pipeline] ws [2022-02-07T04:26:18.367Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-02-07T04:26:18.583Z] The recommended git tool is: git [2022-02-07T04:26:22.917Z] using credential edgex-jenkins-ssh [2022-02-07T04:26:22.937Z] Cloning the remote Git repository [2022-02-07T04:26:22.992Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-07T04:26:23.069Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-02-07T04:26:23.165Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-07T04:26:23.166Z] > git --version # timeout=10 [2022-02-07T04:26:23.185Z] > git --version # 'git version 2.17.1' [2022-02-07T04:26:23.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T04:26:23.250Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T04:26:25.719Z] Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit 381b63a3cb60c8cc960975300aed4e14bc11aa65 [2022-02-07T04:26:25.947Z] Merge succeeded, producing 381b63a3cb60c8cc960975300aed4e14bc11aa65 [2022-02-07T04:26:25.947Z] Checking out Revision 381b63a3cb60c8cc960975300aed4e14bc11aa65 (PR-1096) [2022-02-07T04:26:24.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-07T04:26:24.838Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T04:26:24.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-07T04:26:25.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-07T04:26:25.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T04:26:25.038Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1096/head:refs/remotes/origin/PR-1096 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-07T04:26:25.740Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T04:26:25.755Z] > git checkout -f 381b63a3cb60c8cc960975300aed4e14bc11aa65 # timeout=10 [2022-02-07T04:26:25.852Z] > git remote # timeout=10 [2022-02-07T04:26:25.868Z] > git config --get remote.origin.url # timeout=10 [2022-02-07T04:26:25.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T04:26:25.898Z] > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-07T04:26:25.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-07T04:26:25.954Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T04:26:25.978Z] > git checkout -f 381b63a3cb60c8cc960975300aed4e14bc11aa65 # timeout=10 [2022-02-07T04:26:30.072Z] Commit message: "ci: add '-race' flag for unit tests" [2022-02-07T04:26:30.130Z] > git --version # timeout=10 [2022-02-07T04:26:30.139Z] > git --version # 'git version 2.17.1' [2022-02-07T04:26:30.155Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T04:26:31.221Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-07T04:26:31.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-07T04:26:31.221Z] Dload Upload Total Spent Left Speed [2022-02-07T04:26:31.221Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh [2022-02-07T04:26:31.757Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-07T04:26:32.148Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-07T04:26:32.149Z] + sudo tee /etc/docker/daemon.new [2022-02-07T04:26:32.149Z] { [2022-02-07T04:26:32.149Z] "registry-mirrors": [ [2022-02-07T04:26:32.149Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-07T04:26:32.149Z] ], [2022-02-07T04:26:32.149Z] "bip": "10.250.0.254/24", [2022-02-07T04:26:32.149Z] "hosts": [ [2022-02-07T04:26:32.149Z] "tcp://0.0.0.0:5555", [2022-02-07T04:26:32.149Z] "unix:///var/run/docker.sock" [2022-02-07T04:26:32.149Z] ], [2022-02-07T04:26:32.149Z] "mtu": 1458, [2022-02-07T04:26:32.149Z] "selinux-enabled": true, [2022-02-07T04:26:32.149Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-07T04:26:32.149Z] } [Pipeline] sh [2022-02-07T04:26:32.499Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-07T04:26:32.866Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T04:26:51.238Z] provisioning config files... [2022-02-07T04:26:51.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1786187764798666716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:26:51.656Z] ---> docker-login.sh [2022-02-07T04:26:51.656Z] nexus3.edgexfoundry.org:10001 [2022-02-07T04:26:52.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:26:52.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:26:52.526Z] Configure a credential helper to remove this warning. See [2022-02-07T04:26:52.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:26:52.526Z] [2022-02-07T04:26:52.526Z] Login Succeeded [2022-02-07T04:26:52.526Z] nexus3.edgexfoundry.org:10002 [2022-02-07T04:26:52.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:26:52.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:26:52.799Z] Configure a credential helper to remove this warning. See [2022-02-07T04:26:52.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:26:52.799Z] [2022-02-07T04:26:52.799Z] Login Succeeded [2022-02-07T04:26:52.799Z] nexus3.edgexfoundry.org:10003 [2022-02-07T04:26:53.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:26:53.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:26:53.352Z] Configure a credential helper to remove this warning. See [2022-02-07T04:26:53.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:26:53.352Z] [2022-02-07T04:26:53.352Z] Login Succeeded [2022-02-07T04:26:53.352Z] nexus3.edgexfoundry.org:10004 [2022-02-07T04:26:53.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:26:53.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:26:53.625Z] Configure a credential helper to remove this warning. See [2022-02-07T04:26:53.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:26:53.625Z] [2022-02-07T04:26:53.625Z] Login Succeeded [2022-02-07T04:26:53.625Z] docker.io [2022-02-07T04:26:53.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T04:26:54.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T04:26:54.488Z] Configure a credential helper to remove this warning. See [2022-02-07T04:26:54.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T04:26:54.488Z] [2022-02-07T04:26:54.488Z] Login Succeeded [2022-02-07T04:26:54.488Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T04:26:54.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T04:26:55.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T04:26:55.188Z] ========================================================= [2022-02-07T04:26:55.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-07T04:26:55.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:26:55.641Z] + 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-02-07T04:26:55.915Z] Sending build context to Docker daemon 5.092MB [2022-02-07T04:26:56.189Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T04:26:56.189Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-07T04:26:56.189Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-07T04:26:56.189Z] 9b3977197b4f: Pulling fs layer [2022-02-07T04:26:56.189Z] 1a89e8eeedd5: Pulling fs layer [2022-02-07T04:26:56.189Z] 94645a83ff95: Pulling fs layer [2022-02-07T04:26:56.189Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-07T04:26:56.189Z] 0c92f367c5e7: Pulling fs layer [2022-02-07T04:26:56.189Z] f7c0051592d6: Pulling fs layer [2022-02-07T04:26:56.189Z] a227ed2f7395: Pulling fs layer [2022-02-07T04:26:56.189Z] 7b1c46037f91: Pulling fs layer [2022-02-07T04:26:56.189Z] 3f3a8bcf1eab: Waiting [2022-02-07T04:26:56.189Z] 7b1c46037f91: Waiting [2022-02-07T04:26:56.189Z] a227ed2f7395: Waiting [2022-02-07T04:26:56.189Z] 94645a83ff95: Verifying Checksum [2022-02-07T04:26:56.189Z] 94645a83ff95: Download complete [2022-02-07T04:26:56.189Z] 1a89e8eeedd5: Verifying Checksum [2022-02-07T04:26:56.189Z] 1a89e8eeedd5: Download complete [2022-02-07T04:26:56.189Z] 0c92f367c5e7: Verifying Checksum [2022-02-07T04:26:56.189Z] 0c92f367c5e7: Download complete [2022-02-07T04:26:56.189Z] f7c0051592d6: Verifying Checksum [2022-02-07T04:26:56.189Z] f7c0051592d6: Download complete [2022-02-07T04:26:56.467Z] a227ed2f7395: Download complete [2022-02-07T04:26:56.467Z] 9b3977197b4f: Verifying Checksum [2022-02-07T04:26:56.467Z] 9b3977197b4f: Download complete [2022-02-07T04:26:57.068Z] 9b3977197b4f: Pull complete [2022-02-07T04:26:57.683Z] 1a89e8eeedd5: Pull complete [2022-02-07T04:26:57.958Z] 94645a83ff95: Pull complete [2022-02-07T04:26:58.231Z] 7b1c46037f91: Verifying Checksum [2022-02-07T04:26:58.232Z] 7b1c46037f91: Download complete [2022-02-07T04:26:58.827Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-07T04:26:58.828Z] 3f3a8bcf1eab: Download complete [2022-02-07T04:27:11.248Z] 3f3a8bcf1eab: Pull complete [2022-02-07T04:27:11.248Z] 0c92f367c5e7: Pull complete [2022-02-07T04:27:11.248Z] f7c0051592d6: Pull complete [2022-02-07T04:27:11.248Z] a227ed2f7395: Pull complete [2022-02-07T04:27:16.648Z] 7b1c46037f91: Pull complete [2022-02-07T04:27:16.649Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-07T04:27:16.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-07T04:27:16.649Z] ---> f79e39bc4007 [2022-02-07T04:27:16.649Z] Step 3/11 : ARG MAKE=make build [2022-02-07T04:27:18.087Z] ---> Running in 25dc037e35d6 [2022-02-07T04:27:18.680Z] Removing intermediate container 25dc037e35d6 [2022-02-07T04:27:18.680Z] ---> c07cd9e87b3d [2022-02-07T04:27:18.680Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-07T04:27:18.680Z] ---> Running in 81b65663aae0 [2022-02-07T04:27:18.953Z] Removing intermediate container 81b65663aae0 [2022-02-07T04:27:18.953Z] ---> 15463214c25c [2022-02-07T04:27:18.953Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-07T04:27:19.226Z] ---> Running in 7a920f6ac5ba [2022-02-07T04:27:19.505Z] Removing intermediate container 7a920f6ac5ba [2022-02-07T04:27:19.505Z] ---> 837c77a9660a [2022-02-07T04:27:19.505Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T04:27:19.505Z] ---> Running in 01ef846bef76 [2022-02-07T04:27:21.475Z] Removing intermediate container 01ef846bef76 [2022-02-07T04:27:21.475Z] ---> 1029fe91e1d8 [2022-02-07T04:27:21.475Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-07T04:27:21.475Z] ---> Running in 59fcb3513f22 [2022-02-07T04:27:22.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-07T04:27:23.425Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-07T04:27:24.020Z] OK: 220 MiB in 52 packages [2022-02-07T04:27:24.999Z] Removing intermediate container 59fcb3513f22 [2022-02-07T04:27:24.999Z] ---> c70a3d40f045 [2022-02-07T04:27:24.999Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-07T04:27:25.271Z] ---> f67d167bea23 [2022-02-07T04:27:25.271Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T04:27:25.544Z] ---> Running in 5cf8656b1e88 [2022-02-07T04:28:47.320Z] Removing intermediate container 5cf8656b1e88 [2022-02-07T04:28:47.320Z] ---> b1dbda66d088 [2022-02-07T04:28:47.320Z] Step 10/11 : COPY . . [2022-02-07T04:28:47.320Z] ---> 9831ced408e3 [2022-02-07T04:28:47.320Z] Step 11/11 : RUN ${MAKE} [2022-02-07T04:28:47.320Z] ---> Running in b5c825fd7ebf [2022-02-07T04:28:47.320Z] noop [2022-02-07T04:28:47.320Z] Removing intermediate container b5c825fd7ebf [2022-02-07T04:28:47.320Z] ---> a57f101c299d [2022-02-07T04:28:47.320Z] Successfully built a57f101c299d [2022-02-07T04:28:47.320Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:28:47.694Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T04:28:47.694Z] . [Pipeline] withDockerContainer [2022-02-07T04:28:47.909Z] prd-ubuntu18.04-docker-arm64-4c-16g-4750 does not seem to be running inside a container [2022-02-07T04:28:47.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-07T04:28:49.201Z] $ docker top 58360ca47673f0f45891c1294ecafa185f9ae885fd85f636723845a3f7cc7c5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T04:28:50.123Z] + go version [2022-02-07T04:28:50.123Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-07T04:28:50.158Z] $ docker stop --time=1 58360ca47673f0f45891c1294ecafa185f9ae885fd85f636723845a3f7cc7c5e [2022-02-07T04:28:51.778Z] $ docker rm -f 58360ca47673f0f45891c1294ecafa185f9ae885fd85f636723845a3f7cc7c5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:28:52.616Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T04:28:52.616Z] . [Pipeline] withDockerContainer [2022-02-07T04:28:52.861Z] prd-ubuntu18.04-docker-arm64-4c-16g-4750 does not seem to be running inside a container [2022-02-07T04:28:52.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-07T04:28:54.164Z] $ docker top d5db73c0ffbea8aad1cede75c6fa2b3acea2e980bd4c82597680cd2d5286881d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T04:28:55.124Z] + make test [2022-02-07T04:28:55.124Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-02-07T04:29:21.904Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-07T04:30:29.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-07T04:30:29.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-07T04:30:29.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-07T04:30:31.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.322s coverage: 23.3% of statements [2022-02-07T04:30:31.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-07T04:30:31.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.219s coverage: 27.6% of statements [2022-02-07T04:30:31.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements [2022-02-07T04:30:31.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.206s coverage: 9.0% of statements [2022-02-07T04:30:31.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-07T04:30:31.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-07T04:30:31.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-07T04:30:31.954Z] --- FAIL: TestMetricsRequest (0.01s) [2022-02-07T04:30:31.954Z] common_test.go:121: [2022-02-07T04:30:31.954Z] Error Trace: common_test.go:121 [2022-02-07T04:30:31.954Z] Error: Should not be zero, but was 0 [2022-02-07T04:30:31.954Z] Test: TestMetricsRequest [2022-02-07T04:30:31.954Z] FAIL [2022-02-07T04:30:31.954Z] coverage: 28.7% of statements [2022-02-07T04:30:31.954Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s [2022-02-07T04:30:31.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-07T04:30:32.963Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 86.1% of statements [2022-02-07T04:30:32.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-07T04:30:32.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-07T04:30:32.963Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.403s coverage: 57.4% of statements [2022-02-07T04:30:38.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.965s coverage: 89.2% of statements [2022-02-07T04:30:38.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-07T04:30:38.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 4.8% of statements [2022-02-07T04:30:38.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-07T04:30:38.360Z] FAIL [2022-02-07T04:30:38.360Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-07T04:30:38.408Z] $ docker stop --time=1 d5db73c0ffbea8aad1cede75c6fa2b3acea2e980bd4c82597680cd2d5286881d [2022-02-07T04:30:40.193Z] $ docker rm -f d5db73c0ffbea8aad1cede75c6fa2b3acea2e980bd4c82597680cd2d5286881d [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-02-07T04:30:41.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T04:30:41.593Z] [2022-02-07T04:30:41.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:30:41.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T04:30:42.245Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-07T04:30:42.245Z] 448f6bf000e3: Pulling fs layer [2022-02-07T04:30:42.245Z] f757da607395: Pulling fs layer [2022-02-07T04:30:42.245Z] 05883995daec: Pulling fs layer [2022-02-07T04:30:42.245Z] 8603b9c90790: Pulling fs layer [2022-02-07T04:30:42.245Z] 1560dd03e051: Pulling fs layer [2022-02-07T04:30:42.245Z] 27f5ce0e4adf: Pulling fs layer [2022-02-07T04:30:42.245Z] c2d8d7efcc4b: Pulling fs layer [2022-02-07T04:30:42.245Z] 8603b9c90790: Waiting [2022-02-07T04:30:42.245Z] 1560dd03e051: Waiting [2022-02-07T04:30:42.245Z] 27f5ce0e4adf: Waiting [2022-02-07T04:30:42.245Z] c2d8d7efcc4b: Waiting [2022-02-07T04:30:42.245Z] f757da607395: Verifying Checksum [2022-02-07T04:30:42.245Z] f757da607395: Download complete [2022-02-07T04:30:42.245Z] 8603b9c90790: Verifying Checksum [2022-02-07T04:30:42.245Z] 8603b9c90790: Download complete [2022-02-07T04:30:42.245Z] 1560dd03e051: Verifying Checksum [2022-02-07T04:30:42.520Z] 1560dd03e051: Download complete [2022-02-07T04:30:42.520Z] 27f5ce0e4adf: Verifying Checksum [2022-02-07T04:30:42.520Z] 27f5ce0e4adf: Download complete [2022-02-07T04:30:42.520Z] 05883995daec: Download complete [2022-02-07T04:30:42.794Z] 448f6bf000e3: Verifying Checksum [2022-02-07T04:30:42.794Z] 448f6bf000e3: Download complete [2022-02-07T04:30:45.418Z] c2d8d7efcc4b: Verifying Checksum [2022-02-07T04:30:45.418Z] c2d8d7efcc4b: Download complete [2022-02-07T04:30:46.401Z] 448f6bf000e3: Pull complete [2022-02-07T04:30:46.998Z] f757da607395: Pull complete [2022-02-07T04:30:48.429Z] 05883995daec: Pull complete [2022-02-07T04:30:48.429Z] 8603b9c90790: Pull complete [2022-02-07T04:30:49.409Z] 1560dd03e051: Pull complete [2022-02-07T04:30:49.682Z] 27f5ce0e4adf: Pull complete [2022-02-07T04:31:04.748Z] c2d8d7efcc4b: Pull complete [2022-02-07T04:31:04.748Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-07T04:31:04.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T04:31:04.748Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-07T04:31:04.980Z] prd-ubuntu18.04-docker-arm64-4c-16g-4750 does not seem to be running inside a container [2022-02-07T04:31:05.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-07T04:31:07.591Z] $ docker top 24570e3ce0e01e898442db9f408f6220bf4b103934507d98d5e30ca6b87f066a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:08.508Z] ---> job-cost.sh [2022-02-07T04:31:08.508Z] lf-activate-venv: SKIPPING [2022-02-07T04:31:08.508Z] INFO: No Stack... [2022-02-07T04:31:08.777Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-07T04:31:09.046Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T04:31:09.711Z] + cut -d, -f6 [2022-02-07T04:31:09.711Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-02-07T04:31:09.792Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [2022-02-07T04:31:09.797Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] did not exist. Created. [2022-02-07T04:31:09.797Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T04:31:10.545Z] /w/workspace/device-sdk-go/1@tmp/durable-31f9fa69/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-31f9fa69/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-07T04:31:10.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-07T04:31:10.947Z] Warning: overwriting stash ‘stack-cost’ [2022-02-07T04:31:11.406Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T04:31:11.423Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1096-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T04:31:11.498Z] $ docker stop --time=1 24570e3ce0e01e898442db9f408f6220bf4b103934507d98d5e30ca6b87f066a [2022-02-07T04:31:12.972Z] $ docker rm -f 24570e3ce0e01e898442db9f408f6220bf4b103934507d98d5e30ca6b87f066a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T04:31:13.691Z] 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-02-07T04:31:15.548Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives ']' [2022-02-07T04:31:15.548Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives [2022-02-07T04:31:15.548Z] total 8 [2022-02-07T04:31:15.548Z] drwxr-xr-x. 3 root root 34 Feb 7 04:26 . [2022-02-07T04:31:15.548Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 7 04:26 .. [2022-02-07T04:31:15.548Z] drwxr-xr-x. 2 root root 6 Feb 7 04:26 cost [2022-02-07T04:31:15.548Z] -rw-r--r--. 1 root root 85 Feb 7 04:26 cost.csv [2022-02-07T04:31:15.548Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives [2022-02-07T04:31:15.548Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives [2022-02-07T04:31:15.548Z] total 8 [2022-02-07T04:31:15.548Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 7 04:26 . [2022-02-07T04:31:15.548Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 7 04:26 .. [2022-02-07T04:31:15.548Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 7 04:26 cost [2022-02-07T04:31:15.548Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 7 04:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:15.882Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:16.466Z] ---> package-listing.sh [2022-02-07T04:31:16.467Z] ++ facter osfamily [2022-02-07T04:31:16.467Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-07T04:31:16.726Z] + OS_FAMILY=redhat [2022-02-07T04:31:16.726Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1096 [2022-02-07T04:31:16.726Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-07T04:31:16.726Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-07T04:31:16.726Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-07T04:31:16.726Z] + PACKAGES=/tmp/packages_start.txt [2022-02-07T04:31:16.726Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1096 ']' [2022-02-07T04:31:16.726Z] + PACKAGES=/tmp/packages_end.txt [2022-02-07T04:31:16.726Z] + case "${OS_FAMILY}" in [2022-02-07T04:31:16.726Z] + rpm -qa [2022-02-07T04:31:16.726Z] + sort [2022-02-07T04:31:17.299Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-07T04:31:17.299Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-07T04:31:17.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-07T04:31:17.299Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1096 ']' [2022-02-07T04:31:17.299Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives/ [2022-02-07T04:31:17.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1096/archives/ [Pipeline] echo [2022-02-07T04:31:17.338Z] 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-1096/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-07T04:31:17.633Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-07T04:31:18.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T04:31:18.220Z] . [Pipeline] withDockerContainer [2022-02-07T04:31:18.309Z] prd-centos7-docker-4c-2g-4749 does not seem to be running inside a container [2022-02-07T04:31:18.339Z] $ 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-1096/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-1096 -v /w/workspace/gexfoundry_device-sdk-go_PR-1096:/w/workspace/gexfoundry_device-sdk-go_PR-1096:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-07T04:31:18.525Z] $ docker top fa46650140c81cc8c7cbe11a26b7d7e5e6f8c4b8bf5769a3e6b22728c0d4a710 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T04:31:18.922Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-07T04:31:19.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-07T04:31:19.547Z] + ls /var/log/sa-host [2022-02-07T04:31:19.547Z] + sadf -c /var/log/sa-host/sa07 [2022-02-07T04:31:19.547Z] file_magic: OK [2022-02-07T04:31:19.547Z] HZ: Using current value: 100 [2022-02-07T04:31:19.547Z] file_header: OK [2022-02-07T04:31:19.547Z] 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-02-07T04:31:19.547Z] Statistics: [2022-02-07T04:31:19.547Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T04:31:19.547Z] File successfully converted to sysstat format version 12.0.3 [2022-02-07T04:31:19.547Z] + sadf -c /var/log/sa-host/sa17 [2022-02-07T04:31:19.547Z] file_magic: OK [2022-02-07T04:31:19.547Z] HZ: Using current value: 100 [2022-02-07T04:31:19.547Z] file_header: OK [2022-02-07T04:31:19.547Z] 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-02-07T04:31:19.547Z] Statistics: [2022-02-07T04:31:19.547Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T04:31:19.547Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T04:31:19.871Z] provisioning config files... [2022-02-07T04:31:19.901Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1096@tmp/config6475116749216062906tmp [Pipeline] { [Pipeline] echo [2022-02-07T04:31:19.955Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:20.393Z] ---> create-netrc.sh [Pipeline] } [2022-02-07T04:31:20.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:20.835Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-07T04:31:20.869Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:21.185Z] ---> sudo-logs.sh [2022-02-07T04:31:21.185Z] Archiving 'sudo' log.. [2022-02-07T04:31:21.185Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4749.novalocal: Name or service not known [2022-02-07T04:31:21.185Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4749.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-07T04:31:21.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:21.583Z] ---> job-cost.sh [2022-02-07T04:31:21.583Z] lf-activate-venv: SKIPPING [2022-02-07T04:31:21.583Z] DEBUG: total: 0.05999999865889549 [2022-02-07T04:31:21.583Z] INFO: Retrieving Stack Cost... [2022-02-07T04:31:21.847Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T04:31:22.114Z] INFO: Archiving Costs [Pipeline] echo [2022-02-07T04:31:22.150Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T04:31:22.474Z] ---> logs-deploy.sh [2022-02-07T04:31:22.474Z] lf-activate-venv: SKIPPING [2022-02-07T04:31:22.474Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1096/1 [2022-02-07T04:31:22.474Z] INFO: archiving workspace using pattern(s): [2022-02-07T04:31:23.051Z] Archives upload complete. [2022-02-07T04:31:23.311Z] INFO: archiving logs to Nexus