Pull request #1142 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at dd514f718fd528170d25c4d96999316fe43c7c62 rather than ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 Obtained Jenkinsfile from dd514f718fd528170d25c4d96999316fe43c7c62 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-ssh13470867466437430800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9316305352694524300.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1142/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3447985104797886263.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh1519361839063267439.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1142/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1142/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh294117124810024860.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21717 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1142 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 Merge succeeded, producing ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 Checking out Revision ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 (PR-1142) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 # timeout=10 Commit message: "feat: Add MaxEventSize to limit event size" First time build. Skipping changelog. > git rev-list --no-walk a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:57:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:57:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:57:28 ========================================================= 01:57:28 EdgeX Global Pipelines Version Info 01:57:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:29 ------------------- 01:57:29 stable info: 01:57:29 ------------------- 01:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:57:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:57:29 Message: update stable to v1.0.221 01:57:29 ------------------- 01:57:29 experimental info: 01:57:29 ------------------- 01:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:57:29 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 01:57:29 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1142 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1142 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1142 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae5b097 [Pipeline] echo 01:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:30 provisioning config files... 01:57:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config7292938443354040946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:30 ---> docker-login.sh 01:57:30 nexus3.edgexfoundry.org:10001 01:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:31 Configure a credential helper to remove this warning. See 01:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:31 01:57:31 Login Succeeded 01:57:31 nexus3.edgexfoundry.org:10002 01:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:31 Configure a credential helper to remove this warning. See 01:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:31 01:57:31 Login Succeeded 01:57:31 nexus3.edgexfoundry.org:10003 01:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:31 Configure a credential helper to remove this warning. See 01:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:31 01:57:31 Login Succeeded 01:57:31 nexus3.edgexfoundry.org:10004 01:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:31 Configure a credential helper to remove this warning. See 01:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:31 01:57:31 Login Succeeded 01:57:31 docker.io 01:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:32 Configure a credential helper to remove this warning. See 01:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:32 01:57:32 Login Succeeded 01:57:32 ---> docker-login.sh ends [Pipeline] } 01:57:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:57:32 + git rev-list -1 --merges ae5b097c774fbcde0af0ffcb948bf3416ee9ef01~1..ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [Pipeline] echo 01:57:32 -----------> git rev-list -1 --merges ae5b097c774fbcde0af0ffcb948bf3416ee9ef01~1..ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [false] [Pipeline] sh 01:57:33 + git log --format=format:%s -1 ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [Pipeline] echo 01:57:33 ========================================================= 01:57:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:57:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:33 + git log --format=format:%s -1 ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [Pipeline] echo 01:57:33 [semverPrep] GIT_COMMIT: ae5b097c774fbcde0af0ffcb948bf3416ee9ef01, Commit Message: feat: Add MaxEventSize to limit event size [Pipeline] echo 01:57:33 [semverPrep] This is not a build commit. [Pipeline] sh 01:57:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:57:33 + grep -v github /etc/ssh/ssh_known_hosts 01:57:33 + [ -e /tmp/ssh_known_hosts ] 01:57:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:57:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:57:33 + sudo tee -a /etc/ssh/ssh_known_hosts 01:57:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:57:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:57:34 01:57:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:57:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:57:34 latest: Pulling from edgex-devops/git-semver 01:57:34 a0d0a0d46f8b: Pulling fs layer 01:57:34 3e5f54012d9b: Pulling fs layer 01:57:34 4c7163046ea9: Pulling fs layer 01:57:34 0c2d73faf560: Pulling fs layer 01:57:34 0c2d73faf560: Waiting 01:57:34 3e5f54012d9b: Verifying Checksum 01:57:34 3e5f54012d9b: Download complete 01:57:34 a0d0a0d46f8b: Verifying Checksum 01:57:34 a0d0a0d46f8b: Download complete 01:57:34 0c2d73faf560: Verifying Checksum 01:57:34 0c2d73faf560: Download complete 01:57:34 4c7163046ea9: Verifying Checksum 01:57:34 4c7163046ea9: Download complete 01:57:34 a0d0a0d46f8b: Pull complete 01:57:34 3e5f54012d9b: Pull complete 01:57:35 4c7163046ea9: Pull complete 01:57:35 0c2d73faf560: Pull complete 01:57:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:57:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:57:35 prd-ubuntu20.04-docker-8c-8g-21717 does not seem to be running inside a container 01:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:57:36 $ docker top e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:36 [ssh-agent] Looking for ssh-agent implementation... 01:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:36 $ docker exec e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 ssh-agent 01:57:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXodginC/agent.17 01:57:36 SSH_AGENT_PID=24 01:57:36 Running ssh-add (command line suppressed) 01:57:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4941663365509308571.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4941663365509308571.key) 01:57:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:37 + git tag --points-at HEAD [Pipeline] } 01:57:37 $ docker exec --env ******** --env ******** e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 ssh-agent -k 01:57:37 unset SSH_AUTH_SOCK; 01:57:37 unset SSH_AGENT_PID; 01:57:37 echo Agent pid 24 killed; 01:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:57:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:37 [ssh-agent] Looking for ssh-agent implementation... 01:57:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:37 $ docker exec e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 ssh-agent 01:57:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgNKOoi/agent.58 01:57:37 SSH_AGENT_PID=64 01:57:37 Running ssh-add (command line suppressed) 01:57:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_6910136747054739536.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_6910136747054739536.key) 01:57:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:38 + git semver init 01:57:38 # -> Open(): unable to determine branch for HEAD 01:57:38 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.git 01:57:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1142 01:57:38 # $SEMVER_REMOTE_NAME = origin 01:57:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:57:38 # $SEMVER_USER_NAME = edgex-jenkins 01:57:38 # $SEMVER_BRANCH = PR-1142 01:57:38 # $SEMVER_TEMP = /tmp/semver-319919656 01:57:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:57:39 # '/tmp/semver-319919656' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver' 01:57:39 # -> Force: false 01:57:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver [Pipeline] } 01:57:39 $ docker exec --env ******** --env ******** e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 ssh-agent -k 01:57:39 unset SSH_AUTH_SOCK; 01:57:39 unset SSH_AGENT_PID; 01:57:39 echo Agent pid 64 killed; 01:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:39 + git semver [Pipeline] } 01:57:39 $ docker stop --time=1 e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 01:57:41 $ docker rm -f e2d5833bab032fe64155791f0b4e37b46f06a6aac0b6781fa96d09f9b9d82b34 [Pipeline] // withDockerContainer [Pipeline] sh 01:57:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:57:41 Stashed 1 file(s) [Pipeline] echo 01:57:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:42 provisioning config files... 01:57:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config74693083223783082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:42 ---> docker-login.sh 01:57:42 nexus3.edgexfoundry.org:10001 01:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:42 Configure a credential helper to remove this warning. See 01:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:42 01:57:42 Login Succeeded 01:57:42 nexus3.edgexfoundry.org:10002 01:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:42 Configure a credential helper to remove this warning. See 01:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:42 01:57:42 Login Succeeded 01:57:42 nexus3.edgexfoundry.org:10003 01:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:42 Configure a credential helper to remove this warning. See 01:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:42 01:57:42 Login Succeeded 01:57:42 nexus3.edgexfoundry.org:10004 01:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:42 Configure a credential helper to remove this warning. See 01:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:42 01:57:42 Login Succeeded 01:57:42 docker.io 01:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:43 Configure a credential helper to remove this warning. See 01:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:43 01:57:43 Login Succeeded 01:57:43 ---> docker-login.sh ends [Pipeline] } 01:57:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:57:43 ========================================================= 01:57:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:57:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:57:43 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:57:43 Sending build context to Docker daemon 9.544MB 01:57:43 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:57:43 Step 2/11 : FROM ${BASE} AS builder 01:57:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:43 59bf1c3509f3: Pulling fs layer 01:57:43 666ba61612fd: Pulling fs layer 01:57:43 8ed8ca486205: Pulling fs layer 01:57:43 4fe6c5a15a65: Pulling fs layer 01:57:43 22a0e8bec74d: Pulling fs layer 01:57:43 640e595b4fbd: Pulling fs layer 01:57:43 763cafe07f6e: Pulling fs layer 01:57:43 0c0b528cf693: Pulling fs layer 01:57:43 10935f4eaf8b: Pulling fs layer 01:57:43 0c0b528cf693: Waiting 01:57:43 763cafe07f6e: Waiting 01:57:43 640e595b4fbd: Waiting 01:57:43 10935f4eaf8b: Waiting 01:57:43 4fe6c5a15a65: Waiting 01:57:43 22a0e8bec74d: Waiting 01:57:43 8ed8ca486205: Verifying Checksum 01:57:43 8ed8ca486205: Download complete 01:57:43 666ba61612fd: Verifying Checksum 01:57:43 666ba61612fd: Download complete 01:57:43 22a0e8bec74d: Download complete 01:57:43 59bf1c3509f3: Verifying Checksum 01:57:43 59bf1c3509f3: Download complete 01:57:43 640e595b4fbd: Download complete 01:57:43 763cafe07f6e: Verifying Checksum 01:57:43 0c0b528cf693: Verifying Checksum 01:57:43 0c0b528cf693: Download complete 01:57:43 59bf1c3509f3: Pull complete 01:57:44 666ba61612fd: Pull complete 01:57:44 8ed8ca486205: Pull complete 01:57:44 10935f4eaf8b: Verifying Checksum 01:57:44 10935f4eaf8b: Download complete 01:57:44 4fe6c5a15a65: Verifying Checksum 01:57:44 4fe6c5a15a65: Download complete 01:57:48 4fe6c5a15a65: Pull complete 01:57:48 22a0e8bec74d: Pull complete 01:57:48 640e595b4fbd: Pull complete 01:57:48 763cafe07f6e: Pull complete 01:57:48 0c0b528cf693: Pull complete 01:57:51 10935f4eaf8b: Pull complete 01:57:51 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:57:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:57:51 ---> 99d49a6021b9 01:57:51 Step 3/11 : ARG MAKE=make build 01:57:52 ---> Running in 0275ef4b9969 01:57:52 Removing intermediate container 0275ef4b9969 01:57:52 ---> 35a3ae3afdd1 01:57:52 Step 4/11 : WORKDIR /device-sdk-go 01:57:52 ---> Running in 3ac27c1d31a5 01:57:52 Removing intermediate container 3ac27c1d31a5 01:57:52 ---> 173958b21fb0 01:57:52 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:57:52 ---> Running in 877c4e67d628 01:57:52 Removing intermediate container 877c4e67d628 01:57:52 ---> ed7aea1350af 01:57:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:57:52 ---> Running in a86f4861f782 01:57:53 Removing intermediate container a86f4861f782 01:57:53 ---> c58a95efb994 01:57:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:57:53 ---> Running in 8f652e6d4cc6 01:57:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:57:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:57:54 OK: 221 MiB in 52 packages 01:57:55 Removing intermediate container 8f652e6d4cc6 01:57:55 ---> 16ca2e8d541c 01:57:55 Step 8/11 : COPY go.mod vendor* ./ 01:57:55 ---> 6a983a3d53a9 01:57:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:55 ---> Running in 0488ad7ccbe7 01:57:56 Still waiting to schedule task 01:57:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21715’ is offline 01:57:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21718’ is offline 01:58:10 Removing intermediate container 0488ad7ccbe7 01:58:10 ---> 35ebfe5f1fb3 01:58:10 Step 10/11 : COPY . . 01:58:10 ---> f33367f54d6d 01:58:10 Step 11/11 : RUN ${MAKE} 01:58:10 ---> Running in 633a0a884fc9 01:58:10 noop 01:58:11 Removing intermediate container 633a0a884fc9 01:58:11 ---> b71abbd44045 01:58:11 Successfully built b71abbd44045 01:58:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:58:11 + docker inspect -f . ci-base-image-x86_64 01:58:11 . [Pipeline] withDockerContainer 01:58:11 prd-ubuntu20.04-docker-8c-8g-21717 does not seem to be running inside a container 01:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:11 $ docker top c0c4821edc5239d73b5b4647ec8956ddb05bd16add1dc34c3758c482040157ec -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:12 + go version 01:58:12 go version go1.17.6 linux/amd64 [Pipeline] } 01:58:12 $ docker stop --time=1 c0c4821edc5239d73b5b4647ec8956ddb05bd16add1dc34c3758c482040157ec 01:58:13 $ docker rm -f c0c4821edc5239d73b5b4647ec8956ddb05bd16add1dc34c3758c482040157ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:13 + docker inspect -f . ci-base-image-x86_64 01:58:13 . [Pipeline] withDockerContainer 01:58:14 prd-ubuntu20.04-docker-8c-8g-21717 does not seem to be running inside a container 01:58:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:58:14 $ docker top 9d4e37d7c185a0e963755bfa015479b0f54df134675e8cee5c7931abce0b5d00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:58:14 + make test 01:58:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:58:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:58:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:58:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:58:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.3% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 27.6% of statements 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.111s coverage: 78.9% of statements 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.079s coverage: 10.8% of statements 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 60.0% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.7% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 86.1% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.849s coverage: 89.2% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.7% of statements 01:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:58:52 GO111MODULE=on go vet ./... 01:58:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:58:56 $ docker stop --time=1 9d4e37d7c185a0e963755bfa015479b0f54df134675e8cee5c7931abce0b5d00 01:58:57 $ docker rm -f 9d4e37d7c185a0e963755bfa015479b0f54df134675e8cee5c7931abce0b5d00 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:58:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:59 + ls -al . 01:58:59 total 296 01:58:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 01:58 . 01:58:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:57 .. 01:58:59 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 01:57 .dockerignore 01:58:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 01:57 .git 01:58:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:57 .github 01:58:59 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 01:57 .gitignore 01:58:59 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 01:57 .golangci.yml 01:58:59 drwx------ 3 jenkins jenkins 4096 Apr 22 01:57 .semver 01:58:59 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 01:57 CHANGELOG.md 01:58:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 01:57 GOVERNANCE.md 01:58:59 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 01:57 Jenkinsfile 01:58:59 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 01:57 LICENSE 01:58:59 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 01:57 Makefile 01:58:59 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 01:57 OWNERS.md 01:58:59 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 01:57 README.md 01:58:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 01:57 VERSION 01:58:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:57 bin 01:58:59 -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 01:58 coverage.out 01:58:59 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 01:57 example 01:58:59 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 01:57 go.mod 01:58:59 -rw-rw-r-- 1 jenkins jenkins 34437 Apr 22 01:57 go.sum 01:58:59 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 01:57 internal 01:58:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 01:57 openapi 01:58:59 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 01:57 pkg 01:58:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:57 snap 01:58:59 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 01:57 version.go [Pipeline] isUnix [Pipeline] sh 01:59:00 + 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=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 --label arch=amd64 --label version=0.0.0 . 01:59:00 Sending build context to Docker daemon 9.675MB 01:59:00 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:59:00 Step 2/25 : FROM ${BASE} AS builder 01:59:00 ---> b71abbd44045 01:59:00 Step 3/25 : ARG MAKE=make build 01:59:00 ---> Running in 748f425b6f06 01:59:00 Removing intermediate container 748f425b6f06 01:59:00 ---> 34ea939ece74 01:59:00 Step 4/25 : WORKDIR /device-sdk-go 01:59:00 ---> Running in cfa56cc28722 01:59:00 Removing intermediate container cfa56cc28722 01:59:00 ---> 5cc5fa089394 01:59:00 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:59:00 ---> Running in 9c8a2ec3e5ea 01:59:00 Removing intermediate container 9c8a2ec3e5ea 01:59:00 ---> ebed63971cad 01:59:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:00 ---> Running in 73761daca82c 01:59:01 Removing intermediate container 73761daca82c 01:59:01 ---> 2d8e876dc086 01:59:01 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:59:01 ---> Running in 5e41cfab0388 01:59:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:59:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:59:02 OK: 221 MiB in 52 packages 01:59:02 Removing intermediate container 5e41cfab0388 01:59:02 ---> 2438a8f70e7f 01:59:02 Step 8/25 : COPY go.mod vendor* ./ 01:59:03 ---> 9768d8eae40a 01:59:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:03 ---> Running in 05369c25dee8 01:59:03 Removing intermediate container 05369c25dee8 01:59:03 ---> be8f0849af9e 01:59:03 Step 10/25 : COPY . . 01:59:04 ---> 5e47ab86c33a 01:59:04 Step 11/25 : RUN ${MAKE} 01:59:04 ---> Running in e5f6d671b309 01:59:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:59:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:59:24 Removing intermediate container e5f6d671b309 01:59:24 ---> 5a61d819c0d5 01:59:24 Step 12/25 : FROM alpine:3.14 01:59:24 3.14: Pulling from library/alpine 01:59:24 8663204ce13b: Pulling fs layer 01:59:24 8663204ce13b: Download complete 01:59:25 8663204ce13b: Pull complete 01:59:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:59:25 Status: Downloaded newer image for alpine:3.14 01:59:25 ---> e04c818066af 01:59:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:59:25 ---> Running in f4ee8b3065a6 01:59:25 Removing intermediate container f4ee8b3065a6 01:59:25 ---> 0988fe94b376 01:59:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:59:25 ---> Running in 4b0a59655d51 01:59:25 Removing intermediate container 4b0a59655d51 01:59:25 ---> 80d609a702ec 01:59:25 Step 15/25 : RUN apk add --update --no-cache zeromq 01:59:25 ---> Running in b0237328d526 01:59:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:59:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:59:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:59:27 (2/5) Installing libsodium (1.0.18-r0) 01:59:27 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:59:27 (4/5) Installing libzmq (4.3.4-r0) 01:59:27 (5/5) Installing zeromq (4.3.4-r0) 01:59:27 Executing busybox-1.33.1-r7.trigger 01:59:27 OK: 8 MiB in 19 packages 01:59:28 Removing intermediate container b0237328d526 01:59:28 ---> eb9e2d67cd9c 01:59:28 Step 16/25 : WORKDIR / 01:59:28 ---> Running in 851c9425be94 01:59:28 Removing intermediate container 851c9425be94 01:59:28 ---> 5c06707dc171 01:59:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:59:28 ---> 7e7d0e1e410f 01:59:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:59:29 ---> b31ace85d126 01:59:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:59:29 ---> e88a7d191bb1 01:59:29 Step 20/25 : EXPOSE 59999 01:59:29 ---> Running in 3016c94e6268 01:59:29 Removing intermediate container 3016c94e6268 01:59:29 ---> fc085b48d89a 01:59:29 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:59:29 ---> Running in 9c90033750a7 01:59:29 Removing intermediate container 9c90033750a7 01:59:29 ---> fb1a4d172b46 01:59:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:59:29 ---> Running in bcde155d9954 01:59:29 Removing intermediate container bcde155d9954 01:59:29 ---> 0ec13e4e912b 01:59:29 Step 23/25 : LABEL arch=amd64 01:59:29 ---> Running in a77f0b1744ec 01:59:29 Removing intermediate container a77f0b1744ec 01:59:29 ---> d18e1f61a484 01:59:29 Step 24/25 : LABEL git_sha=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 01:59:29 ---> Running in 0ff83468bb17 01:59:29 Removing intermediate container 0ff83468bb17 01:59:29 ---> 555c5ff35299 01:59:29 Step 25/25 : LABEL version=0.0.0 01:59:29 ---> Running in 4f2dbc8da04d 01:59:29 Removing intermediate container 4f2dbc8da04d 01:59:29 ---> acab5c0a1d5a 01:59:29 [Warning] One or more build-args [ARCH] were not consumed 01:59:29 Successfully built acab5c0a1d5a 01:59:29 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 01:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:30 01:59:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:59:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:30 latest: Pulling from edgex-lftools-log-publisher 01:59:30 5eb5b503b376: Pulling fs layer 01:59:30 5c69ac0246d0: Pulling fs layer 01:59:30 ec43610c2a17: Pulling fs layer 01:59:30 3a2ae6a8a46f: Pulling fs layer 01:59:30 33b1e0a273af: Pulling fs layer 01:59:30 5d3b04190fa2: Pulling fs layer 01:59:30 2f39f015ded8: Pulling fs layer 01:59:30 3a2ae6a8a46f: Waiting 01:59:30 33b1e0a273af: Waiting 01:59:30 5d3b04190fa2: Waiting 01:59:30 2f39f015ded8: Waiting 01:59:30 5c69ac0246d0: Verifying Checksum 01:59:30 5c69ac0246d0: Download complete 01:59:30 3a2ae6a8a46f: Verifying Checksum 01:59:30 3a2ae6a8a46f: Download complete 01:59:30 33b1e0a273af: Verifying Checksum 01:59:30 33b1e0a273af: Download complete 01:59:30 ec43610c2a17: Verifying Checksum 01:59:30 ec43610c2a17: Download complete 01:59:30 5d3b04190fa2: Verifying Checksum 01:59:30 5d3b04190fa2: Download complete 01:59:30 5eb5b503b376: Verifying Checksum 01:59:30 5eb5b503b376: Download complete 01:59:31 2f39f015ded8: Download complete 01:59:32 5eb5b503b376: Pull complete 01:59:32 5c69ac0246d0: Pull complete 01:59:32 ec43610c2a17: Pull complete 01:59:32 3a2ae6a8a46f: Pull complete 01:59:32 33b1e0a273af: Pull complete 01:59:33 5d3b04190fa2: Pull complete 01:59:38 2f39f015ded8: Pull complete 01:59:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:59:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:59:38 prd-ubuntu20.04-docker-8c-8g-21717 does not seem to be running inside a container 01:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:59:39 $ docker top f10adb5bee53e990e531899bfccf21b3bdc944a5490ca6f8c89126d2800752b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:40 ---> job-cost.sh 01:59:40 lf-activate-venv: SKIPPING 01:59:40 INFO: No Stack... 01:59:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:41 INFO: Archiving Costs [Pipeline] sh 01:59:41 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/cost.csv 01:59:41 + cut -d, -f6 [Pipeline] lock 01:59:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] 01:59:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] did not exist. Created. 01:59:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:59:41 Stashed 1 file(s) [Pipeline] } 01:59:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:41 $ docker stop --time=1 f10adb5bee53e990e531899bfccf21b3bdc944a5490ca6f8c89126d2800752b8 01:59:43 $ docker rm -f f10adb5bee53e990e531899bfccf21b3bdc944a5490ca6f8c89126d2800752b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21719 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [Pipeline] { [Pipeline] ws 02:01:24 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:01:24 The recommended git tool is: git 02:01:32 using credential edgex-jenkins-ssh 02:01:32 Cloning the remote Git repository 02:01:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:01:32 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:01:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:01:32 > git --version # timeout=10 02:01:32 > git --version # 'git version 2.25.1' 02:01:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:01:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:01:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:01:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:01:34 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 02:01:35 Merge succeeded, producing ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 02:01:35 Checking out Revision ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 (PR-1142) 02:01:34 > git config core.sparsecheckout # timeout=10 02:01:34 > git checkout -f ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 # timeout=10 02:01:35 > git remote # timeout=10 02:01:35 > git config --get remote.origin.url # timeout=10 02:01:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:35 > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 02:01:35 > git rev-parse HEAD^{commit} # timeout=10 02:01:35 > git config core.sparsecheckout # timeout=10 02:01:35 > git checkout -f ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 # timeout=10 02:01:39 Commit message: "feat: Add MaxEventSize to limit event size" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:40 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:40 Dload Upload Total Spent Left Speed 02:01:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh 02:01:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:41 + sudo tee /etc/docker/daemon.new 02:01:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:01:41 { 02:01:41 "registry-mirrors": [ 02:01:41 "https://nexus3.edgexfoundry.org:10001" 02:01:41 ], 02:01:41 "bip": "10.250.0.254/24", 02:01:41 "hosts": [ 02:01:41 "tcp://0.0.0.0:5555", 02:01:41 "unix:///var/run/docker.sock" 02:01:41 ], 02:01:41 "mtu": 1458, 02:01:41 "selinux-enabled": true, 02:01:41 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:41 } [Pipeline] sh 02:01:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:00 provisioning config files... 02:02:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8440604887045315216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:01 ---> docker-login.sh 02:02:01 nexus3.edgexfoundry.org:10001 02:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:02 Configure a credential helper to remove this warning. See 02:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:02 02:02:02 Login Succeeded 02:02:02 nexus3.edgexfoundry.org:10002 02:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:02 Configure a credential helper to remove this warning. See 02:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:02 02:02:02 Login Succeeded 02:02:02 nexus3.edgexfoundry.org:10003 02:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:03 Configure a credential helper to remove this warning. See 02:02:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:03 02:02:03 Login Succeeded 02:02:03 nexus3.edgexfoundry.org:10004 02:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:04 Configure a credential helper to remove this warning. See 02:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:04 02:02:04 Login Succeeded 02:02:04 docker.io 02:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:04 Configure a credential helper to remove this warning. See 02:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:04 02:02:04 Login Succeeded 02:02:04 ---> docker-login.sh ends [Pipeline] } 02:02:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:05 ========================================================= 02:02:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:02:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:02:06 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:02:06 Sending build context to Docker daemon 5.182MB 02:02:06 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:02:06 Step 2/11 : FROM ${BASE} AS builder 02:02:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:02:07 9b3977197b4f: Pulling fs layer 02:02:07 1a89e8eeedd5: Pulling fs layer 02:02:07 94645a83ff95: Pulling fs layer 02:02:07 3f3a8bcf1eab: Pulling fs layer 02:02:07 0c92f367c5e7: Pulling fs layer 02:02:07 f7c0051592d6: Pulling fs layer 02:02:07 a227ed2f7395: Pulling fs layer 02:02:07 7b1c46037f91: Pulling fs layer 02:02:07 0c92f367c5e7: Waiting 02:02:07 f7c0051592d6: Waiting 02:02:07 a227ed2f7395: Waiting 02:02:07 7b1c46037f91: Waiting 02:02:07 3f3a8bcf1eab: Waiting 02:02:07 94645a83ff95: Verifying Checksum 02:02:07 94645a83ff95: Download complete 02:02:07 1a89e8eeedd5: Verifying Checksum 02:02:07 1a89e8eeedd5: Download complete 02:02:07 0c92f367c5e7: Verifying Checksum 02:02:07 0c92f367c5e7: Download complete 02:02:07 f7c0051592d6: Verifying Checksum 02:02:07 f7c0051592d6: Download complete 02:02:07 9b3977197b4f: Verifying Checksum 02:02:07 9b3977197b4f: Download complete 02:02:07 a227ed2f7395: Verifying Checksum 02:02:07 a227ed2f7395: Download complete 02:02:08 9b3977197b4f: Pull complete 02:02:08 1a89e8eeedd5: Pull complete 02:02:08 94645a83ff95: Pull complete 02:02:09 7b1c46037f91: Verifying Checksum 02:02:09 7b1c46037f91: Download complete 02:02:09 3f3a8bcf1eab: Verifying Checksum 02:02:09 3f3a8bcf1eab: Download complete 02:02:22 3f3a8bcf1eab: Pull complete 02:02:22 0c92f367c5e7: Pull complete 02:02:22 f7c0051592d6: Pull complete 02:02:22 a227ed2f7395: Pull complete 02:02:27 7b1c46037f91: Pull complete 02:02:27 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:02:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:02:27 ---> f79e39bc4007 02:02:27 Step 3/11 : ARG MAKE=make build 02:02:29 ---> Running in 8c4894e931c3 02:02:31 Removing intermediate container 8c4894e931c3 02:02:31 ---> 5eb43d3d32ff 02:02:31 Step 4/11 : WORKDIR /device-sdk-go 02:02:31 ---> Running in 1667488dd3db 02:02:31 Removing intermediate container 1667488dd3db 02:02:31 ---> 95f569aa6979 02:02:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:02:31 ---> Running in 462bf1587536 02:02:32 Removing intermediate container 462bf1587536 02:02:32 ---> 3d1e5cc9ce9e 02:02:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:02:32 ---> Running in dcd197027b89 02:02:34 Removing intermediate container dcd197027b89 02:02:34 ---> 7591fe7e3af7 02:02:34 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:02:34 ---> Running in 089a8daa2db3 02:02:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:02:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:02:37 OK: 220 MiB in 52 packages 02:02:38 Removing intermediate container 089a8daa2db3 02:02:38 ---> a1b37f4c5806 02:02:38 Step 8/11 : COPY go.mod vendor* ./ 02:02:39 ---> ae312d62b5b2 02:02:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:39 ---> Running in fd74c37edd92 02:03:26 Removing intermediate container fd74c37edd92 02:03:26 ---> 19d6633f2c93 02:03:26 Step 10/11 : COPY . . 02:03:26 ---> 99391fee6449 02:03:26 Step 11/11 : RUN ${MAKE} 02:03:26 ---> Running in b45fe99ee510 02:03:27 noop 02:03:28 Removing intermediate container b45fe99ee510 02:03:28 ---> 49e77bc23dec 02:03:28 Successfully built 49e77bc23dec 02:03:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:03:28 + docker inspect -f . ci-base-image-arm64 02:03:28 . [Pipeline] withDockerContainer 02:03:28 prd-ubuntu20.04-docker-arm64-4c-16g-21719 does not seem to be running inside a container 02:03:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:30 $ docker top adb46ffa777d87d5174ec60e0fab0133615d40da473c2269de3435e5e4570970 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:31 + go version 02:03:31 go version go1.17.6 linux/arm64 [Pipeline] } 02:03:31 $ docker stop --time=1 adb46ffa777d87d5174ec60e0fab0133615d40da473c2269de3435e5e4570970 02:03:32 $ docker rm -f adb46ffa777d87d5174ec60e0fab0133615d40da473c2269de3435e5e4570970 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:03:33 + docker inspect -f . ci-base-image-arm64 02:03:33 . [Pipeline] withDockerContainer 02:03:33 prd-ubuntu20.04-docker-arm64-4c-16g-21719 does not seem to be running inside a container 02:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:35 $ docker top 220a55d231b220c173496de688b56317f48c20f7b05dbf008e6f7055feaf0499 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:03:36 + make test 02:03:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:04:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:06:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.441s coverage: 23.3% of statements 02:06:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:06:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.292s coverage: 27.6% of statements 02:06:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.437s coverage: 78.9% of statements 02:06:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.505s coverage: 10.8% of statements 02:06:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.435s coverage: 60.0% of statements 02:06:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:06:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:06:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.606s coverage: 34.7% of statements 02:06:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:06:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.306s coverage: 86.1% of statements 02:06:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:06:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:06:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.463s coverage: 65.1% of statements 02:06:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.538s coverage: 89.2% of statements 02:06:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:06:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements 02:06:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:06:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:06:26 GO111MODULE=on go vet ./... 02:08:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:08:03 ./bin/test-attribution-txt.sh [Pipeline] echo 02:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:08:03 $ docker stop --time=1 220a55d231b220c173496de688b56317f48c20f7b05dbf008e6f7055feaf0499 02:08:05 $ docker rm -f 220a55d231b220c173496de688b56317f48c20f7b05dbf008e6f7055feaf0499 [Pipeline] // withDockerContainer [Pipeline] sh 02:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:08:06 Warning: overwriting stash ‘coverage-report’ 02:08:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:08 + ls -al . 02:08:08 total 292 02:08:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 02:07 . 02:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:01 .. 02:08:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:01 .dockerignore 02:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:01 .git 02:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:01 .github 02:08:08 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:01 .gitignore 02:08:08 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:01 .golangci.yml 02:08:08 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:01 CHANGELOG.md 02:08:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:01 GOVERNANCE.md 02:08:08 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:01 Jenkinsfile 02:08:08 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:01 LICENSE 02:08:08 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:01 Makefile 02:08:08 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:01 OWNERS.md 02:08:08 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:01 README.md 02:08:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 01:57 VERSION 02:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:01 bin 02:08:08 -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:06 coverage.out 02:08:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:01 example 02:08:08 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:01 go.mod 02:08:08 -rw-rw-r-- 1 jenkins jenkins 34437 Apr 22 02:01 go.sum 02:08:08 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:01 internal 02:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:01 openapi 02:08:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:01 pkg 02:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:01 snap 02:08:08 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:01 version.go [Pipeline] isUnix [Pipeline] sh 02:08:08 + 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=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 --label arch=arm64 --label version=0.0.0 . 02:08:09 Sending build context to Docker daemon 5.314MB 02:08:09 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:08:09 Step 2/25 : FROM ${BASE} AS builder 02:08:09 ---> 49e77bc23dec 02:08:09 Step 3/25 : ARG MAKE=make build 02:08:09 ---> Running in 3d6d8c94f8ff 02:08:09 Removing intermediate container 3d6d8c94f8ff 02:08:09 ---> 9788eb1b1488 02:08:09 Step 4/25 : WORKDIR /device-sdk-go 02:08:09 ---> Running in 91a535f3878b 02:08:09 Removing intermediate container 91a535f3878b 02:08:09 ---> 2ed9ca9043f9 02:08:09 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:08:09 ---> Running in 27389d1e8298 02:08:10 Removing intermediate container 27389d1e8298 02:08:10 ---> 6c6a8fd246ae 02:08:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:08:10 ---> Running in c2f8ae443259 02:08:12 Removing intermediate container c2f8ae443259 02:08:12 ---> a79a12569e4a 02:08:12 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:08:12 ---> Running in 95456ad3a173 02:08:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:08:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:08:15 OK: 220 MiB in 52 packages 02:08:16 Removing intermediate container 95456ad3a173 02:08:16 ---> 5fceda890e21 02:08:16 Step 8/25 : COPY go.mod vendor* ./ 02:08:16 ---> 2d4d416faf06 02:08:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:16 ---> Running in 5b35ae4915f3 02:08:18 Removing intermediate container 5b35ae4915f3 02:08:18 ---> c714174622a0 02:08:18 Step 10/25 : COPY . . 02:08:20 ---> 10d2c6d58234 02:08:20 Step 11/25 : RUN ${MAKE} 02:08:20 ---> Running in 072b97c9664c 02:08:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:10:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:10:43 Removing intermediate container 072b97c9664c 02:10:43 ---> b9e054ffa659 02:10:43 Step 12/25 : FROM alpine:3.14 02:10:43 3.14: Pulling from library/alpine 02:10:43 455c02918c45: Pulling fs layer 02:10:43 455c02918c45: Verifying Checksum 02:10:43 455c02918c45: Download complete 02:10:43 455c02918c45: Pull complete 02:10:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:10:43 Status: Downloaded newer image for alpine:3.14 02:10:43 ---> ac73e934f311 02:10:43 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:10:43 ---> Running in a9a3ebd9c81e 02:10:43 Removing intermediate container a9a3ebd9c81e 02:10:43 ---> ecd1593fb91d 02:10:43 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:43 ---> Running in 75e5913e1df0 02:10:43 Removing intermediate container 75e5913e1df0 02:10:43 ---> 0a64c5b6a7bc 02:10:43 Step 15/25 : RUN apk add --update --no-cache zeromq 02:10:43 ---> Running in 0fd98ee93e7c 02:10:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:10:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:10:44 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:10:44 (2/5) Installing libsodium (1.0.18-r0) 02:10:44 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:10:44 (4/5) Installing libzmq (4.3.4-r0) 02:10:44 (5/5) Installing zeromq (4.3.4-r0) 02:10:45 Executing busybox-1.33.1-r7.trigger 02:10:45 OK: 8 MiB in 19 packages 02:10:46 Removing intermediate container 0fd98ee93e7c 02:10:46 ---> f1fb3c8f5ad2 02:10:46 Step 16/25 : WORKDIR / 02:10:46 ---> Running in dd66a7ba52ed 02:10:46 Removing intermediate container dd66a7ba52ed 02:10:46 ---> 1889fc81a46b 02:10:46 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:10:46 ---> bf19fa432415 02:10:46 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:10:48 ---> 80e3ff9daff9 02:10:48 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:10:49 ---> 91bb10cb2f18 02:10:49 Step 20/25 : EXPOSE 59999 02:10:49 ---> Running in d5965f7e0399 02:10:49 Removing intermediate container d5965f7e0399 02:10:49 ---> 591a1c38c52c 02:10:49 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:10:49 ---> Running in 026256ee2e13 02:10:49 Removing intermediate container 026256ee2e13 02:10:49 ---> 099df9d7c10d 02:10:49 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:10:49 ---> Running in 1af9db08525f 02:10:50 Removing intermediate container 1af9db08525f 02:10:50 ---> cab2441cda70 02:10:50 Step 23/25 : LABEL arch=arm64 02:10:50 ---> Running in bfd19f3b7580 02:10:50 Removing intermediate container bfd19f3b7580 02:10:50 ---> f0434139df5c 02:10:50 Step 24/25 : LABEL git_sha=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 02:10:50 ---> Running in f3a4adf93dc7 02:10:51 Removing intermediate container f3a4adf93dc7 02:10:51 ---> 6429b03ec035 02:10:51 Step 25/25 : LABEL version=0.0.0 02:10:51 ---> Running in 8c8c1155dc68 02:10:51 Removing intermediate container 8c8c1155dc68 02:10:51 ---> 8b780fcffe18 02:10:51 [Warning] One or more build-args [ARCH] were not consumed 02:10:51 Successfully built 8b780fcffe18 02:10:51 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:52 02:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:10:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:52 arm64: Pulling from edgex-lftools-log-publisher 02:10:52 8998bd30e6a1: Pulling fs layer 02:10:52 04944245beec: Pulling fs layer 02:10:52 699f458cf7ca: Pulling fs layer 02:10:52 765212b225bb: Pulling fs layer 02:10:52 f23df028b6ca: Pulling fs layer 02:10:52 d65c8cfc05b1: Pulling fs layer 02:10:52 2437ff75d9bd: Pulling fs layer 02:10:52 f23df028b6ca: Waiting 02:10:52 d65c8cfc05b1: Waiting 02:10:52 765212b225bb: Waiting 02:10:52 2437ff75d9bd: Waiting 02:10:52 04944245beec: Verifying Checksum 02:10:52 04944245beec: Download complete 02:10:52 765212b225bb: Verifying Checksum 02:10:52 765212b225bb: Download complete 02:10:52 f23df028b6ca: Verifying Checksum 02:10:52 f23df028b6ca: Download complete 02:10:52 d65c8cfc05b1: Verifying Checksum 02:10:52 d65c8cfc05b1: Download complete 02:10:53 699f458cf7ca: Download complete 02:10:53 8998bd30e6a1: Verifying Checksum 02:10:53 8998bd30e6a1: Download complete 02:10:55 2437ff75d9bd: Verifying Checksum 02:10:55 2437ff75d9bd: Download complete 02:10:57 8998bd30e6a1: Pull complete 02:10:58 04944245beec: Pull complete 02:10:59 699f458cf7ca: Pull complete 02:10:59 765212b225bb: Pull complete 02:11:00 f23df028b6ca: Pull complete 02:11:01 d65c8cfc05b1: Pull complete 02:11:16 2437ff75d9bd: Pull complete 02:11:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:11:16 prd-ubuntu20.04-docker-arm64-4c-16g-21719 does not seem to be running inside a container 02:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:11:19 $ docker top 9a1ed739095456637a18713ab2b28aaa223823deef900f8adf3ef4225d82b519 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:20 ---> job-cost.sh 02:11:20 lf-activate-venv: SKIPPING 02:11:20 INFO: No Stack... 02:11:21 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:22 INFO: Archiving Costs [Pipeline] sh 02:11:22 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 02:11:22 + cut -d, -f6 [Pipeline] lock 02:11:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] 02:11:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] did not exist. Created. 02:11:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:23 /w/workspace/device-sdk-go/2@tmp/durable-bc8deb78/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:24 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:24 Warning: overwriting stash ‘stack-cost’ 02:11:24 Stashed 1 file(s) [Pipeline] } 02:11:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:24 $ docker stop --time=1 9a1ed739095456637a18713ab2b28aaa223823deef900f8adf3ef4225d82b519 02:11:25 $ docker rm -f 9a1ed739095456637a18713ab2b28aaa223823deef900f8adf3ef4225d82b519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:11:26 provisioning config files... 02:11:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config8224561343816820954tmp [Pipeline] { [Pipeline] sh 02:11:26 + set +x 02:11:26 + + curl -s https://codecov.io/bash 02:11:26 bash -s -- 02:11:26 02:11:26 _____ _ 02:11:26 / ____| | | 02:11:26 | | ___ __| | ___ ___ _____ __ 02:11:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:26 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:26 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:26 Bash-1.0.6 02:11:26 02:11:26 02:11:26 ==> git version 2.25.1 found 02:11:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:11:26 Release-Date: 2020-01-08 02:11:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:11:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:26 ==> Jenkins CI detected. 02:11:26 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1142 02:11:26 project root: . 02:11:26 --> token set from env 02:11:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:26 ==> Running gcov in . (disable via -X gcov) 02:11:26 ==> Python coveragepy not found 02:11:26 ==> Searching for coverage reports in: 02:11:26 + . 02:11:26 -> Found 1 reports 02:11:26 ==> Detecting git/mercurial file structure 02:11:26 ==> Reading reports 02:11:27 + ./coverage.out bytes=131008 02:11:27 ==> Appending adjustments 02:11:27 https://docs.codecov.io/docs/fixing-reports 02:11:27 + Found adjustments 02:11:27 ==> Gzipping contents 02:11:27 20K /tmp/codecov.erRREX.gz 02:11:27 ==> Uploading reports 02:11:27 url: https://codecov.io 02:11:27 query: branch=PR-1142&commit=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1142%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1142&job=&cmd_args= 02:11:27 -> Pinging Codecov 02:11:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1142&commit=ae5b097c774fbcde0af0ffcb948bf3416ee9ef01&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1142%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1142&job=&cmd_args= 02:11:27 -> Uploading to 02:11:27 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/ae5b097c774fbcde0af0ffcb948bf3416ee9ef01/5e1fe6b3-ea6f-4255-bf76-64fe41b37a31.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T021127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4dd78067ec1cedf10c07222d01d913a59452c2fc35e6a7b5a9258f5277065cf1 02:11:27 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:27 Dload Upload Total Spent Left Speed 02:11:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16847 0 0 100 16847 0 73567 --:--:-- --:--:-- --:--:-- 73567 02:11:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ae5b097c774fbcde0af0ffcb948bf3416ee9ef01 [Pipeline] } 02:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:11:28 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives ] 02:11:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 02:11:28 total 16 02:11:28 drwxr-xr-x 3 root root 4096 Apr 22 01:59 . 02:11:28 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 01:59 .. 02:11:28 drwxr-xr-x 2 root root 4096 Apr 22 01:59 cost 02:11:28 -rw-r--r-- 1 root root 85 Apr 22 01:59 cost.csv 02:11:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 02:11:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 02:11:28 total 16 02:11:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 01:59 . 02:11:28 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 01:59 .. 02:11:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 01:59 cost 02:11:28 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 01:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:29 ---> package-listing.sh 02:11:29 ++ facter osfamily 02:11:29 ++ tr '[:upper:]' '[:lower:]' 02:11:30 + OS_FAMILY=debian 02:11:30 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1142 02:11:30 + START_PACKAGES=/tmp/packages_start.txt 02:11:30 + END_PACKAGES=/tmp/packages_end.txt 02:11:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:30 + PACKAGES=/tmp/packages_start.txt 02:11:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' 02:11:30 + PACKAGES=/tmp/packages_end.txt 02:11:30 + case "${OS_FAMILY}" in 02:11:30 + dpkg -l 02:11:30 + grep '^ii' 02:11:30 + '[' -f /tmp/packages_start.txt ']' 02:11:30 + '[' -f /tmp/packages_end.txt ']' 02:11:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' 02:11:30 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ 02:11:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ [Pipeline] echo 02:11:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1142/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:30 . [Pipeline] withDockerContainer 02:11:30 prd-ubuntu20.04-docker-8c-8g-21717 does not seem to be running inside a container 02:11:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1142/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:31 $ docker top 4657b1348b99cbd2ff77c10b96aee8a5876817cdf2cee617b31c053fe20173f9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:31 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:31 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:32 + ls /var/log/sa-host 02:11:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:32 provisioning config files... 02:11:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config5749272411490965032tmp [Pipeline] { [Pipeline] echo 02:11:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:32 ---> create-netrc.sh [Pipeline] } 02:11:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:33 ---> python-tools-install.sh [Pipeline] echo 02:11:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:33 ---> sudo-logs.sh 02:11:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:33 ---> job-cost.sh 02:11:33 lf-activate-venv: SKIPPING 02:11:33 DEBUG: total: 0.2199999988079071 02:11:33 INFO: Retrieving Stack Cost... 02:11:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:34 INFO: Archiving Costs [Pipeline] echo 02:11:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:34 ---> logs-deploy.sh 02:11:34 lf-activate-venv: SKIPPING 02:11:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1142/2 02:11:34 INFO: archiving workspace using pattern(s): 02:11:35 Archives upload complete. 02:11:35 INFO: archiving logs to Nexus