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 22:25:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:25:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:16 ========================================================= 22:25:16 EdgeX Global Pipelines Version Info 22:25:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:25:17 ------------------- 22:25:17 stable info: 22:25:17 ------------------- 22:25:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:25:17 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 22:25:17 Message: update stable to v1.0.218 22:25:18 ------------------- 22:25:18 experimental info: 22:25:18 ------------------- 22:25:18 Commited By: **** collab-it+edgex@linuxfoundation.org 22:25:18 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 22:25:18 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df5f27d [Pipeline] echo 22:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:19 provisioning config files... 22:25:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3176772285244170512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:19 ---> docker-login.sh 22:25:19 nexus3.edgexfoundry.org:10001 22:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:19 Configure a credential helper to remove this warning. See 22:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:19 22:25:19 Login Succeeded 22:25:19 nexus3.edgexfoundry.org:10002 22:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:19 Configure a credential helper to remove this warning. See 22:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:19 22:25:19 Login Succeeded 22:25:19 nexus3.edgexfoundry.org:10003 22:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:20 Configure a credential helper to remove this warning. See 22:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:20 22:25:20 Login Succeeded 22:25:20 nexus3.edgexfoundry.org:10004 22:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:20 Configure a credential helper to remove this warning. See 22:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:20 22:25:20 Login Succeeded 22:25:20 docker.io 22:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:20 Configure a credential helper to remove this warning. See 22:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:20 22:25:20 Login Succeeded 22:25:20 ---> docker-login.sh ends [Pipeline] } 22:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:25:20 + git rev-list -1 --merges df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc~1..df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo 22:25:20 -----------> git rev-list -1 --merges df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc~1..df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc 22:25:20 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [false] [Pipeline] sh 22:25:21 + git log --format=format:%s -1 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo 22:25:21 ========================================================= 22:25:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:25:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:21 + git log --format=format:%s -1 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc [Pipeline] echo 22:25:21 [semverPrep] GIT_COMMIT: df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc, Commit Message: Merge pull request #1080 from bnevis-i/issue-1029 [Pipeline] echo 22:25:21 [semverPrep] This is not a build commit. [Pipeline] sh 22:25:22 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:25:22 + grep -v github /etc/ssh/ssh_known_hosts 22:25:22 + '[' -e /tmp/ssh_known_hosts ']' 22:25:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:25:22 + sudo tee -a /etc/ssh/ssh_known_hosts 22:25:22 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:25:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:25:22 22:25:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:25:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:25:22 latest: Pulling from edgex-devops/git-semver 22:25:22 a0d0a0d46f8b: Pulling fs layer 22:25:22 3e5f54012d9b: Pulling fs layer 22:25:22 4c7163046ea9: Pulling fs layer 22:25:22 0c2d73faf560: Pulling fs layer 22:25:22 0c2d73faf560: Waiting 22:25:22 3e5f54012d9b: Verifying Checksum 22:25:22 3e5f54012d9b: Download complete 22:25:22 a0d0a0d46f8b: Verifying Checksum 22:25:22 a0d0a0d46f8b: Download complete 22:25:22 4c7163046ea9: Verifying Checksum 22:25:22 4c7163046ea9: Download complete 22:25:22 0c2d73faf560: Verifying Checksum 22:25:22 0c2d73faf560: Download complete 22:25:23 a0d0a0d46f8b: Pull complete 22:25:23 3e5f54012d9b: Pull complete 22:25:23 4c7163046ea9: Pull complete 22:25:23 0c2d73faf560: Pull complete 22:25:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:25:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:25:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:25:23 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:25:23 $ 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 22:25:24 $ docker top fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:25:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:24 [ssh-agent] Looking for ssh-agent implementation... 22:25:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:24 $ docker exec fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent 22:25:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdJbmgO/agent.13 22:25:24 SSH_AGENT_PID=19 22:25:24 Running ssh-add (command line suppressed) 22:25:24 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) 22:25:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:25 + git tag --points-at HEAD [Pipeline] } 22:25:25 $ docker exec --env ******** --env ******** fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent -k 22:25:25 unset SSH_AUTH_SOCK; 22:25:25 unset SSH_AGENT_PID; 22:25:25 echo Agent pid 19 killed; 22:25:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:25 [ssh-agent] Looking for ssh-agent implementation... 22:25:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:25 $ docker exec fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent 22:25:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObgDOI/agent.52 22:25:25 SSH_AGENT_PID=58 22:25:25 Running ssh-add (command line suppressed) 22:25:25 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) 22:25:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:26 + git semver init 22:25:26 # -> Open(): unable to determine branch for HEAD 22:25:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 22:25:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 22:25:26 # $SEMVER_REMOTE_NAME = origin 22:25:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:25:26 # $SEMVER_USER_NAME = edgex-jenkins 22:25:26 # $SEMVER_BRANCH = main 22:25:26 # $SEMVER_TEMP = /tmp/semver-512973381 22:25:26 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:25:26 # '/tmp/semver-512973381' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 22:25:26 # -> Force: false 22:25:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 22:25:26 $ docker exec --env ******** --env ******** fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b ssh-agent -k 22:25:27 unset SSH_AUTH_SOCK; 22:25:27 unset SSH_AGENT_PID; 22:25:27 echo Agent pid 58 killed; 22:25:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:25:27 + git semver [Pipeline] } 22:25:27 $ docker stop --time=1 fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b 22:25:28 $ docker rm -f fffc801a79e10a2c7ff916a880d4a9aaa691477851f15992bbeceb27f10e619b [Pipeline] // withDockerContainer [Pipeline] sh 22:25:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:25:29 Stashed 1 file(s) [Pipeline] echo 22:25:29 [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 22:25:29 provisioning config files... 22:25:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1063970980438736006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:29 ---> docker-login.sh 22:25:29 nexus3.edgexfoundry.org:10001 22:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:29 Configure a credential helper to remove this warning. See 22:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:29 22:25:29 Login Succeeded 22:25:29 nexus3.edgexfoundry.org:10002 22:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:29 Configure a credential helper to remove this warning. See 22:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:29 22:25:29 Login Succeeded 22:25:29 nexus3.edgexfoundry.org:10003 22:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:29 Configure a credential helper to remove this warning. See 22:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:29 22:25:29 Login Succeeded 22:25:29 nexus3.edgexfoundry.org:10004 22:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:29 Configure a credential helper to remove this warning. See 22:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:29 22:25:29 Login Succeeded 22:25:29 docker.io 22:25:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:30 Configure a credential helper to remove this warning. See 22:25:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:30 22:25:30 Login Succeeded 22:25:30 ---> docker-login.sh ends [Pipeline] } 22:25:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:30 ========================================================= 22:25:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:25:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:25:30 + 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 . 22:25:30 Sending build context to Docker daemon 9.321MB 22:25:30 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:25:30 Step 2/10 : FROM ${BASE} AS builder 22:25:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:25:30 a0d0a0d46f8b: Already exists 22:25:30 31adcdaf11c8: Pulling fs layer 22:25:30 b8b176561691: Pulling fs layer 22:25:30 4527c011a84f: Pulling fs layer 22:25:30 5d74067f8e1e: Pulling fs layer 22:25:30 e0aca202a116: Pulling fs layer 22:25:30 3a43be97a3b4: Pulling fs layer 22:25:30 34cad66bf833: Pulling fs layer 22:25:30 b4e3c513aaa6: Pulling fs layer 22:25:30 5d74067f8e1e: Waiting 22:25:30 e0aca202a116: Waiting 22:25:30 3a43be97a3b4: Waiting 22:25:30 34cad66bf833: Waiting 22:25:30 b4e3c513aaa6: Waiting 22:25:30 b8b176561691: Verifying Checksum 22:25:30 b8b176561691: Download complete 22:25:30 31adcdaf11c8: Verifying Checksum 22:25:30 31adcdaf11c8: Download complete 22:25:31 5d74067f8e1e: Verifying Checksum 22:25:31 5d74067f8e1e: Download complete 22:25:31 e0aca202a116: Verifying Checksum 22:25:31 e0aca202a116: Download complete 22:25:31 3a43be97a3b4: Verifying Checksum 22:25:31 3a43be97a3b4: Download complete 22:25:31 34cad66bf833: Verifying Checksum 22:25:31 34cad66bf833: Download complete 22:25:31 31adcdaf11c8: Pull complete 22:25:31 b8b176561691: Pull complete 22:25:31 4527c011a84f: Verifying Checksum 22:25:31 4527c011a84f: Download complete 22:25:31 b4e3c513aaa6: Verifying Checksum 22:25:31 b4e3c513aaa6: Download complete 22:25:35 4527c011a84f: Pull complete 22:25:35 5d74067f8e1e: Pull complete 22:25:35 e0aca202a116: Pull complete 22:25:35 3a43be97a3b4: Pull complete 22:25:35 34cad66bf833: Pull complete 22:25:37 b4e3c513aaa6: Pull complete 22:25:37 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 22:25:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:25:38 ---> 9f6097aaca64 22:25:38 Step 3/10 : ARG MAKE=make build 22:25:40 ---> Running in 2040fd8b4840 22:25:40 Removing intermediate container 2040fd8b4840 22:25:40 ---> dcbd361e1509 22:25:40 Step 4/10 : WORKDIR /device-sdk-go 22:25:40 ---> Running in 4f08cdd284e2 22:25:40 Removing intermediate container 4f08cdd284e2 22:25:40 ---> fc75f13b4b94 22:25:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:25:40 ---> Running in b5e5eb376a74 22:25:40 Removing intermediate container b5e5eb376a74 22:25:40 ---> 74d56833de8a 22:25:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:40 ---> Running in a62e10d24b1a 22:25:40 Removing intermediate container a62e10d24b1a 22:25:40 ---> c491d5857620 22:25:40 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:25:40 ---> Running in 7ba3977360a5 22:25:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:25:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:25:42 OK: 220 MiB in 52 packages 22:25:42 Removing intermediate container 7ba3977360a5 22:25:42 ---> 7e0b9a597b2a 22:25:42 Step 8/10 : COPY . . 22:25:42 ---> 817882c25785 22:25:42 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:42 ---> Running in 3fa7c8d4d03e 22:25:44 Still waiting to schedule task 22:25:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:26:21 Removing intermediate container 3fa7c8d4d03e 22:26:21 ---> d518e55b0ab5 22:26:21 Step 10/10 : RUN ${MAKE} 22:26:21 ---> Running in 95613614fbf0 22:26:21 noop 22:26:21 Removing intermediate container 95613614fbf0 22:26:21 ---> 0d3ba661f552 22:26:21 Successfully built 0d3ba661f552 22:26:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:26:22 + docker inspect -f . ci-base-image-x86_64 22:26:22 . [Pipeline] withDockerContainer 22:26:22 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:26:22 $ 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 22:26:22 $ docker top 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:22 + go version 22:26:22 go version go1.16.8 linux/amd64 [Pipeline] } 22:26:22 $ docker stop --time=1 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b 22:26:24 $ docker rm -f 29d7a42da8d62cf56b959f94a556e53bd2de3be6f43f8011168b815fcc523d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:26:24 + docker inspect -f . ci-base-image-x86_64 22:26:24 . [Pipeline] withDockerContainer 22:26:24 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:26:24 $ 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 22:26:24 $ docker top fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:26:25 + make test 22:26:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:26:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:26:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:26:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:26:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:26:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements 22:26:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:26:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 27.6% of statements 22:26:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements 22:26:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements 22:26:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:26:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:26:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:26:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.057s coverage: 28.7% of statements 22:26:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:26:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements 22:26:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:26:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:26:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.4% of statements 22:26:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.834s coverage: 89.2% of statements 22:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:26:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements 22:26:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:27:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1297 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 22:27:05 Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout 22:27:06 The recommended git tool is: git 22:27:10 using credential edgex-jenkins-ssh 22:27:10 Cloning the remote Git repository 22:27:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:27:10 > git init /w/workspace/device-sdk-go/39 # timeout=10 22:27:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:27:10 > git --version # timeout=10 22:27:10 > git --version # 'git version 2.17.1' 22:27:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:27:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:27:12 Avoid second fetch 22:27:12 Checking out Revision df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc (main) 22:27:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:27:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:27:12 > git config core.sparsecheckout # timeout=10 22:27:12 > git checkout -f df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 22:27:16 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 22:27:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:27:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:27:17 Dload Upload Total Spent Left Speed 22:27:19 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 22:27:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:27:20 + sudo tee /etc/docker/daemon.new 22:27:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:27:20 { 22:27:20 "registry-mirrors": [ 22:27:20 "https://nexus3.edgexfoundry.org:10001" 22:27:20 ], 22:27:20 "bip": "10.250.0.254/24", 22:27:20 "hosts": [ 22:27:20 "tcp://0.0.0.0:5555", 22:27:20 "unix:///var/run/docker.sock" 22:27:20 ], 22:27:20 "mtu": 1458, 22:27:20 "selinux-enabled": true, 22:27:20 "seccomp-profile": "/etc/docker/seccomp.json" 22:27:20 } [Pipeline] sh 22:27:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:27:21 + sudo service docker restart 22:27:24 GO111MODULE=on go vet ./... 22:27:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:27 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:28 $ docker stop --time=1 fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 22:27:29 $ docker rm -f fb71601c5a3cf988c915535be54dfb162927125aa94b6a9970f5ccc1f915a551 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:27:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:31 + ls -al . 22:27:31 total 268 22:27:31 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 11 22:27 . 22:27:31 drwxrwxr-x. 4 jenkins jenkins 110 Jan 11 22:25 .. 22:27:31 drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 22:25 bin 22:27:31 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 22:25 CHANGELOG.md 22:27:31 -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 22:26 coverage.out 22:27:31 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 22:25 .dockerignore 22:27:31 drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 22:25 example 22:27:31 drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 22:25 .git 22:27:31 drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 22:25 .github 22:27:31 -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 22:25 .gitignore 22:27:31 -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 22:25 .golangci.yml 22:27:31 -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 22:25 go.mod 22:27:31 -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 22:25 go.sum 22:27:31 -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 22:25 GOVERNANCE.md 22:27:31 drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 22:25 internal 22:27:31 -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 22:25 Jenkinsfile 22:27:31 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 22:25 LICENSE 22:27:31 -rw-rw-r--. 1 jenkins jenkins 1613 Jan 11 22:25 Makefile 22:27:31 drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 22:25 openapi 22:27:31 -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 22:25 OWNERS.md 22:27:31 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 22:25 pkg 22:27:31 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 22:25 README.md 22:27:31 drwx------. 3 jenkins jenkins 57 Jan 11 22:25 .semver 22:27:31 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 22:25 snap 22:27:31 -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 22:25 VERSION 22:27:31 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 22:25 version.go [Pipeline] isUnix [Pipeline] sh 22:27:31 + 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 . 22:27:31 Sending build context to Docker daemon 9.451MB 22:27:31 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:27:31 Step 2/24 : FROM ${BASE} AS builder 22:27:31 ---> 0d3ba661f552 22:27:31 Step 3/24 : ARG MAKE=make build 22:27:32 ---> Running in 9153f472b157 22:27:32 Removing intermediate container 9153f472b157 22:27:32 ---> a24a12109bfe 22:27:32 Step 4/24 : WORKDIR /device-sdk-go 22:27:32 ---> Running in 5fc6b7bc35e0 22:27:32 Removing intermediate container 5fc6b7bc35e0 22:27:32 ---> d3f2dde4f8b9 22:27:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:27:32 ---> Running in e0ff3d591541 22:27:32 Removing intermediate container e0ff3d591541 22:27:32 ---> f687776f9e3a 22:27:32 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:32 ---> Running in 1670060ea320 22:27:32 Removing intermediate container 1670060ea320 22:27:32 ---> b95b7d542256 22:27:32 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:27:32 ---> Running in cc9d092e080a 22:27:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:27:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:27:34 OK: 220 MiB in 52 packages 22:27:34 Removing intermediate container cc9d092e080a 22:27:34 ---> 6f3b40c629f3 22:27:34 Step 8/24 : COPY . . 22:27:34 ---> 53fdc9f40908 22:27:34 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:35 ---> Running in 05ecd723fde4 22:27:35 Removing intermediate container 05ecd723fde4 22:27:35 ---> e9d0993a8378 22:27:35 Step 10/24 : RUN ${MAKE} 22:27:35 ---> Running in da6557734572 22:27:36 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 22:27:39 provisioning config files... 22:27:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config6721564660345435915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:40 ---> docker-login.sh 22:27:40 nexus3.edgexfoundry.org:10001 22:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:41 Configure a credential helper to remove this warning. See 22:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:41 22:27:41 Login Succeeded 22:27:41 nexus3.edgexfoundry.org:10002 22:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:41 Configure a credential helper to remove this warning. See 22:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:41 22:27:41 Login Succeeded 22:27:41 nexus3.edgexfoundry.org:10003 22:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:42 Configure a credential helper to remove this warning. See 22:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:42 22:27:42 Login Succeeded 22:27:42 nexus3.edgexfoundry.org:10004 22:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:42 Configure a credential helper to remove this warning. See 22:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:42 22:27:42 Login Succeeded 22:27:42 docker.io 22:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:43 Configure a credential helper to remove this warning. See 22:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:43 22:27:43 Login Succeeded 22:27:43 ---> docker-login.sh ends [Pipeline] } 22:27:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:27:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:27:43 ========================================================= 22:27:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:27:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:27:44 + 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 . 22:27:44 Sending build context to Docker daemon 5.029MB 22:27:44 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:27:44 Step 2/10 : FROM ${BASE} AS builder 22:27:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:27:44 552d1f2373af: Pulling fs layer 22:27:44 ea3f2d53f512: Pulling fs layer 22:27:44 9e70ebbbe112: Pulling fs layer 22:27:44 7a9cfe048b4a: Pulling fs layer 22:27:44 72dc09318566: Pulling fs layer 22:27:44 f4f7b4309257: Pulling fs layer 22:27:44 0ac9a79272e3: Pulling fs layer 22:27:44 b78e95d17946: Pulling fs layer 22:27:44 7a9cfe048b4a: Waiting 22:27:44 72dc09318566: Waiting 22:27:44 f4f7b4309257: Waiting 22:27:44 0ac9a79272e3: Waiting 22:27:44 b78e95d17946: Waiting 22:27:44 9e70ebbbe112: Verifying Checksum 22:27:44 9e70ebbbe112: Download complete 22:27:44 ea3f2d53f512: Verifying Checksum 22:27:44 ea3f2d53f512: Download complete 22:27:44 72dc09318566: Verifying Checksum 22:27:44 72dc09318566: Download complete 22:27:44 f4f7b4309257: Verifying Checksum 22:27:44 f4f7b4309257: Download complete 22:27:44 552d1f2373af: Verifying Checksum 22:27:44 552d1f2373af: Download complete 22:27:44 0ac9a79272e3: Verifying Checksum 22:27:44 0ac9a79272e3: Download complete 22:27:45 552d1f2373af: Pull complete 22:27:45 ea3f2d53f512: Pull complete 22:27:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:27:46 9e70ebbbe112: Pull complete 22:27:46 b78e95d17946: Verifying Checksum 22:27:46 b78e95d17946: Download complete 22:27:47 7a9cfe048b4a: Verifying Checksum 22:27:47 7a9cfe048b4a: Download complete 22:27:47 Removing intermediate container da6557734572 22:27:47 ---> c82936f52a3b 22:27:47 Step 11/24 : FROM alpine:3.14 22:27:47 3.14: Pulling from library/alpine 22:27:47 97518928ae5f: Pulling fs layer 22:27:47 97518928ae5f: Verifying Checksum 22:27:47 97518928ae5f: Download complete 22:27:48 97518928ae5f: Pull complete 22:27:48 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 22:27:48 Status: Downloaded newer image for alpine:3.14 22:27:48 ---> 0a97eee8041e 22:27:48 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:27:48 ---> Running in 2cd218d5b992 22:27:48 Removing intermediate container 2cd218d5b992 22:27:48 ---> 781e3e208055 22:27:48 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:27:48 ---> Running in 9cb54435760e 22:27:48 Removing intermediate container 9cb54435760e 22:27:48 ---> e39d1155073c 22:27:48 Step 14/24 : RUN apk add --update --no-cache zeromq 22:27:48 ---> Running in b8ddbb690186 22:27:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:27:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:27:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:27:50 (2/5) Installing libsodium (1.0.18-r0) 22:27:50 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:27:50 (4/5) Installing libzmq (4.3.4-r0) 22:27:50 (5/5) Installing zeromq (4.3.4-r0) 22:27:50 Executing busybox-1.33.1-r6.trigger 22:27:50 OK: 8 MiB in 19 packages 22:27:50 Removing intermediate container b8ddbb690186 22:27:50 ---> 3575ad1db030 22:27:50 Step 15/24 : WORKDIR / 22:27:50 ---> Running in 2f408802113e 22:27:50 Removing intermediate container 2f408802113e 22:27:50 ---> bbefa8a062b2 22:27:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:27:50 ---> 5588a44b0762 22:27:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:27:51 ---> a6edea97f444 22:27:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:27:51 ---> 07c96d74992d 22:27:51 Step 19/24 : EXPOSE 59999 22:27:51 ---> Running in 6de66f5f5c3e 22:27:51 Removing intermediate container 6de66f5f5c3e 22:27:51 ---> dc3514346953 22:27:51 Step 20/24 : ENTRYPOINT ["/device-simple"] 22:27:51 ---> Running in 5cea177a1b8c 22:27:51 Removing intermediate container 5cea177a1b8c 22:27:51 ---> d6525cc7fca5 22:27:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:27:51 ---> Running in e7b9792577b3 22:27:51 Removing intermediate container e7b9792577b3 22:27:51 ---> 215d538d953f 22:27:51 Step 22/24 : LABEL arch=amd64 22:27:52 ---> Running in e95b4c39b98e 22:27:52 Removing intermediate container e95b4c39b98e 22:27:52 ---> 89bca27f0319 22:27:52 Step 23/24 : LABEL git_sha=df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc 22:27:52 ---> Running in 2295904eb910 22:27:52 Removing intermediate container 2295904eb910 22:27:52 ---> 806196692261 22:27:52 Step 24/24 : LABEL version=2.2.0-dev.7 22:27:52 ---> Running in 4b1208ec509a 22:27:52 Removing intermediate container 4b1208ec509a 22:27:52 ---> c8c06d3fc078 22:27:52 [Warning] One or more build-args [ARCH] were not consumed 22:27:52 Successfully built c8c06d3fc078 22:27:52 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 22:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:52 22:27:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:27:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:52 latest: Pulling from edgex-lftools-log-publisher 22:27:52 b4d181a07f80: Pulling fs layer 22:27:52 a1111a8f2ec3: Pulling fs layer 22:27:52 ed53099fbce6: Pulling fs layer 22:27:52 dc539afda2c1: Pulling fs layer 22:27:52 77bc0d833cb6: Pulling fs layer 22:27:52 9065ff56babe: Pulling fs layer 22:27:52 d287ab97295c: Pulling fs layer 22:27:52 dc539afda2c1: Waiting 22:27:52 77bc0d833cb6: Waiting 22:27:52 9065ff56babe: Waiting 22:27:52 d287ab97295c: Waiting 22:27:52 a1111a8f2ec3: Verifying Checksum 22:27:52 a1111a8f2ec3: Download complete 22:27:52 dc539afda2c1: Verifying Checksum 22:27:52 dc539afda2c1: Download complete 22:27:52 ed53099fbce6: Verifying Checksum 22:27:52 ed53099fbce6: Download complete 22:27:52 9065ff56babe: Verifying Checksum 22:27:52 9065ff56babe: Download complete 22:27:53 77bc0d833cb6: Verifying Checksum 22:27:53 77bc0d833cb6: Download complete 22:27:53 b4d181a07f80: Verifying Checksum 22:27:53 b4d181a07f80: Download complete 22:27:53 d287ab97295c: Verifying Checksum 22:27:53 d287ab97295c: Download complete 22:27:54 b4d181a07f80: Pull complete 22:27:54 a1111a8f2ec3: Pull complete 22:27:55 ed53099fbce6: Pull complete 22:27:55 dc539afda2c1: Pull complete 22:27:55 77bc0d833cb6: Pull complete 22:27:55 9065ff56babe: Pull complete 22:27:59 7a9cfe048b4a: Pull complete 22:27:59 72dc09318566: Pull complete 22:27:59 f4f7b4309257: Pull complete 22:27:59 0ac9a79272e3: Pull complete 22:28:01 d287ab97295c: Pull complete 22:28:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:28:01 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:28:01 $ 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 22:28:03 $ docker top 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:03 b78e95d17946: Pull complete 22:28:03 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 22:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:28:03 ---> 8b459fc5aaf0 22:28:03 Step 3/10 : ARG MAKE=make build 22:28:03 ---> job-cost.sh 22:28:03 lf-activate-venv: SKIPPING 22:28:03 INFO: No Stack... 22:28:04 INFO: Retrieving Pricing Info for: v3-standard-2 22:28:04 INFO: Archiving Costs [Pipeline] sh 22:28:04 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 22:28:04 + cut -d, -f6 [Pipeline] lock 22:28:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] 22:28:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] did not exist. Created. 22:28:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:05 + echo total: 0.05999999865889549 [Pipeline] stash 22:28:05 Stashed 1 file(s) [Pipeline] } 22:28:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:05 $ docker stop --time=1 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a 22:28:05 ---> Running in c6252de4362e 22:28:05 Removing intermediate container c6252de4362e 22:28:05 ---> 58271ea4d891 22:28:05 Step 4/10 : WORKDIR /device-sdk-go 22:28:05 ---> Running in f560224b4860 22:28:06 Removing intermediate container f560224b4860 22:28:06 ---> 1b66fce0b9ac 22:28:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:28:06 ---> Running in 1d2db1796bc8 22:28:06 Removing intermediate container 1d2db1796bc8 22:28:06 ---> 6aebf32f7eea 22:28:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:28:06 $ docker rm -f 48a1dffd05eab38806a0796cbb47e5f430ae56dedda2dcb5c8e7aa5da4631d5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:06 ---> Running in 3c3029e1138b 22:28:08 Removing intermediate container 3c3029e1138b 22:28:08 ---> becf65b15dd3 22:28:08 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:28:08 ---> Running in 050c88f49623 22:28:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:28:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:28:11 OK: 219 MiB in 52 packages 22:28:11 Removing intermediate container 050c88f49623 22:28:11 ---> c9f919a88ee9 22:28:11 Step 8/10 : COPY . . 22:28:13 ---> e9ff733db924 22:28:13 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:13 ---> Running in 1a99be2273e7 22:29:35 Removing intermediate container 1a99be2273e7 22:29:35 ---> f15d7a090e8b 22:29:35 Step 10/10 : RUN ${MAKE} 22:29:35 ---> Running in caf626d703ce 22:29:35 noop 22:29:35 Removing intermediate container caf626d703ce 22:29:35 ---> 1db7ab3ad867 22:29:35 Successfully built 1db7ab3ad867 22:29:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:29:35 + docker inspect -f . ci-base-image-arm64 22:29:35 . [Pipeline] withDockerContainer 22:29:35 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:29:35 $ 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 22:29:37 $ docker top 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:37 + go version 22:29:37 go version go1.16.8 linux/arm64 [Pipeline] } 22:29:37 $ docker stop --time=1 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 22:29:39 $ docker rm -f 2ac5dd255a74003ea272f1ea98936b25139638e368cb685ed1420bf2473c9f39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:29:40 + docker inspect -f . ci-base-image-arm64 22:29:40 . [Pipeline] withDockerContainer 22:29:40 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:29:40 $ 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 22:29:41 $ docker top 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:29:42 + make test 22:29:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:30:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:31:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.241s coverage: 23.3% of statements 22:31:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:31:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.210s coverage: 27.6% of statements 22:31:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.209s coverage: 78.9% of statements 22:31:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.192s coverage: 9.0% of statements 22:31:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:31:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:31:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:31:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 28.7% of statements 22:31:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:31:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.317s coverage: 86.1% of statements 22:31:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:31:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:31:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 57.4% of statements 22:31:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.043s coverage: 89.2% of statements 22:31:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:31:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.8% of statements 22:31:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:31:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:31:25 GO111MODULE=on go vet ./... 22:32:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:32:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:32:21 ./bin/test-attribution-txt.sh [Pipeline] echo 22:32:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:32:22 $ docker stop --time=1 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 22:32:23 $ docker rm -f 14fc064fd58a471c1e83fa73265f13965a2b6d6b8e3e952659c0f8de6c3347a7 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:24 Warning: overwriting stash ‘coverage-report’ 22:32:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:26 + ls -al . 22:32:26 total 304 22:32:26 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:32 . 22:32:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:27 .. 22:32:26 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 22:27 .dockerignore 22:32:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 22:27 .git 22:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:27 .github 22:32:26 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 22:27 .gitignore 22:32:26 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 22:27 .golangci.yml 22:32:26 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 22:27 CHANGELOG.md 22:32:26 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 22:27 GOVERNANCE.md 22:32:26 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 22:27 Jenkinsfile 22:32:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 22:27 LICENSE 22:32:26 -rw-rw-r-- 1 jenkins jenkins 1613 Jan 11 22:27 Makefile 22:32:26 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 22:27 OWNERS.md 22:32:26 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 22:27 README.md 22:32:26 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 22:25 VERSION 22:32:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 22:27 bin 22:32:26 -rw-r--r-- 1 jenkins jenkins 128667 Jan 11 22:31 coverage.out 22:32:26 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 22:27 example 22:32:26 -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 22:27 go.mod 22:32:26 -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 22:27 go.sum 22:32:26 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 22:27 internal 22:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 22:27 openapi 22:32:26 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 22:27 pkg 22:32:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 22:27 snap 22:32:26 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 22:27 version.go [Pipeline] isUnix [Pipeline] sh 22:32:26 + 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 . 22:32:26 Sending build context to Docker daemon 5.159MB 22:32:26 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:32:26 Step 2/24 : FROM ${BASE} AS builder 22:32:26 ---> 1db7ab3ad867 22:32:26 Step 3/24 : ARG MAKE=make build 22:32:26 ---> Running in 6c06b1e0a108 22:32:27 Removing intermediate container 6c06b1e0a108 22:32:27 ---> 8e25221199e7 22:32:27 Step 4/24 : WORKDIR /device-sdk-go 22:32:27 ---> Running in 1e4aff04c6f1 22:32:27 Removing intermediate container 1e4aff04c6f1 22:32:27 ---> 6b24d3ca106f 22:32:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:32:27 ---> Running in 904fecd2fe8b 22:32:28 Removing intermediate container 904fecd2fe8b 22:32:28 ---> d4f8336f3ab8 22:32:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:28 ---> Running in 1db692ad53d2 22:32:30 Removing intermediate container 1db692ad53d2 22:32:30 ---> fe2e8ecb6362 22:32:30 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:32:30 ---> Running in d6b5c2301bcb 22:32:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:32:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:32:32 OK: 219 MiB in 52 packages 22:32:33 Removing intermediate container d6b5c2301bcb 22:32:33 ---> 301c1899c03a 22:32:33 Step 8/24 : COPY . . 22:32:34 ---> 36fd7e624271 22:32:34 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:34 ---> Running in 787d887643bb 22:32:36 Removing intermediate container 787d887643bb 22:32:36 ---> b42bad91879f 22:32:36 Step 10/24 : RUN ${MAKE} 22:32:36 ---> Running in 4785a12de0fd 22:32:37 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 22:33:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:33:12 Removing intermediate container 4785a12de0fd 22:33:12 ---> 5aa4183ade6e 22:33:12 Step 11/24 : FROM alpine:3.14 22:33:13 3.14: Pulling from library/alpine 22:33:13 be307f383ecc: Pulling fs layer 22:33:13 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 22:33:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:14 22:33:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:33:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:14 arm64: Pulling from edgex-lftools-log-publisher 22:33:14 448f6bf000e3: Pulling fs layer 22:33:14 f757da607395: Pulling fs layer 22:33:14 05883995daec: Pulling fs layer 22:33:14 8603b9c90790: Pulling fs layer 22:33:14 1560dd03e051: Pulling fs layer 22:33:14 27f5ce0e4adf: Pulling fs layer 22:33:14 c2d8d7efcc4b: Pulling fs layer 22:33:14 8603b9c90790: Waiting 22:33:14 1560dd03e051: Waiting 22:33:14 27f5ce0e4adf: Waiting 22:33:14 c2d8d7efcc4b: Waiting 22:33:14 f757da607395: Verifying Checksum 22:33:14 f757da607395: Download complete 22:33:14 8603b9c90790: Verifying Checksum 22:33:14 8603b9c90790: Download complete 22:33:14 1560dd03e051: Verifying Checksum 22:33:14 1560dd03e051: Download complete 22:33:14 27f5ce0e4adf: Download complete 22:33:15 05883995daec: Verifying Checksum 22:33:15 05883995daec: Download complete 22:33:15 448f6bf000e3: Verifying Checksum 22:33:15 448f6bf000e3: Download complete 22:33:17 c2d8d7efcc4b: Verifying Checksum 22:33:17 c2d8d7efcc4b: Download complete 22:33:18 448f6bf000e3: Pull complete 22:33:19 f757da607395: Pull complete 22:33:21 05883995daec: Pull complete 22:33:21 8603b9c90790: Pull complete 22:33:22 1560dd03e051: Pull complete 22:33:22 27f5ce0e4adf: Pull complete 22:33:37 c2d8d7efcc4b: Pull complete 22:33:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:33:37 prd-ubuntu18.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 22:33:37 $ 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 22:33:40 $ docker top ecc6f1449bba514dbb7cc63fc7e528a4b529c140d8ab73fbdf9f246e0b42c089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:41 ---> job-cost.sh 22:33:41 lf-activate-venv: SKIPPING 22:33:41 INFO: No Stack... 22:33:41 INFO: Retrieving Pricing Info for: v3-standard-4 22:33:42 INFO: Archiving Costs [Pipeline] sh 22:33:42 + cut -d, -f6 22:33:42 + cat /w/workspace/device-sdk-go/39/archives/cost.csv [Pipeline] lock 22:33:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] 22:33:42 Resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] did not exist. Created. 22:33:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:43 /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 22:33:44 + echo total: 0.10999999940395355 [Pipeline] stash 22:33:44 Warning: overwriting stash ‘stack-cost’ 22:33:44 Stashed 1 file(s) [Pipeline] } 22:33:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:44 $ docker stop --time=1 ecc6f1449bba514dbb7cc63fc7e528a4b529c140d8ab73fbdf9f246e0b42c089 22:33:45 $ 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] } 22:33:46 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 22:33:46 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' 22:33:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:33:46 total 8 22:33:46 drwxr-xr-x. 3 root root 34 Jan 11 22:28 . 22:33:46 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:28 .. 22:33:46 drwxr-xr-x. 2 root root 6 Jan 11 22:28 cost 22:33:46 -rw-r--r--. 1 root root 83 Jan 11 22:28 cost.csv 22:33:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:33:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:33:46 total 8 22:33:46 drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 22:28 . 22:33:46 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:28 .. 22:33:46 drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 22:28 cost 22:33:46 -rw-r--r--. 1 jenkins jenkins 83 Jan 11 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:33:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:33:47 ---> package-listing.sh 22:33:47 ++ tr '[:upper:]' '[:lower:]' 22:33:47 ++ facter osfamily 22:33:47 + OS_FAMILY=redhat 22:33:47 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:33:47 + START_PACKAGES=/tmp/packages_start.txt 22:33:47 + END_PACKAGES=/tmp/packages_end.txt 22:33:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:33:47 + PACKAGES=/tmp/packages_start.txt 22:33:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:33:47 + PACKAGES=/tmp/packages_end.txt 22:33:47 + case "${OS_FAMILY}" in 22:33:47 + sort 22:33:47 + rpm -qa 22:33:48 + '[' -f /tmp/packages_start.txt ']' 22:33:48 + '[' -f /tmp/packages_end.txt ']' 22:33:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:33:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:33:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:33:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:33:48 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 22:33:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:49 . [Pipeline] withDockerContainer 22:33:49 prd-centos7-docker-4c-2g-1296 does not seem to be running inside a container 22:33:49 $ 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 22:33:49 $ docker top fe8dfc6165c7fcd9effdbd9e526e79c5f1a02b3ed3958a3af5414ad86598f13e -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:33:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:33:50 + ls /var/log/sa-host 22:33:50 + sadf -c /var/log/sa-host/sa11 22:33:50 file_magic: OK 22:33:50 HZ: Using current value: 100 22:33:50 file_header: OK 22:33:50 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 22:33:50 Statistics: 22:33:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:33:50 File successfully converted to sysstat format version 12.0.3 22:33:50 + sadf -c /var/log/sa-host/sa17 22:33:50 file_magic: OK 22:33:50 HZ: Using current value: 100 22:33:50 file_header: OK 22:33:50 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 22:33:50 Statistics: 22:33:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:33:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:50 provisioning config files... 22:33:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6847535135947927234tmp [Pipeline] { [Pipeline] echo 22:33:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:33:50 ---> create-netrc.sh [Pipeline] } 22:33:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:33:51 ---> python-tools-install.sh [Pipeline] echo 22:33:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:33:51 ---> sudo-logs.sh 22:33:51 Archiving 'sudo' log.. 22:33:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1296.novalocal: Name or service not known 22:33:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1296.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:33:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:33:51 ---> job-cost.sh 22:33:51 lf-activate-venv: SKIPPING 22:33:51 DEBUG: total: 0.05999999865889549 22:33:51 INFO: Retrieving Stack Cost... 22:33:52 INFO: Retrieving Pricing Info for: v3-standard-2 22:33:52 INFO: Archiving Costs [Pipeline] echo 22:33:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:33:52 ---> logs-deploy.sh 22:33:52 lf-activate-venv: SKIPPING 22:33:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/39 22:33:52 INFO: archiving workspace using pattern(s): 22:33:53 Archives upload complete. 22:33:53 INFO: archiving logs to Nexus