Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e 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-ssh12780691028867029709.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh10471093833750065558.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1334932018274403554.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh13027323693796171104.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17923361132957519903.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23935 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 Commit message: "Merge pull request #1208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.14" > git rev-list --no-walk 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:35:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:35:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:35:30 ========================================================= 11:35:30 EdgeX Global Pipelines Version Info 11:35:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:35:31 ------------------- 11:35:31 stable info: 11:35:31 ------------------- 11:35:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:35:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:35:31 Message: update stable to v1.0.239 11:35:32 ------------------- 11:35:32 experimental info: 11:35:32 ------------------- 11:35:32 Commited By: **** collab-it+edgex@linuxfoundation.org 11:35:32 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:35:32 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca77665 [Pipeline] echo 11:35:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:35:32 provisioning config files... 11:35:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3510567772302479766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:33 ---> docker-login.sh 11:35:33 nexus3.edgexfoundry.org:10001 11:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:33 Configure a credential helper to remove this warning. See 11:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:33 11:35:33 Login Succeeded 11:35:33 nexus3.edgexfoundry.org:10002 11:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:33 Configure a credential helper to remove this warning. See 11:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:33 11:35:33 Login Succeeded 11:35:33 nexus3.edgexfoundry.org:10003 11:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:33 Configure a credential helper to remove this warning. See 11:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:33 11:35:33 Login Succeeded 11:35:33 nexus3.edgexfoundry.org:10004 11:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:34 Configure a credential helper to remove this warning. See 11:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:34 11:35:34 Login Succeeded 11:35:34 docker.io 11:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:34 Configure a credential helper to remove this warning. See 11:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:34 11:35:34 Login Succeeded 11:35:34 ---> docker-login.sh ends [Pipeline] } 11:35:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:35:34 + git rev-list -1 --merges ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e~1..ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] echo 11:35:34 -----------> git rev-list -1 --merges ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e~1..ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e 11:35:34 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [false] [Pipeline] sh 11:35:35 + git log --format=format:%s -1 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] echo 11:35:35 ========================================================= 11:35:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:35:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:35:35 + git log --format=format:%s -1 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] echo 11:35:35 [semverPrep] GIT_COMMIT: ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e, Commit Message: Merge pull request #1208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.14 [Pipeline] echo 11:35:35 [semverPrep] This is not a build commit. [Pipeline] sh 11:35:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:35:35 + grep -v github /etc/ssh/ssh_known_hosts 11:35:35 + [ -e /tmp/ssh_known_hosts ] 11:35:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:35:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:35:35 + sudo tee -a /etc/ssh/ssh_known_hosts 11:35:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:35:36 11:35:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:35:36 0.1.4: Pulling from edgex-devops/py-git-semver 11:35:36 b85a868b505f: Pulling fs layer 11:35:36 e2be974225ed: Pulling fs layer 11:35:36 339a4e72a1f5: Pulling fs layer 11:35:36 988bab9f4d93: Pulling fs layer 11:35:36 1469e6f7b9e6: Pulling fs layer 11:35:36 988bab9f4d93: Waiting 11:35:36 eaf3925da568: Pulling fs layer 11:35:36 bab4dde63d76: Pulling fs layer 11:35:36 bde34c3a00c8: Pulling fs layer 11:35:36 bab4dde63d76: Waiting 11:35:36 eaf3925da568: Waiting 11:35:36 b352a97aabf1: Pulling fs layer 11:35:36 4872d77fe225: Pulling fs layer 11:35:36 5851b861e8e6: Pulling fs layer 11:35:36 bde34c3a00c8: Waiting 11:35:36 b352a97aabf1: Waiting 11:35:36 4872d77fe225: Waiting 11:35:36 5851b861e8e6: Waiting 11:35:36 e2be974225ed: Verifying Checksum 11:35:36 e2be974225ed: Download complete 11:35:36 988bab9f4d93: Download complete 11:35:36 339a4e72a1f5: Verifying Checksum 11:35:36 339a4e72a1f5: Download complete 11:35:36 eaf3925da568: Verifying Checksum 11:35:36 eaf3925da568: Download complete 11:35:36 1469e6f7b9e6: Verifying Checksum 11:35:36 1469e6f7b9e6: Download complete 11:35:36 bde34c3a00c8: Verifying Checksum 11:35:36 bde34c3a00c8: Download complete 11:35:36 b352a97aabf1: Verifying Checksum 11:35:36 b352a97aabf1: Download complete 11:35:36 4872d77fe225: Verifying Checksum 11:35:36 4872d77fe225: Download complete 11:35:36 5851b861e8e6: Verifying Checksum 11:35:36 5851b861e8e6: Download complete 11:35:36 b85a868b505f: Verifying Checksum 11:35:36 b85a868b505f: Download complete 11:35:37 bab4dde63d76: Download complete 11:35:38 b85a868b505f: Pull complete 11:35:38 e2be974225ed: Pull complete 11:35:39 339a4e72a1f5: Pull complete 11:35:39 988bab9f4d93: Pull complete 11:35:39 1469e6f7b9e6: Pull complete 11:35:39 eaf3925da568: Pull complete 11:35:41 bab4dde63d76: Pull complete 11:35:41 bde34c3a00c8: Pull complete 11:35:41 b352a97aabf1: Pull complete 11:35:41 4872d77fe225: Pull complete 11:35:42 5851b861e8e6: Pull complete 11:35:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:35:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:35:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:42 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:35:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:35:43 $ docker top dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d -eo pid,comm 11:35:43 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). 11:35:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:35:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:43 [ssh-agent] Looking for ssh-agent implementation... 11:35:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:44 $ docker exec dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d ssh-agent 11:35:44 SSH_AUTH_SOCK=/tmp/ssh-zlOIGUtvLu3b/agent.33 11:35:44 SSH_AGENT_PID=39 11:35:44 Running ssh-add (command line suppressed) 11:35:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6537279652306402708.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6537279652306402708.key) 11:35:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:44 + git tag --points-at HEAD [Pipeline] } 11:35:44 $ docker exec --env ******** --env ******** dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d ssh-agent -k 11:35:44 unset SSH_AUTH_SOCK; 11:35:44 unset SSH_AGENT_PID; 11:35:44 echo Agent pid 39 killed; 11:35:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:35:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:44 [ssh-agent] Looking for ssh-agent implementation... 11:35:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:44 $ docker exec dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d ssh-agent 11:35:45 SSH_AUTH_SOCK=/tmp/ssh-sv1OfbnTvnWz/agent.72 11:35:45 SSH_AGENT_PID=78 11:35:45 Running ssh-add (command line suppressed) 11:35:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2192670695762547985.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2192670695762547985.key) 11:35:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:45 + git semver init 11:35:45 2022-08-30 11:35:45,763 [run_init] DEBUG init version:0.0.0 force:False 11:35:45 2022-08-30 11:35:45,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:35:45 2022-08-30 11:35:45,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:35:45 2022-08-30 11:35:45,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 11:35:46 2022-08-30 11:35:46,618 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 11:35:46 2022-08-30 11:35:46,619 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 11:35:46 2022-08-30 11:35:46,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:35:46 2022-08-30 11:35:46,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:35:46 2.3.0-dev.20 [Pipeline] } 11:35:46 $ docker exec --env ******** --env ******** dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d ssh-agent -k 11:35:46 unset SSH_AUTH_SOCK; 11:35:46 unset SSH_AGENT_PID; 11:35:46 echo Agent pid 78 killed; 11:35:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:35:47 + git semver [Pipeline] } 11:35:47 $ docker stop --time=1 dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d 11:35:48 $ docker rm -f dd5d0f6acda2460635a080dd9042b7bcfc9d272dfb8b1d453986e3c5b0a2730d [Pipeline] // withDockerContainer [Pipeline] sh 11:35:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:35:49 Stashed 1 file(s) [Pipeline] echo 11:35:49 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [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 11:35:49 provisioning config files... 11:35:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8691689361780920787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:49 ---> docker-login.sh 11:35:49 nexus3.edgexfoundry.org:10001 11:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:49 Configure a credential helper to remove this warning. See 11:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:49 11:35:49 Login Succeeded 11:35:49 nexus3.edgexfoundry.org:10002 11:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:50 Configure a credential helper to remove this warning. See 11:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:50 11:35:50 Login Succeeded 11:35:50 nexus3.edgexfoundry.org:10003 11:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:50 Configure a credential helper to remove this warning. See 11:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:50 11:35:50 Login Succeeded 11:35:50 nexus3.edgexfoundry.org:10004 11:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:50 Configure a credential helper to remove this warning. See 11:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:50 11:35:50 Login Succeeded 11:35:50 docker.io 11:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:35:50 Configure a credential helper to remove this warning. See 11:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:35:50 11:35:50 Login Succeeded 11:35:50 ---> docker-login.sh ends [Pipeline] } 11:35:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:35:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:35:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:35:50 ========================================================= 11:35:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:35:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:51 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 11:35:51 Sending build context to Docker daemon 9.778MB 11:35:51 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 11:35:51 Step 2/11 : FROM ${BASE} AS builder 11:35:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:35:51 2408cc74d12b: Pulling fs layer 11:35:51 ea60b727a1ce: Pulling fs layer 11:35:51 30c4a7721957: Pulling fs layer 11:35:51 370296b7ddb6: Pulling fs layer 11:35:51 7c6cee850709: Pulling fs layer 11:35:51 39a5fcdaea64: Pulling fs layer 11:35:51 d94ebbe4e438: Pulling fs layer 11:35:51 bcfd1f05c69d: Pulling fs layer 11:35:51 59ccb84bbe0f: Pulling fs layer 11:35:51 59ccb84bbe0f: Waiting 11:35:51 bcfd1f05c69d: Waiting 11:35:51 370296b7ddb6: Waiting 11:35:51 d94ebbe4e438: Waiting 11:35:51 39a5fcdaea64: Waiting 11:35:51 30c4a7721957: Verifying Checksum 11:35:51 30c4a7721957: Download complete 11:35:51 ea60b727a1ce: Verifying Checksum 11:35:51 ea60b727a1ce: Download complete 11:35:51 7c6cee850709: Verifying Checksum 11:35:51 7c6cee850709: Download complete 11:35:51 39a5fcdaea64: Download complete 11:35:51 2408cc74d12b: Verifying Checksum 11:35:51 2408cc74d12b: Download complete 11:35:51 d94ebbe4e438: Download complete 11:35:51 2408cc74d12b: Pull complete 11:35:51 ea60b727a1ce: Pull complete 11:35:51 30c4a7721957: Pull complete 11:35:51 59ccb84bbe0f: Verifying Checksum 11:35:51 59ccb84bbe0f: Download complete 11:35:51 bcfd1f05c69d: Verifying Checksum 11:35:51 bcfd1f05c69d: Download complete 11:35:52 370296b7ddb6: Verifying Checksum 11:35:52 370296b7ddb6: Download complete 11:35:57 370296b7ddb6: Pull complete 11:35:57 7c6cee850709: Pull complete 11:35:57 39a5fcdaea64: Pull complete 11:35:57 d94ebbe4e438: Pull complete 11:35:59 bcfd1f05c69d: Pull complete 11:35:59 59ccb84bbe0f: Pull complete 11:35:59 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 11:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:35:59 ---> a4fb48ad2a94 11:35:59 Step 3/11 : ARG MAKE=make build 11:36:01 ---> Running in 2a3cba127e62 11:36:01 Removing intermediate container 2a3cba127e62 11:36:01 ---> dfa1362c873b 11:36:01 Step 4/11 : WORKDIR /device-sdk-go 11:36:01 ---> Running in 31affb247f42 11:36:01 Removing intermediate container 31affb247f42 11:36:01 ---> 9c0ae3d0d52f 11:36:01 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:36:02 ---> Running in 7e4919efaa84 11:36:02 Removing intermediate container 7e4919efaa84 11:36:02 ---> ac1414ff8cc4 11:36:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:36:02 ---> Running in 9ace9ec1efd9 11:36:02 Removing intermediate container 9ace9ec1efd9 11:36:02 ---> b2920143fdd1 11:36:02 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:36:02 ---> Running in e8fc6e023a3b 11:36:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:36:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:36:04 OK: 211 MiB in 51 packages 11:36:04 Still waiting to schedule task 11:36:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:36:04 Removing intermediate container e8fc6e023a3b 11:36:04 ---> 04a846c56b28 11:36:04 Step 8/11 : COPY go.mod vendor* ./ 11:36:04 ---> 91b2a72d68bc 11:36:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:36:04 ---> Running in 3509432685de 11:36:31 Removing intermediate container 3509432685de 11:36:31 ---> 39c7d7547f56 11:36:31 Step 10/11 : COPY . . 11:36:31 ---> e3818e423e73 11:36:31 Step 11/11 : RUN ${MAKE} 11:36:31 ---> Running in 13186d8fb9e0 11:36:31 noop 11:36:31 Removing intermediate container 13186d8fb9e0 11:36:31 ---> 5d4649ec01f4 11:36:31 Successfully built 5d4649ec01f4 11:36:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:31 + docker inspect -f . ci-base-image-x86_64 11:36:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:31 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 11:36:32 $ docker top 42fb1a1e30d94de59bfe19a65bdb4ac5a7aeaeade84d3bafbee313a8d8d22dca -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:32 + go version 11:36:32 go version go1.18.3 linux/amd64 [Pipeline] } 11:36:32 $ docker stop --time=1 42fb1a1e30d94de59bfe19a65bdb4ac5a7aeaeade84d3bafbee313a8d8d22dca 11:36:34 $ docker rm -f 42fb1a1e30d94de59bfe19a65bdb4ac5a7aeaeade84d3bafbee313a8d8d22dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:34 + docker inspect -f . ci-base-image-x86_64 11:36:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:34 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:36:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 11:36:35 $ docker top 3d5d3816c6b9fdfc7f22e5a63db77f5f33340bd75e28359e8ed775d7778c1ead -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 11:36:35 + make test 11:36:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:36:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.6% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.091s coverage: 78.9% of statements 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 10.8% of statements 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 34.8% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.094s coverage: 85.4% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.132s coverage: 65.1% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 11:36:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 11:36:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:37:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:37:12 GO111MODULE=on go vet ./... 11:37:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:37:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:37:15 ./bin/test-attribution-txt.sh 11:37:15 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 11:37:15 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 11:37:15 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 11:37:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:37:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:37:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 11:37:15 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 11:37:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:37:15 $ docker stop --time=1 3d5d3816c6b9fdfc7f22e5a63db77f5f33340bd75e28359e8ed775d7778c1ead 11:37:18 $ docker rm -f 3d5d3816c6b9fdfc7f22e5a63db77f5f33340bd75e28359e8ed775d7778c1ead [Pipeline] // withDockerContainer [Pipeline] sh 11:37:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:37:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:37:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:37:19 + ls -al . 11:37:19 total 304 11:37:19 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 11:36 . 11:37:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 11:35 .. 11:37:19 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 11:35 .dockerignore 11:37:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 11:36 .git 11:37:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 11:35 .github 11:37:19 -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 11:35 .gitignore 11:37:19 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 11:35 .golangci.yml 11:37:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 11:35 .semver 11:37:19 -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 11:35 CHANGELOG.md 11:37:19 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 11:35 GOVERNANCE.md 11:37:19 -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 11:35 Jenkinsfile 11:37:19 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 11:35 LICENSE 11:37:19 -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 11:35 Makefile 11:37:19 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 11:35 OWNERS.md 11:37:19 -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 11:35 README.md 11:37:19 -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 11:35 VERSION 11:37:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 11:35 bin 11:37:19 -rw-r--r-- 1 jenkins jenkins 131678 Aug 30 11:36 coverage.out 11:37:19 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 11:35 example 11:37:19 -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 11:35 go.mod 11:37:19 -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 11:35 go.sum 11:37:19 drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 11:35 internal 11:37:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 11:35 openapi 11:37:19 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 11:35 pkg 11:37:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 11:35 snap 11:37:19 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 11:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:19 + 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=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e --label arch=amd64 --label version=2.3.0-dev.20 . 11:37:19 Sending build context to Docker daemon 9.911MB 11:37:19 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:37:19 Step 2/25 : FROM ${BASE} AS builder 11:37:19 ---> 5d4649ec01f4 11:37:19 Step 3/25 : ARG MAKE=make build 11:37:20 ---> Running in 26d473a22c8a 11:37:20 Removing intermediate container 26d473a22c8a 11:37:20 ---> cff4eaeee9e1 11:37:20 Step 4/25 : WORKDIR /device-sdk-go 11:37:20 ---> Running in c84b04d377c0 11:37:20 Removing intermediate container c84b04d377c0 11:37:20 ---> 711fa4a2eb62 11:37:20 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:37:20 ---> Running in a1aab3685e86 11:37:20 Removing intermediate container a1aab3685e86 11:37:20 ---> 664fb8e894d7 11:37:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:37:20 ---> Running in b32a652693bc 11:37:21 Removing intermediate container b32a652693bc 11:37:21 ---> 0b58a779493d 11:37:21 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:37:21 ---> Running in 51f0d26eaea2 11:37:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:37:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:37:22 OK: 211 MiB in 51 packages 11:37:23 Removing intermediate container 51f0d26eaea2 11:37:23 ---> 55dbc5e55797 11:37:23 Step 8/25 : COPY go.mod vendor* ./ 11:37:23 ---> 739459b50fd7 11:37:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:37:23 ---> Running in fdf96b80d773 11:37:23 Removing intermediate container fdf96b80d773 11:37:23 ---> 2c4f67b63047 11:37:23 Step 10/25 : COPY . . 11:37:24 ---> b49a59e14456 11:37:24 Step 11/25 : RUN ${MAKE} 11:37:24 ---> Running in 3897c0e37d3a 11:37:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:37:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23936 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 11:37:37 Running in /w/workspace/device-sdk-go/95 [Pipeline] { [Pipeline] checkout 11:37:37 The recommended git tool is: git 11:37:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 11:37:44 using credential edgex-jenkins-ssh 11:37:44 Cloning the remote Git repository 11:37:45 Removing intermediate container 3897c0e37d3a 11:37:45 ---> 2cdbab2fc835 11:37:45 Step 12/25 : FROM alpine:3.16 11:37:45 3.16: Pulling from library/alpine 11:37:45 213ec9aee27d: Pulling fs layer 11:37:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:37:44 > git init /w/workspace/device-sdk-go/95 # timeout=10 11:37:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:37:44 > git --version # timeout=10 11:37:45 > git --version # 'git version 2.25.1' 11:37:45 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:45 213ec9aee27d: Verifying Checksum 11:37:45 213ec9aee27d: Download complete 11:37:46 213ec9aee27d: Pull complete 11:37:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:37:46 Status: Downloaded newer image for alpine:3.16 11:37:46 ---> 9c6f07244728 11:37:46 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:37:46 ---> Running in 55d3c7dfa7f4 11:37:46 Removing intermediate container 55d3c7dfa7f4 11:37:46 ---> df0379297e38 11:37:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:37:46 ---> Running in 3f27d5350532 11:37:46 Removing intermediate container 3f27d5350532 11:37:46 ---> 4e898d81f141 11:37:46 Step 15/25 : RUN apk add --update --no-cache zeromq 11:37:46 ---> Running in 67592f497ce6 11:37:46 Avoid second fetch 11:37:46 Checking out Revision ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e (main) 11:37:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:37:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:37:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:37:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:46 > git config core.sparsecheckout # timeout=10 11:37:46 > git checkout -f ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 11:37:48 (1/5) Installing libgcc (11.2.1_git20220219-r2) 11:37:48 (2/5) Installing libsodium (1.0.18-r0) 11:37:48 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 11:37:48 (4/5) Installing libzmq (4.3.4-r0) 11:37:48 (5/5) Installing zeromq (4.3.4-r0) 11:37:49 Executing busybox-1.35.0-r17.trigger 11:37:49 OK: 8 MiB in 19 packages 11:37:49 Removing intermediate container 67592f497ce6 11:37:49 ---> 4bb220db22ef 11:37:49 Step 16/25 : WORKDIR / 11:37:49 ---> Running in 97279736310f 11:37:49 Removing intermediate container 97279736310f 11:37:49 ---> 55a2d0689834 11:37:49 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:37:49 ---> 31f50769c18d 11:37:49 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:37:50 ---> ae50d2ca06e9 11:37:50 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:37:50 ---> 4b74b43db863 11:37:50 Step 20/25 : EXPOSE 59999 11:37:50 ---> Running in 2762fdbd8394 11:37:50 Removing intermediate container 2762fdbd8394 11:37:50 ---> 8d836a81237c 11:37:50 Step 21/25 : ENTRYPOINT ["/device-simple"] 11:37:50 ---> Running in 1b071c6d6ebc 11:37:50 Removing intermediate container 1b071c6d6ebc 11:37:50 ---> f5f86427459c 11:37:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:37:50 ---> Running in 45a158e9ddfa 11:37:51 Removing intermediate container 45a158e9ddfa 11:37:51 ---> f8a83d272281 11:37:51 Step 23/25 : LABEL arch=amd64 11:37:51 ---> Running in ecb2de8e47e4 11:37:51 Removing intermediate container ecb2de8e47e4 11:37:51 ---> 25fa0a110f28 11:37:51 Step 24/25 : LABEL git_sha=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e 11:37:51 Commit message: "Merge pull request #1208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.14" 11:37:51 ---> Running in 95f4bab65442 11:37:51 Removing intermediate container 95f4bab65442 11:37:51 ---> a359470489ae 11:37:51 Step 25/25 : LABEL version=2.3.0-dev.20 11:37:51 ---> Running in f485fbbf740e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 11:37:51 Removing intermediate container f485fbbf740e 11:37:51 ---> 9173934de3df 11:37:51 [Warning] One or more build-args [ARCH] were not consumed 11:37:51 Successfully built 9173934de3df 11:37:51 Successfully tagged device-sdk-simple:latest [Pipeline] sh [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 11:37:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:37:52 % Total % Received % Xferd Average Speed Time Time Time Current 11:37:52 Dload Upload Total Spent Left Speed 11:37:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 98453 11:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:37:52 11:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 11:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:37:52 latest: Pulling from edgex-lftools-log-publisher 11:37:52 5eb5b503b376: Pulling fs layer 11:37:52 5c69ac0246d0: Pulling fs layer 11:37:52 ec43610c2a17: Pulling fs layer 11:37:52 3a2ae6a8a46f: Pulling fs layer 11:37:52 33b1e0a273af: Pulling fs layer 11:37:52 5d3b04190fa2: Pulling fs layer 11:37:52 2f39f015ded8: Pulling fs layer 11:37:52 3a2ae6a8a46f: Waiting 11:37:52 2f39f015ded8: Waiting 11:37:52 5d3b04190fa2: Waiting 11:37:52 33b1e0a273af: Waiting 11:37:52 5c69ac0246d0: Download complete 11:37:52 3a2ae6a8a46f: Verifying Checksum 11:37:52 3a2ae6a8a46f: Download complete 11:37:52 ec43610c2a17: Verifying Checksum 11:37:52 ec43610c2a17: Download complete 11:37:52 33b1e0a273af: Verifying Checksum 11:37:52 33b1e0a273af: Download complete 11:37:52 5d3b04190fa2: Verifying Checksum 11:37:52 5d3b04190fa2: Download complete 11:37:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 11:37:52 5eb5b503b376: Verifying Checksum 11:37:52 5eb5b503b376: Download complete [Pipeline] sh 11:37:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:37:53 + sudo tee /etc/docker/daemon.new 11:37:53 { 11:37:53 "registry-mirrors": [ 11:37:53 "https://nexus3.edgexfoundry.org:10001" 11:37:53 ], 11:37:53 "bip": "10.250.0.254/24", 11:37:53 "hosts": [ 11:37:53 "tcp://0.0.0.0:5555", 11:37:53 "unix:///var/run/docker.sock" 11:37:53 ], 11:37:53 "mtu": 1458, 11:37:53 "selinux-enabled": true, 11:37:53 "seccomp-profile": "/etc/docker/seccomp.json" 11:37:53 } [Pipeline] sh 11:37:53 2f39f015ded8: Download complete 11:37:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:37:53 + sudo service docker restart 11:37:53 5eb5b503b376: Pull complete 11:37:54 5c69ac0246d0: Pull complete 11:37:54 ec43610c2a17: Pull complete 11:37:54 3a2ae6a8a46f: Pull complete 11:37:54 33b1e0a273af: Pull complete 11:37:54 5d3b04190fa2: Pull complete 11:38:00 2f39f015ded8: Pull complete 11:38:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:38:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:00 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:38:00 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:38:02 $ docker top d780342766f1bf3529435184ae6dec00c1b0101d7168eb042613f181ad94421a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:02 ---> job-cost.sh 11:38:02 lf-activate-venv: SKIPPING 11:38:02 INFO: No Stack... 11:38:03 INFO: Retrieving Pricing Info for: v3-standard-8 11:38:03 INFO: Archiving Costs [Pipeline] sh 11:38:03 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 11:38:03 + cut -d, -f6 [Pipeline] lock 11:38:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] 11:38:03 Resource [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] did not exist. Created. 11:38:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:38:04 + echo total: 0.2199999988079071 [Pipeline] stash 11:38:04 Stashed 1 file(s) [Pipeline] } 11:38:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 11:38:04 $ docker stop --time=1 d780342766f1bf3529435184ae6dec00c1b0101d7168eb042613f181ad94421a 11:38:05 $ docker rm -f d780342766f1bf3529435184ae6dec00c1b0101d7168eb042613f181ad94421a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:38:12 provisioning config files... 11:38:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/95@tmp/config6733243014156815075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:12 ---> docker-login.sh 11:38:12 nexus3.edgexfoundry.org:10001 11:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:13 Configure a credential helper to remove this warning. See 11:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:13 11:38:13 Login Succeeded 11:38:13 nexus3.edgexfoundry.org:10002 11:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:13 Configure a credential helper to remove this warning. See 11:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:13 11:38:13 Login Succeeded 11:38:13 nexus3.edgexfoundry.org:10003 11:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:14 Configure a credential helper to remove this warning. See 11:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:14 11:38:14 Login Succeeded 11:38:14 nexus3.edgexfoundry.org:10004 11:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:14 Configure a credential helper to remove this warning. See 11:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:14 11:38:14 Login Succeeded 11:38:14 docker.io 11:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:15 Configure a credential helper to remove this warning. See 11:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:15 11:38:15 Login Succeeded 11:38:15 ---> docker-login.sh ends [Pipeline] } 11:38:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:16 ========================================================= 11:38:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:38:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:16 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 11:38:16 Sending build context to Docker daemon 5.253MB 11:38:17 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 11:38:17 Step 2/11 : FROM ${BASE} AS builder 11:38:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:38:17 b3c136eddcbf: Pulling fs layer 11:38:17 c0a3192eca97: Pulling fs layer 11:38:17 a050256f5b6f: Pulling fs layer 11:38:17 656be50a0ddc: Pulling fs layer 11:38:17 2bbca73fdf42: Pulling fs layer 11:38:17 46d945488cbd: Pulling fs layer 11:38:17 8a5474983e97: Pulling fs layer 11:38:17 329c88fbcd65: Pulling fs layer 11:38:17 656be50a0ddc: Waiting 11:38:17 2bbca73fdf42: Waiting 11:38:17 46d945488cbd: Waiting 11:38:17 8a5474983e97: Waiting 11:38:17 329c88fbcd65: Waiting 11:38:17 c0a3192eca97: Verifying Checksum 11:38:17 c0a3192eca97: Download complete 11:38:17 2bbca73fdf42: Verifying Checksum 11:38:17 2bbca73fdf42: Download complete 11:38:17 46d945488cbd: Verifying Checksum 11:38:17 46d945488cbd: Download complete 11:38:17 b3c136eddcbf: Verifying Checksum 11:38:17 b3c136eddcbf: Download complete 11:38:18 b3c136eddcbf: Pull complete 11:38:18 329c88fbcd65: Verifying Checksum 11:38:18 329c88fbcd65: Download complete 11:38:18 c0a3192eca97: Pull complete 11:38:18 a050256f5b6f: Pull complete 11:38:19 8a5474983e97: Verifying Checksum 11:38:19 8a5474983e97: Download complete 11:38:20 656be50a0ddc: Verifying Checksum 11:38:20 656be50a0ddc: Download complete 11:38:32 656be50a0ddc: Pull complete 11:38:32 2bbca73fdf42: Pull complete 11:38:33 46d945488cbd: Pull complete 11:38:39 8a5474983e97: Pull complete 11:38:41 329c88fbcd65: Pull complete 11:38:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 11:38:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:38:41 ---> ff4287adb874 11:38:41 Step 3/11 : ARG MAKE=make build 11:38:42 ---> Running in 4fb715407723 11:38:42 Removing intermediate container 4fb715407723 11:38:42 ---> f11acdae19ad 11:38:42 Step 4/11 : WORKDIR /device-sdk-go 11:38:42 ---> Running in f2a729213453 11:38:43 Removing intermediate container f2a729213453 11:38:43 ---> dd74e2532b8b 11:38:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:38:43 ---> Running in 502a100a7b5f 11:38:43 Removing intermediate container 502a100a7b5f 11:38:43 ---> bae5447ce984 11:38:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:38:43 ---> Running in 6ec14764b708 11:38:45 Removing intermediate container 6ec14764b708 11:38:45 ---> 4b11b5d4f87b 11:38:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:38:45 ---> Running in 4cf26f2171f9 11:38:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:38:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:38:48 OK: 221 MiB in 51 packages 11:38:49 Removing intermediate container 4cf26f2171f9 11:38:49 ---> d10bcd402180 11:38:49 Step 8/11 : COPY go.mod vendor* ./ 11:38:50 ---> 5e9ab0cd7c32 11:38:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:38:50 ---> Running in 7ac5a460886b 11:39:46 Removing intermediate container 7ac5a460886b 11:39:46 ---> e333a7a5aca1 11:39:46 Step 10/11 : COPY . . 11:39:46 ---> 83d78b33633f 11:39:46 Step 11/11 : RUN ${MAKE} 11:39:46 ---> Running in 8a890811dccc 11:39:46 noop 11:39:46 Removing intermediate container 8a890811dccc 11:39:46 ---> 73705d20b93d 11:39:46 Successfully built 73705d20b93d 11:39:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:47 + docker inspect -f . ci-base-image-arm64 11:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:47 prd-ubuntu20.04-docker-arm64-4c-16g-23936 does not seem to be running inside a container 11:39:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/95 -v /w/workspace/device-sdk-go/95:/w/workspace/device-sdk-go/95:rw,z -v /w/workspace/device-sdk-go/95@tmp:/w/workspace/device-sdk-go/95@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 ******** ci-base-image-arm64 cat 11:39:48 $ docker top 43a05dd50b9724af0cfee99066e81e31fbcdfa6148f66d9bc0792f1f9c55cbe2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:49 + go version 11:39:49 go version go1.18.3 linux/arm64 [Pipeline] } 11:39:49 $ docker stop --time=1 43a05dd50b9724af0cfee99066e81e31fbcdfa6148f66d9bc0792f1f9c55cbe2 11:39:51 $ docker rm -f 43a05dd50b9724af0cfee99066e81e31fbcdfa6148f66d9bc0792f1f9c55cbe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:51 + docker inspect -f . ci-base-image-arm64 11:39:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:51 prd-ubuntu20.04-docker-arm64-4c-16g-23936 does not seem to be running inside a container 11:39:52 $ 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/95 -v /w/workspace/device-sdk-go/95:/w/workspace/device-sdk-go/95:rw,z -v /w/workspace/device-sdk-go/95@tmp:/w/workspace/device-sdk-go/95@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 ******** ci-base-image-arm64 cat 11:39:53 $ docker top 6611ac5a457591ddf43e36c739f68b71dcbc1a96e435218b16f5b888004ac164 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:54 + git config --global --add safe.directory /w/workspace/device-sdk-go/95 [Pipeline] fileExists [Pipeline] sh 11:39:54 + make test 11:39:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:40:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:42:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:42:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 11:42:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:42:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.487s coverage: 23.6% of statements 11:42:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:42:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.229s coverage: 27.6% of statements 11:42:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.290s coverage: 78.9% of statements 11:42:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.422s coverage: 10.8% of statements 11:42:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.387s coverage: 60.0% of statements 11:42:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 11:42:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:42:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.363s coverage: 34.8% of statements 11:42:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 11:42:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.303s coverage: 85.4% of statements 11:42:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:42:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:42:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.427s coverage: 65.1% of statements 11:42:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 11:42:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 11:42:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.155s coverage: 89.2% of statements 11:42:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 11:42:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 4.7% of statements 11:42:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:42:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:42:26 GO111MODULE=on go vet ./... 11:43:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:48 ./bin/test-attribution-txt.sh 11:43:48 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 11:43:48 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 11:43:48 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 11:43:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:43:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:43:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 11:43:48 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 11:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:43:48 $ docker stop --time=1 6611ac5a457591ddf43e36c739f68b71dcbc1a96e435218b16f5b888004ac164 11:43:50 $ docker rm -f 6611ac5a457591ddf43e36c739f68b71dcbc1a96e435218b16f5b888004ac164 [Pipeline] // withDockerContainer [Pipeline] sh 11:43:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:51 Warning: overwriting stash ‘coverage-report’ 11:43:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:52 + ls -al . 11:43:52 total 300 11:43:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 11:39 . 11:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 11:37 .. 11:43:52 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 11:37 .dockerignore 11:43:52 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 11:37 .git 11:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 11:37 .github 11:43:52 -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 11:37 .gitignore 11:43:52 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 11:37 .golangci.yml 11:43:52 -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 11:37 CHANGELOG.md 11:43:52 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 11:37 GOVERNANCE.md 11:43:52 -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 11:37 Jenkinsfile 11:43:52 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 11:37 LICENSE 11:43:52 -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 11:37 Makefile 11:43:52 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 11:37 OWNERS.md 11:43:52 -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 11:37 README.md 11:43:52 -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 11:35 VERSION 11:43:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 11:37 bin 11:43:52 -rw-r--r-- 1 jenkins jenkins 131678 Aug 30 11:42 coverage.out 11:43:52 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 11:37 example 11:43:52 -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 11:37 go.mod 11:43:52 -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 11:37 go.sum 11:43:52 drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 11:37 internal 11:43:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 11:37 openapi 11:43:52 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 11:37 pkg 11:43:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 11:37 snap 11:43:52 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:53 + 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=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e --label arch=arm64 --label version=2.3.0-dev.20 . 11:43:53 Sending build context to Docker daemon 5.386MB 11:43:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:43:53 Step 2/25 : FROM ${BASE} AS builder 11:43:53 ---> 73705d20b93d 11:43:53 Step 3/25 : ARG MAKE=make build 11:43:53 ---> Running in 4fbc0aefedfb 11:43:54 Removing intermediate container 4fbc0aefedfb 11:43:54 ---> 4e5f02ddde1f 11:43:54 Step 4/25 : WORKDIR /device-sdk-go 11:43:54 ---> Running in 2501c6c333e8 11:43:54 Removing intermediate container 2501c6c333e8 11:43:54 ---> ea815ed3f50d 11:43:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:43:54 ---> Running in 0ba968d35366 11:43:54 Removing intermediate container 0ba968d35366 11:43:54 ---> c2c43b6f7fe5 11:43:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:43:55 ---> Running in bb4ac070bb8e 11:43:56 Removing intermediate container bb4ac070bb8e 11:43:56 ---> 43bef48ef743 11:43:56 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:43:56 ---> Running in 847dc1a55bcd 11:43:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:43:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:43:59 OK: 221 MiB in 51 packages 11:44:00 Removing intermediate container 847dc1a55bcd 11:44:00 ---> 5e0082a30cbc 11:44:00 Step 8/25 : COPY go.mod vendor* ./ 11:44:00 ---> f86ba2533944 11:44:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:00 ---> Running in 7bddd78b7697 11:44:02 Removing intermediate container 7bddd78b7697 11:44:02 ---> a507e4c3127d 11:44:02 Step 10/25 : COPY . . 11:44:03 ---> c83aab5723af 11:44:03 Step 11/25 : RUN ${MAKE} 11:44:03 ---> Running in 14c6e78e084b 11:44:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:46:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 11:46:11 Removing intermediate container 14c6e78e084b 11:46:11 ---> 511aa32e8b8e 11:46:11 Step 12/25 : FROM alpine:3.16 11:46:11 3.16: Pulling from library/alpine 11:46:11 9b18e9b68314: Pulling fs layer 11:46:11 9b18e9b68314: Verifying Checksum 11:46:11 9b18e9b68314: Download complete 11:46:11 9b18e9b68314: Pull complete 11:46:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:46:11 Status: Downloaded newer image for alpine:3.16 11:46:11 ---> a6215f271958 11:46:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:46:11 ---> Running in 70bbf5fb136a 11:46:11 Removing intermediate container 70bbf5fb136a 11:46:11 ---> 2058881ed560 11:46:11 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:46:11 ---> Running in 56d49ccea5d5 11:46:11 Removing intermediate container 56d49ccea5d5 11:46:11 ---> cd05009e0b4c 11:46:11 Step 15/25 : RUN apk add --update --no-cache zeromq 11:46:11 ---> Running in 0a0bf93bab82 11:46:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:46:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:46:11 (1/5) Installing libgcc (11.2.1_git20220219-r2) 11:46:11 (2/5) Installing libsodium (1.0.18-r0) 11:46:11 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 11:46:11 (4/5) Installing libzmq (4.3.4-r0) 11:46:11 (5/5) Installing zeromq (4.3.4-r0) 11:46:11 Executing busybox-1.35.0-r17.trigger 11:46:11 OK: 8 MiB in 19 packages 11:46:12 Removing intermediate container 0a0bf93bab82 11:46:12 ---> f74b4cca3b75 11:46:12 Step 16/25 : WORKDIR / 11:46:12 ---> Running in 4b2877cae233 11:46:13 Removing intermediate container 4b2877cae233 11:46:13 ---> eccfa1e13bb1 11:46:13 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:46:13 ---> f18beba43ceb 11:46:13 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:46:15 ---> 27b9e7f12682 11:46:15 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:46:15 ---> 4c246f1f368f 11:46:15 Step 20/25 : EXPOSE 59999 11:46:15 ---> Running in c4cf99b70087 11:46:16 Removing intermediate container c4cf99b70087 11:46:16 ---> 982b2088a060 11:46:16 Step 21/25 : ENTRYPOINT ["/device-simple"] 11:46:16 ---> Running in ba2f8ad2d919 11:46:16 Removing intermediate container ba2f8ad2d919 11:46:16 ---> e3bb966b5751 11:46:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:46:16 ---> Running in 778105ff75d7 11:46:16 Removing intermediate container 778105ff75d7 11:46:16 ---> a245c2db74c9 11:46:16 Step 23/25 : LABEL arch=arm64 11:46:16 ---> Running in 5a11d5505281 11:46:17 Removing intermediate container 5a11d5505281 11:46:17 ---> 8267663efd52 11:46:17 Step 24/25 : LABEL git_sha=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e 11:46:17 ---> Running in defd8e9ebe65 11:46:17 Removing intermediate container defd8e9ebe65 11:46:17 ---> 4d555685b720 11:46:17 Step 25/25 : LABEL version=2.3.0-dev.20 11:46:17 ---> Running in 8e26116edd72 11:46:17 Removing intermediate container 8e26116edd72 11:46:17 ---> 466377c883b5 11:46:17 [Warning] One or more build-args [ARCH] were not consumed 11:46:17 Successfully built 466377c883b5 11:46:17 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 11:46:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:46:18 11:46:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:46:18 arm64: Pulling from edgex-lftools-log-publisher 11:46:18 8998bd30e6a1: Pulling fs layer 11:46:18 04944245beec: Pulling fs layer 11:46:18 699f458cf7ca: Pulling fs layer 11:46:18 765212b225bb: Pulling fs layer 11:46:18 f23df028b6ca: Pulling fs layer 11:46:18 d65c8cfc05b1: Pulling fs layer 11:46:18 2437ff75d9bd: Pulling fs layer 11:46:18 765212b225bb: Waiting 11:46:18 f23df028b6ca: Waiting 11:46:18 2437ff75d9bd: Waiting 11:46:18 d65c8cfc05b1: Waiting 11:46:18 04944245beec: Verifying Checksum 11:46:18 04944245beec: Download complete 11:46:18 765212b225bb: Verifying Checksum 11:46:18 765212b225bb: Download complete 11:46:18 f23df028b6ca: Verifying Checksum 11:46:18 f23df028b6ca: Download complete 11:46:18 d65c8cfc05b1: Verifying Checksum 11:46:18 d65c8cfc05b1: Download complete 11:46:19 699f458cf7ca: Verifying Checksum 11:46:19 699f458cf7ca: Download complete 11:46:19 8998bd30e6a1: Verifying Checksum 11:46:19 8998bd30e6a1: Download complete 11:46:21 2437ff75d9bd: Verifying Checksum 11:46:21 2437ff75d9bd: Download complete 11:46:23 8998bd30e6a1: Pull complete 11:46:24 04944245beec: Pull complete 11:46:25 699f458cf7ca: Pull complete 11:46:25 765212b225bb: Pull complete 11:46:26 f23df028b6ca: Pull complete 11:46:26 d65c8cfc05b1: Pull complete 11:46:41 2437ff75d9bd: Pull complete 11:46:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:42 prd-ubuntu20.04-docker-arm64-4c-16g-23936 does not seem to be running inside a container 11:46:42 $ 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/95 -v /w/workspace/device-sdk-go/95:/w/workspace/device-sdk-go/95:rw,z -v /w/workspace/device-sdk-go/95@tmp:/w/workspace/device-sdk-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:46:44 $ docker top d04e960f4874954e8697aab3c08c46ca10452c1d7fd87c52ac894507b593c111 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:46:45 ---> job-cost.sh 11:46:45 lf-activate-venv: SKIPPING 11:46:45 INFO: No Stack... 11:46:46 INFO: Retrieving Pricing Info for: v3-standard-4 11:46:47 INFO: Archiving Costs [Pipeline] sh 11:46:47 + cut -d, -f6 11:46:47 + cat /w/workspace/device-sdk-go/95/archives/cost.csv [Pipeline] lock 11:46:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] 11:46:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] did not exist. Created. 11:46:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:46:48 /w/workspace/device-sdk-go/95@tmp/durable-c8b340b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:46:49 + echo total: 0.10999999940395355 [Pipeline] stash 11:46:49 Warning: overwriting stash ‘stack-cost’ 11:46:49 Stashed 1 file(s) [Pipeline] } 11:46:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 11:46:49 $ docker stop --time=1 d04e960f4874954e8697aab3c08c46ca10452c1d7fd87c52ac894507b593c111 11:46:50 $ docker rm -f d04e960f4874954e8697aab3c08c46ca10452c1d7fd87c52ac894507b593c111 [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 11:46:51 provisioning config files... 11:46:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config988983506885676471tmp [Pipeline] { [Pipeline] sh 11:46:51 + set +x 11:46:51 + curl -s+ https://codecov.io/bash 11:46:51 bash -s -- 11:46:51 11:46:51 _____ _ 11:46:51 / ____| | | 11:46:51 | | ___ __| | ___ ___ _____ __ 11:46:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:46:51 | |___| (_) | (_| | __/ (_| (_) \ V / 11:46:51 \_____\___/ \__,_|\___|\___\___/ \_/ 11:46:51 Bash-1.0.6 11:46:51 11:46:51 11:46:51 ==> git version 2.25.1 found 11:46:51 ==> 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 11:46:51 Release-Date: 2020-01-08 11:46:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:46:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:46:51 ==> Jenkins CI detected. 11:46:51 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 11:46:51 project root: . 11:46:51 --> token set from env 11:46:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:46:51 ==> Running gcov in . (disable via -X gcov) 11:46:51 ==> Python coveragepy not found 11:46:51 ==> Searching for coverage reports in: 11:46:51 + . 11:46:51 -> Found 1 reports 11:46:51 ==> Detecting git/mercurial file structure 11:46:52 ==> Reading reports 11:46:52 + ./coverage.out bytes=131678 11:46:52 ==> Appending adjustments 11:46:52 https://docs.codecov.io/docs/fixing-reports 11:46:52 + Found adjustments 11:46:52 ==> Gzipping contents 11:46:52 20K /tmp/codecov.G8OqZm.gz 11:46:52 ==> Uploading reports 11:46:52 url: https://codecov.io 11:46:52 query: branch=main&commit=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:46:52 -> Pinging Codecov 11:46:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:46:53 -> Uploading to 11:46:53 https://storage.googleapis.com/codecov/v4/raw/2022-08-30/7E55EF52A471D76F132DFD9A03CDDE97/ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e/0a4c204c-163e-4a90-864b-39e3d59af1e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T114652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=143d325d286e874f046eceeb7e6e73464f6f7998722f0f82b3c0e897eb2b295f 11:46:53 % Total % Received % Xferd Average Speed Time Time Time Current 11:46:53 Dload Upload Total Spent Left Speed 11:46:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17268 0 0 100 17268 0 71355 --:--:-- --:--:-- --:--:-- 71355 11:46:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] } 11:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:46:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:46:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:46:53 11:46:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:46:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:46:54 df9b9388f04a: Pulling fs layer 11:46:54 52dc419b0ee2: Pulling fs layer 11:46:54 25bc292e5bac: Pulling fs layer 11:46:54 114826534d7a: Pulling fs layer 11:46:54 4657fd5d0bcf: Pulling fs layer 11:46:54 6ad1cebc031e: Pulling fs layer 11:46:54 8a3aa393b2d8: Pulling fs layer 11:46:54 4657fd5d0bcf: Waiting 11:46:54 6ad1cebc031e: Waiting 11:46:54 114826534d7a: Waiting 11:46:54 8a3aa393b2d8: Waiting 11:46:54 25bc292e5bac: Verifying Checksum 11:46:54 25bc292e5bac: Download complete 11:46:54 52dc419b0ee2: Download complete 11:46:54 4657fd5d0bcf: Verifying Checksum 11:46:54 4657fd5d0bcf: Download complete 11:46:54 df9b9388f04a: Verifying Checksum 11:46:54 df9b9388f04a: Download complete 11:46:54 6ad1cebc031e: Verifying Checksum 11:46:54 6ad1cebc031e: Download complete 11:46:54 df9b9388f04a: Pull complete 11:46:54 52dc419b0ee2: Pull complete 11:46:54 25bc292e5bac: Pull complete 11:46:55 114826534d7a: Verifying Checksum 11:46:55 114826534d7a: Download complete 11:46:55 8a3aa393b2d8: Verifying Checksum 11:46:55 8a3aa393b2d8: Download complete 11:46:59 114826534d7a: Pull complete 11:46:59 4657fd5d0bcf: Pull complete 11:46:59 6ad1cebc031e: Pull complete 11:47:01 8a3aa393b2d8: Pull complete 11:47:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:47:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:01 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:47:03 $ docker top e85d76e79cee36b1f6ac8d39c3a6f937ede2dda9079660575dc58ca74d8d274d -eo pid,comm [Pipeline] { [Pipeline] echo 11:47:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 11:47:04 + set -o pipefail 11:47:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 11:47:09 11:47:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 11:47:09 11:47:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/cf1a3a69-1a6b-4eb5-89e4-d48f0e7abeb5 11:47:09 11:47:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:47:09 11:47:10 [Pipeline] } 11:47:10 $ docker stop --time=1 e85d76e79cee36b1f6ac8d39c3a6f937ede2dda9079660575dc58ca74d8d274d 11:47:12 $ docker rm -f e85d76e79cee36b1f6ac8d39c3a6f937ede2dda9079660575dc58ca74d8d274d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 11:47:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:12 provisioning config files... 11:47:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3162792596771770488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:12 --> edgex-publish-swagger.sh 11:47:12 === Publish openapi/v2 API === 11:47:12 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 11:47:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 11:47:12 % Total % Received % Xferd Average Speed Time Time Time Current 11:47:12 Dload Upload Total Spent Left Speed 11:47:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 78521 --:--:-- --:--:-- --:--:-- 78407 100 53552 0 0 100 53552 0 78521 --:--:-- --:--:-- --:--:-- 78407 11:47:13 11:47:13 [Pipeline] } 11:47:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:47:13 + git log --format=format:%s -1 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e [Pipeline] sh 11:47:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:47:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:14 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:47:15 $ docker top 69b652777df1374c8b31c1d513b07c43277306b2f027f749ecf5e261a0b27a2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:47:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:47:15 [ssh-agent] Looking for ssh-agent implementation... 11:47:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:47:15 $ docker exec 69b652777df1374c8b31c1d513b07c43277306b2f027f749ecf5e261a0b27a2e ssh-agent 11:47:15 SSH_AUTH_SOCK=/tmp/ssh-ntZOxWOGEWtV/agent.33 11:47:15 SSH_AGENT_PID=40 11:47:15 Running ssh-add (command line suppressed) 11:47:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7102052174770529978.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7102052174770529978.key) 11:47:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:47:15 + git semver tag 11:47:16 2022-08-30 11:47:16,034 [run_tag] DEBUG tag force:False 11:47:16 2022-08-30 11:47:16,034 [check_head_tag] DEBUG check head tag 11:47:16 2022-08-30 11:47:16,035 [execute] INFO git cat-file --batch-check 11:47:16 2022-08-30 11:47:16,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:47:16 2022-08-30 11:47:16,040 [execute] INFO git cat-file --batch 11:47:16 2022-08-30 11:47:16,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:47:16 2022-08-30 11:47:16,055 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:16 2022-08-30 11:47:16,055 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 11:47:16 2022-08-30 11:47:16,055 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 11:47:16 2022-08-30 11:47:16,060 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:16 2.3.0-dev.20 [Pipeline] } 11:47:16 $ docker exec --env ******** --env ******** 69b652777df1374c8b31c1d513b07c43277306b2f027f749ecf5e261a0b27a2e ssh-agent -k 11:47:16 unset SSH_AUTH_SOCK; 11:47:16 unset SSH_AGENT_PID; 11:47:16 echo Agent pid 40 killed; 11:47:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:47:16 + git semver [Pipeline] } 11:47:16 $ docker stop --time=1 69b652777df1374c8b31c1d513b07c43277306b2f027f749ecf5e261a0b27a2e 11:47:18 $ docker rm -f 69b652777df1374c8b31c1d513b07c43277306b2f027f749ecf5e261a0b27a2e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:47:18 11:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:47:18 0.23.1-centos7: Pulling from edgex-lftools 11:47:18 ab5ef0e58194: Pulling fs layer 11:47:18 9712f1f96733: Pulling fs layer 11:47:18 63f879dbbcfc: Pulling fs layer 11:47:18 0d9ebad4ef96: Pulling fs layer 11:47:18 e9a5061849ea: Pulling fs layer 11:47:18 d747dcd14b5f: Pulling fs layer 11:47:18 2de7ff778b66: Pulling fs layer 11:47:18 e9a5061849ea: Waiting 11:47:18 d747dcd14b5f: Waiting 11:47:18 2de7ff778b66: Waiting 11:47:18 0d9ebad4ef96: Waiting 11:47:18 9712f1f96733: Verifying Checksum 11:47:18 9712f1f96733: Download complete 11:47:19 63f879dbbcfc: Verifying Checksum 11:47:19 63f879dbbcfc: Download complete 11:47:19 e9a5061849ea: Verifying Checksum 11:47:19 d747dcd14b5f: Download complete 11:47:19 0d9ebad4ef96: Download complete 11:47:19 2de7ff778b66: Verifying Checksum 11:47:19 2de7ff778b66: Download complete 11:47:19 ab5ef0e58194: Verifying Checksum 11:47:19 ab5ef0e58194: Download complete 11:47:22 ab5ef0e58194: Pull complete 11:47:22 9712f1f96733: Pull complete 11:47:23 63f879dbbcfc: Pull complete 11:47:27 0d9ebad4ef96: Pull complete 11:47:27 e9a5061849ea: Pull complete 11:47:27 d747dcd14b5f: Pull complete 11:47:28 2de7ff778b66: Pull complete 11:47:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:47:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:29 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:47:31 $ docker top b330984efdacb2a4127f40052bcc4a0ff470c82d68eb11634aa27a107ea76145 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:47:31 provisioning config files... 11:47:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1827077761263706017tmp 11:47:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5268299121814744903tmp 11:47:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6581156386196573842tmp [Pipeline] { [Pipeline] echo 11:47:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:47:31 ---> sigul-configuration.sh 11:47:31 gpg: directory `/root/.gnupg' created 11:47:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:47:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:47:31 gpg: keyring `/root/.gnupg/secring.gpg' created 11:47:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:47:31 gpg: CAST5 encrypted data 11:47:31 gpg: encrypted with 1 passphrase 11:47:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:47:31 + mkdir /home/jenkins 11:47:31 + mkdir /home/jenkins/sigul [Pipeline] sh 11:47:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:47:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:47:32 ---> sigul-install.sh 11:47:32 Sigul already installed; skipping installation. [Pipeline] sh 11:47:32 + git tag --list 11:47:32 0.7.1 11:47:32 delhi-tag 11:47:32 v1.0.0 11:47:32 v1.1.0 11:47:32 v1.1.1 11:47:32 v1.1.2 11:47:32 v1.2.0 11:47:32 v1.2.1 11:47:32 v1.2.2 11:47:32 v1.2.3 11:47:32 v1.3.0 11:47:32 v1.4.0 11:47:32 v2.0.0 11:47:32 v2.1.0 11:47:32 v2.1.1 11:47:32 v2.1.1-dev.2 11:47:32 v2.1.1-dev.3 11:47:32 v2.2.0 11:47:32 v2.2.1-dev.1 11:47:32 v2.2.1-dev.10 11:47:32 v2.2.1-dev.11 11:47:32 v2.2.1-dev.12 11:47:32 v2.2.1-dev.13 11:47:32 v2.2.1-dev.14 11:47:32 v2.2.1-dev.2 11:47:32 v2.2.1-dev.3 11:47:32 v2.2.1-dev.4 11:47:32 v2.2.1-dev.5 11:47:32 v2.2.1-dev.6 11:47:32 v2.2.1-dev.7 11:47:32 v2.2.1-dev.8 11:47:32 v2.2.1-dev.9 11:47:32 v2.3.0-dev.14 11:47:32 v2.3.0-dev.15 11:47:32 v2.3.0-dev.16 11:47:32 v2.3.0-dev.17 11:47:32 v2.3.0-dev.18 11:47:32 v2.3.0-dev.19 11:47:32 v2.3.0-dev.20 [Pipeline] sh 11:47:33 + lftools sign git-tag v2.3.0-dev.20 11:47:33 Signing Git tag with Sigul... 11:47:33 Signing v2.3.0-dev.20 [Pipeline] echo 11:47:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:47:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:47:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:47:34 $ docker stop --time=1 b330984efdacb2a4127f40052bcc4a0ff470c82d68eb11634aa27a107ea76145 11:47:35 $ docker rm -f b330984efdacb2a4127f40052bcc4a0ff470c82d68eb11634aa27a107ea76145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:47:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:47:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:36 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:47:37 $ docker top 63defb2ce098021210be661dc526459a60eb0735a1464fe050290d1e17712a88 -eo pid,comm 11:47:37 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). 11:47:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:47:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:47:37 [ssh-agent] Looking for ssh-agent implementation... 11:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:47:37 $ docker exec 63defb2ce098021210be661dc526459a60eb0735a1464fe050290d1e17712a88 ssh-agent 11:47:37 SSH_AUTH_SOCK=/tmp/ssh-smRvH7X7zmQ0/agent.33 11:47:37 SSH_AGENT_PID=39 11:47:37 Running ssh-add (command line suppressed) 11:47:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6286642257000598128.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6286642257000598128.key) 11:47:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:47:37 + git semver bump pre 11:47:38 2022-08-30 11:47:38,159 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:38 2022-08-30 11:47:38,159 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 11:47:38 2022-08-30 11:47:38,159 [bump_version] DEBUG bumped version:2.3.0-dev.21 11:47:38 2022-08-30 11:47:38,159 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 11:47:38 2022-08-30 11:47:38,159 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:38 2022-08-30 11:47:38,160 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:38 2022-08-30 11:47:38,162 [execute] INFO git cat-file --batch-check 11:47:38 2022-08-30 11:47:38,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:47:38 2022-08-30 11:47:38,167 [execute] INFO git cat-file --batch 11:47:38 2022-08-30 11:47:38,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:47:38 2022-08-30 11:47:38,172 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:38 2.3.0-dev.21 [Pipeline] } 11:47:38 $ docker exec --env ******** --env ******** 63defb2ce098021210be661dc526459a60eb0735a1464fe050290d1e17712a88 ssh-agent -k 11:47:38 unset SSH_AUTH_SOCK; 11:47:38 unset SSH_AGENT_PID; 11:47:38 echo Agent pid 39 killed; 11:47:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:47:38 + git semver [Pipeline] } 11:47:38 $ docker stop --time=1 63defb2ce098021210be661dc526459a60eb0735a1464fe050290d1e17712a88 11:47:40 $ docker rm -f 63defb2ce098021210be661dc526459a60eb0735a1464fe050290d1e17712a88 [Pipeline] // withDockerContainer [Pipeline] sh 11:47:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:47:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:47:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:41 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:47:41 $ docker top 47f9bbd89ec34cabc809d84ecab3d82c532f33454d8dc0c68b9c1403b3bd470b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:47:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:47:41 [ssh-agent] Looking for ssh-agent implementation... 11:47:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:47:41 $ docker exec 47f9bbd89ec34cabc809d84ecab3d82c532f33454d8dc0c68b9c1403b3bd470b ssh-agent 11:47:41 SSH_AUTH_SOCK=/tmp/ssh-UgKxX8kIpT9o/agent.32 11:47:41 SSH_AGENT_PID=38 11:47:41 Running ssh-add (command line suppressed) 11:47:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2044979565999882657.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2044979565999882657.key) 11:47:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:47:42 + git semver push 11:47:42 2022-08-30 11:47:42,438 [run_push] DEBUG push 11:47:42 2022-08-30 11:47:42,439 [execute] INFO git cat-file --batch-check 11:47:42 2022-08-30 11:47:42,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:47:42 2022-08-30 11:47:42,443 [execute] INFO git rev-list 242604899bea4621680e8ae146e7fe51861421e1 -- 11:47:42 2022-08-30 11:47:42,443 [execute] DEBUG Popen(['git', 'rev-list', '242604899bea4621680e8ae146e7fe51861421e1', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:47:42 2022-08-30 11:47:42,454 [execute] INFO git fetch -v origin 11:47:42 2022-08-30 11:47:42,455 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:47:43 2022-08-30 11:47:42,932 [run_push] DEBUG no remote changes detected 11:47:43 2022-08-30 11:47:42,932 [execute] INFO git push origin semver 11:47:43 2022-08-30 11:47:42,933 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:47:44 2022-08-30 11:47:43,670 [run_push] DEBUG push all version tags 11:47:44 2022-08-30 11:47:43,670 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:47:44 2022-08-30 11:47:43,671 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 11:47:44 2022-08-30 11:47:44,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:47:44 2.3.0-dev.21 [Pipeline] } 11:47:44 $ docker exec --env ******** --env ******** 47f9bbd89ec34cabc809d84ecab3d82c532f33454d8dc0c68b9c1403b3bd470b ssh-agent -k 11:47:44 unset SSH_AUTH_SOCK; 11:47:44 unset SSH_AGENT_PID; 11:47:44 echo Agent pid 38 killed; 11:47:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:47:45 + git semver [Pipeline] } 11:47:45 $ docker stop --time=1 47f9bbd89ec34cabc809d84ecab3d82c532f33454d8dc0c68b9c1403b3bd470b 11:47:46 $ docker rm -f 47f9bbd89ec34cabc809d84ecab3d82c532f33454d8dc0c68b9c1403b3bd470b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 11:47:47 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 11:47:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:47:47 total 16 11:47:47 drwxr-xr-x 3 root root 4096 Aug 30 11:38 . 11:47:47 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 11:47 .. 11:47:47 drwxr-xr-x 2 root root 4096 Aug 30 11:38 cost 11:47:47 -rw-r--r-- 1 root root 84 Aug 30 11:38 cost.csv 11:47:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:47:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:47:47 total 16 11:47:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 11:38 . 11:47:47 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 11:47 .. 11:47:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 11:38 cost 11:47:47 -rw-r--r-- 1 jenkins jenkins 84 Aug 30 11:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:47:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:47:48 ---> package-listing.sh 11:47:48 ++ facter osfamily 11:47:48 ++ tr '[:upper:]' '[:lower:]' 11:47:48 + OS_FAMILY=debian 11:47:48 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 11:47:48 + START_PACKAGES=/tmp/packages_start.txt 11:47:48 + END_PACKAGES=/tmp/packages_end.txt 11:47:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:47:48 + PACKAGES=/tmp/packages_start.txt 11:47:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:47:48 + PACKAGES=/tmp/packages_end.txt 11:47:48 + case "${OS_FAMILY}" in 11:47:48 + dpkg -l 11:47:48 + grep '^ii' 11:47:48 + '[' -f /tmp/packages_start.txt ']' 11:47:48 + '[' -f /tmp/packages_end.txt ']' 11:47:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:47:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:47:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 11:47:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 11:47:48 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:47:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:47:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:47:49 prd-ubuntu20.04-docker-8c-8g-23935 does not seem to be running inside a container 11:47:49 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:47:49 $ docker top 4ff5cadbfb2ae4e88780ae9365f5de5b78836d458f25e6492711203a04a1bdd4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:47:50 + touch /tmp/pre-build-complete [Pipeline] sh 11:47:50 + mkdir -p /var/log/sysstat [Pipeline] sh 11:47:50 + ls /var/log/sa-host 11:47:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:51 provisioning config files... 11:47:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4555085415931498113tmp [Pipeline] { [Pipeline] echo 11:47:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:47:51 ---> create-netrc.sh [Pipeline] } 11:47:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:47:51 ---> python-tools-install.sh [Pipeline] echo 11:47:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:47:52 ---> sudo-logs.sh 11:47:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:47:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:47:52 ---> job-cost.sh 11:47:52 lf-activate-venv: SKIPPING 11:47:52 DEBUG: total: 0.2199999988079071 11:47:52 INFO: Retrieving Stack Cost... 11:47:52 INFO: Retrieving Pricing Info for: v3-standard-8 11:47:53 INFO: Archiving Costs [Pipeline] echo 11:47:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:47:53 ---> logs-deploy.sh 11:47:53 lf-activate-venv: SKIPPING 11:47:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/95 11:47:53 INFO: archiving workspace using pattern(s): 11:47:54 Archives upload complete. 11:47:54 INFO: archiving logs to Nexus