Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 854a1d02177849dfca254246521bbb7ea3bc181d+c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (3d5e0a0e52676452ce2783fe0d5897fb7ffe2e97) 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-ssh14980251399653990442.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-ssh17011848941093929014.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-1123/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-1123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15807733687335959851.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-ssh3185486728192855928.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-1123/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-1123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18048565879232032261.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20570’ Running on prd-ubuntu20.04-docker-8c-8g-20573 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [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-1123 # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d Merge succeeded, producing f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e Checking out Revision f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e (PR-1123) > 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/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e # timeout=10 Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:57 ========================================================= 22:44:57 EdgeX Global Pipelines Version Info 22:44:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0585fd7db716542023b240f973d745842ef6e787 # timeout=10 22:44:59 ------------------- 22:44:59 stable info: 22:44:59 ------------------- 22:44:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:44:59 Message: update stable to v1.0.221 22:44:59 ------------------- 22:44:59 experimental info: 22:44:59 ------------------- 22:44:59 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:44:59 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4d2296 [Pipeline] echo 22:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:00 provisioning config files... 22:45:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config2580000239784639682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:00 ---> docker-login.sh 22:45:00 nexus3.edgexfoundry.org:10001 22:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:00 Configure a credential helper to remove this warning. See 22:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:00 22:45:00 Login Succeeded 22:45:00 nexus3.edgexfoundry.org:10002 22:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:00 Configure a credential helper to remove this warning. See 22:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:00 22:45:00 Login Succeeded 22:45:00 nexus3.edgexfoundry.org:10003 22:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:00 Configure a credential helper to remove this warning. See 22:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:00 22:45:00 Login Succeeded 22:45:00 nexus3.edgexfoundry.org:10004 22:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:01 Configure a credential helper to remove this warning. See 22:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:01 22:45:01 Login Succeeded 22:45:01 docker.io 22:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:01 Configure a credential helper to remove this warning. See 22:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:01 22:45:01 Login Succeeded 22:45:01 ---> docker-login.sh ends [Pipeline] } 22:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:45:01 + git rev-list -1 --merges f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e~1..f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [Pipeline] echo 22:45:01 -----------> git rev-list -1 --merges f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e~1..f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e 22:45:01 f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [false] [Pipeline] sh 22:45:02 + git log --format=format:%s -1 f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [Pipeline] echo 22:45:02 ========================================================= 22:45:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:45:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:02 + git log --format=format:%s -1 f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [Pipeline] echo 22:45:02 [semverPrep] GIT_COMMIT: f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e, Commit Message: Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD [Pipeline] echo 22:45:02 [semverPrep] This is not a build commit. [Pipeline] sh 22:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:45:02 + grep -v github /etc/ssh/ssh_known_hosts 22:45:02 + [ -e /tmp/ssh_known_hosts ] 22:45:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:45:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:45:02 + sudo tee -a /etc/ssh/ssh_known_hosts 22:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:03 22:45:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:45:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:03 latest: Pulling from edgex-devops/git-semver 22:45:03 a0d0a0d46f8b: Pulling fs layer 22:45:03 3e5f54012d9b: Pulling fs layer 22:45:03 4c7163046ea9: Pulling fs layer 22:45:03 0c2d73faf560: Pulling fs layer 22:45:03 0c2d73faf560: Waiting 22:45:03 3e5f54012d9b: Verifying Checksum 22:45:03 3e5f54012d9b: Download complete 22:45:03 a0d0a0d46f8b: Download complete 22:45:03 0c2d73faf560: Verifying Checksum 22:45:03 0c2d73faf560: Download complete 22:45:03 4c7163046ea9: Verifying Checksum 22:45:03 4c7163046ea9: Download complete 22:45:03 a0d0a0d46f8b: Pull complete 22:45:03 3e5f54012d9b: Pull complete 22:45:04 4c7163046ea9: Pull complete 22:45:04 0c2d73faf560: Pull complete 22:45:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:45:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:45:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:45:04 prd-ubuntu20.04-docker-8c-8g-20573 does not seem to be running inside a container 22:45:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:45:05 $ docker top 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:05 [ssh-agent] Looking for ssh-agent implementation... 22:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:05 $ docker exec 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 ssh-agent 22:45:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeAmJch/agent.14 22:45:05 SSH_AGENT_PID=21 22:45:05 Running ssh-add (command line suppressed) 22:45:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_6851375196547812747.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_6851375196547812747.key) 22:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:05 + git tag --points-at HEAD [Pipeline] } 22:45:05 $ docker exec --env ******** --env ******** 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 ssh-agent -k 22:45:06 unset SSH_AUTH_SOCK; 22:45:06 unset SSH_AGENT_PID; 22:45:06 echo Agent pid 21 killed; 22:45:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:45:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:06 [ssh-agent] Looking for ssh-agent implementation... 22:45:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:06 $ docker exec 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 ssh-agent 22:45:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOEPGKf/agent.53 22:45:06 SSH_AGENT_PID=60 22:45:06 Running ssh-add (command line suppressed) 22:45:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_8495318612446884030.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_8495318612446884030.key) 22:45:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:06 + git semver init 22:45:06 # -> Open(): unable to determine branch for HEAD 22:45:06 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git 22:45:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 22:45:06 # $SEMVER_REMOTE_NAME = origin 22:45:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:45:06 # $SEMVER_USER_NAME = edgex-jenkins 22:45:06 # $SEMVER_BRANCH = PR-1123 22:45:06 # $SEMVER_TEMP = /tmp/semver-085014489 22:45:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:45:07 # '/tmp/semver-085014489' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' 22:45:07 # -> Force: false 22:45:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } 22:45:07 $ docker exec --env ******** --env ******** 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 ssh-agent -k 22:45:07 unset SSH_AUTH_SOCK; 22:45:07 unset SSH_AGENT_PID; 22:45:07 echo Agent pid 60 killed; 22:45:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:08 + git semver [Pipeline] } 22:45:08 $ docker stop --time=1 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 22:45:09 $ docker rm -f 1af6e760dbc739801fdfac4cd56767b17fbb1c3000efa3e16270bc6ec05ab355 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:45:10 Stashed 1 file(s) [Pipeline] echo 22:45:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:10 provisioning config files... 22:45:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config7816381732574262946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:10 ---> docker-login.sh 22:45:10 nexus3.edgexfoundry.org:10001 22:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:10 Configure a credential helper to remove this warning. See 22:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:10 22:45:10 Login Succeeded 22:45:10 nexus3.edgexfoundry.org:10002 22:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:10 Configure a credential helper to remove this warning. See 22:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:10 22:45:10 Login Succeeded 22:45:10 nexus3.edgexfoundry.org:10003 22:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:10 Configure a credential helper to remove this warning. See 22:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:10 22:45:10 Login Succeeded 22:45:10 nexus3.edgexfoundry.org:10004 22:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:10 Configure a credential helper to remove this warning. See 22:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:10 22:45:10 Login Succeeded 22:45:10 docker.io 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 ---> docker-login.sh ends [Pipeline] } 22:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:11 ========================================================= 22:45:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:45:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:45:11 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:45:11 Sending build context to Docker daemon 9.583MB 22:45:11 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:45:11 Step 2/11 : FROM ${BASE} AS builder 22:45:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:11 59bf1c3509f3: Pulling fs layer 22:45:11 666ba61612fd: Pulling fs layer 22:45:11 8ed8ca486205: Pulling fs layer 22:45:11 4fe6c5a15a65: Pulling fs layer 22:45:11 22a0e8bec74d: Pulling fs layer 22:45:11 640e595b4fbd: Pulling fs layer 22:45:11 763cafe07f6e: Pulling fs layer 22:45:11 0c0b528cf693: Pulling fs layer 22:45:11 10935f4eaf8b: Pulling fs layer 22:45:11 4fe6c5a15a65: Waiting 22:45:11 22a0e8bec74d: Waiting 22:45:11 640e595b4fbd: Waiting 22:45:11 763cafe07f6e: Waiting 22:45:11 0c0b528cf693: Waiting 22:45:11 10935f4eaf8b: Waiting 22:45:12 8ed8ca486205: Verifying Checksum 22:45:12 8ed8ca486205: Download complete 22:45:12 666ba61612fd: Verifying Checksum 22:45:12 666ba61612fd: Download complete 22:45:12 22a0e8bec74d: Verifying Checksum 22:45:12 22a0e8bec74d: Download complete 22:45:12 640e595b4fbd: Verifying Checksum 22:45:12 640e595b4fbd: Download complete 22:45:12 59bf1c3509f3: Verifying Checksum 22:45:12 59bf1c3509f3: Download complete 22:45:12 763cafe07f6e: Verifying Checksum 22:45:12 763cafe07f6e: Download complete 22:45:12 0c0b528cf693: Verifying Checksum 22:45:12 0c0b528cf693: Download complete 22:45:12 59bf1c3509f3: Pull complete 22:45:12 666ba61612fd: Pull complete 22:45:12 8ed8ca486205: Pull complete 22:45:12 10935f4eaf8b: Verifying Checksum 22:45:12 10935f4eaf8b: Download complete 22:45:12 4fe6c5a15a65: Download complete 22:45:16 4fe6c5a15a65: Pull complete 22:45:16 22a0e8bec74d: Pull complete 22:45:16 640e595b4fbd: Pull complete 22:45:16 763cafe07f6e: Pull complete 22:45:16 0c0b528cf693: Pull complete 22:45:18 10935f4eaf8b: Pull complete 22:45:18 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:45:18 ---> 99d49a6021b9 22:45:18 Step 3/11 : ARG MAKE=make build 22:45:20 ---> Running in 842a26befe49 22:45:20 Removing intermediate container 842a26befe49 22:45:20 ---> 5aba10ddbbd5 22:45:20 Step 4/11 : WORKDIR /device-sdk-go 22:45:20 ---> Running in 703514b61eac 22:45:20 Removing intermediate container 703514b61eac 22:45:20 ---> 6b57691dd585 22:45:20 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:20 ---> Running in 5e1947fd12c0 22:45:20 Removing intermediate container 5e1947fd12c0 22:45:20 ---> 7b2a936b3d27 22:45:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:20 ---> Running in 0a12a92c9dcb 22:45:20 Removing intermediate container 0a12a92c9dcb 22:45:20 ---> f4dae3d2350f 22:45:20 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:45:20 ---> Running in 7c76622cf6aa 22:45:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:45:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:45:22 OK: 221 MiB in 52 packages 22:45:22 Removing intermediate container 7c76622cf6aa 22:45:22 ---> d287c903691a 22:45:22 Step 8/11 : COPY go.mod vendor* ./ 22:45:22 ---> dba65a2a51a2 22:45:22 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:22 ---> Running in 321473e4b048 22:45:25 Still waiting to schedule task 22:45:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20572’ 22:45:35 Removing intermediate container 321473e4b048 22:45:35 ---> 46c815628ce3 22:45:35 Step 10/11 : COPY . . 22:45:35 ---> 3967de32533d 22:45:35 Step 11/11 : RUN ${MAKE} 22:45:35 ---> Running in 18aea130fca8 22:45:35 noop 22:45:36 Removing intermediate container 18aea130fca8 22:45:36 ---> ae571e15e07c 22:45:36 Successfully built ae571e15e07c 22:45:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:45:36 + docker inspect -f . ci-base-image-x86_64 22:45:36 . [Pipeline] withDockerContainer 22:45:36 prd-ubuntu20.04-docker-8c-8g-20573 does not seem to be running inside a container 22:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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 ******** ci-base-image-x86_64 cat 22:45:36 $ docker top 061e5e538fac4b827ec3363896d9091367cf735edbd98781addeed9fa2e1b5d0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:37 + go version 22:45:37 go version go1.17.6 linux/amd64 [Pipeline] } 22:45:37 $ docker stop --time=1 061e5e538fac4b827ec3363896d9091367cf735edbd98781addeed9fa2e1b5d0 22:45:38 $ docker rm -f 061e5e538fac4b827ec3363896d9091367cf735edbd98781addeed9fa2e1b5d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:38 + docker inspect -f . ci-base-image-x86_64 22:45:38 . [Pipeline] withDockerContainer 22:45:39 prd-ubuntu20.04-docker-8c-8g-20573 does not seem to be running inside a container 22:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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 ******** ci-base-image-x86_64 cat 22:45:39 $ docker top 6f5f98cbfd9bcb96e45def047f2f2aa1f658e416621d4a027b7ad08be5a52869 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:45:39 + make test 22:45:39 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:45:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:45:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.016s coverage: 23.3% of statements 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:45:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.010s coverage: 27.6% of statements 22:45:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.027s coverage: 78.9% of statements 22:45:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 10.8% of statements 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:45:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.011s coverage: 33.2% of statements 22:45:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.016s coverage: 86.1% of statements 22:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.042s coverage: 57.4% of statements 22:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.039s coverage: 89.2% of statements 22:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.019s coverage: 4.8% of statements 22:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:45:58 GO111MODULE=on go vet ./... 22:46:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:02 ./bin/test-attribution-txt.sh [Pipeline] echo 22:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:46:02 $ docker stop --time=1 6f5f98cbfd9bcb96e45def047f2f2aa1f658e416621d4a027b7ad08be5a52869 22:46:04 $ docker rm -f 6f5f98cbfd9bcb96e45def047f2f2aa1f658e416621d4a027b7ad08be5a52869 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:05 + ls -al . 22:46:05 total 316 22:46:05 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 22:46 . 22:46:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:44 .. 22:46:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:44 .dockerignore 22:46:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:44 .git 22:46:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:44 .github 22:46:05 -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:44 .gitignore 22:46:05 -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:44 .golangci.yml 22:46:05 drwx------ 3 jenkins jenkins 4096 Apr 11 22:45 .semver 22:46:05 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:44 CHANGELOG.md 22:46:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:44 GOVERNANCE.md 22:46:05 -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:44 Jenkinsfile 22:46:05 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:44 LICENSE 22:46:05 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:44 Makefile 22:46:05 -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:44 OWNERS.md 22:46:05 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:44 README.md 22:46:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:45 VERSION 22:46:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:44 bin 22:46:05 -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:45 coverage.out 22:46:05 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:44 example 22:46:05 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 11 22:44 go.mod 22:46:05 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 11 22:44 go.sum 22:46:05 drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:44 internal 22:46:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:44 openapi 22:46:05 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:44 pkg 22:46:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:44 snap 22:46:05 -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:46:05 + 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=f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e --label arch=amd64 --label version=0.0.0 . 22:46:05 Sending build context to Docker daemon 9.713MB 22:46:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:46:05 Step 2/25 : FROM ${BASE} AS builder 22:46:05 ---> ae571e15e07c 22:46:05 Step 3/25 : ARG MAKE=make build 22:46:06 ---> Running in 7c7caf773d89 22:46:06 Removing intermediate container 7c7caf773d89 22:46:06 ---> 27002f86a566 22:46:06 Step 4/25 : WORKDIR /device-sdk-go 22:46:06 ---> Running in 9a61e711600d 22:46:06 Removing intermediate container 9a61e711600d 22:46:06 ---> 2dd192f9043e 22:46:06 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:06 ---> Running in 6c94379d62fe 22:46:06 Removing intermediate container 6c94379d62fe 22:46:06 ---> 17c02ba847c2 22:46:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:06 ---> Running in f5ed5a3421d6 22:46:07 Removing intermediate container f5ed5a3421d6 22:46:07 ---> 288ddbf755c8 22:46:07 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:07 ---> Running in a60f03976214 22:46:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:46:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:46:08 OK: 221 MiB in 52 packages 22:46:08 Removing intermediate container a60f03976214 22:46:08 ---> 444b7cde110d 22:46:08 Step 8/25 : COPY go.mod vendor* ./ 22:46:09 ---> f821024fabd8 22:46:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:09 ---> Running in 11bea1d168aa 22:46:09 Removing intermediate container 11bea1d168aa 22:46:09 ---> 815e5d59fa5c 22:46:09 Step 10/25 : COPY . . 22:46:10 ---> 7111ecba591d 22:46:10 Step 11/25 : RUN ${MAKE} 22:46:10 ---> Running in 4e79bb6b6c17 22:46:10 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 22:46:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:46:29 Removing intermediate container 4e79bb6b6c17 22:46:29 ---> 47801718fba6 22:46:29 Step 12/25 : FROM alpine:3.14 22:46:29 3.14: Pulling from library/alpine 22:46:29 8663204ce13b: Pulling fs layer 22:46:29 8663204ce13b: Verifying Checksum 22:46:29 8663204ce13b: Download complete 22:46:30 8663204ce13b: Pull complete 22:46:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:46:30 Status: Downloaded newer image for alpine:3.14 22:46:30 ---> e04c818066af 22:46:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:30 ---> Running in cb7d4c8ea2c4 22:46:30 Removing intermediate container cb7d4c8ea2c4 22:46:30 ---> c53079483822 22:46:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:30 ---> Running in 3164b4b83069 22:46:31 Removing intermediate container 3164b4b83069 22:46:31 ---> d4ff0b53f4ed 22:46:31 Step 15/25 : RUN apk add --update --no-cache zeromq 22:46:31 ---> Running in c37bd3e18a94 22:46:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:46:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:46:32 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:46:32 (2/5) Installing libsodium (1.0.18-r0) 22:46:32 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:46:32 (4/5) Installing libzmq (4.3.4-r0) 22:46:32 (5/5) Installing zeromq (4.3.4-r0) 22:46:32 Executing busybox-1.33.1-r7.trigger 22:46:32 OK: 8 MiB in 19 packages 22:46:33 Removing intermediate container c37bd3e18a94 22:46:33 ---> fd6b1d8082e4 22:46:33 Step 16/25 : WORKDIR / 22:46:33 ---> Running in 28afa44b1c9a 22:46:33 Removing intermediate container 28afa44b1c9a 22:46:33 ---> 7cb2e74d94c1 22:46:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:46:33 ---> 34ab7ed3ba84 22:46:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:46:34 ---> 2fbb0651147b 22:46:34 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:46:34 ---> 779d6e80a687 22:46:34 Step 20/25 : EXPOSE 59999 22:46:34 ---> Running in fc949a28c2ca 22:46:34 Removing intermediate container fc949a28c2ca 22:46:34 ---> 8e1cb8af3376 22:46:34 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:46:34 ---> Running in e85d3f14599c 22:46:34 Removing intermediate container e85d3f14599c 22:46:34 ---> ade4083e2751 22:46:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:46:34 ---> Running in 11c8185b48b4 22:46:34 Removing intermediate container 11c8185b48b4 22:46:34 ---> 807c99c63f4c 22:46:34 Step 23/25 : LABEL arch=amd64 22:46:34 ---> Running in fd93399d0e4c 22:46:34 Removing intermediate container fd93399d0e4c 22:46:34 ---> 3f6d8ee1d463 22:46:34 Step 24/25 : LABEL git_sha=f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e 22:46:34 ---> Running in 26996bc0a08b 22:46:34 Removing intermediate container 26996bc0a08b 22:46:34 ---> c18e9b0ff344 22:46:34 Step 25/25 : LABEL version=0.0.0 22:46:34 ---> Running in 238dec8e042a 22:46:34 Removing intermediate container 238dec8e042a 22:46:34 ---> aae00202441f 22:46:34 [Warning] One or more build-args [ARCH] were not consumed 22:46:34 Successfully built aae00202441f 22:46:34 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:35 22:46:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:46:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:35 latest: Pulling from edgex-lftools-log-publisher 22:46:35 5eb5b503b376: Pulling fs layer 22:46:35 5c69ac0246d0: Pulling fs layer 22:46:35 ec43610c2a17: Pulling fs layer 22:46:35 3a2ae6a8a46f: Pulling fs layer 22:46:35 33b1e0a273af: Pulling fs layer 22:46:35 5d3b04190fa2: Pulling fs layer 22:46:35 2f39f015ded8: Pulling fs layer 22:46:35 2f39f015ded8: Waiting 22:46:35 33b1e0a273af: Waiting 22:46:35 3a2ae6a8a46f: Waiting 22:46:35 5d3b04190fa2: Waiting 22:46:35 5c69ac0246d0: Verifying Checksum 22:46:35 5c69ac0246d0: Download complete 22:46:35 3a2ae6a8a46f: Verifying Checksum 22:46:35 3a2ae6a8a46f: Download complete 22:46:35 33b1e0a273af: Verifying Checksum 22:46:35 33b1e0a273af: Download complete 22:46:35 5d3b04190fa2: Verifying Checksum 22:46:35 5d3b04190fa2: Download complete 22:46:35 ec43610c2a17: Verifying Checksum 22:46:35 ec43610c2a17: Download complete 22:46:35 5eb5b503b376: Verifying Checksum 22:46:35 5eb5b503b376: Download complete 22:46:36 2f39f015ded8: Download complete 22:46:37 5eb5b503b376: Pull complete 22:46:37 5c69ac0246d0: Pull complete 22:46:37 ec43610c2a17: Pull complete 22:46:37 3a2ae6a8a46f: Pull complete 22:46:37 33b1e0a273af: Pull complete 22:46:38 5d3b04190fa2: Pull complete 22:46:43 2f39f015ded8: Pull complete 22:46:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:46:43 prd-ubuntu20.04-docker-8c-8g-20573 does not seem to be running inside a container 22:46:43 $ 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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:45 $ docker top 7c001c474d7a0ac581feca02940dd6ec4b017c5baca94b3f5a62fbcd2cb3411c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:45 ---> job-cost.sh 22:46:45 lf-activate-venv: SKIPPING 22:46:45 INFO: No Stack... 22:46:46 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:46 INFO: Archiving Costs [Pipeline] sh 22:46:46 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv 22:46:46 + cut -d, -f6 [Pipeline] lock 22:46:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] 22:46:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] did not exist. Created. 22:46:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:47 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:47 Stashed 1 file(s) [Pipeline] } 22:46:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:47 $ docker stop --time=1 7c001c474d7a0ac581feca02940dd6ec4b017c5baca94b3f5a62fbcd2cb3411c 22:46:48 $ docker rm -f 7c001c474d7a0ac581feca02940dd6ec4b017c5baca94b3f5a62fbcd2cb3411c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20575 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws 22:48:52 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:48:52 The recommended git tool is: git 22:49:00 using credential edgex-jenkins-ssh 22:49:00 Cloning the remote Git repository 22:49:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:49:00 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:49:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:49:00 > git --version # timeout=10 22:49:00 > git --version # 'git version 2.25.1' 22:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:49:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:49:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:49:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:49:03 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d 22:49:04 Merge succeeded, producing 3325adb14315d6a270dca8262662c3c97c14334c 22:49:04 Checking out Revision 3325adb14315d6a270dca8262662c3c97c14334c (PR-1123) 22:49:03 > git config core.sparsecheckout # timeout=10 22:49:03 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 22:49:03 > git remote # timeout=10 22:49:03 > git config --get remote.origin.url # timeout=10 22:49:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:03 > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 22:49:03 > git rev-parse HEAD^{commit} # timeout=10 22:49:04 > git config core.sparsecheckout # timeout=10 22:49:04 > git checkout -f 3325adb14315d6a270dca8262662c3c97c14334c # timeout=10 22:49:08 Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" 22:49:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:08 > git rev-list --no-walk 0585fd7db716542023b240f973d745842ef6e787 # timeout=10 22:49:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:49:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:09 Dload Upload Total Spent Left Speed 22:49:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48142 0 --:--:-- --:--:-- --:--:-- 48338 [Pipeline] sh 22:49:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:49:10 + sudo tee /etc/docker/daemon.new 22:49:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:49:10 { 22:49:10 "registry-mirrors": [ 22:49:10 "https://nexus3.edgexfoundry.org:10001" 22:49:10 ], 22:49:10 "bip": "10.250.0.254/24", 22:49:10 "hosts": [ 22:49:10 "tcp://0.0.0.0:5555", 22:49:10 "unix:///var/run/docker.sock" 22:49:10 ], 22:49:10 "mtu": 1458, 22:49:10 "selinux-enabled": true, 22:49:10 "seccomp-profile": "/etc/docker/seccomp.json" 22:49:10 } [Pipeline] sh 22:49:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:49:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:29 provisioning config files... 22:49:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4651769738243479506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:30 ---> docker-login.sh 22:49:30 nexus3.edgexfoundry.org:10001 22:49:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:30 Configure a credential helper to remove this warning. See 22:49:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:30 22:49:30 Login Succeeded 22:49:31 nexus3.edgexfoundry.org:10002 22:49:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:31 Configure a credential helper to remove this warning. See 22:49:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:31 22:49:31 Login Succeeded 22:49:31 nexus3.edgexfoundry.org:10003 22:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:32 Configure a credential helper to remove this warning. See 22:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:32 22:49:32 Login Succeeded 22:49:32 nexus3.edgexfoundry.org:10004 22:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:32 Configure a credential helper to remove this warning. See 22:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:32 22:49:32 Login Succeeded 22:49:32 docker.io 22:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:33 Configure a credential helper to remove this warning. See 22:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:33 22:49:33 Login Succeeded 22:49:33 ---> docker-login.sh ends [Pipeline] } 22:49:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:49:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:33 ========================================================= 22:49:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:49:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:49:34 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:49:34 Sending build context to Docker daemon 5.166MB 22:49:34 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:49:34 Step 2/11 : FROM ${BASE} AS builder 22:49:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:49:34 9b3977197b4f: Pulling fs layer 22:49:34 1a89e8eeedd5: Pulling fs layer 22:49:34 94645a83ff95: Pulling fs layer 22:49:34 3f3a8bcf1eab: Pulling fs layer 22:49:34 0c92f367c5e7: Pulling fs layer 22:49:34 f7c0051592d6: Pulling fs layer 22:49:34 3f3a8bcf1eab: Waiting 22:49:34 0c92f367c5e7: Waiting 22:49:34 a227ed2f7395: Pulling fs layer 22:49:34 7b1c46037f91: Pulling fs layer 22:49:34 f7c0051592d6: Waiting 22:49:34 a227ed2f7395: Waiting 22:49:34 7b1c46037f91: Waiting 22:49:34 94645a83ff95: Verifying Checksum 22:49:34 94645a83ff95: Download complete 22:49:34 1a89e8eeedd5: Verifying Checksum 22:49:34 1a89e8eeedd5: Download complete 22:49:35 0c92f367c5e7: Verifying Checksum 22:49:35 0c92f367c5e7: Download complete 22:49:35 f7c0051592d6: Verifying Checksum 22:49:35 f7c0051592d6: Download complete 22:49:35 9b3977197b4f: Verifying Checksum 22:49:35 9b3977197b4f: Download complete 22:49:35 a227ed2f7395: Verifying Checksum 22:49:35 a227ed2f7395: Download complete 22:49:35 9b3977197b4f: Pull complete 22:49:36 1a89e8eeedd5: Pull complete 22:49:36 94645a83ff95: Pull complete 22:49:37 7b1c46037f91: Verifying Checksum 22:49:37 7b1c46037f91: Download complete 22:49:37 3f3a8bcf1eab: Verifying Checksum 22:49:37 3f3a8bcf1eab: Download complete 22:49:50 3f3a8bcf1eab: Pull complete 22:49:50 0c92f367c5e7: Pull complete 22:49:50 f7c0051592d6: Pull complete 22:49:50 a227ed2f7395: Pull complete 22:49:57 7b1c46037f91: Pull complete 22:49:57 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:49:57 ---> f79e39bc4007 22:49:57 Step 3/11 : ARG MAKE=make build 22:49:58 ---> Running in b3061bf99837 22:49:58 Removing intermediate container b3061bf99837 22:49:58 ---> 0a278966f8ba 22:49:58 Step 4/11 : WORKDIR /device-sdk-go 22:49:58 ---> Running in fe208c18e5a7 22:49:58 Removing intermediate container fe208c18e5a7 22:49:58 ---> d0fb54c974bb 22:49:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:58 ---> Running in 3a08fa5078bd 22:49:59 Removing intermediate container 3a08fa5078bd 22:49:59 ---> 466151388f5f 22:49:59 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:59 ---> Running in 7386fe3f4829 22:50:01 Removing intermediate container 7386fe3f4829 22:50:01 ---> a7b9bc05569e 22:50:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:50:01 ---> Running in bd2c655485d3 22:50:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:50:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:50:03 OK: 220 MiB in 52 packages 22:50:04 Removing intermediate container bd2c655485d3 22:50:04 ---> 92dcd611857e 22:50:04 Step 8/11 : COPY go.mod vendor* ./ 22:50:05 ---> 8e6c94cd644e 22:50:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:05 ---> Running in 22ee9e1f0c83 22:50:52 Removing intermediate container 22ee9e1f0c83 22:50:52 ---> 8b15e7f2c26f 22:50:52 Step 10/11 : COPY . . 22:50:52 ---> b74cc174c767 22:50:52 Step 11/11 : RUN ${MAKE} 22:50:52 ---> Running in 86875b9a6695 22:50:53 noop 22:50:53 Removing intermediate container 86875b9a6695 22:50:53 ---> ccfbb6cc054f 22:50:53 Successfully built ccfbb6cc054f 22:50:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:50:53 + docker inspect -f . ci-base-image-arm64 22:50:53 . [Pipeline] withDockerContainer 22:50:54 prd-ubuntu20.04-docker-arm64-4c-16g-20575 does not seem to be running inside a container 22:50:54 $ 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 ******** ci-base-image-arm64 cat 22:50:55 $ docker top e1f7824ade5adb027f5e3416d74b54ba546422a068c919460baf3c2492afe3e1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:56 + go version 22:50:56 go version go1.17.6 linux/arm64 [Pipeline] } 22:50:56 $ docker stop --time=1 e1f7824ade5adb027f5e3416d74b54ba546422a068c919460baf3c2492afe3e1 22:50:58 $ docker rm -f e1f7824ade5adb027f5e3416d74b54ba546422a068c919460baf3c2492afe3e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:58 + docker inspect -f . ci-base-image-arm64 22:50:58 . [Pipeline] withDockerContainer 22:50:59 prd-ubuntu20.04-docker-arm64-4c-16g-20575 does not seem to be running inside a container 22:50:59 $ 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 ******** ci-base-image-arm64 cat 22:51:00 $ docker top d454f14e05dc15c32f20a494941282be2df2938414a9013e9455ef1f630f46a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:51:01 + make test 22:51:01 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:51:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:52:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.146s coverage: 23.3% of statements 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:52:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.159s coverage: 27.6% of statements 22:52:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.068s coverage: 78.9% of statements 22:52:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 10.8% of statements 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:52:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:52:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.116s coverage: 33.2% of statements 22:52:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:52:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.124s coverage: 86.1% of statements 22:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:52:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 57.4% of statements 22:52:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.232s coverage: 89.2% of statements 22:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:52:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.8% of statements 22:52:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:52:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:52:34 GO111MODULE=on go vet ./... 22:53:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:53:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:53:01 ./bin/test-attribution-txt.sh [Pipeline] echo 22:53:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:53:04 $ docker stop --time=1 d454f14e05dc15c32f20a494941282be2df2938414a9013e9455ef1f630f46a7 22:53:05 $ docker rm -f d454f14e05dc15c32f20a494941282be2df2938414a9013e9455ef1f630f46a7 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:53:06 Warning: overwriting stash ‘coverage-report’ 22:53:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:53:08 + ls -al . 22:53:08 total 312 22:53:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 22:53 . 22:53:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:49 .. 22:53:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:49 .dockerignore 22:53:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:49 .git 22:53:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:49 .github 22:53:08 -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:49 .gitignore 22:53:08 -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:49 .golangci.yml 22:53:08 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:49 CHANGELOG.md 22:53:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:49 GOVERNANCE.md 22:53:08 -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:49 Jenkinsfile 22:53:08 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:49 LICENSE 22:53:08 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:49 Makefile 22:53:08 -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:49 OWNERS.md 22:53:08 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:49 README.md 22:53:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:45 VERSION 22:53:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:49 bin 22:53:08 -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:52 coverage.out 22:53:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:49 example 22:53:08 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 11 22:49 go.mod 22:53:08 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 11 22:49 go.sum 22:53:08 drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:49 internal 22:53:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:49 openapi 22:53:08 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:49 pkg 22:53:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:49 snap 22:53:08 -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:49 version.go [Pipeline] isUnix [Pipeline] sh 22:53:08 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3325adb14315d6a270dca8262662c3c97c14334c --label arch=arm64 --label version=0.0.0 . 22:53:08 Sending build context to Docker daemon 5.296MB 22:53:08 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:53:08 Step 2/25 : FROM ${BASE} AS builder 22:53:08 ---> ccfbb6cc054f 22:53:08 Step 3/25 : ARG MAKE=make build 22:53:08 ---> Running in 5d61e712d00d 22:53:09 Removing intermediate container 5d61e712d00d 22:53:09 ---> d473f3f4479a 22:53:09 Step 4/25 : WORKDIR /device-sdk-go 22:53:09 ---> Running in cd65f3290b83 22:53:09 Removing intermediate container cd65f3290b83 22:53:09 ---> bf1d9edf4aac 22:53:09 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:53:09 ---> Running in 6835584631c0 22:53:10 Removing intermediate container 6835584631c0 22:53:10 ---> bf65255e7001 22:53:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:10 ---> Running in 88686752c416 22:53:12 Removing intermediate container 88686752c416 22:53:12 ---> 33867e0274e6 22:53:12 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:53:12 ---> Running in 825a83ec8e10 22:53:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:53:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:53:14 OK: 220 MiB in 52 packages 22:53:15 Removing intermediate container 825a83ec8e10 22:53:15 ---> deb9efdcacdb 22:53:15 Step 8/25 : COPY go.mod vendor* ./ 22:53:15 ---> aa344fa50062 22:53:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:53:15 ---> Running in 8ca2857d09e7 22:53:17 Removing intermediate container 8ca2857d09e7 22:53:17 ---> 89f92f2f081c 22:53:17 Step 10/25 : COPY . . 22:53:18 ---> ad4e7f801b8e 22:53:18 Step 11/25 : RUN ${MAKE} 22:53:19 ---> Running in c062b0d3adb5 22:53:20 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 22:55:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:55:26 Removing intermediate container c062b0d3adb5 22:55:26 ---> f531e3734249 22:55:26 Step 12/25 : FROM alpine:3.14 22:55:26 3.14: Pulling from library/alpine 22:55:26 455c02918c45: Pulling fs layer 22:55:26 455c02918c45: Verifying Checksum 22:55:26 455c02918c45: Download complete 22:55:26 455c02918c45: Pull complete 22:55:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:55:26 Status: Downloaded newer image for alpine:3.14 22:55:26 ---> ac73e934f311 22:55:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:55:26 ---> Running in cdd82dd3b11e 22:55:26 Removing intermediate container cdd82dd3b11e 22:55:26 ---> 30003d2a7158 22:55:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:26 ---> Running in fb4c65409f79 22:55:26 Removing intermediate container fb4c65409f79 22:55:26 ---> 17c216790fd3 22:55:26 Step 15/25 : RUN apk add --update --no-cache zeromq 22:55:26 ---> Running in 71bea4d699c0 22:55:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:55:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:55:28 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:55:28 (2/5) Installing libsodium (1.0.18-r0) 22:55:28 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:55:28 (4/5) Installing libzmq (4.3.4-r0) 22:55:28 (5/5) Installing zeromq (4.3.4-r0) 22:55:28 Executing busybox-1.33.1-r7.trigger 22:55:28 OK: 8 MiB in 19 packages 22:55:29 Removing intermediate container 71bea4d699c0 22:55:29 ---> ec982c6c3563 22:55:29 Step 16/25 : WORKDIR / 22:55:29 ---> Running in b167831091bd 22:55:30 Removing intermediate container b167831091bd 22:55:30 ---> 77e112ed3743 22:55:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:55:30 ---> caad995adc42 22:55:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:55:32 ---> 2bbf6b776889 22:55:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:55:32 ---> 2c6a6b07c649 22:55:32 Step 20/25 : EXPOSE 59999 22:55:32 ---> Running in 1b646ab289b3 22:55:33 Removing intermediate container 1b646ab289b3 22:55:33 ---> a6a76ea27e59 22:55:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:55:33 ---> Running in 26fbab9eb0a4 22:55:33 Removing intermediate container 26fbab9eb0a4 22:55:33 ---> ae2ff6eebcd8 22:55:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:55:33 ---> Running in 28ee6ff564ed 22:55:33 Removing intermediate container 28ee6ff564ed 22:55:33 ---> b280a750c421 22:55:33 Step 23/25 : LABEL arch=arm64 22:55:33 ---> Running in 3f09fa5284e9 22:55:34 Removing intermediate container 3f09fa5284e9 22:55:34 ---> 6d706b5dc7e9 22:55:34 Step 24/25 : LABEL git_sha=3325adb14315d6a270dca8262662c3c97c14334c 22:55:34 ---> Running in 44b80bfe2555 22:55:34 Removing intermediate container 44b80bfe2555 22:55:34 ---> 6981bcea2cf2 22:55:34 Step 25/25 : LABEL version=0.0.0 22:55:34 ---> Running in dccd39078f6e 22:55:35 Removing intermediate container dccd39078f6e 22:55:35 ---> 9329b67a9a3e 22:55:35 [Warning] One or more build-args [ARCH] were not consumed 22:55:35 Successfully built 9329b67a9a3e 22:55:35 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 22:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:35 22:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:36 arm64: Pulling from edgex-lftools-log-publisher 22:55:36 8998bd30e6a1: Pulling fs layer 22:55:36 04944245beec: Pulling fs layer 22:55:36 699f458cf7ca: Pulling fs layer 22:55:36 765212b225bb: Pulling fs layer 22:55:36 f23df028b6ca: Pulling fs layer 22:55:36 d65c8cfc05b1: Pulling fs layer 22:55:36 2437ff75d9bd: Pulling fs layer 22:55:36 765212b225bb: Waiting 22:55:36 f23df028b6ca: Waiting 22:55:36 d65c8cfc05b1: Waiting 22:55:36 2437ff75d9bd: Waiting 22:55:36 04944245beec: Verifying Checksum 22:55:36 04944245beec: Download complete 22:55:36 765212b225bb: Verifying Checksum 22:55:36 765212b225bb: Download complete 22:55:36 f23df028b6ca: Verifying Checksum 22:55:36 f23df028b6ca: Download complete 22:55:36 d65c8cfc05b1: Verifying Checksum 22:55:36 d65c8cfc05b1: Download complete 22:55:36 699f458cf7ca: Verifying Checksum 22:55:36 699f458cf7ca: Download complete 22:55:36 8998bd30e6a1: Verifying Checksum 22:55:36 8998bd30e6a1: Download complete 22:55:39 2437ff75d9bd: Verifying Checksum 22:55:39 2437ff75d9bd: Download complete 22:55:41 8998bd30e6a1: Pull complete 22:55:41 04944245beec: Pull complete 22:55:43 699f458cf7ca: Pull complete 22:55:43 765212b225bb: Pull complete 22:55:43 f23df028b6ca: Pull complete 22:55:44 d65c8cfc05b1: Pull complete 22:55:59 2437ff75d9bd: Pull complete 22:55:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:55:59 prd-ubuntu20.04-docker-arm64-4c-16g-20575 does not seem to be running inside a container 22:55:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:56:02 $ docker top 2ebc42999eee2f56960324cc111d12f7cb5338966db380529342822fb4696343 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:03 ---> job-cost.sh 22:56:03 lf-activate-venv: SKIPPING 22:56:03 INFO: No Stack... 22:56:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:56:04 INFO: Archiving Costs [Pipeline] sh 22:56:05 + cut -d, -f6 22:56:05 + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 22:56:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] 22:56:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] did not exist. Created. 22:56:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:06 /w/workspace/device-sdk-go/3@tmp/durable-b4d08ac3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:56:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:56:06 Warning: overwriting stash ‘stack-cost’ 22:56:07 Stashed 1 file(s) [Pipeline] } 22:56:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:07 $ docker stop --time=1 2ebc42999eee2f56960324cc111d12f7cb5338966db380529342822fb4696343 22:56:08 $ docker rm -f 2ebc42999eee2f56960324cc111d12f7cb5338966db380529342822fb4696343 [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 22:56:09 provisioning config files... 22:56:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config5038031518522842816tmp [Pipeline] { [Pipeline] sh 22:56:09 + set +x 22:56:09 + curl -s https://codecov.io/bash 22:56:09 + bash -s -- 22:56:09 22:56:09 _____ _ 22:56:09 / ____| | | 22:56:09 | | ___ __| | ___ ___ _____ __ 22:56:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:56:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:56:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:56:09 Bash-1.0.6 22:56:09 22:56:09 22:56:09 ==> git version 2.25.1 found 22:56:09 ==> 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 22:56:09 Release-Date: 2020-01-08 22:56:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:56:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:56:09 ==> Jenkins CI detected. 22:56:09 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 22:56:09 project root: . 22:56:09 --> token set from env 22:56:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:56:09 ==> Running gcov in . (disable via -X gcov) 22:56:09 ==> Python coveragepy not found 22:56:09 ==> Searching for coverage reports in: 22:56:09 + . 22:56:09 -> Found 1 reports 22:56:09 ==> Detecting git/mercurial file structure 22:56:09 ==> Reading reports 22:56:09 + ./coverage.out bytes=129001 22:56:09 ==> Appending adjustments 22:56:09 https://docs.codecov.io/docs/fixing-reports 22:56:09 + Found adjustments 22:56:09 ==> Gzipping contents 22:56:09 16K /tmp/codecov.P0jpvZ.gz 22:56:09 ==> Uploading reports 22:56:09 url: https://codecov.io 22:56:09 query: branch=PR-1123&commit=f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 22:56:09 -> Pinging Codecov 22:56:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1123&commit=f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 22:56:09 -> Uploading to 22:56:09 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/7E55EF52A471D76F132DFD9A03CDDE97/f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e/901362b1-b1f9-46c5-be43-224ae92e76a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T225609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=130cfd5aa6c326e768bde9ca1c20bda825e9ae453794ace9f903694afd0d4da1 22:56:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:09 Dload Upload Total Spent Left Speed 22:56:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16227 0 0 100 16227 0 73759 --:--:-- --:--:-- --:--:-- 73759 22:56:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f4d2296a6bfbaa00a1e9c056c4c520a6d4de5d4e [Pipeline] } 22:56:10 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 22:56:10 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] 22:56:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:56:10 total 16 22:56:10 drwxr-xr-x 3 root root 4096 Apr 11 22:46 . 22:56:10 drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:46 .. 22:56:10 drwxr-xr-x 2 root root 4096 Apr 11 22:46 cost 22:56:10 -rw-r--r-- 1 root root 85 Apr 11 22:46 cost.csv 22:56:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:56:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:56:10 total 16 22:56:10 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 22:46 . 22:56:10 drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:46 .. 22:56:10 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 22:46 cost 22:56:10 -rw-r--r-- 1 jenkins jenkins 85 Apr 11 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:56:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:56:12 ---> package-listing.sh 22:56:12 ++ facter osfamily 22:56:12 ++ tr '[:upper:]' '[:lower:]' 22:56:12 + OS_FAMILY=debian 22:56:12 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 22:56:12 + START_PACKAGES=/tmp/packages_start.txt 22:56:12 + END_PACKAGES=/tmp/packages_end.txt 22:56:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:56:12 + PACKAGES=/tmp/packages_start.txt 22:56:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 22:56:12 + PACKAGES=/tmp/packages_end.txt 22:56:12 + case "${OS_FAMILY}" in 22:56:12 + dpkg -l 22:56:12 + grep '^ii' 22:56:12 + '[' -f /tmp/packages_start.txt ']' 22:56:12 + '[' -f /tmp/packages_end.txt ']' 22:56:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:56:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 22:56:12 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ 22:56:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [Pipeline] echo 22:56:12 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-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:56:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:13 . [Pipeline] withDockerContainer 22:56:13 prd-ubuntu20.04-docker-8c-8g-20573 does not seem to be running inside a container 22:56:13 $ 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-1123/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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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:10003/edgex-lftools-log-publisher:latest cat 22:56:13 $ docker top 9f606fec1c1b47851f66194563a90a5e5f0a044c3fb80d227ad200772a29ff69 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:13 + touch /tmp/pre-build-complete [Pipeline] sh 22:56:14 + mkdir -p /var/log/sysstat [Pipeline] sh 22:56:14 + ls /var/log/sa-host 22:56:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:14 provisioning config files... 22:56:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config5680147790644824032tmp [Pipeline] { [Pipeline] echo 22:56:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:56:14 ---> create-netrc.sh [Pipeline] } 22:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:56:15 ---> python-tools-install.sh [Pipeline] echo 22:56:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:56:15 ---> sudo-logs.sh 22:56:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:56:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:56:15 ---> job-cost.sh 22:56:15 lf-activate-venv: SKIPPING 22:56:15 DEBUG: total: 0.2199999988079071 22:56:15 INFO: Retrieving Stack Cost... 22:56:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:56:16 INFO: Archiving Costs [Pipeline] echo 22:56:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:56:16 ---> logs-deploy.sh 22:56:16 lf-activate-venv: SKIPPING 22:56:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/3 22:56:16 INFO: archiving workspace using pattern(s): 22:56:17 Archives upload complete. 22:56:17 INFO: archiving logs to Nexus