Pull request #1140 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6+dd514f718fd528170d25c4d96999316fe43c7c62 (4aa1f2724fda2de1b4e087773abc46a8a6486a74) 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-ssh8835596097785978495.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-ssh12238460776473435637.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1140/workspace@libs/edgex-global-pipelines # timeout=10 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-1140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10581772193956534557.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13695806427306153375.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16116881261291921819.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1140/workspace@libs/lf-pipelines # timeout=10 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-1140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5507127895280446546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21448 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [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-1140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 Merge succeeded, producing 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 Checking out Revision 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 (PR-1140) > 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/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:39 ========================================================= 04:06:39 EdgeX Global Pipelines Version Info 04:06:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:40 ------------------- 04:06:40 stable info: 04:06:40 ------------------- 04:06:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:06:40 Message: update stable to v1.0.221 04:06:41 ------------------- 04:06:41 experimental info: 04:06:41 ------------------- 04:06:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:41 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 04:06:41 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1140 [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1140 [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1140 [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84c4a4a [Pipeline] echo 04:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:42 provisioning config files... 04:06:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config8440331807365470192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:43 ---> docker-login.sh 04:06:43 nexus3.edgexfoundry.org:10001 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 nexus3.edgexfoundry.org:10002 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 nexus3.edgexfoundry.org:10003 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 nexus3.edgexfoundry.org:10004 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:43 Configure a credential helper to remove this warning. See 04:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:43 04:06:43 Login Succeeded 04:06:43 docker.io 04:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:44 Configure a credential helper to remove this warning. See 04:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:44 04:06:44 Login Succeeded 04:06:44 ---> docker-login.sh ends [Pipeline] } 04:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:45 + git rev-list -1 --merges 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6~1..84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [Pipeline] echo 04:06:45 -----------> git rev-list -1 --merges 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6~1..84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [false] [Pipeline] sh 04:06:45 + git log --format=format:%s -1 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [Pipeline] echo 04:06:45 ========================================================= 04:06:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:46 + git log --format=format:%s -1 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [Pipeline] echo 04:06:46 [semverPrep] GIT_COMMIT: 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:06:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:46 + grep -v github /etc/ssh/ssh_known_hosts 04:06:46 + [ -e /tmp/ssh_known_hosts ] 04:06:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:46 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:06:47 04:06:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:06:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:06:47 latest: Pulling from edgex-devops/git-semver 04:06:47 a0d0a0d46f8b: Pulling fs layer 04:06:47 3e5f54012d9b: Pulling fs layer 04:06:47 4c7163046ea9: Pulling fs layer 04:06:47 0c2d73faf560: Pulling fs layer 04:06:47 0c2d73faf560: Waiting 04:06:47 3e5f54012d9b: Verifying Checksum 04:06:47 3e5f54012d9b: Download complete 04:06:47 a0d0a0d46f8b: Download complete 04:06:47 4c7163046ea9: Verifying Checksum 04:06:47 4c7163046ea9: Download complete 04:06:47 0c2d73faf560: Verifying Checksum 04:06:47 0c2d73faf560: Download complete 04:06:47 a0d0a0d46f8b: Pull complete 04:06:47 3e5f54012d9b: Pull complete 04:06:47 4c7163046ea9: Pull complete 04:06:48 0c2d73faf560: Pull complete 04:06:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:06:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:06:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:06:48 prd-ubuntu20.04-docker-8c-8g-21448 does not seem to be running inside a container 04:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:06:49 $ docker top 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:49 [ssh-agent] Looking for ssh-agent implementation... 04:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:49 $ docker exec 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 ssh-agent 04:06:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMBfigA/agent.15 04:06:49 SSH_AGENT_PID=22 04:06:49 Running ssh-add (command line suppressed) 04:06:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_2535454622405876183.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_2535454622405876183.key) 04:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:49 + git tag --points-at HEAD [Pipeline] } 04:06:50 $ docker exec --env ******** --env ******** 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 ssh-agent -k 04:06:50 unset SSH_AUTH_SOCK; 04:06:50 unset SSH_AGENT_PID; 04:06:50 echo Agent pid 22 killed; 04:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:50 [ssh-agent] Looking for ssh-agent implementation... 04:06:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:50 $ docker exec 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 ssh-agent 04:06:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIeMOkD/agent.55 04:06:50 SSH_AGENT_PID=62 04:06:50 Running ssh-add (command line suppressed) 04:06:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_2919147841534443709.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_2919147841534443709.key) 04:06:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:50 + git semver init 04:06:50 # -> Open(): unable to determine branch for HEAD 04:06:50 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.git 04:06:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1140 04:06:50 # $SEMVER_REMOTE_NAME = origin 04:06:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:06:50 # $SEMVER_USER_NAME = edgex-jenkins 04:06:50 # $SEMVER_BRANCH = PR-1140 04:06:50 # $SEMVER_TEMP = /tmp/semver-856946739 04:06:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:06:51 # '/tmp/semver-856946739' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver' 04:06:51 # -> Force: false 04:06:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver [Pipeline] } 04:06:51 $ docker exec --env ******** --env ******** 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 ssh-agent -k 04:06:52 unset SSH_AUTH_SOCK; 04:06:52 unset SSH_AGENT_PID; 04:06:52 echo Agent pid 62 killed; 04:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:52 + git semver [Pipeline] } 04:06:52 $ docker stop --time=1 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 04:06:53 $ docker rm -f 185d0812954683b6f66b104d808ef9ba9c072f7b791f1765a23ebcbe349b94f1 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:54 Stashed 1 file(s) [Pipeline] echo 04:06:54 [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 04:06:55 provisioning config files... 04:06:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config486975623409865639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:55 ---> docker-login.sh 04:06:55 nexus3.edgexfoundry.org:10001 04:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:55 Configure a credential helper to remove this warning. See 04:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:55 04:06:55 Login Succeeded 04:06:55 nexus3.edgexfoundry.org:10002 04:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:55 Configure a credential helper to remove this warning. See 04:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:55 04:06:55 Login Succeeded 04:06:55 nexus3.edgexfoundry.org:10003 04:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:55 Configure a credential helper to remove this warning. See 04:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:55 04:06:55 Login Succeeded 04:06:55 nexus3.edgexfoundry.org:10004 04:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:56 Configure a credential helper to remove this warning. See 04:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:56 04:06:56 Login Succeeded 04:06:56 docker.io 04:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:56 Configure a credential helper to remove this warning. See 04:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:56 04:06:56 Login Succeeded 04:06:56 ---> docker-login.sh ends [Pipeline] } 04:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:56 ========================================================= 04:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:06:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:06:57 + 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 . 04:06:57 Sending build context to Docker daemon 9.494MB 04:06:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:06:57 Step 2/11 : FROM ${BASE} AS builder 04:06:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:57 59bf1c3509f3: Pulling fs layer 04:06:57 666ba61612fd: Pulling fs layer 04:06:57 8ed8ca486205: Pulling fs layer 04:06:57 4fe6c5a15a65: Pulling fs layer 04:06:57 22a0e8bec74d: Pulling fs layer 04:06:57 640e595b4fbd: Pulling fs layer 04:06:57 763cafe07f6e: Pulling fs layer 04:06:57 0c0b528cf693: Pulling fs layer 04:06:57 10935f4eaf8b: Pulling fs layer 04:06:57 4fe6c5a15a65: Waiting 04:06:57 640e595b4fbd: Waiting 04:06:57 0c0b528cf693: Waiting 04:06:57 10935f4eaf8b: Waiting 04:06:57 8ed8ca486205: Verifying Checksum 04:06:57 666ba61612fd: Download complete 04:06:57 22a0e8bec74d: Download complete 04:06:57 59bf1c3509f3: Verifying Checksum 04:06:57 59bf1c3509f3: Download complete 04:06:57 640e595b4fbd: Download complete 04:06:57 763cafe07f6e: Verifying Checksum 04:06:57 763cafe07f6e: Download complete 04:06:57 0c0b528cf693: Verifying Checksum 04:06:57 0c0b528cf693: Download complete 04:06:57 59bf1c3509f3: Pull complete 04:06:57 666ba61612fd: Pull complete 04:06:57 8ed8ca486205: Pull complete 04:06:57 10935f4eaf8b: Verifying Checksum 04:06:57 10935f4eaf8b: Download complete 04:06:58 4fe6c5a15a65: Verifying Checksum 04:06:58 4fe6c5a15a65: Download complete 04:07:02 4fe6c5a15a65: Pull complete 04:07:02 22a0e8bec74d: Pull complete 04:07:02 640e595b4fbd: Pull complete 04:07:02 763cafe07f6e: Pull complete 04:07:02 0c0b528cf693: Pull complete 04:07:04 10935f4eaf8b: Pull complete 04:07:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:07:04 ---> 99d49a6021b9 04:07:04 Step 3/11 : ARG MAKE=make build 04:07:05 ---> Running in 34b3bfedbcad 04:07:05 Removing intermediate container 34b3bfedbcad 04:07:05 ---> cd58bd8f4d23 04:07:05 Step 4/11 : WORKDIR /device-sdk-go 04:07:05 ---> Running in 144daa0b45c8 04:07:05 Removing intermediate container 144daa0b45c8 04:07:05 ---> 3c7a251704b0 04:07:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:05 ---> Running in ca3b1cf8c012 04:07:05 Removing intermediate container ca3b1cf8c012 04:07:05 ---> 99b3c47b1615 04:07:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:05 ---> Running in c5a336cb71a2 04:07:06 Removing intermediate container c5a336cb71a2 04:07:06 ---> 230469e746e4 04:07:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:06 ---> Running in 26f368ded14c 04:07:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:07:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:07:07 OK: 221 MiB in 52 packages 04:07:07 Removing intermediate container 26f368ded14c 04:07:07 ---> 1989cbafae9f 04:07:07 Step 8/11 : COPY go.mod vendor* ./ 04:07:08 ---> 9c1fea8143d3 04:07:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:08 ---> Running in b685155245f8 04:07:10 Still waiting to schedule task 04:07:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21445’ 04:07:23 Removing intermediate container b685155245f8 04:07:23 ---> 4bc522140e7d 04:07:23 Step 10/11 : COPY . . 04:07:23 ---> 3fd322e47e9b 04:07:23 Step 11/11 : RUN ${MAKE} 04:07:23 ---> Running in f6945c4767db 04:07:23 noop 04:07:23 Removing intermediate container f6945c4767db 04:07:23 ---> 7cfc376f4532 04:07:23 Successfully built 7cfc376f4532 04:07:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:07:23 + docker inspect -f . ci-base-image-x86_64 04:07:23 . [Pipeline] withDockerContainer 04:07:23 prd-ubuntu20.04-docker-8c-8g-21448 does not seem to be running inside a container 04:07:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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 ******** ci-base-image-x86_64 cat 04:07:23 $ docker top 8aca130d0f3153a9dc4670a732fa856aece2e342000f3162f63239df843fd0e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:24 + go version 04:07:24 go version go1.17.6 linux/amd64 [Pipeline] } 04:07:24 $ docker stop --time=1 8aca130d0f3153a9dc4670a732fa856aece2e342000f3162f63239df843fd0e0 04:07:25 $ docker rm -f 8aca130d0f3153a9dc4670a732fa856aece2e342000f3162f63239df843fd0e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:26 + docker inspect -f . ci-base-image-x86_64 04:07:26 . [Pipeline] withDockerContainer 04:07:26 prd-ubuntu20.04-docker-8c-8g-21448 does not seem to be running inside a container 04:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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 ******** ci-base-image-x86_64 cat 04:07:26 $ docker top ce8e61e22a39c1f656fdd4e4b191cb328893318c7d29a1bc372eae36cae2800b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:27 + make test 04:07:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.068s coverage: 23.3% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.093s coverage: 10.8% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.7% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 86.1% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.801s coverage: 89.2% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 04:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:07:59 GO111MODULE=on go vet ./... 04:08:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:03 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:03 $ docker stop --time=1 ce8e61e22a39c1f656fdd4e4b191cb328893318c7d29a1bc372eae36cae2800b 04:08:05 $ docker rm -f ce8e61e22a39c1f656fdd4e4b191cb328893318c7d29a1bc372eae36cae2800b [Pipeline] // withDockerContainer [Pipeline] sh 04:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:08 + ls -al . 04:08:08 total 316 04:08:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 04:08 . 04:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:06 .. 04:08:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 04:06 .dockerignore 04:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:06 .git 04:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:06 .github 04:08:08 -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 04:06 .gitignore 04:08:08 -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 04:06 .golangci.yml 04:08:08 drwx------ 3 jenkins jenkins 4096 Apr 20 04:06 .semver 04:08:08 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 20 04:06 CHANGELOG.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 04:06 GOVERNANCE.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 880 Apr 20 04:06 Jenkinsfile 04:08:08 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 04:06 LICENSE 04:08:08 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 20 04:06 Makefile 04:08:08 -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 04:06 OWNERS.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 20 04:06 README.md 04:08:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:06 VERSION 04:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:06 bin 04:08:08 -rw-r--r-- 1 jenkins jenkins 129788 Apr 20 04:07 coverage.out 04:08:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 04:06 example 04:08:08 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 20 04:06 go.mod 04:08:08 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 20 04:06 go.sum 04:08:08 drwxrwxr-x 15 jenkins jenkins 4096 Apr 20 04:06 internal 04:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:06 openapi 04:08:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 04:06 pkg 04:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:06 snap 04:08:08 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 04:06 version.go [Pipeline] isUnix [Pipeline] sh 04:08:08 + 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=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 --label arch=amd64 --label version=0.0.0 . 04:08:08 Sending build context to Docker daemon 9.625MB 04:08:08 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:08:08 Step 2/25 : FROM ${BASE} AS builder 04:08:08 ---> 7cfc376f4532 04:08:08 Step 3/25 : ARG MAKE=make build 04:08:08 ---> Running in 10fa238c9120 04:08:08 Removing intermediate container 10fa238c9120 04:08:08 ---> a962d8fa2ef8 04:08:08 Step 4/25 : WORKDIR /device-sdk-go 04:08:08 ---> Running in a48f246df27e 04:08:08 Removing intermediate container a48f246df27e 04:08:08 ---> da8c105ca235 04:08:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:08 ---> Running in 564efa129e76 04:08:08 Removing intermediate container 564efa129e76 04:08:08 ---> 448a73964beb 04:08:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:08 ---> Running in 0f98d2069a44 04:08:09 Removing intermediate container 0f98d2069a44 04:08:09 ---> b0d5f7f0f15b 04:08:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:09 ---> Running in 983fa778b8ca 04:08:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:08:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:08:10 OK: 221 MiB in 52 packages 04:08:11 Removing intermediate container 983fa778b8ca 04:08:11 ---> 649e9a806c5e 04:08:11 Step 8/25 : COPY go.mod vendor* ./ 04:08:11 ---> e1cc92043ef2 04:08:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:11 ---> Running in 63da94289093 04:08:12 Removing intermediate container 63da94289093 04:08:12 ---> f3e2e8afaf14 04:08:12 Step 10/25 : COPY . . 04:08:12 ---> ed7e5779b066 04:08:12 Step 11/25 : RUN ${MAKE} 04:08:12 ---> Running in f7d7081f6de9 04:08:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:08:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:08:30 Removing intermediate container f7d7081f6de9 04:08:30 ---> d38b54574897 04:08:30 Step 12/25 : FROM alpine:3.14 04:08:31 3.14: Pulling from library/alpine 04:08:31 8663204ce13b: Pulling fs layer 04:08:31 8663204ce13b: Verifying Checksum 04:08:31 8663204ce13b: Download complete 04:08:31 8663204ce13b: Pull complete 04:08:31 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:08:31 Status: Downloaded newer image for alpine:3.14 04:08:31 ---> e04c818066af 04:08:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:31 ---> Running in 395fdef39408 04:08:32 Removing intermediate container 395fdef39408 04:08:32 ---> 4589f679caaf 04:08:32 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:32 ---> Running in 68818fb5efbd 04:08:32 Removing intermediate container 68818fb5efbd 04:08:32 ---> 2467eedd50fa 04:08:32 Step 15/25 : RUN apk add --update --no-cache zeromq 04:08:32 ---> Running in 0cb28f3a2578 04:08:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:08:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:08:34 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:08:34 (2/5) Installing libsodium (1.0.18-r0) 04:08:34 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:08:34 (4/5) Installing libzmq (4.3.4-r0) 04:08:34 (5/5) Installing zeromq (4.3.4-r0) 04:08:34 Executing busybox-1.33.1-r7.trigger 04:08:34 OK: 8 MiB in 19 packages 04:08:34 Removing intermediate container 0cb28f3a2578 04:08:34 ---> c2a097e8e27d 04:08:34 Step 16/25 : WORKDIR / 04:08:34 ---> Running in e4902ef27892 04:08:34 Removing intermediate container e4902ef27892 04:08:34 ---> a5a7466d2cb2 04:08:34 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:08:34 ---> b5cc5a604c3c 04:08:34 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:08:35 ---> 73bf7ded1bb9 04:08:35 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:08:35 ---> 8f5d88073b32 04:08:35 Step 20/25 : EXPOSE 59999 04:08:35 ---> Running in ba2075d477bd 04:08:35 Removing intermediate container ba2075d477bd 04:08:35 ---> 8098bc9e6def 04:08:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:08:35 ---> Running in b100013229fe 04:08:36 Removing intermediate container b100013229fe 04:08:36 ---> 588cb131f1b9 04:08:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:08:36 ---> Running in ea26cf4322ea 04:08:36 Removing intermediate container ea26cf4322ea 04:08:36 ---> 62c7fe31f217 04:08:36 Step 23/25 : LABEL arch=amd64 04:08:36 ---> Running in 0abbfb49e3ca 04:08:36 Removing intermediate container 0abbfb49e3ca 04:08:36 ---> a996fcbdf00b 04:08:36 Step 24/25 : LABEL git_sha=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 04:08:36 ---> Running in 39b15c9dc4f1 04:08:36 Removing intermediate container 39b15c9dc4f1 04:08:36 ---> 2983f2a269ad 04:08:36 Step 25/25 : LABEL version=0.0.0 04:08:36 ---> Running in 60f9713c274e 04:08:36 Removing intermediate container 60f9713c274e 04:08:36 ---> 3ee4acb92182 04:08:36 [Warning] One or more build-args [ARCH] were not consumed 04:08:36 Successfully built 3ee4acb92182 04:08:36 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 04:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:37 04:08:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:08:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:37 latest: Pulling from edgex-lftools-log-publisher 04:08:37 5eb5b503b376: Pulling fs layer 04:08:37 5c69ac0246d0: Pulling fs layer 04:08:37 ec43610c2a17: Pulling fs layer 04:08:37 3a2ae6a8a46f: Pulling fs layer 04:08:37 33b1e0a273af: Pulling fs layer 04:08:37 5d3b04190fa2: Pulling fs layer 04:08:37 2f39f015ded8: Pulling fs layer 04:08:37 33b1e0a273af: Waiting 04:08:37 5d3b04190fa2: Waiting 04:08:37 2f39f015ded8: Waiting 04:08:37 3a2ae6a8a46f: Waiting 04:08:37 5c69ac0246d0: Verifying Checksum 04:08:37 5c69ac0246d0: Download complete 04:08:37 3a2ae6a8a46f: Download complete 04:08:37 33b1e0a273af: Verifying Checksum 04:08:37 33b1e0a273af: Download complete 04:08:37 ec43610c2a17: Verifying Checksum 04:08:37 ec43610c2a17: Download complete 04:08:37 5d3b04190fa2: Verifying Checksum 04:08:37 5d3b04190fa2: Download complete 04:08:37 5eb5b503b376: Download complete 04:08:38 2f39f015ded8: Download complete 04:08:39 5eb5b503b376: Pull complete 04:08:39 5c69ac0246d0: Pull complete 04:08:39 ec43610c2a17: Pull complete 04:08:39 3a2ae6a8a46f: Pull complete 04:08:39 33b1e0a273af: Pull complete 04:08:40 5d3b04190fa2: Pull complete 04:08:44 2f39f015ded8: Pull complete 04:08:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:08:44 prd-ubuntu20.04-docker-8c-8g-21448 does not seem to be running inside a container 04:08:44 $ 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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:45 $ docker top fed8c224ce871ed09555ae4040734eecd8160f69b6c8f18b9e161db5d8f6fa2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:46 ---> job-cost.sh 04:08:46 lf-activate-venv: SKIPPING 04:08:46 INFO: No Stack... 04:08:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:47 INFO: Archiving Costs [Pipeline] sh 04:08:47 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/cost.csv 04:08:47 + cut -d, -f6 [Pipeline] lock 04:08:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] 04:08:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] did not exist. Created. 04:08:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:47 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:47 Stashed 1 file(s) [Pipeline] } 04:08:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:48 $ docker stop --time=1 fed8c224ce871ed09555ae4040734eecd8160f69b6c8f18b9e161db5d8f6fa2e 04:08:49 $ docker rm -f fed8c224ce871ed09555ae4040734eecd8160f69b6c8f18b9e161db5d8f6fa2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:09:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21450 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [Pipeline] { [Pipeline] ws 04:09:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:53 The recommended git tool is: git 04:10:02 using credential edgex-jenkins-ssh 04:10:02 Cloning the remote Git repository 04:10:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:02 > git --version # timeout=10 04:10:02 > git --version # 'git version 2.25.1' 04:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:05 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 04:10:06 Merge succeeded, producing 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 04:10:06 Checking out Revision 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 (PR-1140) 04:10:05 > git config core.sparsecheckout # timeout=10 04:10:05 > git checkout -f 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 04:10:06 > git remote # timeout=10 04:10:06 > git config --get remote.origin.url # timeout=10 04:10:06 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:06 > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 04:10:06 > git rev-parse HEAD^{commit} # timeout=10 04:10:06 > git config core.sparsecheckout # timeout=10 04:10:06 > git checkout -f 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 04:10:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:10:10 > git --version # timeout=10 04:10:10 > git --version # 'git version 2.25.1' 04:10:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:12 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:12 Dload Upload Total Spent Left Speed 04:10:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh 04:10:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:13 + sudo tee /etc/docker/daemon.new 04:10:13 { 04:10:13 "registry-mirrors": [ 04:10:13 "https://nexus3.edgexfoundry.org:10001" 04:10:13 ], 04:10:13 "bip": "10.250.0.254/24", 04:10:13 "hosts": [ 04:10:13 "tcp://0.0.0.0:5555", 04:10:13 "unix:///var/run/docker.sock" 04:10:13 ], 04:10:13 "mtu": 1458, 04:10:13 "selinux-enabled": true, 04:10:13 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:13 } [Pipeline] sh 04:10:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:33 provisioning config files... 04:10:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5872851092951366911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:33 ---> docker-login.sh 04:10:33 nexus3.edgexfoundry.org:10001 04:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:34 Configure a credential helper to remove this warning. See 04:10:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:34 04:10:34 Login Succeeded 04:10:34 nexus3.edgexfoundry.org:10002 04:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:35 Configure a credential helper to remove this warning. See 04:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:35 04:10:35 Login Succeeded 04:10:35 nexus3.edgexfoundry.org:10003 04:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:35 Configure a credential helper to remove this warning. See 04:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:35 04:10:35 Login Succeeded 04:10:35 nexus3.edgexfoundry.org:10004 04:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:36 Configure a credential helper to remove this warning. See 04:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:36 04:10:36 Login Succeeded 04:10:36 docker.io 04:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:37 Configure a credential helper to remove this warning. See 04:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:37 04:10:37 Login Succeeded 04:10:37 ---> docker-login.sh ends [Pipeline] } 04:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:37 ========================================================= 04:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:10:38 + 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 . 04:10:38 Sending build context to Docker daemon 5.134MB 04:10:38 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:10:38 Step 2/11 : FROM ${BASE} AS builder 04:10:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:38 9b3977197b4f: Pulling fs layer 04:10:38 1a89e8eeedd5: Pulling fs layer 04:10:38 94645a83ff95: Pulling fs layer 04:10:38 3f3a8bcf1eab: Pulling fs layer 04:10:38 0c92f367c5e7: Pulling fs layer 04:10:38 f7c0051592d6: Pulling fs layer 04:10:38 a227ed2f7395: Pulling fs layer 04:10:38 7b1c46037f91: Pulling fs layer 04:10:38 f7c0051592d6: Waiting 04:10:38 a227ed2f7395: Waiting 04:10:38 7b1c46037f91: Waiting 04:10:38 3f3a8bcf1eab: Waiting 04:10:38 0c92f367c5e7: Waiting 04:10:38 94645a83ff95: Verifying Checksum 04:10:38 94645a83ff95: Download complete 04:10:38 1a89e8eeedd5: Verifying Checksum 04:10:38 1a89e8eeedd5: Download complete 04:10:38 0c92f367c5e7: Verifying Checksum 04:10:38 0c92f367c5e7: Download complete 04:10:38 f7c0051592d6: Verifying Checksum 04:10:38 f7c0051592d6: Download complete 04:10:38 9b3977197b4f: Verifying Checksum 04:10:38 9b3977197b4f: Download complete 04:10:38 a227ed2f7395: Verifying Checksum 04:10:38 a227ed2f7395: Download complete 04:10:39 9b3977197b4f: Pull complete 04:10:40 1a89e8eeedd5: Pull complete 04:10:40 94645a83ff95: Pull complete 04:10:41 7b1c46037f91: Verifying Checksum 04:10:41 7b1c46037f91: Download complete 04:10:41 3f3a8bcf1eab: Verifying Checksum 04:10:41 3f3a8bcf1eab: Download complete 04:10:54 3f3a8bcf1eab: Pull complete 04:10:54 0c92f367c5e7: Pull complete 04:10:54 f7c0051592d6: Pull complete 04:10:54 a227ed2f7395: Pull complete 04:11:01 7b1c46037f91: Pull complete 04:11:01 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:11:01 ---> f79e39bc4007 04:11:01 Step 3/11 : ARG MAKE=make build 04:11:01 ---> Running in 80ae5a954df9 04:11:02 Removing intermediate container 80ae5a954df9 04:11:02 ---> 9535ac5e7743 04:11:02 Step 4/11 : WORKDIR /device-sdk-go 04:11:02 ---> Running in be6a87ed18c4 04:11:02 Removing intermediate container be6a87ed18c4 04:11:02 ---> cdab4a383725 04:11:02 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:02 ---> Running in 19d5037141bd 04:11:02 Removing intermediate container 19d5037141bd 04:11:02 ---> d1c12eefeb62 04:11:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:02 ---> Running in c21ea13ffed2 04:11:04 Removing intermediate container c21ea13ffed2 04:11:04 ---> b3960d31c8f5 04:11:04 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:04 ---> Running in 8aec9fe67636 04:11:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:11:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:11:07 OK: 220 MiB in 52 packages 04:11:08 Removing intermediate container 8aec9fe67636 04:11:08 ---> 114ef0b22fbc 04:11:08 Step 8/11 : COPY go.mod vendor* ./ 04:11:09 ---> 679dd67e3789 04:11:09 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:09 ---> Running in 072ccc293fda 04:11:56 Removing intermediate container 072ccc293fda 04:11:56 ---> 924ab78a9f85 04:11:56 Step 10/11 : COPY . . 04:11:57 ---> 49510e4f059e 04:11:57 Step 11/11 : RUN ${MAKE} 04:11:57 ---> Running in 00baaf1c8bb1 04:11:58 noop 04:11:58 Removing intermediate container 00baaf1c8bb1 04:11:58 ---> b7658c7613f3 04:11:58 Successfully built b7658c7613f3 04:11:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:11:59 + docker inspect -f . ci-base-image-arm64 04:11:59 . [Pipeline] withDockerContainer 04:11:59 prd-ubuntu20.04-docker-arm64-4c-16g-21450 does not seem to be running inside a container 04:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:12:00 $ docker top d0474cf3d4155aeff12b5af2284c038dcdc5bc7532fb90d047391afb6a94a7d4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:01 + go version 04:12:01 go version go1.17.6 linux/arm64 [Pipeline] } 04:12:01 $ docker stop --time=1 d0474cf3d4155aeff12b5af2284c038dcdc5bc7532fb90d047391afb6a94a7d4 04:12:03 $ docker rm -f d0474cf3d4155aeff12b5af2284c038dcdc5bc7532fb90d047391afb6a94a7d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:04 + docker inspect -f . ci-base-image-arm64 04:12:04 . [Pipeline] withDockerContainer 04:12:04 prd-ubuntu20.04-docker-arm64-4c-16g-21450 does not seem to be running inside a container 04:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:12:06 $ docker top 53806fd733a07ddeba80fedc132bd88ddfc8fa94eb7165b18ab8e320f0d136f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:12:07 + make test 04:12:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:12:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:14:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:14:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:14:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.347s coverage: 23.3% of statements 04:14:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.271s coverage: 27.6% of statements 04:14:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.325s coverage: 78.9% of statements 04:14:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.241s coverage: 10.8% of statements 04:14:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:14:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:14:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.387s coverage: 34.7% of statements 04:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.331s coverage: 86.1% of statements 04:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:14:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.467s coverage: 65.1% of statements 04:14:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.153s coverage: 89.2% of statements 04:14:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.7% of statements 04:14:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:14:41 GO111MODULE=on go vet ./... 04:16:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:16:18 ./bin/test-attribution-txt.sh [Pipeline] echo 04:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:18 $ docker stop --time=1 53806fd733a07ddeba80fedc132bd88ddfc8fa94eb7165b18ab8e320f0d136f3 04:16:20 $ docker rm -f 53806fd733a07ddeba80fedc132bd88ddfc8fa94eb7165b18ab8e320f0d136f3 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:21 Warning: overwriting stash ‘coverage-report’ 04:16:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:23 + ls -al . 04:16:23 total 312 04:16:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 04:16 . 04:16:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:10 .. 04:16:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 04:10 .dockerignore 04:16:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:10 .git 04:16:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:10 .github 04:16:23 -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 04:10 .gitignore 04:16:23 -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 04:10 .golangci.yml 04:16:23 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 20 04:10 CHANGELOG.md 04:16:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 04:10 GOVERNANCE.md 04:16:23 -rw-rw-r-- 1 jenkins jenkins 880 Apr 20 04:10 Jenkinsfile 04:16:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 04:10 LICENSE 04:16:23 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 20 04:10 Makefile 04:16:23 -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 04:10 OWNERS.md 04:16:23 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 20 04:10 README.md 04:16:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:06 VERSION 04:16:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:10 bin 04:16:23 -rw-r--r-- 1 jenkins jenkins 129789 Apr 20 04:14 coverage.out 04:16:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 04:10 example 04:16:23 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 20 04:10 go.mod 04:16:23 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 20 04:10 go.sum 04:16:23 drwxrwxr-x 15 jenkins jenkins 4096 Apr 20 04:10 internal 04:16:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:10 openapi 04:16:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 04:10 pkg 04:16:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:10 snap 04:16:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 04:10 version.go [Pipeline] isUnix [Pipeline] sh 04:16:23 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 --label arch=arm64 --label version=0.0.0 . 04:16:24 Sending build context to Docker daemon 5.264MB 04:16:24 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:16:24 Step 2/25 : FROM ${BASE} AS builder 04:16:24 ---> b7658c7613f3 04:16:24 Step 3/25 : ARG MAKE=make build 04:16:24 ---> Running in d1849ff11ad7 04:16:24 Removing intermediate container d1849ff11ad7 04:16:24 ---> fbe7cc28b2be 04:16:24 Step 4/25 : WORKDIR /device-sdk-go 04:16:24 ---> Running in d8b41859520a 04:16:25 Removing intermediate container d8b41859520a 04:16:25 ---> 853e74b9d39f 04:16:25 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:25 ---> Running in 83360c69cfb8 04:16:25 Removing intermediate container 83360c69cfb8 04:16:25 ---> 8b6cebdf67f3 04:16:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:25 ---> Running in 830dab1e05fd 04:16:27 Removing intermediate container 830dab1e05fd 04:16:27 ---> d4a5a4b67a59 04:16:27 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:16:27 ---> Running in 7763ea7c12b9 04:16:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:30 OK: 220 MiB in 52 packages 04:16:31 Removing intermediate container 7763ea7c12b9 04:16:31 ---> 0ee54f6356c1 04:16:31 Step 8/25 : COPY go.mod vendor* ./ 04:16:31 ---> bfc274e115db 04:16:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:31 ---> Running in 3e1ae310f2a9 04:16:33 Removing intermediate container 3e1ae310f2a9 04:16:33 ---> aab47988112c 04:16:33 Step 10/25 : COPY . . 04:16:34 ---> b3a09f8b723c 04:16:34 Step 11/25 : RUN ${MAKE} 04:16:34 ---> Running in 211f263beb3f 04:16:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:18:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:18:43 Removing intermediate container 211f263beb3f 04:18:43 ---> d4f86028ef06 04:18:43 Step 12/25 : FROM alpine:3.14 04:18:44 3.14: Pulling from library/alpine 04:18:44 455c02918c45: Pulling fs layer 04:18:45 455c02918c45: Verifying Checksum 04:18:45 455c02918c45: Download complete 04:18:45 455c02918c45: Pull complete 04:18:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:18:45 Status: Downloaded newer image for alpine:3.14 04:18:45 ---> ac73e934f311 04:18:45 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:45 ---> Running in 3bfad4a8c609 04:18:46 Removing intermediate container 3bfad4a8c609 04:18:46 ---> 2405cb1fc733 04:18:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:46 ---> Running in 07e4db294d2d 04:18:47 Removing intermediate container 07e4db294d2d 04:18:47 ---> d9621d607e7d 04:18:47 Step 15/25 : RUN apk add --update --no-cache zeromq 04:18:48 ---> Running in a58879764643 04:18:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:18:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:18:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:18:50 (2/5) Installing libsodium (1.0.18-r0) 04:18:51 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:18:51 (4/5) Installing libzmq (4.3.4-r0) 04:18:51 (5/5) Installing zeromq (4.3.4-r0) 04:18:51 Executing busybox-1.33.1-r7.trigger 04:18:51 OK: 8 MiB in 19 packages 04:18:52 Removing intermediate container a58879764643 04:18:52 ---> c703bbf1ddab 04:18:52 Step 16/25 : WORKDIR / 04:18:52 ---> Running in 42dd0df94914 04:18:52 Removing intermediate container 42dd0df94914 04:18:52 ---> 4a9a966c52d6 04:18:52 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:18:53 ---> 42e6aa9e1dce 04:18:53 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:18:54 ---> 7dae2955ba24 04:18:54 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:18:55 ---> 489fb7bad095 04:18:55 Step 20/25 : EXPOSE 59999 04:18:55 ---> Running in 7570b752824f 04:18:55 Removing intermediate container 7570b752824f 04:18:55 ---> 6f3f7905d62b 04:18:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:18:55 ---> Running in fa5d2e5ed159 04:18:56 Removing intermediate container fa5d2e5ed159 04:18:56 ---> ddf2bf4b3d70 04:18:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:18:56 ---> Running in c0447ffd808a 04:18:56 Removing intermediate container c0447ffd808a 04:18:56 ---> 6ad58bd9abbc 04:18:56 Step 23/25 : LABEL arch=arm64 04:18:56 ---> Running in 5f2f11c65a5f 04:18:56 Removing intermediate container 5f2f11c65a5f 04:18:56 ---> 9c58e0540732 04:18:56 Step 24/25 : LABEL git_sha=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 04:18:56 ---> Running in 6eada5e25f86 04:18:57 Removing intermediate container 6eada5e25f86 04:18:57 ---> feace334e094 04:18:57 Step 25/25 : LABEL version=0.0.0 04:18:57 ---> Running in cc5ec7aa4b2f 04:18:57 Removing intermediate container cc5ec7aa4b2f 04:18:57 ---> 393cd39f1be3 04:18:57 [Warning] One or more build-args [ARCH] were not consumed 04:18:57 Successfully built 393cd39f1be3 04:18:57 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 04:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:58 04:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:58 arm64: Pulling from edgex-lftools-log-publisher 04:18:58 8998bd30e6a1: Pulling fs layer 04:18:58 04944245beec: Pulling fs layer 04:18:58 699f458cf7ca: Pulling fs layer 04:18:58 765212b225bb: Pulling fs layer 04:18:58 f23df028b6ca: Pulling fs layer 04:18:58 d65c8cfc05b1: Pulling fs layer 04:18:58 2437ff75d9bd: Pulling fs layer 04:18:58 765212b225bb: Waiting 04:18:58 f23df028b6ca: Waiting 04:18:58 d65c8cfc05b1: Waiting 04:18:58 2437ff75d9bd: Waiting 04:18:58 04944245beec: Verifying Checksum 04:18:58 04944245beec: Download complete 04:18:58 765212b225bb: Verifying Checksum 04:18:58 765212b225bb: Download complete 04:18:58 f23df028b6ca: Verifying Checksum 04:18:58 f23df028b6ca: Download complete 04:18:58 d65c8cfc05b1: Verifying Checksum 04:18:58 d65c8cfc05b1: Download complete 04:18:59 699f458cf7ca: Verifying Checksum 04:18:59 699f458cf7ca: Download complete 04:18:59 8998bd30e6a1: Verifying Checksum 04:18:59 8998bd30e6a1: Download complete 04:19:01 2437ff75d9bd: Verifying Checksum 04:19:01 2437ff75d9bd: Download complete 04:19:04 8998bd30e6a1: Pull complete 04:19:04 04944245beec: Pull complete 04:19:05 699f458cf7ca: Pull complete 04:19:05 765212b225bb: Pull complete 04:19:06 f23df028b6ca: Pull complete 04:19:07 d65c8cfc05b1: Pull complete 04:19:22 2437ff75d9bd: Pull complete 04:19:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:19:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:19:22 prd-ubuntu20.04-docker-arm64-4c-16g-21450 does not seem to be running inside a container 04:19:22 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:19:25 $ docker top 1a606b07436035f156e6a6a7781a997abe34cf905a55e28571b8175d7cac4277 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:26 ---> job-cost.sh 04:19:26 lf-activate-venv: SKIPPING 04:19:26 INFO: No Stack... 04:19:26 INFO: Retrieving Pricing Info for: v3-standard-4 04:19:27 INFO: Archiving Costs [Pipeline] sh 04:19:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:19:28 + cut -d, -f6 [Pipeline] lock 04:19:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] 04:19:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] did not exist. Created. 04:19:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:29 /w/workspace/device-sdk-go/1@tmp/durable-ea5a56a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:19:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:19:30 Warning: overwriting stash ‘stack-cost’ 04:19:30 Stashed 1 file(s) [Pipeline] } 04:19:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:19:30 $ docker stop --time=1 1a606b07436035f156e6a6a7781a997abe34cf905a55e28571b8175d7cac4277 04:19:31 $ docker rm -f 1a606b07436035f156e6a6a7781a997abe34cf905a55e28571b8175d7cac4277 [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 04:19:32 provisioning config files... 04:19:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config2747524506605173063tmp [Pipeline] { [Pipeline] sh 04:19:33 + set +x 04:19:33 + curl -s https://codecov.io/bash 04:19:33 + bash -s -- 04:19:33 04:19:33 _____ _ 04:19:33 / ____| | | 04:19:33 | | ___ __| | ___ ___ _____ __ 04:19:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:19:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:19:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:19:33 Bash-1.0.6 04:19:33 04:19:33 04:19:33 ==> git version 2.25.1 found 04:19:33 ==> 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 04:19:33 Release-Date: 2020-01-08 04:19:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:19:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:19:33 ==> Jenkins CI detected. 04:19:33 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1140 04:19:33 project root: . 04:19:33 --> token set from env 04:19:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:19:33 ==> Running gcov in . (disable via -X gcov) 04:19:33 ==> Python coveragepy not found 04:19:33 ==> Searching for coverage reports in: 04:19:33 + . 04:19:33 -> Found 1 reports 04:19:33 ==> Detecting git/mercurial file structure 04:19:33 ==> Reading reports 04:19:33 + ./coverage.out bytes=129789 04:19:33 ==> Appending adjustments 04:19:33 https://docs.codecov.io/docs/fixing-reports 04:19:33 + Found adjustments 04:19:33 ==> Gzipping contents 04:19:33 20K /tmp/codecov.D0JjkW.gz 04:19:33 ==> Uploading reports 04:19:33 url: https://codecov.io 04:19:33 query: branch=PR-1140&commit=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= 04:19:33 -> Pinging Codecov 04:19:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1140&commit=84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= 04:19:34 -> Uploading to 04:19:34 https://storage.googleapis.com/codecov/v4/raw/2022-04-20/7E55EF52A471D76F132DFD9A03CDDE97/84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6/63a31553-3c12-43ac-ab09-0598cb54d38c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220420T041933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e8ef369b16961ae916aecdfecd0fff889c930200a54cd5e80fe0923b112001f 04:19:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:34 Dload Upload Total Spent Left Speed 04:19:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16657 0 0 100 16657 0 69694 --:--:-- --:--:-- --:--:-- 69694 04:19:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 [Pipeline] } 04:19:34 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 04:19:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives ] 04:19:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 04:19:36 total 16 04:19:36 drwxr-xr-x 3 root root 4096 Apr 20 04:08 . 04:19:36 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 04:08 .. 04:19:36 drwxr-xr-x 2 root root 4096 Apr 20 04:08 cost 04:19:36 -rw-r--r-- 1 root root 85 Apr 20 04:08 cost.csv 04:19:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 04:19:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 04:19:36 total 16 04:19:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 04:08 . 04:19:36 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 04:08 .. 04:19:36 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 04:08 cost 04:19:36 -rw-r--r-- 1 jenkins jenkins 85 Apr 20 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:19:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:19:37 ---> package-listing.sh 04:19:37 ++ facter osfamily 04:19:37 ++ tr '[:upper:]' '[:lower:]' 04:19:37 + OS_FAMILY=debian 04:19:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1140 04:19:37 + START_PACKAGES=/tmp/packages_start.txt 04:19:37 + END_PACKAGES=/tmp/packages_end.txt 04:19:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:19:37 + PACKAGES=/tmp/packages_start.txt 04:19:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' 04:19:37 + PACKAGES=/tmp/packages_end.txt 04:19:37 + case "${OS_FAMILY}" in 04:19:37 + dpkg -l 04:19:37 + grep '^ii' 04:19:37 + '[' -f /tmp/packages_start.txt ']' 04:19:37 + '[' -f /tmp/packages_end.txt ']' 04:19:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:19:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' 04:19:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ 04:19:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ [Pipeline] echo 04:19:37 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-1140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:19:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:38 . [Pipeline] withDockerContainer 04:19:38 prd-ubuntu20.04-docker-8c-8g-21448 does not seem to be running inside a container 04:19:38 $ 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-1140/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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:19:39 $ docker top 6071a05ab68785e73f6e013fa1bf7cb239e19bbd9d10f126b286f128791856cc -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:39 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:39 + mkdir -p /var/log/sysstat [Pipeline] sh 04:19:40 + ls /var/log/sa-host 04:19:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:40 provisioning config files... 04:19:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config5819033047292771526tmp [Pipeline] { [Pipeline] echo 04:19:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:40 ---> create-netrc.sh [Pipeline] } 04:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:19:41 ---> python-tools-install.sh [Pipeline] echo 04:19:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:41 ---> sudo-logs.sh 04:19:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:19:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:42 ---> job-cost.sh 04:19:42 lf-activate-venv: SKIPPING 04:19:42 DEBUG: total: 0.2199999988079071 04:19:42 INFO: Retrieving Stack Cost... 04:19:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:42 INFO: Archiving Costs [Pipeline] echo 04:19:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:43 ---> logs-deploy.sh 04:19:43 lf-activate-venv: SKIPPING 04:19:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1140/1 04:19:43 INFO: archiving workspace using pattern(s): 04:19:44 Archives upload complete. 04:19:44 INFO: archiving logs to Nexus