Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e+633449dbefca29cf62edd9030bbe74b52352fb22 (de14c84116e398829ddcf8324a8875ff16236206) 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-ssh15007722271253374489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh9666857933878258291.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1077/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1077/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8774756405759413442.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3194787532417310586.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1077/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1077/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7080523348188353794.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 ‘prd-centos7-docker-4c-2g-1162’ is offline Running on prd-centos7-docker-4c-2g-1165 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [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-1077 # 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-1077@tmp/jenkins-gitclient-ssh384146977820057777.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 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e Merge succeeded, producing 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 Checking out Revision 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 (PR-1077) > 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-1077@tmp/jenkins-gitclient-ssh7479503043368748305.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # 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-1077@tmp/jenkins-gitclient-ssh5957392019386345199.key > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 # timeout=10 Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" > git rev-list --no-walk 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-10T22:41:46.159Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-10T22:41:46.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-10T22:41:46.234Z] ========================================================= [2022-01-10T22:41:46.234Z] EdgeX Global Pipelines Version Info [2022-01-10T22:41:46.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:41:47.341Z] ------------------- [2022-01-10T22:41:47.341Z] stable info: [2022-01-10T22:41:47.341Z] ------------------- [2022-01-10T22:41:47.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-10T22:41:47.341Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-10T22:41:47.341Z] Message: update stable to v1.0.217 [2022-01-10T22:41:47.915Z] ------------------- [2022-01-10T22:41:47.915Z] experimental info: [2022-01-10T22:41:47.915Z] ------------------- [2022-01-10T22:41:47.915Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-10T22:41:47.915Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-10T22:41:47.915Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-10T22:41:48.065Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-10T22:41:48.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-10T22:41:48.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-10T22:41:48.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-10T22:41:48.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-10T22:41:48.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-10T22:41:48.140Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-10T22:41:48.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-10T22:41:48.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-10T22:41:48.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-10T22:41:48.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-10T22:41:48.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-10T22:41:48.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-10T22:41:48.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-10T22:41:48.258Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-10T22:41:48.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:41:48.282Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:41:48.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:41:48.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-10T22:41:48.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-10T22:41:48.351Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-10T22:41:48.369Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-10T22:41:48.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-10T22:41:48.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-10T22:41:48.427Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-10T22:41:48.443Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-10T22:41:48.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1077 [Pipeline] echo [2022-01-10T22:41:48.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1077 [Pipeline] echo [2022-01-10T22:41:48.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1077 [Pipeline] echo [2022-01-10T22:41:48.497Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [Pipeline] echo [2022-01-10T22:41:48.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45f89d6 [Pipeline] echo [2022-01-10T22:41:48.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:41:48.565Z] provisioning config files... [2022-01-10T22:41:48.579Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config4716951622674107229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:41:48.899Z] ---> docker-login.sh [2022-01-10T22:41:48.900Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:41:48.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:41:49.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:41:49.172Z] Configure a credential helper to remove this warning. See [2022-01-10T22:41:49.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:41:49.172Z] [2022-01-10T22:41:49.172Z] Login Succeeded [2022-01-10T22:41:49.172Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:41:49.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:41:49.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:41:49.172Z] Configure a credential helper to remove this warning. See [2022-01-10T22:41:49.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:41:49.172Z] [2022-01-10T22:41:49.172Z] Login Succeeded [2022-01-10T22:41:49.172Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:41:49.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:41:49.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:41:49.435Z] Configure a credential helper to remove this warning. See [2022-01-10T22:41:49.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:41:49.435Z] [2022-01-10T22:41:49.435Z] Login Succeeded [2022-01-10T22:41:49.435Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:41:49.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:41:49.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:41:49.435Z] Configure a credential helper to remove this warning. See [2022-01-10T22:41:49.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:41:49.435Z] [2022-01-10T22:41:49.435Z] Login Succeeded [2022-01-10T22:41:49.435Z] docker.io [2022-01-10T22:41:49.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:41:50.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:41:50.008Z] Configure a credential helper to remove this warning. See [2022-01-10T22:41:50.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:41:50.008Z] [2022-01-10T22:41:50.008Z] Login Succeeded [2022-01-10T22:41:50.008Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:41:50.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-10T22:41:50.401Z] + git rev-list -1 --merges 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797~1..45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [Pipeline] echo [2022-01-10T22:41:50.427Z] -----------> git rev-list -1 --merges 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797~1..45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [2022-01-10T22:41:50.427Z] 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [false] [Pipeline] sh [2022-01-10T22:41:50.727Z] + git log --format=format:%s -1 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [Pipeline] echo [2022-01-10T22:41:50.743Z] ========================================================= [2022-01-10T22:41:50.743Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-10T22:41:50.743Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T22:41:51.091Z] + git log --format=format:%s -1 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [Pipeline] echo [2022-01-10T22:41:51.103Z] [semverPrep] GIT_COMMIT: 45f89d6f4c40d4d91a5965f6b1fce5d9363bd797, Commit Message: Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD [Pipeline] echo [2022-01-10T22:41:51.113Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-10T22:41:51.488Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T22:41:51.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-10T22:41:51.488Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-10T22:41:51.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-10T22:41:51.488Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-10T22:41:51.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-10T22:41:51.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:41:51.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:41:51.834Z] [2022-01-10T22:41:51.834Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:41:52.145Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:41:52.145Z] latest: Pulling from edgex-devops/git-semver [2022-01-10T22:41:52.145Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T22:41:52.145Z] 3e5f54012d9b: Pulling fs layer [2022-01-10T22:41:52.145Z] 4c7163046ea9: Pulling fs layer [2022-01-10T22:41:52.145Z] 0c2d73faf560: Pulling fs layer [2022-01-10T22:41:52.145Z] 0c2d73faf560: Waiting [2022-01-10T22:41:52.145Z] 3e5f54012d9b: Verifying Checksum [2022-01-10T22:41:52.145Z] 3e5f54012d9b: Download complete [2022-01-10T22:41:52.145Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T22:41:52.145Z] a0d0a0d46f8b: Download complete [2022-01-10T22:41:52.145Z] 0c2d73faf560: Verifying Checksum [2022-01-10T22:41:52.145Z] 0c2d73faf560: Download complete [2022-01-10T22:41:52.145Z] 4c7163046ea9: Verifying Checksum [2022-01-10T22:41:52.145Z] 4c7163046ea9: Download complete [2022-01-10T22:41:52.405Z] a0d0a0d46f8b: Pull complete [2022-01-10T22:41:52.405Z] 3e5f54012d9b: Pull complete [2022-01-10T22:41:52.674Z] 4c7163046ea9: Pull complete [2022-01-10T22:41:52.941Z] 0c2d73faf560: Pull complete [2022-01-10T22:41:52.941Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-10T22:41:52.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:41:52.941Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-10T22:41:53.010Z] prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container [2022-01-10T22:41:53.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1077 -v /w/workspace/gexfoundry_device-sdk-go_PR-1077:/w/workspace/gexfoundry_device-sdk-go_PR-1077:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1077@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-01-10T22:41:53.582Z] $ docker top a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T22:41:53.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T22:41:53.680Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T22:41:53.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T22:41:53.800Z] $ docker exec a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 ssh-agent [2022-01-10T22:41:53.912Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPDcKaI/agent.13 [2022-01-10T22:41:53.912Z] SSH_AGENT_PID=19 [2022-01-10T22:41:53.919Z] Running ssh-add (command line suppressed) [2022-01-10T22:41:54.045Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_6933732854083641601.key (/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_6933732854083641601.key) [2022-01-10T22:41:54.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T22:41:54.360Z] + git tag --points-at HEAD [Pipeline] } [2022-01-10T22:41:54.378Z] $ docker exec --env ******** --env ******** a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 ssh-agent -k [2022-01-10T22:41:54.469Z] unset SSH_AUTH_SOCK; [2022-01-10T22:41:54.469Z] unset SSH_AGENT_PID; [2022-01-10T22:41:54.469Z] echo Agent pid 19 killed; [2022-01-10T22:41:54.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-10T22:41:54.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T22:41:54.507Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T22:41:54.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T22:41:54.611Z] $ docker exec a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 ssh-agent [2022-01-10T22:41:54.710Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjcifbI/agent.52 [2022-01-10T22:41:54.710Z] SSH_AGENT_PID=59 [2022-01-10T22:41:54.715Z] Running ssh-add (command line suppressed) [2022-01-10T22:41:54.809Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_5137907191934645543.key (/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_5137907191934645543.key) [2022-01-10T22:41:54.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T22:41:55.123Z] + git semver init [2022-01-10T22:41:55.123Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T22:41:55.123Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1077/.git [2022-01-10T22:41:55.123Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1077 [2022-01-10T22:41:55.123Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T22:41:55.123Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T22:41:55.123Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T22:41:55.123Z] # $SEMVER_BRANCH = PR-1077 [2022-01-10T22:41:55.123Z] # $SEMVER_TEMP = /tmp/semver-394134156 [2022-01-10T22:41:55.123Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-10T22:41:56.065Z] # '/tmp/semver-394134156' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1077/.semver' [2022-01-10T22:41:56.065Z] # -> Force: false [2022-01-10T22:41:56.065Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1077/.semver [Pipeline] } [2022-01-10T22:41:56.075Z] $ docker exec --env ******** --env ******** a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 ssh-agent -k [2022-01-10T22:41:56.156Z] unset SSH_AUTH_SOCK; [2022-01-10T22:41:56.156Z] unset SSH_AGENT_PID; [2022-01-10T22:41:56.156Z] echo Agent pid 59 killed; [2022-01-10T22:41:56.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T22:41:56.485Z] + git semver [Pipeline] } [2022-01-10T22:41:56.500Z] $ docker stop --time=1 a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 [2022-01-10T22:41:57.749Z] $ docker rm -f a04f6a4cea544e649edb6681f95dbed96ec8c009213dfbd1b738745f05a4edf5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T22:41:58.112Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-10T22:41:58.348Z] Stashed 1 file(s) [Pipeline] echo [2022-01-10T22:41:58.352Z] [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] node [Pipeline] node [2022-01-10T22:42:13.426Z] Still waiting to schedule task [2022-01-10T22:42:13.426Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-10T22:42:13.427Z] Still waiting to schedule task [2022-01-10T22:42:13.427Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-10T22:43:13.081Z] Running on prd-centos7-docker-4c-2g-1168 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [Pipeline] { [Pipeline] ws [2022-01-10T22:43:13.095Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-01-10T22:43:13.165Z] The recommended git tool is: git [2022-01-10T22:43:14.687Z] using credential edgex-jenkins-ssh [2022-01-10T22:43:14.699Z] Cloning the remote Git repository [2022-01-10T22:43:14.051Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:14.084Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-01-10T22:43:14.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:14.114Z] > git --version # timeout=10 [2022-01-10T22:43:14.121Z] > git --version # 'git version 2.24.4' [2022-01-10T22:43:14.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:14.140Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:14.140Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:14.141Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3173347048427325951.key [2022-01-10T22:43:14.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:16.167Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [2022-01-10T22:43:16.288Z] Merge succeeded, producing 268533ae65955b19b158fd2508094f40455193d6 [2022-01-10T22:43:16.289Z] Checking out Revision 268533ae65955b19b158fd2508094f40455193d6 (PR-1077) [2022-01-10T22:43:14.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:14.976Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:14.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:15.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:15.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:15.004Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:15.004Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:15.004Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1734104306042124011.key [2022-01-10T22:43:15.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T22:43:15.508Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:15.521Z] > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 [2022-01-10T22:43:15.555Z] > git remote # timeout=10 [2022-01-10T22:43:15.568Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T22:43:15.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:15.577Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:15.577Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:15.577Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4495043632747585102.key [2022-01-10T22:43:15.583Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T22:43:15.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T22:43:15.623Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:15.636Z] > git checkout -f 268533ae65955b19b158fd2508094f40455193d6 # timeout=10 [2022-01-10T22:43:19.846Z] Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" [2022-01-10T22:43:19.181Z] > git rev-list --no-walk 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:43:20.281Z] provisioning config files... [2022-01-10T22:43:20.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2466747444091920291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:43:20.683Z] ---> docker-login.sh [2022-01-10T22:43:20.683Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:43:20.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:20.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:20.683Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:20.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:20.683Z] [2022-01-10T22:43:20.683Z] Login Succeeded [2022-01-10T22:43:20.683Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:43:20.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:20.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:20.944Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:20.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:20.944Z] [2022-01-10T22:43:20.944Z] Login Succeeded [2022-01-10T22:43:20.944Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:43:20.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:20.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:20.944Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:20.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:20.944Z] [2022-01-10T22:43:20.944Z] Login Succeeded [2022-01-10T22:43:20.944Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:43:20.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:21.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:21.204Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:21.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:21.204Z] [2022-01-10T22:43:21.204Z] Login Succeeded [2022-01-10T22:43:21.204Z] docker.io [2022-01-10T22:43:21.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:21.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:21.466Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:21.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:21.466Z] [2022-01-10T22:43:21.466Z] Login Succeeded [2022-01-10T22:43:21.466Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:43:21.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T22:43:21.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T22:43:21.675Z] ========================================================= [2022-01-10T22:43:21.675Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-10T22:43:21.675Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:43:21.988Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-10T22:43:21.988Z] Sending build context to Docker daemon 5.036MB [2022-01-10T22:43:21.988Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:43:21.988Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T22:43:21.988Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-10T22:43:21.988Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T22:43:21.988Z] 31adcdaf11c8: Pulling fs layer [2022-01-10T22:43:21.988Z] b8b176561691: Pulling fs layer [2022-01-10T22:43:21.988Z] 4527c011a84f: Pulling fs layer [2022-01-10T22:43:21.988Z] 5d74067f8e1e: Pulling fs layer [2022-01-10T22:43:21.988Z] e0aca202a116: Pulling fs layer [2022-01-10T22:43:21.988Z] 3a43be97a3b4: Pulling fs layer [2022-01-10T22:43:21.988Z] 34cad66bf833: Pulling fs layer [2022-01-10T22:43:21.988Z] b4e3c513aaa6: Pulling fs layer [2022-01-10T22:43:21.988Z] e0aca202a116: Waiting [2022-01-10T22:43:21.988Z] 3a43be97a3b4: Waiting [2022-01-10T22:43:21.988Z] 34cad66bf833: Waiting [2022-01-10T22:43:21.988Z] b4e3c513aaa6: Waiting [2022-01-10T22:43:21.988Z] 4527c011a84f: Waiting [2022-01-10T22:43:21.988Z] 5d74067f8e1e: Waiting [2022-01-10T22:43:21.988Z] b8b176561691: Verifying Checksum [2022-01-10T22:43:21.988Z] b8b176561691: Download complete [2022-01-10T22:43:21.988Z] 31adcdaf11c8: Verifying Checksum [2022-01-10T22:43:21.988Z] 31adcdaf11c8: Download complete [2022-01-10T22:43:22.253Z] 5d74067f8e1e: Verifying Checksum [2022-01-10T22:43:22.253Z] 5d74067f8e1e: Download complete [2022-01-10T22:43:22.253Z] e0aca202a116: Verifying Checksum [2022-01-10T22:43:22.253Z] e0aca202a116: Download complete [2022-01-10T22:43:22.253Z] 3a43be97a3b4: Verifying Checksum [2022-01-10T22:43:22.253Z] 3a43be97a3b4: Download complete [2022-01-10T22:43:22.253Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T22:43:22.253Z] a0d0a0d46f8b: Download complete [2022-01-10T22:43:22.253Z] 34cad66bf833: Verifying Checksum [2022-01-10T22:43:22.253Z] 34cad66bf833: Download complete [2022-01-10T22:43:22.518Z] a0d0a0d46f8b: Pull complete [2022-01-10T22:43:22.781Z] 4527c011a84f: Verifying Checksum [2022-01-10T22:43:22.781Z] 4527c011a84f: Download complete [2022-01-10T22:43:22.781Z] 31adcdaf11c8: Pull complete [2022-01-10T22:43:22.781Z] b4e3c513aaa6: Verifying Checksum [2022-01-10T22:43:22.781Z] b4e3c513aaa6: Download complete [2022-01-10T22:43:22.781Z] b8b176561691: Pull complete [2022-01-10T22:43:26.996Z] 4527c011a84f: Pull complete [2022-01-10T22:43:26.996Z] 5d74067f8e1e: Pull complete [2022-01-10T22:43:26.996Z] e0aca202a116: Pull complete [2022-01-10T22:43:26.996Z] 3a43be97a3b4: Pull complete [2022-01-10T22:43:26.996Z] 34cad66bf833: Pull complete [2022-01-10T22:43:28.940Z] b4e3c513aaa6: Pull complete [2022-01-10T22:43:28.940Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-10T22:43:28.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T22:43:28.940Z] ---> 9f6097aaca64 [2022-01-10T22:43:28.940Z] Step 3/10 : ARG MAKE=make build [2022-01-10T22:43:30.335Z] ---> Running in 3543fce3a88e [2022-01-10T22:43:30.335Z] Removing intermediate container 3543fce3a88e [2022-01-10T22:43:30.335Z] ---> 312b590ee7dd [2022-01-10T22:43:30.335Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T22:43:30.335Z] ---> Running in a9c3555af017 [2022-01-10T22:43:30.599Z] Removing intermediate container a9c3555af017 [2022-01-10T22:43:30.599Z] ---> 061976645b80 [2022-01-10T22:43:30.599Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:43:30.599Z] ---> Running in 1c468a3371f9 [2022-01-10T22:43:30.599Z] Removing intermediate container 1c468a3371f9 [2022-01-10T22:43:30.599Z] ---> d8dbc28ad1c5 [2022-01-10T22:43:30.599Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:43:30.599Z] ---> Running in 0897ab5db721 [2022-01-10T22:43:31.176Z] Removing intermediate container 0897ab5db721 [2022-01-10T22:43:31.176Z] ---> c3d8c6e0303f [2022-01-10T22:43:31.176Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:43:31.176Z] ---> Running in 4d074fc0b956 [2022-01-10T22:43:31.176Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T22:43:32.116Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T22:43:32.375Z] OK: 220 MiB in 52 packages [2022-01-10T22:43:32.636Z] Removing intermediate container 4d074fc0b956 [2022-01-10T22:43:32.636Z] ---> 6738d60cd674 [2022-01-10T22:43:32.636Z] Step 8/10 : COPY . . [2022-01-10T22:43:32.896Z] ---> 781d121ada19 [2022-01-10T22:43:32.896Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:43:32.896Z] ---> Running in c7669c296950 [2022-01-10T22:43:33.634Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1167 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [Pipeline] { [Pipeline] ws [2022-01-10T22:43:33.647Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-01-10T22:43:33.899Z] The recommended git tool is: git [2022-01-10T22:43:38.405Z] using credential edgex-jenkins-ssh [2022-01-10T22:43:38.424Z] Cloning the remote Git repository [2022-01-10T22:43:38.473Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:38.545Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-01-10T22:43:38.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:38.661Z] > git --version # timeout=10 [2022-01-10T22:43:38.680Z] > git --version # 'git version 2.17.1' [2022-01-10T22:43:38.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:38.765Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:41.052Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [2022-01-10T22:43:40.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:40.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:40.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:40.454Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:40.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:40.476Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-10T22:43:41.069Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:41.085Z] > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 [2022-01-10T22:43:41.346Z] Merge succeeded, producing bb4219e86e9ca206ad83771779690c9277dd019e [2022-01-10T22:43:41.347Z] Checking out Revision bb4219e86e9ca206ad83771779690c9277dd019e (PR-1077) [2022-01-10T22:43:41.187Z] > git remote # timeout=10 [2022-01-10T22:43:41.211Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T22:43:41.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:41.237Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T22:43:41.330Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T22:43:41.351Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:41.364Z] > git checkout -f bb4219e86e9ca206ad83771779690c9277dd019e # timeout=10 [2022-01-10T22:43:45.498Z] Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" [2022-01-10T22:43:45.505Z] > git rev-list --no-walk 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T22:43:46.419Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-10T22:43:46.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T22:43:46.419Z] Dload Upload Total Spent Left Speed [2022-01-10T22:43:46.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 53588 0 --:--:-- --:--:-- --:--:-- 53346 [Pipeline] sh [2022-01-10T22:43:46.913Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-10T22:43:47.253Z] + sudo tee /etc/docker/daemon.new [2022-01-10T22:43:47.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-10T22:43:47.253Z] { [2022-01-10T22:43:47.253Z] "registry-mirrors": [ [2022-01-10T22:43:47.253Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-10T22:43:47.253Z] ], [2022-01-10T22:43:47.253Z] "bip": "10.250.0.254/24", [2022-01-10T22:43:47.253Z] "hosts": [ [2022-01-10T22:43:47.253Z] "tcp://0.0.0.0:5555", [2022-01-10T22:43:47.253Z] "unix:///var/run/docker.sock" [2022-01-10T22:43:47.253Z] ], [2022-01-10T22:43:47.253Z] "mtu": 1458, [2022-01-10T22:43:47.253Z] "selinux-enabled": true, [2022-01-10T22:43:47.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-10T22:43:47.253Z] } [Pipeline] sh [2022-01-10T22:43:47.615Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-10T22:43:48.048Z] + sudo service docker restart [2022-01-10T22:44:05.057Z] Removing intermediate container c7669c296950 [2022-01-10T22:44:05.058Z] ---> 5f412dcbb018 [2022-01-10T22:44:05.058Z] Step 10/10 : RUN ${MAKE} [2022-01-10T22:44:05.058Z] ---> Running in f636caf427dd [2022-01-10T22:44:05.058Z] noop [2022-01-10T22:44:05.058Z] Removing intermediate container f636caf427dd [2022-01-10T22:44:05.058Z] ---> 0da248bb95f4 [2022-01-10T22:44:05.058Z] Successfully built 0da248bb95f4 [2022-01-10T22:44:05.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:05.365Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T22:44:05.365Z] . [Pipeline] withDockerContainer [2022-01-10T22:44:05.434Z] prd-centos7-docker-4c-2g-1168 does not seem to be running inside a container [2022-01-10T22:44:05.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-01-10T22:44:05.827Z] $ docker top 27ee5d1ba94363b255a8d35ffcfeb4f0c54df41053e449b87f3c5976f598ca07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:44:06.225Z] + go version [2022-01-10T22:44:06.225Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-10T22:44:06.237Z] $ docker stop --time=1 27ee5d1ba94363b255a8d35ffcfeb4f0c54df41053e449b87f3c5976f598ca07 [2022-01-10T22:44:07.415Z] $ docker rm -f 27ee5d1ba94363b255a8d35ffcfeb4f0c54df41053e449b87f3c5976f598ca07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2022-01-10T22:44:07.499Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2022-01-10T22:44:07.524Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1799880683194798930tmp [Pipeline] script [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:07.882Z] ---> docker-login.sh [2022-01-10T22:44:07.882Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:44:07.909Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T22:44:07.909Z] . [Pipeline] withDockerContainer [2022-01-10T22:44:07.979Z] prd-centos7-docker-4c-2g-1168 does not seem to be running inside a container [2022-01-10T22:44:08.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-01-10T22:44:08.366Z] $ docker top 51b335bfcba9c2d0513636bf840e6975119b8fead08717719ffa3871cd0b01d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T22:44:08.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:44:08.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:44:08.479Z] Configure a credential helper to remove this warning. See [2022-01-10T22:44:08.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:44:08.479Z] [2022-01-10T22:44:08.479Z] Login Succeeded [2022-01-10T22:44:08.479Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:44:08.737Z] + make test [2022-01-10T22:44:08.737Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T22:44:09.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:44:09.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:44:09.075Z] Configure a credential helper to remove this warning. See [2022-01-10T22:44:09.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:44:09.075Z] [2022-01-10T22:44:09.075Z] Login Succeeded [2022-01-10T22:44:09.075Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:44:09.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:44:09.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:44:09.347Z] Configure a credential helper to remove this warning. See [2022-01-10T22:44:09.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:44:09.347Z] [2022-01-10T22:44:09.347Z] Login Succeeded [2022-01-10T22:44:09.347Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:44:09.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:44:09.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:44:09.899Z] Configure a credential helper to remove this warning. See [2022-01-10T22:44:09.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:44:09.899Z] [2022-01-10T22:44:09.899Z] Login Succeeded [2022-01-10T22:44:09.899Z] docker.io [2022-01-10T22:44:10.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:44:10.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:44:10.443Z] Configure a credential helper to remove this warning. See [2022-01-10T22:44:10.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:44:10.443Z] [2022-01-10T22:44:10.443Z] Login Succeeded [2022-01-10T22:44:10.443Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:44:10.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T22:44:10.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T22:44:10.946Z] ========================================================= [2022-01-10T22:44:10.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-10T22:44:10.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:11.302Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-10T22:44:11.575Z] Sending build context to Docker daemon 5.034MB [2022-01-10T22:44:11.853Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:44:11.853Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T22:44:11.853Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-10T22:44:11.853Z] 552d1f2373af: Pulling fs layer [2022-01-10T22:44:11.853Z] ea3f2d53f512: Pulling fs layer [2022-01-10T22:44:11.853Z] 9e70ebbbe112: Pulling fs layer [2022-01-10T22:44:11.853Z] 7a9cfe048b4a: Pulling fs layer [2022-01-10T22:44:11.853Z] 72dc09318566: Pulling fs layer [2022-01-10T22:44:11.853Z] f4f7b4309257: Pulling fs layer [2022-01-10T22:44:11.853Z] 0ac9a79272e3: Pulling fs layer [2022-01-10T22:44:11.853Z] b78e95d17946: Pulling fs layer [2022-01-10T22:44:11.853Z] f4f7b4309257: Waiting [2022-01-10T22:44:11.853Z] 0ac9a79272e3: Waiting [2022-01-10T22:44:11.853Z] b78e95d17946: Waiting [2022-01-10T22:44:11.853Z] 72dc09318566: Waiting [2022-01-10T22:44:11.853Z] 7a9cfe048b4a: Waiting [2022-01-10T22:44:11.853Z] 9e70ebbbe112: Verifying Checksum [2022-01-10T22:44:11.853Z] 9e70ebbbe112: Download complete [2022-01-10T22:44:11.853Z] ea3f2d53f512: Download complete [2022-01-10T22:44:11.853Z] 72dc09318566: Verifying Checksum [2022-01-10T22:44:11.853Z] 72dc09318566: Download complete [2022-01-10T22:44:11.853Z] f4f7b4309257: Verifying Checksum [2022-01-10T22:44:11.853Z] f4f7b4309257: Download complete [2022-01-10T22:44:12.139Z] 552d1f2373af: Verifying Checksum [2022-01-10T22:44:12.139Z] 0ac9a79272e3: Verifying Checksum [2022-01-10T22:44:12.139Z] 0ac9a79272e3: Download complete [2022-01-10T22:44:12.735Z] 552d1f2373af: Pull complete [2022-01-10T22:44:13.335Z] ea3f2d53f512: Pull complete [2022-01-10T22:44:13.609Z] 9e70ebbbe112: Pull complete [2022-01-10T22:44:13.882Z] b78e95d17946: Verifying Checksum [2022-01-10T22:44:13.882Z] b78e95d17946: Download complete [2022-01-10T22:44:14.053Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-10T22:44:14.478Z] 7a9cfe048b4a: Verifying Checksum [2022-01-10T22:44:14.478Z] 7a9cfe048b4a: Download complete [2022-01-10T22:44:26.863Z] 7a9cfe048b4a: Pull complete [2022-01-10T22:44:26.863Z] 72dc09318566: Pull complete [2022-01-10T22:44:26.863Z] f4f7b4309257: Pull complete [2022-01-10T22:44:26.863Z] 0ac9a79272e3: Pull complete [2022-01-10T22:44:32.262Z] b78e95d17946: Pull complete [2022-01-10T22:44:32.262Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-10T22:44:32.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T22:44:32.262Z] ---> 8b459fc5aaf0 [2022-01-10T22:44:32.262Z] Step 3/10 : ARG MAKE=make build [2022-01-10T22:44:33.240Z] ---> Running in d5ffa88e9509 [2022-01-10T22:44:33.514Z] Removing intermediate container d5ffa88e9509 [2022-01-10T22:44:33.514Z] ---> ac5ea7ae01d1 [2022-01-10T22:44:33.514Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T22:44:33.787Z] ---> Running in 2adacf875977 [2022-01-10T22:44:34.059Z] Removing intermediate container 2adacf875977 [2022-01-10T22:44:34.059Z] ---> 8406df910e59 [2022-01-10T22:44:34.059Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:44:34.059Z] ---> Running in 6976ba71760d [2022-01-10T22:44:34.339Z] Removing intermediate container 6976ba71760d [2022-01-10T22:44:34.339Z] ---> 8ea8678f2911 [2022-01-10T22:44:34.339Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:44:34.612Z] ---> Running in dbec0b12805e [2022-01-10T22:44:36.588Z] Removing intermediate container dbec0b12805e [2022-01-10T22:44:36.588Z] ---> 429d24fe0a02 [2022-01-10T22:44:36.588Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:44:36.588Z] ---> Running in a416613308e6 [2022-01-10T22:44:37.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T22:44:38.547Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T22:44:39.141Z] OK: 219 MiB in 52 packages [2022-01-10T22:44:40.122Z] Removing intermediate container a416613308e6 [2022-01-10T22:44:40.122Z] ---> 8233de8dafd3 [2022-01-10T22:44:40.122Z] Step 8/10 : COPY . . [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-10T22:44:40.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-10T22:44:40.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 27.6% of statements [2022-01-10T22:44:40.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2022-01-10T22:44:40.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-10T22:44:40.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2022-01-10T22:44:40.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-10T22:44:41.096Z] ---> 3b1baae6b10c [2022-01-10T22:44:41.096Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:44:41.367Z] ---> Running in b4e20b25e0a3 [2022-01-10T22:44:42.064Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 86.1% of statements [2022-01-10T22:44:42.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-10T22:44:42.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-10T22:44:42.064Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.4% of statements [2022-01-10T22:44:43.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.2% of statements [2022-01-10T22:44:43.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-10T22:44:43.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements [2022-01-10T22:44:43.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-10T22:45:09.772Z] GO111MODULE=on go vet ./... [2022-01-10T22:45:15.143Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T22:45:15.143Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T22:45:15.143Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T22:45:15.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T22:45:15.171Z] $ docker stop --time=1 51b335bfcba9c2d0513636bf840e6975119b8fead08717719ffa3871cd0b01d3 [2022-01-10T22:45:16.770Z] $ docker rm -f 51b335bfcba9c2d0513636bf840e6975119b8fead08717719ffa3871cd0b01d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T22:45:17.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T22:45:17.458Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-10T22:45:18.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T22:45:18.737Z] + ls -al . [2022-01-10T22:45:18.737Z] total 272 [2022-01-10T22:45:18.737Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 10 22:45 . [2022-01-10T22:45:18.737Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 10 22:43 .. [2022-01-10T22:45:18.737Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 10 22:43 bin [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 10 22:43 CHANGELOG.md [2022-01-10T22:45:18.737Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 10 22:44 coverage.out [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 10 22:43 .dockerignore [2022-01-10T22:45:18.737Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 10 22:43 example [2022-01-10T22:45:18.737Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 10 22:43 .git [2022-01-10T22:45:18.737Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 10 22:43 .github [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 10 22:43 .gitignore [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 10 22:43 .golangci.yml [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 10 22:43 go.mod [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 49709 Jan 10 22:43 go.sum [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 10 22:43 GOVERNANCE.md [2022-01-10T22:45:18.737Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 10 22:43 internal [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 10 22:43 Jenkinsfile [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 10 22:43 LICENSE [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 10 22:43 Makefile [2022-01-10T22:45:18.737Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 10 22:43 openapi [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 10 22:43 OWNERS.md [2022-01-10T22:45:18.737Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 10 22:43 pkg [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 10 22:43 README.md [2022-01-10T22:45:18.737Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 10 22:43 snap [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 10 22:41 VERSION [2022-01-10T22:45:18.737Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 10 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:45:19.039Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=268533ae65955b19b158fd2508094f40455193d6 --label arch=amd64 --label version=0.0.0 . [2022-01-10T22:45:19.039Z] Sending build context to Docker daemon 5.165MB [2022-01-10T22:45:19.039Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:45:19.039Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T22:45:19.039Z] ---> 0da248bb95f4 [2022-01-10T22:45:19.039Z] Step 3/24 : ARG MAKE=make build [2022-01-10T22:45:19.039Z] ---> Running in a14f59c96f41 [2022-01-10T22:45:19.303Z] Removing intermediate container a14f59c96f41 [2022-01-10T22:45:19.303Z] ---> a3da1859577d [2022-01-10T22:45:19.303Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-10T22:45:19.303Z] ---> Running in dbb0c9fb388b [2022-01-10T22:45:19.303Z] Removing intermediate container dbb0c9fb388b [2022-01-10T22:45:19.303Z] ---> 34330e56033c [2022-01-10T22:45:19.303Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:45:19.303Z] ---> Running in d6ceb305fb8f [2022-01-10T22:45:19.568Z] Removing intermediate container d6ceb305fb8f [2022-01-10T22:45:19.568Z] ---> 7a6a2553b233 [2022-01-10T22:45:19.568Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:45:19.568Z] ---> Running in 12434dafe685 [2022-01-10T22:45:20.151Z] Removing intermediate container 12434dafe685 [2022-01-10T22:45:20.151Z] ---> 0d375b9ade8f [2022-01-10T22:45:20.151Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:45:20.151Z] ---> Running in 633d42c7d97b [2022-01-10T22:45:20.413Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T22:45:20.983Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T22:45:21.562Z] OK: 220 MiB in 52 packages [2022-01-10T22:45:21.562Z] Removing intermediate container 633d42c7d97b [2022-01-10T22:45:21.562Z] ---> 88c98d2282d4 [2022-01-10T22:45:21.562Z] Step 8/24 : COPY . . [2022-01-10T22:45:22.133Z] ---> b750cee7bd23 [2022-01-10T22:45:22.133Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:45:22.133Z] ---> Running in d95a9a57124b [2022-01-10T22:45:22.703Z] Removing intermediate container d95a9a57124b [2022-01-10T22:45:22.703Z] ---> 31e9e5d5f1f6 [2022-01-10T22:45:22.703Z] Step 10/24 : RUN ${MAKE} [2022-01-10T22:45:22.703Z] ---> Running in 2e06190797cb [2022-01-10T22:45:22.703Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-10T22:45:34.985Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-10T22:45:34.985Z] Removing intermediate container 2e06190797cb [2022-01-10T22:45:34.985Z] ---> ba1b218a0916 [2022-01-10T22:45:34.985Z] Step 11/24 : FROM alpine:3.14 [2022-01-10T22:45:35.246Z] 3.14: Pulling from library/alpine [2022-01-10T22:45:35.507Z] 97518928ae5f: Pulling fs layer [2022-01-10T22:45:35.507Z] 97518928ae5f: Verifying Checksum [2022-01-10T22:45:35.507Z] 97518928ae5f: Download complete [2022-01-10T22:45:35.777Z] 97518928ae5f: Pull complete [2022-01-10T22:45:35.777Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T22:45:35.777Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T22:45:35.777Z] ---> 0a97eee8041e [2022-01-10T22:45:35.777Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:45:35.777Z] ---> Running in eb6e0d7c1f4c [2022-01-10T22:45:36.041Z] Removing intermediate container eb6e0d7c1f4c [2022-01-10T22:45:36.041Z] ---> ad722903b883 [2022-01-10T22:45:36.041Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:45:36.041Z] ---> Running in 468c208a3759 [2022-01-10T22:45:36.301Z] Removing intermediate container 468c208a3759 [2022-01-10T22:45:36.301Z] ---> f6383bb8b28f [2022-01-10T22:45:36.301Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-10T22:45:36.567Z] ---> Running in cf3a55d2648e [2022-01-10T22:45:36.567Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T22:45:37.510Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T22:45:37.770Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T22:45:38.030Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-10T22:45:38.030Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T22:45:38.030Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-10T22:45:38.292Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-10T22:45:38.293Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T22:45:38.293Z] OK: 8 MiB in 19 packages [2022-01-10T22:45:38.561Z] Removing intermediate container cf3a55d2648e [2022-01-10T22:45:38.561Z] ---> 0f6efbcf8b7b [2022-01-10T22:45:38.561Z] Step 15/24 : WORKDIR / [2022-01-10T22:45:38.561Z] ---> Running in 36f211fdaa9d [2022-01-10T22:45:38.561Z] Removing intermediate container 36f211fdaa9d [2022-01-10T22:45:38.561Z] ---> cb4c5a767345 [2022-01-10T22:45:38.561Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-10T22:45:38.823Z] ---> 52bf195c330a [2022-01-10T22:45:38.823Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-10T22:45:39.088Z] ---> 84367516a3bf [2022-01-10T22:45:39.088Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-10T22:45:39.357Z] ---> 4ca4c4da0f99 [2022-01-10T22:45:39.357Z] Step 19/24 : EXPOSE 59999 [2022-01-10T22:45:39.357Z] ---> Running in 39a700be30a0 [2022-01-10T22:45:39.358Z] Removing intermediate container 39a700be30a0 [2022-01-10T22:45:39.358Z] ---> 12f7d180f527 [2022-01-10T22:45:39.358Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-10T22:45:39.358Z] ---> Running in 100a1a36502f [2022-01-10T22:45:39.618Z] Removing intermediate container 100a1a36502f [2022-01-10T22:45:39.618Z] ---> 4c6f8c24751c [2022-01-10T22:45:39.618Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-10T22:45:39.618Z] ---> Running in 55a32b07d644 [2022-01-10T22:45:39.618Z] Removing intermediate container 55a32b07d644 [2022-01-10T22:45:39.618Z] ---> f58a762379bf [2022-01-10T22:45:39.618Z] Step 22/24 : LABEL arch=amd64 [2022-01-10T22:45:39.618Z] ---> Running in a58ba7cee2bf [2022-01-10T22:45:39.877Z] Removing intermediate container a58ba7cee2bf [2022-01-10T22:45:39.877Z] ---> a8b7080a776a [2022-01-10T22:45:39.877Z] Step 23/24 : LABEL git_sha=268533ae65955b19b158fd2508094f40455193d6 [2022-01-10T22:45:39.877Z] ---> Running in a518df051105 [2022-01-10T22:45:39.877Z] Removing intermediate container a518df051105 [2022-01-10T22:45:39.877Z] ---> f14fe84c6cb4 [2022-01-10T22:45:39.877Z] Step 24/24 : LABEL version=0.0.0 [2022-01-10T22:45:39.877Z] ---> Running in f1a3970bf80c [2022-01-10T22:45:39.877Z] Removing intermediate container f1a3970bf80c [2022-01-10T22:45:39.877Z] ---> 5d5065597d6e [2022-01-10T22:45:39.878Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T22:45:39.878Z] Successfully built 5d5065597d6e [2022-01-10T22:45:39.878Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:45:40.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:45:40.295Z] [2022-01-10T22:45:40.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:45:40.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:45:40.599Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T22:45:40.599Z] b4d181a07f80: Pulling fs layer [2022-01-10T22:45:40.599Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T22:45:40.599Z] ed53099fbce6: Pulling fs layer [2022-01-10T22:45:40.599Z] dc539afda2c1: Pulling fs layer [2022-01-10T22:45:40.599Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T22:45:40.599Z] 9065ff56babe: Pulling fs layer [2022-01-10T22:45:40.599Z] d287ab97295c: Pulling fs layer [2022-01-10T22:45:40.599Z] 77bc0d833cb6: Waiting [2022-01-10T22:45:40.599Z] 9065ff56babe: Waiting [2022-01-10T22:45:40.599Z] d287ab97295c: Waiting [2022-01-10T22:45:40.599Z] dc539afda2c1: Waiting [2022-01-10T22:45:40.599Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T22:45:40.599Z] a1111a8f2ec3: Download complete [2022-01-10T22:45:40.599Z] dc539afda2c1: Verifying Checksum [2022-01-10T22:45:40.599Z] dc539afda2c1: Download complete [2022-01-10T22:45:40.859Z] ed53099fbce6: Verifying Checksum [2022-01-10T22:45:40.859Z] ed53099fbce6: Download complete [2022-01-10T22:45:40.859Z] 9065ff56babe: Verifying Checksum [2022-01-10T22:45:40.859Z] 9065ff56babe: Download complete [2022-01-10T22:45:40.859Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T22:45:40.859Z] 77bc0d833cb6: Download complete [2022-01-10T22:45:40.859Z] b4d181a07f80: Verifying Checksum [2022-01-10T22:45:40.859Z] b4d181a07f80: Download complete [2022-01-10T22:45:41.449Z] d287ab97295c: Verifying Checksum [2022-01-10T22:45:41.449Z] d287ab97295c: Download complete [2022-01-10T22:45:42.393Z] b4d181a07f80: Pull complete [2022-01-10T22:45:42.656Z] a1111a8f2ec3: Pull complete [2022-01-10T22:45:43.227Z] ed53099fbce6: Pull complete [2022-01-10T22:45:43.227Z] dc539afda2c1: Pull complete [2022-01-10T22:45:43.490Z] 77bc0d833cb6: Pull complete [2022-01-10T22:45:43.490Z] 9065ff56babe: Pull complete [2022-01-10T22:45:48.822Z] d287ab97295c: Pull complete [2022-01-10T22:45:48.822Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T22:45:48.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:45:48.822Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T22:45:48.891Z] prd-centos7-docker-4c-2g-1168 does not seem to be running inside a container [2022-01-10T22:45:48.923Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T22:45:51.401Z] $ docker top 050a7a3d459f8a5a54c64524fd799b95b0ab5ad4742c2b9760bd7883809a9428 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:45:51.824Z] ---> job-cost.sh [2022-01-10T22:45:51.824Z] lf-activate-venv: SKIPPING [2022-01-10T22:45:51.824Z] INFO: No Stack... [2022-01-10T22:45:52.086Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T22:45:52.347Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T22:45:52.642Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-01-10T22:45:52.643Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T22:45:52.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [2022-01-10T22:45:52.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] did not exist. Created. [2022-01-10T22:45:52.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T22:45:52.994Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-10T22:45:53.029Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T22:45:53.035Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T22:45:53.057Z] $ docker stop --time=1 050a7a3d459f8a5a54c64524fd799b95b0ab5ad4742c2b9760bd7883809a9428 [2022-01-10T22:45:54.196Z] $ docker rm -f 050a7a3d459f8a5a54c64524fd799b95b0ab5ad4742c2b9760bd7883809a9428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T22:46:03.122Z] Removing intermediate container b4e20b25e0a3 [2022-01-10T22:46:03.122Z] ---> 2de4e4995600 [2022-01-10T22:46:03.122Z] Step 10/10 : RUN ${MAKE} [2022-01-10T22:46:03.122Z] ---> Running in 200db7f47ab4 [2022-01-10T22:46:03.122Z] noop [2022-01-10T22:46:03.122Z] Removing intermediate container 200db7f47ab4 [2022-01-10T22:46:03.122Z] ---> 5fe47de5ccf2 [2022-01-10T22:46:03.122Z] Successfully built 5fe47de5ccf2 [2022-01-10T22:46:03.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:46:03.463Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T22:46:03.463Z] . [Pipeline] withDockerContainer [2022-01-10T22:46:03.674Z] prd-ubuntu18.04-docker-arm64-4c-16g-1167 does not seem to be running inside a container [2022-01-10T22:46:03.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T22:46:05.104Z] $ docker top 4f2f7acc1c08d20d89a310274d93f19dd96e600cfb4da1fe37e308665b8b4b3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:46:05.993Z] + go version [2022-01-10T22:46:05.994Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-10T22:46:06.028Z] $ docker stop --time=1 4f2f7acc1c08d20d89a310274d93f19dd96e600cfb4da1fe37e308665b8b4b3b [2022-01-10T22:46:07.697Z] $ docker rm -f 4f2f7acc1c08d20d89a310274d93f19dd96e600cfb4da1fe37e308665b8b4b3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:46:08.303Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T22:46:08.303Z] . [Pipeline] withDockerContainer [2022-01-10T22:46:08.536Z] prd-ubuntu18.04-docker-arm64-4c-16g-1167 does not seem to be running inside a container [2022-01-10T22:46:08.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T22:46:09.988Z] $ docker top 38c501e6d7e516d039f8064348705a868ad6f7b476b68f23d1eb8ebd55c0c833 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T22:46:10.896Z] + make test [2022-01-10T22:46:10.896Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T22:46:37.698Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-10T22:47:45.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-10T22:47:45.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-10T22:47:45.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-10T22:47:54.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.354s coverage: 23.3% of statements [2022-01-10T22:47:54.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-10T22:47:54.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.274s coverage: 27.6% of statements [2022-01-10T22:47:54.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.280s coverage: 78.9% of statements [2022-01-10T22:47:54.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.208s coverage: 9.0% of statements [2022-01-10T22:47:54.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-10T22:47:54.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-10T22:47:54.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-10T22:47:55.488Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.372s coverage: 28.7% of statements [2022-01-10T22:47:55.488Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-10T22:47:57.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.231s coverage: 86.1% of statements [2022-01-10T22:47:57.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-10T22:47:57.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-10T22:47:57.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.427s coverage: 57.4% of statements [2022-01-10T22:48:01.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.119s coverage: 89.2% of statements [2022-01-10T22:48:01.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-10T22:48:01.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.212s coverage: 4.8% of statements [2022-01-10T22:48:01.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-10T22:48:01.782Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-10T22:48:01.782Z] GO111MODULE=on go vet ./... [2022-01-10T22:48:58.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T22:48:58.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T22:48:58.873Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T22:49:00.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T22:49:00.889Z] $ docker stop --time=1 38c501e6d7e516d039f8064348705a868ad6f7b476b68f23d1eb8ebd55c0c833 [2022-01-10T22:49:02.733Z] $ docker rm -f 38c501e6d7e516d039f8064348705a868ad6f7b476b68f23d1eb8ebd55c0c833 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T22:49:03.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T22:49:03.817Z] Warning: overwriting stash ‘coverage-report’ [2022-01-10T22:49:04.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T22:49:04.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T22:49:05.072Z] + ls -al . [2022-01-10T22:49:05.072Z] total 308 [2022-01-10T22:49:05.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 22:49 . [2022-01-10T22:49:05.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:43 .. [2022-01-10T22:49:05.072Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 22:43 .dockerignore [2022-01-10T22:49:05.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 22:43 .git [2022-01-10T22:49:05.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:43 .github [2022-01-10T22:49:05.072Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 22:43 .gitignore [2022-01-10T22:49:05.072Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 22:43 .golangci.yml [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 10 22:43 CHANGELOG.md [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 22:43 GOVERNANCE.md [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 22:43 Jenkinsfile [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 22:43 LICENSE [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 10 22:43 Makefile [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 22:43 OWNERS.md [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 10 22:43 README.md [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 22:41 VERSION [2022-01-10T22:49:05.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 22:43 bin [2022-01-10T22:49:05.073Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 10 22:48 coverage.out [2022-01-10T22:49:05.073Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 22:43 example [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 10 22:43 go.mod [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 49709 Jan 10 22:43 go.sum [2022-01-10T22:49:05.073Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 10 22:43 internal [2022-01-10T22:49:05.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:43 openapi [2022-01-10T22:49:05.073Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 22:43 pkg [2022-01-10T22:49:05.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:43 snap [2022-01-10T22:49:05.073Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:49:05.429Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bb4219e86e9ca206ad83771779690c9277dd019e --label arch=arm64 --label version=0.0.0 . [2022-01-10T22:49:05.706Z] Sending build context to Docker daemon 5.164MB [2022-01-10T22:49:05.980Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:49:05.980Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T22:49:05.980Z] ---> 5fe47de5ccf2 [2022-01-10T22:49:05.980Z] Step 3/24 : ARG MAKE=make build [2022-01-10T22:49:05.980Z] ---> Running in fd38a9c810ef [2022-01-10T22:49:06.258Z] Removing intermediate container fd38a9c810ef [2022-01-10T22:49:06.258Z] ---> 4d4049729034 [2022-01-10T22:49:06.258Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-10T22:49:06.532Z] ---> Running in 0adaa35b5d8a [2022-01-10T22:49:06.806Z] Removing intermediate container 0adaa35b5d8a [2022-01-10T22:49:06.806Z] ---> 55bec83402d9 [2022-01-10T22:49:06.806Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:49:06.806Z] ---> Running in f4faaaa00fa3 [2022-01-10T22:49:07.079Z] Removing intermediate container f4faaaa00fa3 [2022-01-10T22:49:07.079Z] ---> d2aade398a69 [2022-01-10T22:49:07.079Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:49:07.355Z] ---> Running in 222761be6918 [2022-01-10T22:49:08.796Z] Removing intermediate container 222761be6918 [2022-01-10T22:49:08.796Z] ---> abbc2a9a35f3 [2022-01-10T22:49:08.796Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:49:09.076Z] ---> Running in 5997180c809b [2022-01-10T22:49:10.053Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T22:49:11.028Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T22:49:11.624Z] OK: 219 MiB in 52 packages [2022-01-10T22:49:12.604Z] Removing intermediate container 5997180c809b [2022-01-10T22:49:12.604Z] ---> 0631a906841f [2022-01-10T22:49:12.604Z] Step 8/24 : COPY . . [2022-01-10T22:49:13.588Z] ---> 5655b2918dd1 [2022-01-10T22:49:13.588Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:49:13.588Z] ---> Running in ec3aecdd1cbb [2022-01-10T22:49:15.581Z] Removing intermediate container ec3aecdd1cbb [2022-01-10T22:49:15.581Z] ---> de1721e46144 [2022-01-10T22:49:15.581Z] Step 10/24 : RUN ${MAKE} [2022-01-10T22:49:15.854Z] ---> Running in be65fb248f0c [2022-01-10T22:49:16.835Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-10T22:49:49.214Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-10T22:49:51.834Z] Removing intermediate container be65fb248f0c [2022-01-10T22:49:51.834Z] ---> f5348ea98fc9 [2022-01-10T22:49:51.834Z] Step 11/24 : FROM alpine:3.14 [2022-01-10T22:49:52.105Z] 3.14: Pulling from library/alpine [2022-01-10T22:49:52.375Z] be307f383ecc: Pulling fs layer [2022-01-10T22:49:52.375Z] be307f383ecc: Verifying Checksum [2022-01-10T22:49:52.375Z] be307f383ecc: Download complete [2022-01-10T22:49:52.971Z] be307f383ecc: Pull complete [2022-01-10T22:49:52.971Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T22:49:52.971Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T22:49:52.971Z] ---> 5b8b7b635229 [2022-01-10T22:49:52.971Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:49:53.252Z] ---> Running in db29f3060a56 [2022-01-10T22:49:53.534Z] Removing intermediate container db29f3060a56 [2022-01-10T22:49:53.534Z] ---> 6be7b12833f8 [2022-01-10T22:49:53.534Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:49:53.534Z] ---> Running in 272960eda958 [2022-01-10T22:49:55.504Z] Removing intermediate container 272960eda958 [2022-01-10T22:49:55.504Z] ---> 85f1cfbfaacd [2022-01-10T22:49:55.504Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-10T22:49:55.504Z] ---> Running in ef19bff62d9e [2022-01-10T22:49:56.096Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T22:49:57.069Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T22:49:58.038Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T22:49:58.038Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-10T22:49:58.038Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T22:49:58.038Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-10T22:49:58.308Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-10T22:49:58.308Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T22:49:58.308Z] OK: 8 MiB in 19 packages [2022-01-10T22:49:59.277Z] Removing intermediate container ef19bff62d9e [2022-01-10T22:49:59.277Z] ---> b0f2177941a8 [2022-01-10T22:49:59.277Z] Step 15/24 : WORKDIR / [2022-01-10T22:49:59.277Z] ---> Running in 7ed35a0a4d3b [2022-01-10T22:49:59.548Z] Removing intermediate container 7ed35a0a4d3b [2022-01-10T22:49:59.548Z] ---> 6e216c04c7b2 [2022-01-10T22:49:59.548Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-10T22:50:00.140Z] ---> bac86f1dbc21 [2022-01-10T22:50:00.140Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-10T22:50:01.110Z] ---> e10f38d9c111 [2022-01-10T22:50:01.110Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-10T22:50:01.383Z] ---> caaddc0fd766 [2022-01-10T22:50:01.383Z] Step 19/24 : EXPOSE 59999 [2022-01-10T22:50:01.652Z] ---> Running in e3cd68f2c03a [2022-01-10T22:50:01.922Z] Removing intermediate container e3cd68f2c03a [2022-01-10T22:50:01.922Z] ---> 58fce59de4d6 [2022-01-10T22:50:01.922Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-10T22:50:01.922Z] ---> Running in f12c11916115 [2022-01-10T22:50:02.191Z] Removing intermediate container f12c11916115 [2022-01-10T22:50:02.191Z] ---> c1c5f097b62a [2022-01-10T22:50:02.191Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-10T22:50:02.465Z] ---> Running in 132b17109c0a [2022-01-10T22:50:02.737Z] Removing intermediate container 132b17109c0a [2022-01-10T22:50:02.737Z] ---> 0fe0a816bd77 [2022-01-10T22:50:02.737Z] Step 22/24 : LABEL arch=arm64 [2022-01-10T22:50:02.737Z] ---> Running in 01e3f1fe15f7 [2022-01-10T22:50:03.012Z] Removing intermediate container 01e3f1fe15f7 [2022-01-10T22:50:03.012Z] ---> 5de226519915 [2022-01-10T22:50:03.012Z] Step 23/24 : LABEL git_sha=bb4219e86e9ca206ad83771779690c9277dd019e [2022-01-10T22:50:03.289Z] ---> Running in 86b14871da4d [2022-01-10T22:50:03.561Z] Removing intermediate container 86b14871da4d [2022-01-10T22:50:03.561Z] ---> 3771968ab78d [2022-01-10T22:50:03.561Z] Step 24/24 : LABEL version=0.0.0 [2022-01-10T22:50:03.561Z] ---> Running in 7b16b23886e7 [2022-01-10T22:50:03.831Z] Removing intermediate container 7b16b23886e7 [2022-01-10T22:50:03.831Z] ---> ed5e772817f8 [2022-01-10T22:50:03.831Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T22:50:03.831Z] Successfully built ed5e772817f8 [2022-01-10T22:50:03.831Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:50:04.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:50:04.254Z] [2022-01-10T22:50:04.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:50:04.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:50:04.598Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-10T22:50:04.598Z] 448f6bf000e3: Pulling fs layer [2022-01-10T22:50:04.598Z] f757da607395: Pulling fs layer [2022-01-10T22:50:04.598Z] 05883995daec: Pulling fs layer [2022-01-10T22:50:04.598Z] 8603b9c90790: Pulling fs layer [2022-01-10T22:50:04.598Z] 1560dd03e051: Pulling fs layer [2022-01-10T22:50:04.598Z] 27f5ce0e4adf: Pulling fs layer [2022-01-10T22:50:04.598Z] c2d8d7efcc4b: Pulling fs layer [2022-01-10T22:50:04.598Z] 1560dd03e051: Waiting [2022-01-10T22:50:04.598Z] 27f5ce0e4adf: Waiting [2022-01-10T22:50:04.598Z] 8603b9c90790: Waiting [2022-01-10T22:50:04.598Z] c2d8d7efcc4b: Waiting [2022-01-10T22:50:04.869Z] f757da607395: Verifying Checksum [2022-01-10T22:50:04.869Z] f757da607395: Download complete [2022-01-10T22:50:04.869Z] 8603b9c90790: Verifying Checksum [2022-01-10T22:50:04.869Z] 8603b9c90790: Download complete [2022-01-10T22:50:04.869Z] 1560dd03e051: Verifying Checksum [2022-01-10T22:50:04.869Z] 1560dd03e051: Download complete [2022-01-10T22:50:04.869Z] 05883995daec: Verifying Checksum [2022-01-10T22:50:04.869Z] 05883995daec: Download complete [2022-01-10T22:50:04.869Z] 27f5ce0e4adf: Verifying Checksum [2022-01-10T22:50:04.869Z] 27f5ce0e4adf: Download complete [2022-01-10T22:50:05.463Z] 448f6bf000e3: Verifying Checksum [2022-01-10T22:50:05.463Z] 448f6bf000e3: Download complete [2022-01-10T22:50:08.084Z] c2d8d7efcc4b: Verifying Checksum [2022-01-10T22:50:08.084Z] c2d8d7efcc4b: Download complete [2022-01-10T22:50:09.063Z] 448f6bf000e3: Pull complete [2022-01-10T22:50:09.659Z] f757da607395: Pull complete [2022-01-10T22:50:11.090Z] 05883995daec: Pull complete [2022-01-10T22:50:11.090Z] 8603b9c90790: Pull complete [2022-01-10T22:50:12.068Z] 1560dd03e051: Pull complete [2022-01-10T22:50:12.339Z] 27f5ce0e4adf: Pull complete [2022-01-10T22:50:27.412Z] c2d8d7efcc4b: Pull complete [2022-01-10T22:50:27.412Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-10T22:50:27.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:50:27.412Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-10T22:50:27.630Z] prd-ubuntu18.04-docker-arm64-4c-16g-1167 does not seem to be running inside a container [2022-01-10T22:50:27.718Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-10T22:50:30.376Z] $ docker top 427ed516dbf235d0e34e6dee845d800bd6450420c50ff753d8f2735e3c561232 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:31.260Z] ---> job-cost.sh [2022-01-10T22:50:31.261Z] lf-activate-venv: SKIPPING [2022-01-10T22:50:31.261Z] INFO: No Stack... [2022-01-10T22:50:31.531Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-10T22:50:32.122Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T22:50:32.783Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-01-10T22:50:32.783Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T22:50:32.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [2022-01-10T22:50:32.857Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] did not exist. Created. [2022-01-10T22:50:32.857Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T22:50:33.225Z] /w/workspace/device-sdk-go/2@tmp/durable-bde538a3/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-bde538a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-10T22:50:34.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-10T22:50:34.207Z] Warning: overwriting stash ‘stack-cost’ [2022-01-10T22:50:34.265Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T22:50:34.273Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T22:50:34.299Z] $ docker stop --time=1 427ed516dbf235d0e34e6dee845d800bd6450420c50ff753d8f2735e3c561232 [2022-01-10T22:50:35.777Z] $ docker rm -f 427ed516dbf235d0e34e6dee845d800bd6450420c50ff753d8f2735e3c561232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-10T22:50:36.294Z] provisioning config files... [2022-01-10T22:50:36.303Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config1628914846262116596tmp [Pipeline] { [Pipeline] sh [2022-01-10T22:50:36.618Z] + set +x [2022-01-10T22:50:36.618Z] + curl -s https://codecov.io/bash [2022-01-10T22:50:36.618Z] + bash -s -- [2022-01-10T22:50:36.618Z] [2022-01-10T22:50:36.618Z] _____ _ [2022-01-10T22:50:36.618Z] / ____| | | [2022-01-10T22:50:36.618Z] | | ___ __| | ___ ___ _____ __ [2022-01-10T22:50:36.618Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-10T22:50:36.618Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-10T22:50:36.618Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-10T22:50:36.618Z] Bash-1.0.6 [2022-01-10T22:50:36.618Z] [2022-01-10T22:50:36.618Z] [2022-01-10T22:50:36.618Z] ==> git version 2.24.4 found [2022-01-10T22:50:36.618Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-10T22:50:36.618Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-10T22:50:36.618Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-10T22:50:36.618Z] ==> Jenkins CI detected. [2022-01-10T22:50:36.618Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1077 [2022-01-10T22:50:36.618Z] project root: . [2022-01-10T22:50:36.618Z] --> token set from env [2022-01-10T22:50:36.618Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-10T22:50:36.883Z] ==> Running gcov in . (disable via -X gcov) [2022-01-10T22:50:36.883Z] ==> Python coveragepy not found [2022-01-10T22:50:36.883Z] ==> Searching for coverage reports in: [2022-01-10T22:50:36.883Z] + . [2022-01-10T22:50:36.883Z] -> Found 1 reports [2022-01-10T22:50:36.883Z] ==> Detecting git/mercurial file structure [2022-01-10T22:50:36.883Z] ==> Reading reports [2022-01-10T22:50:36.883Z] + ./coverage.out bytes=128667 [2022-01-10T22:50:36.883Z] ==> Appending adjustments [2022-01-10T22:50:36.883Z] https://docs.codecov.io/docs/fixing-reports [2022-01-10T22:50:37.145Z] + Found adjustments [2022-01-10T22:50:37.145Z] ==> Gzipping contents [2022-01-10T22:50:37.145Z] 16K /tmp/codecov.rBD2N3.gz [2022-01-10T22:50:37.145Z] ==> Uploading reports [2022-01-10T22:50:37.145Z] url: https://codecov.io [2022-01-10T22:50:37.145Z] query: branch=PR-1077&commit=45f89d6f4c40d4d91a5965f6b1fce5d9363bd797&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1077%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1077&job=&cmd_args= [2022-01-10T22:50:37.145Z] -> Pinging Codecov [2022-01-10T22:50:37.145Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1077&commit=45f89d6f4c40d4d91a5965f6b1fce5d9363bd797&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1077%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1077&job=&cmd_args= [2022-01-10T22:50:37.407Z] -> Uploading to [2022-01-10T22:50:37.407Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-10/7E55EF52A471D76F132DFD9A03CDDE97/45f89d6f4c40d4d91a5965f6b1fce5d9363bd797/0249951d-ad7c-40eb-afc1-8ee63a0c9a54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220110T225037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=608a1b8c7834d58a5a1ce1ee20e725adf6a0d08ddb57129ddb789bc262053841 [2022-01-10T22:50:37.407Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T22:50:37.407Z] Dload Upload Total Spent Left Speed [2022-01-10T22:50:37.666Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16330 0 0 100 16330 0 52392 --:--:-- --:--:-- --:--:-- 52339 100 16330 0 0 100 16330 0 52360 --:--:-- --:--:-- --:--:-- 52339 [2022-01-10T22:50:37.666Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45f89d6f4c40d4d91a5965f6b1fce5d9363bd797 [Pipeline] } [2022-01-10T22:50:37.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-10T22:50:38.321Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:38.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:39.235Z] ---> package-listing.sh [2022-01-10T22:50:39.235Z] ++ facter osfamily [2022-01-10T22:50:39.235Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-10T22:50:39.516Z] + OS_FAMILY=redhat [2022-01-10T22:50:39.516Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1077 [2022-01-10T22:50:39.516Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-10T22:50:39.516Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-10T22:50:39.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-10T22:50:39.516Z] + PACKAGES=/tmp/packages_start.txt [2022-01-10T22:50:39.516Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1077 ']' [2022-01-10T22:50:39.516Z] + PACKAGES=/tmp/packages_end.txt [2022-01-10T22:50:39.516Z] + case "${OS_FAMILY}" in [2022-01-10T22:50:39.516Z] + sort [2022-01-10T22:50:39.516Z] + rpm -qa [2022-01-10T22:50:40.085Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-10T22:50:40.085Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-10T22:50:40.085Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-10T22:50:40.085Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1077 ']' [2022-01-10T22:50:40.085Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives/ [2022-01-10T22:50:40.085Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives/ [Pipeline] echo [2022-01-10T22:50:40.098Z] 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-1077/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-10T22:50:40.381Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:50:40.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:50:40.943Z] [2022-01-10T22:50:40.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:50:41.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:50:41.248Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T22:50:41.248Z] b4d181a07f80: Pulling fs layer [2022-01-10T22:50:41.248Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T22:50:41.248Z] ed53099fbce6: Pulling fs layer [2022-01-10T22:50:41.248Z] dc539afda2c1: Pulling fs layer [2022-01-10T22:50:41.248Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T22:50:41.248Z] 9065ff56babe: Pulling fs layer [2022-01-10T22:50:41.248Z] d287ab97295c: Pulling fs layer [2022-01-10T22:50:41.248Z] dc539afda2c1: Waiting [2022-01-10T22:50:41.248Z] 77bc0d833cb6: Waiting [2022-01-10T22:50:41.248Z] 9065ff56babe: Waiting [2022-01-10T22:50:41.248Z] d287ab97295c: Waiting [2022-01-10T22:50:41.248Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T22:50:41.248Z] a1111a8f2ec3: Download complete [2022-01-10T22:50:41.248Z] dc539afda2c1: Verifying Checksum [2022-01-10T22:50:41.248Z] dc539afda2c1: Download complete [2022-01-10T22:50:41.248Z] ed53099fbce6: Verifying Checksum [2022-01-10T22:50:41.248Z] ed53099fbce6: Download complete [2022-01-10T22:50:41.248Z] 9065ff56babe: Verifying Checksum [2022-01-10T22:50:41.248Z] 9065ff56babe: Download complete [2022-01-10T22:50:41.248Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T22:50:41.248Z] 77bc0d833cb6: Download complete [2022-01-10T22:50:41.516Z] b4d181a07f80: Verifying Checksum [2022-01-10T22:50:41.516Z] b4d181a07f80: Download complete [2022-01-10T22:50:42.106Z] d287ab97295c: Verifying Checksum [2022-01-10T22:50:42.106Z] d287ab97295c: Download complete [2022-01-10T22:50:43.062Z] b4d181a07f80: Pull complete [2022-01-10T22:50:43.062Z] a1111a8f2ec3: Pull complete [2022-01-10T22:50:43.648Z] ed53099fbce6: Pull complete [2022-01-10T22:50:43.648Z] dc539afda2c1: Pull complete [2022-01-10T22:50:43.909Z] 77bc0d833cb6: Pull complete [2022-01-10T22:50:43.909Z] 9065ff56babe: Pull complete [2022-01-10T22:50:49.227Z] d287ab97295c: Pull complete [2022-01-10T22:50:49.227Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T22:50:49.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:50:49.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T22:50:49.296Z] prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container [2022-01-10T22:50:49.328Z] $ 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-1077/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-1077 -v /w/workspace/gexfoundry_device-sdk-go_PR-1077:/w/workspace/gexfoundry_device-sdk-go_PR-1077:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1077@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-01-10T22:50:51.506Z] $ docker top d683aa0aadf9c233b509c9b88cdf3cf054a4e4672ca5400328bc675b5233f342 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:50:51.895Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-10T22:50:52.191Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-10T22:50:52.491Z] + ls /var/log/sa-host [2022-01-10T22:50:52.491Z] + sadf -c /var/log/sa-host/sa10 [2022-01-10T22:50:52.491Z] file_magic: OK [2022-01-10T22:50:52.491Z] HZ: Using current value: 100 [2022-01-10T22:50:52.491Z] file_header: OK [2022-01-10T22:50:52.491Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-10T22:50:52.491Z] Statistics: [2022-01-10T22:50:52.491Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T22:50:52.491Z] File successfully converted to sysstat format version 12.0.3 [2022-01-10T22:50:52.491Z] + sadf -c /var/log/sa-host/sa17 [2022-01-10T22:50:52.491Z] file_magic: OK [2022-01-10T22:50:52.491Z] HZ: Using current value: 100 [2022-01-10T22:50:52.491Z] file_header: OK [2022-01-10T22:50:52.491Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-10T22:50:52.491Z] Statistics: [2022-01-10T22:50:52.491Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T22:50:52.491Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:50:52.579Z] provisioning config files... [2022-01-10T22:50:52.592Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config352264041720140021tmp [Pipeline] { [Pipeline] echo [2022-01-10T22:50:52.617Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:52.907Z] ---> create-netrc.sh [Pipeline] } [2022-01-10T22:50:52.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:53.260Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-10T22:50:53.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:53.574Z] ---> sudo-logs.sh [2022-01-10T22:50:53.574Z] Archiving 'sudo' log.. [2022-01-10T22:50:53.574Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1165.novalocal: Name or service not known [2022-01-10T22:50:53.574Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1165.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-10T22:50:53.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:53.905Z] ---> job-cost.sh [2022-01-10T22:50:53.905Z] lf-activate-venv: SKIPPING [2022-01-10T22:50:53.905Z] DEBUG: total: 0.10999999940395355 [2022-01-10T22:50:53.905Z] INFO: Retrieving Stack Cost... [2022-01-10T22:50:54.166Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T22:50:54.428Z] INFO: Archiving Costs [Pipeline] echo [2022-01-10T22:50:54.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:50:54.727Z] ---> logs-deploy.sh [2022-01-10T22:50:54.727Z] lf-activate-venv: SKIPPING [2022-01-10T22:50:54.728Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1077/2 [2022-01-10T22:50:54.728Z] INFO: archiving workspace using pattern(s): [2022-01-10T22:50:55.299Z] Archives upload complete. [2022-01-10T22:50:55.559Z] INFO: archiving logs to Nexus