Pull request #1130 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 rather than 3593550cb183f04032b99acb80b17e47af38cf69 Obtained Jenkinsfile from c11ae5f9cc83784f65659a881f6412b77a9cc0d8 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-ssh11508491941536648087.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-ssh409204459870908888.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-1130/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-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11461096826432768600.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-ssh7159422769052386739.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-1130/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-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12232114854320790339.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 Running on prd-ubuntu20.04-docker-8c-8g-20607 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [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-1130 # 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 > 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/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 Merge succeeded, producing 3593550cb183f04032b99acb80b17e47af38cf69 Checking out Revision 3593550cb183f04032b99acb80b17e47af38cf69 (PR-1130) > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:06 ========================================================= 02:45:06 EdgeX Global Pipelines Version Info 02:45:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 828ce9130f6c7761fa5367ae0a92a32ead3670da # timeout=10 02:45:07 ------------------- 02:45:07 stable info: 02:45:07 ------------------- 02:45:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:07 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:45:07 Message: update stable to v1.0.221 02:45:07 ------------------- 02:45:07 experimental info: 02:45:07 ------------------- 02:45:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:07 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:45:07 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3593550 [Pipeline] echo 02:45:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:08 provisioning config files... 02:45:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config1008155242492653776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:08 ---> docker-login.sh 02:45:08 nexus3.edgexfoundry.org:10001 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 nexus3.edgexfoundry.org:10002 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 nexus3.edgexfoundry.org:10003 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 nexus3.edgexfoundry.org:10004 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:09 Configure a credential helper to remove this warning. See 02:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:09 02:45:09 Login Succeeded 02:45:09 docker.io 02:45:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:10 Configure a credential helper to remove this warning. See 02:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:10 02:45:10 Login Succeeded 02:45:10 ---> docker-login.sh ends [Pipeline] } 02:45:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:45:10 + git rev-list -1 --merges 3593550cb183f04032b99acb80b17e47af38cf69~1..3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo 02:45:10 -----------> git rev-list -1 --merges 3593550cb183f04032b99acb80b17e47af38cf69~1..3593550cb183f04032b99acb80b17e47af38cf69 3593550cb183f04032b99acb80b17e47af38cf69 [false] [Pipeline] sh 02:45:10 + git log --format=format:%s -1 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo 02:45:10 ========================================================= 02:45:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:45:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:11 + git log --format=format:%s -1 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo 02:45:11 [semverPrep] GIT_COMMIT: 3593550cb183f04032b99acb80b17e47af38cf69, Commit Message: feat: Implement ReadingUnits configuration for device profile changes [Pipeline] echo 02:45:11 [semverPrep] This is not a build commit. [Pipeline] sh 02:45:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:11 + grep -v github /etc/ssh/ssh_known_hosts 02:45:11 + [ -e /tmp/ssh_known_hosts ] 02:45:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:45:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:45:11 + sudo tee -a /etc/ssh/ssh_known_hosts 02:45:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:12 02:45:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:12 latest: Pulling from edgex-devops/git-semver 02:45:12 a0d0a0d46f8b: Pulling fs layer 02:45:12 3e5f54012d9b: Pulling fs layer 02:45:12 4c7163046ea9: Pulling fs layer 02:45:12 0c2d73faf560: Pulling fs layer 02:45:12 0c2d73faf560: Waiting 02:45:12 3e5f54012d9b: Verifying Checksum 02:45:12 3e5f54012d9b: Download complete 02:45:12 a0d0a0d46f8b: Verifying Checksum 02:45:12 a0d0a0d46f8b: Download complete 02:45:12 0c2d73faf560: Verifying Checksum 02:45:12 0c2d73faf560: Download complete 02:45:12 4c7163046ea9: Download complete 02:45:12 a0d0a0d46f8b: Pull complete 02:45:12 3e5f54012d9b: Pull complete 02:45:13 4c7163046ea9: Pull complete 02:45:13 0c2d73faf560: Pull complete 02:45:13 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:13 prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container 02:45:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:45:14 $ docker top d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:14 [ssh-agent] Looking for ssh-agent implementation... 02:45:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:14 $ docker exec d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent 02:45:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbHAABl/agent.13 02:45:14 SSH_AGENT_PID=19 02:45:14 Running ssh-add (command line suppressed) 02:45:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_874930030381753897.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_874930030381753897.key) 02:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:15 + git tag --points-at HEAD [Pipeline] } 02:45:15 $ docker exec --env ******** --env ******** d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent -k 02:45:15 unset SSH_AUTH_SOCK; 02:45:15 unset SSH_AGENT_PID; 02:45:15 echo Agent pid 19 killed; 02:45:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:15 [ssh-agent] Looking for ssh-agent implementation... 02:45:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:15 $ docker exec d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent 02:45:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIjeni/agent.55 02:45:15 SSH_AGENT_PID=62 02:45:15 Running ssh-add (command line suppressed) 02:45:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_412483432717042554.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_412483432717042554.key) 02:45:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:16 + git semver init 02:45:16 # -> Open(): unable to determine branch for HEAD 02:45:16 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git 02:45:16 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 02:45:16 # $SEMVER_REMOTE_NAME = origin 02:45:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:16 # $SEMVER_USER_NAME = edgex-jenkins 02:45:16 # $SEMVER_BRANCH = PR-1130 02:45:16 # $SEMVER_TEMP = /tmp/semver-887973378 02:45:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:45:17 # '/tmp/semver-887973378' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' 02:45:17 # -> Force: false 02:45:17 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } 02:45:17 $ docker exec --env ******** --env ******** d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent -k 02:45:17 unset SSH_AUTH_SOCK; 02:45:17 unset SSH_AGENT_PID; 02:45:17 echo Agent pid 62 killed; 02:45:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:17 + git semver [Pipeline] } 02:45:17 $ docker stop --time=1 d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c 02:45:19 $ docker rm -f d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c [Pipeline] // withDockerContainer [Pipeline] sh 02:45:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:20 Stashed 1 file(s) [Pipeline] echo 02:45:20 [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 02:45:20 provisioning config files... 02:45:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3686677768919873589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:20 ---> docker-login.sh 02:45:20 nexus3.edgexfoundry.org:10001 02:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:20 Configure a credential helper to remove this warning. See 02:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:20 02:45:20 Login Succeeded 02:45:20 nexus3.edgexfoundry.org:10002 02:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:20 Configure a credential helper to remove this warning. See 02:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:20 02:45:20 Login Succeeded 02:45:20 nexus3.edgexfoundry.org:10003 02:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:20 Configure a credential helper to remove this warning. See 02:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:20 02:45:20 Login Succeeded 02:45:20 nexus3.edgexfoundry.org:10004 02:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:21 Configure a credential helper to remove this warning. See 02:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:21 02:45:21 Login Succeeded 02:45:21 docker.io 02:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:21 Configure a credential helper to remove this warning. See 02:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:21 02:45:21 Login Succeeded 02:45:21 ---> docker-login.sh ends [Pipeline] } 02:45:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:21 ========================================================= 02:45:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:45:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:45:21 + 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 . 02:45:21 Sending build context to Docker daemon 9.618MB 02:45:21 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:45:21 Step 2/11 : FROM ${BASE} AS builder 02:45:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:22 59bf1c3509f3: Pulling fs layer 02:45:22 666ba61612fd: Pulling fs layer 02:45:22 8ed8ca486205: Pulling fs layer 02:45:22 4fe6c5a15a65: Pulling fs layer 02:45:22 22a0e8bec74d: Pulling fs layer 02:45:22 640e595b4fbd: Pulling fs layer 02:45:22 763cafe07f6e: Pulling fs layer 02:45:22 0c0b528cf693: Pulling fs layer 02:45:22 10935f4eaf8b: Pulling fs layer 02:45:22 640e595b4fbd: Waiting 02:45:22 763cafe07f6e: Waiting 02:45:22 22a0e8bec74d: Waiting 02:45:22 4fe6c5a15a65: Waiting 02:45:22 10935f4eaf8b: Waiting 02:45:22 8ed8ca486205: Download complete 02:45:22 666ba61612fd: Download complete 02:45:22 22a0e8bec74d: Verifying Checksum 02:45:22 22a0e8bec74d: Download complete 02:45:22 640e595b4fbd: Verifying Checksum 02:45:22 640e595b4fbd: Download complete 02:45:22 59bf1c3509f3: Verifying Checksum 02:45:22 59bf1c3509f3: Download complete 02:45:22 763cafe07f6e: Verifying Checksum 02:45:22 763cafe07f6e: Download complete 02:45:22 0c0b528cf693: Verifying Checksum 02:45:22 0c0b528cf693: Download complete 02:45:22 59bf1c3509f3: Pull complete 02:45:22 666ba61612fd: Pull complete 02:45:22 8ed8ca486205: Pull complete 02:45:22 10935f4eaf8b: Verifying Checksum 02:45:22 10935f4eaf8b: Download complete 02:45:22 4fe6c5a15a65: Download complete 02:45:27 4fe6c5a15a65: Pull complete 02:45:27 22a0e8bec74d: Pull complete 02:45:27 640e595b4fbd: Pull complete 02:45:27 763cafe07f6e: Pull complete 02:45:27 0c0b528cf693: Pull complete 02:45:29 10935f4eaf8b: Pull complete 02:45:29 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:45:29 ---> 99d49a6021b9 02:45:29 Step 3/11 : ARG MAKE=make build 02:45:31 ---> Running in f75fc44bdcb3 02:45:31 Removing intermediate container f75fc44bdcb3 02:45:31 ---> faeb8d7a7c44 02:45:31 Step 4/11 : WORKDIR /device-sdk-go 02:45:31 ---> Running in 2e312073c9ab 02:45:31 Removing intermediate container 2e312073c9ab 02:45:31 ---> d6fe03bd566d 02:45:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:31 ---> Running in 620112818d54 02:45:31 Removing intermediate container 620112818d54 02:45:31 ---> 921c9ce844f1 02:45:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:31 ---> Running in db8d1cd3a0e4 02:45:32 Removing intermediate container db8d1cd3a0e4 02:45:32 ---> 1e9c94e2c200 02:45:32 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:45:32 ---> Running in 35cfb00f822a 02:45:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:45:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:45:34 OK: 221 MiB in 52 packages 02:45:34 Removing intermediate container 35cfb00f822a 02:45:34 ---> c284a684af5c 02:45:34 Step 8/11 : COPY go.mod vendor* ./ 02:45:34 ---> ca7d2b2d1189 02:45:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:34 ---> Running in d649af4c9266 02:45:35 Still waiting to schedule task 02:45:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:45:56 Removing intermediate container d649af4c9266 02:45:56 ---> 4ed137bcc018 02:45:56 Step 10/11 : COPY . . 02:45:56 ---> c777bf0036a9 02:45:56 Step 11/11 : RUN ${MAKE} 02:45:56 ---> Running in 15ecf1f68dad 02:45:56 noop 02:45:56 Removing intermediate container 15ecf1f68dad 02:45:56 ---> 2420e68cc1c0 02:45:56 Successfully built 2420e68cc1c0 02:45:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:56 + docker inspect -f . ci-base-image-x86_64 02:45:56 . [Pipeline] withDockerContainer 02:45:56 prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container 02:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat 02:45:57 $ docker top 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:57 + go version 02:45:57 go version go1.17.6 linux/amd64 [Pipeline] } 02:45:57 $ docker stop --time=1 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 02:45:59 $ docker rm -f 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:59 + docker inspect -f . ci-base-image-x86_64 02:45:59 . [Pipeline] withDockerContainer 02:45:59 prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container 02:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat 02:46:00 $ docker top 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:46:00 + make test 02:46:00 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:46:00 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.034s coverage: 27.6% of statements 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.028s coverage: 78.9% of statements 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.024s coverage: 10.8% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements 02:46:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:46:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.016s coverage: 86.1% of statements 02:46:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.038s coverage: 57.2% of statements 02:46:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.054s coverage: 89.2% of statements 02:46:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:46:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements 02:46:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:20 GO111MODULE=on go vet ./... 02:46:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:23 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:46:24 $ docker stop --time=1 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 02:46:26 $ docker rm -f 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:28 + ls -al . 02:46:28 total 296 02:46:28 drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 02:46 . 02:46:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:45 .. 02:46:28 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 02:45 .dockerignore 02:46:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 02:45 .git 02:46:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:45 .github 02:46:28 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 02:45 .gitignore 02:46:28 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 02:45 .golangci.yml 02:46:28 drwx------ 3 jenkins jenkins 4096 Apr 12 02:45 .semver 02:46:28 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 02:45 CHANGELOG.md 02:46:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 02:45 GOVERNANCE.md 02:46:28 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 02:45 Jenkinsfile 02:46:28 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 02:45 LICENSE 02:46:28 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 02:45 Makefile 02:46:28 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 02:45 OWNERS.md 02:46:28 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 02:45 README.md 02:46:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 02:45 VERSION 02:46:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:45 bin 02:46:28 -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 02:46 coverage.out 02:46:28 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:45 example 02:46:28 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 02:45 go.mod 02:46:28 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 02:45 go.sum 02:46:28 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 02:45 internal 02:46:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 02:45 openapi 02:46:28 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:45 pkg 02:46:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:45 snap 02:46:28 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:46:28 + 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=3593550cb183f04032b99acb80b17e47af38cf69 --label arch=amd64 --label version=0.0.0 . 02:46:28 Sending build context to Docker daemon 9.748MB 02:46:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:46:28 Step 2/25 : FROM ${BASE} AS builder 02:46:28 ---> 2420e68cc1c0 02:46:28 Step 3/25 : ARG MAKE=make build 02:46:28 ---> Running in ed67695dd8c1 02:46:28 Removing intermediate container ed67695dd8c1 02:46:28 ---> adf7239a3f9d 02:46:28 Step 4/25 : WORKDIR /device-sdk-go 02:46:28 ---> Running in 3bfa6cdf2fa4 02:46:29 Removing intermediate container 3bfa6cdf2fa4 02:46:29 ---> 6ab8e0ef9efd 02:46:29 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:29 ---> Running in 29abe65f7737 02:46:29 Removing intermediate container 29abe65f7737 02:46:29 ---> 0069ee14b987 02:46:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:29 ---> Running in 6b122a531311 02:46:30 Removing intermediate container 6b122a531311 02:46:30 ---> 0472d7b29e37 02:46:30 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:46:30 ---> Running in 48c0f734e2d1 02:46:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:46:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:46:31 OK: 221 MiB in 52 packages 02:46:31 Removing intermediate container 48c0f734e2d1 02:46:31 ---> a9293be71b3a 02:46:31 Step 8/25 : COPY go.mod vendor* ./ 02:46:32 ---> 2b2e543a33a1 02:46:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:32 ---> Running in 9d277b945ede 02:46:32 Removing intermediate container 9d277b945ede 02:46:32 ---> 84751e395208 02:46:32 Step 10/25 : COPY . . 02:46:33 ---> 160bcdb7fea7 02:46:33 Step 11/25 : RUN ${MAKE} 02:46:33 ---> Running in 561f32e2897b 02:46:33 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:46:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:46:53 Removing intermediate container 561f32e2897b 02:46:53 ---> f67e4e2dc2bb 02:46:53 Step 12/25 : FROM alpine:3.14 02:46:54 3.14: Pulling from library/alpine 02:46:54 8663204ce13b: Pulling fs layer 02:46:54 8663204ce13b: Verifying Checksum 02:46:54 8663204ce13b: Download complete 02:46:54 8663204ce13b: Pull complete 02:46:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:46:54 Status: Downloaded newer image for alpine:3.14 02:46:54 ---> e04c818066af 02:46:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:54 ---> Running in 9c2a58d77ebb 02:46:54 Removing intermediate container 9c2a58d77ebb 02:46:54 ---> dd244e55467b 02:46:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:54 ---> Running in e1bbd6834221 02:46:55 Removing intermediate container e1bbd6834221 02:46:55 ---> f533ac97bcd0 02:46:55 Step 15/25 : RUN apk add --update --no-cache zeromq 02:46:55 ---> Running in 3c04251d46f9 02:46:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:46:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:46:56 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:46:57 (2/5) Installing libsodium (1.0.18-r0) 02:46:57 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:46:57 (4/5) Installing libzmq (4.3.4-r0) 02:46:57 (5/5) Installing zeromq (4.3.4-r0) 02:46:57 Executing busybox-1.33.1-r7.trigger 02:46:57 OK: 8 MiB in 19 packages 02:46:58 Removing intermediate container 3c04251d46f9 02:46:58 ---> b66d7cc57637 02:46:58 Step 16/25 : WORKDIR / 02:46:58 ---> Running in f7d44b65ebf0 02:46:58 Removing intermediate container f7d44b65ebf0 02:46:58 ---> 3a40aeebeae8 02:46:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:46:58 ---> 3ec43dda02a8 02:46:58 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:46:58 ---> 87d9e82c44b1 02:46:58 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:46:59 ---> 2f6127c4cbb2 02:46:59 Step 20/25 : EXPOSE 59999 02:46:59 ---> Running in cef3aeead1c9 02:46:59 Removing intermediate container cef3aeead1c9 02:46:59 ---> 7333cea5b201 02:46:59 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:46:59 ---> Running in 95549357dcaa 02:46:59 Removing intermediate container 95549357dcaa 02:46:59 ---> 0ef344b48f72 02:46:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:59 ---> Running in acbe025c8748 02:46:59 Removing intermediate container acbe025c8748 02:46:59 ---> 7258e1203556 02:46:59 Step 23/25 : LABEL arch=amd64 02:46:59 ---> Running in 56fefade3a96 02:46:59 Removing intermediate container 56fefade3a96 02:46:59 ---> 748111c6ddf3 02:46:59 Step 24/25 : LABEL git_sha=3593550cb183f04032b99acb80b17e47af38cf69 02:46:59 ---> Running in 7ac8b4e8c2fb 02:46:59 Removing intermediate container 7ac8b4e8c2fb 02:46:59 ---> bf6c7d396b1d 02:46:59 Step 25/25 : LABEL version=0.0.0 02:46:59 ---> Running in c3643f82ae88 02:46:59 Removing intermediate container c3643f82ae88 02:46:59 ---> a087facefc9a 02:46:59 [Warning] One or more build-args [ARCH] were not consumed 02:46:59 Successfully built a087facefc9a 02:46:59 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 02:47:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:00 02:47:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:47:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:00 latest: Pulling from edgex-lftools-log-publisher 02:47:00 5eb5b503b376: Pulling fs layer 02:47:00 5c69ac0246d0: Pulling fs layer 02:47:00 ec43610c2a17: Pulling fs layer 02:47:00 3a2ae6a8a46f: Pulling fs layer 02:47:00 33b1e0a273af: Pulling fs layer 02:47:00 5d3b04190fa2: Pulling fs layer 02:47:00 2f39f015ded8: Pulling fs layer 02:47:00 33b1e0a273af: Waiting 02:47:00 5d3b04190fa2: Waiting 02:47:00 2f39f015ded8: Waiting 02:47:00 3a2ae6a8a46f: Waiting 02:47:00 5c69ac0246d0: Download complete 02:47:00 3a2ae6a8a46f: Download complete 02:47:00 33b1e0a273af: Verifying Checksum 02:47:00 33b1e0a273af: Download complete 02:47:00 5d3b04190fa2: Verifying Checksum 02:47:00 5d3b04190fa2: Download complete 02:47:00 ec43610c2a17: Verifying Checksum 02:47:00 ec43610c2a17: Download complete 02:47:00 5eb5b503b376: Verifying Checksum 02:47:00 5eb5b503b376: Download complete 02:47:01 2f39f015ded8: Download complete 02:47:02 5eb5b503b376: Pull complete 02:47:02 5c69ac0246d0: Pull complete 02:47:02 ec43610c2a17: Pull complete 02:47:02 3a2ae6a8a46f: Pull complete 02:47:03 33b1e0a273af: Pull complete 02:47:03 5d3b04190fa2: Pull complete 02:47:07 2f39f015ded8: Pull complete 02:47:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:47:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:47:07 prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container 02:47:07 $ 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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20608 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 02:47:09 $ docker top d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 02:47:10 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:47:10 ---> job-cost.sh 02:47:10 lf-activate-venv: SKIPPING 02:47:10 INFO: No Stack... 02:47:10 The recommended git tool is: git 02:47:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:11 INFO: Archiving Costs [Pipeline] sh 02:47:11 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv 02:47:11 + cut -d, -f6 [Pipeline] lock 02:47:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] 02:47:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] did not exist. Created. 02:47:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:11 + echo total: 0.2199999988079071 [Pipeline] stash 02:47:11 Stashed 1 file(s) [Pipeline] } 02:47:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:11 $ docker stop --time=1 d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 02:47:13 $ docker rm -f d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:17 using credential edgex-jenkins-ssh 02:47:17 Cloning the remote Git repository 02:47:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:17 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:47:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:17 > git --version # timeout=10 02:47:17 > git --version # 'git version 2.25.1' 02:47:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:20 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 02:47:20 Merge succeeded, producing 3593550cb183f04032b99acb80b17e47af38cf69 02:47:20 Checking out Revision 3593550cb183f04032b99acb80b17e47af38cf69 (PR-1130) 02:47:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:47:20 > git config core.sparsecheckout # timeout=10 02:47:20 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 02:47:20 > git remote # timeout=10 02:47:20 > git config --get remote.origin.url # timeout=10 02:47:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:20 > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 02:47:20 > git rev-parse HEAD^{commit} # timeout=10 02:47:20 > git config core.sparsecheckout # timeout=10 02:47:20 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 02:47:24 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:47:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:25 Dload Upload Total Spent Left Speed 02:47:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46443 [Pipeline] sh 02:47:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:47:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:47:26 + sudo tee /etc/docker/daemon.new 02:47:26 { 02:47:26 "registry-mirrors": [ 02:47:26 "https://nexus3.edgexfoundry.org:10001" 02:47:26 ], 02:47:26 "bip": "10.250.0.254/24", 02:47:26 "hosts": [ 02:47:26 "tcp://0.0.0.0:5555", 02:47:26 "unix:///var/run/docker.sock" 02:47:26 ], 02:47:26 "mtu": 1458, 02:47:26 "selinux-enabled": true, 02:47:26 "seccomp-profile": "/etc/docker/seccomp.json" 02:47:26 } [Pipeline] sh 02:47:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:47:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:45 provisioning config files... 02:47:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config179141763606226310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:46 ---> docker-login.sh 02:47:46 nexus3.edgexfoundry.org:10001 02:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:46 Configure a credential helper to remove this warning. See 02:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:46 02:47:46 Login Succeeded 02:47:46 nexus3.edgexfoundry.org:10002 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10003 02:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:47 Configure a credential helper to remove this warning. See 02:47:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:47 02:47:47 Login Succeeded 02:47:47 nexus3.edgexfoundry.org:10004 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:48 Configure a credential helper to remove this warning. See 02:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:48 02:47:48 Login Succeeded 02:47:48 docker.io 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:48 Configure a credential helper to remove this warning. See 02:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:48 02:47:48 Login Succeeded 02:47:49 ---> docker-login.sh ends [Pipeline] } 02:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:47:49 ========================================================= 02:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:47:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:47:50 + 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:47:50 Sending build context to Docker daemon 5.213MB 02:47:50 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:47:50 Step 2/11 : FROM ${BASE} AS builder 02:47:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:50 9b3977197b4f: Pulling fs layer 02:47:50 1a89e8eeedd5: Pulling fs layer 02:47:50 94645a83ff95: Pulling fs layer 02:47:50 3f3a8bcf1eab: Pulling fs layer 02:47:50 0c92f367c5e7: Pulling fs layer 02:47:50 f7c0051592d6: Pulling fs layer 02:47:50 a227ed2f7395: Pulling fs layer 02:47:50 7b1c46037f91: Pulling fs layer 02:47:50 0c92f367c5e7: Waiting 02:47:50 f7c0051592d6: Waiting 02:47:50 a227ed2f7395: Waiting 02:47:50 7b1c46037f91: Waiting 02:47:50 3f3a8bcf1eab: Waiting 02:47:51 94645a83ff95: Verifying Checksum 02:47:51 94645a83ff95: Download complete 02:47:51 1a89e8eeedd5: Verifying Checksum 02:47:51 1a89e8eeedd5: Download complete 02:47:51 0c92f367c5e7: Verifying Checksum 02:47:51 0c92f367c5e7: Download complete 02:47:51 f7c0051592d6: Verifying Checksum 02:47:51 f7c0051592d6: Download complete 02:47:51 9b3977197b4f: Download complete 02:47:51 a227ed2f7395: Verifying Checksum 02:47:51 a227ed2f7395: Download complete 02:47:51 9b3977197b4f: Pull complete 02:47:52 1a89e8eeedd5: Pull complete 02:47:52 94645a83ff95: Pull complete 02:47:53 7b1c46037f91: Download complete 02:47:53 3f3a8bcf1eab: Verifying Checksum 02:47:53 3f3a8bcf1eab: Download complete 02:48:06 3f3a8bcf1eab: Pull complete 02:48:06 0c92f367c5e7: Pull complete 02:48:06 f7c0051592d6: Pull complete 02:48:06 a227ed2f7395: Pull complete 02:48:13 7b1c46037f91: Pull complete 02:48:13 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:48:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:48:13 ---> f79e39bc4007 02:48:13 Step 3/11 : ARG MAKE=make build 02:48:13 ---> Running in b3b279815d0a 02:48:13 Removing intermediate container b3b279815d0a 02:48:13 ---> b233bf0484df 02:48:13 Step 4/11 : WORKDIR /device-sdk-go 02:48:13 ---> Running in 30c4185a7d1a 02:48:13 Removing intermediate container 30c4185a7d1a 02:48:13 ---> 1637ab1b4b71 02:48:13 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:13 ---> Running in 2957fab7b6c4 02:48:14 Removing intermediate container 2957fab7b6c4 02:48:14 ---> 1353744a3f37 02:48:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:14 ---> Running in d083227072a4 02:48:15 Removing intermediate container d083227072a4 02:48:15 ---> bc8244ab111e 02:48:15 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:48:16 ---> Running in 983744477f62 02:48:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:48:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:48:18 OK: 220 MiB in 52 packages 02:48:19 Removing intermediate container 983744477f62 02:48:19 ---> 8cb92b0f8ab5 02:48:19 Step 8/11 : COPY go.mod vendor* ./ 02:48:22 ---> b39176c26714 02:48:22 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:22 ---> Running in bcc05070f4ef 02:49:09 Removing intermediate container bcc05070f4ef 02:49:09 ---> 6aa350805e92 02:49:09 Step 10/11 : COPY . . 02:49:09 ---> e377d419627b 02:49:09 Step 11/11 : RUN ${MAKE} 02:49:09 ---> Running in ec1ce35d3938 02:49:09 noop 02:49:09 Removing intermediate container ec1ce35d3938 02:49:09 ---> 4bb0ff135380 02:49:09 Successfully built 4bb0ff135380 02:49:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:49:09 + docker inspect -f . ci-base-image-arm64 02:49:09 . [Pipeline] withDockerContainer 02:49:09 prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container 02:49:10 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:49:11 $ docker top d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:12 + go version 02:49:12 go version go1.17.6 linux/arm64 [Pipeline] } 02:49:12 $ docker stop --time=1 d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 02:49:13 $ docker rm -f d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:14 + docker inspect -f . ci-base-image-arm64 02:49:14 . [Pipeline] withDockerContainer 02:49:14 prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container 02:49:14 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:49:16 $ docker top 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:49:17 + make test 02:49:17 GO111MODULE=on go test -coverprofile=coverage.out ./... 02:49:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 02:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.115s coverage: 78.9% of statements 02:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.095s coverage: 10.8% of statements 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.133s coverage: 33.2% of statements 02:50:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 86.1% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.2% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.208s coverage: 89.2% of statements 02:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:50:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements 02:50:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:50:49 GO111MODULE=on go vet ./... 02:51:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:51:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:51:16 ./bin/test-attribution-txt.sh [Pipeline] echo 02:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:51:18 $ docker stop --time=1 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 02:51:20 $ docker rm -f 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:21 Warning: overwriting stash ‘coverage-report’ 02:51:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:22 + ls -al . 02:51:22 total 292 02:51:22 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 02:51 . 02:51:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:47 .. 02:51:22 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 02:47 .dockerignore 02:51:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 02:47 .git 02:51:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:47 .github 02:51:22 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 02:47 .gitignore 02:51:22 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 02:47 .golangci.yml 02:51:22 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 02:47 CHANGELOG.md 02:51:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 02:47 GOVERNANCE.md 02:51:22 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 02:47 Jenkinsfile 02:51:22 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 02:47 LICENSE 02:51:22 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 02:47 Makefile 02:51:22 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 02:47 OWNERS.md 02:51:22 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 02:47 README.md 02:51:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 02:45 VERSION 02:51:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:47 bin 02:51:22 -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 02:50 coverage.out 02:51:22 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:47 example 02:51:22 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 02:47 go.mod 02:51:22 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 02:47 go.sum 02:51:22 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 02:47 internal 02:51:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 02:47 openapi 02:51:22 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:47 pkg 02:51:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:47 snap 02:51:22 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:23 + 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=3593550cb183f04032b99acb80b17e47af38cf69 --label arch=arm64 --label version=0.0.0 . 02:51:23 Sending build context to Docker daemon 5.343MB 02:51:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:51:23 Step 2/25 : FROM ${BASE} AS builder 02:51:23 ---> 4bb0ff135380 02:51:23 Step 3/25 : ARG MAKE=make build 02:51:23 ---> Running in 5de978fab010 02:51:23 Removing intermediate container 5de978fab010 02:51:23 ---> 4fae440f3f95 02:51:23 Step 4/25 : WORKDIR /device-sdk-go 02:51:23 ---> Running in 5cbfeaacaabc 02:51:24 Removing intermediate container 5cbfeaacaabc 02:51:24 ---> 7ba4ccc03dc6 02:51:24 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:24 ---> Running in d1ea57cbd61a 02:51:24 Removing intermediate container d1ea57cbd61a 02:51:24 ---> ecd858a3e972 02:51:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:24 ---> Running in ecff9dbe7c61 02:51:26 Removing intermediate container ecff9dbe7c61 02:51:26 ---> a41093785be4 02:51:26 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:51:26 ---> Running in 69c50fa2a18e 02:51:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:51:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:51:29 OK: 220 MiB in 52 packages 02:51:30 Removing intermediate container 69c50fa2a18e 02:51:30 ---> 372d9b45874e 02:51:30 Step 8/25 : COPY go.mod vendor* ./ 02:51:30 ---> deff09c91080 02:51:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:30 ---> Running in b84d7a172c72 02:51:32 Removing intermediate container b84d7a172c72 02:51:32 ---> b02f28a985d9 02:51:32 Step 10/25 : COPY . . 02:51:33 ---> 4df25701f38d 02:51:33 Step 11/25 : RUN ${MAKE} 02:51:33 ---> Running in 5949f4cc513a 02:51:34 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:53:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:53:27 Removing intermediate container 5949f4cc513a 02:53:27 ---> a616ae39772e 02:53:27 Step 12/25 : FROM alpine:3.14 02:53:28 3.14: Pulling from library/alpine 02:53:28 455c02918c45: Pulling fs layer 02:53:28 455c02918c45: Download complete 02:53:29 455c02918c45: Pull complete 02:53:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:53:29 Status: Downloaded newer image for alpine:3.14 02:53:29 ---> ac73e934f311 02:53:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:53:29 ---> Running in c97dacf5f615 02:53:29 Removing intermediate container c97dacf5f615 02:53:29 ---> da9a8f35701e 02:53:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:53:29 ---> Running in 4fe14607d133 02:53:31 Removing intermediate container 4fe14607d133 02:53:31 ---> 80018a6e6989 02:53:31 Step 15/25 : RUN apk add --update --no-cache zeromq 02:53:31 ---> Running in f0dd4e3e62f7 02:53:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:53:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:53:33 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:53:33 (2/5) Installing libsodium (1.0.18-r0) 02:53:33 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:53:34 (4/5) Installing libzmq (4.3.4-r0) 02:53:34 (5/5) Installing zeromq (4.3.4-r0) 02:53:34 Executing busybox-1.33.1-r7.trigger 02:53:34 OK: 8 MiB in 19 packages 02:53:35 Removing intermediate container f0dd4e3e62f7 02:53:35 ---> 357ec16dfaa0 02:53:35 Step 16/25 : WORKDIR / 02:53:35 ---> Running in 54d72caef43e 02:53:35 Removing intermediate container 54d72caef43e 02:53:35 ---> 6d081b883d25 02:53:35 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:53:36 ---> de558f92ddb2 02:53:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:53:37 ---> 6dd6d0e826d2 02:53:37 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:53:38 ---> 08889a7c3c1e 02:53:38 Step 20/25 : EXPOSE 59999 02:53:38 ---> Running in dd9de42a973d 02:53:38 Removing intermediate container dd9de42a973d 02:53:38 ---> 330b8c29494d 02:53:38 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:53:38 ---> Running in 32f0069d3fe1 02:53:38 Removing intermediate container 32f0069d3fe1 02:53:38 ---> 68c42a607aee 02:53:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:53:38 ---> Running in 565d6a32bf76 02:53:39 Removing intermediate container 565d6a32bf76 02:53:39 ---> 1a8cd6f147b3 02:53:39 Step 23/25 : LABEL arch=arm64 02:53:39 ---> Running in d5a512af3b82 02:53:39 Removing intermediate container d5a512af3b82 02:53:39 ---> 204cc433d5a2 02:53:39 Step 24/25 : LABEL git_sha=3593550cb183f04032b99acb80b17e47af38cf69 02:53:39 ---> Running in 748c8f7fbcc6 02:53:40 Removing intermediate container 748c8f7fbcc6 02:53:40 ---> 7bb85bd70bbc 02:53:40 Step 25/25 : LABEL version=0.0.0 02:53:40 ---> Running in cd93689f997c 02:53:40 Removing intermediate container cd93689f997c 02:53:40 ---> 4cb882e5cf1a 02:53:40 [Warning] One or more build-args [ARCH] were not consumed 02:53:40 Successfully built 4cb882e5cf1a 02:53:40 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:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:40 02:53:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:53:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:53:41 arm64: Pulling from edgex-lftools-log-publisher 02:53:41 8998bd30e6a1: Pulling fs layer 02:53:41 04944245beec: Pulling fs layer 02:53:41 699f458cf7ca: Pulling fs layer 02:53:41 765212b225bb: Pulling fs layer 02:53:41 f23df028b6ca: Pulling fs layer 02:53:41 d65c8cfc05b1: Pulling fs layer 02:53:41 2437ff75d9bd: Pulling fs layer 02:53:41 765212b225bb: Waiting 02:53:41 f23df028b6ca: Waiting 02:53:41 d65c8cfc05b1: Waiting 02:53:41 2437ff75d9bd: Waiting 02:53:41 04944245beec: Verifying Checksum 02:53:41 04944245beec: Download complete 02:53:41 765212b225bb: Verifying Checksum 02:53:41 765212b225bb: Download complete 02:53:41 f23df028b6ca: Download complete 02:53:41 d65c8cfc05b1: Download complete 02:53:41 699f458cf7ca: Verifying Checksum 02:53:41 699f458cf7ca: Download complete 02:53:41 8998bd30e6a1: Verifying Checksum 02:53:41 8998bd30e6a1: Download complete 02:53:43 2437ff75d9bd: Verifying Checksum 02:53:43 2437ff75d9bd: Download complete 02:53:46 8998bd30e6a1: Pull complete 02:53:46 04944245beec: Pull complete 02:53:48 699f458cf7ca: Pull complete 02:53:48 765212b225bb: Pull complete 02:53:49 f23df028b6ca: Pull complete 02:53:49 d65c8cfc05b1: Pull complete 02:54:04 2437ff75d9bd: Pull complete 02:54:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:54:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:54:04 prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container 02:54:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:54:07 $ docker top 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:08 ---> job-cost.sh 02:54:08 lf-activate-venv: SKIPPING 02:54:08 INFO: No Stack... 02:54:08 INFO: Retrieving Pricing Info for: v3-standard-4 02:54:09 INFO: Archiving Costs [Pipeline] sh 02:54:10 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 02:54:10 + cut -d, -f6 [Pipeline] lock 02:54:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] 02:54:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] did not exist. Created. 02:54:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:11 /w/workspace/device-sdk-go/2@tmp/durable-4505c7a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:54:11 + echo total: 0.10999999940395355 [Pipeline] stash 02:54:11 Warning: overwriting stash ‘stack-cost’ 02:54:11 Stashed 1 file(s) [Pipeline] } 02:54:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:11 $ docker stop --time=1 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 02:54:13 $ docker rm -f 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 [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:54:13 provisioning config files... 02:54:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config9092653228599208027tmp [Pipeline] { [Pipeline] sh 02:54:14 + set +x 02:54:14 + curl -s https://codecov.io/bash 02:54:14 + bash -s -- 02:54:14 02:54:14 _____ _ 02:54:14 / ____| | | 02:54:14 | | ___ __| | ___ ___ _____ __ 02:54:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:54:14 | |___| (_) | (_| | __/ (_| (_) \ V / 02:54:14 \_____\___/ \__,_|\___|\___\___/ \_/ 02:54:14 Bash-1.0.6 02:54:14 02:54:14 02:54:14 ==> git version 2.25.1 found 02:54:14 ==> 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:54:14 Release-Date: 2020-01-08 02:54:14 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:54:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:54:14 ==> Jenkins CI detected. 02:54:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 02:54:14 project root: . 02:54:14 --> token set from env 02:54:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:54:14 ==> Running gcov in . (disable via -X gcov) 02:54:14 ==> Python coveragepy not found 02:54:14 ==> Searching for coverage reports in: 02:54:14 + . 02:54:14 -> Found 1 reports 02:54:14 ==> Detecting git/mercurial file structure 02:54:14 ==> Reading reports 02:54:14 + ./coverage.out bytes=129185 02:54:14 ==> Appending adjustments 02:54:14 https://docs.codecov.io/docs/fixing-reports 02:54:14 + Found adjustments 02:54:14 ==> Gzipping contents 02:54:14 16K /tmp/codecov.R3Cfxc.gz 02:54:14 ==> Uploading reports 02:54:14 url: https://codecov.io 02:54:14 query: branch=PR-1130&commit=3593550cb183f04032b99acb80b17e47af38cf69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 02:54:14 -> Pinging Codecov 02:54:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=3593550cb183f04032b99acb80b17e47af38cf69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 02:54:15 -> Uploading to 02:54:15 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/3593550cb183f04032b99acb80b17e47af38cf69/713b92d7-cd8c-4115-ae79-90ffc2146d8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T025414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6307e481e031fad566bc4570cf675c7aeca391a7fc130752983f92356e83790 02:54:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:15 Dload Upload Total Spent Left Speed 02:54:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16268 0 0 100 16268 0 56486 --:--:-- --:--:-- --:--:-- 56486 02:54:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] } 02:54:15 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:54:16 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] 02:54:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 02:54:16 total 16 02:54:16 drwxr-xr-x 3 root root 4096 Apr 12 02:47 . 02:54:16 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 02:47 .. 02:54:16 drwxr-xr-x 2 root root 4096 Apr 12 02:47 cost 02:54:16 -rw-r--r-- 1 root root 85 Apr 12 02:47 cost.csv 02:54:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 02:54:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 02:54:16 total 16 02:54:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 02:47 . 02:54:16 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 02:47 .. 02:54:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 02:47 cost 02:54:16 -rw-r--r-- 1 jenkins jenkins 85 Apr 12 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:54:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:54:17 ---> package-listing.sh 02:54:17 ++ facter osfamily 02:54:17 ++ tr '[:upper:]' '[:lower:]' 02:54:17 + OS_FAMILY=debian 02:54:17 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 02:54:17 + START_PACKAGES=/tmp/packages_start.txt 02:54:17 + END_PACKAGES=/tmp/packages_end.txt 02:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:54:17 + PACKAGES=/tmp/packages_start.txt 02:54:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 02:54:17 + PACKAGES=/tmp/packages_end.txt 02:54:17 + case "${OS_FAMILY}" in 02:54:17 + dpkg -l 02:54:17 + grep '^ii' 02:54:17 + '[' -f /tmp/packages_start.txt ']' 02:54:17 + '[' -f /tmp/packages_end.txt ']' 02:54:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:54:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 02:54:17 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ 02:54:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo 02:54:17 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-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:54:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:18 . [Pipeline] withDockerContainer 02:54:18 prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container 02:54:18 $ 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-1130/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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 02:54:18 $ docker top 8ce82f011e879e77daa1e39055c3fc6eab95fdc0d80b1700f73afec24b86eeed -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:19 + touch /tmp/pre-build-complete [Pipeline] sh 02:54:19 + mkdir -p /var/log/sysstat [Pipeline] sh 02:54:19 + ls /var/log/sa-host 02:54:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:20 provisioning config files... 02:54:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config4321912579998723637tmp [Pipeline] { [Pipeline] echo 02:54:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:54:20 ---> create-netrc.sh [Pipeline] } 02:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:54:20 ---> python-tools-install.sh [Pipeline] echo 02:54:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:54:21 ---> sudo-logs.sh 02:54:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:54:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:54:21 ---> job-cost.sh 02:54:21 lf-activate-venv: SKIPPING 02:54:21 DEBUG: total: 0.2199999988079071 02:54:21 INFO: Retrieving Stack Cost... 02:54:23 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:24 INFO: Archiving Costs [Pipeline] echo 02:54:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:54:24 ---> logs-deploy.sh 02:54:24 lf-activate-venv: SKIPPING 02:54:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/2 02:54:24 INFO: archiving workspace using pattern(s): 02:54:25 Archives upload complete. 02:54:25 INFO: archiving logs to Nexus