Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 854a1d02177849dfca254246521bbb7ea3bc181d+b5ea364822c8c62a095049094fb918b913a19c7c (1e8a834a866367053664ee07f04956e0c4bfe630) 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-ssh17386176319576856139.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-ssh8392556361743742506.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-ssh7455208223291743384.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-ssh10689264350773130533.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-ssh4602995496767595696.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 Running on prd-ubuntu20.04-docker-8c-8g-11903 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 b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d Merge succeeded, producing 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa Checking out Revision 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa (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 b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa # timeout=10 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" > git rev-list --no-walk 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:40:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:29 ========================================================= 22:40:29 EdgeX Global Pipelines Version Info 22:40:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:40:30 ------------------- 22:40:30 stable info: 22:40:30 ------------------- 22:40:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:30 Message: update stable to v1.0.221 22:40:30 ------------------- 22:40:30 experimental info: 22:40:30 ------------------- 22:40:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:30 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b07e06 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:31 provisioning config files... 22:40:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config4035157255368121690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:31 ---> docker-login.sh 22:40:31 nexus3.edgexfoundry.org:10001 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10002 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10003 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10004 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 docker.io 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 ---> docker-login.sh ends [Pipeline] } 22:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:40:33 + git rev-list -1 --merges 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa~1..8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo 22:40:33 -----------> git rev-list -1 --merges 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa~1..8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa 22:40:33 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [false] [Pipeline] sh 22:40:33 + git log --format=format:%s -1 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo 22:40:33 ========================================================= 22:40:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:40:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:33 + git log --format=format:%s -1 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo 22:40:33 [semverPrep] GIT_COMMIT: 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa, Commit Message: Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD [Pipeline] echo 22:40:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:40:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:40:34 + grep -v github /etc/ssh/ssh_known_hosts 22:40:34 + [ -e /tmp/ssh_known_hosts ] 22:40:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:40:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:40:34 + sudo tee -a /etc/ssh/ssh_known_hosts 22:40:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:40:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:34 22:40:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:40:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:35 latest: Pulling from edgex-devops/git-semver 22:40:35 a0d0a0d46f8b: Pulling fs layer 22:40:35 3e5f54012d9b: Pulling fs layer 22:40:35 4c7163046ea9: Pulling fs layer 22:40:35 0c2d73faf560: Pulling fs layer 22:40:35 3e5f54012d9b: Verifying Checksum 22:40:35 3e5f54012d9b: Download complete 22:40:35 a0d0a0d46f8b: Download complete 22:40:35 0c2d73faf560: Verifying Checksum 22:40:35 0c2d73faf560: Download complete 22:40:35 4c7163046ea9: Verifying Checksum 22:40:35 4c7163046ea9: Download complete 22:40:35 a0d0a0d46f8b: Pull complete 22:40:35 3e5f54012d9b: Pull complete 22:40:35 4c7163046ea9: Pull complete 22:40:35 0c2d73faf560: Pull complete 22:40:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:40:35 prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container 22:40:35 $ 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:40:36 $ docker top 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:36 [ssh-agent] Looking for ssh-agent implementation... 22:40:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:36 $ docker exec 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent 22:40:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXInnmCm/agent.15 22:40:36 SSH_AGENT_PID=21 22:40:36 Running ssh-add (command line suppressed) 22:40:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5116745309840363475.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5116745309840363475.key) 22:40:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:37 + git tag --points-at HEAD [Pipeline] } 22:40:37 $ docker exec --env ******** --env ******** 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent -k 22:40:37 unset SSH_AUTH_SOCK; 22:40:37 unset SSH_AGENT_PID; 22:40:37 echo Agent pid 21 killed; 22:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:37 [ssh-agent] Looking for ssh-agent implementation... 22:40:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:37 $ docker exec 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent 22:40:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlFkOiA/agent.55 22:40:37 SSH_AGENT_PID=61 22:40:37 Running ssh-add (command line suppressed) 22:40:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_1173836707326300660.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_1173836707326300660.key) 22:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:38 + git semver init 22:40:38 # -> Open(): unable to determine branch for HEAD 22:40:38 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git 22:40:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 22:40:38 # $SEMVER_REMOTE_NAME = origin 22:40:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:40:38 # $SEMVER_USER_NAME = edgex-jenkins 22:40:38 # $SEMVER_BRANCH = PR-1123 22:40:38 # $SEMVER_TEMP = /tmp/semver-617277750 22:40:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:40:39 # '/tmp/semver-617277750' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' 22:40:39 # -> Force: false 22:40:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } 22:40:39 $ docker exec --env ******** --env ******** 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent -k 22:40:39 unset SSH_AUTH_SOCK; 22:40:39 unset SSH_AGENT_PID; 22:40:39 echo Agent pid 61 killed; 22:40:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:39 + git semver [Pipeline] } 22:40:39 $ docker stop --time=1 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 22:40:40 $ docker rm -f 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:41 Stashed 1 file(s) [Pipeline] echo 22:40:41 [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:40:41 provisioning config files... 22:40:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config921305128461258676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:41 ---> docker-login.sh 22:40:41 nexus3.edgexfoundry.org:10001 22:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:41 Configure a credential helper to remove this warning. See 22:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:41 22:40:41 Login Succeeded 22:40:41 nexus3.edgexfoundry.org:10002 22:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 nexus3.edgexfoundry.org:10003 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 nexus3.edgexfoundry.org:10004 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 docker.io 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 ---> docker-login.sh ends [Pipeline] } 22:40:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:42 ========================================================= 22:40:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:40:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:40:43 + 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:40:43 Sending build context to Docker daemon 9.587MB 22:40:43 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:40:43 Step 2/11 : FROM ${BASE} AS builder 22:40:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:43 59bf1c3509f3: Pulling fs layer 22:40:43 666ba61612fd: Pulling fs layer 22:40:43 8ed8ca486205: Pulling fs layer 22:40:43 4fe6c5a15a65: Pulling fs layer 22:40:43 22a0e8bec74d: Pulling fs layer 22:40:43 640e595b4fbd: Pulling fs layer 22:40:43 763cafe07f6e: Pulling fs layer 22:40:43 0c0b528cf693: Pulling fs layer 22:40:43 10935f4eaf8b: Pulling fs layer 22:40:43 4fe6c5a15a65: Waiting 22:40:43 22a0e8bec74d: Waiting 22:40:43 640e595b4fbd: Waiting 22:40:43 763cafe07f6e: Waiting 22:40:43 0c0b528cf693: Waiting 22:40:43 10935f4eaf8b: Waiting 22:40:43 8ed8ca486205: Download complete 22:40:43 666ba61612fd: Verifying Checksum 22:40:43 666ba61612fd: Download complete 22:40:43 22a0e8bec74d: Verifying Checksum 22:40:43 640e595b4fbd: Verifying Checksum 22:40:43 640e595b4fbd: Download complete 22:40:43 59bf1c3509f3: Verifying Checksum 22:40:43 59bf1c3509f3: Download complete 22:40:43 763cafe07f6e: Verifying Checksum 22:40:43 763cafe07f6e: Download complete 22:40:43 0c0b528cf693: Verifying Checksum 22:40:43 0c0b528cf693: Download complete 22:40:43 59bf1c3509f3: Pull complete 22:40:43 666ba61612fd: Pull complete 22:40:43 8ed8ca486205: Pull complete 22:40:44 4fe6c5a15a65: Download complete 22:40:44 10935f4eaf8b: Verifying Checksum 22:40:44 10935f4eaf8b: Download complete 22:40:48 4fe6c5a15a65: Pull complete 22:40:48 22a0e8bec74d: Pull complete 22:40:48 640e595b4fbd: Pull complete 22:40:48 763cafe07f6e: Pull complete 22:40:48 0c0b528cf693: Pull complete 22:40:50 10935f4eaf8b: Pull complete 22:40:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:40:50 ---> 99d49a6021b9 22:40:50 Step 3/11 : ARG MAKE=make build 22:40:51 ---> Running in bd78589e25b1 22:40:51 Removing intermediate container bd78589e25b1 22:40:51 ---> 54e8be2aed98 22:40:51 Step 4/11 : WORKDIR /device-sdk-go 22:40:51 ---> Running in 63fc8e27e4da 22:40:51 Removing intermediate container 63fc8e27e4da 22:40:51 ---> f60a854d00d1 22:40:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:52 ---> Running in d4a8a7c38040 22:40:52 Removing intermediate container d4a8a7c38040 22:40:52 ---> e49dd1e1ea33 22:40:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:52 ---> Running in 8b7ec8a44f03 22:40:52 Removing intermediate container 8b7ec8a44f03 22:40:52 ---> be3cf68520a9 22:40:52 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:40:52 ---> Running in 6592b01debcd 22:40:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:40:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:40:54 OK: 221 MiB in 52 packages 22:40:54 Removing intermediate container 6592b01debcd 22:40:54 ---> 98f18d6a6b77 22:40:54 Step 8/11 : COPY go.mod vendor* ./ 22:40:54 ---> 2b2d4c3fd040 22:40:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:54 ---> Running in 728c3c006928 22:40:56 Still waiting to schedule task 22:40:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:41:09 Removing intermediate container 728c3c006928 22:41:09 ---> baceabd2c65f 22:41:09 Step 10/11 : COPY . . 22:41:09 ---> 728e61c01062 22:41:09 Step 11/11 : RUN ${MAKE} 22:41:09 ---> Running in 96c16ffe1a1d 22:41:09 noop 22:41:09 Removing intermediate container 96c16ffe1a1d 22:41:09 ---> 8eab10522d35 22:41:09 Successfully built 8eab10522d35 22:41:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:41:10 + docker inspect -f . ci-base-image-x86_64 22:41:10 . [Pipeline] withDockerContainer 22:41:10 prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container 22:41:10 $ 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:41:10 $ docker top 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:10 + go version 22:41:10 go version go1.17.6 linux/amd64 [Pipeline] } 22:41:10 $ docker stop --time=1 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 22:41:12 $ docker rm -f 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:41:12 + docker inspect -f . ci-base-image-x86_64 22:41:12 . [Pipeline] withDockerContainer 22:41:12 prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container 22:41:12 $ 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:41:13 $ docker top 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:41:13 + make test 22:41:13 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:41:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.024s coverage: 27.6% of statements 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.012s coverage: 10.8% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.022s coverage: 33.2% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.019s coverage: 86.1% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.028s coverage: 57.4% of statements 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.042s coverage: 89.2% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:41:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.017s coverage: 4.8% of statements 22:41:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:41:34 GO111MODULE=on go vet ./... 22:41:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:38 ./bin/test-attribution-txt.sh [Pipeline] echo 22:41:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:38 $ docker stop --time=1 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e 22:41:40 $ docker rm -f 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e [Pipeline] // withDockerContainer [Pipeline] sh 22:41:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:41:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:41:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:41:41 + ls -al . 22:41:41 total 316 22:41:41 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 22:41 . 22:41:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 .. 22:41:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 22:40 .dockerignore 22:41:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 22:40 .git 22:41:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 .github 22:41:41 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 22:40 .gitignore 22:41:41 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 22:40 .golangci.yml 22:41:41 drwx------ 3 jenkins jenkins 4096 Apr 10 22:40 .semver 22:41:41 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 22:40 CHANGELOG.md 22:41:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 22:40 GOVERNANCE.md 22:41:41 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 22:40 Jenkinsfile 22:41:41 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 22:40 LICENSE 22:41:41 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 22:40 Makefile 22:41:41 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 22:40 OWNERS.md 22:41:41 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 22:40 README.md 22:41:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION 22:41:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 22:40 bin 22:41:41 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 22:41 coverage.out 22:41:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 example 22:41:41 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 10 22:40 go.mod 22:41:41 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 10 22:40 go.sum 22:41:41 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 22:40 internal 22:41:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 openapi 22:41:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 pkg 22:41:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 snap 22:41:41 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 22:40 version.go [Pipeline] isUnix [Pipeline] sh 22:41:42 + 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=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa --label arch=amd64 --label version=0.0.0 . 22:41:42 Sending build context to Docker daemon 9.717MB 22:41:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:41:42 Step 2/25 : FROM ${BASE} AS builder 22:41:42 ---> 8eab10522d35 22:41:42 Step 3/25 : ARG MAKE=make build 22:41:42 ---> Running in d03f31d54dc7 22:41:42 Removing intermediate container d03f31d54dc7 22:41:42 ---> dfabfe7c986b 22:41:42 Step 4/25 : WORKDIR /device-sdk-go 22:41:42 ---> Running in ef8b7895dcb3 22:41:42 Removing intermediate container ef8b7895dcb3 22:41:42 ---> 742bf95cd72a 22:41:42 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:42 ---> Running in b5a468035cf7 22:41:42 Removing intermediate container b5a468035cf7 22:41:42 ---> 57bf6b5a8c24 22:41:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:42 ---> Running in 616981b2fa8d 22:41:43 Removing intermediate container 616981b2fa8d 22:41:43 ---> 454664c0fa68 22:41:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:43 ---> Running in 853423b719d8 22:41:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:44 OK: 221 MiB in 52 packages 22:41:45 Removing intermediate container 853423b719d8 22:41:45 ---> b4a6b754063f 22:41:45 Step 8/25 : COPY go.mod vendor* ./ 22:41:45 ---> ef988b48734f 22:41:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:45 ---> Running in 05c32de8b3a6 22:41:46 Removing intermediate container 05c32de8b3a6 22:41:46 ---> 82e711806582 22:41:46 Step 10/25 : COPY . . 22:41:46 ---> 2e2e5f9612ad 22:41:46 Step 11/25 : RUN ${MAKE} 22:41:46 ---> Running in 7c1e696fb6f9 22:41:46 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:42:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:42:08 Removing intermediate container 7c1e696fb6f9 22:42:08 ---> fe0496972786 22:42:08 Step 12/25 : FROM alpine:3.14 22:42:08 3.14: Pulling from library/alpine 22:42:08 8663204ce13b: Pulling fs layer 22:42:08 8663204ce13b: Verifying Checksum 22:42:08 8663204ce13b: Download complete 22:42:09 8663204ce13b: Pull complete 22:42:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:42:09 Status: Downloaded newer image for alpine:3.14 22:42:09 ---> e04c818066af 22:42:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:09 ---> Running in 2cbcbafaf858 22:42:09 Removing intermediate container 2cbcbafaf858 22:42:09 ---> adc4f86009b3 22:42:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:09 ---> Running in bd1f66768c4f 22:42:09 Removing intermediate container bd1f66768c4f 22:42:09 ---> 0faf2ac4315f 22:42:09 Step 15/25 : RUN apk add --update --no-cache zeromq 22:42:09 ---> Running in cf6f0d8c2ae5 22:42:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:42:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:42:11 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:42:11 (2/5) Installing libsodium (1.0.18-r0) 22:42:11 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:42:11 (4/5) Installing libzmq (4.3.4-r0) 22:42:11 (5/5) Installing zeromq (4.3.4-r0) 22:42:11 Executing busybox-1.33.1-r7.trigger 22:42:11 OK: 8 MiB in 19 packages 22:42:12 Removing intermediate container cf6f0d8c2ae5 22:42:12 ---> bb328fd74723 22:42:12 Step 16/25 : WORKDIR / 22:42:12 ---> Running in f98652566345 22:42:12 Removing intermediate container f98652566345 22:42:12 ---> 93df3be9611e 22:42:12 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:42:12 ---> c529ad5709e9 22:42:12 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:42:12 ---> 76dba96a926b 22:42:12 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:42:13 ---> 615d9ac3f52a 22:42:13 Step 20/25 : EXPOSE 59999 22:42:13 ---> Running in ff5855892a1a 22:42:13 Removing intermediate container ff5855892a1a 22:42:13 ---> 30bea96206c4 22:42:13 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:42:13 ---> Running in 95766416de2e 22:42:13 Removing intermediate container 95766416de2e 22:42:13 ---> 59f55b7e6d47 22:42:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:13 ---> Running in 6800ab215e34 22:42:13 Removing intermediate container 6800ab215e34 22:42:13 ---> 7d10735d5914 22:42:13 Step 23/25 : LABEL arch=amd64 22:42:13 ---> Running in 3bc0f7e91d89 22:42:13 Removing intermediate container 3bc0f7e91d89 22:42:13 ---> b6d0ef60f639 22:42:13 Step 24/25 : LABEL git_sha=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa 22:42:13 ---> Running in ebadd5511986 22:42:13 Removing intermediate container ebadd5511986 22:42:13 ---> 6aeec5823f8c 22:42:13 Step 25/25 : LABEL version=0.0.0 22:42:13 ---> Running in 471e59ea2ea7 22:42:14 Removing intermediate container 471e59ea2ea7 22:42:14 ---> f2754bd0ea1c 22:42:14 [Warning] One or more build-args [ARCH] were not consumed 22:42:14 Successfully built f2754bd0ea1c 22:42:14 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:42:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:14 22:42:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:42:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:14 latest: Pulling from edgex-lftools-log-publisher 22:42:14 5eb5b503b376: Pulling fs layer 22:42:14 5c69ac0246d0: Pulling fs layer 22:42:14 ec43610c2a17: Pulling fs layer 22:42:14 3a2ae6a8a46f: Pulling fs layer 22:42:14 33b1e0a273af: Pulling fs layer 22:42:14 5d3b04190fa2: Pulling fs layer 22:42:14 2f39f015ded8: Pulling fs layer 22:42:14 3a2ae6a8a46f: Waiting 22:42:14 5d3b04190fa2: Waiting 22:42:14 2f39f015ded8: Waiting 22:42:14 33b1e0a273af: Waiting 22:42:14 5c69ac0246d0: Download complete 22:42:14 3a2ae6a8a46f: Verifying Checksum 22:42:14 3a2ae6a8a46f: Download complete 22:42:14 33b1e0a273af: Verifying Checksum 22:42:14 33b1e0a273af: Download complete 22:42:14 ec43610c2a17: Verifying Checksum 22:42:14 ec43610c2a17: Download complete 22:42:14 5d3b04190fa2: Verifying Checksum 22:42:14 5d3b04190fa2: Download complete 22:42:14 5eb5b503b376: Verifying Checksum 22:42:14 5eb5b503b376: Download complete 22:42:15 2f39f015ded8: Verifying Checksum 22:42:15 2f39f015ded8: Download complete 22:42:16 5eb5b503b376: Pull complete 22:42:16 5c69ac0246d0: Pull complete 22:42:17 ec43610c2a17: Pull complete 22:42:17 3a2ae6a8a46f: Pull complete 22:42:17 33b1e0a273af: Pull complete 22:42:17 5d3b04190fa2: Pull complete 22:42:22 2f39f015ded8: Pull complete 22:42:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:42:22 prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container 22:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:42:24 $ docker top 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:24 ---> job-cost.sh 22:42:24 lf-activate-venv: SKIPPING 22:42:24 INFO: No Stack... 22:42:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:25 INFO: Archiving Costs [Pipeline] sh 22:42:25 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv 22:42:25 + cut -d, -f6 [Pipeline] lock 22:42:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] 22:42:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] did not exist. Created. 22:42:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:26 + echo total: 0.6600000262260437 [Pipeline] stash 22:42:26 Stashed 1 file(s) [Pipeline] } 22:42:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:26 $ docker stop --time=1 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d 22:42:27 $ docker rm -f 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:05:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19346 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws 23:05:02 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:05:02 The recommended git tool is: git 23:05:11 using credential edgex-jenkins-ssh 23:05:11 Cloning the remote Git repository 23:05:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:05:11 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:05:11 > git --version # timeout=10 23:05:11 > git --version # 'git version 2.25.1' 23:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:05:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:05:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:05:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:13 > 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 23:05:14 Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d 23:05:15 Merge succeeded, producing 0585fd7db716542023b240f973d745842ef6e787 23:05:15 Checking out Revision 0585fd7db716542023b240f973d745842ef6e787 (PR-1123) 23:05:14 > git config core.sparsecheckout # timeout=10 23:05:14 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 23:05:14 > git remote # timeout=10 23:05:14 > git config --get remote.origin.url # timeout=10 23:05:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:14 > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 23:05:14 > git rev-parse HEAD^{commit} # timeout=10 23:05:15 > git config core.sparsecheckout # timeout=10 23:05:15 > git checkout -f 0585fd7db716542023b240f973d745842ef6e787 # timeout=10 23:05:19 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" 23:05:19 > git rev-list --no-walk 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:05:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:05:20 Dload Upload Total Spent Left Speed 23:05:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48338 [Pipeline] sh 23:05:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:05:21 + sudo tee /etc/docker/daemon.new 23:05:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:05:21 { 23:05:21 "registry-mirrors": [ 23:05:21 "https://nexus3.edgexfoundry.org:10001" 23:05:21 ], 23:05:21 "bip": "10.250.0.254/24", 23:05:21 "hosts": [ 23:05:21 "tcp://0.0.0.0:5555", 23:05:21 "unix:///var/run/docker.sock" 23:05:21 ], 23:05:21 "mtu": 1458, 23:05:21 "selinux-enabled": true, 23:05:21 "seccomp-profile": "/etc/docker/seccomp.json" 23:05:21 } [Pipeline] sh 23:05:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:05:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:05:41 provisioning config files... 23:05:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config316992539755436735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:41 ---> docker-login.sh 23:05:41 nexus3.edgexfoundry.org:10001 23:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:42 Configure a credential helper to remove this warning. See 23:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:42 23:05:42 Login Succeeded 23:05:42 nexus3.edgexfoundry.org:10002 23:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:43 Configure a credential helper to remove this warning. See 23:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:43 23:05:43 Login Succeeded 23:05:43 nexus3.edgexfoundry.org:10003 23:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:43 Configure a credential helper to remove this warning. See 23:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:43 23:05:43 Login Succeeded 23:05:43 nexus3.edgexfoundry.org:10004 23:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:44 Configure a credential helper to remove this warning. See 23:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:44 23:05:44 Login Succeeded 23:05:44 docker.io 23:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:45 Configure a credential helper to remove this warning. See 23:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:45 23:05:45 Login Succeeded 23:05:45 ---> docker-login.sh ends [Pipeline] } 23:05:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:05:45 ========================================================= 23:05:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:05:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:05:46 + 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 . 23:05:46 Sending build context to Docker daemon 5.175MB 23:05:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:05:46 Step 2/11 : FROM ${BASE} AS builder 23:05:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:05:46 9b3977197b4f: Pulling fs layer 23:05:46 1a89e8eeedd5: Pulling fs layer 23:05:46 94645a83ff95: Pulling fs layer 23:05:46 3f3a8bcf1eab: Pulling fs layer 23:05:46 0c92f367c5e7: Pulling fs layer 23:05:46 f7c0051592d6: Pulling fs layer 23:05:46 a227ed2f7395: Pulling fs layer 23:05:46 7b1c46037f91: Pulling fs layer 23:05:46 0c92f367c5e7: Waiting 23:05:46 f7c0051592d6: Waiting 23:05:46 7b1c46037f91: Waiting 23:05:46 a227ed2f7395: Waiting 23:05:46 3f3a8bcf1eab: Waiting 23:05:47 94645a83ff95: Verifying Checksum 23:05:47 94645a83ff95: Download complete 23:05:47 1a89e8eeedd5: Download complete 23:05:47 0c92f367c5e7: Verifying Checksum 23:05:47 0c92f367c5e7: Download complete 23:05:47 f7c0051592d6: Verifying Checksum 23:05:47 f7c0051592d6: Download complete 23:05:47 9b3977197b4f: Download complete 23:05:47 a227ed2f7395: Verifying Checksum 23:05:47 a227ed2f7395: Download complete 23:05:48 9b3977197b4f: Pull complete 23:05:48 1a89e8eeedd5: Pull complete 23:05:48 94645a83ff95: Pull complete 23:05:49 7b1c46037f91: Verifying Checksum 23:05:49 7b1c46037f91: Download complete 23:05:49 3f3a8bcf1eab: Verifying Checksum 23:05:49 3f3a8bcf1eab: Download complete 23:06:02 3f3a8bcf1eab: Pull complete 23:06:02 0c92f367c5e7: Pull complete 23:06:02 f7c0051592d6: Pull complete 23:06:03 a227ed2f7395: Pull complete 23:06:09 7b1c46037f91: Pull complete 23:06:09 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:06:09 ---> f79e39bc4007 23:06:09 Step 3/11 : ARG MAKE=make build 23:06:09 ---> Running in 820642d0b434 23:06:10 Removing intermediate container 820642d0b434 23:06:10 ---> f1aaea9e77a8 23:06:10 Step 4/11 : WORKDIR /device-sdk-go 23:06:10 ---> Running in 6706f6310ea5 23:06:10 Removing intermediate container 6706f6310ea5 23:06:10 ---> f4ddd4da5592 23:06:10 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:06:10 ---> Running in bc8c2a033852 23:06:10 Removing intermediate container bc8c2a033852 23:06:10 ---> 3bf666f6e013 23:06:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:06:10 ---> Running in 7ed0d9aebde3 23:06:12 Removing intermediate container 7ed0d9aebde3 23:06:12 ---> 3bd94684283a 23:06:12 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:06:13 ---> Running in 28faf7ee732b 23:06:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:06:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:06:16 OK: 220 MiB in 52 packages 23:06:18 Removing intermediate container 28faf7ee732b 23:06:18 ---> 2bc556d304af 23:06:18 Step 8/11 : COPY go.mod vendor* ./ 23:06:19 ---> 16fc0ee4b7bc 23:06:19 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:19 ---> Running in b285061957b4 23:07:16 Removing intermediate container b285061957b4 23:07:16 ---> 69df19d806e0 23:07:16 Step 10/11 : COPY . . 23:07:16 ---> 3d5a38ff593e 23:07:16 Step 11/11 : RUN ${MAKE} 23:07:16 ---> Running in 9783f8c79aa2 23:07:16 noop 23:07:16 Removing intermediate container 9783f8c79aa2 23:07:16 ---> 892dcbc42bbb 23:07:16 Successfully built 892dcbc42bbb 23:07:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:07:16 + docker inspect -f . ci-base-image-arm64 23:07:16 . [Pipeline] withDockerContainer 23:07:16 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 23:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:18 $ docker top adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:19 + go version 23:07:19 go version go1.17.6 linux/arm64 [Pipeline] } 23:07:19 $ docker stop --time=1 adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 23:07:21 $ docker rm -f adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:07:21 + docker inspect -f . ci-base-image-arm64 23:07:21 . [Pipeline] withDockerContainer 23:07:22 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 23:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:23 $ docker top abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:07:24 + make test 23:07:24 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:07:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:09:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:09:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:09:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:09:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.094s coverage: 23.3% of statements 23:09:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:09:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 27.6% of statements 23:09:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.114s coverage: 78.9% of statements 23:09:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.198s coverage: 10.8% of statements 23:09:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:09:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:09:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:09:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.161s coverage: 33.2% of statements 23:09:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:09:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.099s coverage: 86.1% of statements 23:09:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:09:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:09:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.4% of statements 23:09:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.220s coverage: 89.2% of statements 23:09:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:09:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.8% of statements 23:09:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:09:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:09:21 GO111MODULE=on go vet ./... 23:10:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:10:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:10:00 ./bin/test-attribution-txt.sh [Pipeline] echo 23:10:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:10:00 $ docker stop --time=1 abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 23:10:02 $ docker rm -f abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 [Pipeline] // withDockerContainer [Pipeline] sh 23:10:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:10:03 Warning: overwriting stash ‘coverage-report’ 23:10:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:10:04 + ls -al . 23:10:04 total 312 23:10:04 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:09 . 23:10:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 .. 23:10:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 23:05 .dockerignore 23:10:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:05 .git 23:10:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 .github 23:10:04 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 23:05 .gitignore 23:10:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 23:05 .golangci.yml 23:10:04 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 23:05 CHANGELOG.md 23:10:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:05 GOVERNANCE.md 23:10:04 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 23:05 Jenkinsfile 23:10:04 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 23:05 LICENSE 23:10:04 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 23:05 Makefile 23:10:04 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 23:05 OWNERS.md 23:10:04 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 23:05 README.md 23:10:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION 23:10:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:05 bin 23:10:04 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 23:09 coverage.out 23:10:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 example 23:10:04 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 10 23:05 go.mod 23:10:04 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 10 23:05 go.sum 23:10:04 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 23:05 internal 23:10:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 openapi 23:10:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 pkg 23:10:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 snap 23:10:04 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 23:05 version.go [Pipeline] isUnix [Pipeline] sh 23:10:05 + 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=0585fd7db716542023b240f973d745842ef6e787 --label arch=arm64 --label version=0.0.0 . 23:10:05 Sending build context to Docker daemon 5.304MB 23:10:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:10:05 Step 2/25 : FROM ${BASE} AS builder 23:10:05 ---> 892dcbc42bbb 23:10:05 Step 3/25 : ARG MAKE=make build 23:10:06 ---> Running in 271baed639f5 23:10:06 Removing intermediate container 271baed639f5 23:10:06 ---> 4f0e4c612e7e 23:10:06 Step 4/25 : WORKDIR /device-sdk-go 23:10:06 ---> Running in fda0ea7635fa 23:10:07 Removing intermediate container fda0ea7635fa 23:10:07 ---> 442ec1658526 23:10:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:10:07 ---> Running in 589a807019dc 23:10:07 Removing intermediate container 589a807019dc 23:10:07 ---> 6eb13474c561 23:10:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:10:07 ---> Running in 59e3ecad8a3f 23:10:09 Removing intermediate container 59e3ecad8a3f 23:10:09 ---> c0a73ad97421 23:10:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:10:09 ---> Running in e125cc2845be 23:10:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:10:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:10:13 OK: 220 MiB in 52 packages 23:10:13 Removing intermediate container e125cc2845be 23:10:13 ---> d98139dcea15 23:10:13 Step 8/25 : COPY go.mod vendor* ./ 23:10:14 ---> 47bfd8ce65f2 23:10:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:14 ---> Running in d744b1a2bd26 23:10:16 Removing intermediate container d744b1a2bd26 23:10:16 ---> 3dc92f85aaff 23:10:16 Step 10/25 : COPY . . 23:10:17 ---> a148716aac37 23:10:17 Step 11/25 : RUN ${MAKE} 23:10:18 ---> Running in 2d824d37de74 23:10:19 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 23:12:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:12:56 Removing intermediate container 2d824d37de74 23:12:56 ---> 25fc9acd1e85 23:12:56 Step 12/25 : FROM alpine:3.14 23:12:56 3.14: Pulling from library/alpine 23:12:56 455c02918c45: Pulling fs layer 23:12:56 455c02918c45: Verifying Checksum 23:12:56 455c02918c45: Download complete 23:12:56 455c02918c45: Pull complete 23:12:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:12:56 Status: Downloaded newer image for alpine:3.14 23:12:56 ---> ac73e934f311 23:12:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:12:56 ---> Running in fdcf7b8afe25 23:12:56 Removing intermediate container fdcf7b8afe25 23:12:56 ---> d8e0f0cadb90 23:12:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:56 ---> Running in 289318089ac7 23:12:57 Removing intermediate container 289318089ac7 23:12:57 ---> 0c9e9fb6fe31 23:12:57 Step 15/25 : RUN apk add --update --no-cache zeromq 23:12:57 ---> Running in af227a1369c4 23:12:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:12:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:13:01 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:13:01 (2/5) Installing libsodium (1.0.18-r0) 23:13:01 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:13:01 (4/5) Installing libzmq (4.3.4-r0) 23:13:01 (5/5) Installing zeromq (4.3.4-r0) 23:13:01 Executing busybox-1.33.1-r7.trigger 23:13:01 OK: 8 MiB in 19 packages 23:13:02 Removing intermediate container af227a1369c4 23:13:02 ---> 4e97bf096de6 23:13:02 Step 16/25 : WORKDIR / 23:13:02 ---> Running in e2a6cfa25ffc 23:13:03 Removing intermediate container e2a6cfa25ffc 23:13:03 ---> 57826f2adcb4 23:13:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:13:03 ---> ce499f61dfb2 23:13:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:13:05 ---> 5e7dd8e40546 23:13:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:13:06 ---> 8df2cd2ee074 23:13:06 Step 20/25 : EXPOSE 59999 23:13:06 ---> Running in 8d3c1d683d9d 23:13:06 Removing intermediate container 8d3c1d683d9d 23:13:06 ---> 3d300bdceb05 23:13:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:13:06 ---> Running in 76a0003e89f4 23:13:07 Removing intermediate container 76a0003e89f4 23:13:07 ---> 964259a6bf5c 23:13:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:13:07 ---> Running in e59ddfb36cae 23:13:07 Removing intermediate container e59ddfb36cae 23:13:07 ---> db322aa2c361 23:13:07 Step 23/25 : LABEL arch=arm64 23:13:07 ---> Running in 5f33a534bd04 23:13:08 Removing intermediate container 5f33a534bd04 23:13:08 ---> 8da06396ae99 23:13:08 Step 24/25 : LABEL git_sha=0585fd7db716542023b240f973d745842ef6e787 23:13:08 ---> Running in b16d478d9161 23:13:08 Removing intermediate container b16d478d9161 23:13:08 ---> 015bc06e856f 23:13:08 Step 25/25 : LABEL version=0.0.0 23:13:08 ---> Running in e251b33f77c2 23:13:08 Removing intermediate container e251b33f77c2 23:13:08 ---> f820536e418a 23:13:08 [Warning] One or more build-args [ARCH] were not consumed 23:13:08 Successfully built f820536e418a 23:13:08 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:09 23:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:13:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:10 arm64: Pulling from edgex-lftools-log-publisher 23:13:10 8998bd30e6a1: Pulling fs layer 23:13:10 04944245beec: Pulling fs layer 23:13:10 699f458cf7ca: Pulling fs layer 23:13:10 765212b225bb: Pulling fs layer 23:13:10 f23df028b6ca: Pulling fs layer 23:13:10 d65c8cfc05b1: Pulling fs layer 23:13:10 2437ff75d9bd: Pulling fs layer 23:13:10 f23df028b6ca: Waiting 23:13:10 d65c8cfc05b1: Waiting 23:13:10 2437ff75d9bd: Waiting 23:13:10 765212b225bb: Waiting 23:13:10 04944245beec: Verifying Checksum 23:13:10 04944245beec: Download complete 23:13:10 765212b225bb: Verifying Checksum 23:13:10 765212b225bb: Download complete 23:13:10 f23df028b6ca: Verifying Checksum 23:13:10 f23df028b6ca: Download complete 23:13:10 d65c8cfc05b1: Verifying Checksum 23:13:10 d65c8cfc05b1: Download complete 23:13:10 699f458cf7ca: Verifying Checksum 23:13:10 699f458cf7ca: Download complete 23:13:10 8998bd30e6a1: Download complete 23:13:13 2437ff75d9bd: Verifying Checksum 23:13:13 2437ff75d9bd: Download complete 23:13:15 8998bd30e6a1: Pull complete 23:13:16 04944245beec: Pull complete 23:13:18 699f458cf7ca: Pull complete 23:13:18 765212b225bb: Pull complete 23:13:19 f23df028b6ca: Pull complete 23:13:19 d65c8cfc05b1: Pull complete 23:13:37 2437ff75d9bd: Pull complete 23:13:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:13:38 prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container 23:13:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:13:41 $ docker top d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:42 ---> job-cost.sh 23:13:42 lf-activate-venv: SKIPPING 23:13:42 INFO: No Stack... 23:13:42 INFO: Retrieving Pricing Info for: v3-standard-4 23:13:43 INFO: Archiving Costs [Pipeline] sh 23:13:44 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 23:13:44 + cut -d, -f6 [Pipeline] lock 23:13:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] 23:13:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] did not exist. Created. 23:13:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:45 /w/workspace/device-sdk-go/2@tmp/durable-47c7d9ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:13:46 + echo total: 0.10999999940395355 [Pipeline] stash 23:13:46 Warning: overwriting stash ‘stack-cost’ 23:13:46 Stashed 1 file(s) [Pipeline] } 23:13:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:46 $ docker stop --time=1 d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a 23:13:47 $ docker rm -f d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:13:48 provisioning config files... 23:13:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config715738751623356145tmp [Pipeline] { [Pipeline] sh 23:13:48 + set +x 23:13:48 + curl -s https://codecov.io/bash 23:13:48 + bash -s -- 23:13:48 23:13:48 _____ _ 23:13:48 / ____| | | 23:13:48 | | ___ __| | ___ ___ _____ __ 23:13:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:13:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:13:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:13:48 Bash-1.0.6 23:13:48 23:13:48 23:13:48 ==> git version 2.25.1 found 23:13:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:13:48 Release-Date: 2020-01-08 23:13:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:13:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:13:48 ==> Jenkins CI detected. 23:13:48 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 23:13:48 project root: . 23:13:48 --> token set from env 23:13:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:13:48 ==> Running gcov in . (disable via -X gcov) 23:13:48 ==> Python coveragepy not found 23:13:48 ==> Searching for coverage reports in: 23:13:48 + . 23:13:48 -> Found 1 reports 23:13:48 ==> Detecting git/mercurial file structure 23:13:48 ==> Reading reports 23:13:48 + ./coverage.out bytes=129001 23:13:48 ==> Appending adjustments 23:13:48 https://docs.codecov.io/docs/fixing-reports 23:13:49 + Found adjustments 23:13:49 ==> Gzipping contents 23:13:49 16K /tmp/codecov.tplgYD.gz 23:13:49 ==> Uploading reports 23:13:49 url: https://codecov.io 23:13:49 query: branch=PR-1123&commit=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 23:13:49 -> Pinging Codecov 23:13:49 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=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 23:13:49 -> Uploading to 23:13:49 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa/9287e31c-7f47-466b-a0e4-a5bbb8db32f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T231349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd1113d608257fa0cdf87273dbf1467353b9f4fe26be9b1737c50e62e8d4a58a 23:13:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:49 Dload Upload Total Spent Left Speed 23:13:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16242 0 0 100 16242 0 74164 --:--:-- --:--:-- --:--:-- 73827 23:13:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] } 23:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:13:50 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] 23:13:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 23:13:50 total 16 23:13:50 drwxr-xr-x 3 root root 4096 Apr 10 22:42 . 23:13:50 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. 23:13:50 drwxr-xr-x 2 root root 4096 Apr 10 22:42 cost 23:13:50 -rw-r--r-- 1 root root 86 Apr 10 22:42 cost.csv 23:13:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 23:13:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 23:13:50 total 16 23:13:50 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 22:42 . 23:13:50 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. 23:13:50 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 22:42 cost 23:13:50 -rw-r--r-- 1 jenkins jenkins 86 Apr 10 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:13:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:13:51 ---> package-listing.sh 23:13:51 ++ facter osfamily 23:13:51 ++ tr '[:upper:]' '[:lower:]' 23:13:51 + OS_FAMILY=debian 23:13:51 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 23:13:51 + START_PACKAGES=/tmp/packages_start.txt 23:13:51 + END_PACKAGES=/tmp/packages_end.txt 23:13:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:13:51 + PACKAGES=/tmp/packages_start.txt 23:13:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 23:13:51 + PACKAGES=/tmp/packages_end.txt 23:13:51 + case "${OS_FAMILY}" in 23:13:51 + dpkg -l 23:13:51 + grep '^ii' 23:13:51 + '[' -f /tmp/packages_start.txt ']' 23:13:51 + '[' -f /tmp/packages_end.txt ']' 23:13:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:13:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 23:13:51 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ 23:13:51 + 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 23:13:51 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 23:13:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:52 . [Pipeline] withDockerContainer 23:13:52 prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container 23:13:52 $ 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 23:13:52 $ docker top 752b2e38f4dc2e97cd1f8675039067e2b432d2aa262aeb9e4214c492e3516fef -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:13:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:13:53 + ls /var/log/sa-host 23:13:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:54 provisioning config files... 23:13:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config8980721921759522365tmp [Pipeline] { [Pipeline] echo 23:13:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:13:54 ---> create-netrc.sh [Pipeline] } 23:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:13:54 ---> python-tools-install.sh [Pipeline] echo 23:13:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:13:54 ---> sudo-logs.sh 23:13:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:13:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:13:55 ---> job-cost.sh 23:13:55 lf-activate-venv: SKIPPING 23:13:55 DEBUG: total: 0.6600000262260437 23:13:55 INFO: Retrieving Stack Cost... 23:13:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:56 INFO: Archiving Costs [Pipeline] echo 23:13:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:13:56 ---> logs-deploy.sh 23:13:56 lf-activate-venv: SKIPPING 23:13:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/2 23:13:56 INFO: archiving workspace using pattern(s): 23:13:57 Archives upload complete. 23:13:57 INFO: archiving logs to Nexus