Pull request #1115 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 bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 0c98a10ee9e4548efad256221762cfb1e846b147 rather than 7a7b6d12ce7410165c85a0f8e28676d446ab9549 Obtained Jenkinsfile from 0c98a10ee9e4548efad256221762cfb1e846b147 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-ssh8666662267228606806.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-ssh9100695593987824180.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-1115/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-1115/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12800288316795342195.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-ssh11326883205533106108.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-1115/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-1115/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2781906897025241565.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9520 in /w/workspace/gexfoundry_device-sdk-go_PR-1115 [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-1115 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 7a7b6d12ce7410165c85a0f8e28676d446ab9549 Merge succeeded, producing 7a7b6d12ce7410165c85a0f8e28676d446ab9549 Checking out Revision 7a7b6d12ce7410165c85a0f8e28676d446ab9549 (PR-1115) > 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/1115/head:refs/remotes/origin/PR-1115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a7b6d12ce7410165c85a0f8e28676d446ab9549 # 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 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a7b6d12ce7410165c85a0f8e28676d446ab9549 # timeout=10 Commit message: "feat: Version bump to roll-in delayed service start feature" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 0a091857b2da5161a80e1f927a9c47865b73f9bd # timeout=10 [Pipeline] timeout 22:55:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:30 ========================================================= 22:55:30 EdgeX Global Pipelines Version Info 22:55:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:31 ------------------- 22:55:31 stable info: 22:55:31 ------------------- 22:55:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:55:31 Message: update stable to v1.0.221 22:55:32 ------------------- 22:55:32 experimental info: 22:55:32 ------------------- 22:55:32 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:55:32 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1115 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1115 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1115 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a7b6d12ce7410165c85a0f8e28676d446ab9549 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a7b6d1 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:32 provisioning config files... 22:55:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/config7845530310861319060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:33 ---> docker-login.sh 22:55:33 nexus3.edgexfoundry.org:10001 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10002 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10003 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10004 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 docker.io 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 ---> docker-login.sh ends [Pipeline] } 22:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:55:34 + git rev-list -1 --merges 7a7b6d12ce7410165c85a0f8e28676d446ab9549~1..7a7b6d12ce7410165c85a0f8e28676d446ab9549 [Pipeline] echo 22:55:34 -----------> git rev-list -1 --merges 7a7b6d12ce7410165c85a0f8e28676d446ab9549~1..7a7b6d12ce7410165c85a0f8e28676d446ab9549 7a7b6d12ce7410165c85a0f8e28676d446ab9549 [false] [Pipeline] sh 22:55:35 + git log --format=format:%s -1 7a7b6d12ce7410165c85a0f8e28676d446ab9549 [Pipeline] echo 22:55:35 ========================================================= 22:55:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:55:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:35 + git log --format=format:%s -1 7a7b6d12ce7410165c85a0f8e28676d446ab9549 [Pipeline] echo 22:55:35 [semverPrep] GIT_COMMIT: 7a7b6d12ce7410165c85a0f8e28676d446ab9549, Commit Message: feat: Version bump to roll-in delayed service start feature [Pipeline] echo 22:55:35 [semverPrep] This is not a build commit. [Pipeline] sh 22:55:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:55:36 + grep -v github /etc/ssh/ssh_known_hosts 22:55:36 + [ -e /tmp/ssh_known_hosts ] 22:55:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:55:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:55:36 + sudo tee -a /etc/ssh/ssh_known_hosts 22:55:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:36 22:55:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:36 latest: Pulling from edgex-devops/git-semver 22:55:36 a0d0a0d46f8b: Pulling fs layer 22:55:36 3e5f54012d9b: Pulling fs layer 22:55:36 4c7163046ea9: Pulling fs layer 22:55:36 0c2d73faf560: Pulling fs layer 22:55:36 0c2d73faf560: Waiting 22:55:36 3e5f54012d9b: Verifying Checksum 22:55:36 3e5f54012d9b: Download complete 22:55:36 0c2d73faf560: Verifying Checksum 22:55:36 0c2d73faf560: Download complete 22:55:36 4c7163046ea9: Verifying Checksum 22:55:36 4c7163046ea9: Download complete 22:55:37 a0d0a0d46f8b: Pull complete 22:55:37 3e5f54012d9b: Pull complete 22:55:37 4c7163046ea9: Pull complete 22:55:37 0c2d73faf560: Pull complete 22:55:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:37 prd-ubuntu20.04-docker-8c-8g-9520 does not seem to be running inside a container 22:55:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1115 -v /w/workspace/gexfoundry_device-sdk-go_PR-1115:/w/workspace/gexfoundry_device-sdk-go_PR-1115:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:55:38 $ docker top 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:38 [ssh-agent] Looking for ssh-agent implementation... 22:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:38 $ docker exec 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d ssh-agent 22:55:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNCmidH/agent.14 22:55:38 SSH_AGENT_PID=20 22:55:38 Running ssh-add (command line suppressed) 22:55:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/private_key_1196441767926163301.key (/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/private_key_1196441767926163301.key) 22:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:39 + git tag --points-at HEAD [Pipeline] } 22:55:39 $ docker exec --env ******** --env ******** 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d ssh-agent -k 22:55:39 unset SSH_AUTH_SOCK; 22:55:39 unset SSH_AGENT_PID; 22:55:39 echo Agent pid 20 killed; 22:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:39 [ssh-agent] Looking for ssh-agent implementation... 22:55:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:39 $ docker exec 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d ssh-agent 22:55:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCoIfGa/agent.52 22:55:39 SSH_AGENT_PID=58 22:55:39 Running ssh-add (command line suppressed) 22:55:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/private_key_4997655266990440561.key (/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/private_key_4997655266990440561.key) 22:55:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:40 + git semver init 22:55:40 # -> Open(): unable to determine branch for HEAD 22:55:40 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1115/.git 22:55:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1115 22:55:40 # $SEMVER_REMOTE_NAME = origin 22:55:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:40 # $SEMVER_USER_NAME = edgex-jenkins 22:55:40 # $SEMVER_BRANCH = PR-1115 22:55:40 # $SEMVER_TEMP = /tmp/semver-793482709 22:55:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:55:41 # '/tmp/semver-793482709' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1115/.semver' 22:55:41 # -> Force: false 22:55:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1115/.semver [Pipeline] } 22:55:41 $ docker exec --env ******** --env ******** 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d ssh-agent -k 22:55:41 unset SSH_AUTH_SOCK; 22:55:41 unset SSH_AGENT_PID; 22:55:41 echo Agent pid 58 killed; 22:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:42 + git semver [Pipeline] } 22:55:42 $ docker stop --time=1 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d 22:55:43 $ docker rm -f 6543d295c8c45fdcd31567405f9efa55a4ec90258f90363831cbef7e9050865d [Pipeline] // withDockerContainer [Pipeline] sh 22:55:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:44 Stashed 1 file(s) [Pipeline] echo 22:55:44 [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 22:55:44 provisioning config files... 22:55:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/config1072664983943892914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:44 ---> docker-login.sh 22:55:44 nexus3.edgexfoundry.org:10001 22:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:44 Configure a credential helper to remove this warning. See 22:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:44 22:55:44 Login Succeeded 22:55:44 nexus3.edgexfoundry.org:10002 22:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:44 Configure a credential helper to remove this warning. See 22:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:44 22:55:44 Login Succeeded 22:55:44 nexus3.edgexfoundry.org:10003 22:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:44 Configure a credential helper to remove this warning. See 22:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:44 22:55:44 Login Succeeded 22:55:44 nexus3.edgexfoundry.org:10004 22:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:44 Configure a credential helper to remove this warning. See 22:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:44 22:55:44 Login Succeeded 22:55:44 docker.io 22:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:45 Configure a credential helper to remove this warning. See 22:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:45 22:55:45 Login Succeeded 22:55:45 ---> docker-login.sh ends [Pipeline] } 22:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:45 ========================================================= 22:55:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:55:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:55:45 + 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 . 22:55:45 Sending build context to Docker daemon 9.605MB 22:55:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:55:45 Step 2/11 : FROM ${BASE} AS builder 22:55:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:55:45 59bf1c3509f3: Pulling fs layer 22:55:45 666ba61612fd: Pulling fs layer 22:55:45 8ed8ca486205: Pulling fs layer 22:55:45 4fe6c5a15a65: Pulling fs layer 22:55:45 22a0e8bec74d: Pulling fs layer 22:55:45 640e595b4fbd: Pulling fs layer 22:55:45 763cafe07f6e: Pulling fs layer 22:55:45 0c0b528cf693: Pulling fs layer 22:55:45 10935f4eaf8b: Pulling fs layer 22:55:45 4fe6c5a15a65: Waiting 22:55:45 22a0e8bec74d: Waiting 22:55:45 640e595b4fbd: Waiting 22:55:45 0c0b528cf693: Waiting 22:55:45 763cafe07f6e: Waiting 22:55:45 10935f4eaf8b: Waiting 22:55:45 8ed8ca486205: Download complete 22:55:45 666ba61612fd: Download complete 22:55:45 22a0e8bec74d: Verifying Checksum 22:55:45 22a0e8bec74d: Download complete 22:55:45 640e595b4fbd: Download complete 22:55:45 59bf1c3509f3: Verifying Checksum 22:55:45 763cafe07f6e: Verifying Checksum 22:55:45 763cafe07f6e: Download complete 22:55:45 0c0b528cf693: Download complete 22:55:45 59bf1c3509f3: Pull complete 22:55:46 666ba61612fd: Pull complete 22:55:46 8ed8ca486205: Pull complete 22:55:46 10935f4eaf8b: Download complete 22:55:46 4fe6c5a15a65: Verifying Checksum 22:55:46 4fe6c5a15a65: Download complete 22:55:50 4fe6c5a15a65: Pull complete 22:55:50 22a0e8bec74d: Pull complete 22:55:50 640e595b4fbd: Pull complete 22:55:50 763cafe07f6e: Pull complete 22:55:50 0c0b528cf693: Pull complete 22:55:53 10935f4eaf8b: Pull complete 22:55:53 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:55:53 ---> 99d49a6021b9 22:55:53 Step 3/11 : ARG MAKE=make build 22:55:54 ---> Running in bf0b171de957 22:55:54 Removing intermediate container bf0b171de957 22:55:54 ---> 2fbdd164f8dc 22:55:54 Step 4/11 : WORKDIR /device-sdk-go 22:55:54 ---> Running in c84f3d695cb4 22:55:54 Removing intermediate container c84f3d695cb4 22:55:54 ---> 67df84d3f059 22:55:54 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:55:54 ---> Running in 79f561fa8160 22:55:54 Removing intermediate container 79f561fa8160 22:55:54 ---> c775bb05995a 22:55:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:54 ---> Running in f6bb7c3691d3 22:55:55 Removing intermediate container f6bb7c3691d3 22:55:55 ---> 871303eacda7 22:55:55 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:55:55 ---> Running in 75a470d819cb 22:55:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:55:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:55:56 OK: 221 MiB in 52 packages 22:55:57 Removing intermediate container 75a470d819cb 22:55:57 ---> 55706da01e14 22:55:57 Step 8/11 : COPY go.mod vendor* ./ 22:55:57 ---> b279ed2ef5b0 22:55:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:55:57 ---> Running in b7f85ab6110f 22:55:59 Still waiting to schedule task 22:55:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:56:12 Removing intermediate container b7f85ab6110f 22:56:12 ---> d3727e80b04d 22:56:12 Step 10/11 : COPY . . 22:56:12 ---> 8d96e8127785 22:56:12 Step 11/11 : RUN ${MAKE} 22:56:12 ---> Running in ceda484102cd 22:56:12 noop 22:56:12 Removing intermediate container ceda484102cd 22:56:12 ---> 1b5e8f99875d 22:56:12 Successfully built 1b5e8f99875d 22:56:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:56:12 + docker inspect -f . ci-base-image-x86_64 22:56:12 . [Pipeline] withDockerContainer 22:56:12 prd-ubuntu20.04-docker-8c-8g-9520 does not seem to be running inside a container 22:56:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1115 -v /w/workspace/gexfoundry_device-sdk-go_PR-1115:/w/workspace/gexfoundry_device-sdk-go_PR-1115:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:56:13 $ docker top 36f21073ed10229e7a7fa91a52ea6964c8e71258c1812f9b950b05c0c17a2f20 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:13 + go version 22:56:13 go version go1.17.6 linux/amd64 [Pipeline] } 22:56:13 $ docker stop --time=1 36f21073ed10229e7a7fa91a52ea6964c8e71258c1812f9b950b05c0c17a2f20 22:56:14 $ docker rm -f 36f21073ed10229e7a7fa91a52ea6964c8e71258c1812f9b950b05c0c17a2f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:56:15 + docker inspect -f . ci-base-image-x86_64 22:56:15 . [Pipeline] withDockerContainer 22:56:15 prd-ubuntu20.04-docker-8c-8g-9520 does not seem to be running inside a container 22:56:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1115 -v /w/workspace/gexfoundry_device-sdk-go_PR-1115:/w/workspace/gexfoundry_device-sdk-go_PR-1115:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:56:15 $ docker top a832685d7d1e05dee991017108ef04376d76c5f9e4fc954e46e8d8e0ee0005d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:56:16 + make test 22:56:16 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:56:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:56:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.016s coverage: 23.3% of statements 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:56:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.033s coverage: 27.6% of statements 22:56:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.036s coverage: 78.9% of statements 22:56:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 10.8% of statements 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:56:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.013s coverage: 33.2% of statements 22:56:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:56:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.025s coverage: 86.1% of statements 22:56:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:56:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:56:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.013s coverage: 57.4% of statements 22:56:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.050s coverage: 89.2% of statements 22:56:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:56:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements 22:56:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:56:36 GO111MODULE=on go vet ./... 22:56:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:56:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:56:39 ./bin/test-attribution-txt.sh [Pipeline] echo 22:56:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:56:40 $ docker stop --time=1 a832685d7d1e05dee991017108ef04376d76c5f9e4fc954e46e8d8e0ee0005d8 22:56:41 $ docker rm -f a832685d7d1e05dee991017108ef04376d76c5f9e4fc954e46e8d8e0ee0005d8 [Pipeline] // withDockerContainer [Pipeline] sh 22:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:56:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:56:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:56:43 + ls -al . 22:56:43 total 296 22:56:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 22:56 . 22:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 22:55 .. 22:56:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 22:55 .dockerignore 22:56:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 22:55 .git 22:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 22:55 .github 22:56:43 -rw-rw-r-- 1 jenkins jenkins 131 Mar 30 22:55 .gitignore 22:56:43 -rw-rw-r-- 1 jenkins jenkins 42 Mar 30 22:55 .golangci.yml 22:56:43 drwx------ 3 jenkins jenkins 4096 Mar 30 22:55 .semver 22:56:43 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 30 22:55 CHANGELOG.md 22:56:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 22:55 GOVERNANCE.md 22:56:43 -rw-rw-r-- 1 jenkins jenkins 880 Mar 30 22:55 Jenkinsfile 22:56:43 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 22:55 LICENSE 22:56:43 -rw-rw-r-- 1 jenkins jenkins 1627 Mar 30 22:55 Makefile 22:56:43 -rw-rw-r-- 1 jenkins jenkins 619 Mar 30 22:55 OWNERS.md 22:56:43 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 30 22:55 README.md 22:56:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 22:55 VERSION 22:56:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 22:55 bin 22:56:43 -rw-r--r-- 1 jenkins jenkins 129001 Mar 30 22:56 coverage.out 22:56:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 22:55 example 22:56:43 -rw-rw-r-- 1 jenkins jenkins 3105 Mar 30 22:55 go.mod 22:56:43 -rw-rw-r-- 1 jenkins jenkins 34435 Mar 30 22:55 go.sum 22:56:43 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 22:55 internal 22:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 22:55 openapi 22:56:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 22:55 pkg 22:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 22:55 snap 22:56:43 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 22:55 version.go [Pipeline] isUnix [Pipeline] sh 22:56:43 + 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=7a7b6d12ce7410165c85a0f8e28676d446ab9549 --label arch=amd64 --label version=0.0.0 . 22:56:43 Sending build context to Docker daemon 9.734MB 22:56:43 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:56:43 Step 2/25 : FROM ${BASE} AS builder 22:56:43 ---> 1b5e8f99875d 22:56:43 Step 3/25 : ARG MAKE=make build 22:56:44 ---> Running in c52f4fe4fb20 22:56:44 Removing intermediate container c52f4fe4fb20 22:56:44 ---> 35f1adc24b14 22:56:44 Step 4/25 : WORKDIR /device-sdk-go 22:56:44 ---> Running in 7c2a0fd9c14b 22:56:44 Removing intermediate container 7c2a0fd9c14b 22:56:44 ---> 6a1157dcd2b5 22:56:44 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:56:44 ---> Running in af50ca7f53e7 22:56:44 Removing intermediate container af50ca7f53e7 22:56:44 ---> 45e21958048a 22:56:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:44 ---> Running in ef81247bfe7a 22:56:45 Removing intermediate container ef81247bfe7a 22:56:45 ---> 5fcf228507cd 22:56:45 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:56:45 ---> Running in 9172c3a20c38 22:56:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:56:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:56:46 OK: 221 MiB in 52 packages 22:56:46 Removing intermediate container 9172c3a20c38 22:56:46 ---> d8a65e031521 22:56:46 Step 8/25 : COPY go.mod vendor* ./ 22:56:46 ---> 0206084080d9 22:56:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:46 ---> Running in 0213a1378eed 22:56:47 Removing intermediate container 0213a1378eed 22:56:47 ---> e7c72f96fa90 22:56:47 Step 10/25 : COPY . . 22:56:47 ---> bcacd8960e04 22:56:47 Step 11/25 : RUN ${MAKE} 22:56:47 ---> Running in 9818b257e779 22:56:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:56:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:56:59 Removing intermediate container 9818b257e779 22:56:59 ---> d3c731012b0e 22:56:59 Step 12/25 : FROM alpine:3.14 22:56:59 3.14: Pulling from library/alpine 22:56:59 cfab2db72209: Pulling fs layer 22:57:00 cfab2db72209: Download complete 22:57:00 cfab2db72209: Pull complete 22:57:00 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 22:57:00 Status: Downloaded newer image for alpine:3.14 22:57:00 ---> 84b07dd2d1fd 22:57:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:57:00 ---> Running in 21ebb97d7519 22:57:00 Removing intermediate container 21ebb97d7519 22:57:00 ---> 6f1edfc46b4b 22:57:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:00 ---> Running in ef720e6f80a8 22:57:01 Removing intermediate container ef720e6f80a8 22:57:01 ---> 4648bf7a9d4e 22:57:01 Step 15/25 : RUN apk add --update --no-cache zeromq 22:57:01 ---> Running in f1212a7b4fb2 22:57:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:57:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:57:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:57:02 (2/5) Installing libsodium (1.0.18-r0) 22:57:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:57:02 (4/5) Installing libzmq (4.3.4-r0) 22:57:02 (5/5) Installing zeromq (4.3.4-r0) 22:57:03 Executing busybox-1.33.1-r6.trigger 22:57:03 OK: 8 MiB in 19 packages 22:57:03 Removing intermediate container f1212a7b4fb2 22:57:03 ---> 79129971a085 22:57:03 Step 16/25 : WORKDIR / 22:57:03 ---> Running in d9a54a3e1e91 22:57:03 Removing intermediate container d9a54a3e1e91 22:57:03 ---> 01886ee90555 22:57:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:57:03 ---> 90779fd3e001 22:57:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:57:04 ---> cce56c276ebc 22:57:04 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:57:04 ---> d798fba11e73 22:57:04 Step 20/25 : EXPOSE 59999 22:57:04 ---> Running in 6a7c70a1f3aa 22:57:04 Removing intermediate container 6a7c70a1f3aa 22:57:04 ---> 5ae8a68c36f2 22:57:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:57:04 ---> Running in c0cb217d6b93 22:57:04 Removing intermediate container c0cb217d6b93 22:57:04 ---> 06ec133cbc6c 22:57:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:57:04 ---> Running in 330d135c0d45 22:57:04 Removing intermediate container 330d135c0d45 22:57:04 ---> 2129423f93e0 22:57:04 Step 23/25 : LABEL arch=amd64 22:57:04 ---> Running in b26c023fee9d 22:57:04 Removing intermediate container b26c023fee9d 22:57:04 ---> 62ff2af4a264 22:57:04 Step 24/25 : LABEL git_sha=7a7b6d12ce7410165c85a0f8e28676d446ab9549 22:57:04 ---> Running in 217d95fdab6a 22:57:04 Removing intermediate container 217d95fdab6a 22:57:04 ---> d3eebf5f6244 22:57:04 Step 25/25 : LABEL version=0.0.0 22:57:04 ---> Running in 2425e4430917 22:57:04 Removing intermediate container 2425e4430917 22:57:04 ---> 4fb421a98a93 22:57:04 [Warning] One or more build-args [ARCH] were not consumed 22:57:04 Successfully built 4fb421a98a93 22:57:04 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:05 22:57:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:05 latest: Pulling from edgex-lftools-log-publisher 22:57:05 5eb5b503b376: Pulling fs layer 22:57:05 5c69ac0246d0: Pulling fs layer 22:57:05 ec43610c2a17: Pulling fs layer 22:57:05 3a2ae6a8a46f: Pulling fs layer 22:57:05 33b1e0a273af: Pulling fs layer 22:57:05 5d3b04190fa2: Pulling fs layer 22:57:05 2f39f015ded8: Pulling fs layer 22:57:05 33b1e0a273af: Waiting 22:57:05 3a2ae6a8a46f: Waiting 22:57:05 5d3b04190fa2: Waiting 22:57:05 2f39f015ded8: Waiting 22:57:05 5c69ac0246d0: Verifying Checksum 22:57:05 5c69ac0246d0: Download complete 22:57:05 3a2ae6a8a46f: Verifying Checksum 22:57:05 3a2ae6a8a46f: Download complete 22:57:05 33b1e0a273af: Verifying Checksum 22:57:05 33b1e0a273af: Download complete 22:57:05 ec43610c2a17: Verifying Checksum 22:57:05 5d3b04190fa2: Verifying Checksum 22:57:05 5d3b04190fa2: Download complete 22:57:05 5eb5b503b376: Verifying Checksum 22:57:05 5eb5b503b376: Download complete 22:57:06 2f39f015ded8: Download complete 22:57:07 5eb5b503b376: Pull complete 22:57:07 5c69ac0246d0: Pull complete 22:57:07 ec43610c2a17: Pull complete 22:57:07 3a2ae6a8a46f: Pull complete 22:57:07 33b1e0a273af: Pull complete 22:57:07 5d3b04190fa2: Pull complete 22:57:12 2f39f015ded8: Pull complete 22:57:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:57:12 prd-ubuntu20.04-docker-8c-8g-9520 does not seem to be running inside a container 22:57:12 $ 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-1115 -v /w/workspace/gexfoundry_device-sdk-go_PR-1115:/w/workspace/gexfoundry_device-sdk-go_PR-1115:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1115@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 22:57:13 $ docker top d2a909aded98ee646712ffed7cf745823aec51feb702d027d0a4dbc367c51411 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:14 ---> job-cost.sh 22:57:14 lf-activate-venv: SKIPPING 22:57:14 INFO: No Stack... 22:57:14 INFO: Retrieving Pricing Info for: v3-standard-8 22:57:15 INFO: Archiving Costs [Pipeline] sh 22:57:15 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives/cost.csv 22:57:15 + cut -d, -f6 [Pipeline] lock 22:57:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] 22:57:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] did not exist. Created. 22:57:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:15 + echo total: 0.2199999988079071 [Pipeline] stash 22:57:15 Stashed 1 file(s) [Pipeline] } 22:57:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:57:15 $ docker stop --time=1 d2a909aded98ee646712ffed7cf745823aec51feb702d027d0a4dbc367c51411 22:57:16 $ docker rm -f d2a909aded98ee646712ffed7cf745823aec51feb702d027d0a4dbc367c51411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:57:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9521 in /w/workspace/gexfoundry_device-sdk-go_PR-1115 [Pipeline] { [Pipeline] ws 22:57:40 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:57:40 The recommended git tool is: git 22:57:47 using credential edgex-jenkins-ssh 22:57:47 Cloning the remote Git repository 22:57:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:57:47 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:57:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:57:47 > git --version # timeout=10 22:57:47 > git --version # 'git version 2.25.1' 22:57:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:57:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:57:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1115/head:refs/remotes/origin/PR-1115 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:57:50 Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 7a7b6d12ce7410165c85a0f8e28676d446ab9549 22:57:50 Merge succeeded, producing 7a7b6d12ce7410165c85a0f8e28676d446ab9549 22:57:50 Checking out Revision 7a7b6d12ce7410165c85a0f8e28676d446ab9549 (PR-1115) 22:57:50 > git config core.sparsecheckout # timeout=10 22:57:50 > git checkout -f 7a7b6d12ce7410165c85a0f8e28676d446ab9549 # timeout=10 22:57:50 > git remote # timeout=10 22:57:50 > git config --get remote.origin.url # timeout=10 22:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:50 > git merge 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 22:57:50 > git rev-parse HEAD^{commit} # timeout=10 22:57:50 > git config core.sparsecheckout # timeout=10 22:57:50 > git checkout -f 7a7b6d12ce7410165c85a0f8e28676d446ab9549 # timeout=10 22:57:55 Commit message: "feat: Version bump to roll-in delayed service start feature" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:57:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:57:55 Dload Upload Total Spent Left Speed 22:57:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51716 0 --:--:-- --:--:-- --:--:-- 51716 [Pipeline] sh 22:57:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:57:56 + sudo tee /etc/docker/daemon.new 22:57:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:57:56 { 22:57:56 "registry-mirrors": [ 22:57:56 "https://nexus3.edgexfoundry.org:10001" 22:57:56 ], 22:57:56 "bip": "10.250.0.254/24", 22:57:56 "hosts": [ 22:57:56 "tcp://0.0.0.0:5555", 22:57:56 "unix:///var/run/docker.sock" 22:57:56 ], 22:57:56 "mtu": 1458, 22:57:56 "selinux-enabled": true, 22:57:56 "seccomp-profile": "/etc/docker/seccomp.json" 22:57:56 } [Pipeline] sh 22:57:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:57:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:15 provisioning config files... 22:58:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2670747893970558264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:16 ---> docker-login.sh 22:58:16 nexus3.edgexfoundry.org:10001 22:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 nexus3.edgexfoundry.org:10002 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 nexus3.edgexfoundry.org:10003 22:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:18 Configure a credential helper to remove this warning. See 22:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:18 22:58:18 Login Succeeded 22:58:18 nexus3.edgexfoundry.org:10004 22:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:18 Configure a credential helper to remove this warning. See 22:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:18 22:58:18 Login Succeeded 22:58:18 docker.io 22:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:19 Configure a credential helper to remove this warning. See 22:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:19 22:58:19 Login Succeeded 22:58:19 ---> docker-login.sh ends [Pipeline] } 22:58:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:19 ========================================================= 22:58:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:58:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:58:20 + 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 . 22:58:20 Sending build context to Docker daemon 5.209MB 22:58:20 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:58:20 Step 2/11 : FROM ${BASE} AS builder 22:58:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:58:20 9b3977197b4f: Pulling fs layer 22:58:20 1a89e8eeedd5: Pulling fs layer 22:58:20 94645a83ff95: Pulling fs layer 22:58:20 3f3a8bcf1eab: Pulling fs layer 22:58:20 0c92f367c5e7: Pulling fs layer 22:58:20 f7c0051592d6: Pulling fs layer 22:58:20 a227ed2f7395: Pulling fs layer 22:58:20 7b1c46037f91: Pulling fs layer 22:58:20 f7c0051592d6: Waiting 22:58:20 a227ed2f7395: Waiting 22:58:20 7b1c46037f91: Waiting 22:58:20 3f3a8bcf1eab: Waiting 22:58:20 0c92f367c5e7: Waiting 22:58:20 94645a83ff95: Verifying Checksum 22:58:20 94645a83ff95: Download complete 22:58:20 1a89e8eeedd5: Verifying Checksum 22:58:20 1a89e8eeedd5: Download complete 22:58:20 0c92f367c5e7: Verifying Checksum 22:58:20 0c92f367c5e7: Download complete 22:58:21 f7c0051592d6: Verifying Checksum 22:58:21 f7c0051592d6: Download complete 22:58:21 9b3977197b4f: Verifying Checksum 22:58:21 9b3977197b4f: Download complete 22:58:21 a227ed2f7395: Verifying Checksum 22:58:21 a227ed2f7395: Download complete 22:58:21 9b3977197b4f: Pull complete 22:58:22 1a89e8eeedd5: Pull complete 22:58:22 94645a83ff95: Pull complete 22:58:22 7b1c46037f91: Verifying Checksum 22:58:22 7b1c46037f91: Download complete 22:58:23 3f3a8bcf1eab: Verifying Checksum 22:58:23 3f3a8bcf1eab: Download complete 22:58:35 3f3a8bcf1eab: Pull complete 22:58:35 0c92f367c5e7: Pull complete 22:58:35 f7c0051592d6: Pull complete 22:58:36 a227ed2f7395: Pull complete 22:58:42 7b1c46037f91: Pull complete 22:58:42 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:58:42 ---> f79e39bc4007 22:58:42 Step 3/11 : ARG MAKE=make build 22:58:43 ---> Running in 25fdb07e905f 22:58:43 Removing intermediate container 25fdb07e905f 22:58:43 ---> 6e2695b7bca4 22:58:43 Step 4/11 : WORKDIR /device-sdk-go 22:58:43 ---> Running in 8d08236b6cbf 22:58:43 Removing intermediate container 8d08236b6cbf 22:58:43 ---> 29c188cbcddb 22:58:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:58:43 ---> Running in ab5c57d9de92 22:58:43 Removing intermediate container ab5c57d9de92 22:58:43 ---> b0bd60cff576 22:58:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:58:44 ---> Running in 47ba5d419c01 22:58:46 Removing intermediate container 47ba5d419c01 22:58:46 ---> 2a36f7828dac 22:58:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:58:46 ---> Running in a8828e689c12 22:58:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:58:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:58:48 OK: 220 MiB in 52 packages 22:58:49 Removing intermediate container a8828e689c12 22:58:49 ---> abc5c0225a55 22:58:49 Step 8/11 : COPY go.mod vendor* ./ 22:58:49 ---> 537c2189383b 22:58:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:58:49 ---> Running in 8bc6861d038d 22:59:36 Removing intermediate container 8bc6861d038d 22:59:36 ---> 5e76d6edaaad 22:59:36 Step 10/11 : COPY . . 22:59:36 ---> 6f3389ebc478 22:59:36 Step 11/11 : RUN ${MAKE} 22:59:36 ---> Running in cf5a759c1546 22:59:36 noop 22:59:36 Removing intermediate container cf5a759c1546 22:59:36 ---> fb4a044522dc 22:59:36 Successfully built fb4a044522dc 22:59:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:59:37 + docker inspect -f . ci-base-image-arm64 22:59:37 . [Pipeline] withDockerContainer 22:59:37 prd-ubuntu20.04-docker-arm64-4c-16g-9521 does not seem to be running inside a container 22:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat 22:59:38 $ docker top e057b5697e91290f1c3c21f0318808aa2e82046f01d4f274f0359ea367468045 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:39 + go version 22:59:39 go version go1.17.6 linux/arm64 [Pipeline] } 22:59:39 $ docker stop --time=1 e057b5697e91290f1c3c21f0318808aa2e82046f01d4f274f0359ea367468045 22:59:41 $ docker rm -f e057b5697e91290f1c3c21f0318808aa2e82046f01d4f274f0359ea367468045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:41 + docker inspect -f . ci-base-image-arm64 22:59:41 . [Pipeline] withDockerContainer 22:59:42 prd-ubuntu20.04-docker-arm64-4c-16g-9521 does not seem to be running inside a container 22:59:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat 22:59:43 $ docker top 579db5f0b47564f4af1c7f1b3329ae63578804398d536bb77366c69a88413aa7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:59:44 + make test 22:59:44 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:59:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:01:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.153s coverage: 23.3% of statements 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:01:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 23:01:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements 23:01:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.127s coverage: 10.8% of statements 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:01:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.129s coverage: 33.2% of statements 23:01:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:01:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.082s coverage: 86.1% of statements 23:01:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:01:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:01:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.133s coverage: 57.4% of statements 23:01:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.246s coverage: 89.2% of statements 23:01:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:01:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 23:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:01:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:01:16 GO111MODULE=on go vet ./... 23:01:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:49 ./bin/test-attribution-txt.sh [Pipeline] echo 23:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:01:49 $ docker stop --time=1 579db5f0b47564f4af1c7f1b3329ae63578804398d536bb77366c69a88413aa7 23:01:51 $ docker rm -f 579db5f0b47564f4af1c7f1b3329ae63578804398d536bb77366c69a88413aa7 [Pipeline] // withDockerContainer [Pipeline] sh 23:01:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:52 Warning: overwriting stash ‘coverage-report’ 23:01:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:53 + ls -al . 23:01:53 total 292 23:01:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 23:01 . 23:01:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 22:57 .. 23:01:53 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 22:57 .dockerignore 23:01:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 22:57 .git 23:01:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 22:57 .github 23:01:53 -rw-rw-r-- 1 jenkins jenkins 131 Mar 30 22:57 .gitignore 23:01:53 -rw-rw-r-- 1 jenkins jenkins 42 Mar 30 22:57 .golangci.yml 23:01:53 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 30 22:57 CHANGELOG.md 23:01:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 22:57 GOVERNANCE.md 23:01:53 -rw-rw-r-- 1 jenkins jenkins 880 Mar 30 22:57 Jenkinsfile 23:01:53 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 22:57 LICENSE 23:01:53 -rw-rw-r-- 1 jenkins jenkins 1627 Mar 30 22:57 Makefile 23:01:53 -rw-rw-r-- 1 jenkins jenkins 619 Mar 30 22:57 OWNERS.md 23:01:53 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 30 22:57 README.md 23:01:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 22:55 VERSION 23:01:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 22:57 bin 23:01:53 -rw-r--r-- 1 jenkins jenkins 129001 Mar 30 23:01 coverage.out 23:01:53 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 22:57 example 23:01:53 -rw-rw-r-- 1 jenkins jenkins 3105 Mar 30 22:57 go.mod 23:01:53 -rw-rw-r-- 1 jenkins jenkins 34435 Mar 30 22:57 go.sum 23:01:53 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 22:57 internal 23:01:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 22:57 openapi 23:01:53 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 22:57 pkg 23:01:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 22:57 snap 23:01:53 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 22:57 version.go [Pipeline] isUnix [Pipeline] sh 23:01:53 + 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=7a7b6d12ce7410165c85a0f8e28676d446ab9549 --label arch=arm64 --label version=0.0.0 . 23:01:54 Sending build context to Docker daemon 5.338MB 23:01:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:01:54 Step 2/25 : FROM ${BASE} AS builder 23:01:54 ---> fb4a044522dc 23:01:54 Step 3/25 : ARG MAKE=make build 23:01:54 ---> Running in 7d8b12d1b36e 23:01:55 Removing intermediate container 7d8b12d1b36e 23:01:55 ---> 6f5115c8922b 23:01:55 Step 4/25 : WORKDIR /device-sdk-go 23:01:55 ---> Running in f1c49f6ebdd0 23:01:55 Removing intermediate container f1c49f6ebdd0 23:01:55 ---> 4a9754b20579 23:01:55 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:01:55 ---> Running in 8ee19d1100f8 23:01:55 Removing intermediate container 8ee19d1100f8 23:01:55 ---> f4fcf90b4734 23:01:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:55 ---> Running in 4a64ac35fb03 23:01:57 Removing intermediate container 4a64ac35fb03 23:01:57 ---> 0992158feea6 23:01:57 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:01:57 ---> Running in 03f57606a581 23:01:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:01:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:02:00 OK: 220 MiB in 52 packages 23:02:00 Removing intermediate container 03f57606a581 23:02:00 ---> a98dafbe8ace 23:02:00 Step 8/25 : COPY go.mod vendor* ./ 23:02:01 ---> 007d5bf5b09e 23:02:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:01 ---> Running in e01235e59391 23:02:03 Removing intermediate container e01235e59391 23:02:03 ---> 86c204b944a2 23:02:03 Step 10/25 : COPY . . 23:02:04 ---> 590fb79441fd 23:02:04 Step 11/25 : RUN ${MAKE} 23:02:04 ---> Running in d62ef4172bdf 23:02:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:03:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:03:14 Removing intermediate container d62ef4172bdf 23:03:14 ---> dd1b24751304 23:03:14 Step 12/25 : FROM alpine:3.14 23:03:15 3.14: Pulling from library/alpine 23:03:15 810d54c7e01b: Pulling fs layer 23:03:15 810d54c7e01b: Verifying Checksum 23:03:15 810d54c7e01b: Download complete 23:03:15 810d54c7e01b: Pull complete 23:03:15 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 23:03:15 Status: Downloaded newer image for alpine:3.14 23:03:15 ---> cc3d11fa2d52 23:03:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:03:15 ---> Running in 83957b6df719 23:03:16 Removing intermediate container 83957b6df719 23:03:16 ---> 4262babf25e6 23:03:16 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:03:16 ---> Running in ae2dfc8b5aa6 23:03:17 Removing intermediate container ae2dfc8b5aa6 23:03:17 ---> 60604ba679ef 23:03:17 Step 15/25 : RUN apk add --update --no-cache zeromq 23:03:17 ---> Running in bae6c1702945 23:03:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:03:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:03:20 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:03:20 (2/5) Installing libsodium (1.0.18-r0) 23:03:20 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:03:20 (4/5) Installing libzmq (4.3.4-r0) 23:03:21 (5/5) Installing zeromq (4.3.4-r0) 23:03:21 Executing busybox-1.33.1-r6.trigger 23:03:21 OK: 8 MiB in 19 packages 23:03:22 Removing intermediate container bae6c1702945 23:03:22 ---> 5acda0ac3604 23:03:22 Step 16/25 : WORKDIR / 23:03:22 ---> Running in 1d8601e1daa1 23:03:22 Removing intermediate container 1d8601e1daa1 23:03:22 ---> 1018f05bf8ef 23:03:22 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:03:23 ---> 42f3be5e24d1 23:03:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:03:24 ---> cd0fc8c3b179 23:03:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:03:24 ---> 207530a1e8db 23:03:24 Step 20/25 : EXPOSE 59999 23:03:25 ---> Running in c074b78e8afd 23:03:25 Removing intermediate container c074b78e8afd 23:03:25 ---> bb69d951725f 23:03:25 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:03:25 ---> Running in c43e4320cf63 23:03:25 Removing intermediate container c43e4320cf63 23:03:25 ---> 8f2f1e8947e9 23:03:25 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:03:25 ---> Running in a27623b8e2b3 23:03:25 Removing intermediate container a27623b8e2b3 23:03:25 ---> 8b219ea3067b 23:03:25 Step 23/25 : LABEL arch=arm64 23:03:26 ---> Running in 8629a4e23993 23:03:26 Removing intermediate container 8629a4e23993 23:03:26 ---> e6b3e0156a04 23:03:26 Step 24/25 : LABEL git_sha=7a7b6d12ce7410165c85a0f8e28676d446ab9549 23:03:26 ---> Running in 3fc872643cb0 23:03:26 Removing intermediate container 3fc872643cb0 23:03:26 ---> 4ca4fe5746cc 23:03:26 Step 25/25 : LABEL version=0.0.0 23:03:26 ---> Running in 1f3ea37a7bf3 23:03:26 Removing intermediate container 1f3ea37a7bf3 23:03:26 ---> c83a8534cc3b 23:03:26 [Warning] One or more build-args [ARCH] were not consumed 23:03:27 Successfully built c83a8534cc3b 23:03:27 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 23:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:27 23:03:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:03:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:28 arm64: Pulling from edgex-lftools-log-publisher 23:03:28 8998bd30e6a1: Pulling fs layer 23:03:28 04944245beec: Pulling fs layer 23:03:28 699f458cf7ca: Pulling fs layer 23:03:28 765212b225bb: Pulling fs layer 23:03:28 f23df028b6ca: Pulling fs layer 23:03:28 d65c8cfc05b1: Pulling fs layer 23:03:28 2437ff75d9bd: Pulling fs layer 23:03:28 765212b225bb: Waiting 23:03:28 f23df028b6ca: Waiting 23:03:28 d65c8cfc05b1: Waiting 23:03:28 2437ff75d9bd: Waiting 23:03:28 04944245beec: Verifying Checksum 23:03:28 04944245beec: Download complete 23:03:28 765212b225bb: Verifying Checksum 23:03:28 765212b225bb: Download complete 23:03:28 f23df028b6ca: Download complete 23:03:28 d65c8cfc05b1: Verifying Checksum 23:03:28 d65c8cfc05b1: Download complete 23:03:28 699f458cf7ca: Verifying Checksum 23:03:28 699f458cf7ca: Download complete 23:03:28 8998bd30e6a1: Download complete 23:03:31 2437ff75d9bd: Verifying Checksum 23:03:31 2437ff75d9bd: Download complete 23:03:33 8998bd30e6a1: Pull complete 23:03:33 04944245beec: Pull complete 23:03:34 699f458cf7ca: Pull complete 23:03:35 765212b225bb: Pull complete 23:03:36 f23df028b6ca: Pull complete 23:03:36 d65c8cfc05b1: Pull complete 23:03:51 2437ff75d9bd: Pull complete 23:03:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:03:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:03:51 prd-ubuntu20.04-docker-arm64-4c-16g-9521 does not seem to be running inside a container 23:03:51 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:arm64 cat 23:03:54 $ docker top 8ad4fb028d96f30c153a9b48516495d550ba30816bd35738d749ca2499d75009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:55 ---> job-cost.sh 23:03:55 lf-activate-venv: SKIPPING 23:03:55 INFO: No Stack... 23:03:55 INFO: Retrieving Pricing Info for: v3-standard-4 23:03:56 INFO: Archiving Costs [Pipeline] sh 23:03:57 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 23:03:57 + cut -d, -f6 [Pipeline] lock 23:03:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] 23:03:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] did not exist. Created. 23:03:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:03:58 /w/workspace/device-sdk-go/3@tmp/durable-acef0ef5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:03:59 + echo total: 0.10999999940395355 [Pipeline] stash 23:03:59 Warning: overwriting stash ‘stack-cost’ 23:03:59 Stashed 1 file(s) [Pipeline] } 23:03:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1115-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:03:59 $ docker stop --time=1 8ad4fb028d96f30c153a9b48516495d550ba30816bd35738d749ca2499d75009 23:04:00 $ docker rm -f 8ad4fb028d96f30c153a9b48516495d550ba30816bd35738d749ca2499d75009 [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 23:04:01 provisioning config files... 23:04:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/config6000545121037225743tmp [Pipeline] { [Pipeline] sh 23:04:01 + set +x 23:04:01 + curl -s https://codecov.io/bash 23:04:01 + bash -s -- 23:04:01 23:04:01 _____ _ 23:04:01 / ____| | | 23:04:01 | | ___ __| | ___ ___ _____ __ 23:04:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:04:01 | |___| (_) | (_| | __/ (_| (_) \ V / 23:04:01 \_____\___/ \__,_|\___|\___\___/ \_/ 23:04:01 Bash-1.0.6 23:04:01 23:04:01 23:04:01 ==> git version 2.25.1 found 23:04:01 ==> 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 23:04:01 Release-Date: 2020-01-08 23:04:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:04:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:04:01 ==> Jenkins CI detected. 23:04:01 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1115 23:04:01 project root: . 23:04:01 --> token set from env 23:04:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:04:01 ==> Running gcov in . (disable via -X gcov) 23:04:01 ==> Python coveragepy not found 23:04:01 ==> Searching for coverage reports in: 23:04:01 + . 23:04:01 -> Found 1 reports 23:04:01 ==> Detecting git/mercurial file structure 23:04:01 ==> Reading reports 23:04:01 + ./coverage.out bytes=129001 23:04:01 ==> Appending adjustments 23:04:01 https://docs.codecov.io/docs/fixing-reports 23:04:01 + Found adjustments 23:04:01 ==> Gzipping contents 23:04:02 16K /tmp/codecov.ffaPvU.gz 23:04:02 ==> Uploading reports 23:04:02 url: https://codecov.io 23:04:02 query: branch=PR-1115&commit=7a7b6d12ce7410165c85a0f8e28676d446ab9549&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1115%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1115&job=&cmd_args= 23:04:02 -> Pinging Codecov 23:04:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1115&commit=7a7b6d12ce7410165c85a0f8e28676d446ab9549&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1115%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1115&job=&cmd_args= 23:04:02 -> Uploading to 23:04:02 https://storage.googleapis.com/codecov/v4/raw/2022-03-30/7E55EF52A471D76F132DFD9A03CDDE97/7a7b6d12ce7410165c85a0f8e28676d446ab9549/79452763-16b4-404e-96e4-f6f89de083a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220330T230402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=122251dc699338b4d7d3865fd20849a742d08a46ab8646a20df372c9249051d3 23:04:02 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:02 Dload Upload Total Spent Left Speed 23:04:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16207 0 0 100 16207 0 68673 --:--:-- --:--:-- --:--:-- 68673 23:04:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7a7b6d12ce7410165c85a0f8e28676d446ab9549 [Pipeline] } 23:04:02 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 23:04:03 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives ] 23:04:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives 23:04:03 total 16 23:04:03 drwxr-xr-x 3 root root 4096 Mar 30 22:57 . 23:04:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 30 22:57 .. 23:04:03 drwxr-xr-x 2 root root 4096 Mar 30 22:57 cost 23:04:03 -rw-r--r-- 1 root root 85 Mar 30 22:57 cost.csv 23:04:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives 23:04:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives 23:04:03 total 16 23:04:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 22:57 . 23:04:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 30 22:57 .. 23:04:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 22:57 cost 23:04:03 -rw-r--r-- 1 jenkins jenkins 85 Mar 30 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:04:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:04:04 ---> package-listing.sh 23:04:04 ++ facter osfamily 23:04:04 ++ tr '[:upper:]' '[:lower:]' 23:04:04 + OS_FAMILY=debian 23:04:04 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1115 23:04:04 + START_PACKAGES=/tmp/packages_start.txt 23:04:04 + END_PACKAGES=/tmp/packages_end.txt 23:04:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:04:04 + PACKAGES=/tmp/packages_start.txt 23:04:04 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1115 ']' 23:04:04 + PACKAGES=/tmp/packages_end.txt 23:04:04 + case "${OS_FAMILY}" in 23:04:04 + dpkg -l 23:04:04 + grep '^ii' 23:04:04 + '[' -f /tmp/packages_start.txt ']' 23:04:04 + '[' -f /tmp/packages_end.txt ']' 23:04:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:04:04 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1115 ']' 23:04:04 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives/ 23:04:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1115/archives/ [Pipeline] echo 23:04:04 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-1115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:04:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:04:05 . [Pipeline] withDockerContainer 23:04:05 prd-ubuntu20.04-docker-8c-8g-9520 does not seem to be running inside a container 23:04:05 $ 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-1115/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-1115 -v /w/workspace/gexfoundry_device-sdk-go_PR-1115:/w/workspace/gexfoundry_device-sdk-go_PR-1115:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:04:05 $ docker top 5b21b7a1548a8c6850c3f655643a5db1d9abe96ad96b6714087175a7e48fd3f4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:06 + touch /tmp/pre-build-complete [Pipeline] sh 23:04:06 + mkdir -p /var/log/sysstat [Pipeline] sh 23:04:06 + ls /var/log/sa-host 23:04:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:07 provisioning config files... 23:04:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1115@tmp/config1521665516318214407tmp [Pipeline] { [Pipeline] echo 23:04:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:04:07 ---> create-netrc.sh [Pipeline] } 23:04:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:04:07 ---> python-tools-install.sh [Pipeline] echo 23:04:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:04:08 ---> sudo-logs.sh 23:04:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:04:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:04:08 ---> job-cost.sh 23:04:08 lf-activate-venv: SKIPPING 23:04:08 DEBUG: total: 0.2199999988079071 23:04:08 INFO: Retrieving Stack Cost... 23:04:09 INFO: Retrieving Pricing Info for: v3-standard-8 23:04:09 INFO: Archiving Costs [Pipeline] echo 23:04:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:04:09 ---> logs-deploy.sh 23:04:09 lf-activate-venv: SKIPPING 23:04:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1115/3 23:04:09 INFO: archiving workspace using pattern(s): 23:04:10 Archives upload complete. 23:04:10 INFO: archiving logs to Nexus