Pull request #1395 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b79095e6787c19f6d4298e7c908c36c08a20ad6a+92ae96e570b0e90887048770798fafa65e025b58 (16c8d8b679608211af96a20e764bcd2ba98d303b) 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-ssh16778133310177373283.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8259418919747445135.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6582669654164270457.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh18239115170612787226.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17574752593717037554.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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/v3]] ========================================================= [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.20 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/v3 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5111 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [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-1395 # 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 > 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/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit b79095e6787c19f6d4298e7c908c36c08a20ad6a Merge succeeded, producing b79095e6787c19f6d4298e7c908c36c08a20ad6a Checking out Revision b79095e6787c19f6d4298e7c908c36c08a20ad6a (PR-1395) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:14:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:14:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:14:34 ========================================================= 04:14:34 EdgeX Global Pipelines Version Info 04:14:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b79095e6787c19f6d4298e7c908c36c08a20ad6a # 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 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b79095e6787c19f6d4298e7c908c36c08a20ad6a # timeout=10 > git rev-list --no-walk df8b6dad8ec8a69b56807ef891e6169cf12af2ef # timeout=10 04:14:34 ------------------- 04:14:34 stable info: 04:14:34 ------------------- 04:14:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:14:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:14:34 Message: update stable to v1.0.245 04:14:35 ------------------- 04:14:35 experimental info: 04:14:35 ------------------- 04:14:35 Commited By: **** collab-it+edgex@linuxfoundation.org 04:14:35 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 04:14:35 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:14:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1395 [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1395 [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1395 [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b79095e6787c19f6d4298e7c908c36c08a20ad6a [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b79095e [Pipeline] echo 04:14:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:36 provisioning config files... 04:14:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config4045839695953107772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:36 ---> docker-login.sh 04:14:36 nexus3.edgexfoundry.org:10001 04:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:36 Configure a credential helper to remove this warning. See 04:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:36 04:14:36 Login Succeeded 04:14:36 nexus3.edgexfoundry.org:10002 04:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:36 Configure a credential helper to remove this warning. See 04:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:36 04:14:36 Login Succeeded 04:14:36 nexus3.edgexfoundry.org:10003 04:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:36 Configure a credential helper to remove this warning. See 04:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:36 04:14:36 Login Succeeded 04:14:36 nexus3.edgexfoundry.org:10004 04:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:36 Configure a credential helper to remove this warning. See 04:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:36 04:14:36 Login Succeeded 04:14:36 docker.io 04:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:37 Configure a credential helper to remove this warning. See 04:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:37 04:14:37 Login Succeeded 04:14:37 ---> docker-login.sh ends [Pipeline] } 04:14:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:14:37 + git rev-list -1 --merges b79095e6787c19f6d4298e7c908c36c08a20ad6a~1..b79095e6787c19f6d4298e7c908c36c08a20ad6a [Pipeline] echo 04:14:37 -----------> git rev-list -1 --merges b79095e6787c19f6d4298e7c908c36c08a20ad6a~1..b79095e6787c19f6d4298e7c908c36c08a20ad6a b79095e6787c19f6d4298e7c908c36c08a20ad6a [false] [Pipeline] sh 04:14:37 + git log --format=format:%s -1 b79095e6787c19f6d4298e7c908c36c08a20ad6a [Pipeline] echo 04:14:37 ========================================================= 04:14:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:14:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:38 + git log --format=format:%s -1 b79095e6787c19f6d4298e7c908c36c08a20ad6a [Pipeline] echo 04:14:38 [semverPrep] GIT_COMMIT: b79095e6787c19f6d4298e7c908c36c08a20ad6a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 04:14:38 [semverPrep] This is not a build commit. [Pipeline] sh 04:14:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:14:38 + grep -v github /etc/ssh/ssh_known_hosts 04:14:38 + [ -e /tmp/ssh_known_hosts ] 04:14:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:14:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:14:38 sudo tee -a /etc/ssh/ssh_known_hosts 04:14:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:14:39 04:14:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:14:39 0.1.4: Pulling from edgex-devops/py-git-semver 04:14:39 b85a868b505f: Pulling fs layer 04:14:39 e2be974225ed: Pulling fs layer 04:14:39 339a4e72a1f5: Pulling fs layer 04:14:39 988bab9f4d93: Pulling fs layer 04:14:39 1469e6f7b9e6: Pulling fs layer 04:14:39 eaf3925da568: Pulling fs layer 04:14:39 bab4dde63d76: Pulling fs layer 04:14:39 bde34c3a00c8: Pulling fs layer 04:14:39 b352a97aabf1: Pulling fs layer 04:14:39 4872d77fe225: Pulling fs layer 04:14:39 5851b861e8e6: Pulling fs layer 04:14:39 eaf3925da568: Waiting 04:14:39 bab4dde63d76: Waiting 04:14:39 988bab9f4d93: Waiting 04:14:39 1469e6f7b9e6: Waiting 04:14:39 b352a97aabf1: Waiting 04:14:39 5851b861e8e6: Waiting 04:14:39 bde34c3a00c8: Waiting 04:14:39 e2be974225ed: Download complete 04:14:39 988bab9f4d93: Verifying Checksum 04:14:39 1469e6f7b9e6: Verifying Checksum 04:14:39 1469e6f7b9e6: Download complete 04:14:39 339a4e72a1f5: Verifying Checksum 04:14:39 339a4e72a1f5: Download complete 04:14:39 eaf3925da568: Verifying Checksum 04:14:39 eaf3925da568: Download complete 04:14:39 bde34c3a00c8: Verifying Checksum 04:14:39 bde34c3a00c8: Download complete 04:14:39 b352a97aabf1: Verifying Checksum 04:14:39 b352a97aabf1: Download complete 04:14:39 4872d77fe225: Download complete 04:14:39 5851b861e8e6: Verifying Checksum 04:14:39 5851b861e8e6: Download complete 04:14:39 b85a868b505f: Verifying Checksum 04:14:40 bab4dde63d76: Verifying Checksum 04:14:40 bab4dde63d76: Download complete 04:14:41 b85a868b505f: Pull complete 04:14:41 e2be974225ed: Pull complete 04:14:41 339a4e72a1f5: Pull complete 04:14:41 988bab9f4d93: Pull complete 04:14:41 1469e6f7b9e6: Pull complete 04:14:42 eaf3925da568: Pull complete 04:14:44 bab4dde63d76: Pull complete 04:14:44 bde34c3a00c8: Pull complete 04:14:44 b352a97aabf1: Pull complete 04:14:44 4872d77fe225: Pull complete 04:14:44 5851b861e8e6: Pull complete 04:14:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:14:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:44 prd-ubuntu20.04-docker-8c-8g-5111 does not seem to be running inside a container 04:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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-devops/py-git-semver:0.1.4 cat 04:14:46 $ docker top 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f -eo pid,comm 04:14:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:14:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:14:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:14:46 [ssh-agent] Looking for ssh-agent implementation... 04:14:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:14:46 $ docker exec 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f ssh-agent 04:14:47 SSH_AUTH_SOCK=/tmp/ssh-hKGaesgn3xVz/agent.33 04:14:47 SSH_AGENT_PID=39 04:14:47 Running ssh-add (command line suppressed) 04:14:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_14706879409570341051.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_14706879409570341051.key) 04:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:14:47 + git tag --points-at HEAD [Pipeline] } 04:14:47 $ docker exec --env ******** --env ******** 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f ssh-agent -k 04:14:47 unset SSH_AUTH_SOCK; 04:14:47 unset SSH_AGENT_PID; 04:14:47 echo Agent pid 39 killed; 04:14:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:14:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:14:47 [ssh-agent] Looking for ssh-agent implementation... 04:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:14:47 $ docker exec 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f ssh-agent 04:14:47 SSH_AUTH_SOCK=/tmp/ssh-o0udCRLVBe9M/agent.71 04:14:47 SSH_AGENT_PID=77 04:14:47 Running ssh-add (command line suppressed) 04:14:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_4942443953308815624.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_4942443953308815624.key) 04:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:14:48 + git semver init 04:14:48 2023-03-22 04:14:48,373 [run_init] DEBUG init version:0.0.0 force:False 04:14:48 2023-03-22 04:14:48,374 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver 04:14:48 2023-03-22 04:14:48,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver 04:14:48 2023-03-22 04:14:48,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395, universal_newlines=False, shell=None, istream=None) 04:14:49 2023-03-22 04:14:49,254 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.git/info/exclude 04:14:49 2023-03-22 04:14:49,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 with force:False 04:14:49 2023-03-22 04:14:49,255 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 04:14:49 2023-03-22 04:14:49,259 [execute] INFO git cat-file --batch-check 04:14:49 2023-03-22 04:14:49,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) 04:14:49 2023-03-22 04:14:49,265 [execute] INFO git cat-file --batch 04:14:49 2023-03-22 04:14:49,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) 04:14:49 2023-03-22 04:14:49,270 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 04:14:49 0.0.0 [Pipeline] } 04:14:49 $ docker exec --env ******** --env ******** 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f ssh-agent -k 04:14:49 unset SSH_AUTH_SOCK; 04:14:49 unset SSH_AGENT_PID; 04:14:49 echo Agent pid 77 killed; 04:14:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:14:49 + git semver [Pipeline] } 04:14:50 $ docker stop --time=1 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f 04:14:51 $ docker rm -f --volumes 4816d46b5e0dbb5fa57aa571529da147f82284490300789eae01a5f29a5fa44f [Pipeline] // withDockerContainer [Pipeline] sh 04:14:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:14:51 Stashed 1 file(s) [Pipeline] echo 04:14:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:52 provisioning config files... 04:14:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config12672543192555011550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:52 ---> docker-login.sh 04:14:52 nexus3.edgexfoundry.org:10001 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 nexus3.edgexfoundry.org:10002 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 nexus3.edgexfoundry.org:10003 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 nexus3.edgexfoundry.org:10004 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 docker.io 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 ---> docker-login.sh ends [Pipeline] } 04:14:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:53 ========================================================= 04:14:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:14:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:53 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:14:53 Sending build context to Docker daemon 10.8MB 04:14:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:14:53 Step 2/10 : FROM ${BASE} AS builder 04:14:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:14:53 63b65145d645: Pulling fs layer 04:14:53 a2d21d5440eb: Pulling fs layer 04:14:53 935e6c44a52c: Pulling fs layer 04:14:53 94cc34f8dd06: Pulling fs layer 04:14:53 30dea6a524f1: Pulling fs layer 04:14:53 a2aff8979fd8: Pulling fs layer 04:14:53 6808be2612f2: Pulling fs layer 04:14:53 f25807f1079a: Pulling fs layer 04:14:53 94cc34f8dd06: Waiting 04:14:53 30dea6a524f1: Waiting 04:14:53 a2aff8979fd8: Waiting 04:14:53 6808be2612f2: Waiting 04:14:53 f25807f1079a: Waiting 04:14:53 a2d21d5440eb: Download complete 04:14:53 94cc34f8dd06: Verifying Checksum 04:14:53 94cc34f8dd06: Download complete 04:14:53 30dea6a524f1: Verifying Checksum 04:14:53 30dea6a524f1: Download complete 04:14:53 63b65145d645: Download complete 04:14:53 a2aff8979fd8: Verifying Checksum 04:14:53 a2aff8979fd8: Download complete 04:14:53 63b65145d645: Pull complete 04:14:53 a2d21d5440eb: Pull complete 04:14:54 f25807f1079a: Verifying Checksum 04:14:54 f25807f1079a: Download complete 04:14:54 935e6c44a52c: Verifying Checksum 04:14:54 935e6c44a52c: Download complete 04:14:54 6808be2612f2: Verifying Checksum 04:14:54 6808be2612f2: Download complete 04:14:57 935e6c44a52c: Pull complete 04:14:57 94cc34f8dd06: Pull complete 04:14:57 30dea6a524f1: Pull complete 04:14:57 a2aff8979fd8: Pull complete 04:14:59 6808be2612f2: Pull complete 04:15:00 f25807f1079a: Pull complete 04:15:00 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:15:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:15:00 ---> 3b553350e43f 04:15:00 Step 3/10 : ARG MAKE=make build 04:15:05 ---> Running in bf427b7f0188 04:15:05 Removing intermediate container bf427b7f0188 04:15:05 ---> 845fb02fa262 04:15:05 Step 4/10 : WORKDIR /device-sdk-go 04:15:05 ---> Running in ad9111a6746f 04:15:05 Removing intermediate container ad9111a6746f 04:15:05 ---> 05bd3463a6de 04:15:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:15:05 ---> Running in f47dcba58561 04:15:05 Removing intermediate container f47dcba58561 04:15:05 ---> 3b29d4be358d 04:15:05 Step 6/10 : RUN apk add --update --no-cache make git 04:15:05 ---> Running in d2c9546dfad2 04:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:15:05 OK: 265 MiB in 53 packages 04:15:06 Removing intermediate container d2c9546dfad2 04:15:06 ---> 6ee6993601ca 04:15:06 Step 7/10 : COPY go.mod vendor* ./ 04:15:06 ---> 37adf6eb472a 04:15:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:06 ---> Running in 1a0aa496a8c6 04:15:07 Still waiting to schedule task 04:15:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:15:38 Removing intermediate container 1a0aa496a8c6 04:15:38 ---> db1f5c4e6065 04:15:38 Step 9/10 : COPY . . 04:15:38 ---> c7a798acc959 04:15:38 Step 10/10 : RUN ${MAKE} 04:15:38 ---> Running in 527babdb6bad 04:15:38 noop 04:15:38 Removing intermediate container 527babdb6bad 04:15:38 ---> 6aeca04e0c04 04:15:38 Successfully built 6aeca04e0c04 04:15:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:38 + docker inspect -f . ci-base-image-x86_64 04:15:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:38 prd-ubuntu20.04-docker-8c-8g-5111 does not seem to be running inside a container 04:15:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:15:38 $ docker top c2546fbbdae730b9ddd910e5d2923b6ae630b81e55adc03659e340a7fa10c8e4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:39 + go version 04:15:39 go version go1.20.2 linux/amd64 [Pipeline] } 04:15:39 $ docker stop --time=1 c2546fbbdae730b9ddd910e5d2923b6ae630b81e55adc03659e340a7fa10c8e4 04:15:40 $ docker rm -f --volumes c2546fbbdae730b9ddd910e5d2923b6ae630b81e55adc03659e340a7fa10c8e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:40 + docker inspect -f . ci-base-image-x86_64 04:15:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:41 prd-ubuntu20.04-docker-8c-8g-5111 does not seem to be running inside a container 04:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:15:41 $ docker top d119378f8f198446d227b9981490784618eeeb992439f6ba2ba7a4f5fb8b8f68 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] fileExists [Pipeline] sh 04:15:42 + make test 04:15:42 go test -race -coverprofile=coverage.out ./... 04:15:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:16:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 78.9% of statements 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.070s coverage: 86.0% of statements 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.9% of statements 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:16:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 15.2% of statements 04:16:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 04:16:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements 04:16:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 04:16:30 GO111MODULE=on go vet ./... 04:16:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:16:31 ./bin/test-attribution-txt.sh [Pipeline] echo 04:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:31 $ docker stop --time=1 d119378f8f198446d227b9981490784618eeeb992439f6ba2ba7a4f5fb8b8f68 04:16:35 $ docker rm -f --volumes d119378f8f198446d227b9981490784618eeeb992439f6ba2ba7a4f5fb8b8f68 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:36 + ls -al . 04:16:36 total 272 04:16:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 04:15 . 04:16:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:14 .. 04:16:36 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:14 .dockerignore 04:16:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:14 .git 04:16:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:14 .github 04:16:36 -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:14 .gitignore 04:16:36 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:14 .golangci.yml 04:16:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:14 .semver 04:16:36 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:14 CHANGELOG.md 04:16:36 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:14 GOVERNANCE.md 04:16:36 -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:14 Jenkinsfile 04:16:36 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:14 LICENSE 04:16:36 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:14 Makefile 04:16:36 -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:14 OWNERS.md 04:16:36 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:14 README.md 04:16:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:14 VERSION 04:16:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:14 bin 04:16:36 -rw-r--r-- 1 jenkins jenkins 105658 Mar 22 04:16 coverage.out 04:16:36 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:14 example 04:16:36 -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:14 go.mod 04:16:36 -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:14 go.sum 04:16:36 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:14 internal 04:16:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:14 openapi 04:16:36 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:14 pkg 04:16:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:14 snap 04:16:36 -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:37 + 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=b79095e6787c19f6d4298e7c908c36c08a20ad6a --label arch=amd64 --label version=0.0.0 . 04:16:37 Sending build context to Docker daemon 10.91MB 04:16:37 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:16:37 Step 2/23 : FROM ${BASE} AS builder 04:16:37 ---> 6aeca04e0c04 04:16:37 Step 3/23 : ARG MAKE=make build 04:16:37 ---> Running in 31f67339ccea 04:16:37 Removing intermediate container 31f67339ccea 04:16:37 ---> 005df1e59b86 04:16:37 Step 4/23 : WORKDIR /device-sdk-go 04:16:37 ---> Running in e5316f080279 04:16:37 Removing intermediate container e5316f080279 04:16:37 ---> f79bde3506dd 04:16:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:16:37 ---> Running in b5993b3ece89 04:16:37 Removing intermediate container b5993b3ece89 04:16:37 ---> 74a7489eb6d6 04:16:37 Step 6/23 : RUN apk add --update --no-cache make git 04:16:37 ---> Running in c7aa3692ca0c 04:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:16:38 OK: 265 MiB in 53 packages 04:16:38 Removing intermediate container c7aa3692ca0c 04:16:38 ---> 0e1da299a17c 04:16:38 Step 7/23 : COPY go.mod vendor* ./ 04:16:38 ---> e9b2a8b95e04 04:16:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:38 ---> Running in 154740602cd6 04:16:39 Removing intermediate container 154740602cd6 04:16:39 ---> 5835489b6d70 04:16:39 Step 9/23 : COPY . . 04:16:40 ---> 7902ed5e8baa 04:16:40 Step 10/23 : RUN ${MAKE} 04:16:40 ---> Running in c57023616fb2 04:16:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:02 Removing intermediate container c57023616fb2 04:17:02 ---> 6fda45cb255f 04:17:02 Step 11/23 : FROM alpine:3.17 04:17:02 3.17: Pulling from library/alpine 04:17:02 63b65145d645: Already exists 04:17:02 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:17:02 Status: Downloaded newer image for alpine:3.17 04:17:02 ---> b2aa39c304c2 04:17:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:02 ---> Running in 96fd726f4a1e 04:17:02 Removing intermediate container 96fd726f4a1e 04:17:02 ---> 0e8a84cf25e7 04:17:02 Step 13/23 : RUN apk add --update --no-cache 04:17:02 ---> Running in dbae6d79c43c 04:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:17:02 OK: 7 MiB in 15 packages 04:17:02 Removing intermediate container dbae6d79c43c 04:17:02 ---> aaa93fc23b30 04:17:02 Step 14/23 : WORKDIR / 04:17:02 ---> Running in 121e3b1f952e 04:17:02 Removing intermediate container 121e3b1f952e 04:17:02 ---> 2f5e320e1e14 04:17:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:02 ---> 5409bd8093d4 04:17:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:02 ---> 6062839bad9b 04:17:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:02 ---> 4ab5120278d5 04:17:02 Step 18/23 : EXPOSE 59999 04:17:02 ---> Running in 82afc30ae8fb 04:17:02 Removing intermediate container 82afc30ae8fb 04:17:02 ---> 2d51187ed2ed 04:17:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:17:02 ---> Running in 75c061eddc44 04:17:02 Removing intermediate container 75c061eddc44 04:17:02 ---> d0e3ceb2bf81 04:17:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:17:02 ---> Running in 1e77ec54917e 04:17:03 Removing intermediate container 1e77ec54917e 04:17:03 ---> 85c78e81b6c5 04:17:03 Step 21/23 : LABEL arch=amd64 04:17:03 ---> Running in a91571fe3646 04:17:03 Removing intermediate container a91571fe3646 04:17:03 ---> 1248b10f325c 04:17:03 Step 22/23 : LABEL git_sha=b79095e6787c19f6d4298e7c908c36c08a20ad6a 04:17:03 ---> Running in c08d6f357a8e 04:17:03 Removing intermediate container c08d6f357a8e 04:17:03 ---> 52d53a3351cc 04:17:03 Step 23/23 : LABEL version=0.0.0 04:17:03 ---> Running in 366d53af741c 04:17:03 Removing intermediate container 366d53af741c 04:17:03 ---> 7aecd1f7c0e2 04:17:03 [Warning] One or more build-args [ARCH] were not consumed 04:17:03 Successfully built 7aecd1f7c0e2 04:17:03 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 04:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:03 04:17:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:04 latest: Pulling from edgex-lftools-log-publisher 04:17:04 5eb5b503b376: Pulling fs layer 04:17:04 5c69ac0246d0: Pulling fs layer 04:17:04 ec43610c2a17: Pulling fs layer 04:17:04 3a2ae6a8a46f: Pulling fs layer 04:17:04 33b1e0a273af: Pulling fs layer 04:17:04 5d3b04190fa2: Pulling fs layer 04:17:04 2f39f015ded8: Pulling fs layer 04:17:04 3a2ae6a8a46f: Waiting 04:17:04 33b1e0a273af: Waiting 04:17:04 5d3b04190fa2: Waiting 04:17:04 2f39f015ded8: Waiting 04:17:04 5c69ac0246d0: Verifying Checksum 04:17:04 5c69ac0246d0: Download complete 04:17:04 3a2ae6a8a46f: Verifying Checksum 04:17:04 3a2ae6a8a46f: Download complete 04:17:04 33b1e0a273af: Verifying Checksum 04:17:04 33b1e0a273af: Download complete 04:17:04 5d3b04190fa2: Verifying Checksum 04:17:04 5d3b04190fa2: Download complete 04:17:04 ec43610c2a17: Download complete 04:17:04 5eb5b503b376: Verifying Checksum 04:17:04 5eb5b503b376: Download complete 04:17:05 2f39f015ded8: Download complete 04:17:05 5eb5b503b376: Pull complete 04:17:05 5c69ac0246d0: Pull complete 04:17:06 ec43610c2a17: Pull complete 04:17:06 3a2ae6a8a46f: Pull complete 04:17:06 33b1e0a273af: Pull complete 04:17:06 5d3b04190fa2: Pull complete 04:17:10 2f39f015ded8: Pull complete 04:17:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:10 prd-ubuntu20.04-docker-8c-8g-5111 does not seem to be running inside a container 04:17:10 $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:14 $ docker top d31f26b3d417d218a9be72e684fe86cda6b7ea7108d123109d2255ace9b91ae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:15 ---> job-cost.sh 04:17:15 lf-activate-venv: SKIPPING 04:17:15 INFO: No Stack... 04:17:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:15 INFO: Archiving Costs [Pipeline] sh 04:17:16 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/cost.csv 04:17:16 cut -d, -f6 [Pipeline] lock 04:17:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] 04:17:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] did not exist. Created. 04:17:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:16 + echo total: 0.2199999988079071 [Pipeline] stash 04:17:16 Stashed 1 file(s) [Pipeline] } 04:17:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:16 $ docker stop --time=1 d31f26b3d417d218a9be72e684fe86cda6b7ea7108d123109d2255ace9b91ae9 04:17:17 $ docker rm -f --volumes d31f26b3d417d218a9be72e684fe86cda6b7ea7108d123109d2255ace9b91ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:17:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5112 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] { [Pipeline] ws 04:17:36 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:17:36 The recommended git tool is: git 04:17:42 using credential edgex-jenkins-ssh 04:17:42 Cloning the remote Git repository 04:17:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:17:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:17:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:42 > git --version # timeout=10 04:17:42 > git --version # 'git version 2.25.1' 04:17:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:46 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit b79095e6787c19f6d4298e7c908c36c08a20ad6a 04:17:46 Merge succeeded, producing b79095e6787c19f6d4298e7c908c36c08a20ad6a 04:17:46 Checking out Revision b79095e6787c19f6d4298e7c908c36c08a20ad6a (PR-1395) 04:17:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:17:46 > git config core.sparsecheckout # timeout=10 04:17:46 > git checkout -f b79095e6787c19f6d4298e7c908c36c08a20ad6a # timeout=10 04:17:46 > git remote # timeout=10 04:17:46 > git config --get remote.origin.url # timeout=10 04:17:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:46 > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 04:17:46 > git rev-parse HEAD^{commit} # timeout=10 04:17:46 > git config core.sparsecheckout # timeout=10 04:17:46 > git checkout -f b79095e6787c19f6d4298e7c908c36c08a20ad6a # timeout=10 04:17:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:17:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:47 Dload Upload Total Spent Left Speed 04:17:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 12751 54 6881 0 0 54611 0 --:--:-- --:--:-- --:--:-- 54611 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 04:17:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:17:48 + sudo tee /etc/docker/daemon.new 04:17:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:17:48 { 04:17:48 "registry-mirrors": [ 04:17:48 "https://nexus3.edgexfoundry.org:10001" 04:17:48 ], 04:17:48 "bip": "10.250.0.254/24", 04:17:48 "hosts": [ 04:17:48 "tcp://0.0.0.0:5555", 04:17:48 "unix:///var/run/docker.sock" 04:17:48 ], 04:17:48 "mtu": 1458, 04:17:48 "selinux-enabled": true, 04:17:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:17:48 } [Pipeline] sh 04:17:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:17:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:07 provisioning config files... 04:18:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3278967781845005061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:08 ---> docker-login.sh 04:18:08 nexus3.edgexfoundry.org:10001 04:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:08 Configure a credential helper to remove this warning. See 04:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:08 04:18:08 Login Succeeded 04:18:08 nexus3.edgexfoundry.org:10002 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 nexus3.edgexfoundry.org:10003 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 nexus3.edgexfoundry.org:10004 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:10 Configure a credential helper to remove this warning. See 04:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:10 04:18:10 Login Succeeded 04:18:10 docker.io 04:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:10 Configure a credential helper to remove this warning. See 04:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:10 04:18:10 Login Succeeded 04:18:10 ---> docker-login.sh ends [Pipeline] } 04:18:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:11 ========================================================= 04:18:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:18:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:11 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:18:12 Sending build context to Docker daemon 5.799MB 04:18:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:18:12 Step 2/10 : FROM ${BASE} AS builder 04:18:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:18:12 af6eaf76a39c: Pulling fs layer 04:18:12 55522c791124: Pulling fs layer 04:18:12 ce5c4a1c91eb: Pulling fs layer 04:18:12 169dfbe0d373: Pulling fs layer 04:18:12 e1ff8fa3b103: Pulling fs layer 04:18:12 52ebb69f0ebf: Pulling fs layer 04:18:12 5abe8eddf0d5: Pulling fs layer 04:18:12 e1ff8fa3b103: Waiting 04:18:12 169dfbe0d373: Waiting 04:18:12 52ebb69f0ebf: Waiting 04:18:12 5abe8eddf0d5: Waiting 04:18:12 55522c791124: Download complete 04:18:12 169dfbe0d373: Verifying Checksum 04:18:12 169dfbe0d373: Download complete 04:18:12 e1ff8fa3b103: Verifying Checksum 04:18:12 e1ff8fa3b103: Download complete 04:18:12 af6eaf76a39c: Verifying Checksum 04:18:12 af6eaf76a39c: Download complete 04:18:13 af6eaf76a39c: Pull complete 04:18:13 5abe8eddf0d5: Verifying Checksum 04:18:13 5abe8eddf0d5: Download complete 04:18:14 55522c791124: Pull complete 04:18:15 ce5c4a1c91eb: Verifying Checksum 04:18:15 ce5c4a1c91eb: Download complete 04:18:15 52ebb69f0ebf: Verifying Checksum 04:18:15 52ebb69f0ebf: Download complete 04:18:27 ce5c4a1c91eb: Pull complete 04:18:27 169dfbe0d373: Pull complete 04:18:27 e1ff8fa3b103: Pull complete 04:18:34 52ebb69f0ebf: Pull complete 04:18:35 5abe8eddf0d5: Pull complete 04:18:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:18:35 ---> 6cb57ee374ae 04:18:35 Step 3/10 : ARG MAKE=make build 04:18:37 ---> Running in 643a2942551b 04:18:38 Removing intermediate container 643a2942551b 04:18:38 ---> 39455ac925b0 04:18:38 Step 4/10 : WORKDIR /device-sdk-go 04:18:38 ---> Running in 26060528c056 04:18:38 Removing intermediate container 26060528c056 04:18:38 ---> 8e3331183b7e 04:18:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:18:38 ---> Running in d5fa5cd7d222 04:18:38 Removing intermediate container d5fa5cd7d222 04:18:38 ---> 3bf04c897b47 04:18:38 Step 6/10 : RUN apk add --update --no-cache make git 04:18:38 ---> Running in f8ac6d60d45b 04:18:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:18:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:18:41 OK: 263 MiB in 53 packages 04:18:42 Removing intermediate container f8ac6d60d45b 04:18:42 ---> e256aaccf767 04:18:42 Step 7/10 : COPY go.mod vendor* ./ 04:18:43 ---> a582381cf4a9 04:18:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:43 ---> Running in a8d6c1540ffe 04:19:51 Removing intermediate container a8d6c1540ffe 04:19:51 ---> 6962e151952e 04:19:51 Step 9/10 : COPY . . 04:19:51 ---> af0bf597ea01 04:19:51 Step 10/10 : RUN ${MAKE} 04:19:51 ---> Running in 957d748a234b 04:19:51 noop 04:19:51 Removing intermediate container 957d748a234b 04:19:51 ---> 625d55d92526 04:19:51 Successfully built 625d55d92526 04:19:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:51 + docker inspect -f . ci-base-image-arm64 04:19:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-5112 does not seem to be running inside a container 04:19:51 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:19:52 $ docker top e90d6afc02f3c510c55b9767a80ebb0a343bf16c467b2fa69765964d04468dfb -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:53 + go version 04:19:53 go version go1.20.2 linux/arm64 [Pipeline] } 04:19:53 $ docker stop --time=1 e90d6afc02f3c510c55b9767a80ebb0a343bf16c467b2fa69765964d04468dfb 04:19:55 $ docker rm -f --volumes e90d6afc02f3c510c55b9767a80ebb0a343bf16c467b2fa69765964d04468dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:55 + docker inspect -f . ci-base-image-arm64 04:19:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:56 prd-ubuntu20.04-docker-arm64-4c-16g-5112 does not seem to be running inside a container 04:19:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat 04:19:57 $ docker top 2b81c2f71a122bc8061ea6f30a5b8dc8dad7f5fef0ff513df813aa97678f9f9b -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:57 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 04:19:58 + make test 04:19:58 go test -race -coverprofile=coverage.out ./... 04:20:45 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:23:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.258s coverage: 27.6% of statements 04:23:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.295s coverage: 78.9% of statements 04:23:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:23:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:23:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.402s coverage: 86.0% of statements 04:23:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:23:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.435s coverage: 75.9% of statements 04:23:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:23:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:23:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:23:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 15.2% of statements 04:23:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 68.5% of statements 04:23:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.461s coverage: 89.2% of statements 04:23:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:23:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.259s coverage: 5.5% of statements 04:23:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:23:35 GO111MODULE=on go vet ./... 04:26:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:26:12 ./bin/test-attribution-txt.sh [Pipeline] echo 04:26:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:26:12 $ docker stop --time=1 2b81c2f71a122bc8061ea6f30a5b8dc8dad7f5fef0ff513df813aa97678f9f9b 04:26:14 $ docker rm -f --volumes 2b81c2f71a122bc8061ea6f30a5b8dc8dad7f5fef0ff513df813aa97678f9f9b [Pipeline] // withDockerContainer [Pipeline] sh 04:26:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:15 Warning: overwriting stash ‘coverage-report’ 04:26:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:17 + ls -al . 04:26:17 total 268 04:26:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 04:20 . 04:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:17 .. 04:26:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:17 .dockerignore 04:26:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:17 .git 04:26:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:17 .github 04:26:17 -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:17 .gitignore 04:26:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:17 .golangci.yml 04:26:17 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:17 CHANGELOG.md 04:26:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:17 GOVERNANCE.md 04:26:17 -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:17 Jenkinsfile 04:26:17 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:17 LICENSE 04:26:17 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:17 Makefile 04:26:17 -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:17 OWNERS.md 04:26:17 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:17 README.md 04:26:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:14 VERSION 04:26:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:17 bin 04:26:17 -rw-r--r-- 1 jenkins jenkins 105656 Mar 22 04:23 coverage.out 04:26:17 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:17 example 04:26:17 -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:17 go.mod 04:26:17 -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:17 go.sum 04:26:17 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:17 internal 04:26:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:17 openapi 04:26:17 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:17 pkg 04:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:17 snap 04:26:17 -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:17 + 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=b79095e6787c19f6d4298e7c908c36c08a20ad6a --label arch=arm64 --label version=0.0.0 . 04:26:17 Sending build context to Docker daemon 5.905MB 04:26:17 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:26:17 Step 2/23 : FROM ${BASE} AS builder 04:26:17 ---> 625d55d92526 04:26:17 Step 3/23 : ARG MAKE=make build 04:26:17 ---> Running in 9e651f438249 04:26:18 Removing intermediate container 9e651f438249 04:26:18 ---> bedd2d2d3871 04:26:18 Step 4/23 : WORKDIR /device-sdk-go 04:26:18 ---> Running in cafaebac2510 04:26:18 Removing intermediate container cafaebac2510 04:26:18 ---> ddbb5a33504c 04:26:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:26:18 ---> Running in 704e93477dac 04:26:19 Removing intermediate container 704e93477dac 04:26:19 ---> 029023bcef2b 04:26:19 Step 6/23 : RUN apk add --update --no-cache make git 04:26:19 ---> Running in 9d2985602722 04:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:26:21 OK: 263 MiB in 53 packages 04:26:22 Removing intermediate container 9d2985602722 04:26:22 ---> 8e2577967730 04:26:22 Step 7/23 : COPY go.mod vendor* ./ 04:26:23 ---> 6157d4e633eb 04:26:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:23 ---> Running in 85b2b9e589f2 04:26:25 Removing intermediate container 85b2b9e589f2 04:26:25 ---> 13a24f3275d7 04:26:25 Step 9/23 : COPY . . 04:26:27 ---> 226ca67ea170 04:26:27 Step 10/23 : RUN ${MAKE} 04:26:27 ---> Running in a93c4e4fe765 04:26:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:28:51 Removing intermediate container a93c4e4fe765 04:28:51 ---> ebefa0a8a60f 04:28:51 Step 11/23 : FROM alpine:3.17 04:28:51 3.17: Pulling from library/alpine 04:28:51 af6eaf76a39c: Already exists 04:28:51 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:28:51 Status: Downloaded newer image for alpine:3.17 04:28:51 ---> d74e625d9115 04:28:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:28:51 ---> Running in 40128b73bcde 04:28:51 Removing intermediate container 40128b73bcde 04:28:51 ---> ce88f8470e80 04:28:51 Step 13/23 : RUN apk add --update --no-cache 04:28:51 ---> Running in 33ff81d2cff6 04:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:28:51 OK: 7 MiB in 15 packages 04:28:51 Removing intermediate container 33ff81d2cff6 04:28:51 ---> de50a1c77570 04:28:51 Step 14/23 : WORKDIR / 04:28:51 ---> Running in 7f223d760e60 04:28:51 Removing intermediate container 7f223d760e60 04:28:51 ---> 680c0bed712e 04:28:51 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:51 ---> f589e45a03c2 04:28:51 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:51 ---> c441472bbac0 04:28:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:51 ---> 56cdb7003abd 04:28:51 Step 18/23 : EXPOSE 59999 04:28:51 ---> Running in 912e145013b6 04:28:51 Removing intermediate container 912e145013b6 04:28:51 ---> 950caa6f1f42 04:28:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:28:51 ---> Running in acb57b1b5038 04:28:52 Removing intermediate container acb57b1b5038 04:28:52 ---> 8b98be455992 04:28:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:28:52 ---> Running in 1e6363608df4 04:28:52 Removing intermediate container 1e6363608df4 04:28:52 ---> bb842cbd1533 04:28:52 Step 21/23 : LABEL arch=arm64 04:28:52 ---> Running in 87d04eb27e1f 04:28:53 Removing intermediate container 87d04eb27e1f 04:28:53 ---> e6a2cca815b8 04:28:53 Step 22/23 : LABEL git_sha=b79095e6787c19f6d4298e7c908c36c08a20ad6a 04:28:53 ---> Running in e1a28a6324ad 04:28:53 Removing intermediate container e1a28a6324ad 04:28:53 ---> b030ce9b5f1b 04:28:53 Step 23/23 : LABEL version=0.0.0 04:28:53 ---> Running in 8c5e715e2807 04:28:53 Removing intermediate container 8c5e715e2807 04:28:53 ---> 754545b4609e 04:28:53 [Warning] One or more build-args [ARCH] were not consumed 04:28:53 Successfully built 754545b4609e 04:28:53 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 04:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:54 04:28:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:54 arm64: Pulling from edgex-lftools-log-publisher 04:28:54 8998bd30e6a1: Pulling fs layer 04:28:54 04944245beec: Pulling fs layer 04:28:54 699f458cf7ca: Pulling fs layer 04:28:54 765212b225bb: Pulling fs layer 04:28:54 f23df028b6ca: Pulling fs layer 04:28:54 d65c8cfc05b1: Pulling fs layer 04:28:54 2437ff75d9bd: Pulling fs layer 04:28:54 d65c8cfc05b1: Waiting 04:28:54 765212b225bb: Waiting 04:28:54 2437ff75d9bd: Waiting 04:28:54 f23df028b6ca: Waiting 04:28:54 04944245beec: Verifying Checksum 04:28:54 765212b225bb: Verifying Checksum 04:28:54 765212b225bb: Download complete 04:28:54 f23df028b6ca: Download complete 04:28:54 d65c8cfc05b1: Verifying Checksum 04:28:54 d65c8cfc05b1: Download complete 04:28:54 699f458cf7ca: Verifying Checksum 04:28:54 699f458cf7ca: Download complete 04:28:55 8998bd30e6a1: Verifying Checksum 04:28:55 8998bd30e6a1: Download complete 04:28:57 2437ff75d9bd: Verifying Checksum 04:28:57 2437ff75d9bd: Download complete 04:29:01 8998bd30e6a1: Pull complete 04:29:01 04944245beec: Pull complete 04:29:02 699f458cf7ca: Pull complete 04:29:02 765212b225bb: Pull complete 04:29:03 f23df028b6ca: Pull complete 04:29:03 d65c8cfc05b1: Pull complete 04:29:16 2437ff75d9bd: Pull complete 04:29:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:29:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:16 prd-ubuntu20.04-docker-arm64-4c-16g-5112 does not seem to be running inside a container 04:29:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:29:18 $ docker top ceec5b299256b04cf228c8315448dac8e4708fedcc3230d4d45435ed23c5ec63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:19 ---> job-cost.sh 04:29:19 lf-activate-venv: SKIPPING 04:29:19 INFO: No Stack... 04:29:20 INFO: Retrieving Pricing Info for: v3-standard-4 04:29:20 INFO: Archiving Costs [Pipeline] sh 04:29:21 + cat+ cut /w/workspace/device-sdk-go/2/archives/cost.csv -d, 04:29:21 -f6 [Pipeline] lock 04:29:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] 04:29:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] did not exist. Created. 04:29:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:21 /w/workspace/device-sdk-go/2@tmp/durable-0b93573b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:29:22 + echo total: 0.10999999940395355 [Pipeline] stash 04:29:22 Warning: overwriting stash ‘stack-cost’ 04:29:22 Stashed 1 file(s) [Pipeline] } 04:29:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:22 $ docker stop --time=1 ceec5b299256b04cf228c8315448dac8e4708fedcc3230d4d45435ed23c5ec63 04:29:23 $ docker rm -f --volumes ceec5b299256b04cf228c8315448dac8e4708fedcc3230d4d45435ed23c5ec63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:29:24 provisioning config files... 04:29:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config3002617799276068158tmp [Pipeline] { [Pipeline] sh 04:29:24 + set +x 04:29:24 + + bash -s -- 04:29:24 curl -s https://codecov.io/bash 04:29:24 04:29:24 _____ _ 04:29:24 / ____| | | 04:29:24 | | ___ __| | ___ ___ _____ __ 04:29:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:29:24 | |___| (_) | (_| | __/ (_| (_) \ V / 04:29:24 \_____\___/ \__,_|\___|\___\___/ \_/ 04:29:24 Bash-1.0.6 04:29:24 04:29:24 04:29:24 ==> git version 2.25.1 found 04:29:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:29:24 Release-Date: 2020-01-08 04:29:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:29:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:29:24 ==> Jenkins CI detected. 04:29:24 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1395 04:29:24 project root: . 04:29:24 --> token set from env 04:29:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:29:24 ==> Running gcov in . (disable via -X gcov) 04:29:24 ==> Python coveragepy not found 04:29:24 ==> Searching for coverage reports in: 04:29:24 + . 04:29:24 -> Found 1 reports 04:29:24 ==> Detecting git/mercurial file structure 04:29:24 ==> Reading reports 04:29:24 + ./coverage.out bytes=105656 04:29:24 ==> Appending adjustments 04:29:24 https://docs.codecov.io/docs/fixing-reports 04:29:24 + Found adjustments 04:29:24 ==> Gzipping contents 04:29:24 16K /tmp/codecov.f2qRda.gz 04:29:24 ==> Uploading reports 04:29:24 url: https://codecov.io 04:29:24 query: branch=PR-1395&commit=b79095e6787c19f6d4298e7c908c36c08a20ad6a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= 04:29:24 -> Pinging Codecov 04:29:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1395&commit=b79095e6787c19f6d4298e7c908c36c08a20ad6a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= 04:29:24 -> Uploading to 04:29:24 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/b79095e6787c19f6d4298e7c908c36c08a20ad6a/95f81d02-6ec1-482d-a51c-a7c675614e53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T042924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38ef4e5a0c32bcba4198e2be0debf0f4dca4c003693d354c5cf6de0149fcbab3 04:29:24 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:24 Dload Upload Total Spent Left Speed 04:29:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14985 0 0 100 14985 0 58307 --:--:-- --:--:-- --:--:-- 58307 04:29:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b79095e6787c19f6d4298e7c908c36c08a20ad6a [Pipeline] } 04:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:29:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives ] 04:29:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 04:29:25 total 16 04:29:25 drwxr-xr-x 3 root root 4096 Mar 22 04:17 . 04:29:25 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:17 .. 04:29:25 drwxr-xr-x 2 root root 4096 Mar 22 04:17 cost 04:29:25 -rw-r--r-- 1 root root 86 Mar 22 04:17 cost.csv 04:29:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 04:29:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives 04:29:25 total 16 04:29:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:17 . 04:29:25 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:17 .. 04:29:25 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 04:17 cost 04:29:25 -rw-r--r-- 1 jenkins jenkins 86 Mar 22 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:29:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:29:27 ---> package-listing.sh 04:29:27 ++ facter osfamily 04:29:27 ++ tr '[:upper:]' '[:lower:]' 04:29:27 + OS_FAMILY=debian 04:29:27 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1395 04:29:27 + START_PACKAGES=/tmp/packages_start.txt 04:29:27 + END_PACKAGES=/tmp/packages_end.txt 04:29:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:29:27 + PACKAGES=/tmp/packages_start.txt 04:29:27 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' 04:29:27 + PACKAGES=/tmp/packages_end.txt 04:29:27 + case "${OS_FAMILY}" in 04:29:27 + dpkg -l 04:29:27 + grep '^ii' 04:29:27 + '[' -f /tmp/packages_start.txt ']' 04:29:27 + '[' -f /tmp/packages_end.txt ']' 04:29:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:29:27 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' 04:29:27 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ 04:29:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [Pipeline] echo 04:29:27 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-1395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:29:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:28 prd-ubuntu20.04-docker-8c-8g-5111 does not seem to be running inside a container 04:29:28 $ 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-1395/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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:28 $ docker top 4aff8346efccde535e705f967b141569986a572d13623643c501c62c4dca6233 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:29:29 + mkdir -p /var/log/sysstat [Pipeline] sh 04:29:29 + ls /var/log/sa-host 04:29:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:29 provisioning config files... 04:29:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config10857145967240451602tmp [Pipeline] { [Pipeline] echo 04:29:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:29 ---> create-netrc.sh [Pipeline] } 04:29:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:29:30 ---> python-tools-install.sh [Pipeline] echo 04:29:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:30 ---> sudo-logs.sh 04:29:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:30 ---> job-cost.sh 04:29:30 lf-activate-venv: SKIPPING 04:29:30 DEBUG: total: 0.2199999988079071 04:29:30 INFO: Retrieving Stack Cost... 04:29:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:31 INFO: Archiving Costs [Pipeline] echo 04:29:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:31 ---> logs-deploy.sh 04:29:31 lf-activate-venv: SKIPPING 04:29:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1395/2 04:29:31 INFO: archiving workspace using pattern(s): 04:29:32 Archives upload complete. 04:29:32 INFO: archiving logs to Nexus