Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc 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-ssh5043570551866962146.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-ssh10628568087143009321.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6945620800427736190.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 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-ssh6291204215244854463.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5122216061899609343.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-1296 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh9037647625380680492.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 Commit message: "Merge pull request #1080 from bnevis-i/issue-1029" > git rev-list --no-walk 33d0a51da49b1357e78eddc947429615f795f612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T22:25:16.691Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T22:25:16.749Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T22:25:16.769Z] ========================================================= [2022-01-11T22:25:16.769Z] EdgeX Global Pipelines Version Info [2022-01-11T22:25:16.769Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:25:17.911Z] ------------------- [2022-01-11T22:25:17.911Z] stable info: [2022-01-11T22:25:17.911Z] ------------------- [2022-01-11T22:25:17.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T22:25:17.911Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T22:25:17.911Z] Message: update stable to v1.0.218 [2022-01-11T22:25:18.488Z] ------------------- [2022-01-11T22:25:18.488Z] experimental info: [2022-01-11T22:25:18.488Z] ------------------- [2022-01-11T22:25:18.488Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T22:25:18.488Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T22:25:18.488Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T22:25:18.669Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T22:25:18.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T22:25:18.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T22:25:18.722Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T22:25:18.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T22:25:18.759Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T22:25:18.774Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T22:25:18.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T22:25:18.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T22:25:18.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T22:25:18.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T22:25:18.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T22:25:18.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T22:25:18.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T22:25:18.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T22:25:18.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:25:18.898Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:25:18.912Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:25:18.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T22:25:18.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T22:25:18.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T22:25:18.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T22:25:18.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T22:25:18.996Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T22:25:19.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T22:25:19.022Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T22:25:19.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-11T22:25:19.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-11T22:25:19.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-11T22:25:19.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo [2022-01-11T22:25:19.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df5f27d [Pipeline] echo [2022-01-11T22:25:19.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:25:19.146Z] provisioning config files... [2022-01-11T22:25:19.161Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3176772285244170512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:25:19.484Z] ---> docker-login.sh [2022-01-11T22:25:19.484Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:25:19.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:19.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:19.746Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:19.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:19.746Z] [2022-01-11T22:25:19.746Z] Login Succeeded [2022-01-11T22:25:19.746Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:25:19.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:19.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:19.746Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:19.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:19.746Z] [2022-01-11T22:25:19.746Z] Login Succeeded [2022-01-11T22:25:19.747Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:25:20.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:20.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:20.009Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:20.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:20.009Z] [2022-01-11T22:25:20.009Z] Login Succeeded [2022-01-11T22:25:20.009Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:25:20.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:20.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:20.009Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:20.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:20.009Z] [2022-01-11T22:25:20.009Z] Login Succeeded [2022-01-11T22:25:20.009Z] docker.io [2022-01-11T22:25:20.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:20.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:20.533Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:20.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:20.533Z] [2022-01-11T22:25:20.533Z] Login Succeeded [2022-01-11T22:25:20.533Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:25:20.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T22:25:20.921Z] + git rev-list -1 --merges df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc~1..df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo [2022-01-11T22:25:20.949Z] -----------> git rev-list -1 --merges df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc~1..df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [2022-01-11T22:25:20.949Z] df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [false] [Pipeline] sh [2022-01-11T22:25:21.246Z] + git log --format=format:%s -1 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo [2022-01-11T22:25:21.263Z] ========================================================= [2022-01-11T22:25:21.263Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T22:25:21.263Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T22:25:21.613Z] + git log --format=format:%s -1 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo [2022-01-11T22:25:21.628Z] [semverPrep] GIT_COMMIT: df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc, Commit Message: Merge pull request #1080 from bnevis-i/issue-1029 [Pipeline] echo [2022-01-11T22:25:21.639Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T22:25:22.024Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T22:25:22.024Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T22:25:22.024Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T22:25:22.024Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T22:25:22.024Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T22:25:22.024Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T22:25:22.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:25:22.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:25:22.378Z] [2022-01-11T22:25:22.378Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:25:22.684Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:25:22.947Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T22:25:22.947Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T22:25:22.947Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T22:25:22.947Z] 4c7163046ea9: Pulling fs layer [2022-01-11T22:25:22.947Z] 0c2d73faf560: Pulling fs layer [2022-01-11T22:25:22.947Z] 0c2d73faf560: Waiting [2022-01-11T22:25:22.947Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T22:25:22.947Z] 3e5f54012d9b: Download complete [2022-01-11T22:25:22.947Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T22:25:22.947Z] a0d0a0d46f8b: Download complete [2022-01-11T22:25:22.947Z] 4c7163046ea9: Verifying Checksum [2022-01-11T22:25:22.947Z] 4c7163046ea9: Download complete [2022-01-11T22:25:22.947Z] 0c2d73faf560: Verifying Checksum [2022-01-11T22:25:22.947Z] 0c2d73faf560: Download complete [2022-01-11T22:25:23.216Z] a0d0a0d46f8b: Pull complete [2022-01-11T22:25:23.216Z] 3e5f54012d9b: Pull complete [2022-01-11T22:25:23.481Z] 4c7163046ea9: Pull complete [2022-01-11T22:25:23.746Z] 0c2d73faf560: Pull complete [2022-01-11T22:25:23.746Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T22:25:23.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:25:23.746Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T22:25:23.813Z] prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container [2022-01-11T22:25:23.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-11T22:25:24.469Z] $ docker top fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T22:25:24.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T22:25:24.575Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T22:25:24.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T22:25:24.689Z] $ docker exec fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent [2022-01-11T22:25:24.791Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdJbmgO/agent.13 [2022-01-11T22:25:24.792Z] SSH_AGENT_PID=19 [2022-01-11T22:25:24.799Z] Running ssh-add (command line suppressed) [2022-01-11T22:25:24.892Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8457639666666116748.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8457639666666116748.key) [2022-01-11T22:25:24.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T22:25:25.206Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T22:25:25.225Z] $ docker exec --env ******** --env ******** fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent -k [2022-01-11T22:25:25.309Z] unset SSH_AUTH_SOCK; [2022-01-11T22:25:25.310Z] unset SSH_AGENT_PID; [2022-01-11T22:25:25.310Z] echo Agent pid 19 killed; [2022-01-11T22:25:25.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T22:25:25.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T22:25:25.353Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T22:25:25.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T22:25:25.463Z] $ docker exec fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent [2022-01-11T22:25:25.567Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObgDOI/agent.52 [2022-01-11T22:25:25.567Z] SSH_AGENT_PID=58 [2022-01-11T22:25:25.574Z] Running ssh-add (command line suppressed) [2022-01-11T22:25:25.687Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3964255335839382405.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3964255335839382405.key) [2022-01-11T22:25:25.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T22:25:26.001Z] + git semver init [2022-01-11T22:25:26.001Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T22:25:26.001Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-11T22:25:26.001Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-11T22:25:26.001Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T22:25:26.001Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T22:25:26.001Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T22:25:26.001Z] # $SEMVER_BRANCH = main [2022-01-11T22:25:26.001Z] # $SEMVER_TEMP = /tmp/semver-512973381 [2022-01-11T22:25:26.001Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T22:25:26.945Z] # '/tmp/semver-512973381' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-11T22:25:26.945Z] # -> Force: false [2022-01-11T22:25:26.945Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-11T22:25:26.956Z] $ docker exec --env ******** --env ******** fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent -k [2022-01-11T22:25:27.047Z] unset SSH_AUTH_SOCK; [2022-01-11T22:25:27.047Z] unset SSH_AGENT_PID; [2022-01-11T22:25:27.047Z] echo Agent pid 58 killed; [2022-01-11T22:25:27.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T22:25:27.384Z] + git semver [Pipeline] } [2022-01-11T22:25:27.400Z] $ docker stop --time=1 fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b [2022-01-11T22:25:28.663Z] $ docker rm -f fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T22:25:29.006Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T22:25:29.232Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T22:25:29.236Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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-11T22:25:29.372Z] provisioning config files... [2022-01-11T22:25:29.382Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1063970980438736006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:25:29.686Z] ---> docker-login.sh [2022-01-11T22:25:29.686Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:25:29.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:29.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:29.686Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:29.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:29.686Z] [2022-01-11T22:25:29.686Z] Login Succeeded [2022-01-11T22:25:29.686Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:25:29.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:29.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:29.686Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:29.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:29.686Z] [2022-01-11T22:25:29.686Z] Login Succeeded [2022-01-11T22:25:29.686Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:25:29.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:29.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:29.946Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:29.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:29.946Z] [2022-01-11T22:25:29.946Z] Login Succeeded [2022-01-11T22:25:29.946Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:25:29.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:29.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:29.946Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:29.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:29.946Z] [2022-01-11T22:25:29.946Z] Login Succeeded [2022-01-11T22:25:29.946Z] docker.io [2022-01-11T22:25:30.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:25:30.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:25:30.466Z] Configure a credential helper to remove this warning. See [2022-01-11T22:25:30.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:25:30.466Z] [2022-01-11T22:25:30.466Z] Login Succeeded [2022-01-11T22:25:30.466Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:25:30.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T22:25:30.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T22:25:30.549Z] ========================================================= [2022-01-11T22:25:30.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T22:25:30.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:25:30.856Z] + 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-11T22:25:30.856Z] Sending build context to Docker daemon 9.321MB [2022-01-11T22:25:30.856Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:25:30.856Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T22:25:30.856Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T22:25:30.856Z] a0d0a0d46f8b: Already exists [2022-01-11T22:25:30.856Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T22:25:30.856Z] b8b176561691: Pulling fs layer [2022-01-11T22:25:30.856Z] 4527c011a84f: Pulling fs layer [2022-01-11T22:25:30.856Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T22:25:30.856Z] e0aca202a116: Pulling fs layer [2022-01-11T22:25:30.856Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T22:25:30.856Z] 34cad66bf833: Pulling fs layer [2022-01-11T22:25:30.856Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T22:25:30.856Z] 5d74067f8e1e: Waiting [2022-01-11T22:25:30.856Z] e0aca202a116: Waiting [2022-01-11T22:25:30.856Z] 3a43be97a3b4: Waiting [2022-01-11T22:25:30.856Z] 34cad66bf833: Waiting [2022-01-11T22:25:30.856Z] b4e3c513aaa6: Waiting [2022-01-11T22:25:30.856Z] b8b176561691: Verifying Checksum [2022-01-11T22:25:30.856Z] b8b176561691: Download complete [2022-01-11T22:25:30.856Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T22:25:30.856Z] 31adcdaf11c8: Download complete [2022-01-11T22:25:31.132Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T22:25:31.132Z] 5d74067f8e1e: Download complete [2022-01-11T22:25:31.132Z] e0aca202a116: Verifying Checksum [2022-01-11T22:25:31.132Z] e0aca202a116: Download complete [2022-01-11T22:25:31.132Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T22:25:31.132Z] 3a43be97a3b4: Download complete [2022-01-11T22:25:31.132Z] 34cad66bf833: Verifying Checksum [2022-01-11T22:25:31.132Z] 34cad66bf833: Download complete [2022-01-11T22:25:31.132Z] 31adcdaf11c8: Pull complete [2022-01-11T22:25:31.132Z] b8b176561691: Pull complete [2022-01-11T22:25:31.729Z] 4527c011a84f: Verifying Checksum [2022-01-11T22:25:31.729Z] 4527c011a84f: Download complete [2022-01-11T22:25:31.729Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T22:25:31.729Z] b4e3c513aaa6: Download complete [2022-01-11T22:25:35.060Z] 4527c011a84f: Pull complete [2022-01-11T22:25:35.060Z] 5d74067f8e1e: Pull complete [2022-01-11T22:25:35.330Z] e0aca202a116: Pull complete [2022-01-11T22:25:35.330Z] 3a43be97a3b4: Pull complete [2022-01-11T22:25:35.330Z] 34cad66bf833: Pull complete [2022-01-11T22:25:37.891Z] b4e3c513aaa6: Pull complete [2022-01-11T22:25:37.891Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T22:25:38.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T22:25:38.151Z] ---> 9f6097aaca64 [2022-01-11T22:25:38.151Z] Step 3/10 : ARG MAKE=make build [2022-01-11T22:25:40.066Z] ---> Running in 2040fd8b4840 [2022-01-11T22:25:40.066Z] Removing intermediate container 2040fd8b4840 [2022-01-11T22:25:40.066Z] ---> dcbd361e1509 [2022-01-11T22:25:40.066Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T22:25:40.066Z] ---> Running in 4f08cdd284e2 [2022-01-11T22:25:40.066Z] Removing intermediate container 4f08cdd284e2 [2022-01-11T22:25:40.066Z] ---> fc75f13b4b94 [2022-01-11T22:25:40.066Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:25:40.066Z] ---> Running in b5e5eb376a74 [2022-01-11T22:25:40.326Z] Removing intermediate container b5e5eb376a74 [2022-01-11T22:25:40.326Z] ---> 74d56833de8a [2022-01-11T22:25:40.326Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:25:40.326Z] ---> Running in a62e10d24b1a [2022-01-11T22:25:40.586Z] Removing intermediate container a62e10d24b1a [2022-01-11T22:25:40.586Z] ---> c491d5857620 [2022-01-11T22:25:40.586Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:25:40.847Z] ---> Running in 7ba3977360a5 [2022-01-11T22:25:40.847Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T22:25:41.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T22:25:42.363Z] OK: 220 MiB in 52 packages [2022-01-11T22:25:42.363Z] Removing intermediate container 7ba3977360a5 [2022-01-11T22:25:42.363Z] ---> 7e0b9a597b2a [2022-01-11T22:25:42.363Z] Step 8/10 : COPY . . [2022-01-11T22:25:42.947Z] ---> 817882c25785 [2022-01-11T22:25:42.947Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:25:42.947Z] ---> Running in 3fa7c8d4d03e [2022-01-11T22:25:44.331Z] Still waiting to schedule task [2022-01-11T22:25:44.332Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-11T22:26:21.730Z] Removing intermediate container 3fa7c8d4d03e [2022-01-11T22:26:21.730Z] ---> d518e55b0ab5 [2022-01-11T22:26:21.730Z] Step 10/10 : RUN ${MAKE} [2022-01-11T22:26:21.730Z] ---> Running in 95613614fbf0 [2022-01-11T22:26:21.730Z] noop [2022-01-11T22:26:21.730Z] Removing intermediate container 95613614fbf0 [2022-01-11T22:26:21.730Z] ---> 0d3ba661f552 [2022-01-11T22:26:21.730Z] Successfully built 0d3ba661f552 [2022-01-11T22:26:21.730Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:26:22.032Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T22:26:22.032Z] . [Pipeline] withDockerContainer [2022-01-11T22:26:22.092Z] prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container [2022-01-11T22:26:22.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-01-11T22:26:22.443Z] $ docker top 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:26:22.799Z] + go version [2022-01-11T22:26:22.799Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T22:26:22.814Z] $ docker stop --time=1 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b [2022-01-11T22:26:24.001Z] $ docker rm -f 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:26:24.401Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T22:26:24.401Z] . [Pipeline] withDockerContainer [2022-01-11T22:26:24.460Z] prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container [2022-01-11T22:26:24.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-01-11T22:26:24.835Z] $ docker top fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T22:26:25.207Z] + make test [2022-01-11T22:26:25.207Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T22:26:30.533Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T22:26:52.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T22:26:52.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T22:26:52.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T22:26:53.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements [2022-01-11T22:26:53.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T22:26:53.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 27.6% of statements [2022-01-11T22:26:54.215Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2022-01-11T22:26:54.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2022-01-11T22:26:54.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T22:26:54.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T22:26:54.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T22:26:55.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.057s coverage: 28.7% of statements [2022-01-11T22:26:55.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T22:26:56.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements [2022-01-11T22:26:56.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T22:26:56.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T22:26:56.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.4% of statements [2022-01-11T22:26:57.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.834s coverage: 89.2% of statements [2022-01-11T22:26:57.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T22:26:57.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-01-11T22:26:57.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T22:27:05.931Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1297 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-11T22:27:05.943Z] Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout [2022-01-11T22:27:06.178Z] The recommended git tool is: git [2022-01-11T22:27:10.636Z] using credential edgex-jenkins-ssh [2022-01-11T22:27:10.657Z] Cloning the remote Git repository [2022-01-11T22:27:10.708Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T22:27:10.777Z] > git init /w/workspace/device-sdk-go/39 # timeout=10 [2022-01-11T22:27:10.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T22:27:10.844Z] > git --version # timeout=10 [2022-01-11T22:27:10.862Z] > git --version # 'git version 2.17.1' [2022-01-11T22:27:10.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T22:27:10.956Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T22:27:12.506Z] Avoid second fetch [2022-01-11T22:27:12.507Z] Checking out Revision df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc (main) [2022-01-11T22:27:12.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T22:27:12.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T22:27:12.530Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T22:27:12.654Z] > git checkout -f df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 [2022-01-11T22:27:16.900Z] Commit message: "Merge pull request #1080 from bnevis-i/issue-1029" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T22:27:17.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T22:27:17.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T22:27:17.742Z] Dload Upload Total Spent Left Speed [2022-01-11T22:27:19.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 11843 100 11843 0 0 4841 0 0:00:02 0:00:02 --:--:-- 4839 [Pipeline] sh [2022-01-11T22:27:20.512Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T22:27:20.867Z] + sudo tee /etc/docker/daemon.new [2022-01-11T22:27:20.867Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T22:27:20.867Z] { [2022-01-11T22:27:20.867Z] "registry-mirrors": [ [2022-01-11T22:27:20.867Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T22:27:20.867Z] ], [2022-01-11T22:27:20.867Z] "bip": "10.250.0.254/24", [2022-01-11T22:27:20.867Z] "hosts": [ [2022-01-11T22:27:20.867Z] "tcp://0.0.0.0:5555", [2022-01-11T22:27:20.867Z] "unix:///var/run/docker.sock" [2022-01-11T22:27:20.867Z] ], [2022-01-11T22:27:20.867Z] "mtu": 1458, [2022-01-11T22:27:20.867Z] "selinux-enabled": true, [2022-01-11T22:27:20.867Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T22:27:20.867Z] } [Pipeline] sh [2022-01-11T22:27:21.245Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T22:27:21.587Z] + sudo service docker restart [2022-01-11T22:27:24.055Z] GO111MODULE=on go vet ./... [2022-01-11T22:27:27.435Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T22:27:27.435Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T22:27:27.435Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T22:27:28.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T22:27:28.045Z] $ docker stop --time=1 fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 [2022-01-11T22:27:29.571Z] $ docker rm -f fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T22:27:30.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T22:27:30.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-11T22:27:31.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T22:27:31.550Z] + ls -al . [2022-01-11T22:27:31.551Z] total 268 [2022-01-11T22:27:31.551Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 11 22:27 . [2022-01-11T22:27:31.551Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 11 22:25 .. [2022-01-11T22:27:31.551Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 22:25 bin [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 22:25 CHANGELOG.md [2022-01-11T22:27:31.551Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 22:26 coverage.out [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 22:25 .dockerignore [2022-01-11T22:27:31.551Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 22:25 example [2022-01-11T22:27:31.551Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 22:25 .git [2022-01-11T22:27:31.551Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 22:25 .github [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 22:25 .gitignore [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 22:25 .golangci.yml [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 22:25 go.mod [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 22:25 go.sum [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 22:25 GOVERNANCE.md [2022-01-11T22:27:31.551Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 22:25 internal [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 22:25 Jenkinsfile [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 22:25 LICENSE [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 1613 Jan 11 22:25 Makefile [2022-01-11T22:27:31.551Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 22:25 openapi [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 22:25 OWNERS.md [2022-01-11T22:27:31.551Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 22:25 pkg [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 22:25 README.md [2022-01-11T22:27:31.551Z] drwx------. 3 jenkins jenkins 57 Jan 11 22:25 .semver [2022-01-11T22:27:31.551Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 22:25 snap [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 22:25 VERSION [2022-01-11T22:27:31.551Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 22:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:27:31.850Z] + 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=df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc --label arch=amd64 --label version=2.2.0-dev.7 . [2022-01-11T22:27:31.850Z] Sending build context to Docker daemon 9.451MB [2022-01-11T22:27:31.850Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:27:31.850Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T22:27:31.850Z] ---> 0d3ba661f552 [2022-01-11T22:27:31.850Z] Step 3/24 : ARG MAKE=make build [2022-01-11T22:27:32.112Z] ---> Running in 9153f472b157 [2022-01-11T22:27:32.112Z] Removing intermediate container 9153f472b157 [2022-01-11T22:27:32.112Z] ---> a24a12109bfe [2022-01-11T22:27:32.112Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T22:27:32.112Z] ---> Running in 5fc6b7bc35e0 [2022-01-11T22:27:32.379Z] Removing intermediate container 5fc6b7bc35e0 [2022-01-11T22:27:32.379Z] ---> d3f2dde4f8b9 [2022-01-11T22:27:32.379Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:27:32.379Z] ---> Running in e0ff3d591541 [2022-01-11T22:27:32.379Z] Removing intermediate container e0ff3d591541 [2022-01-11T22:27:32.379Z] ---> f687776f9e3a [2022-01-11T22:27:32.379Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:27:32.379Z] ---> Running in 1670060ea320 [2022-01-11T22:27:32.960Z] Removing intermediate container 1670060ea320 [2022-01-11T22:27:32.960Z] ---> b95b7d542256 [2022-01-11T22:27:32.960Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:27:32.960Z] ---> Running in cc9d092e080a [2022-01-11T22:27:33.223Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T22:27:34.165Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T22:27:34.424Z] OK: 220 MiB in 52 packages [2022-01-11T22:27:34.695Z] Removing intermediate container cc9d092e080a [2022-01-11T22:27:34.695Z] ---> 6f3b40c629f3 [2022-01-11T22:27:34.695Z] Step 8/24 : COPY . . [2022-01-11T22:27:34.954Z] ---> 53fdc9f40908 [2022-01-11T22:27:34.954Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:27:35.214Z] ---> Running in 05ecd723fde4 [2022-01-11T22:27:35.788Z] Removing intermediate container 05ecd723fde4 [2022-01-11T22:27:35.788Z] ---> e9d0993a8378 [2022-01-11T22:27:35.788Z] Step 10/24 : RUN ${MAKE} [2022-01-11T22:27:35.788Z] ---> Running in da6557734572 [2022-01-11T22:27:36.051Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:27:39.944Z] provisioning config files... [2022-01-11T22:27:39.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config6721564660345435915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:27:40.333Z] ---> docker-login.sh [2022-01-11T22:27:40.333Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:27:40.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:27:41.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:27:41.203Z] Configure a credential helper to remove this warning. See [2022-01-11T22:27:41.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:27:41.203Z] [2022-01-11T22:27:41.203Z] Login Succeeded [2022-01-11T22:27:41.203Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:27:41.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:27:41.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:27:41.475Z] Configure a credential helper to remove this warning. See [2022-01-11T22:27:41.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:27:41.475Z] [2022-01-11T22:27:41.475Z] Login Succeeded [2022-01-11T22:27:41.475Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:27:41.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:27:42.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:27:42.034Z] Configure a credential helper to remove this warning. See [2022-01-11T22:27:42.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:27:42.034Z] [2022-01-11T22:27:42.034Z] Login Succeeded [2022-01-11T22:27:42.034Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:27:42.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:27:42.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:27:42.304Z] Configure a credential helper to remove this warning. See [2022-01-11T22:27:42.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:27:42.304Z] [2022-01-11T22:27:42.304Z] Login Succeeded [2022-01-11T22:27:42.304Z] docker.io [2022-01-11T22:27:42.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:27:43.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:27:43.166Z] Configure a credential helper to remove this warning. See [2022-01-11T22:27:43.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:27:43.167Z] [2022-01-11T22:27:43.167Z] Login Succeeded [2022-01-11T22:27:43.167Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:27:43.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T22:27:43.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T22:27:43.724Z] ========================================================= [2022-01-11T22:27:43.724Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T22:27:43.724Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:27:44.075Z] + 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-11T22:27:44.348Z] Sending build context to Docker daemon 5.029MB [2022-01-11T22:27:44.627Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:27:44.627Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T22:27:44.627Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T22:27:44.627Z] 552d1f2373af: Pulling fs layer [2022-01-11T22:27:44.627Z] ea3f2d53f512: Pulling fs layer [2022-01-11T22:27:44.627Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T22:27:44.627Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T22:27:44.627Z] 72dc09318566: Pulling fs layer [2022-01-11T22:27:44.627Z] f4f7b4309257: Pulling fs layer [2022-01-11T22:27:44.627Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T22:27:44.627Z] b78e95d17946: Pulling fs layer [2022-01-11T22:27:44.627Z] 7a9cfe048b4a: Waiting [2022-01-11T22:27:44.627Z] 72dc09318566: Waiting [2022-01-11T22:27:44.627Z] f4f7b4309257: Waiting [2022-01-11T22:27:44.627Z] 0ac9a79272e3: Waiting [2022-01-11T22:27:44.627Z] b78e95d17946: Waiting [2022-01-11T22:27:44.627Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T22:27:44.627Z] 9e70ebbbe112: Download complete [2022-01-11T22:27:44.627Z] ea3f2d53f512: Verifying Checksum [2022-01-11T22:27:44.627Z] ea3f2d53f512: Download complete [2022-01-11T22:27:44.627Z] 72dc09318566: Verifying Checksum [2022-01-11T22:27:44.627Z] 72dc09318566: Download complete [2022-01-11T22:27:44.627Z] f4f7b4309257: Verifying Checksum [2022-01-11T22:27:44.627Z] f4f7b4309257: Download complete [2022-01-11T22:27:44.627Z] 552d1f2373af: Verifying Checksum [2022-01-11T22:27:44.627Z] 552d1f2373af: Download complete [2022-01-11T22:27:44.627Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T22:27:44.627Z] 0ac9a79272e3: Download complete [2022-01-11T22:27:45.609Z] 552d1f2373af: Pull complete [2022-01-11T22:27:45.883Z] ea3f2d53f512: Pull complete [2022-01-11T22:27:46.111Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T22:27:46.171Z] 9e70ebbbe112: Pull complete [2022-01-11T22:27:46.774Z] b78e95d17946: Verifying Checksum [2022-01-11T22:27:46.774Z] b78e95d17946: Download complete [2022-01-11T22:27:47.047Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T22:27:47.047Z] 7a9cfe048b4a: Download complete [2022-01-11T22:27:47.055Z] Removing intermediate container da6557734572 [2022-01-11T22:27:47.056Z] ---> c82936f52a3b [2022-01-11T22:27:47.056Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T22:27:47.631Z] 3.14: Pulling from library/alpine [2022-01-11T22:27:47.631Z] 97518928ae5f: Pulling fs layer [2022-01-11T22:27:47.895Z] 97518928ae5f: Verifying Checksum [2022-01-11T22:27:47.895Z] 97518928ae5f: Download complete [2022-01-11T22:27:48.157Z] 97518928ae5f: Pull complete [2022-01-11T22:27:48.157Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-11T22:27:48.157Z] Status: Downloaded newer image for alpine:3.14 [2022-01-11T22:27:48.157Z] ---> 0a97eee8041e [2022-01-11T22:27:48.157Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:27:48.157Z] ---> Running in 2cd218d5b992 [2022-01-11T22:27:48.157Z] Removing intermediate container 2cd218d5b992 [2022-01-11T22:27:48.157Z] ---> 781e3e208055 [2022-01-11T22:27:48.157Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:27:48.157Z] ---> Running in 9cb54435760e [2022-01-11T22:27:48.730Z] Removing intermediate container 9cb54435760e [2022-01-11T22:27:48.730Z] ---> e39d1155073c [2022-01-11T22:27:48.730Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-11T22:27:48.730Z] ---> Running in b8ddbb690186 [2022-01-11T22:27:48.990Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T22:27:49.561Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T22:27:50.133Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-11T22:27:50.133Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-11T22:27:50.133Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-11T22:27:50.396Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-11T22:27:50.396Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-11T22:27:50.396Z] Executing busybox-1.33.1-r6.trigger [2022-01-11T22:27:50.396Z] OK: 8 MiB in 19 packages [2022-01-11T22:27:50.659Z] Removing intermediate container b8ddbb690186 [2022-01-11T22:27:50.659Z] ---> 3575ad1db030 [2022-01-11T22:27:50.659Z] Step 15/24 : WORKDIR / [2022-01-11T22:27:50.659Z] ---> Running in 2f408802113e [2022-01-11T22:27:50.920Z] Removing intermediate container 2f408802113e [2022-01-11T22:27:50.920Z] ---> bbefa8a062b2 [2022-01-11T22:27:50.920Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-11T22:27:50.920Z] ---> 5588a44b0762 [2022-01-11T22:27:50.920Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-11T22:27:51.492Z] ---> a6edea97f444 [2022-01-11T22:27:51.492Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-11T22:27:51.492Z] ---> 07c96d74992d [2022-01-11T22:27:51.492Z] Step 19/24 : EXPOSE 59999 [2022-01-11T22:27:51.492Z] ---> Running in 6de66f5f5c3e [2022-01-11T22:27:51.751Z] Removing intermediate container 6de66f5f5c3e [2022-01-11T22:27:51.751Z] ---> dc3514346953 [2022-01-11T22:27:51.751Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-11T22:27:51.751Z] ---> Running in 5cea177a1b8c [2022-01-11T22:27:51.751Z] Removing intermediate container 5cea177a1b8c [2022-01-11T22:27:51.751Z] ---> d6525cc7fca5 [2022-01-11T22:27:51.751Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-11T22:27:51.751Z] ---> Running in e7b9792577b3 [2022-01-11T22:27:51.751Z] Removing intermediate container e7b9792577b3 [2022-01-11T22:27:51.751Z] ---> 215d538d953f [2022-01-11T22:27:51.751Z] Step 22/24 : LABEL arch=amd64 [2022-01-11T22:27:52.017Z] ---> Running in e95b4c39b98e [2022-01-11T22:27:52.017Z] Removing intermediate container e95b4c39b98e [2022-01-11T22:27:52.017Z] ---> 89bca27f0319 [2022-01-11T22:27:52.017Z] Step 23/24 : LABEL git_sha=df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [2022-01-11T22:27:52.017Z] ---> Running in 2295904eb910 [2022-01-11T22:27:52.017Z] Removing intermediate container 2295904eb910 [2022-01-11T22:27:52.017Z] ---> 806196692261 [2022-01-11T22:27:52.017Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-01-11T22:27:52.017Z] ---> Running in 4b1208ec509a [2022-01-11T22:27:52.279Z] Removing intermediate container 4b1208ec509a [2022-01-11T22:27:52.279Z] ---> c8c06d3fc078 [2022-01-11T22:27:52.279Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T22:27:52.279Z] Successfully built c8c06d3fc078 [2022-01-11T22:27:52.279Z] 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-11T22:27:52.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:27:52.671Z] [2022-01-11T22:27:52.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:27:52.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:27:52.973Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T22:27:52.973Z] b4d181a07f80: Pulling fs layer [2022-01-11T22:27:52.973Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T22:27:52.973Z] ed53099fbce6: Pulling fs layer [2022-01-11T22:27:52.973Z] dc539afda2c1: Pulling fs layer [2022-01-11T22:27:52.973Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T22:27:52.973Z] 9065ff56babe: Pulling fs layer [2022-01-11T22:27:52.973Z] d287ab97295c: Pulling fs layer [2022-01-11T22:27:52.973Z] dc539afda2c1: Waiting [2022-01-11T22:27:52.973Z] 77bc0d833cb6: Waiting [2022-01-11T22:27:52.973Z] 9065ff56babe: Waiting [2022-01-11T22:27:52.973Z] d287ab97295c: Waiting [2022-01-11T22:27:52.973Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T22:27:52.973Z] a1111a8f2ec3: Download complete [2022-01-11T22:27:52.973Z] dc539afda2c1: Verifying Checksum [2022-01-11T22:27:52.973Z] dc539afda2c1: Download complete [2022-01-11T22:27:52.973Z] ed53099fbce6: Verifying Checksum [2022-01-11T22:27:52.973Z] ed53099fbce6: Download complete [2022-01-11T22:27:52.973Z] 9065ff56babe: Verifying Checksum [2022-01-11T22:27:52.973Z] 9065ff56babe: Download complete [2022-01-11T22:27:53.232Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T22:27:53.232Z] 77bc0d833cb6: Download complete [2022-01-11T22:27:53.232Z] b4d181a07f80: Verifying Checksum [2022-01-11T22:27:53.232Z] b4d181a07f80: Download complete [2022-01-11T22:27:53.804Z] d287ab97295c: Verifying Checksum [2022-01-11T22:27:53.804Z] d287ab97295c: Download complete [2022-01-11T22:27:54.386Z] b4d181a07f80: Pull complete [2022-01-11T22:27:54.652Z] a1111a8f2ec3: Pull complete [2022-01-11T22:27:55.236Z] ed53099fbce6: Pull complete [2022-01-11T22:27:55.236Z] dc539afda2c1: Pull complete [2022-01-11T22:27:55.503Z] 77bc0d833cb6: Pull complete [2022-01-11T22:27:55.776Z] 9065ff56babe: Pull complete [2022-01-11T22:27:59.422Z] 7a9cfe048b4a: Pull complete [2022-01-11T22:27:59.422Z] 72dc09318566: Pull complete [2022-01-11T22:27:59.422Z] f4f7b4309257: Pull complete [2022-01-11T22:27:59.422Z] 0ac9a79272e3: Pull complete [2022-01-11T22:28:01.094Z] d287ab97295c: Pull complete [2022-01-11T22:28:01.094Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T22:28:01.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:28:01.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T22:28:01.160Z] prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container [2022-01-11T22:28:01.195Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T22:28:03.563Z] $ docker top 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:28:03.723Z] b78e95d17946: Pull complete [2022-01-11T22:28:03.723Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T22:28:03.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T22:28:03.723Z] ---> 8b459fc5aaf0 [2022-01-11T22:28:03.723Z] Step 3/10 : ARG MAKE=make build [2022-01-11T22:28:03.992Z] ---> job-cost.sh [2022-01-11T22:28:03.992Z] lf-activate-venv: SKIPPING [2022-01-11T22:28:03.992Z] INFO: No Stack... [2022-01-11T22:28:04.252Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T22:28:04.512Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T22:28:04.883Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-01-11T22:28:04.883Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T22:28:04.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [2022-01-11T22:28:04.957Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] did not exist. Created. [2022-01-11T22:28:04.957Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T22:28:05.393Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T22:28:05.462Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T22:28:05.472Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T22:28:05.496Z] $ docker stop --time=1 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a [2022-01-11T22:28:05.738Z] ---> Running in c6252de4362e [2022-01-11T22:28:05.738Z] Removing intermediate container c6252de4362e [2022-01-11T22:28:05.738Z] ---> 58271ea4d891 [2022-01-11T22:28:05.738Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T22:28:05.738Z] ---> Running in f560224b4860 [2022-01-11T22:28:06.334Z] Removing intermediate container f560224b4860 [2022-01-11T22:28:06.334Z] ---> 1b66fce0b9ac [2022-01-11T22:28:06.334Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:28:06.334Z] ---> Running in 1d2db1796bc8 [2022-01-11T22:28:06.606Z] Removing intermediate container 1d2db1796bc8 [2022-01-11T22:28:06.607Z] ---> 6aebf32f7eea [2022-01-11T22:28:06.607Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:28:06.654Z] $ docker rm -f 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T22:28:06.878Z] ---> Running in 3c3029e1138b [2022-01-11T22:28:08.851Z] Removing intermediate container 3c3029e1138b [2022-01-11T22:28:08.851Z] ---> becf65b15dd3 [2022-01-11T22:28:08.851Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:28:08.851Z] ---> Running in 050c88f49623 [2022-01-11T22:28:09.826Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T22:28:10.417Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T22:28:11.399Z] OK: 219 MiB in 52 packages [2022-01-11T22:28:11.993Z] Removing intermediate container 050c88f49623 [2022-01-11T22:28:11.993Z] ---> c9f919a88ee9 [2022-01-11T22:28:11.993Z] Step 8/10 : COPY . . [2022-01-11T22:28:13.427Z] ---> e9ff733db924 [2022-01-11T22:28:13.427Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:28:13.427Z] ---> Running in 1a99be2273e7 [2022-01-11T22:29:35.215Z] Removing intermediate container 1a99be2273e7 [2022-01-11T22:29:35.215Z] ---> f15d7a090e8b [2022-01-11T22:29:35.215Z] Step 10/10 : RUN ${MAKE} [2022-01-11T22:29:35.215Z] ---> Running in caf626d703ce [2022-01-11T22:29:35.215Z] noop [2022-01-11T22:29:35.215Z] Removing intermediate container caf626d703ce [2022-01-11T22:29:35.215Z] ---> 1db7ab3ad867 [2022-01-11T22:29:35.215Z] Successfully built 1db7ab3ad867 [2022-01-11T22:29:35.215Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:29:35.565Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T22:29:35.565Z] . [Pipeline] withDockerContainer [2022-01-11T22:29:35.762Z] prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container [2022-01-11T22:29:35.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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 ******** ci-base-image-arm64 cat [2022-01-11T22:29:37.021Z] $ docker top 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:29:37.898Z] + go version [2022-01-11T22:29:37.898Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T22:29:37.918Z] $ docker stop --time=1 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 [2022-01-11T22:29:39.512Z] $ docker rm -f 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:29:40.129Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T22:29:40.129Z] . [Pipeline] withDockerContainer [2022-01-11T22:29:40.355Z] prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container [2022-01-11T22:29:40.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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 ******** ci-base-image-arm64 cat [2022-01-11T22:29:41.714Z] $ docker top 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T22:29:42.613Z] + make test [2022-01-11T22:29:42.613Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T22:30:04.797Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-11T22:31:12.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-11T22:31:12.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-11T22:31:12.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-11T22:31:18.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.241s coverage: 23.3% of statements [2022-01-11T22:31:18.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-11T22:31:18.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.210s coverage: 27.6% of statements [2022-01-11T22:31:18.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.209s coverage: 78.9% of statements [2022-01-11T22:31:18.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.192s coverage: 9.0% of statements [2022-01-11T22:31:18.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-11T22:31:18.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-11T22:31:18.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-11T22:31:19.679Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 28.7% of statements [2022-01-11T22:31:19.679Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-11T22:31:19.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.317s coverage: 86.1% of statements [2022-01-11T22:31:19.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-11T22:31:19.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-11T22:31:20.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 57.4% of statements [2022-01-11T22:31:24.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.043s coverage: 89.2% of statements [2022-01-11T22:31:24.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-11T22:31:24.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.8% of statements [2022-01-11T22:31:24.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-11T22:31:25.446Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T22:31:25.446Z] GO111MODULE=on go vet ./... [2022-01-11T22:32:21.987Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T22:32:21.987Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-11T22:32:21.987Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-11T22:32:22.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T22:32:22.014Z] $ docker stop --time=1 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 [2022-01-11T22:32:23.823Z] $ docker rm -f 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T22:32:24.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T22:32:24.895Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T22:32:25.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T22:32:25.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T22:32:26.111Z] + ls -al . [2022-01-11T22:32:26.111Z] total 304 [2022-01-11T22:32:26.111Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:32 . [2022-01-11T22:32:26.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:27 .. [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 22:27 .dockerignore [2022-01-11T22:32:26.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 22:27 .git [2022-01-11T22:32:26.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:27 .github [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 22:27 .gitignore [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 22:27 .golangci.yml [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 22:27 CHANGELOG.md [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 22:27 GOVERNANCE.md [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 22:27 Jenkinsfile [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 22:27 LICENSE [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 1613 Jan 11 22:27 Makefile [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 22:27 OWNERS.md [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 22:27 README.md [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 22:25 VERSION [2022-01-11T22:32:26.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 22:27 bin [2022-01-11T22:32:26.111Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 22:31 coverage.out [2022-01-11T22:32:26.111Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 22:27 example [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 22:27 go.mod [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 22:27 go.sum [2022-01-11T22:32:26.111Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 22:27 internal [2022-01-11T22:32:26.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:27 openapi [2022-01-11T22:32:26.111Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 22:27 pkg [2022-01-11T22:32:26.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:27 snap [2022-01-11T22:32:26.111Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 22:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:32:26.448Z] + 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=df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc --label arch=arm64 --label version=2.2.0-dev.7 . [2022-01-11T22:32:26.719Z] Sending build context to Docker daemon 5.159MB [2022-01-11T22:32:26.719Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:32:26.719Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-11T22:32:26.719Z] ---> 1db7ab3ad867 [2022-01-11T22:32:26.719Z] Step 3/24 : ARG MAKE=make build [2022-01-11T22:32:26.990Z] ---> Running in 6c06b1e0a108 [2022-01-11T22:32:27.264Z] Removing intermediate container 6c06b1e0a108 [2022-01-11T22:32:27.264Z] ---> 8e25221199e7 [2022-01-11T22:32:27.264Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-11T22:32:27.537Z] ---> Running in 1e4aff04c6f1 [2022-01-11T22:32:27.807Z] Removing intermediate container 1e4aff04c6f1 [2022-01-11T22:32:27.807Z] ---> 6b24d3ca106f [2022-01-11T22:32:27.807Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:32:27.807Z] ---> Running in 904fecd2fe8b [2022-01-11T22:32:28.401Z] Removing intermediate container 904fecd2fe8b [2022-01-11T22:32:28.401Z] ---> d4f8336f3ab8 [2022-01-11T22:32:28.402Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:32:28.402Z] ---> Running in 1db692ad53d2 [2022-01-11T22:32:30.374Z] Removing intermediate container 1db692ad53d2 [2022-01-11T22:32:30.374Z] ---> fe2e8ecb6362 [2022-01-11T22:32:30.374Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:32:30.374Z] ---> Running in d6b5c2301bcb [2022-01-11T22:32:31.356Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T22:32:31.942Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T22:32:32.919Z] OK: 219 MiB in 52 packages [2022-01-11T22:32:33.523Z] Removing intermediate container d6b5c2301bcb [2022-01-11T22:32:33.523Z] ---> 301c1899c03a [2022-01-11T22:32:33.523Z] Step 8/24 : COPY . . [2022-01-11T22:32:34.967Z] ---> 36fd7e624271 [2022-01-11T22:32:34.967Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:32:34.967Z] ---> Running in 787d887643bb [2022-01-11T22:32:36.959Z] Removing intermediate container 787d887643bb [2022-01-11T22:32:36.959Z] ---> b42bad91879f [2022-01-11T22:32:36.959Z] Step 10/24 : RUN ${MAKE} [2022-01-11T22:32:36.959Z] ---> Running in 4785a12de0fd [2022-01-11T22:32:37.939Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-11T22:33:10.308Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-11T22:33:12.927Z] Removing intermediate container 4785a12de0fd [2022-01-11T22:33:12.928Z] ---> 5aa4183ade6e [2022-01-11T22:33:12.928Z] Step 11/24 : FROM alpine:3.14 [2022-01-11T22:33:13.519Z] 3.14: Pulling from library/alpine [2022-01-11T22:33:13.519Z] be307f383ecc: Pulling fs layer [2022-01-11T22:33:13.790Z] error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/5b/5b8b7b6352293ecb87f49e6202b97cb9cbd63cf6bc2940e4028d1f4a575fe529/data?verify=1641943393-s4SMFUNVfXEDn3pcNW2BEaaJrnA%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:33:14.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:33:14.199Z] [2022-01-11T22:33:14.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:33:14.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:33:14.818Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T22:33:14.818Z] 448f6bf000e3: Pulling fs layer [2022-01-11T22:33:14.818Z] f757da607395: Pulling fs layer [2022-01-11T22:33:14.818Z] 05883995daec: Pulling fs layer [2022-01-11T22:33:14.818Z] 8603b9c90790: Pulling fs layer [2022-01-11T22:33:14.818Z] 1560dd03e051: Pulling fs layer [2022-01-11T22:33:14.818Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T22:33:14.818Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T22:33:14.818Z] 8603b9c90790: Waiting [2022-01-11T22:33:14.818Z] 1560dd03e051: Waiting [2022-01-11T22:33:14.818Z] 27f5ce0e4adf: Waiting [2022-01-11T22:33:14.818Z] c2d8d7efcc4b: Waiting [2022-01-11T22:33:14.818Z] f757da607395: Verifying Checksum [2022-01-11T22:33:14.818Z] f757da607395: Download complete [2022-01-11T22:33:14.818Z] 8603b9c90790: Verifying Checksum [2022-01-11T22:33:14.818Z] 8603b9c90790: Download complete [2022-01-11T22:33:14.818Z] 1560dd03e051: Verifying Checksum [2022-01-11T22:33:14.818Z] 1560dd03e051: Download complete [2022-01-11T22:33:14.818Z] 27f5ce0e4adf: Download complete [2022-01-11T22:33:15.093Z] 05883995daec: Verifying Checksum [2022-01-11T22:33:15.093Z] 05883995daec: Download complete [2022-01-11T22:33:15.368Z] 448f6bf000e3: Verifying Checksum [2022-01-11T22:33:15.368Z] 448f6bf000e3: Download complete [2022-01-11T22:33:17.990Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T22:33:17.990Z] c2d8d7efcc4b: Download complete [2022-01-11T22:33:18.969Z] 448f6bf000e3: Pull complete [2022-01-11T22:33:19.566Z] f757da607395: Pull complete [2022-01-11T22:33:21.002Z] 05883995daec: Pull complete [2022-01-11T22:33:21.274Z] 8603b9c90790: Pull complete [2022-01-11T22:33:22.250Z] 1560dd03e051: Pull complete [2022-01-11T22:33:22.250Z] 27f5ce0e4adf: Pull complete [2022-01-11T22:33:37.330Z] c2d8d7efcc4b: Pull complete [2022-01-11T22:33:37.330Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T22:33:37.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:33:37.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T22:33:37.563Z] prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container [2022-01-11T22:33:37.635Z] $ 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/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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:arm64 cat [2022-01-11T22:33:40.264Z] $ docker top ecc6f1449bba514dbb7cc63fc7e528a4b529c140d8ab73fbdf9f246e0b42c089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:41.178Z] ---> job-cost.sh [2022-01-11T22:33:41.178Z] lf-activate-venv: SKIPPING [2022-01-11T22:33:41.178Z] INFO: No Stack... [2022-01-11T22:33:41.448Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T22:33:42.038Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T22:33:42.698Z] + cut -d, -f6 [2022-01-11T22:33:42.698Z] + cat /w/workspace/device-sdk-go/39/archives/cost.csv [Pipeline] lock [2022-01-11T22:33:42.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [2022-01-11T22:33:42.772Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] did not exist. Created. [2022-01-11T22:33:42.772Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T22:33:43.445Z] /w/workspace/device-sdk-go/39@tmp/durable-4d991d52/script.sh: 1: /w/workspace/device-sdk-go/39@tmp/durable-4d991d52/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T22:33:44.121Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T22:33:44.143Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T22:33:44.205Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T22:33:44.212Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T22:33:44.220Z] $ docker stop --time=1 ecc6f1449bba514dbb7cc63fc7e528a4b529c140d8ab73fbdf9f246e0b42c089 [2022-01-11T22:33:45.715Z] $ docker rm -f ecc6f1449bba514dbb7cc63fc7e528a4b529c140d8ab73fbdf9f246e0b42c089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T22:33:46.029Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-11T22:33:46.676Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-11T22:33:46.676Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-11T22:33:46.676Z] total 8 [2022-01-11T22:33:46.676Z] drwxr-xr-x. 3 root root 34 Jan 11 22:28 . [2022-01-11T22:33:46.676Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:28 .. [2022-01-11T22:33:46.676Z] drwxr-xr-x. 2 root root 6 Jan 11 22:28 cost [2022-01-11T22:33:46.676Z] -rw-r--r--. 1 root root 83 Jan 11 22:28 cost.csv [2022-01-11T22:33:46.676Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-11T22:33:46.676Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-11T22:33:46.676Z] total 8 [2022-01-11T22:33:46.676Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 22:28 . [2022-01-11T22:33:46.676Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:28 .. [2022-01-11T22:33:46.676Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 22:28 cost [2022-01-11T22:33:46.676Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 11 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:46.973Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:47.533Z] ---> package-listing.sh [2022-01-11T22:33:47.534Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T22:33:47.534Z] ++ facter osfamily [2022-01-11T22:33:47.794Z] + OS_FAMILY=redhat [2022-01-11T22:33:47.794Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-11T22:33:47.794Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T22:33:47.794Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T22:33:47.794Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T22:33:47.794Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T22:33:47.794Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-11T22:33:47.794Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T22:33:47.794Z] + case "${OS_FAMILY}" in [2022-01-11T22:33:47.794Z] + sort [2022-01-11T22:33:47.794Z] + rpm -qa [2022-01-11T22:33:48.363Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T22:33:48.363Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T22:33:48.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T22:33:48.363Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-11T22:33:48.363Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-11T22:33:48.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-01-11T22:33:48.376Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T22:33:48.660Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:33:49.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:33:49.222Z] . [Pipeline] withDockerContainer [2022-01-11T22:33:49.283Z] prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container [2022-01-11T22:33:49.315Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T22:33:49.501Z] $ docker top fe8dfc6165c7fcd9effdbd9e526e79c5f1a02b3ed3958a3af5414ad86598f13e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:33:49.859Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T22:33:50.149Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T22:33:50.442Z] + ls /var/log/sa-host [2022-01-11T22:33:50.442Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T22:33:50.442Z] file_magic: OK [2022-01-11T22:33:50.442Z] HZ: Using current value: 100 [2022-01-11T22:33:50.442Z] file_header: OK [2022-01-11T22:33:50.442Z] 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-11T22:33:50.442Z] Statistics: [2022-01-11T22:33:50.442Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T22:33:50.442Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T22:33:50.442Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T22:33:50.442Z] file_magic: OK [2022-01-11T22:33:50.442Z] HZ: Using current value: 100 [2022-01-11T22:33:50.442Z] file_header: OK [2022-01-11T22:33:50.442Z] 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-11T22:33:50.442Z] Statistics: [2022-01-11T22:33:50.442Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T22:33:50.442Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:33:50.525Z] provisioning config files... [2022-01-11T22:33:50.535Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6847535135947927234tmp [Pipeline] { [Pipeline] echo [2022-01-11T22:33:50.548Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:50.836Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T22:33:50.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:51.180Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T22:33:51.188Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:51.483Z] ---> sudo-logs.sh [2022-01-11T22:33:51.483Z] Archiving 'sudo' log.. [2022-01-11T22:33:51.483Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1296.novalocal: Name or service not known [2022-01-11T22:33:51.483Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1296.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T22:33:51.507Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:51.798Z] ---> job-cost.sh [2022-01-11T22:33:51.798Z] lf-activate-venv: SKIPPING [2022-01-11T22:33:51.798Z] DEBUG: total: 0.05999999865889549 [2022-01-11T22:33:51.798Z] INFO: Retrieving Stack Cost... [2022-01-11T22:33:52.059Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T22:33:52.320Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T22:33:52.336Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:33:52.630Z] ---> logs-deploy.sh [2022-01-11T22:33:52.630Z] lf-activate-venv: SKIPPING [2022-01-11T22:33:52.630Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/39 [2022-01-11T22:33:52.630Z] INFO: archiving workspace using pattern(s): [2022-01-11T22:33:53.201Z] Archives upload complete. [2022-01-11T22:33:53.461Z] INFO: archiving logs to Nexus