Pull request #1081 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Jenkins-Imposed API Limiter: Current quota for Github API usage has 3586 remaining (199 over budget). Next quota of 5000 in 56 min. Sleeping for 3 min 36 sec. Jenkins is attempting to evenly distribute GitHub API requests. To configure a different rate limiting strategy, such as having Jenkins restrict GitHub API requests only when near or above the GitHub rate limit, go to "GitHub API usage" under "Configure System" in the Jenkins settings. Jenkins-Imposed API Limiter: Still sleeping, now only 34 sec remaining. Jenkins-Imposed API Limiter: Current quota for Github API usage has 3504 remaining (55 over budget). Next quota of 5000 in 52 min. Sleeping for 1 min 19 sec. Jenkins is attempting to evenly distribute GitHub API requests. To configure a different rate limiting strategy, such as having Jenkins restrict GitHub API requests only when near or above the GitHub rate limit, go to "GitHub API usage" under "Configure System" in the Jenkins settings. Obtained Jenkinsfile from e99a4ce984675e7beb67fe2eae2e6d7de29975d5+df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc (c4436e92754d176d515755981513efecdd98956f) 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-ssh4068552278757747165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh17658357921556213698.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 7a502be46133bd83b74f613648f1d59e9d9e8641 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1081/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1081/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17893679572669039404.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1081/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3290038321187581703.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13866564812093138964.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1081/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1081/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7340147458600255747.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 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-1320’ is offline Running on prd-centos7-docker-4c-2g-1322 in /w/workspace/gexfoundry_device-sdk-go_PR-1081 [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-1081 # 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-1081@tmp/jenkins-gitclient-ssh3612774958747982723.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 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc into PR head commit e99a4ce984675e7beb67fe2eae2e6d7de29975d5 Merge succeeded, producing e99a4ce984675e7beb67fe2eae2e6d7de29975d5 Checking out Revision e99a4ce984675e7beb67fe2eae2e6d7de29975d5 (PR-1081) > 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-1081@tmp/jenkins-gitclient-ssh1398278906248406885.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1081/head:refs/remotes/origin/PR-1081 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e99a4ce984675e7beb67fe2eae2e6d7de29975d5 # 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-1081@tmp/jenkins-gitclient-ssh4181321004693940985.key > git merge df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e99a4ce984675e7beb67fe2eae2e6d7de29975d5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-12T04:09:57.956Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-12T04:09:58.130Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-12T04:09:58.226Z] ========================================================= [2022-01-12T04:09:58.226Z] EdgeX Global Pipelines Version Info [2022-01-12T04:09:58.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:09:59.385Z] ------------------- [2022-01-12T04:09:59.385Z] stable info: [2022-01-12T04:09:59.385Z] ------------------- [2022-01-12T04:09:59.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-12T04:09:59.385Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T04:09:59.385Z] Message: update stable to v1.0.218 [2022-01-12T04:09:59.960Z] ------------------- [2022-01-12T04:09:59.960Z] experimental info: [2022-01-12T04:09:59.960Z] ------------------- [2022-01-12T04:09:59.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-12T04:09:59.960Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T04:09:59.960Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-12T04:10:00.211Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-12T04:10:00.248Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-12T04:10:00.282Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-12T04:10:00.320Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-12T04:10:00.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-12T04:10:00.392Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-12T04:10:00.427Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-12T04:10:00.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-12T04:10:00.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-12T04:10:00.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-12T04:10:00.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-12T04:10:00.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-12T04:10:00.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-12T04:10:00.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-12T04:10:00.738Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-12T04:10:00.775Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T04:10:00.814Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T04:10:00.853Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T04:10:00.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-12T04:10:00.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-12T04:10:00.964Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-12T04:10:00.999Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-12T04:10:01.036Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-12T04:10:01.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-12T04:10:01.114Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-12T04:10:01.160Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-12T04:10:01.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1081 [Pipeline] echo [2022-01-12T04:10:01.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1081 [Pipeline] echo [2022-01-12T04:10:01.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1081 [Pipeline] echo [2022-01-12T04:10:01.316Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [Pipeline] echo [2022-01-12T04:10:01.353Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e99a4ce [Pipeline] echo [2022-01-12T04:10:01.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T04:10:01.522Z] provisioning config files... [2022-01-12T04:10:01.537Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/config7245339483526470069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:10:01.943Z] ---> docker-login.sh [2022-01-12T04:10:01.943Z] nexus3.edgexfoundry.org:10001 [2022-01-12T04:10:01.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:02.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:02.203Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:02.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:02.203Z] [2022-01-12T04:10:02.203Z] Login Succeeded [2022-01-12T04:10:02.203Z] nexus3.edgexfoundry.org:10002 [2022-01-12T04:10:02.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:02.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:02.203Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:02.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:02.203Z] [2022-01-12T04:10:02.203Z] Login Succeeded [2022-01-12T04:10:02.203Z] nexus3.edgexfoundry.org:10003 [2022-01-12T04:10:02.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:02.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:02.465Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:02.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:02.465Z] [2022-01-12T04:10:02.465Z] Login Succeeded [2022-01-12T04:10:02.465Z] nexus3.edgexfoundry.org:10004 [2022-01-12T04:10:02.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:02.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:02.465Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:02.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:02.465Z] [2022-01-12T04:10:02.465Z] Login Succeeded [2022-01-12T04:10:02.465Z] docker.io [2022-01-12T04:10:02.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:03.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:03.040Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:03.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:03.040Z] [2022-01-12T04:10:03.040Z] Login Succeeded [2022-01-12T04:10:03.040Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T04:10:03.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-12T04:10:03.679Z] + git rev-list -1 --merges e99a4ce984675e7beb67fe2eae2e6d7de29975d5~1..e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [Pipeline] echo [2022-01-12T04:10:03.723Z] -----------> git rev-list -1 --merges e99a4ce984675e7beb67fe2eae2e6d7de29975d5~1..e99a4ce984675e7beb67fe2eae2e6d7de29975d5 e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [false] [Pipeline] sh [2022-01-12T04:10:04.048Z] + git log --format=format:%s -1 e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [Pipeline] echo [2022-01-12T04:10:04.081Z] ========================================================= [2022-01-12T04:10:04.081Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-12T04:10:04.081Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T04:10:04.521Z] + git log --format=format:%s -1 e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [Pipeline] echo [2022-01-12T04:10:04.552Z] [semverPrep] GIT_COMMIT: e99a4ce984675e7beb67fe2eae2e6d7de29975d5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-01-12T04:10:04.583Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-12T04:10:05.034Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T04:10:05.034Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-12T04:10:05.034Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-12T04:10:05.034Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-12T04:10:05.034Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-12T04:10:05.034Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-12T04:10:05.034Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:10:05.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T04:10:05.416Z] [2022-01-12T04:10:05.416Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:10:05.759Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T04:10:05.759Z] latest: Pulling from edgex-devops/git-semver [2022-01-12T04:10:05.759Z] a0d0a0d46f8b: Pulling fs layer [2022-01-12T04:10:05.759Z] 3e5f54012d9b: Pulling fs layer [2022-01-12T04:10:05.759Z] 4c7163046ea9: Pulling fs layer [2022-01-12T04:10:05.759Z] 0c2d73faf560: Pulling fs layer [2022-01-12T04:10:05.759Z] 0c2d73faf560: Waiting [2022-01-12T04:10:05.759Z] 3e5f54012d9b: Verifying Checksum [2022-01-12T04:10:05.759Z] 3e5f54012d9b: Download complete [2022-01-12T04:10:05.759Z] a0d0a0d46f8b: Verifying Checksum [2022-01-12T04:10:05.759Z] a0d0a0d46f8b: Download complete [2022-01-12T04:10:05.759Z] 4c7163046ea9: Verifying Checksum [2022-01-12T04:10:05.759Z] 4c7163046ea9: Download complete [2022-01-12T04:10:05.759Z] 0c2d73faf560: Verifying Checksum [2022-01-12T04:10:05.759Z] 0c2d73faf560: Download complete [2022-01-12T04:10:06.036Z] a0d0a0d46f8b: Pull complete [2022-01-12T04:10:06.036Z] 3e5f54012d9b: Pull complete [2022-01-12T04:10:06.298Z] 4c7163046ea9: Pull complete [2022-01-12T04:10:06.560Z] 0c2d73faf560: Pull complete [2022-01-12T04:10:06.560Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-12T04:10:06.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T04:10:06.560Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-12T04:10:06.658Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2022-01-12T04:10:06.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1081 -v /w/workspace/gexfoundry_device-sdk-go_PR-1081:/w/workspace/gexfoundry_device-sdk-go_PR-1081:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1081@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-12T04:10:07.388Z] $ docker top 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T04:10:07.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T04:10:07.574Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T04:10:07.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T04:10:07.689Z] $ docker exec 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf ssh-agent [2022-01-12T04:10:07.807Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfEOIKJ/agent.14 [2022-01-12T04:10:07.807Z] SSH_AGENT_PID=20 [2022-01-12T04:10:07.816Z] Running ssh-add (command line suppressed) [2022-01-12T04:10:07.908Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/private_key_3765616718689371230.key (/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/private_key_3765616718689371230.key) [2022-01-12T04:10:07.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T04:10:08.259Z] + git tag --points-at HEAD [Pipeline] } [2022-01-12T04:10:08.282Z] $ docker exec --env ******** --env ******** 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf ssh-agent -k [2022-01-12T04:10:08.377Z] unset SSH_AUTH_SOCK; [2022-01-12T04:10:08.377Z] unset SSH_AGENT_PID; [2022-01-12T04:10:08.377Z] echo Agent pid 20 killed; [2022-01-12T04:10:08.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-12T04:10:08.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T04:10:08.470Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T04:10:08.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T04:10:08.581Z] $ docker exec 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf ssh-agent [2022-01-12T04:10:08.676Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXapNikH/agent.53 [2022-01-12T04:10:08.676Z] SSH_AGENT_PID=59 [2022-01-12T04:10:08.681Z] Running ssh-add (command line suppressed) [2022-01-12T04:10:08.794Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/private_key_2869048354808230490.key (/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/private_key_2869048354808230490.key) [2022-01-12T04:10:08.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T04:10:09.156Z] + git semver init [2022-01-12T04:10:09.157Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T04:10:09.157Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1081/.git [2022-01-12T04:10:09.157Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1081 [2022-01-12T04:10:09.157Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T04:10:09.157Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T04:10:09.157Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T04:10:09.157Z] # $SEMVER_BRANCH = PR-1081 [2022-01-12T04:10:09.157Z] # $SEMVER_TEMP = /tmp/semver-798308600 [2022-01-12T04:10:09.157Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-12T04:10:10.100Z] # '/tmp/semver-798308600' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1081/.semver' [2022-01-12T04:10:10.100Z] # -> Force: false [2022-01-12T04:10:10.100Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1081/.semver [Pipeline] } [2022-01-12T04:10:10.131Z] $ docker exec --env ******** --env ******** 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf ssh-agent -k [2022-01-12T04:10:10.213Z] unset SSH_AUTH_SOCK; [2022-01-12T04:10:10.213Z] unset SSH_AGENT_PID; [2022-01-12T04:10:10.213Z] echo Agent pid 59 killed; [2022-01-12T04:10:10.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T04:10:10.657Z] + git semver [Pipeline] } [2022-01-12T04:10:10.694Z] $ docker stop --time=1 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf [2022-01-12T04:10:11.955Z] $ docker rm -f 1e896b977152d435c54ff19787ab2581d34420f285d156bb62ff3e44f5dbe5bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T04:10:12.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-12T04:10:12.663Z] Stashed 1 file(s) [Pipeline] echo [2022-01-12T04:10:12.682Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T04:10:13.272Z] provisioning config files... [2022-01-12T04:10:13.283Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/config5755401391251518066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:10:13.644Z] ---> docker-login.sh [2022-01-12T04:10:13.644Z] nexus3.edgexfoundry.org:10001 [2022-01-12T04:10:13.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:13.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:13.644Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:13.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:13.644Z] [2022-01-12T04:10:13.644Z] Login Succeeded [2022-01-12T04:10:13.644Z] nexus3.edgexfoundry.org:10002 [2022-01-12T04:10:13.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:13.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:13.644Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:13.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:13.644Z] [2022-01-12T04:10:13.644Z] Login Succeeded [2022-01-12T04:10:13.644Z] nexus3.edgexfoundry.org:10003 [2022-01-12T04:10:13.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:13.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:13.910Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:13.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:13.910Z] [2022-01-12T04:10:13.910Z] Login Succeeded [2022-01-12T04:10:13.910Z] nexus3.edgexfoundry.org:10004 [2022-01-12T04:10:13.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:13.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:13.910Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:13.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:13.910Z] [2022-01-12T04:10:13.910Z] Login Succeeded [2022-01-12T04:10:13.910Z] docker.io [2022-01-12T04:10:14.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:10:14.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:10:14.431Z] Configure a credential helper to remove this warning. See [2022-01-12T04:10:14.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:10:14.431Z] [2022-01-12T04:10:14.431Z] Login Succeeded [2022-01-12T04:10:14.431Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T04:10:14.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T04:10:14.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T04:10:14.681Z] ========================================================= [2022-01-12T04:10:14.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-12T04:10:14.681Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:10:15.090Z] + 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-12T04:10:15.090Z] Sending build context to Docker daemon 9.35MB [2022-01-12T04:10:15.090Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T04:10:15.090Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T04:10:15.090Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-12T04:10:15.090Z] a0d0a0d46f8b: Already exists [2022-01-12T04:10:15.090Z] 31adcdaf11c8: Pulling fs layer [2022-01-12T04:10:15.090Z] b8b176561691: Pulling fs layer [2022-01-12T04:10:15.090Z] 4527c011a84f: Pulling fs layer [2022-01-12T04:10:15.090Z] 5d74067f8e1e: Pulling fs layer [2022-01-12T04:10:15.090Z] e0aca202a116: Pulling fs layer [2022-01-12T04:10:15.090Z] 3a43be97a3b4: Pulling fs layer [2022-01-12T04:10:15.090Z] 34cad66bf833: Pulling fs layer [2022-01-12T04:10:15.090Z] b4e3c513aaa6: Pulling fs layer [2022-01-12T04:10:15.090Z] 5d74067f8e1e: Waiting [2022-01-12T04:10:15.090Z] e0aca202a116: Waiting [2022-01-12T04:10:15.090Z] 3a43be97a3b4: Waiting [2022-01-12T04:10:15.090Z] 34cad66bf833: Waiting [2022-01-12T04:10:15.090Z] b4e3c513aaa6: Waiting [2022-01-12T04:10:15.090Z] b8b176561691: Verifying Checksum [2022-01-12T04:10:15.090Z] b8b176561691: Download complete [2022-01-12T04:10:15.354Z] 31adcdaf11c8: Verifying Checksum [2022-01-12T04:10:15.354Z] 31adcdaf11c8: Download complete [2022-01-12T04:10:15.354Z] 5d74067f8e1e: Verifying Checksum [2022-01-12T04:10:15.354Z] 5d74067f8e1e: Download complete [2022-01-12T04:10:15.354Z] e0aca202a116: Verifying Checksum [2022-01-12T04:10:15.354Z] e0aca202a116: Download complete [2022-01-12T04:10:15.354Z] 3a43be97a3b4: Verifying Checksum [2022-01-12T04:10:15.354Z] 3a43be97a3b4: Download complete [2022-01-12T04:10:15.354Z] 34cad66bf833: Verifying Checksum [2022-01-12T04:10:15.354Z] 34cad66bf833: Download complete [2022-01-12T04:10:15.354Z] 31adcdaf11c8: Pull complete [2022-01-12T04:10:15.617Z] b8b176561691: Pull complete [2022-01-12T04:10:15.878Z] 4527c011a84f: Verifying Checksum [2022-01-12T04:10:15.878Z] 4527c011a84f: Download complete [2022-01-12T04:10:15.878Z] b4e3c513aaa6: Verifying Checksum [2022-01-12T04:10:15.878Z] b4e3c513aaa6: Download complete [2022-01-12T04:10:20.152Z] 4527c011a84f: Pull complete [2022-01-12T04:10:20.152Z] 5d74067f8e1e: Pull complete [2022-01-12T04:10:20.152Z] e0aca202a116: Pull complete [2022-01-12T04:10:20.152Z] 3a43be97a3b4: Pull complete [2022-01-12T04:10:20.152Z] 34cad66bf833: Pull complete [2022-01-12T04:10:22.745Z] b4e3c513aaa6: Pull complete [2022-01-12T04:10:22.745Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-12T04:10:22.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-12T04:10:22.745Z] ---> 9f6097aaca64 [2022-01-12T04:10:22.745Z] Step 3/10 : ARG MAKE=make build [2022-01-12T04:10:24.657Z] ---> Running in b6395687169f [2022-01-12T04:10:24.657Z] Removing intermediate container b6395687169f [2022-01-12T04:10:24.657Z] ---> 24729e87d61c [2022-01-12T04:10:24.657Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T04:10:24.657Z] ---> Running in 357e671aaf1e [2022-01-12T04:10:24.657Z] Removing intermediate container 357e671aaf1e [2022-01-12T04:10:24.657Z] ---> e386f4253068 [2022-01-12T04:10:24.657Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:10:24.657Z] ---> Running in 4ff010eb056e [2022-01-12T04:10:24.657Z] Removing intermediate container 4ff010eb056e [2022-01-12T04:10:24.657Z] ---> 16fdaa35b583 [2022-01-12T04:10:24.657Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:10:24.657Z] ---> Running in e094d5191db2 [2022-01-12T04:10:25.229Z] Removing intermediate container e094d5191db2 [2022-01-12T04:10:25.229Z] ---> 8bce1852efec [2022-01-12T04:10:25.229Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T04:10:25.229Z] ---> Running in ea27389bca14 [2022-01-12T04:10:25.491Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T04:10:26.431Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T04:10:26.693Z] OK: 220 MiB in 52 packages [2022-01-12T04:10:26.959Z] Removing intermediate container ea27389bca14 [2022-01-12T04:10:26.959Z] ---> bd783236b4d7 [2022-01-12T04:10:26.959Z] Step 8/10 : COPY . . [2022-01-12T04:10:27.221Z] ---> 11911638793a [2022-01-12T04:10:27.221Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T04:10:27.221Z] ---> Running in 6a383d444511 [2022-01-12T04:10:28.084Z] Still waiting to schedule task [2022-01-12T04:10:28.085Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-12T04:10:59.372Z] Removing intermediate container 6a383d444511 [2022-01-12T04:10:59.372Z] ---> 84240e8181fd [2022-01-12T04:10:59.372Z] Step 10/10 : RUN ${MAKE} [2022-01-12T04:10:59.372Z] ---> Running in 725f892767c8 [2022-01-12T04:10:59.372Z] noop [2022-01-12T04:10:59.372Z] Removing intermediate container 725f892767c8 [2022-01-12T04:10:59.372Z] ---> f972131d73b0 [2022-01-12T04:10:59.372Z] Successfully built f972131d73b0 [2022-01-12T04:10:59.372Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:10:59.699Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T04:10:59.699Z] . [Pipeline] withDockerContainer [2022-01-12T04:10:59.786Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2022-01-12T04:10:59.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1081 -v /w/workspace/gexfoundry_device-sdk-go_PR-1081:/w/workspace/gexfoundry_device-sdk-go_PR-1081:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1081@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 ******** ci-base-image-x86_64 cat [2022-01-12T04:11:00.144Z] $ docker top 5f23a00109a8329cb199bc7483c08b6c1ec43e42253b3b4e6748cfec0454da1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T04:11:00.570Z] + go version [2022-01-12T04:11:00.570Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-12T04:11:00.602Z] $ docker stop --time=1 5f23a00109a8329cb199bc7483c08b6c1ec43e42253b3b4e6748cfec0454da1c [2022-01-12T04:11:01.819Z] $ docker rm -f 5f23a00109a8329cb199bc7483c08b6c1ec43e42253b3b4e6748cfec0454da1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:11:02.468Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T04:11:02.468Z] . [Pipeline] withDockerContainer [2022-01-12T04:11:02.557Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2022-01-12T04:11:02.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1081 -v /w/workspace/gexfoundry_device-sdk-go_PR-1081:/w/workspace/gexfoundry_device-sdk-go_PR-1081:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1081@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 ******** ci-base-image-x86_64 cat [2022-01-12T04:11:02.947Z] $ docker top 530d4e26c11e55f5233395f474675d8b38d2cc4fdf8df5db8d5b8bdd31db3e9a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T04:11:03.408Z] + make test [2022-01-12T04:11:03.408Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T04:11:08.791Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T04:11:30.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T04:11:30.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T04:11:30.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T04:11:32.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 23.3% of statements [2022-01-12T04:11:32.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T04:11:32.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.6% of statements [2022-01-12T04:11:32.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2022-01-12T04:11:33.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2022-01-12T04:11:33.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T04:11:33.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T04:11:33.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T04:11:33.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2022-01-12T04:11:33.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T04:11:35.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements [2022-01-12T04:11:35.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T04:11:35.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T04:11:35.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.4% of statements [2022-01-12T04:11:36.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements [2022-01-12T04:11:36.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T04:11:36.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.8% of statements [2022-01-12T04:11:36.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T04:11:54.102Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1324 in /w/workspace/gexfoundry_device-sdk-go_PR-1081 [Pipeline] { [Pipeline] ws [2022-01-12T04:11:54.146Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-12T04:11:54.349Z] The recommended git tool is: git [2022-01-12T04:11:58.106Z] GO111MODULE=on go vet ./... [2022-01-12T04:11:58.808Z] using credential edgex-jenkins-ssh [2022-01-12T04:11:58.825Z] Cloning the remote Git repository [2022-01-12T04:11:58.879Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T04:11:58.948Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-12T04:11:59.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T04:11:59.047Z] > git --version # timeout=10 [2022-01-12T04:11:59.064Z] > git --version # 'git version 2.17.1' [2022-01-12T04:11:59.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T04:11:59.134Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T04:12:01.661Z] Merging remotes/origin/main commit df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc into PR head commit e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [2022-01-12T04:12:00.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T04:12:00.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T04:12:00.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T04:12:00.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T04:12:00.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T04:12:00.956Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1081/head:refs/remotes/origin/PR-1081 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-12T04:12:01.674Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T04:12:01.880Z] Merge succeeded, producing e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [2022-01-12T04:12:01.880Z] Checking out Revision e99a4ce984675e7beb67fe2eae2e6d7de29975d5 (PR-1081) [2022-01-12T04:12:01.690Z] > git checkout -f e99a4ce984675e7beb67fe2eae2e6d7de29975d5 # timeout=10 [2022-01-12T04:12:01.789Z] > git remote # timeout=10 [2022-01-12T04:12:01.808Z] > git config --get remote.origin.url # timeout=10 [2022-01-12T04:12:01.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T04:12:01.840Z] > git merge df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 [2022-01-12T04:12:01.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-12T04:12:01.892Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T04:12:01.910Z] > git checkout -f e99a4ce984675e7beb67fe2eae2e6d7de29975d5 # timeout=10 [2022-01-12T04:12:04.721Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T04:12:04.721Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T04:12:04.721Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-12T04:12:04.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T04:12:04.789Z] $ docker stop --time=1 530d4e26c11e55f5233395f474675d8b38d2cc4fdf8df5db8d5b8bdd31db3e9a [2022-01-12T04:12:06.066Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-01-12T04:12:06.114Z] > git --version # timeout=10 [2022-01-12T04:12:06.126Z] > git --version # 'git version 2.17.1' [2022-01-12T04:12:06.140Z] fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T04:12:06.342Z] $ docker rm -f 530d4e26c11e55f5233395f474675d8b38d2cc4fdf8df5db8d5b8bdd31db3e9a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-01-12T04:12:06.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh [2022-01-12T04:12:07.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2022-01-12T04:12:07.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-12T04:12:07.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T04:12:07.473Z] Dload Upload Total Spent Left Speed [2022-01-12T04:12:07.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 55083 0 --:--:-- --:--:-- --:--:-- 54828 [Pipeline] sh [Pipeline] sh [2022-01-12T04:12:08.454Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-12T04:12:08.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T04:12:08.804Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-12T04:12:08.804Z] + sudo tee /etc/docker/daemon.new [2022-01-12T04:12:08.804Z] { [2022-01-12T04:12:08.804Z] "registry-mirrors": [ [2022-01-12T04:12:08.804Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-12T04:12:08.804Z] ], [2022-01-12T04:12:08.804Z] "bip": "10.250.0.254/24", [2022-01-12T04:12:08.804Z] "hosts": [ [2022-01-12T04:12:08.804Z] "tcp://0.0.0.0:5555", [2022-01-12T04:12:08.804Z] "unix:///var/run/docker.sock" [2022-01-12T04:12:08.804Z] ], [2022-01-12T04:12:08.804Z] "mtu": 1458, [2022-01-12T04:12:08.804Z] "selinux-enabled": true, [2022-01-12T04:12:08.804Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-12T04:12:08.804Z] } [Pipeline] sh [2022-01-12T04:12:08.872Z] + ls -al . [2022-01-12T04:12:08.872Z] total 268 [2022-01-12T04:12:08.872Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 12 04:12 . [2022-01-12T04:12:08.872Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 12 04:09 .. [2022-01-12T04:12:08.872Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 12 04:09 bin [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 12 04:09 CHANGELOG.md [2022-01-12T04:12:08.872Z] -rw-r--r--. 1 jenkins jenkins 128668 Jan 12 04:11 coverage.out [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 04:09 .dockerignore [2022-01-12T04:12:08.872Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 12 04:09 example [2022-01-12T04:12:08.872Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 12 04:09 .git [2022-01-12T04:12:08.872Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 12 04:09 .github [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 12 04:09 .gitignore [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 12 04:09 .golangci.yml [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 12 04:09 go.mod [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 12 04:09 go.sum [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 12 04:09 GOVERNANCE.md [2022-01-12T04:12:08.872Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 12 04:09 internal [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 12 04:09 Jenkinsfile [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 04:09 LICENSE [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 1613 Jan 12 04:09 Makefile [2022-01-12T04:12:08.872Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 12 04:09 openapi [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 12 04:09 OWNERS.md [2022-01-12T04:12:08.872Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 04:09 pkg [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 12 04:09 README.md [2022-01-12T04:12:08.872Z] drwx------. 3 jenkins jenkins 72 Jan 12 04:10 .semver [2022-01-12T04:12:08.872Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 04:09 snap [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 12 04:10 VERSION [2022-01-12T04:12:08.872Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:12:09.240Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-12T04:12:09.330Z] + 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=e99a4ce984675e7beb67fe2eae2e6d7de29975d5 --label arch=amd64 --label version=0.0.0 . [2022-01-12T04:12:09.330Z] Sending build context to Docker daemon 9.479MB [2022-01-12T04:12:09.330Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T04:12:09.330Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T04:12:09.330Z] ---> f972131d73b0 [2022-01-12T04:12:09.330Z] Step 3/24 : ARG MAKE=make build [2022-01-12T04:12:09.589Z] ---> Running in e486f7f07e5b [2022-01-12T04:12:09.589Z] Removing intermediate container e486f7f07e5b [2022-01-12T04:12:09.589Z] ---> c59d5f4d554e [2022-01-12T04:12:09.589Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T04:12:09.589Z] ---> Running in acfede764d79 [2022-01-12T04:12:09.589Z] Removing intermediate container acfede764d79 [2022-01-12T04:12:09.589Z] ---> a39c6d4d7030 [2022-01-12T04:12:09.589Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:12:09.594Z] + sudo service docker restart [2022-01-12T04:12:09.850Z] ---> Running in 9f397529981e [2022-01-12T04:12:09.850Z] Removing intermediate container 9f397529981e [2022-01-12T04:12:09.850Z] ---> 789f8e81c259 [2022-01-12T04:12:09.850Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:12:09.850Z] ---> Running in 9e93bd12e0c6 [2022-01-12T04:12:10.419Z] Removing intermediate container 9e93bd12e0c6 [2022-01-12T04:12:10.419Z] ---> f466e147e7fe [2022-01-12T04:12:10.419Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T04:12:10.419Z] ---> Running in baa07631995f [2022-01-12T04:12:10.679Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T04:12:11.621Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T04:12:11.621Z] OK: 220 MiB in 52 packages [2022-01-12T04:12:11.882Z] Removing intermediate container baa07631995f [2022-01-12T04:12:11.882Z] ---> 46eb09d00179 [2022-01-12T04:12:11.882Z] Step 8/24 : COPY . . [2022-01-12T04:12:12.458Z] ---> b5bfbd2b494e [2022-01-12T04:12:12.458Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T04:12:12.458Z] ---> Running in c7901e4fb8a5 [2022-01-12T04:12:13.036Z] Removing intermediate container c7901e4fb8a5 [2022-01-12T04:12:13.036Z] ---> 82152260f3ef [2022-01-12T04:12:13.036Z] Step 10/24 : RUN ${MAKE} [2022-01-12T04:12:13.036Z] ---> Running in 12ba6fadf5c2 [2022-01-12T04:12:13.307Z] 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-12T04:12:23.411Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T04:12:24.359Z] Removing intermediate container 12ba6fadf5c2 [2022-01-12T04:12:24.359Z] ---> 1c61e4d19c34 [2022-01-12T04:12:24.359Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T04:12:24.931Z] 3.14: Pulling from library/alpine [2022-01-12T04:12:25.193Z] 97518928ae5f: Pulling fs layer [2022-01-12T04:12:25.455Z] 97518928ae5f: Verifying Checksum [2022-01-12T04:12:25.455Z] 97518928ae5f: Download complete [2022-01-12T04:12:25.455Z] 97518928ae5f: Pull complete [2022-01-12T04:12:25.455Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T04:12:25.455Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T04:12:25.455Z] ---> 0a97eee8041e [2022-01-12T04:12:25.455Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:12:25.720Z] ---> Running in 0a3b1a6a93a6 [2022-01-12T04:12:25.720Z] Removing intermediate container 0a3b1a6a93a6 [2022-01-12T04:12:25.720Z] ---> 35ddb2688c9f [2022-01-12T04:12:25.720Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:12:25.720Z] ---> Running in 19dc37c1a7dd [2022-01-12T04:12:26.293Z] Removing intermediate container 19dc37c1a7dd [2022-01-12T04:12:26.293Z] ---> 066c46017a9f [2022-01-12T04:12:26.293Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T04:12:26.293Z] ---> Running in bf93aa0682de [2022-01-12T04:12:26.293Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T04:12:27.230Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T04:12:27.490Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T04:12:27.490Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T04:12:27.751Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T04:12:27.751Z] (4/5) Installing libzmq (4.3.4-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T04:12:27.970Z] provisioning config files... [2022-01-12T04:12:28.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3350297144096965259tmp [2022-01-12T04:12:28.012Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T04:12:28.012Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T04:12:28.012Z] OK: 8 MiB in 19 packages [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:12:28.271Z] Removing intermediate container bf93aa0682de [2022-01-12T04:12:28.271Z] ---> f94b333daa56 [2022-01-12T04:12:28.271Z] Step 15/24 : WORKDIR / [2022-01-12T04:12:28.271Z] ---> Running in ffe839a851b3 [2022-01-12T04:12:28.271Z] Removing intermediate container ffe839a851b3 [2022-01-12T04:12:28.271Z] ---> 5d141d64bc3d [2022-01-12T04:12:28.271Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T04:12:28.411Z] ---> docker-login.sh [2022-01-12T04:12:28.411Z] nexus3.edgexfoundry.org:10001 [2022-01-12T04:12:28.535Z] ---> 533e9654a1b2 [2022-01-12T04:12:28.535Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T04:12:28.797Z] ---> 30c06066f123 [2022-01-12T04:12:28.797Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T04:12:29.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:12:29.067Z] ---> 7c90e1b14b5b [2022-01-12T04:12:29.067Z] Step 19/24 : EXPOSE 59999 [2022-01-12T04:12:29.067Z] ---> Running in e9e687923f4c [2022-01-12T04:12:29.067Z] Removing intermediate container e9e687923f4c [2022-01-12T04:12:29.067Z] ---> eb0bd210adc4 [2022-01-12T04:12:29.067Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T04:12:29.067Z] ---> Running in 3eed4c055161 [2022-01-12T04:12:29.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:12:29.280Z] Configure a credential helper to remove this warning. See [2022-01-12T04:12:29.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:12:29.280Z] [2022-01-12T04:12:29.280Z] Login Succeeded [2022-01-12T04:12:29.280Z] nexus3.edgexfoundry.org:10002 [2022-01-12T04:12:29.330Z] Removing intermediate container 3eed4c055161 [2022-01-12T04:12:29.330Z] ---> 23b7e0df0070 [2022-01-12T04:12:29.330Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T04:12:29.330Z] ---> Running in d32e3a9baf38 [2022-01-12T04:12:29.330Z] Removing intermediate container d32e3a9baf38 [2022-01-12T04:12:29.330Z] ---> df0a5e32fc0f [2022-01-12T04:12:29.330Z] Step 22/24 : LABEL arch=amd64 [2022-01-12T04:12:29.330Z] ---> Running in ca5042742469 [2022-01-12T04:12:29.330Z] Removing intermediate container ca5042742469 [2022-01-12T04:12:29.330Z] ---> 518c0376a98a [2022-01-12T04:12:29.330Z] Step 23/24 : LABEL git_sha=e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [2022-01-12T04:12:29.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:12:29.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:12:29.554Z] Configure a credential helper to remove this warning. See [2022-01-12T04:12:29.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:12:29.554Z] [2022-01-12T04:12:29.554Z] Login Succeeded [2022-01-12T04:12:29.554Z] nexus3.edgexfoundry.org:10003 [2022-01-12T04:12:29.590Z] ---> Running in 21b35d7ce60d [2022-01-12T04:12:29.590Z] Removing intermediate container 21b35d7ce60d [2022-01-12T04:12:29.590Z] ---> cad27ba2118f [2022-01-12T04:12:29.590Z] Step 24/24 : LABEL version=0.0.0 [2022-01-12T04:12:29.590Z] ---> Running in 3cf319927e3b [2022-01-12T04:12:29.590Z] Removing intermediate container 3cf319927e3b [2022-01-12T04:12:29.590Z] ---> 178a478649fc [2022-01-12T04:12:29.590Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T04:12:29.590Z] Successfully built 178a478649fc [2022-01-12T04:12:29.590Z] 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-12T04:12:30.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:12:30.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:12:30.157Z] Configure a credential helper to remove this warning. See [2022-01-12T04:12:30.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:12:30.157Z] [2022-01-12T04:12:30.157Z] Login Succeeded [2022-01-12T04:12:30.157Z] nexus3.edgexfoundry.org:10004 [2022-01-12T04:12:30.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T04:12:30.431Z] [2022-01-12T04:12:30.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T04:12:30.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:12:30.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:12:30.431Z] Configure a credential helper to remove this warning. See [2022-01-12T04:12:30.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:12:30.431Z] [2022-01-12T04:12:30.431Z] Login Succeeded [2022-01-12T04:12:30.431Z] docker.io [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:12:30.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T04:12:30.814Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-12T04:12:30.814Z] b4d181a07f80: Pulling fs layer [2022-01-12T04:12:30.814Z] a1111a8f2ec3: Pulling fs layer [2022-01-12T04:12:30.814Z] ed53099fbce6: Pulling fs layer [2022-01-12T04:12:30.814Z] dc539afda2c1: Pulling fs layer [2022-01-12T04:12:30.814Z] 77bc0d833cb6: Pulling fs layer [2022-01-12T04:12:30.814Z] 9065ff56babe: Pulling fs layer [2022-01-12T04:12:30.814Z] d287ab97295c: Pulling fs layer [2022-01-12T04:12:30.814Z] 77bc0d833cb6: Waiting [2022-01-12T04:12:30.814Z] 9065ff56babe: Waiting [2022-01-12T04:12:30.814Z] d287ab97295c: Waiting [2022-01-12T04:12:30.814Z] dc539afda2c1: Waiting [2022-01-12T04:12:30.814Z] a1111a8f2ec3: Verifying Checksum [2022-01-12T04:12:30.814Z] a1111a8f2ec3: Download complete [2022-01-12T04:12:30.814Z] dc539afda2c1: Verifying Checksum [2022-01-12T04:12:30.814Z] dc539afda2c1: Download complete [2022-01-12T04:12:30.814Z] 77bc0d833cb6: Verifying Checksum [2022-01-12T04:12:30.814Z] 77bc0d833cb6: Download complete [2022-01-12T04:12:31.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T04:12:31.076Z] ed53099fbce6: Verifying Checksum [2022-01-12T04:12:31.076Z] ed53099fbce6: Download complete [2022-01-12T04:12:31.076Z] 9065ff56babe: Verifying Checksum [2022-01-12T04:12:31.076Z] 9065ff56babe: Download complete [2022-01-12T04:12:31.076Z] b4d181a07f80: Verifying Checksum [2022-01-12T04:12:31.076Z] b4d181a07f80: Download complete [2022-01-12T04:12:31.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T04:12:31.299Z] Configure a credential helper to remove this warning. See [2022-01-12T04:12:31.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T04:12:31.299Z] [2022-01-12T04:12:31.299Z] Login Succeeded [2022-01-12T04:12:31.299Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T04:12:31.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-01-12T04:12:31.661Z] d287ab97295c: Verifying Checksum [2022-01-12T04:12:31.661Z] d287ab97295c: Download complete [Pipeline] echo [2022-01-12T04:12:31.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T04:12:31.966Z] ========================================================= [2022-01-12T04:12:31.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-12T04:12:31.966Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:12:32.556Z] + 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-12T04:12:32.609Z] b4d181a07f80: Pull complete [2022-01-12T04:12:32.610Z] a1111a8f2ec3: Pull complete [2022-01-12T04:12:32.871Z] ed53099fbce6: Pull complete [2022-01-12T04:12:33.136Z] dc539afda2c1: Pull complete [2022-01-12T04:12:33.153Z] Sending build context to Docker daemon 5.04MB [2022-01-12T04:12:33.153Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T04:12:33.153Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T04:12:33.153Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-12T04:12:33.153Z] 552d1f2373af: Pulling fs layer [2022-01-12T04:12:33.153Z] ea3f2d53f512: Pulling fs layer [2022-01-12T04:12:33.153Z] 9e70ebbbe112: Pulling fs layer [2022-01-12T04:12:33.153Z] 7a9cfe048b4a: Pulling fs layer [2022-01-12T04:12:33.153Z] 72dc09318566: Pulling fs layer [2022-01-12T04:12:33.153Z] f4f7b4309257: Pulling fs layer [2022-01-12T04:12:33.153Z] 0ac9a79272e3: Pulling fs layer [2022-01-12T04:12:33.153Z] b78e95d17946: Pulling fs layer [2022-01-12T04:12:33.153Z] 7a9cfe048b4a: Waiting [2022-01-12T04:12:33.153Z] 72dc09318566: Waiting [2022-01-12T04:12:33.153Z] f4f7b4309257: Waiting [2022-01-12T04:12:33.153Z] 0ac9a79272e3: Waiting [2022-01-12T04:12:33.153Z] b78e95d17946: Waiting [2022-01-12T04:12:33.153Z] 9e70ebbbe112: Download complete [2022-01-12T04:12:33.153Z] ea3f2d53f512: Download complete [2022-01-12T04:12:33.153Z] 72dc09318566: Verifying Checksum [2022-01-12T04:12:33.153Z] 72dc09318566: Download complete [2022-01-12T04:12:33.153Z] f4f7b4309257: Verifying Checksum [2022-01-12T04:12:33.153Z] f4f7b4309257: Download complete [2022-01-12T04:12:33.153Z] 552d1f2373af: Verifying Checksum [2022-01-12T04:12:33.153Z] 552d1f2373af: Download complete [2022-01-12T04:12:33.153Z] 0ac9a79272e3: Download complete [2022-01-12T04:12:33.402Z] 77bc0d833cb6: Pull complete [2022-01-12T04:12:33.402Z] 9065ff56babe: Pull complete [2022-01-12T04:12:34.143Z] 552d1f2373af: Pull complete [2022-01-12T04:12:34.743Z] ea3f2d53f512: Pull complete [2022-01-12T04:12:35.018Z] 9e70ebbbe112: Pull complete [2022-01-12T04:12:35.018Z] b78e95d17946: Verifying Checksum [2022-01-12T04:12:35.018Z] b78e95d17946: Download complete [2022-01-12T04:12:35.616Z] 7a9cfe048b4a: Verifying Checksum [2022-01-12T04:12:35.616Z] 7a9cfe048b4a: Download complete [2022-01-12T04:12:38.717Z] d287ab97295c: Pull complete [2022-01-12T04:12:38.717Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-12T04:12:38.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T04:12:38.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-12T04:12:38.902Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2022-01-12T04:12:39.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1081 -v /w/workspace/gexfoundry_device-sdk-go_PR-1081:/w/workspace/gexfoundry_device-sdk-go_PR-1081:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1081@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:10003/edgex-lftools-log-publisher:latest cat [2022-01-12T04:12:41.920Z] $ docker top 34b4f902aa877f4fa2eb2f81831cebf0e2502d5a5e18d26368ea9f6c548cd805 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:12:42.410Z] ---> job-cost.sh [2022-01-12T04:12:42.410Z] lf-activate-venv: SKIPPING [2022-01-12T04:12:42.410Z] INFO: No Stack... [2022-01-12T04:12:42.671Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T04:12:42.931Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T04:12:43.249Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives/cost.csv [2022-01-12T04:12:43.249Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T04:12:43.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [2022-01-12T04:12:43.297Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] did not exist. Created. [2022-01-12T04:12:43.297Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T04:12:43.690Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-12T04:12:43.746Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T04:12:43.772Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T04:12:43.858Z] $ docker stop --time=1 34b4f902aa877f4fa2eb2f81831cebf0e2502d5a5e18d26368ea9f6c548cd805 [2022-01-12T04:12:44.998Z] $ docker rm -f 34b4f902aa877f4fa2eb2f81831cebf0e2502d5a5e18d26368ea9f6c548cd805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-12T04:12:48.008Z] 7a9cfe048b4a: Pull complete [2022-01-12T04:12:48.008Z] 72dc09318566: Pull complete [2022-01-12T04:12:48.008Z] f4f7b4309257: Pull complete [2022-01-12T04:12:48.008Z] 0ac9a79272e3: Pull complete [2022-01-12T04:12:53.410Z] b78e95d17946: Pull complete [2022-01-12T04:12:53.410Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-12T04:12:53.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-12T04:12:53.410Z] ---> 8b459fc5aaf0 [2022-01-12T04:12:53.410Z] Step 3/10 : ARG MAKE=make build [2022-01-12T04:12:54.848Z] ---> Running in 0c156d0b2fd9 [2022-01-12T04:12:54.848Z] Removing intermediate container 0c156d0b2fd9 [2022-01-12T04:12:54.848Z] ---> 59d8be42dce2 [2022-01-12T04:12:54.848Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T04:12:55.128Z] ---> Running in 2c6930756d3a [2022-01-12T04:12:55.404Z] Removing intermediate container 2c6930756d3a [2022-01-12T04:12:55.404Z] ---> 3bc0a60919b3 [2022-01-12T04:12:55.404Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:12:55.404Z] ---> Running in 1aa02f4cdec9 [2022-01-12T04:12:56.001Z] Removing intermediate container 1aa02f4cdec9 [2022-01-12T04:12:56.001Z] ---> 88ac21187f7b [2022-01-12T04:12:56.001Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:12:56.001Z] ---> Running in e3fe80ec4788 [2022-01-12T04:12:57.993Z] Removing intermediate container e3fe80ec4788 [2022-01-12T04:12:57.993Z] ---> 60b65ad4c977 [2022-01-12T04:12:57.993Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T04:12:57.993Z] ---> Running in c5bbec44b8f6 [2022-01-12T04:12:58.979Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T04:12:59.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T04:13:00.665Z] OK: 219 MiB in 52 packages [2022-01-12T04:13:01.267Z] Removing intermediate container c5bbec44b8f6 [2022-01-12T04:13:01.267Z] ---> cc17cfe687d4 [2022-01-12T04:13:01.267Z] Step 8/10 : COPY . . [2022-01-12T04:13:02.239Z] ---> 45e6bead6bad [2022-01-12T04:13:02.239Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T04:13:02.513Z] ---> Running in 058101a6dbd3 [2022-01-12T04:14:24.294Z] Removing intermediate container 058101a6dbd3 [2022-01-12T04:14:24.294Z] ---> 27026e73f80e [2022-01-12T04:14:24.294Z] Step 10/10 : RUN ${MAKE} [2022-01-12T04:14:24.294Z] ---> Running in 14f4b478d0a0 [2022-01-12T04:14:24.294Z] noop [2022-01-12T04:14:24.294Z] Removing intermediate container 14f4b478d0a0 [2022-01-12T04:14:24.294Z] ---> 7e0c9f35f210 [2022-01-12T04:14:24.294Z] Successfully built 7e0c9f35f210 [2022-01-12T04:14:24.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:14:24.674Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T04:14:24.674Z] . [Pipeline] withDockerContainer [2022-01-12T04:14:24.915Z] prd-ubuntu18.04-docker-arm64-4c-16g-1324 does not seem to be running inside a container [2022-01-12T04:14:25.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T04:14:26.408Z] $ docker top 41a95d51d670be5cf5773596b4a5b0f8ce29deaf6d5b2ba41fe8f00b9bf7d85c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T04:14:27.331Z] + go version [2022-01-12T04:14:27.331Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-12T04:14:27.356Z] $ docker stop --time=1 41a95d51d670be5cf5773596b4a5b0f8ce29deaf6d5b2ba41fe8f00b9bf7d85c [2022-01-12T04:14:29.012Z] $ docker rm -f 41a95d51d670be5cf5773596b4a5b0f8ce29deaf6d5b2ba41fe8f00b9bf7d85c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:14:29.866Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T04:14:29.866Z] . [Pipeline] withDockerContainer [2022-01-12T04:14:30.100Z] prd-ubuntu18.04-docker-arm64-4c-16g-1324 does not seem to be running inside a container [2022-01-12T04:14:30.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T04:14:31.532Z] $ docker top 114d7d28bed3d2ba1d1924d6f17d41d9dd19280070460f2886cd1bea82f4259f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T04:14:32.547Z] + make test [2022-01-12T04:14:32.547Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T04:14:59.425Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T04:16:07.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T04:16:07.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T04:16:07.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T04:16:17.714Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.488s coverage: 23.3% of statements [2022-01-12T04:16:17.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T04:16:17.714Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.211s coverage: 27.6% of statements [2022-01-12T04:16:17.714Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.226s coverage: 78.9% of statements [2022-01-12T04:16:17.714Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 9.0% of statements [2022-01-12T04:16:17.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T04:16:17.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T04:16:17.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T04:16:18.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.359s coverage: 28.7% of statements [2022-01-12T04:16:18.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T04:16:21.753Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.299s coverage: 86.1% of statements [2022-01-12T04:16:21.753Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T04:16:21.753Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T04:16:21.753Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.537s coverage: 57.4% of statements [2022-01-12T04:16:23.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.268s coverage: 89.2% of statements [2022-01-12T04:16:23.743Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T04:16:23.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.199s coverage: 4.8% of statements [2022-01-12T04:16:23.743Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T04:16:24.337Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-12T04:16:24.337Z] GO111MODULE=on go vet ./... [2022-01-12T04:17:20.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T04:17:21.496Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T04:17:21.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-12T04:17:23.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T04:17:23.809Z] $ docker stop --time=1 114d7d28bed3d2ba1d1924d6f17d41d9dd19280070460f2886cd1bea82f4259f [2022-01-12T04:17:25.576Z] $ docker rm -f 114d7d28bed3d2ba1d1924d6f17d41d9dd19280070460f2886cd1bea82f4259f [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T04:17:26.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T04:17:26.801Z] Warning: overwriting stash ‘coverage-report’ [2022-01-12T04:17:27.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T04:17:28.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T04:17:28.374Z] + ls -al . [2022-01-12T04:17:28.374Z] total 304 [2022-01-12T04:17:28.374Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 04:17 . [2022-01-12T04:17:28.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:11 .. [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 04:12 .dockerignore [2022-01-12T04:17:28.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 04:12 .git [2022-01-12T04:17:28.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:12 .github [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 04:12 .gitignore [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 04:12 .golangci.yml [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 12 04:12 CHANGELOG.md [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 04:12 GOVERNANCE.md [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 04:12 Jenkinsfile [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 04:12 LICENSE [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 1613 Jan 12 04:12 Makefile [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 04:12 OWNERS.md [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 12 04:12 README.md [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 04:10 VERSION [2022-01-12T04:17:28.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:12 bin [2022-01-12T04:17:28.374Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 12 04:16 coverage.out [2022-01-12T04:17:28.374Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:12 example [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 12 04:12 go.mod [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 12 04:12 go.sum [2022-01-12T04:17:28.374Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 04:12 internal [2022-01-12T04:17:28.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:12 openapi [2022-01-12T04:17:28.374Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:12 pkg [2022-01-12T04:17:28.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:12 snap [2022-01-12T04:17:28.374Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:17:28.745Z] + 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=e99a4ce984675e7beb67fe2eae2e6d7de29975d5 --label arch=arm64 --label version=0.0.0 . [2022-01-12T04:17:29.026Z] Sending build context to Docker daemon 5.17MB [2022-01-12T04:17:29.026Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T04:17:29.026Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T04:17:29.026Z] ---> 7e0c9f35f210 [2022-01-12T04:17:29.026Z] Step 3/24 : ARG MAKE=make build [2022-01-12T04:17:29.302Z] ---> Running in 8d179d62adf5 [2022-01-12T04:17:29.581Z] Removing intermediate container 8d179d62adf5 [2022-01-12T04:17:29.581Z] ---> b77296b3baf7 [2022-01-12T04:17:29.581Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T04:17:29.855Z] ---> Running in a692d6e4582a [2022-01-12T04:17:30.130Z] Removing intermediate container a692d6e4582a [2022-01-12T04:17:30.130Z] ---> 02198c1ee114 [2022-01-12T04:17:30.130Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:17:30.130Z] ---> Running in cf3b8ab237a9 [2022-01-12T04:17:30.407Z] Removing intermediate container cf3b8ab237a9 [2022-01-12T04:17:30.407Z] ---> 71fa844fb9b3 [2022-01-12T04:17:30.407Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:17:30.679Z] ---> Running in f8d6865df600 [2022-01-12T04:17:32.656Z] Removing intermediate container f8d6865df600 [2022-01-12T04:17:32.656Z] ---> 38801cb0c8b0 [2022-01-12T04:17:32.656Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T04:17:32.656Z] ---> Running in 61caf18bad5c [2022-01-12T04:17:33.257Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T04:17:34.241Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T04:17:35.222Z] OK: 219 MiB in 52 packages [2022-01-12T04:17:35.820Z] Removing intermediate container 61caf18bad5c [2022-01-12T04:17:35.820Z] ---> 31b364886260 [2022-01-12T04:17:35.820Z] Step 8/24 : COPY . . [2022-01-12T04:17:37.259Z] ---> f03fd232cc69 [2022-01-12T04:17:37.259Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T04:17:37.259Z] ---> Running in 00764121212d [2022-01-12T04:17:39.241Z] Removing intermediate container 00764121212d [2022-01-12T04:17:39.241Z] ---> 2c2004c2b7fa [2022-01-12T04:17:39.241Z] Step 10/24 : RUN ${MAKE} [2022-01-12T04:17:39.522Z] ---> Running in 2b38dac4cd4e [2022-01-12T04:17:40.510Z] 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-12T04:18:19.526Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T04:18:19.526Z] Removing intermediate container 2b38dac4cd4e [2022-01-12T04:18:19.526Z] ---> 928e6258ec8f [2022-01-12T04:18:19.526Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T04:18:19.526Z] 3.14: Pulling from library/alpine [2022-01-12T04:18:19.526Z] be307f383ecc: Pulling fs layer [2022-01-12T04:18:19.526Z] be307f383ecc: Download complete [2022-01-12T04:18:19.526Z] be307f383ecc: Pull complete [2022-01-12T04:18:19.526Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T04:18:19.526Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T04:18:19.526Z] ---> 5b8b7b635229 [2022-01-12T04:18:19.526Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T04:18:19.526Z] ---> Running in d0436dd420aa [2022-01-12T04:18:19.526Z] Removing intermediate container d0436dd420aa [2022-01-12T04:18:19.526Z] ---> 85734016d919 [2022-01-12T04:18:19.526Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T04:18:19.526Z] ---> Running in 7c2e24ea9c1b [2022-01-12T04:18:19.526Z] Removing intermediate container 7c2e24ea9c1b [2022-01-12T04:18:19.526Z] ---> 90c41e9f41d6 [2022-01-12T04:18:19.526Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T04:18:19.526Z] ---> Running in b160ab3a0d11 [2022-01-12T04:18:20.503Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T04:18:21.476Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T04:18:22.070Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T04:18:22.343Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T04:18:22.343Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T04:18:22.622Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-12T04:18:22.622Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T04:18:22.622Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T04:18:22.622Z] OK: 8 MiB in 19 packages [2022-01-12T04:18:23.614Z] Removing intermediate container b160ab3a0d11 [2022-01-12T04:18:23.614Z] ---> f1f37ac5b16d [2022-01-12T04:18:23.614Z] Step 15/24 : WORKDIR / [2022-01-12T04:18:23.614Z] ---> Running in e4fce6da18ba [2022-01-12T04:18:23.888Z] Removing intermediate container e4fce6da18ba [2022-01-12T04:18:23.888Z] ---> a4a8b122cded [2022-01-12T04:18:23.888Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T04:18:24.485Z] ---> 8d72e4cf4d6b [2022-01-12T04:18:24.485Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T04:18:25.458Z] ---> 58337d45bacd [2022-01-12T04:18:25.458Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T04:18:26.063Z] ---> c21b6e09d6b3 [2022-01-12T04:18:26.063Z] Step 19/24 : EXPOSE 59999 [2022-01-12T04:18:26.063Z] ---> Running in 18ec5c84b525 [2022-01-12T04:18:26.336Z] Removing intermediate container 18ec5c84b525 [2022-01-12T04:18:26.336Z] ---> 9731f5046223 [2022-01-12T04:18:26.336Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T04:18:26.608Z] ---> Running in f94ca8554fb3 [2022-01-12T04:18:26.880Z] Removing intermediate container f94ca8554fb3 [2022-01-12T04:18:26.880Z] ---> 51996cf7be13 [2022-01-12T04:18:26.880Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T04:18:26.880Z] ---> Running in c6886e23eba3 [2022-01-12T04:18:27.153Z] Removing intermediate container c6886e23eba3 [2022-01-12T04:18:27.153Z] ---> 3326be95f830 [2022-01-12T04:18:27.153Z] Step 22/24 : LABEL arch=arm64 [2022-01-12T04:18:27.425Z] ---> Running in 870c1556dab4 [2022-01-12T04:18:27.700Z] Removing intermediate container 870c1556dab4 [2022-01-12T04:18:27.700Z] ---> bc82845046d8 [2022-01-12T04:18:27.700Z] Step 23/24 : LABEL git_sha=e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [2022-01-12T04:18:27.700Z] ---> Running in 960b44c4ef14 [2022-01-12T04:18:27.972Z] Removing intermediate container 960b44c4ef14 [2022-01-12T04:18:27.972Z] ---> efe046402572 [2022-01-12T04:18:27.972Z] Step 24/24 : LABEL version=0.0.0 [2022-01-12T04:18:28.244Z] ---> Running in a288e68d150a [2022-01-12T04:18:28.516Z] Removing intermediate container a288e68d150a [2022-01-12T04:18:28.516Z] ---> eda27f887d85 [2022-01-12T04:18:28.516Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T04:18:28.516Z] Successfully built eda27f887d85 [2022-01-12T04:18:28.516Z] 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-12T04:18:29.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T04:18:29.205Z] [2022-01-12T04:18:29.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:18:29.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T04:18:29.590Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-12T04:18:29.590Z] 448f6bf000e3: Pulling fs layer [2022-01-12T04:18:29.590Z] f757da607395: Pulling fs layer [2022-01-12T04:18:29.590Z] 05883995daec: Pulling fs layer [2022-01-12T04:18:29.590Z] 8603b9c90790: Pulling fs layer [2022-01-12T04:18:29.590Z] 1560dd03e051: Pulling fs layer [2022-01-12T04:18:29.590Z] 27f5ce0e4adf: Pulling fs layer [2022-01-12T04:18:29.590Z] c2d8d7efcc4b: Pulling fs layer [2022-01-12T04:18:29.590Z] 8603b9c90790: Waiting [2022-01-12T04:18:29.590Z] 1560dd03e051: Waiting [2022-01-12T04:18:29.590Z] 27f5ce0e4adf: Waiting [2022-01-12T04:18:29.590Z] c2d8d7efcc4b: Waiting [2022-01-12T04:18:29.865Z] f757da607395: Verifying Checksum [2022-01-12T04:18:29.865Z] f757da607395: Download complete [2022-01-12T04:18:29.865Z] 8603b9c90790: Verifying Checksum [2022-01-12T04:18:29.865Z] 8603b9c90790: Download complete [2022-01-12T04:18:29.865Z] 1560dd03e051: Verifying Checksum [2022-01-12T04:18:29.865Z] 1560dd03e051: Download complete [2022-01-12T04:18:29.865Z] 27f5ce0e4adf: Verifying Checksum [2022-01-12T04:18:29.865Z] 27f5ce0e4adf: Download complete [2022-01-12T04:18:29.865Z] 05883995daec: Verifying Checksum [2022-01-12T04:18:29.865Z] 05883995daec: Download complete [2022-01-12T04:18:30.137Z] 448f6bf000e3: Verifying Checksum [2022-01-12T04:18:30.137Z] 448f6bf000e3: Download complete [2022-01-12T04:18:32.762Z] c2d8d7efcc4b: Verifying Checksum [2022-01-12T04:18:32.762Z] c2d8d7efcc4b: Download complete [2022-01-12T04:18:33.746Z] 448f6bf000e3: Pull complete [2022-01-12T04:18:34.342Z] f757da607395: Pull complete [2022-01-12T04:18:35.772Z] 05883995daec: Pull complete [2022-01-12T04:18:36.044Z] 8603b9c90790: Pull complete [2022-01-12T04:18:37.027Z] 1560dd03e051: Pull complete [2022-01-12T04:18:37.300Z] 27f5ce0e4adf: Pull complete [2022-01-12T04:18:52.381Z] c2d8d7efcc4b: Pull complete [2022-01-12T04:18:52.381Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-12T04:18:52.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T04:18:52.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-12T04:18:52.610Z] prd-ubuntu18.04-docker-arm64-4c-16g-1324 does not seem to be running inside a container [2022-01-12T04:18:52.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-12T04:18:55.144Z] $ docker top 621c79ad2c4ec3f3317c1d9b87df8645ab6722be821e0bf7c16d3ebbcabd9e51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:18:56.145Z] ---> job-cost.sh [2022-01-12T04:18:56.145Z] lf-activate-venv: SKIPPING [2022-01-12T04:18:56.145Z] INFO: No Stack... [2022-01-12T04:18:56.419Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-12T04:18:56.692Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T04:18:57.375Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-12T04:18:57.375Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T04:18:57.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [2022-01-12T04:18:57.462Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] did not exist. Created. [2022-01-12T04:18:57.463Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T04:18:58.213Z] /w/workspace/device-sdk-go/1@tmp/durable-97d9fdd9/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-97d9fdd9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-12T04:18:58.910Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-12T04:18:58.949Z] Warning: overwriting stash ‘stack-cost’ [2022-01-12T04:18:59.007Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T04:18:59.023Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1081-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T04:18:59.088Z] $ docker stop --time=1 621c79ad2c4ec3f3317c1d9b87df8645ab6722be821e0bf7c16d3ebbcabd9e51 [2022-01-12T04:19:00.598Z] $ docker rm -f 621c79ad2c4ec3f3317c1d9b87df8645ab6722be821e0bf7c16d3ebbcabd9e51 [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-12T04:19:01.587Z] provisioning config files... [2022-01-12T04:19:01.597Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/config8787313710628322424tmp [Pipeline] { [Pipeline] sh [2022-01-12T04:19:01.937Z] + set +x [2022-01-12T04:19:01.937Z] + curl -s https://codecov.io/bash [2022-01-12T04:19:01.937Z] + bash -s -- [2022-01-12T04:19:01.937Z] [2022-01-12T04:19:01.937Z] _____ _ [2022-01-12T04:19:01.937Z] / ____| | | [2022-01-12T04:19:01.937Z] | | ___ __| | ___ ___ _____ __ [2022-01-12T04:19:01.937Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-12T04:19:01.937Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-12T04:19:01.937Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-12T04:19:01.937Z] Bash-1.0.6 [2022-01-12T04:19:01.937Z] [2022-01-12T04:19:01.937Z] [2022-01-12T04:19:01.937Z] ==> git version 2.24.4 found [2022-01-12T04:19:01.937Z] ==> 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-12T04:19:01.937Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-12T04:19:01.937Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-12T04:19:01.937Z] ==> Jenkins CI detected. [2022-01-12T04:19:01.937Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1081 [2022-01-12T04:19:01.937Z] project root: . [2022-01-12T04:19:01.937Z] --> token set from env [2022-01-12T04:19:01.937Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-12T04:19:01.937Z] ==> Running gcov in . (disable via -X gcov) [2022-01-12T04:19:01.937Z] ==> Python coveragepy not found [2022-01-12T04:19:01.937Z] ==> Searching for coverage reports in: [2022-01-12T04:19:01.937Z] + . [2022-01-12T04:19:01.937Z] -> Found 1 reports [2022-01-12T04:19:01.937Z] ==> Detecting git/mercurial file structure [2022-01-12T04:19:01.937Z] ==> Reading reports [2022-01-12T04:19:01.937Z] + ./coverage.out bytes=128667 [2022-01-12T04:19:01.937Z] ==> Appending adjustments [2022-01-12T04:19:01.937Z] https://docs.codecov.io/docs/fixing-reports [2022-01-12T04:19:02.207Z] + Found adjustments [2022-01-12T04:19:02.207Z] ==> Gzipping contents [2022-01-12T04:19:02.207Z] 16K /tmp/codecov.JoSEih.gz [2022-01-12T04:19:02.207Z] ==> Uploading reports [2022-01-12T04:19:02.207Z] url: https://codecov.io [2022-01-12T04:19:02.207Z] query: branch=PR-1081&commit=e99a4ce984675e7beb67fe2eae2e6d7de29975d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1081%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1081&job=&cmd_args= [2022-01-12T04:19:02.207Z] -> Pinging Codecov [2022-01-12T04:19:02.207Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1081&commit=e99a4ce984675e7beb67fe2eae2e6d7de29975d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1081%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1081&job=&cmd_args= [2022-01-12T04:19:02.779Z] -> Uploading to [2022-01-12T04:19:02.779Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-12/7E55EF52A471D76F132DFD9A03CDDE97/e99a4ce984675e7beb67fe2eae2e6d7de29975d5/271ab040-b5f3-4beb-abdb-76752e6f8e49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220112T041902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=baa0c5e0b596a8a061e0b8e5d6b60a2e34980f8872ccf23ac79bda62429d3d15 [2022-01-12T04:19:02.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T04:19:02.779Z] Dload Upload Total Spent Left Speed [2022-01-12T04:19:03.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16362 0 0 100 16362 0 48560 --:--:-- --:--:-- --:--:-- 48696 [2022-01-12T04:19:03.042Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e99a4ce984675e7beb67fe2eae2e6d7de29975d5 [Pipeline] } [2022-01-12T04:19:03.070Z] 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-12T04:19:04.603Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives ']' [2022-01-12T04:19:04.603Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives [2022-01-12T04:19:04.603Z] total 8 [2022-01-12T04:19:04.603Z] drwxr-xr-x. 3 root root 34 Jan 12 04:12 . [2022-01-12T04:19:04.603Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 04:12 .. [2022-01-12T04:19:04.603Z] drwxr-xr-x. 2 root root 6 Jan 12 04:12 cost [2022-01-12T04:19:04.603Z] -rw-r--r--. 1 root root 85 Jan 12 04:12 cost.csv [2022-01-12T04:19:04.603Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives [2022-01-12T04:19:04.603Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives [2022-01-12T04:19:04.603Z] total 8 [2022-01-12T04:19:04.603Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 12 04:12 . [2022-01-12T04:19:04.603Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 04:12 .. [2022-01-12T04:19:04.603Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 12 04:12 cost [2022-01-12T04:19:04.603Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 12 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:04.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:05.523Z] ---> package-listing.sh [2022-01-12T04:19:05.523Z] ++ facter osfamily [2022-01-12T04:19:05.523Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-12T04:19:05.784Z] + OS_FAMILY=redhat [2022-01-12T04:19:05.784Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1081 [2022-01-12T04:19:05.784Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-12T04:19:05.784Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-12T04:19:05.784Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-12T04:19:05.784Z] + PACKAGES=/tmp/packages_start.txt [2022-01-12T04:19:05.784Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1081 ']' [2022-01-12T04:19:05.784Z] + PACKAGES=/tmp/packages_end.txt [2022-01-12T04:19:05.784Z] + case "${OS_FAMILY}" in [2022-01-12T04:19:05.784Z] + rpm -qa [2022-01-12T04:19:05.784Z] + sort [2022-01-12T04:19:06.356Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-12T04:19:06.356Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-12T04:19:06.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-12T04:19:06.356Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1081 ']' [2022-01-12T04:19:06.356Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives/ [2022-01-12T04:19:06.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1081/archives/ [Pipeline] echo [2022-01-12T04:19:06.392Z] 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-1081/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-12T04:19:06.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-12T04:19:07.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T04:19:07.275Z] . [Pipeline] withDockerContainer [2022-01-12T04:19:07.365Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2022-01-12T04:19:07.401Z] $ 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-1081/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-1081 -v /w/workspace/gexfoundry_device-sdk-go_PR-1081:/w/workspace/gexfoundry_device-sdk-go_PR-1081:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1081@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-12T04:19:07.636Z] $ docker top 35349c37706e776866ee4d599c4b2bea5fbddb849672b3b1a6128c6fb14dff1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T04:19:08.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-12T04:19:08.366Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-12T04:19:08.684Z] + ls /var/log/sa-host [2022-01-12T04:19:08.684Z] + sadf -c /var/log/sa-host/sa12 [2022-01-12T04:19:08.684Z] file_magic: OK [2022-01-12T04:19:08.684Z] HZ: Using current value: 100 [2022-01-12T04:19:08.684Z] file_header: OK [2022-01-12T04:19:08.684Z] 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-12T04:19:08.684Z] Statistics: [2022-01-12T04:19:08.684Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T04:19:08.684Z] File successfully converted to sysstat format version 12.0.3 [2022-01-12T04:19:08.684Z] + sadf -c /var/log/sa-host/sa17 [2022-01-12T04:19:08.684Z] file_magic: OK [2022-01-12T04:19:08.684Z] HZ: Using current value: 100 [2022-01-12T04:19:08.684Z] file_header: OK [2022-01-12T04:19:08.684Z] 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-12T04:19:08.684Z] Statistics: [2022-01-12T04:19:08.684Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T04:19:08.684Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T04:19:08.827Z] provisioning config files... [2022-01-12T04:19:08.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1081@tmp/config7020942653381007263tmp [Pipeline] { [Pipeline] echo [2022-01-12T04:19:08.887Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:09.201Z] ---> create-netrc.sh [Pipeline] } [2022-01-12T04:19:09.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:09.631Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-12T04:19:09.668Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:09.986Z] ---> sudo-logs.sh [2022-01-12T04:19:09.986Z] Archiving 'sudo' log.. [2022-01-12T04:19:09.986Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1322.novalocal: Name or service not known [2022-01-12T04:19:09.986Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1322.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-12T04:19:10.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:10.400Z] ---> job-cost.sh [2022-01-12T04:19:10.400Z] lf-activate-venv: SKIPPING [2022-01-12T04:19:10.400Z] DEBUG: total: 0.05999999865889549 [2022-01-12T04:19:10.400Z] INFO: Retrieving Stack Cost... [2022-01-12T04:19:10.660Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T04:19:10.920Z] INFO: Archiving Costs [Pipeline] echo [2022-01-12T04:19:10.956Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T04:19:11.286Z] ---> logs-deploy.sh [2022-01-12T04:19:11.286Z] lf-activate-venv: SKIPPING [2022-01-12T04:19:11.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1081/1 [2022-01-12T04:19:11.286Z] INFO: archiving workspace using pattern(s): [2022-01-12T04:19:11.864Z] Archives upload complete. [2022-01-12T04:19:11.864Z] INFO: archiving logs to Nexus [2022-01-12T04:19:12.437Z] ---> uname -a: [2022-01-12T04:19:12.437Z] Linux prd-centos7-docker-4c-2g-1322.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] ---> lscpu: [2022-01-12T04:19:12.437Z] Architecture: x86_64 [2022-01-12T04:19:12.437Z] CPU op-mode(s): 32-bit, 64-bit [2022-01-12T04:19:12.437Z] Byte Order: Little Endian [2022-01-12T04:19:12.437Z] Address sizes: 40 bits physical, 48 bits virtual [2022-01-12T04:19:12.437Z] CPU(s): 2 [2022-01-12T04:19:12.437Z] On-line CPU(s) list: 0,1 [2022-01-12T04:19:12.437Z] Thread(s) per core: 1 [2022-01-12T04:19:12.437Z] Core(s) per socket: 1 [2022-01-12T04:19:12.437Z] Socket(s): 2 [2022-01-12T04:19:12.437Z] NUMA node(s): 1 [2022-01-12T04:19:12.437Z] Vendor ID: AuthenticAMD [2022-01-12T04:19:12.437Z] CPU family: 23 [2022-01-12T04:19:12.437Z] Model: 49 [2022-01-12T04:19:12.437Z] Model name: AMD EPYC-Rome Processor [2022-01-12T04:19:12.437Z] Stepping: 0 [2022-01-12T04:19:12.437Z] CPU MHz: 2799.994 [2022-01-12T04:19:12.437Z] BogoMIPS: 5599.98 [2022-01-12T04:19:12.437Z] Virtualization: AMD-V [2022-01-12T04:19:12.437Z] Hypervisor vendor: KVM [2022-01-12T04:19:12.437Z] Virtualization type: full [2022-01-12T04:19:12.437Z] L1d cache: 32K [2022-01-12T04:19:12.437Z] L1i cache: 32K [2022-01-12T04:19:12.437Z] L2 cache: 512K [2022-01-12T04:19:12.437Z] L3 cache: 16384K [2022-01-12T04:19:12.437Z] NUMA node0 CPU(s): 0,1 [2022-01-12T04:19:12.437Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] ---> nproc: [2022-01-12T04:19:12.437Z] 2 [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z] ---> df -h: [2022-01-12T04:19:12.437Z] Filesystem Size Used Avail Use% Mounted on [2022-01-12T04:19:12.437Z] overlay 40G 9.1G 31G 23% / [2022-01-12T04:19:12.437Z] tmpfs 64M 0 64M 0% /dev [2022-01-12T04:19:12.437Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2022-01-12T04:19:12.437Z] shm 64M 0 64M 0% /dev/shm [2022-01-12T04:19:12.437Z] /dev/vda1 40G 9.1G 31G 23% /facter-os [2022-01-12T04:19:12.437Z] [2022-01-12T04:19:12.437Z]