Pull request #1401 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b494a88837c109062c1a44bf47c10b1d995b3575+ba03d3229d39ccd3d083a66246eea2ffd8e01960 (16c3da5688a5420a7e62ad5d8f7882328cd1825e) 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-ssh6023250387614722757.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-ssh11387049273381834945.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-1401/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-1401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13673479054135314312.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-ssh4053443295224314620.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-1401/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-1401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11360074647837872991.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-5453 in /w/workspace/gexfoundry_device-sdk-go_PR-1401 [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-1401 # 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 Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit b494a88837c109062c1a44bf47c10b1d995b3575 Merge succeeded, producing b494a88837c109062c1a44bf47c10b1d995b3575 Checking out Revision b494a88837c109062c1a44bf47c10b1d995b3575 (PR-1401) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > 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/1401/head:refs/remotes/origin/PR-1401 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b494a88837c109062c1a44bf47c10b1d995b3575 # 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 ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b494a88837c109062c1a44bf47c10b1d995b3575 # timeout=10 > git rev-list --no-walk 2b8bf220454c26cf82121bfd78fa9be877917200 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:09:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:09:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:09:51 ========================================================= 12:09:51 EdgeX Global Pipelines Version Info 12:09:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:09:52 ------------------- 12:09:52 stable info: 12:09:52 ------------------- 12:09:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:09:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:09:52 Message: update stable to v1.0.245 12:09:52 ------------------- 12:09:52 experimental info: 12:09:52 ------------------- 12:09:52 Commited By: **** collab-it+edgex@linuxfoundation.org 12:09:52 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 12:09:52 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:09:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:09:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1401 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1401 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1401 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b494a88837c109062c1a44bf47c10b1d995b3575 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b494a88 [Pipeline] echo 12:09:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:53 provisioning config files... 12:09:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/config11107607031946091741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:53 ---> docker-login.sh 12:09:53 nexus3.edgexfoundry.org:10001 12:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:54 Configure a credential helper to remove this warning. See 12:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:54 12:09:54 Login Succeeded 12:09:54 nexus3.edgexfoundry.org:10002 12:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:54 Configure a credential helper to remove this warning. See 12:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:54 12:09:54 Login Succeeded 12:09:54 nexus3.edgexfoundry.org:10003 12:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:54 Configure a credential helper to remove this warning. See 12:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:54 12:09:54 Login Succeeded 12:09:54 nexus3.edgexfoundry.org:10004 12:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:54 Configure a credential helper to remove this warning. See 12:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:54 12:09:54 Login Succeeded 12:09:54 docker.io 12:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:54 Configure a credential helper to remove this warning. See 12:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:54 12:09:54 Login Succeeded 12:09:54 ---> docker-login.sh ends [Pipeline] } 12:09:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:09:55 + git rev-list -1 --merges b494a88837c109062c1a44bf47c10b1d995b3575~1..b494a88837c109062c1a44bf47c10b1d995b3575 [Pipeline] echo 12:09:55 -----------> git rev-list -1 --merges b494a88837c109062c1a44bf47c10b1d995b3575~1..b494a88837c109062c1a44bf47c10b1d995b3575 b494a88837c109062c1a44bf47c10b1d995b3575 [false] [Pipeline] sh 12:09:55 + git log --format=format:%s -1 b494a88837c109062c1a44bf47c10b1d995b3575 [Pipeline] echo 12:09:55 ========================================================= 12:09:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:09:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:55 + git log --format=format:%s -1 b494a88837c109062c1a44bf47c10b1d995b3575 [Pipeline] echo 12:09:55 [semverPrep] GIT_COMMIT: b494a88837c109062c1a44bf47c10b1d995b3575, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 12:09:55 [semverPrep] This is not a build commit. [Pipeline] sh 12:09:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:09:56 + grep -v github /etc/ssh/ssh_known_hosts 12:09:56 + [ -e /tmp/ssh_known_hosts ] 12:09:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:09:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:09:56 + sudo tee -a /etc/ssh/ssh_known_hosts 12:09:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:56 12:09:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:56 0.1.4: Pulling from edgex-devops/py-git-semver 12:09:56 b85a868b505f: Pulling fs layer 12:09:56 e2be974225ed: Pulling fs layer 12:09:56 339a4e72a1f5: Pulling fs layer 12:09:56 988bab9f4d93: Pulling fs layer 12:09:56 1469e6f7b9e6: Pulling fs layer 12:09:56 eaf3925da568: Pulling fs layer 12:09:56 bab4dde63d76: Pulling fs layer 12:09:56 bde34c3a00c8: Pulling fs layer 12:09:56 b352a97aabf1: Pulling fs layer 12:09:56 4872d77fe225: Pulling fs layer 12:09:56 5851b861e8e6: Pulling fs layer 12:09:56 1469e6f7b9e6: Waiting 12:09:56 eaf3925da568: Waiting 12:09:56 bab4dde63d76: Waiting 12:09:56 bde34c3a00c8: Waiting 12:09:56 b352a97aabf1: Waiting 12:09:56 4872d77fe225: Waiting 12:09:56 5851b861e8e6: Waiting 12:09:56 988bab9f4d93: Waiting 12:09:56 e2be974225ed: Verifying Checksum 12:09:56 e2be974225ed: Download complete 12:09:56 988bab9f4d93: Verifying Checksum 12:09:56 988bab9f4d93: Download complete 12:09:57 1469e6f7b9e6: Verifying Checksum 12:09:57 1469e6f7b9e6: Download complete 12:09:57 339a4e72a1f5: Verifying Checksum 12:09:57 339a4e72a1f5: Download complete 12:09:57 eaf3925da568: Verifying Checksum 12:09:57 eaf3925da568: Download complete 12:09:57 bde34c3a00c8: Download complete 12:09:57 4872d77fe225: Verifying Checksum 12:09:57 4872d77fe225: Download complete 12:09:57 b85a868b505f: Verifying Checksum 12:09:57 b85a868b505f: Download complete 12:09:57 5851b861e8e6: Verifying Checksum 12:09:57 5851b861e8e6: Download complete 12:09:57 bab4dde63d76: Verifying Checksum 12:09:57 bab4dde63d76: Download complete 12:09:58 b85a868b505f: Pull complete 12:09:58 e2be974225ed: Pull complete 12:09:59 339a4e72a1f5: Pull complete 12:09:59 988bab9f4d93: Pull complete 12:09:59 1469e6f7b9e6: Pull complete 12:09:59 eaf3925da568: Pull complete 12:10:01 bab4dde63d76: Pull complete 12:10:01 bde34c3a00c8: Pull complete 12:10:01 b352a97aabf1: Pull complete 12:10:01 4872d77fe225: Pull complete 12:10:01 5851b861e8e6: Pull complete 12:10:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:10:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:02 prd-ubuntu20.04-docker-8c-8g-5453 does not seem to be running inside a container 12:10:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1401 -v /w/workspace/gexfoundry_device-sdk-go_PR-1401:/w/workspace/gexfoundry_device-sdk-go_PR-1401:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1401@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 12:10:03 $ docker top f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 -eo pid,comm 12:10:03 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). 12:10:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:10:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:03 [ssh-agent] Looking for ssh-agent implementation... 12:10:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:03 $ docker exec f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 ssh-agent 12:10:03 SSH_AUTH_SOCK=/tmp/ssh-w3igq9YWtAUB/agent.32 12:10:03 SSH_AGENT_PID=38 12:10:03 Running ssh-add (command line suppressed) 12:10:03 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/private_key_14789913632900875249.key (/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/private_key_14789913632900875249.key) 12:10:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:04 + git tag --points-at HEAD [Pipeline] } 12:10:04 $ docker exec --env ******** --env ******** f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 ssh-agent -k 12:10:04 unset SSH_AUTH_SOCK; 12:10:04 unset SSH_AGENT_PID; 12:10:04 echo Agent pid 38 killed; 12:10:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:10:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:04 [ssh-agent] Looking for ssh-agent implementation... 12:10:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:04 $ docker exec f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 ssh-agent 12:10:04 SSH_AUTH_SOCK=/tmp/ssh-HC7lIf0TWSEL/agent.70 12:10:04 SSH_AGENT_PID=76 12:10:04 Running ssh-add (command line suppressed) 12:10:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/private_key_1106527091829257695.key (/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/private_key_1106527091829257695.key) 12:10:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:05 + git semver init 12:10:05 2023-03-23 12:10:05,227 [run_init] DEBUG init version:0.0.0 force:False 12:10:05 2023-03-23 12:10:05,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver 12:10:05 2023-03-23 12:10:05,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver 12:10:05 2023-03-23 12:10:05,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1401, universal_newlines=False, shell=None, istream=None) 12:10:06 2023-03-23 12:10:06,523 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401/.git/info/exclude 12:10:06 2023-03-23 12:10:06,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver/PR-1401 with force:False 12:10:06 2023-03-23 12:10:06,523 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver/PR-1401 12:10:06 2023-03-23 12:10:06,528 [execute] INFO git cat-file --batch-check 12:10:06 2023-03-23 12:10:06,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver, universal_newlines=False, shell=None, istream=) 12:10:06 2023-03-23 12:10:06,535 [execute] INFO git cat-file --batch 12:10:06 2023-03-23 12:10:06,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver, universal_newlines=False, shell=None, istream=) 12:10:06 2023-03-23 12:10:06,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1401/.semver/PR-1401 12:10:06 0.0.0 [Pipeline] } 12:10:06 $ docker exec --env ******** --env ******** f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 ssh-agent -k 12:10:06 unset SSH_AUTH_SOCK; 12:10:06 unset SSH_AGENT_PID; 12:10:06 echo Agent pid 76 killed; 12:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:10:07 + git semver [Pipeline] } 12:10:07 $ docker stop --time=1 f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 12:10:08 $ docker rm -f --volumes f5e5f0c8582b250ce43d13559f034fcda38106d471b94a37430bd83132852562 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:10:09 Stashed 1 file(s) [Pipeline] echo 12:10:09 [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 12:10:09 provisioning config files... 12:10:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/config12425008532405566212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:09 ---> docker-login.sh 12:10:09 nexus3.edgexfoundry.org:10001 12:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:09 Configure a credential helper to remove this warning. See 12:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:09 12:10:09 Login Succeeded 12:10:09 nexus3.edgexfoundry.org:10002 12:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:09 Configure a credential helper to remove this warning. See 12:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:09 12:10:09 Login Succeeded 12:10:09 nexus3.edgexfoundry.org:10003 12:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:09 Configure a credential helper to remove this warning. See 12:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:09 12:10:09 Login Succeeded 12:10:09 nexus3.edgexfoundry.org:10004 12:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:09 Configure a credential helper to remove this warning. See 12:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:09 12:10:09 Login Succeeded 12:10:09 docker.io 12:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:10 Configure a credential helper to remove this warning. See 12:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:10 12:10:10 Login Succeeded 12:10:10 ---> docker-login.sh ends [Pipeline] } 12:10:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:10 ========================================================= 12:10:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:10:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:10 + 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 . 12:10:10 Sending build context to Docker daemon 10.82MB 12:10:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 12:10:10 Step 2/10 : FROM ${BASE} AS builder 12:10:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:10:10 63b65145d645: Pulling fs layer 12:10:10 a2d21d5440eb: Pulling fs layer 12:10:10 935e6c44a52c: Pulling fs layer 12:10:10 94cc34f8dd06: Pulling fs layer 12:10:10 30dea6a524f1: Pulling fs layer 12:10:10 a2aff8979fd8: Pulling fs layer 12:10:10 6808be2612f2: Pulling fs layer 12:10:10 f25807f1079a: Pulling fs layer 12:10:10 94cc34f8dd06: Waiting 12:10:10 30dea6a524f1: Waiting 12:10:10 a2aff8979fd8: Waiting 12:10:10 6808be2612f2: Waiting 12:10:10 f25807f1079a: Waiting 12:10:11 a2d21d5440eb: Download complete 12:10:11 94cc34f8dd06: Verifying Checksum 12:10:11 94cc34f8dd06: Download complete 12:10:11 30dea6a524f1: Verifying Checksum 12:10:11 30dea6a524f1: Download complete 12:10:11 63b65145d645: Verifying Checksum 12:10:11 63b65145d645: Download complete 12:10:11 a2aff8979fd8: Verifying Checksum 12:10:11 a2aff8979fd8: Download complete 12:10:11 63b65145d645: Pull complete 12:10:11 a2d21d5440eb: Pull complete 12:10:11 f25807f1079a: Verifying Checksum 12:10:11 f25807f1079a: Download complete 12:10:11 935e6c44a52c: Verifying Checksum 12:10:11 935e6c44a52c: Download complete 12:10:11 6808be2612f2: Download complete 12:10:15 935e6c44a52c: Pull complete 12:10:15 94cc34f8dd06: Pull complete 12:10:15 30dea6a524f1: Pull complete 12:10:15 a2aff8979fd8: Pull complete 12:10:17 6808be2612f2: Pull complete 12:10:18 f25807f1079a: Pull complete 12:10:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:10:18 ---> 3b553350e43f 12:10:18 Step 3/10 : ARG MAKE=make build 12:10:20 ---> Running in 3cba9a8d301f 12:10:20 Removing intermediate container 3cba9a8d301f 12:10:20 ---> 36a8208a58c7 12:10:20 Step 4/10 : WORKDIR /device-sdk-go 12:10:20 ---> Running in d43d04ac11a7 12:10:20 Removing intermediate container d43d04ac11a7 12:10:20 ---> e6d26b7ebf69 12:10:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:10:21 ---> Running in 72077ff47b35 12:10:21 Removing intermediate container 72077ff47b35 12:10:21 ---> ec4cb5c544fc 12:10:21 Step 6/10 : RUN apk add --update --no-cache make git 12:10:21 ---> Running in c3d472468e18 12:10:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:10:22 OK: 265 MiB in 53 packages 12:10:23 Removing intermediate container c3d472468e18 12:10:23 ---> 180d4820e737 12:10:23 Step 7/10 : COPY go.mod vendor* ./ 12:10:23 ---> 8ef6a0741c32 12:10:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:23 ---> Running in 3c283ab93149 12:10:24 Still waiting to schedule task 12:10:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5452’ 12:10:45 Removing intermediate container 3c283ab93149 12:10:45 ---> 669e4e68c2c7 12:10:45 Step 9/10 : COPY . . 12:10:45 ---> f492d3deb935 12:10:45 Step 10/10 : RUN ${MAKE} 12:10:45 ---> Running in 9aed10387f37 12:10:45 noop 12:10:45 Removing intermediate container 9aed10387f37 12:10:45 ---> 47ea7bf2108a 12:10:45 Successfully built 47ea7bf2108a 12:10:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:45 + docker inspect -f . ci-base-image-x86_64 12:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:45 prd-ubuntu20.04-docker-8c-8g-5453 does not seem to be running inside a container 12:10:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1401 -v /w/workspace/gexfoundry_device-sdk-go_PR-1401:/w/workspace/gexfoundry_device-sdk-go_PR-1401:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1401@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 12:10:46 $ docker top c9f2a99e710789476a476822ed2e4c2da0b19b47138afcf0841ca724cb89585b -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:46 + go version 12:10:46 go version go1.20.2 linux/amd64 [Pipeline] } 12:10:46 $ docker stop --time=1 c9f2a99e710789476a476822ed2e4c2da0b19b47138afcf0841ca724cb89585b 12:10:47 $ docker rm -f --volumes c9f2a99e710789476a476822ed2e4c2da0b19b47138afcf0841ca724cb89585b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:48 + docker inspect -f . ci-base-image-x86_64 12:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:48 prd-ubuntu20.04-docker-8c-8g-5453 does not seem to be running inside a container 12:10:48 $ 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-1401 -v /w/workspace/gexfoundry_device-sdk-go_PR-1401:/w/workspace/gexfoundry_device-sdk-go_PR-1401:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1401@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 12:10:48 $ docker top 8880b497b6e8b6b1c1d3a82f053344004e523b0770576f6d08241a5f94009881 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1401 [Pipeline] fileExists [Pipeline] sh 12:10:49 + make test 12:10:49 go test -race -coverprofile=coverage.out ./... 12:10:55 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 12:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 12:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 78.9% of statements 12:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s coverage: 86.0% of statements 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 12:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.079s coverage: 75.9% of statements 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 12:11:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 12:11:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 12:11:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 15.2% of statements 12:11:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements 12:11:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 12:11:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 12:11:32 GO111MODULE=on go vet ./... 12:11:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:35 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:35 $ docker stop --time=1 8880b497b6e8b6b1c1d3a82f053344004e523b0770576f6d08241a5f94009881 12:11:37 $ docker rm -f --volumes 8880b497b6e8b6b1c1d3a82f053344004e523b0770576f6d08241a5f94009881 [Pipeline] // withDockerContainer [Pipeline] sh 12:11:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:11:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:38 + ls -al . 12:11:38 total 272 12:11:38 drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 12:10 . 12:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:09 .. 12:11:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 12:09 .dockerignore 12:11:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:10 .git 12:11:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:09 .github 12:11:38 -rw-rw-r-- 1 jenkins jenkins 131 Mar 23 12:09 .gitignore 12:11:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 23 12:09 .golangci.yml 12:11:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:10 .semver 12:11:38 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 23 12:09 CHANGELOG.md 12:11:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:09 GOVERNANCE.md 12:11:38 -rw-rw-r-- 1 jenkins jenkins 885 Mar 23 12:09 Jenkinsfile 12:11:38 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 12:09 LICENSE 12:11:38 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 23 12:09 Makefile 12:11:38 -rw-rw-r-- 1 jenkins jenkins 619 Mar 23 12:09 OWNERS.md 12:11:38 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 23 12:09 README.md 12:11:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:10 VERSION 12:11:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:09 bin 12:11:38 -rw-r--r-- 1 jenkins jenkins 105656 Mar 23 12:11 coverage.out 12:11:38 drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 12:09 example 12:11:38 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 23 12:09 go.mod 12:11:38 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 23 12:09 go.sum 12:11:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:09 internal 12:11:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:09 openapi 12:11:38 drwxrwxr-x 6 jenkins jenkins 4096 Mar 23 12:09 pkg 12:11:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:09 snap 12:11:38 -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 12:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:39 + 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=b494a88837c109062c1a44bf47c10b1d995b3575 --label arch=amd64 --label version=0.0.0 . 12:11:39 Sending build context to Docker daemon 10.92MB 12:11:39 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 12:11:39 Step 2/23 : FROM ${BASE} AS builder 12:11:39 ---> 47ea7bf2108a 12:11:39 Step 3/23 : ARG MAKE=make build 12:11:39 ---> Running in f221f26c1069 12:11:39 Removing intermediate container f221f26c1069 12:11:39 ---> 8591b68a4609 12:11:39 Step 4/23 : WORKDIR /device-sdk-go 12:11:39 ---> Running in c7e65e5992df 12:11:39 Removing intermediate container c7e65e5992df 12:11:39 ---> 8f17333180a0 12:11:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:11:39 ---> Running in b5c236b254d6 12:11:39 Removing intermediate container b5c236b254d6 12:11:39 ---> 2517e25de3e4 12:11:39 Step 6/23 : RUN apk add --update --no-cache make git 12:11:39 ---> Running in b3e9a5235b88 12:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:11:41 OK: 265 MiB in 53 packages 12:11:41 Removing intermediate container b3e9a5235b88 12:11:41 ---> 36d9bdd0ec2c 12:11:41 Step 7/23 : COPY go.mod vendor* ./ 12:11:41 ---> 5a13c13185eb 12:11:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:41 ---> Running in 45a2ec0cc859 12:11:42 Removing intermediate container 45a2ec0cc859 12:11:42 ---> 99d3fe249315 12:11:42 Step 9/23 : COPY . . 12:11:42 ---> 92149ecef035 12:11:42 Step 10/23 : RUN ${MAKE} 12:11:42 ---> Running in a89266efd137 12:11:43 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 12:12:01 Removing intermediate container a89266efd137 12:12:01 ---> e32beedb8fdd 12:12:01 Step 11/23 : FROM alpine:3.17 12:12:01 3.17: Pulling from library/alpine 12:12:01 63b65145d645: Already exists 12:12:01 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:12:01 Status: Downloaded newer image for alpine:3.17 12:12:01 ---> b2aa39c304c2 12:12:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:12:01 ---> Running in fe6bd675b17e 12:12:01 Removing intermediate container fe6bd675b17e 12:12:01 ---> d2e6255dbd79 12:12:01 Step 13/23 : RUN apk add --update --no-cache 12:12:01 ---> Running in 5d8f3addbaef 12:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:12:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:12:01 OK: 7 MiB in 15 packages 12:12:01 Removing intermediate container 5d8f3addbaef 12:12:01 ---> afd711ce3134 12:12:01 Step 14/23 : WORKDIR / 12:12:01 ---> Running in f37b725af7e0 12:12:01 Removing intermediate container f37b725af7e0 12:12:01 ---> e848816ef862 12:12:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:12:01 ---> 1f5abe022371 12:12:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:12:02 ---> 044a9c07d1c4 12:12:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:12:02 ---> 79a9a0db3e79 12:12:02 Step 18/23 : EXPOSE 59999 12:12:02 ---> Running in 39f0a93efe2e 12:12:02 Removing intermediate container 39f0a93efe2e 12:12:02 ---> 501064814453 12:12:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 12:12:02 ---> Running in bfcfa6d26dbb 12:12:02 Removing intermediate container bfcfa6d26dbb 12:12:02 ---> 6b27d4c334e3 12:12:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:12:02 ---> Running in 04727f029575 12:12:02 Removing intermediate container 04727f029575 12:12:02 ---> c4df4d0b9be7 12:12:02 Step 21/23 : LABEL arch=amd64 12:12:02 ---> Running in e7ae5ff4036d 12:12:02 Removing intermediate container e7ae5ff4036d 12:12:02 ---> 3c37d15b889c 12:12:02 Step 22/23 : LABEL git_sha=b494a88837c109062c1a44bf47c10b1d995b3575 12:12:02 ---> Running in bc5060ff7958 12:12:02 Removing intermediate container bc5060ff7958 12:12:02 ---> 75da5dfe6e47 12:12:02 Step 23/23 : LABEL version=0.0.0 12:12:03 ---> Running in 442c0d7c9116 12:12:03 Removing intermediate container 442c0d7c9116 12:12:03 ---> 13e609459425 12:12:03 [Warning] One or more build-args [ARCH] were not consumed 12:12:03 Successfully built 13e609459425 12:12: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 12:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:03 12:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:03 latest: Pulling from edgex-lftools-log-publisher 12:12:03 5eb5b503b376: Pulling fs layer 12:12:03 5c69ac0246d0: Pulling fs layer 12:12:03 ec43610c2a17: Pulling fs layer 12:12:03 3a2ae6a8a46f: Pulling fs layer 12:12:03 33b1e0a273af: Pulling fs layer 12:12:03 5d3b04190fa2: Pulling fs layer 12:12:03 2f39f015ded8: Pulling fs layer 12:12:03 33b1e0a273af: Waiting 12:12:03 5d3b04190fa2: Waiting 12:12:03 2f39f015ded8: Waiting 12:12:03 3a2ae6a8a46f: Waiting 12:12:03 5c69ac0246d0: Download complete 12:12:03 3a2ae6a8a46f: Download complete 12:12:04 33b1e0a273af: Verifying Checksum 12:12:04 33b1e0a273af: Download complete 12:12:04 ec43610c2a17: Verifying Checksum 12:12:04 ec43610c2a17: Download complete 12:12:04 5d3b04190fa2: Verifying Checksum 12:12:04 5d3b04190fa2: Download complete 12:12:04 5eb5b503b376: Verifying Checksum 12:12:04 5eb5b503b376: Download complete 12:12:04 2f39f015ded8: Download complete 12:12:05 5eb5b503b376: Pull complete 12:12:05 5c69ac0246d0: Pull complete 12:12:05 ec43610c2a17: Pull complete 12:12:05 3a2ae6a8a46f: Pull complete 12:12:05 33b1e0a273af: Pull complete 12:12:05 5d3b04190fa2: Pull complete 12:12:10 2f39f015ded8: Pull complete 12:12:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:10 prd-ubuntu20.04-docker-8c-8g-5453 does not seem to be running inside a container 12:12: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-1401 -v /w/workspace/gexfoundry_device-sdk-go_PR-1401:/w/workspace/gexfoundry_device-sdk-go_PR-1401:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1401@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 12:12:12 $ docker top c85910f2f8c9ccef3d62e35a0ca6d7cbfae87c780de8b1364a3719437322a321 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:12 ---> job-cost.sh 12:12:12 lf-activate-venv: SKIPPING 12:12:12 INFO: No Stack... 12:12:12 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:13 INFO: Archiving Costs [Pipeline] sh 12:12:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives/cost.csv 12:12:13 + cut -d, -f6 [Pipeline] lock 12:12:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] 12:12:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] did not exist. Created. 12:12:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:13 + echo total: 0.2199999988079071 [Pipeline] stash 12:12:13 Stashed 1 file(s) [Pipeline] } 12:12:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:13 $ docker stop --time=1 c85910f2f8c9ccef3d62e35a0ca6d7cbfae87c780de8b1364a3719437322a321 12:12:15 $ docker rm -f --volumes c85910f2f8c9ccef3d62e35a0ca6d7cbfae87c780de8b1364a3719437322a321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:12:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5455 in /w/workspace/gexfoundry_device-sdk-go_PR-1401 [Pipeline] { [Pipeline] ws 12:12:53 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 12:12:53 The recommended git tool is: git 12:12:58 using credential edgex-jenkins-ssh 12:12:59 Cloning the remote Git repository 12:12:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:12:59 > git init /w/workspace/device-sdk-go/2 # timeout=10 12:12:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:12:59 > git --version # timeout=10 12:12:59 > git --version # 'git version 2.25.1' 12:12:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:13:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:13:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:13:02 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1401/head:refs/remotes/origin/PR-1401 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:13:03 Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit b494a88837c109062c1a44bf47c10b1d995b3575 12:13:03 Merge succeeded, producing b494a88837c109062c1a44bf47c10b1d995b3575 12:13:03 Checking out Revision b494a88837c109062c1a44bf47c10b1d995b3575 (PR-1401) 12:13:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 12:13:03 > git config core.sparsecheckout # timeout=10 12:13:03 > git checkout -f b494a88837c109062c1a44bf47c10b1d995b3575 # timeout=10 12:13:03 > git remote # timeout=10 12:13:03 > git config --get remote.origin.url # timeout=10 12:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:03 > git merge ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 12:13:03 > git rev-parse HEAD^{commit} # timeout=10 12:13:03 > git config core.sparsecheckout # timeout=10 12:13:03 > git checkout -f b494a88837c109062c1a44bf47c10b1d995b3575 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:13:05 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:05 Dload Upload Total Spent Left Speed 12:13:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh 12:13:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:13:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:13:06 + sudo tee /etc/docker/daemon.new 12:13:06 { 12:13:06 "registry-mirrors": [ 12:13:06 "https://nexus3.edgexfoundry.org:10001" 12:13:06 ], 12:13:06 "bip": "10.250.0.254/24", 12:13:06 "hosts": [ 12:13:06 "tcp://0.0.0.0:5555", 12:13:06 "unix:///var/run/docker.sock" 12:13:06 ], 12:13:06 "mtu": 1458, 12:13:06 "selinux-enabled": true, 12:13:06 "seccomp-profile": "/etc/docker/seccomp.json" 12:13:06 } [Pipeline] sh 12:13:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:13:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:29 provisioning config files... 12:13:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10248108670588212107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:29 ---> docker-login.sh 12:13:29 nexus3.edgexfoundry.org:10001 12:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:29 Configure a credential helper to remove this warning. See 12:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:29 12:13:29 Login Succeeded 12:13:29 nexus3.edgexfoundry.org:10002 12:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:30 Configure a credential helper to remove this warning. See 12:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:30 12:13:30 Login Succeeded 12:13:30 nexus3.edgexfoundry.org:10003 12:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:30 Configure a credential helper to remove this warning. See 12:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:30 12:13:30 Login Succeeded 12:13:30 nexus3.edgexfoundry.org:10004 12:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:31 Configure a credential helper to remove this warning. See 12:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:31 12:13:31 Login Succeeded 12:13:31 docker.io 12:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:31 Configure a credential helper to remove this warning. See 12:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:31 12:13:31 Login Succeeded 12:13:31 ---> docker-login.sh ends [Pipeline] } 12:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:13:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:31 ========================================================= 12:13:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:13:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:32 + 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 . 12:13:32 Sending build context to Docker daemon 5.804MB 12:13:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 12:13:32 Step 2/10 : FROM ${BASE} AS builder 12:13:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:13:32 af6eaf76a39c: Pulling fs layer 12:13:32 55522c791124: Pulling fs layer 12:13:32 ce5c4a1c91eb: Pulling fs layer 12:13:32 169dfbe0d373: Pulling fs layer 12:13:32 e1ff8fa3b103: Pulling fs layer 12:13:32 52ebb69f0ebf: Pulling fs layer 12:13:32 5abe8eddf0d5: Pulling fs layer 12:13:32 169dfbe0d373: Waiting 12:13:32 e1ff8fa3b103: Waiting 12:13:32 52ebb69f0ebf: Waiting 12:13:32 5abe8eddf0d5: Waiting 12:13:32 55522c791124: Verifying Checksum 12:13:32 55522c791124: Download complete 12:13:32 169dfbe0d373: Verifying Checksum 12:13:32 169dfbe0d373: Download complete 12:13:33 e1ff8fa3b103: Verifying Checksum 12:13:33 e1ff8fa3b103: Download complete 12:13:33 af6eaf76a39c: Verifying Checksum 12:13:33 af6eaf76a39c: Download complete 12:13:34 5abe8eddf0d5: Verifying Checksum 12:13:34 af6eaf76a39c: Pull complete 12:13:34 55522c791124: Pull complete 12:13:35 52ebb69f0ebf: Verifying Checksum 12:13:35 52ebb69f0ebf: Download complete 12:13:35 ce5c4a1c91eb: Verifying Checksum 12:13:35 ce5c4a1c91eb: Download complete 12:13:45 ce5c4a1c91eb: Pull complete 12:13:45 169dfbe0d373: Pull complete 12:13:45 e1ff8fa3b103: Pull complete 12:13:52 52ebb69f0ebf: Pull complete 12:13:53 5abe8eddf0d5: Pull complete 12:13:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:13:53 ---> 6cb57ee374ae 12:13:53 Step 3/10 : ARG MAKE=make build 12:13:55 ---> Running in 33943d17e526 12:13:55 Removing intermediate container 33943d17e526 12:13:55 ---> 6d711fe48558 12:13:55 Step 4/10 : WORKDIR /device-sdk-go 12:13:55 ---> Running in e881408e1a92 12:13:55 Removing intermediate container e881408e1a92 12:13:55 ---> 9b62924305d8 12:13:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:55 ---> Running in 434e3a2b00a7 12:13:56 Removing intermediate container 434e3a2b00a7 12:13:56 ---> 9cf54369a724 12:13:56 Step 6/10 : RUN apk add --update --no-cache make git 12:13:56 ---> Running in 11a87e9db177 12:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:13:58 OK: 263 MiB in 53 packages 12:13:59 Removing intermediate container 11a87e9db177 12:13:59 ---> a94f945b4605 12:13:59 Step 7/10 : COPY go.mod vendor* ./ 12:14:00 ---> b58773bd5de9 12:14:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:00 ---> Running in ccb8e65a1a4c 12:15:08 Removing intermediate container ccb8e65a1a4c 12:15:08 ---> ff1b0f13819c 12:15:08 Step 9/10 : COPY . . 12:15:08 ---> 0178ec5180f5 12:15:08 Step 10/10 : RUN ${MAKE} 12:15:08 ---> Running in 96b4ee68f6f3 12:15:08 noop 12:15:08 Removing intermediate container 96b4ee68f6f3 12:15:08 ---> ce0ec83fdb4e 12:15:08 Successfully built ce0ec83fdb4e 12:15:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:08 + docker inspect -f . ci-base-image-arm64 12:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:08 prd-ubuntu20.04-docker-arm64-4c-16g-5455 does not seem to be running inside a container 12:15:08 $ 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 12:15:10 $ docker top 1d42b9007c6bff1ada7edab31a8b52ae665ae2a603cda8f22752328b9f563a48 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:11 + go version 12:15:11 go version go1.20.2 linux/arm64 [Pipeline] } 12:15:11 $ docker stop --time=1 1d42b9007c6bff1ada7edab31a8b52ae665ae2a603cda8f22752328b9f563a48 12:15:12 $ docker rm -f --volumes 1d42b9007c6bff1ada7edab31a8b52ae665ae2a603cda8f22752328b9f563a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:13 + docker inspect -f . ci-base-image-arm64 12:15:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:13 prd-ubuntu20.04-docker-arm64-4c-16g-5455 does not seem to be running inside a container 12:15:13 $ 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 12:15:14 $ docker top 0b0234a376f1dd0f8cc56e7f0679f4ea10034e38a8de1be8edf262f24b182a4b -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 12:15:16 + make test 12:15:16 go test -race -coverprofile=coverage.out ./... 12:16:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 12:18:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 12:18:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 12:18:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 12:18:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 12:18:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 12:18:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.261s coverage: 27.6% of statements 12:18:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.285s coverage: 78.9% of statements 12:18:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 12:18:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 12:18:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements 12:18:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 12:18:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 12:18:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.515s coverage: 75.9% of statements 12:18:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.285s coverage: 15.2% of statements 12:18:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 12:18:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 12:18:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 68.5% of statements 12:18:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.476s coverage: 89.2% of statements 12:18:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 12:18:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.5% of statements 12:19:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:19:00 GO111MODULE=on go vet ./... 12:21:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:21:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:21:37 ./bin/test-attribution-txt.sh [Pipeline] echo 12:21:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:21:37 $ docker stop --time=1 0b0234a376f1dd0f8cc56e7f0679f4ea10034e38a8de1be8edf262f24b182a4b 12:21:39 $ docker rm -f --volumes 0b0234a376f1dd0f8cc56e7f0679f4ea10034e38a8de1be8edf262f24b182a4b [Pipeline] // withDockerContainer [Pipeline] sh 12:21:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:21:41 Warning: overwriting stash ‘coverage-report’ 12:21:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:21:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:21:42 + ls -al . 12:21:42 total 268 12:21:42 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:15 . 12:21:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:12 .. 12:21:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 12:13 .dockerignore 12:21:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:13 .git 12:21:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:13 .github 12:21:42 -rw-rw-r-- 1 jenkins jenkins 131 Mar 23 12:13 .gitignore 12:21:42 -rw-rw-r-- 1 jenkins jenkins 42 Mar 23 12:13 .golangci.yml 12:21:42 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 23 12:13 CHANGELOG.md 12:21:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:13 GOVERNANCE.md 12:21:42 -rw-rw-r-- 1 jenkins jenkins 885 Mar 23 12:13 Jenkinsfile 12:21:42 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 12:13 LICENSE 12:21:42 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 23 12:13 Makefile 12:21:42 -rw-rw-r-- 1 jenkins jenkins 619 Mar 23 12:13 OWNERS.md 12:21:42 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 23 12:13 README.md 12:21:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:10 VERSION 12:21:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:13 bin 12:21:42 -rw-r--r-- 1 jenkins jenkins 105657 Mar 23 12:18 coverage.out 12:21:42 drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 12:13 example 12:21:42 -rw-rw-r-- 1 jenkins jenkins 3243 Mar 23 12:13 go.mod 12:21:42 -rw-rw-r-- 1 jenkins jenkins 30606 Mar 23 12:13 go.sum 12:21:42 drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:13 internal 12:21:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:13 openapi 12:21:42 drwxrwxr-x 6 jenkins jenkins 4096 Mar 23 12:13 pkg 12:21:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:13 snap 12:21:42 -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 12:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:43 + 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=b494a88837c109062c1a44bf47c10b1d995b3575 --label arch=arm64 --label version=0.0.0 . 12:21:43 Sending build context to Docker daemon 5.91MB 12:21:43 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 12:21:43 Step 2/23 : FROM ${BASE} AS builder 12:21:43 ---> ce0ec83fdb4e 12:21:43 Step 3/23 : ARG MAKE=make build 12:21:43 ---> Running in 877134eb202b 12:21:43 Removing intermediate container 877134eb202b 12:21:43 ---> 898469586fe7 12:21:43 Step 4/23 : WORKDIR /device-sdk-go 12:21:44 ---> Running in d6d28689436a 12:21:44 Removing intermediate container d6d28689436a 12:21:44 ---> 76c6699e82f6 12:21:44 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:21:44 ---> Running in 3c8bea782116 12:21:44 Removing intermediate container 3c8bea782116 12:21:44 ---> 5289099e20d7 12:21:44 Step 6/23 : RUN apk add --update --no-cache make git 12:21:44 ---> Running in 7879bcebf38f 12:21:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:21:47 OK: 263 MiB in 53 packages 12:21:48 Removing intermediate container 7879bcebf38f 12:21:48 ---> 68011b69e845 12:21:48 Step 7/23 : COPY go.mod vendor* ./ 12:21:49 ---> e44060ecb828 12:21:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:21:49 ---> Running in 1cfe03b30eb2 12:21:52 Removing intermediate container 1cfe03b30eb2 12:21:52 ---> 0890419b42d5 12:21:52 Step 9/23 : COPY . . 12:21:54 ---> b67328b791ce 12:21:54 Step 10/23 : RUN ${MAKE} 12:21:54 ---> Running in f633afa7f2db 12:21:55 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 12:24:17 Removing intermediate container f633afa7f2db 12:24:17 ---> 46e51989ca55 12:24:17 Step 11/23 : FROM alpine:3.17 12:24:17 3.17: Pulling from library/alpine 12:24:17 af6eaf76a39c: Already exists 12:24:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:24:17 Status: Downloaded newer image for alpine:3.17 12:24:17 ---> d74e625d9115 12:24:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:24:17 ---> Running in 25579c923b10 12:24:17 Removing intermediate container 25579c923b10 12:24:17 ---> 8fefc3778b10 12:24:17 Step 13/23 : RUN apk add --update --no-cache 12:24:17 ---> Running in 9be5fc6d44f8 12:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:24:17 OK: 7 MiB in 15 packages 12:24:18 Removing intermediate container 9be5fc6d44f8 12:24:18 ---> e5ccd5203c61 12:24:18 Step 14/23 : WORKDIR / 12:24:18 ---> Running in ee23fa9a0bf9 12:24:18 Removing intermediate container ee23fa9a0bf9 12:24:18 ---> 1b29be8c46e2 12:24:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:24:19 ---> bb4df42408a6 12:24:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:24:20 ---> 2afc209dc87f 12:24:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:24:21 ---> 7c6bb9bac806 12:24:21 Step 18/23 : EXPOSE 59999 12:24:21 ---> Running in fba32e30e33c 12:24:21 Removing intermediate container fba32e30e33c 12:24:21 ---> 9aa5f76b2fe1 12:24:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 12:24:21 ---> Running in 1f41537d87ae 12:24:22 Removing intermediate container 1f41537d87ae 12:24:22 ---> aa256486304f 12:24:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:24:22 ---> Running in 21d3aa2adf45 12:24:22 Removing intermediate container 21d3aa2adf45 12:24:22 ---> fd55fe863c4f 12:24:22 Step 21/23 : LABEL arch=arm64 12:24:22 ---> Running in 81813087c0c7 12:24:22 Removing intermediate container 81813087c0c7 12:24:22 ---> f7596be05a3c 12:24:22 Step 22/23 : LABEL git_sha=b494a88837c109062c1a44bf47c10b1d995b3575 12:24:23 ---> Running in fc15734ebde4 12:24:23 Removing intermediate container fc15734ebde4 12:24:23 ---> ba4e5c02d067 12:24:23 Step 23/23 : LABEL version=0.0.0 12:24:23 ---> Running in b00031c69f55 12:24:23 Removing intermediate container b00031c69f55 12:24:23 ---> 0c3cbf136cbc 12:24:23 [Warning] One or more build-args [ARCH] were not consumed 12:24:23 Successfully built 0c3cbf136cbc 12:24:23 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 12:24:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:23 12:24:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:24 arm64: Pulling from edgex-lftools-log-publisher 12:24:24 8998bd30e6a1: Pulling fs layer 12:24:24 04944245beec: Pulling fs layer 12:24:24 699f458cf7ca: Pulling fs layer 12:24:24 765212b225bb: Pulling fs layer 12:24:24 f23df028b6ca: Pulling fs layer 12:24:24 d65c8cfc05b1: Pulling fs layer 12:24:24 2437ff75d9bd: Pulling fs layer 12:24:24 765212b225bb: Waiting 12:24:24 f23df028b6ca: Waiting 12:24:24 d65c8cfc05b1: Waiting 12:24:24 2437ff75d9bd: Waiting 12:24:24 04944245beec: Verifying Checksum 12:24:24 04944245beec: Download complete 12:24:24 765212b225bb: Verifying Checksum 12:24:24 765212b225bb: Download complete 12:24:24 f23df028b6ca: Download complete 12:24:24 d65c8cfc05b1: Verifying Checksum 12:24:24 d65c8cfc05b1: Download complete 12:24:24 699f458cf7ca: Verifying Checksum 12:24:24 699f458cf7ca: Download complete 12:24:25 8998bd30e6a1: Verifying Checksum 12:24:25 8998bd30e6a1: Download complete 12:24:27 2437ff75d9bd: Verifying Checksum 12:24:27 2437ff75d9bd: Download complete 12:24:28 8998bd30e6a1: Pull complete 12:24:29 04944245beec: Pull complete 12:24:30 699f458cf7ca: Pull complete 12:24:30 765212b225bb: Pull complete 12:24:31 f23df028b6ca: Pull complete 12:24:31 d65c8cfc05b1: Pull complete 12:24:46 2437ff75d9bd: Pull complete 12:24:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:24:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:46 prd-ubuntu20.04-docker-arm64-4c-16g-5455 does not seem to be running inside a container 12:24:47 $ 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 12:24:50 $ docker top 9ed6897e59a82ff3e49361ba11d74b4fdc79b4fb5affb3ad76569d51d61bcee0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:50 ---> job-cost.sh 12:24:51 lf-activate-venv: SKIPPING 12:24:51 INFO: No Stack... 12:24:51 INFO: Retrieving Pricing Info for: v3-standard-4 12:24:52 INFO: Archiving Costs [Pipeline] sh 12:24:52 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 12:24:52 + cut -d, -f6 [Pipeline] lock 12:24:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] 12:24:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] did not exist. Created. 12:24:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:24:53 /w/workspace/device-sdk-go/2@tmp/durable-9c69bd73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:24:53 + echo total: 0.10999999940395355 [Pipeline] stash 12:24:53 Warning: overwriting stash ‘stack-cost’ 12:24:53 Stashed 1 file(s) [Pipeline] } 12:24:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1401-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:24:53 $ docker stop --time=1 9ed6897e59a82ff3e49361ba11d74b4fdc79b4fb5affb3ad76569d51d61bcee0 12:24:55 $ docker rm -f --volumes 9ed6897e59a82ff3e49361ba11d74b4fdc79b4fb5affb3ad76569d51d61bcee0 [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 12:24:55 provisioning config files... 12:24:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/config12536382088069520933tmp [Pipeline] { [Pipeline] sh 12:24:55 + set +x 12:24:55 + bash -s -- 12:24:55 + curl -s https://codecov.io/bash 12:24:55 12:24:55 _____ _ 12:24:55 / ____| | | 12:24:55 | | ___ __| | ___ ___ _____ __ 12:24:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:24:55 | |___| (_) | (_| | __/ (_| (_) \ V / 12:24:55 \_____\___/ \__,_|\___|\___\___/ \_/ 12:24:55 Bash-1.0.6 12:24:55 12:24:55 12:24:55 ==> git version 2.25.1 found 12:24:55 ==> 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 12:24:55 Release-Date: 2020-01-08 12:24:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:24:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:24:55 ==> Jenkins CI detected. 12:24:55 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1401 12:24:55 project root: . 12:24:55 --> token set from env 12:24:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:24:55 ==> Running gcov in . (disable via -X gcov) 12:24:55 ==> Python coveragepy not found 12:24:55 ==> Searching for coverage reports in: 12:24:55 + . 12:24:55 -> Found 1 reports 12:24:55 ==> Detecting git/mercurial file structure 12:24:55 ==> Reading reports 12:24:55 + ./coverage.out bytes=105657 12:24:55 ==> Appending adjustments 12:24:55 https://docs.codecov.io/docs/fixing-reports 12:24:56 + Found adjustments 12:24:56 ==> Gzipping contents 12:24:56 16K /tmp/codecov.M2ocGe.gz 12:24:56 ==> Uploading reports 12:24:56 url: https://codecov.io 12:24:56 query: branch=PR-1401&commit=b494a88837c109062c1a44bf47c10b1d995b3575&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1401%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1401&job=&cmd_args= 12:24:56 -> Pinging Codecov 12:24:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1401&commit=b494a88837c109062c1a44bf47c10b1d995b3575&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1401%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1401&job=&cmd_args= 12:24:56 -> Uploading to 12:24:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/7E55EF52A471D76F132DFD9A03CDDE97/b494a88837c109062c1a44bf47c10b1d995b3575/1f2827f2-3e6f-40c2-9ede-ed5b7f855372.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T122456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92b1fcc8b7657a4f571b8deffea3c37e872d2dca9de55f98084ea485b96be894 12:24:56 % Total % Received % Xferd Average Speed Time Time Time Current 12:24:56 Dload Upload Total Spent Left Speed 12:24:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14962 0 0 100 14962 0 61572 --:--:-- --:--:-- --:--:-- 61826 12:24:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b494a88837c109062c1a44bf47c10b1d995b3575 [Pipeline] } 12:24:56 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 12:24:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives ] 12:24:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives 12:24:57 total 16 12:24:57 drwxr-xr-x 3 root root 4096 Mar 23 12:12 . 12:24:57 drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:12 .. 12:24:57 drwxr-xr-x 2 root root 4096 Mar 23 12:12 cost 12:24:57 -rw-r--r-- 1 root root 86 Mar 23 12:12 cost.csv 12:24:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives 12:24:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives 12:24:57 total 16 12:24:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:12 . 12:24:57 drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:12 .. 12:24:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 12:12 cost 12:24:57 -rw-r--r-- 1 jenkins jenkins 86 Mar 23 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:24:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:24:58 ---> package-listing.sh 12:24:58 ++ facter osfamily 12:24:58 ++ tr '[:upper:]' '[:lower:]' 12:24:58 + OS_FAMILY=debian 12:24:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1401 12:24:58 + START_PACKAGES=/tmp/packages_start.txt 12:24:58 + END_PACKAGES=/tmp/packages_end.txt 12:24:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:24:58 + PACKAGES=/tmp/packages_start.txt 12:24:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1401 ']' 12:24:58 + PACKAGES=/tmp/packages_end.txt 12:24:58 + case "${OS_FAMILY}" in 12:24:58 + dpkg -l 12:24:58 + grep '^ii' 12:24:58 + '[' -f /tmp/packages_start.txt ']' 12:24:58 + '[' -f /tmp/packages_end.txt ']' 12:24:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:24:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1401 ']' 12:24:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives/ 12:24:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1401/archives/ [Pipeline] echo 12:24:58 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-1401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:24:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:59 prd-ubuntu20.04-docker-8c-8g-5453 does not seem to be running inside a container 12:24:59 $ 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-1401/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-1401 -v /w/workspace/gexfoundry_device-sdk-go_PR-1401:/w/workspace/gexfoundry_device-sdk-go_PR-1401:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1401@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 12:24:59 $ docker top a2720fad47c2120a600b7f7f2a3c3852397d0f6a4860d05e702b90c6664b42ab -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:00 + touch /tmp/pre-build-complete [Pipeline] sh 12:25:00 + mkdir -p /var/log/sysstat [Pipeline] sh 12:25:00 + ls /var/log/sa-host 12:25:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:25:00 provisioning config files... 12:25:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1401@tmp/config16284793908714196994tmp [Pipeline] { [Pipeline] echo 12:25:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:25:01 ---> create-netrc.sh [Pipeline] } 12:25:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:25:01 ---> python-tools-install.sh [Pipeline] echo 12:25:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:25:01 ---> sudo-logs.sh 12:25:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:25:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:25:02 ---> job-cost.sh 12:25:02 lf-activate-venv: SKIPPING 12:25:02 DEBUG: total: 0.2199999988079071 12:25:02 INFO: Retrieving Stack Cost... 12:25:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:25:03 INFO: Archiving Costs [Pipeline] echo 12:25:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:25:03 ---> logs-deploy.sh 12:25:03 lf-activate-venv: SKIPPING 12:25:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1401/2 12:25:03 INFO: archiving workspace using pattern(s): 12:25:04 Archives upload complete. 12:25:04 INFO: archiving logs to Nexus