Pull request #1146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c4fb6f454a66f6ec4303bcc61530b9f99af08732 rather than f9d12fc9f4633fcc2600c286baef40311e3f37fa Obtained Jenkinsfile from c4fb6f454a66f6ec4303bcc61530b9f99af08732 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-ssh14043092793880602506.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-ssh11637987465537585725.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1146/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16603851025129009318.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3513096544577532391.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1146/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1916371400237806960.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21773 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [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-1146 # 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit f9d12fc9f4633fcc2600c286baef40311e3f37fa Merge succeeded, producing f9d12fc9f4633fcc2600c286baef40311e3f37fa Checking out Revision f9d12fc9f4633fcc2600c286baef40311e3f37fa (PR-1146) > 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/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" First time build. Skipping changelog. > git rev-list --no-walk 012f45f45fe5138d4eb4a9008353d6b4ce11a629 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:28:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:28:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:28:20 ========================================================= 10:28:20 EdgeX Global Pipelines Version Info 10:28:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:28:21 ------------------- 10:28:21 stable info: 10:28:21 ------------------- 10:28:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:28:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:28:21 Message: update stable to v1.0.221 10:28:21 ------------------- 10:28:21 experimental info: 10:28:21 ------------------- 10:28:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:28:21 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 10:28:21 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9d12fc [Pipeline] echo 10:28:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:22 provisioning config files... 10:28:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config9139749210123564486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:22 ---> docker-login.sh 10:28:22 nexus3.edgexfoundry.org:10001 10:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:22 Configure a credential helper to remove this warning. See 10:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:22 10:28:22 Login Succeeded 10:28:22 nexus3.edgexfoundry.org:10002 10:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:23 Configure a credential helper to remove this warning. See 10:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:23 10:28:23 Login Succeeded 10:28:23 nexus3.edgexfoundry.org:10003 10:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:23 Configure a credential helper to remove this warning. See 10:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:23 10:28:23 Login Succeeded 10:28:23 nexus3.edgexfoundry.org:10004 10:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:23 Configure a credential helper to remove this warning. See 10:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:23 10:28:23 Login Succeeded 10:28:23 docker.io 10:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:24 Configure a credential helper to remove this warning. See 10:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:24 10:28:24 Login Succeeded 10:28:24 ---> docker-login.sh ends [Pipeline] } 10:28:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:28:24 + git rev-list -1 --merges f9d12fc9f4633fcc2600c286baef40311e3f37fa~1..f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo 10:28:24 -----------> git rev-list -1 --merges f9d12fc9f4633fcc2600c286baef40311e3f37fa~1..f9d12fc9f4633fcc2600c286baef40311e3f37fa f9d12fc9f4633fcc2600c286baef40311e3f37fa [false] [Pipeline] sh 10:28:24 + git log --format=format:%s -1 f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo 10:28:24 ========================================================= 10:28:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:28:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:25 + git log --format=format:%s -1 f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] echo 10:28:25 [semverPrep] GIT_COMMIT: f9d12fc9f4633fcc2600c286baef40311e3f37fa, Commit Message: fix: Add missing Configuration interface method GetTelemetryInfo [Pipeline] echo 10:28:25 [semverPrep] This is not a build commit. [Pipeline] sh 10:28:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:28:25 + grep -v github /etc/ssh/ssh_known_hosts 10:28:25 + [ -e /tmp/ssh_known_hosts ] 10:28:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:28:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:28:25 + sudo tee -a /etc/ssh/ssh_known_hosts 10:28:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:26 10:28:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:28:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:26 latest: Pulling from edgex-devops/git-semver 10:28:26 a0d0a0d46f8b: Pulling fs layer 10:28:26 3e5f54012d9b: Pulling fs layer 10:28:26 4c7163046ea9: Pulling fs layer 10:28:26 0c2d73faf560: Pulling fs layer 10:28:26 3e5f54012d9b: Verifying Checksum 10:28:26 a0d0a0d46f8b: Download complete 10:28:26 0c2d73faf560: Verifying Checksum 10:28:26 0c2d73faf560: Download complete 10:28:26 4c7163046ea9: Verifying Checksum 10:28:26 4c7163046ea9: Download complete 10:28:26 a0d0a0d46f8b: Pull complete 10:28:26 3e5f54012d9b: Pull complete 10:28:27 4c7163046ea9: Pull complete 10:28:27 0c2d73faf560: Pull complete 10:28:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:28:27 prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container 10:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:28:28 $ docker top d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:28 [ssh-agent] Looking for ssh-agent implementation... 10:28:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:28 $ docker exec d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent 10:28:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgNbApL/agent.14 10:28:28 SSH_AGENT_PID=20 10:28:28 Running ssh-add (command line suppressed) 10:28:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_1334576929588055071.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_1334576929588055071.key) 10:28:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:28 + git tag --points-at HEAD [Pipeline] } 10:28:28 $ docker exec --env ******** --env ******** d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent -k 10:28:29 unset SSH_AUTH_SOCK; 10:28:29 unset SSH_AGENT_PID; 10:28:29 echo Agent pid 20 killed; 10:28:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:28:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:29 [ssh-agent] Looking for ssh-agent implementation... 10:28:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:29 $ docker exec d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent 10:28:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhpaikp/agent.53 10:28:29 SSH_AGENT_PID=59 10:28:29 Running ssh-add (command line suppressed) 10:28:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_6306541823788773759.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_6306541823788773759.key) 10:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:29 + git semver init 10:28:29 # -> Open(): unable to determine branch for HEAD 10:28:29 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.git 10:28:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1146 10:28:29 # $SEMVER_REMOTE_NAME = origin 10:28:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:28:29 # $SEMVER_USER_NAME = edgex-jenkins 10:28:29 # $SEMVER_BRANCH = PR-1146 10:28:29 # $SEMVER_TEMP = /tmp/semver-520262379 10:28:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:28:31 # '/tmp/semver-520262379' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver' 10:28:31 # -> Force: false 10:28:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver [Pipeline] } 10:28:31 $ docker exec --env ******** --env ******** d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 ssh-agent -k 10:28:31 unset SSH_AUTH_SOCK; 10:28:31 unset SSH_AGENT_PID; 10:28:31 echo Agent pid 59 killed; 10:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:31 + git semver [Pipeline] } 10:28:31 $ docker stop --time=1 d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 10:28:33 $ docker rm -f d263855b357d18173426030e95da046725795c84273db7e2d189b7136ab22912 [Pipeline] // withDockerContainer [Pipeline] sh 10:28:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:28:33 Stashed 1 file(s) [Pipeline] echo 10:28:33 [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 10:28:33 provisioning config files... 10:28:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config3485498878022412523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:34 ---> docker-login.sh 10:28:34 nexus3.edgexfoundry.org:10001 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 nexus3.edgexfoundry.org:10002 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 nexus3.edgexfoundry.org:10003 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 nexus3.edgexfoundry.org:10004 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 docker.io 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:35 Configure a credential helper to remove this warning. See 10:28:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:35 10:28:35 Login Succeeded 10:28:35 ---> docker-login.sh ends [Pipeline] } 10:28:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:28:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:35 ========================================================= 10:28:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:28:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:28:35 + 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 . 10:28:35 Sending build context to Docker daemon 9.616MB 10:28:35 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:28:35 Step 2/11 : FROM ${BASE} AS builder 10:28:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:28:35 59bf1c3509f3: Pulling fs layer 10:28:35 666ba61612fd: Pulling fs layer 10:28:35 8ed8ca486205: Pulling fs layer 10:28:35 4fe6c5a15a65: Pulling fs layer 10:28:35 22a0e8bec74d: Pulling fs layer 10:28:35 640e595b4fbd: Pulling fs layer 10:28:35 763cafe07f6e: Pulling fs layer 10:28:35 0c0b528cf693: Pulling fs layer 10:28:35 10935f4eaf8b: Pulling fs layer 10:28:35 4fe6c5a15a65: Waiting 10:28:35 22a0e8bec74d: Waiting 10:28:35 763cafe07f6e: Waiting 10:28:35 0c0b528cf693: Waiting 10:28:35 10935f4eaf8b: Waiting 10:28:35 640e595b4fbd: Waiting 10:28:35 8ed8ca486205: Verifying Checksum 10:28:35 8ed8ca486205: Download complete 10:28:35 666ba61612fd: Download complete 10:28:35 22a0e8bec74d: Download complete 10:28:35 640e595b4fbd: Verifying Checksum 10:28:35 640e595b4fbd: Download complete 10:28:35 59bf1c3509f3: Verifying Checksum 10:28:35 59bf1c3509f3: Download complete 10:28:35 763cafe07f6e: Verifying Checksum 10:28:35 763cafe07f6e: Download complete 10:28:35 0c0b528cf693: Verifying Checksum 10:28:35 0c0b528cf693: Download complete 10:28:35 59bf1c3509f3: Pull complete 10:28:36 666ba61612fd: Pull complete 10:28:36 8ed8ca486205: Pull complete 10:28:36 10935f4eaf8b: Verifying Checksum 10:28:36 10935f4eaf8b: Download complete 10:28:36 4fe6c5a15a65: Verifying Checksum 10:28:36 4fe6c5a15a65: Download complete 10:28:40 4fe6c5a15a65: Pull complete 10:28:40 22a0e8bec74d: Pull complete 10:28:40 640e595b4fbd: Pull complete 10:28:40 763cafe07f6e: Pull complete 10:28:41 0c0b528cf693: Pull complete 10:28:43 10935f4eaf8b: Pull complete 10:28:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:28:43 ---> 99d49a6021b9 10:28:43 Step 3/11 : ARG MAKE=make build 10:28:45 ---> Running in 1bd9b87d14f2 10:28:45 Removing intermediate container 1bd9b87d14f2 10:28:45 ---> 1638ca23429a 10:28:45 Step 4/11 : WORKDIR /device-sdk-go 10:28:45 ---> Running in 9a6c7ad55445 10:28:45 Removing intermediate container 9a6c7ad55445 10:28:45 ---> 6929ee1450b9 10:28:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:28:45 ---> Running in 940ec73c8707 10:28:45 Removing intermediate container 940ec73c8707 10:28:45 ---> 0269e84446a8 10:28:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:28:45 ---> Running in cced58c885f0 10:28:45 Removing intermediate container cced58c885f0 10:28:45 ---> e1cc1a58b657 10:28:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:28:46 ---> Running in 5928a9270eee 10:28:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:47 OK: 221 MiB in 52 packages 10:28:47 Removing intermediate container 5928a9270eee 10:28:47 ---> c02a0827fb06 10:28:47 Step 8/11 : COPY go.mod vendor* ./ 10:28:48 ---> aafbff04580d 10:28:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:48 ---> Running in e436c342ad24 10:28:48 Still waiting to schedule task 10:28:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:29:06 Removing intermediate container e436c342ad24 10:29:06 ---> 7fd8f2131989 10:29:06 Step 10/11 : COPY . . 10:29:06 ---> 0e0676a31d55 10:29:06 Step 11/11 : RUN ${MAKE} 10:29:06 ---> Running in 27c3bc1c7de9 10:29:06 noop 10:29:06 Removing intermediate container 27c3bc1c7de9 10:29:06 ---> eccd89847cfb 10:29:06 Successfully built eccd89847cfb 10:29:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:29:06 + docker inspect -f . ci-base-image-x86_64 10:29:06 . [Pipeline] withDockerContainer 10:29:06 prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container 10:29:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:29:07 $ docker top f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:07 + go version 10:29:07 go version go1.17.6 linux/amd64 [Pipeline] } 10:29:07 $ docker stop --time=1 f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 10:29:08 $ docker rm -f f5c64dbac0546b6148ffc87ae909e2687875b815ec7d53e136afc4e2ff3dabf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:29:09 + docker inspect -f . ci-base-image-x86_64 10:29:09 . [Pipeline] withDockerContainer 10:29:09 prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container 10:29:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:29:09 $ docker top c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:29:10 + make test 10:29:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:29:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.3% of statements 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 10:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 10:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 10.8% of statements 10:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 10:29:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements 10:29:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:29:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements 10:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.965s coverage: 89.2% of statements 10:29:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 10:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.7% of statements 10:29:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:29:45 GO111MODULE=on go vet ./... 10:29:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:50 ./bin/test-attribution-txt.sh [Pipeline] echo 10:29:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:29:50 $ docker stop --time=1 c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 10:29:52 $ docker rm -f c47a317b56f9d76cd2ce880534003b70b00f8c482f68f4aeeb1bf74b174cecc8 [Pipeline] // withDockerContainer [Pipeline] sh 10:29:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:29:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:54 + ls -al . 10:29:54 total 296 10:29:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 10:29 . 10:29:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:28 .. 10:29:54 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 10:28 .dockerignore 10:29:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 10:28 .git 10:29:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:28 .github 10:29:54 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 10:28 .gitignore 10:29:54 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 10:28 .golangci.yml 10:29:54 drwx------ 3 jenkins jenkins 4096 Apr 22 10:28 .semver 10:29:54 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 10:28 CHANGELOG.md 10:29:54 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 10:28 GOVERNANCE.md 10:29:54 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 10:28 Jenkinsfile 10:29:54 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 10:28 LICENSE 10:29:54 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 10:28 Makefile 10:29:54 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 10:28 OWNERS.md 10:29:54 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 10:28 README.md 10:29:54 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 10:28 VERSION 10:29:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:28 bin 10:29:54 -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 10:29 coverage.out 10:29:54 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:28 example 10:29:54 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 10:28 go.mod 10:29:54 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 10:28 go.sum 10:29:54 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 10:28 internal 10:29:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 10:28 openapi 10:29:54 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:28 pkg 10:29:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:28 snap 10:29:54 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 10:28 version.go [Pipeline] isUnix [Pipeline] sh 10:29:54 + 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=f9d12fc9f4633fcc2600c286baef40311e3f37fa --label arch=amd64 --label version=0.0.0 . 10:29:54 Sending build context to Docker daemon 9.748MB 10:29:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:29:54 Step 2/25 : FROM ${BASE} AS builder 10:29:54 ---> eccd89847cfb 10:29:54 Step 3/25 : ARG MAKE=make build 10:29:55 ---> Running in d7e76113082d 10:29:55 Removing intermediate container d7e76113082d 10:29:55 ---> 1ec6b449cab8 10:29:55 Step 4/25 : WORKDIR /device-sdk-go 10:29:55 ---> Running in d65fbdc08142 10:29:55 Removing intermediate container d65fbdc08142 10:29:55 ---> 48f18f66a56a 10:29:55 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:29:55 ---> Running in 628d9d21ec26 10:29:55 Removing intermediate container 628d9d21ec26 10:29:55 ---> 9198525cb6c3 10:29:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:29:55 ---> Running in 2dbd941e727e 10:29:56 Removing intermediate container 2dbd941e727e 10:29:56 ---> e5cb13595c13 10:29:56 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:29:56 ---> Running in fc7e2ca3f9b9 10:29:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:29:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:29:57 OK: 221 MiB in 52 packages 10:29:57 Removing intermediate container fc7e2ca3f9b9 10:29:57 ---> 1f93c2af3dd0 10:29:57 Step 8/25 : COPY go.mod vendor* ./ 10:29:57 ---> 2fb015c01c39 10:29:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:57 ---> Running in 2428b45e5ffb 10:29:58 Removing intermediate container 2428b45e5ffb 10:29:58 ---> ac5569abf7c8 10:29:58 Step 10/25 : COPY . . 10:29:59 ---> e64891b7a7cb 10:29:59 Step 11/25 : RUN ${MAKE} 10:29:59 ---> Running in 2ff640eff99c 10:29:59 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 10:30:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:30:18 Removing intermediate container 2ff640eff99c 10:30:18 ---> d3fbd39d40f5 10:30:18 Step 12/25 : FROM alpine:3.14 10:30:19 3.14: Pulling from library/alpine 10:30:19 8663204ce13b: Pulling fs layer 10:30:19 8663204ce13b: Verifying Checksum 10:30:19 8663204ce13b: Download complete 10:30:19 8663204ce13b: Pull complete 10:30:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:30:19 Status: Downloaded newer image for alpine:3.14 10:30:19 ---> e04c818066af 10:30:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:19 ---> Running in 75ecb3c31bbd 10:30:19 Removing intermediate container 75ecb3c31bbd 10:30:19 ---> 0597f73db979 10:30:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:19 ---> Running in d684df823827 10:30:20 Removing intermediate container d684df823827 10:30:20 ---> 9a5fe1bb0862 10:30:20 Step 15/25 : RUN apk add --update --no-cache zeromq 10:30:20 ---> Running in bedd30670e08 10:30:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:30:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:30:21 (1/5) Installing libgcc (10.3.1_git20210424-r2) 10:30:21 (2/5) Installing libsodium (1.0.18-r0) 10:30:21 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 10:30:22 (4/5) Installing libzmq (4.3.4-r0) 10:30:22 (5/5) Installing zeromq (4.3.4-r0) 10:30:22 Executing busybox-1.33.1-r7.trigger 10:30:22 OK: 8 MiB in 19 packages 10:30:22 Removing intermediate container bedd30670e08 10:30:22 ---> 490b6a64c558 10:30:22 Step 16/25 : WORKDIR / 10:30:22 ---> Running in 12906482c984 10:30:22 Removing intermediate container 12906482c984 10:30:22 ---> 93dcc6d330bd 10:30:22 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:30:23 ---> 884c5043e04a 10:30:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:30:23 ---> 40116d9fb0b1 10:30:23 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:30:23 ---> 498790ce0f40 10:30:23 Step 20/25 : EXPOSE 59999 10:30:23 ---> Running in fdd4b47acdc7 10:30:23 Removing intermediate container fdd4b47acdc7 10:30:23 ---> 4992e4aa3bff 10:30:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 10:30:23 ---> Running in eaeece55fb1f 10:30:24 Removing intermediate container eaeece55fb1f 10:30:24 ---> 8e531767ff75 10:30:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:30:24 ---> Running in 5ca513f7a318 10:30:24 Removing intermediate container 5ca513f7a318 10:30:24 ---> 692fcc8cf555 10:30:24 Step 23/25 : LABEL arch=amd64 10:30:24 ---> Running in 8f8f05f35de5 10:30:24 Removing intermediate container 8f8f05f35de5 10:30:24 ---> d6d3922cdb9e 10:30:24 Step 24/25 : LABEL git_sha=f9d12fc9f4633fcc2600c286baef40311e3f37fa 10:30:24 ---> Running in 7d46d68e3e0a 10:30:24 Removing intermediate container 7d46d68e3e0a 10:30:24 ---> 7f27929a6364 10:30:24 Step 25/25 : LABEL version=0.0.0 10:30:24 ---> Running in f719a8b42315 10:30:24 Removing intermediate container f719a8b42315 10:30:24 ---> 2fd3386ccf05 10:30:24 [Warning] One or more build-args [ARCH] were not consumed 10:30:24 Successfully built 2fd3386ccf05 10:30:24 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 10:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:25 10:30:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:30:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:25 latest: Pulling from edgex-lftools-log-publisher 10:30:25 5eb5b503b376: Pulling fs layer 10:30:25 5c69ac0246d0: Pulling fs layer 10:30:25 ec43610c2a17: Pulling fs layer 10:30:25 3a2ae6a8a46f: Pulling fs layer 10:30:25 33b1e0a273af: Pulling fs layer 10:30:25 5d3b04190fa2: Pulling fs layer 10:30:25 2f39f015ded8: Pulling fs layer 10:30:25 3a2ae6a8a46f: Waiting 10:30:25 33b1e0a273af: Waiting 10:30:25 5d3b04190fa2: Waiting 10:30:25 2f39f015ded8: Waiting 10:30:25 5c69ac0246d0: Download complete 10:30:25 3a2ae6a8a46f: Verifying Checksum 10:30:25 3a2ae6a8a46f: Download complete 10:30:25 33b1e0a273af: Verifying Checksum 10:30:25 33b1e0a273af: Download complete 10:30:25 5d3b04190fa2: Verifying Checksum 10:30:25 5d3b04190fa2: Download complete 10:30:25 ec43610c2a17: Verifying Checksum 10:30:25 ec43610c2a17: Download complete 10:30:25 5eb5b503b376: Verifying Checksum 10:30:25 5eb5b503b376: Download complete 10:30:26 2f39f015ded8: Download complete 10:30:27 5eb5b503b376: Pull complete 10:30:27 5c69ac0246d0: Pull complete 10:30:27 ec43610c2a17: Pull complete 10:30:27 3a2ae6a8a46f: Pull complete 10:30:28 33b1e0a273af: Pull complete 10:30:28 5d3b04190fa2: Pull complete 10:30:33 2f39f015ded8: Pull complete 10:30:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:30:33 prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container 10:30:33 $ 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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:30:35 $ docker top 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:36 ---> job-cost.sh 10:30:36 lf-activate-venv: SKIPPING 10:30:36 INFO: No Stack... 10:30:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:37 INFO: Archiving Costs [Pipeline] sh 10:30:37 + + cutcat -d, /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/cost.csv -f6 10:30:37 [Pipeline] lock 10:30:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] 10:30:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] did not exist. Created. 10:30:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:37 + echo total: 0.2199999988079071 [Pipeline] stash 10:30:37 Stashed 1 file(s) [Pipeline] } 10:30:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:38 $ docker stop --time=1 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a 10:30:39 $ docker rm -f 85db3626a73912004ef4953a2b6cfeaa6127450bc6f1aa05582e4dfa62d2646a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:31:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21775 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws 10:31:31 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:31:31 The recommended git tool is: git 10:31:39 using credential edgex-jenkins-ssh 10:31:39 Cloning the remote Git repository 10:31:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:31:39 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:31:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:31:39 > git --version # timeout=10 10:31:39 > git --version # 'git version 2.25.1' 10:31:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:31:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:31:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:31:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:31:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:31:41 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:31:42 Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit f9d12fc9f4633fcc2600c286baef40311e3f37fa 10:31:42 Merge succeeded, producing f9d12fc9f4633fcc2600c286baef40311e3f37fa 10:31:42 Checking out Revision f9d12fc9f4633fcc2600c286baef40311e3f37fa (PR-1146) 10:31:42 > git config core.sparsecheckout # timeout=10 10:31:42 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 10:31:42 > git remote # timeout=10 10:31:42 > git config --get remote.origin.url # timeout=10 10:31:42 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:42 > git merge c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 10:31:42 > git rev-parse HEAD^{commit} # timeout=10 10:31:42 > git config core.sparsecheckout # timeout=10 10:31:42 > git checkout -f f9d12fc9f4633fcc2600c286baef40311e3f37fa # timeout=10 10:31:47 Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:31:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:31:47 % Total % Received % Xferd Average Speed Time Time Time Current 10:31:47 Dload Upload Total Spent Left Speed 10:31:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 10:31:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:31:48 + sudo tee /etc/docker/daemon.new 10:31:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:31:48 { 10:31:48 "registry-mirrors": [ 10:31:48 "https://nexus3.edgexfoundry.org:10001" 10:31:48 ], 10:31:48 "bip": "10.250.0.254/24", 10:31:48 "hosts": [ 10:31:48 "tcp://0.0.0.0:5555", 10:31:48 "unix:///var/run/docker.sock" 10:31:48 ], 10:31:48 "mtu": 1458, 10:31:48 "selinux-enabled": true, 10:31:48 "seccomp-profile": "/etc/docker/seccomp.json" 10:31:48 } [Pipeline] sh 10:31:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:31:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:32:07 provisioning config files... 10:32:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8307985153723005797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:32:08 ---> docker-login.sh 10:32:08 nexus3.edgexfoundry.org:10001 10:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:09 Configure a credential helper to remove this warning. See 10:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:09 10:32:09 Login Succeeded 10:32:09 nexus3.edgexfoundry.org:10002 10:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:09 Configure a credential helper to remove this warning. See 10:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:09 10:32:09 Login Succeeded 10:32:09 nexus3.edgexfoundry.org:10003 10:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:10 Configure a credential helper to remove this warning. See 10:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:10 10:32:10 Login Succeeded 10:32:10 nexus3.edgexfoundry.org:10004 10:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:10 Configure a credential helper to remove this warning. See 10:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:10 10:32:10 Login Succeeded 10:32:10 docker.io 10:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:11 Configure a credential helper to remove this warning. See 10:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:11 10:32:11 Login Succeeded 10:32:11 ---> docker-login.sh ends [Pipeline] } 10:32:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:32:12 ========================================================= 10:32:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:32:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:32:12 + 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 . 10:32:13 Sending build context to Docker daemon 5.228MB 10:32:13 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:32:13 Step 2/11 : FROM ${BASE} AS builder 10:32:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:32:13 9b3977197b4f: Pulling fs layer 10:32:13 1a89e8eeedd5: Pulling fs layer 10:32:13 94645a83ff95: Pulling fs layer 10:32:13 3f3a8bcf1eab: Pulling fs layer 10:32:13 0c92f367c5e7: Pulling fs layer 10:32:13 f7c0051592d6: Pulling fs layer 10:32:13 a227ed2f7395: Pulling fs layer 10:32:13 7b1c46037f91: Pulling fs layer 10:32:13 f7c0051592d6: Waiting 10:32:13 a227ed2f7395: Waiting 10:32:13 7b1c46037f91: Waiting 10:32:13 0c92f367c5e7: Waiting 10:32:13 3f3a8bcf1eab: Waiting 10:32:13 94645a83ff95: Download complete 10:32:13 1a89e8eeedd5: Verifying Checksum 10:32:13 1a89e8eeedd5: Download complete 10:32:13 0c92f367c5e7: Verifying Checksum 10:32:13 0c92f367c5e7: Download complete 10:32:13 f7c0051592d6: Verifying Checksum 10:32:13 f7c0051592d6: Download complete 10:32:13 9b3977197b4f: Download complete 10:32:13 a227ed2f7395: Verifying Checksum 10:32:13 a227ed2f7395: Download complete 10:32:14 9b3977197b4f: Pull complete 10:32:14 1a89e8eeedd5: Pull complete 10:32:15 94645a83ff95: Pull complete 10:32:15 7b1c46037f91: Download complete 10:32:15 3f3a8bcf1eab: Verifying Checksum 10:32:15 3f3a8bcf1eab: Download complete 10:32:28 3f3a8bcf1eab: Pull complete 10:32:28 0c92f367c5e7: Pull complete 10:32:28 f7c0051592d6: Pull complete 10:32:28 a227ed2f7395: Pull complete 10:32:35 7b1c46037f91: Pull complete 10:32:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:32:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:32:35 ---> f79e39bc4007 10:32:35 Step 3/11 : ARG MAKE=make build 10:32:35 ---> Running in ab57b91949d2 10:32:35 Removing intermediate container ab57b91949d2 10:32:35 ---> a42e47f3502d 10:32:35 Step 4/11 : WORKDIR /device-sdk-go 10:32:35 ---> Running in 2cefc0d2a005 10:32:36 Removing intermediate container 2cefc0d2a005 10:32:36 ---> 029ddb0f8c0e 10:32:36 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:32:36 ---> Running in 8c2c47682aa2 10:32:36 Removing intermediate container 8c2c47682aa2 10:32:36 ---> 687565107c22 10:32:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:32:36 ---> Running in f4a1cae805de 10:32:38 Removing intermediate container f4a1cae805de 10:32:38 ---> 43e1f9cf3d1d 10:32:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:32:38 ---> Running in bac94997400e 10:32:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:32:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:32:41 OK: 220 MiB in 52 packages 10:32:41 Removing intermediate container bac94997400e 10:32:41 ---> d5b8bb3489ea 10:32:41 Step 8/11 : COPY go.mod vendor* ./ 10:32:42 ---> c96de45c8a4f 10:32:42 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:32:42 ---> Running in 2a58995e6733 10:33:29 Removing intermediate container 2a58995e6733 10:33:29 ---> a6faa4b485d5 10:33:29 Step 10/11 : COPY . . 10:33:30 ---> a207e5010d16 10:33:30 Step 11/11 : RUN ${MAKE} 10:33:30 ---> Running in f94ac0d87120 10:33:31 noop 10:33:32 Removing intermediate container f94ac0d87120 10:33:32 ---> 4c4df04d00d3 10:33:32 Successfully built 4c4df04d00d3 10:33:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:33:32 + docker inspect -f . ci-base-image-arm64 10:33:32 . [Pipeline] withDockerContainer 10:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container 10:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:34 $ docker top f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:35 + go version 10:33:35 go version go1.17.6 linux/arm64 [Pipeline] } 10:33:35 $ docker stop --time=1 f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 10:33:37 $ docker rm -f f277bb5512d04f9afe0f8158ad5caa49192dacf3d79b26a9a225fa52e9533509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:33:37 + docker inspect -f . ci-base-image-arm64 10:33:37 . [Pipeline] withDockerContainer 10:33:38 prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container 10:33:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:39 $ docker top 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:33:40 + make test 10:33:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:34:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:36:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:36:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:36:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:36:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.386s coverage: 23.3% of statements 10:36:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:36:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements 10:36:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.340s coverage: 78.9% of statements 10:36:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.280s coverage: 10.8% of statements 10:36:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.430s coverage: 60.0% of statements 10:36:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:36:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:36:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.447s coverage: 34.8% of statements 10:36:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:36:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.325s coverage: 86.1% of statements 10:36:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:36:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:36:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.554s coverage: 65.1% of statements 10:36:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.215s coverage: 89.2% of statements 10:36:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 10:36:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.246s coverage: 4.7% of statements 10:36:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:36:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:36:24 GO111MODULE=on go vet ./... 10:38:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:38:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:38:00 ./bin/test-attribution-txt.sh [Pipeline] echo 10:38:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:38:00 $ docker stop --time=1 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 10:38:02 $ docker rm -f 330014f633876a1854e067bbaec8fe4fb3dc68a2006b7ccf122a957f4ba634d1 [Pipeline] // withDockerContainer [Pipeline] sh 10:38:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:38:04 Warning: overwriting stash ‘coverage-report’ 10:38:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:38:05 + ls -al . 10:38:05 total 292 10:38:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 10:37 . 10:38:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:31 .. 10:38:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 10:31 .dockerignore 10:38:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 10:31 .git 10:38:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:31 .github 10:38:05 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 10:31 .gitignore 10:38:05 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 10:31 .golangci.yml 10:38:05 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 10:31 CHANGELOG.md 10:38:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 10:31 GOVERNANCE.md 10:38:05 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 10:31 Jenkinsfile 10:38:05 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 10:31 LICENSE 10:38:05 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 10:31 Makefile 10:38:05 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 10:31 OWNERS.md 10:38:05 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 10:31 README.md 10:38:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 10:28 VERSION 10:38:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 10:31 bin 10:38:05 -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 10:36 coverage.out 10:38:05 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:31 example 10:38:05 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 10:31 go.mod 10:38:05 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 10:31 go.sum 10:38:05 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 10:31 internal 10:38:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 10:31 openapi 10:38:05 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 10:31 pkg 10:38:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 10:31 snap 10:38:05 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 10:31 version.go [Pipeline] isUnix [Pipeline] sh 10:38:06 + 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=f9d12fc9f4633fcc2600c286baef40311e3f37fa --label arch=arm64 --label version=0.0.0 . 10:38:06 Sending build context to Docker daemon 5.36MB 10:38:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:38:06 Step 2/25 : FROM ${BASE} AS builder 10:38:06 ---> 4c4df04d00d3 10:38:06 Step 3/25 : ARG MAKE=make build 10:38:06 ---> Running in b4de5192000c 10:38:07 Removing intermediate container b4de5192000c 10:38:07 ---> 16b89d75c8e5 10:38:07 Step 4/25 : WORKDIR /device-sdk-go 10:38:07 ---> Running in 8435aae799f6 10:38:07 Removing intermediate container 8435aae799f6 10:38:07 ---> e8aa6743e777 10:38:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:38:07 ---> Running in cea62c3d6e16 10:38:08 Removing intermediate container cea62c3d6e16 10:38:08 ---> 3edf9f07a6e4 10:38:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:38:08 ---> Running in 48d562a140dc 10:38:09 Removing intermediate container 48d562a140dc 10:38:09 ---> 9455bce8bce4 10:38:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:38:10 ---> Running in e0c5f090cafd 10:38:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:38:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:38:13 OK: 220 MiB in 52 packages 10:38:13 Removing intermediate container e0c5f090cafd 10:38:13 ---> 6164437e56b6 10:38:13 Step 8/25 : COPY go.mod vendor* ./ 10:38:14 ---> dd22ec41056f 10:38:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:38:14 ---> Running in 94057c0f3215 10:38:16 Removing intermediate container 94057c0f3215 10:38:16 ---> 574f268f0b13 10:38:16 Step 10/25 : COPY . . 10:38:17 ---> 77bbadbb336d 10:38:17 Step 11/25 : RUN ${MAKE} 10:38:17 ---> Running in 9089d5f9a2c1 10:38:18 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 10:40:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:40:25 Removing intermediate container 9089d5f9a2c1 10:40:25 ---> 39b08f03f6e4 10:40:25 Step 12/25 : FROM alpine:3.14 10:40:25 3.14: Pulling from library/alpine 10:40:25 455c02918c45: Pulling fs layer 10:40:25 455c02918c45: Verifying Checksum 10:40:25 455c02918c45: Download complete 10:40:26 455c02918c45: Pull complete 10:40:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:40:26 Status: Downloaded newer image for alpine:3.14 10:40:26 ---> ac73e934f311 10:40:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:40:26 ---> Running in 3fbb2127499e 10:40:26 Removing intermediate container 3fbb2127499e 10:40:26 ---> e63bf37e0277 10:40:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:40:26 ---> Running in 2d08e962926b 10:40:28 Removing intermediate container 2d08e962926b 10:40:28 ---> 56dd0e488e97 10:40:28 Step 15/25 : RUN apk add --update --no-cache zeromq 10:40:28 ---> Running in 1db02a431054 10:40:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:40:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:40:31 (1/5) Installing libgcc (10.3.1_git20210424-r2) 10:40:31 (2/5) Installing libsodium (1.0.18-r0) 10:40:31 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 10:40:31 (4/5) Installing libzmq (4.3.4-r0) 10:40:31 (5/5) Installing zeromq (4.3.4-r0) 10:40:31 Executing busybox-1.33.1-r7.trigger 10:40:31 OK: 8 MiB in 19 packages 10:40:32 Removing intermediate container 1db02a431054 10:40:32 ---> 63e76de7be39 10:40:32 Step 16/25 : WORKDIR / 10:40:32 ---> Running in 8b16424c07d4 10:40:33 Removing intermediate container 8b16424c07d4 10:40:33 ---> 12eaa708d629 10:40:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:40:33 ---> 2b751cba8263 10:40:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:40:35 ---> e0c53b5aeac5 10:40:35 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:40:35 ---> ecfbfc593c42 10:40:35 Step 20/25 : EXPOSE 59999 10:40:35 ---> Running in aca3d43c921f 10:40:35 Removing intermediate container aca3d43c921f 10:40:35 ---> b0a61a24abb8 10:40:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 10:40:35 ---> Running in 57533ecfdc80 10:40:36 Removing intermediate container 57533ecfdc80 10:40:36 ---> 17366b35c4ee 10:40:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:40:36 ---> Running in f5913b5afe3c 10:40:36 Removing intermediate container f5913b5afe3c 10:40:36 ---> 38ee02e75358 10:40:36 Step 23/25 : LABEL arch=arm64 10:40:36 ---> Running in 8efd3ddf45df 10:40:37 Removing intermediate container 8efd3ddf45df 10:40:37 ---> 0361b5d99657 10:40:37 Step 24/25 : LABEL git_sha=f9d12fc9f4633fcc2600c286baef40311e3f37fa 10:40:37 ---> Running in d9ad556a729f 10:40:37 Removing intermediate container d9ad556a729f 10:40:37 ---> 08a1de418985 10:40:37 Step 25/25 : LABEL version=0.0.0 10:40:37 ---> Running in 3554f2463164 10:40:37 Removing intermediate container 3554f2463164 10:40:37 ---> f46ac1914620 10:40:37 [Warning] One or more build-args [ARCH] were not consumed 10:40:37 Successfully built f46ac1914620 10:40:37 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 10:40:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:38 10:40:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:40:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:38 arm64: Pulling from edgex-lftools-log-publisher 10:40:38 8998bd30e6a1: Pulling fs layer 10:40:38 04944245beec: Pulling fs layer 10:40:38 699f458cf7ca: Pulling fs layer 10:40:38 765212b225bb: Pulling fs layer 10:40:38 f23df028b6ca: Pulling fs layer 10:40:38 d65c8cfc05b1: Pulling fs layer 10:40:38 2437ff75d9bd: Pulling fs layer 10:40:38 2437ff75d9bd: Waiting 10:40:38 f23df028b6ca: Waiting 10:40:38 d65c8cfc05b1: Waiting 10:40:38 765212b225bb: Waiting 10:40:38 04944245beec: Verifying Checksum 10:40:38 04944245beec: Download complete 10:40:38 765212b225bb: Download complete 10:40:38 f23df028b6ca: Download complete 10:40:38 d65c8cfc05b1: Verifying Checksum 10:40:38 d65c8cfc05b1: Download complete 10:40:39 699f458cf7ca: Verifying Checksum 10:40:39 699f458cf7ca: Download complete 10:40:39 8998bd30e6a1: Verifying Checksum 10:40:39 8998bd30e6a1: Download complete 10:40:42 2437ff75d9bd: Verifying Checksum 10:40:42 2437ff75d9bd: Download complete 10:40:44 8998bd30e6a1: Pull complete 10:40:44 04944245beec: Pull complete 10:40:45 699f458cf7ca: Pull complete 10:40:45 765212b225bb: Pull complete 10:40:46 f23df028b6ca: Pull complete 10:40:47 d65c8cfc05b1: Pull complete 10:41:02 2437ff75d9bd: Pull complete 10:41:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:41:02 prd-ubuntu20.04-docker-arm64-4c-16g-21775 does not seem to be running inside a container 10:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:41:05 $ docker top fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:06 ---> job-cost.sh 10:41:06 lf-activate-venv: SKIPPING 10:41:06 INFO: No Stack... 10:41:06 INFO: Retrieving Pricing Info for: v3-standard-4 10:41:07 INFO: Archiving Costs [Pipeline] sh 10:41:08 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 10:41:08 + cut -d, -f6 [Pipeline] lock 10:41:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] 10:41:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] did not exist. Created. 10:41:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:09 /w/workspace/device-sdk-go/3@tmp/durable-2a5fd0fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:41:09 + echo total: 0.10999999940395355 [Pipeline] stash 10:41:09 Warning: overwriting stash ‘stack-cost’ 10:41:09 Stashed 1 file(s) [Pipeline] } 10:41:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:09 $ docker stop --time=1 fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d 10:41:11 $ docker rm -f fbe3b73e0a0653e0ac1d6635dad445abd643aed6d7695d1def854bcf6291931d [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 10:41:11 provisioning config files... 10:41:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config4268414506282135431tmp [Pipeline] { [Pipeline] sh 10:41:12 + set +x 10:41:12 + curl -s https://codecov.io/bash 10:41:12 + bash -s -- 10:41:12 10:41:12 _____ _ 10:41:12 / ____| | | 10:41:12 | | ___ __| | ___ ___ _____ __ 10:41:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:41:12 | |___| (_) | (_| | __/ (_| (_) \ V / 10:41:12 \_____\___/ \__,_|\___|\___\___/ \_/ 10:41:12 Bash-1.0.6 10:41:12 10:41:12 10:41:12 ==> git version 2.25.1 found 10:41:12 ==> 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 10:41:12 Release-Date: 2020-01-08 10:41:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:41:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:41:12 ==> Jenkins CI detected. 10:41:12 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1146 10:41:12 project root: . 10:41:12 --> token set from env 10:41:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:41:12 ==> Running gcov in . (disable via -X gcov) 10:41:12 ==> Python coveragepy not found 10:41:12 ==> Searching for coverage reports in: 10:41:12 + . 10:41:12 -> Found 1 reports 10:41:12 ==> Detecting git/mercurial file structure 10:41:12 ==> Reading reports 10:41:12 + ./coverage.out bytes=130819 10:41:12 ==> Appending adjustments 10:41:12 https://docs.codecov.io/docs/fixing-reports 10:41:12 + Found adjustments 10:41:12 ==> Gzipping contents 10:41:12 20K /tmp/codecov.xKkGtH.gz 10:41:12 ==> Uploading reports 10:41:12 url: https://codecov.io 10:41:12 query: branch=PR-1146&commit=f9d12fc9f4633fcc2600c286baef40311e3f37fa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1146&job=&cmd_args= 10:41:12 -> Pinging Codecov 10:41:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1146&commit=f9d12fc9f4633fcc2600c286baef40311e3f37fa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1146%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1146&job=&cmd_args= 10:41:12 -> Uploading to 10:41:12 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/f9d12fc9f4633fcc2600c286baef40311e3f37fa/b807e77c-000e-42ae-a406-6ab63c6dee22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T104112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c88a55f2623674517c09f5be193198187d7f939a10f30b771bd99678f354b487 10:41:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:41:12 Dload Upload Total Spent Left Speed 10:41:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16850 0 0 100 16850 0 76244 --:--:-- --:--:-- --:--:-- 76244 10:41:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f9d12fc9f4633fcc2600c286baef40311e3f37fa [Pipeline] } 10:41:13 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 10:41:14 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives ] 10:41:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 10:41:14 total 16 10:41:14 drwxr-xr-x 3 root root 4096 Apr 22 10:30 . 10:41:14 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 10:30 .. 10:41:14 drwxr-xr-x 2 root root 4096 Apr 22 10:30 cost 10:41:14 -rw-r--r-- 1 root root 85 Apr 22 10:30 cost.csv 10:41:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 10:41:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 10:41:14 total 16 10:41:14 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 10:30 . 10:41:14 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 10:30 .. 10:41:14 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 10:30 cost 10:41:14 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:41:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:41:15 ---> package-listing.sh 10:41:15 ++ facter osfamily 10:41:15 ++ tr '[:upper:]' '[:lower:]' 10:41:15 + OS_FAMILY=debian 10:41:15 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1146 10:41:15 + START_PACKAGES=/tmp/packages_start.txt 10:41:15 + END_PACKAGES=/tmp/packages_end.txt 10:41:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:41:15 + PACKAGES=/tmp/packages_start.txt 10:41:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' 10:41:15 + PACKAGES=/tmp/packages_end.txt 10:41:15 + case "${OS_FAMILY}" in 10:41:15 + dpkg -l 10:41:15 + grep '^ii' 10:41:15 + '[' -f /tmp/packages_start.txt ']' 10:41:15 + '[' -f /tmp/packages_end.txt ']' 10:41:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:41:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' 10:41:15 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ 10:41:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ [Pipeline] echo 10:41:15 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-1146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:41:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:16 . [Pipeline] withDockerContainer 10:41:16 prd-ubuntu20.04-docker-8c-8g-21773 does not seem to be running inside a container 10:41:16 $ 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-1146/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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:41:16 $ docker top bbdc47e130bd435cb605eda6fe85b890bae2329c2d872fb93bb5702273f17f3f -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:16 + touch /tmp/pre-build-complete [Pipeline] sh 10:41:17 + mkdir -p /var/log/sysstat [Pipeline] sh 10:41:17 + ls /var/log/sa-host 10:41:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:17 provisioning config files... 10:41:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config6729770428821799565tmp [Pipeline] { [Pipeline] echo 10:41:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:41:18 ---> create-netrc.sh [Pipeline] } 10:41:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:41:18 ---> python-tools-install.sh [Pipeline] echo 10:41:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:41:18 ---> sudo-logs.sh 10:41:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:41:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:41:19 ---> job-cost.sh 10:41:19 lf-activate-venv: SKIPPING 10:41:19 DEBUG: total: 0.2199999988079071 10:41:19 INFO: Retrieving Stack Cost... 10:41:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:20 INFO: Archiving Costs [Pipeline] echo 10:41:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:41:20 ---> logs-deploy.sh 10:41:20 lf-activate-venv: SKIPPING 10:41:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1146/3 10:41:20 INFO: archiving workspace using pattern(s): 10:41:21 Archives upload complete. 10:41:21 INFO: archiving logs to Nexus