Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 690b0c9df30b882b455dec0110a7cd4f7611a33b 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-ssh12928096911636799298.key Verifying host key using known hosts file > 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-ssh17031125758631800565.key Verifying host key using known hosts file > 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-ssh1062481019607524847.key Verifying host key using known hosts file > 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-ssh17088529569115394163.key Verifying host key using known hosts file > 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-ssh16808402994344100.key Verifying host key using known hosts file > 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-7036 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 690b0c9df30b882b455dec0110a7cd4f7611a33b (main) Commit message: "Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19" > 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 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 > git rev-list --no-walk 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:53:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:53:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:53:04 ========================================================= 04:53:04 EdgeX Global Pipelines Version Info 04:53:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:53:05 ------------------- 04:53:05 stable info: 04:53:05 ------------------- 04:53:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:53:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:53:05 Message: update stable to v1.0.239 04:53:05 ------------------- 04:53:05 experimental info: 04:53:05 ------------------- 04:53:05 Commited By: **** collab-it+edgex@linuxfoundation.org 04:53:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:53:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:53:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:53:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:53:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 690b0c9 [Pipeline] echo 04:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:06 provisioning config files... 04:53:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14738932607004991623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:06 ---> docker-login.sh 04:53:06 nexus3.edgexfoundry.org:10001 04:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 nexus3.edgexfoundry.org:10002 04:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 nexus3.edgexfoundry.org:10003 04:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 nexus3.edgexfoundry.org:10004 04:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 docker.io 04:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:08 Configure a credential helper to remove this warning. See 04:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:08 04:53:08 Login Succeeded 04:53:08 ---> docker-login.sh ends [Pipeline] } 04:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:53:08 + git rev-list -1 --merges 690b0c9df30b882b455dec0110a7cd4f7611a33b~1..690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo 04:53:08 -----------> git rev-list -1 --merges 690b0c9df30b882b455dec0110a7cd4f7611a33b~1..690b0c9df30b882b455dec0110a7cd4f7611a33b 690b0c9df30b882b455dec0110a7cd4f7611a33b 04:53:08 690b0c9df30b882b455dec0110a7cd4f7611a33b [false] [Pipeline] sh 04:53:08 + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo 04:53:08 ========================================================= 04:53:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:53:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:53:09 + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo 04:53:09 [semverPrep] GIT_COMMIT: 690b0c9df30b882b455dec0110a7cd4f7611a33b, Commit Message: Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19 [Pipeline] echo 04:53:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:53:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:53:09 + grep -v github /etc/ssh/ssh_known_hosts 04:53:09 + [ -e /tmp/ssh_known_hosts ] 04:53:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:53:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:53:09 + sudo tee -a /etc/ssh/ssh_known_hosts 04:53:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:09 04:53:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:10 0.1.4: Pulling from edgex-devops/py-git-semver 04:53:10 b85a868b505f: Pulling fs layer 04:53:10 e2be974225ed: Pulling fs layer 04:53:10 339a4e72a1f5: Pulling fs layer 04:53:10 988bab9f4d93: Pulling fs layer 04:53:10 1469e6f7b9e6: Pulling fs layer 04:53:10 eaf3925da568: Pulling fs layer 04:53:10 bab4dde63d76: Pulling fs layer 04:53:10 bde34c3a00c8: Pulling fs layer 04:53:10 b352a97aabf1: Pulling fs layer 04:53:10 4872d77fe225: Pulling fs layer 04:53:10 5851b861e8e6: Pulling fs layer 04:53:10 1469e6f7b9e6: Waiting 04:53:10 eaf3925da568: Waiting 04:53:10 bab4dde63d76: Waiting 04:53:10 bde34c3a00c8: Waiting 04:53:10 988bab9f4d93: Waiting 04:53:10 5851b861e8e6: Waiting 04:53:10 4872d77fe225: Waiting 04:53:10 b352a97aabf1: Waiting 04:53:10 e2be974225ed: Verifying Checksum 04:53:10 e2be974225ed: Download complete 04:53:10 988bab9f4d93: Download complete 04:53:10 1469e6f7b9e6: Verifying Checksum 04:53:10 1469e6f7b9e6: Download complete 04:53:10 eaf3925da568: Verifying Checksum 04:53:10 eaf3925da568: Download complete 04:53:10 339a4e72a1f5: Verifying Checksum 04:53:10 339a4e72a1f5: Download complete 04:53:10 bde34c3a00c8: Verifying Checksum 04:53:10 bde34c3a00c8: Download complete 04:53:10 b352a97aabf1: Download complete 04:53:10 4872d77fe225: Verifying Checksum 04:53:10 4872d77fe225: Download complete 04:53:10 5851b861e8e6: Verifying Checksum 04:53:10 5851b861e8e6: Download complete 04:53:10 b85a868b505f: Verifying Checksum 04:53:10 b85a868b505f: Download complete 04:53:10 bab4dde63d76: Verifying Checksum 04:53:10 bab4dde63d76: Download complete 04:53:11 b85a868b505f: Pull complete 04:53:11 e2be974225ed: Pull complete 04:53:12 339a4e72a1f5: Pull complete 04:53:12 988bab9f4d93: Pull complete 04:53:12 1469e6f7b9e6: Pull complete 04:53:12 eaf3925da568: Pull complete 04:53:14 bab4dde63d76: Pull complete 04:53:14 bde34c3a00c8: Pull complete 04:53:14 b352a97aabf1: Pull complete 04:53:14 4872d77fe225: Pull complete 04:53:15 5851b861e8e6: Pull complete 04:53:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:53:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:15 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 04:53:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:53:16 $ docker top 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 -eo pid,comm 04:53:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:53:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:53:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:16 [ssh-agent] Looking for ssh-agent implementation... 04:53:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:16 $ docker exec 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent 04:53:17 SSH_AUTH_SOCK=/tmp/ssh-6CJJ4mPBsVMu/agent.33 04:53:17 SSH_AGENT_PID=39 04:53:17 Running ssh-add (command line suppressed) 04:53:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6135211764450273217.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6135211764450273217.key) 04:53:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:17 + git tag --points-at HEAD [Pipeline] } 04:53:17 $ docker exec --env ******** --env ******** 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent -k 04:53:17 unset SSH_AUTH_SOCK; 04:53:17 unset SSH_AGENT_PID; 04:53:17 echo Agent pid 39 killed; 04:53:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:53:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:17 [ssh-agent] Looking for ssh-agent implementation... 04:53:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:17 $ docker exec 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent 04:53:17 SSH_AUTH_SOCK=/tmp/ssh-Wub4ZVFmau7p/agent.71 04:53:17 SSH_AGENT_PID=77 04:53:17 Running ssh-add (command line suppressed) 04:53:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879128117009900807.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879128117009900807.key) 04:53:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:18 + git semver init 04:53:18 2022-10-04 04:53:18,469 [run_init] DEBUG init version:0.0.0 force:False 04:53:18 2022-10-04 04:53:18,470 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:53:18 2022-10-04 04:53:18,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:53:18 2022-10-04 04:53:18,471 [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) 04:53:19 2022-10-04 04:53:19,457 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:53:19 2022-10-04 04:53:19,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:53:19 2022-10-04 04:53:19,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:53:19 2022-10-04 04:53:19,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:53:19 2.3.0-dev.35 [Pipeline] } 04:53:19 $ docker exec --env ******** --env ******** 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent -k 04:53:19 unset SSH_AUTH_SOCK; 04:53:19 unset SSH_AGENT_PID; 04:53:19 echo Agent pid 77 killed; 04:53:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:53:19 + git semver [Pipeline] } 04:53:20 $ docker stop --time=1 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 04:53:21 $ docker rm -f 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:22 Stashed 1 file(s) [Pipeline] echo 04:53:22 [edgeXSemver]: initialized semver on version 2.3.0-dev.35 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:22 provisioning config files... 04:53:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10044303661500025353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:22 ---> docker-login.sh 04:53:22 nexus3.edgexfoundry.org:10001 04:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:22 Configure a credential helper to remove this warning. See 04:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:22 04:53:22 Login Succeeded 04:53:22 nexus3.edgexfoundry.org:10002 04:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:22 Configure a credential helper to remove this warning. See 04:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:22 04:53:22 Login Succeeded 04:53:22 nexus3.edgexfoundry.org:10003 04:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:22 Configure a credential helper to remove this warning. See 04:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:22 04:53:22 Login Succeeded 04:53:22 nexus3.edgexfoundry.org:10004 04:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:22 Configure a credential helper to remove this warning. See 04:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:22 04:53:22 Login Succeeded 04:53:22 docker.io 04:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:23 Configure a credential helper to remove this warning. See 04:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:23 04:53:23 Login Succeeded 04:53:23 ---> docker-login.sh ends [Pipeline] } 04:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:23 ========================================================= 04:53:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:53:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:23 + 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 . 04:53:23 Sending build context to Docker daemon 9.937MB 04:53:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:53:23 Step 2/11 : FROM ${BASE} AS builder 04:53:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:23 2408cc74d12b: Pulling fs layer 04:53:23 ea60b727a1ce: Pulling fs layer 04:53:23 30c4a7721957: Pulling fs layer 04:53:23 370296b7ddb6: Pulling fs layer 04:53:23 7c6cee850709: Pulling fs layer 04:53:23 aa9baa53a306: Pulling fs layer 04:53:23 8b309c321861: Pulling fs layer 04:53:23 d8d76fd02f46: Pulling fs layer 04:53:23 fa31f396de31: Pulling fs layer 04:53:23 8b309c321861: Waiting 04:53:23 d8d76fd02f46: Waiting 04:53:23 370296b7ddb6: Waiting 04:53:23 fa31f396de31: Waiting 04:53:23 7c6cee850709: Waiting 04:53:23 aa9baa53a306: Waiting 04:53:23 30c4a7721957: Verifying Checksum 04:53:23 30c4a7721957: Download complete 04:53:23 ea60b727a1ce: Verifying Checksum 04:53:23 ea60b727a1ce: Download complete 04:53:23 7c6cee850709: Verifying Checksum 04:53:23 7c6cee850709: Download complete 04:53:23 aa9baa53a306: Verifying Checksum 04:53:23 aa9baa53a306: Download complete 04:53:23 2408cc74d12b: Verifying Checksum 04:53:23 2408cc74d12b: Download complete 04:53:23 8b309c321861: Download complete 04:53:23 2408cc74d12b: Pull complete 04:53:24 ea60b727a1ce: Pull complete 04:53:24 30c4a7721957: Pull complete 04:53:24 fa31f396de31: Verifying Checksum 04:53:24 fa31f396de31: Download complete 04:53:24 d8d76fd02f46: Verifying Checksum 04:53:24 d8d76fd02f46: Download complete 04:53:24 370296b7ddb6: Verifying Checksum 04:53:24 370296b7ddb6: Download complete 04:53:28 370296b7ddb6: Pull complete 04:53:28 7c6cee850709: Pull complete 04:53:28 aa9baa53a306: Pull complete 04:53:28 8b309c321861: Pull complete 04:53:30 d8d76fd02f46: Pull complete 04:53:31 fa31f396de31: Pull complete 04:53:31 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:53:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:53:31 ---> cef68f9685f8 04:53:31 Step 3/11 : ARG MAKE=make build 04:53:33 ---> Running in 26e601de199d 04:53:33 Removing intermediate container 26e601de199d 04:53:33 ---> 4934f67517dd 04:53:33 Step 4/11 : WORKDIR /device-sdk-go 04:53:33 ---> Running in 4ec97b91b3fe 04:53:33 Removing intermediate container 4ec97b91b3fe 04:53:33 ---> ee3e24bf9f0a 04:53:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:53:33 ---> Running in 7e509424ddab 04:53:33 Removing intermediate container 7e509424ddab 04:53:33 ---> 24d749087863 04:53:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:53:33 ---> Running in b631eb51a284 04:53:34 Removing intermediate container b631eb51a284 04:53:34 ---> 1337bbdec053 04:53:34 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:53:34 ---> Running in f6ebcbbeeb45 04:53:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:53:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:53:36 OK: 211 MiB in 51 packages 04:53:36 Removing intermediate container f6ebcbbeeb45 04:53:36 ---> 176c477bc7ae 04:53:36 Step 8/11 : COPY go.mod vendor* ./ 04:53:36 ---> 4d9e7c3acfff 04:53:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:36 ---> Running in 0edf0512bcc6 04:53:37 Still waiting to schedule task 04:53:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:53:54 Removing intermediate container 0edf0512bcc6 04:53:54 ---> 9e6993fe44f6 04:53:54 Step 10/11 : COPY . . 04:53:54 ---> 12ca63f7daae 04:53:54 Step 11/11 : RUN ${MAKE} 04:53:54 ---> Running in 55515a77fdbd 04:53:54 noop 04:53:54 Removing intermediate container 55515a77fdbd 04:53:54 ---> 596daf326cbe 04:53:54 Successfully built 596daf326cbe 04:53:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:55 + docker inspect -f . ci-base-image-x86_64 04:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:55 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 04:53:55 $ 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 ******** ci-base-image-x86_64 cat 04:53:55 $ docker top f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:55 + go version 04:53:55 go version go1.18.3 linux/amd64 [Pipeline] } 04:53:55 $ docker stop --time=1 f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 04:53:57 $ docker rm -f f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:57 + docker inspect -f . ci-base-image-x86_64 04:53:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:57 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 04:53:57 $ 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 ******** ci-base-image-x86_64 cat 04:53:58 $ docker top 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:53:58 + make test 04:53:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:54:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.088s coverage: 27.6% of statements 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.103s coverage: 60.0% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.115s coverage: 54.4% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:54:38 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." 04:54:38 GO111MODULE=on go vet ./... 04:54:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:41 ./bin/test-attribution-txt.sh 04:54:41 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:54:41 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:54:41 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:54:41 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:41 $ docker stop --time=1 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 04:54:43 $ docker rm -f 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:45 + ls -al . 04:54:45 total 276 04:54:45 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:53 . 04:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:53 .. 04:54:45 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:53 .dockerignore 04:54:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:54 .git 04:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:53 .github 04:54:45 -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:53 .gitignore 04:54:45 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:53 .golangci.yml 04:54:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:53 .semver 04:54:45 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:53 CHANGELOG.md 04:54:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:53 GOVERNANCE.md 04:54:45 -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:53 Jenkinsfile 04:54:45 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:53 LICENSE 04:54:45 -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:53 Makefile 04:54:45 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:53 OWNERS.md 04:54:45 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:53 README.md 04:54:45 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:53 VERSION 04:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:53 bin 04:54:45 -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:54 coverage.out 04:54:45 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:53 example 04:54:45 -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:53 go.mod 04:54:45 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:53 go.sum 04:54:45 drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:53 internal 04:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:53 openapi 04:54:45 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:53 pkg 04:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:53 snap 04:54:45 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:45 + 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=690b0c9df30b882b455dec0110a7cd4f7611a33b --label arch=amd64 --label version=2.3.0-dev.35 . 04:54:45 Sending build context to Docker daemon 10.04MB 04:54:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:54:45 Step 2/25 : FROM ${BASE} AS builder 04:54:45 ---> 596daf326cbe 04:54:45 Step 3/25 : ARG MAKE=make build 04:54:45 ---> Running in bd45cbaa9a41 04:54:45 Removing intermediate container bd45cbaa9a41 04:54:45 ---> 8c7a0ec6ddac 04:54:45 Step 4/25 : WORKDIR /device-sdk-go 04:54:45 ---> Running in 13c277e86c83 04:54:46 Removing intermediate container 13c277e86c83 04:54:46 ---> 5b4032e0a510 04:54:46 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:54:46 ---> Running in ae588b7d795e 04:54:46 Removing intermediate container ae588b7d795e 04:54:46 ---> 89a5af2b90c0 04:54:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:46 ---> Running in 46643a1cd853 04:54:46 Removing intermediate container 46643a1cd853 04:54:46 ---> d7572f024423 04:54:46 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:54:46 ---> Running in 823b2314759b 04:54:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:54:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:54:48 OK: 211 MiB in 51 packages 04:54:48 Removing intermediate container 823b2314759b 04:54:48 ---> ea4643bfc429 04:54:48 Step 8/25 : COPY go.mod vendor* ./ 04:54:48 ---> 19afcdca5a39 04:54:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:48 ---> Running in f3e98ad8b78c 04:54:49 Removing intermediate container f3e98ad8b78c 04:54:49 ---> f050ff75556e 04:54:49 Step 10/25 : COPY . . 04:54:49 ---> 3a78f0f12d0a 04:54:49 Step 11/25 : RUN ${MAKE} 04:54:49 ---> Running in 3d65da52a24d 04:54:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:55:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7037 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:55:06 Running in /w/workspace/device-sdk-go/110 [Pipeline] { [Pipeline] checkout 04:55:06 The recommended git tool is: git 04:55:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:55:10 Removing intermediate container 3d65da52a24d 04:55:10 ---> ba44826dd7c7 04:55:10 Step 12/25 : FROM alpine:3.16 04:55:11 3.16: Pulling from library/alpine 04:55:11 213ec9aee27d: Pulling fs layer 04:55:11 213ec9aee27d: Verifying Checksum 04:55:11 213ec9aee27d: Download complete 04:55:11 213ec9aee27d: Pull complete 04:55:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:55:11 Status: Downloaded newer image for alpine:3.16 04:55:11 ---> 9c6f07244728 04:55:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:55:12 ---> Running in e9e449eea4cf 04:55:12 Removing intermediate container e9e449eea4cf 04:55:12 ---> 61ea1379f140 04:55:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:12 ---> Running in 69766ed2b1bb 04:55:12 using credential edgex-jenkins-ssh 04:55:12 Cloning the remote Git repository 04:55:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:55:12 > git init /w/workspace/device-sdk-go/110 # timeout=10 04:55:12 Removing intermediate container 69766ed2b1bb 04:55:12 ---> aaca40728f0d 04:55:12 Step 15/25 : RUN apk add --update --no-cache zeromq 04:55:12 ---> Running in 22d3c373ebcd 04:55:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:55:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:55:12 > git --version # timeout=10 04:55:12 > git --version # 'git version 2.25.1' 04:55:12 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:12 Verifying host key using known hosts file 04:55:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:55:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:55:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:55:14 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:55:14 (2/5) Installing libsodium (1.0.18-r0) 04:55:14 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:55:14 (4/5) Installing libzmq (4.3.4-r0) 04:55:14 (5/5) Installing zeromq (4.3.4-r0) 04:55:14 Executing busybox-1.35.0-r17.trigger 04:55:14 OK: 8 MiB in 19 packages 04:55:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:55:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:55:15 Avoid second fetch 04:55:15 Checking out Revision 690b0c9df30b882b455dec0110a7cd4f7611a33b (main) 04:55:15 Removing intermediate container 22d3c373ebcd 04:55:15 ---> 4792b9f7cdcb 04:55:15 Step 16/25 : WORKDIR / 04:55:15 ---> Running in 3217745081bb 04:55:15 Removing intermediate container 3217745081bb 04:55:15 ---> f140962c493e 04:55:15 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:55:15 ---> a6ed5bd2e868 04:55:15 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:55:15 Commit message: "Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:15 ---> 87827bc90b84 04:55:15 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:55:15 > git config core.sparsecheckout # timeout=10 04:55:15 > git checkout -f 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 04:55:16 ---> fa9e2233b08f 04:55:16 Step 20/25 : EXPOSE 59999 04:55:16 ---> Running in 41be5bdfd7dc 04:55:16 Removing intermediate container 41be5bdfd7dc 04:55:16 ---> 2a3f8ab6e326 04:55:16 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:55:16 ---> Running in 546e47eb3bda 04:55:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:55:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:55:16 Dload Upload Total Spent Left Speed 04:55:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 04:55:16 Removing intermediate container 546e47eb3bda 04:55:16 ---> 707124e85a3c 04:55:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:55:16 ---> Running in eefc370d1ac5 04:55:16 Removing intermediate container eefc370d1ac5 04:55:16 ---> 7c3218b74e8f 04:55:16 Step 23/25 : LABEL arch=amd64 04:55:16 ---> Running in b205a7b000f3 [Pipeline] sh 04:55:16 Removing intermediate container b205a7b000f3 04:55:16 ---> 3e4a9816de3a 04:55:16 Step 24/25 : LABEL git_sha=690b0c9df30b882b455dec0110a7cd4f7611a33b 04:55:16 ---> Running in 2ebea2276af4 04:55:16 Removing intermediate container 2ebea2276af4 04:55:16 ---> bc746eb6b577 04:55:16 Step 25/25 : LABEL version=2.3.0-dev.35 04:55:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:55:16 ---> Running in 4038484074fc 04:55:16 Removing intermediate container 4038484074fc 04:55:16 ---> 968b6bda33f4 04:55:16 [Warning] One or more build-args [ARCH] were not consumed 04:55:16 Successfully built 968b6bda33f4 04:55:16 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:17 + sudo tee /etc/docker/daemon.new 04:55:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:55:17 { 04:55:17 "registry-mirrors": [ 04:55:17 "https://nexus3.edgexfoundry.org:10001" 04:55:17 ], 04:55:17 "bip": "10.250.0.254/24", 04:55:17 "hosts": [ 04:55:17 "tcp://0.0.0.0:5555", 04:55:17 "unix:///var/run/docker.sock" 04:55:17 ], 04:55:17 "mtu": 1458, 04:55:17 "selinux-enabled": true, 04:55:17 "seccomp-profile": "/etc/docker/seccomp.json" 04:55:17 } [Pipeline] sh 04:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:17 04:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:55:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:17 latest: Pulling from edgex-lftools-log-publisher 04:55:17 5eb5b503b376: Pulling fs layer 04:55:17 5c69ac0246d0: Pulling fs layer 04:55:17 ec43610c2a17: Pulling fs layer 04:55:17 3a2ae6a8a46f: Pulling fs layer 04:55:17 33b1e0a273af: Pulling fs layer 04:55:17 5d3b04190fa2: Pulling fs layer 04:55:17 2f39f015ded8: Pulling fs layer 04:55:17 33b1e0a273af: Waiting 04:55:17 5d3b04190fa2: Waiting 04:55:17 2f39f015ded8: Waiting 04:55:17 3a2ae6a8a46f: Waiting 04:55:17 5c69ac0246d0: Verifying Checksum 04:55:17 5c69ac0246d0: Download complete 04:55:17 3a2ae6a8a46f: Verifying Checksum 04:55:17 3a2ae6a8a46f: Download complete 04:55:17 33b1e0a273af: Verifying Checksum 04:55:17 33b1e0a273af: Download complete 04:55:17 + sudo service docker restart 04:55:17 5d3b04190fa2: Verifying Checksum 04:55:17 5d3b04190fa2: Download complete 04:55:17 ec43610c2a17: Verifying Checksum 04:55:17 ec43610c2a17: Download complete 04:55:17 5eb5b503b376: Verifying Checksum 04:55:17 5eb5b503b376: Download complete 04:55:18 2f39f015ded8: Verifying Checksum 04:55:18 2f39f015ded8: Download complete 04:55:19 5eb5b503b376: Pull complete 04:55:19 5c69ac0246d0: Pull complete 04:55:19 ec43610c2a17: Pull complete 04:55:19 3a2ae6a8a46f: Pull complete 04:55:19 33b1e0a273af: Pull complete 04:55:20 5d3b04190fa2: Pull complete 04:55:24 2f39f015ded8: Pull complete 04:55:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:24 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 04:55:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:55:26 $ docker top d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:26 ---> job-cost.sh 04:55:26 lf-activate-venv: SKIPPING 04:55:26 INFO: No Stack... 04:55:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:55:27 INFO: Archiving Costs [Pipeline] sh 04:55:27 + cut -d, -f6 04:55:27 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 04:55:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] 04:55:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] did not exist. Created. 04:55:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:55:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:55:28 Stashed 1 file(s) [Pipeline] } 04:55:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 04:55:28 $ docker stop --time=1 d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f 04:55:29 $ docker rm -f d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:36 provisioning config files... 04:55:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/110@tmp/config1373292905323957239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:36 ---> docker-login.sh 04:55:36 nexus3.edgexfoundry.org:10001 04:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:37 Configure a credential helper to remove this warning. See 04:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:37 04:55:37 Login Succeeded 04:55:37 nexus3.edgexfoundry.org:10002 04:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:37 Configure a credential helper to remove this warning. See 04:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:37 04:55:37 Login Succeeded 04:55:37 nexus3.edgexfoundry.org:10003 04:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:37 Configure a credential helper to remove this warning. See 04:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:37 04:55:37 Login Succeeded 04:55:37 nexus3.edgexfoundry.org:10004 04:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:38 Configure a credential helper to remove this warning. See 04:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:38 04:55:38 Login Succeeded 04:55:38 docker.io 04:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:38 Configure a credential helper to remove this warning. See 04:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:38 04:55:38 Login Succeeded 04:55:38 ---> docker-login.sh ends [Pipeline] } 04:55:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:39 ========================================================= 04:55:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:55:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:39 + 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 . 04:55:39 Sending build context to Docker daemon 5.333MB 04:55:39 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:55:39 Step 2/11 : FROM ${BASE} AS builder 04:55:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:40 b3c136eddcbf: Pulling fs layer 04:55:40 c0a3192eca97: Pulling fs layer 04:55:40 a050256f5b6f: Pulling fs layer 04:55:40 656be50a0ddc: Pulling fs layer 04:55:40 2bbca73fdf42: Pulling fs layer 04:55:40 f607e4fc86c3: Pulling fs layer 04:55:40 4d572c569a2c: Pulling fs layer 04:55:40 fcf976331f73: Pulling fs layer 04:55:40 2bbca73fdf42: Waiting 04:55:40 f607e4fc86c3: Waiting 04:55:40 4d572c569a2c: Waiting 04:55:40 fcf976331f73: Waiting 04:55:40 656be50a0ddc: Waiting 04:55:40 a050256f5b6f: Download complete 04:55:40 c0a3192eca97: Verifying Checksum 04:55:40 c0a3192eca97: Download complete 04:55:40 f607e4fc86c3: Verifying Checksum 04:55:40 f607e4fc86c3: Download complete 04:55:40 b3c136eddcbf: Verifying Checksum 04:55:40 b3c136eddcbf: Download complete 04:55:41 b3c136eddcbf: Pull complete 04:55:41 fcf976331f73: Verifying Checksum 04:55:41 fcf976331f73: Download complete 04:55:41 c0a3192eca97: Pull complete 04:55:41 a050256f5b6f: Pull complete 04:55:42 4d572c569a2c: Verifying Checksum 04:55:42 4d572c569a2c: Download complete 04:55:43 656be50a0ddc: Verifying Checksum 04:55:43 656be50a0ddc: Download complete 04:55:55 656be50a0ddc: Pull complete 04:55:55 2bbca73fdf42: Pull complete 04:55:55 f607e4fc86c3: Pull complete 04:56:00 4d572c569a2c: Pull complete 04:56:03 fcf976331f73: Pull complete 04:56:03 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:56:03 ---> 3970a7415f9e 04:56:03 Step 3/11 : ARG MAKE=make build 04:56:04 ---> Running in 60d7f7874ef7 04:56:05 Removing intermediate container 60d7f7874ef7 04:56:05 ---> 92c27c279a7a 04:56:05 Step 4/11 : WORKDIR /device-sdk-go 04:56:05 ---> Running in fe9a6b9dd258 04:56:05 Removing intermediate container fe9a6b9dd258 04:56:05 ---> 62c1fa2f62b9 04:56:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:56:05 ---> Running in 1934235eabb0 04:56:05 Removing intermediate container 1934235eabb0 04:56:05 ---> 6559c3d0d83d 04:56:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:56:05 ---> Running in db7554588c50 04:56:07 Removing intermediate container db7554588c50 04:56:07 ---> 6fa6309150c1 04:56:07 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:56:07 ---> Running in 32ecc77e4a18 04:56:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:56:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:56:10 OK: 221 MiB in 51 packages 04:56:11 Removing intermediate container 32ecc77e4a18 04:56:11 ---> 1fa0619f2c70 04:56:11 Step 8/11 : COPY go.mod vendor* ./ 04:56:11 ---> a96bb0f21d2e 04:56:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:11 ---> Running in d4e88bf01f2d 04:56:58 Removing intermediate container d4e88bf01f2d 04:56:58 ---> 6489ade5e5e9 04:56:58 Step 10/11 : COPY . . 04:56:58 ---> af3212690d4f 04:56:58 Step 11/11 : RUN ${MAKE} 04:56:58 ---> Running in e089694ddb96 04:56:59 noop 04:57:00 Removing intermediate container e089694ddb96 04:57:00 ---> 1ae1d1c3bf34 04:57:00 Successfully built 1ae1d1c3bf34 04:57:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:00 + docker inspect -f . ci-base-image-arm64 04:57:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container 04:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@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 04:57:01 $ docker top a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:02 + go version 04:57:02 go version go1.18.3 linux/arm64 [Pipeline] } 04:57:02 $ docker stop --time=1 a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b 04:57:04 $ docker rm -f a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:04 + docker inspect -f . ci-base-image-arm64 04:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container 04:57:05 $ 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/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@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 04:57:06 $ docker top d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:06 + git config --global --add safe.directory /w/workspace/device-sdk-go/110 [Pipeline] fileExists [Pipeline] sh 04:57:07 + make test 04:57:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:57:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:59:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.305s coverage: 27.6% of statements 04:59:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.456s coverage: 78.9% of statements 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:59:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.409s coverage: 60.0% of statements 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:59:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.841s coverage: 54.4% of statements 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.423s coverage: 65.1% of statements 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:59:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.109s coverage: 89.2% of statements 04:59:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:59:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements 04:59:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:59:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:59:41 GO111MODULE=on go vet ./... 05:01:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:01:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:01:33 ./bin/test-attribution-txt.sh 05:01:33 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:01:33 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:01:33 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:01:33 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:01:33 $ docker stop --time=1 d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b 05:01:35 $ docker rm -f d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b [Pipeline] // withDockerContainer [Pipeline] sh 05:01:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:01:36 Warning: overwriting stash ‘coverage-report’ 05:01:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:01:37 + ls -al . 05:01:37 total 272 05:01:37 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:57 . 05:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:55 .. 05:01:37 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:55 .dockerignore 05:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:55 .git 05:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:55 .github 05:01:37 -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:55 .gitignore 05:01:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:55 .golangci.yml 05:01:37 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:55 CHANGELOG.md 05:01:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:55 GOVERNANCE.md 05:01:37 -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:55 Jenkinsfile 05:01:37 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:55 LICENSE 05:01:37 -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:55 Makefile 05:01:37 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:55 OWNERS.md 05:01:37 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:55 README.md 05:01:37 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:53 VERSION 05:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:55 bin 05:01:37 -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:59 coverage.out 05:01:37 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:55 example 05:01:37 -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:55 go.mod 05:01:37 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:55 go.sum 05:01:37 drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:55 internal 05:01:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:55 openapi 05:01:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:55 pkg 05:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:55 snap 05:01:37 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:37 + 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=690b0c9df30b882b455dec0110a7cd4f7611a33b --label arch=arm64 --label version=2.3.0-dev.35 . 05:01:38 Sending build context to Docker daemon 5.435MB 05:01:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:01:38 Step 2/25 : FROM ${BASE} AS builder 05:01:38 ---> 1ae1d1c3bf34 05:01:38 Step 3/25 : ARG MAKE=make build 05:01:38 ---> Running in bf135a6147d0 05:01:38 Removing intermediate container bf135a6147d0 05:01:38 ---> 04e7ed50eb7a 05:01:38 Step 4/25 : WORKDIR /device-sdk-go 05:01:38 ---> Running in 29603e57ac0f 05:01:38 Removing intermediate container 29603e57ac0f 05:01:38 ---> c05cd31daf59 05:01:38 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:01:38 ---> Running in 8342e1e5db1d 05:01:39 Removing intermediate container 8342e1e5db1d 05:01:39 ---> 66c590cf373e 05:01:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:39 ---> Running in c4020a79959a 05:01:40 Removing intermediate container c4020a79959a 05:01:40 ---> 761f33a811ba 05:01:40 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:01:40 ---> Running in b93b555d81ff 05:01:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:01:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:01:43 OK: 221 MiB in 51 packages 05:01:44 Removing intermediate container b93b555d81ff 05:01:44 ---> 5d75149f214a 05:01:44 Step 8/25 : COPY go.mod vendor* ./ 05:01:44 ---> b9f4dc727eb0 05:01:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:01:44 ---> Running in f4700f3a1618 05:01:46 Removing intermediate container f4700f3a1618 05:01:46 ---> 8ac3c89d8e69 05:01:46 Step 10/25 : COPY . . 05:01:47 ---> 69559ec7e192 05:01:47 Step 11/25 : RUN ${MAKE} 05:01:47 ---> Running in 4562d05bd128 05:01:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:03:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:03:55 Removing intermediate container 4562d05bd128 05:03:55 ---> 77486c22b486 05:03:55 Step 12/25 : FROM alpine:3.16 05:03:55 3.16: Pulling from library/alpine 05:03:55 9b18e9b68314: Pulling fs layer 05:03:56 9b18e9b68314: Download complete 05:03:56 9b18e9b68314: Pull complete 05:03:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:03:56 Status: Downloaded newer image for alpine:3.16 05:03:56 ---> a6215f271958 05:03:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:03:56 ---> Running in 5a1a9c6b27ce 05:03:57 Removing intermediate container 5a1a9c6b27ce 05:03:57 ---> 100a28fff37e 05:03:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:57 ---> Running in 6b15f84a423a 05:03:58 Removing intermediate container 6b15f84a423a 05:03:58 ---> 0d539aec2590 05:03:58 Step 15/25 : RUN apk add --update --no-cache zeromq 05:03:58 ---> Running in 6c91ff38d236 05:03:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:04:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:04:01 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:04:01 (2/5) Installing libsodium (1.0.18-r0) 05:04:01 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:04:02 (4/5) Installing libzmq (4.3.4-r0) 05:04:02 (5/5) Installing zeromq (4.3.4-r0) 05:04:02 Executing busybox-1.35.0-r17.trigger 05:04:02 OK: 8 MiB in 19 packages 05:04:03 Removing intermediate container 6c91ff38d236 05:04:03 ---> 38d8a2aa5212 05:04:03 Step 16/25 : WORKDIR / 05:04:03 ---> Running in 0a77147dfb48 05:04:03 Removing intermediate container 0a77147dfb48 05:04:03 ---> bab2b904dfcb 05:04:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:04:03 ---> 5d2eb1e833ec 05:04:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:04:05 ---> 9eee18bfbd46 05:04:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:04:06 ---> 756aed31c3b3 05:04:06 Step 20/25 : EXPOSE 59999 05:04:06 ---> Running in 1bd89c652543 05:04:06 Removing intermediate container 1bd89c652543 05:04:06 ---> 0987cba263a2 05:04:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:04:06 ---> Running in 55456a098dd4 05:04:06 Removing intermediate container 55456a098dd4 05:04:06 ---> 5de09fce8f6e 05:04:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:04:06 ---> Running in 439ce79d12f9 05:04:06 Removing intermediate container 439ce79d12f9 05:04:06 ---> 69f7fa562d52 05:04:06 Step 23/25 : LABEL arch=arm64 05:04:07 ---> Running in 49da9bd86e25 05:04:07 Removing intermediate container 49da9bd86e25 05:04:07 ---> 37229cee84f3 05:04:07 Step 24/25 : LABEL git_sha=690b0c9df30b882b455dec0110a7cd4f7611a33b 05:04:07 ---> Running in fbec739d4a52 05:04:07 Removing intermediate container fbec739d4a52 05:04:07 ---> c1c5c3eba5c8 05:04:07 Step 25/25 : LABEL version=2.3.0-dev.35 05:04:07 ---> Running in 2cc1c03e3e00 05:04:07 Removing intermediate container 2cc1c03e3e00 05:04:07 ---> 59859523e741 05:04:07 [Warning] One or more build-args [ARCH] were not consumed 05:04:07 Successfully built 59859523e741 05:04:08 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 05:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:08 05:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:08 arm64: Pulling from edgex-lftools-log-publisher 05:04:08 8998bd30e6a1: Pulling fs layer 05:04:08 04944245beec: Pulling fs layer 05:04:08 699f458cf7ca: Pulling fs layer 05:04:08 765212b225bb: Pulling fs layer 05:04:08 f23df028b6ca: Pulling fs layer 05:04:08 d65c8cfc05b1: Pulling fs layer 05:04:08 2437ff75d9bd: Pulling fs layer 05:04:08 f23df028b6ca: Waiting 05:04:08 d65c8cfc05b1: Waiting 05:04:08 2437ff75d9bd: Waiting 05:04:08 765212b225bb: Waiting 05:04:09 04944245beec: Verifying Checksum 05:04:09 04944245beec: Download complete 05:04:09 765212b225bb: Verifying Checksum 05:04:09 765212b225bb: Download complete 05:04:09 f23df028b6ca: Verifying Checksum 05:04:09 f23df028b6ca: Download complete 05:04:09 d65c8cfc05b1: Verifying Checksum 05:04:09 d65c8cfc05b1: Download complete 05:04:09 699f458cf7ca: Verifying Checksum 05:04:09 699f458cf7ca: Download complete 05:04:09 8998bd30e6a1: Verifying Checksum 05:04:09 8998bd30e6a1: Download complete 05:04:12 2437ff75d9bd: Verifying Checksum 05:04:12 2437ff75d9bd: Download complete 05:04:14 8998bd30e6a1: Pull complete 05:04:14 04944245beec: Pull complete 05:04:16 699f458cf7ca: Pull complete 05:04:16 765212b225bb: Pull complete 05:04:17 f23df028b6ca: Pull complete 05:04:17 d65c8cfc05b1: Pull complete 05:04:32 2437ff75d9bd: Pull complete 05:04:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container 05:04:32 $ 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/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@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 05:04:35 $ docker top 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:36 ---> job-cost.sh 05:04:36 lf-activate-venv: SKIPPING 05:04:36 INFO: No Stack... 05:04:36 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:37 INFO: Archiving Costs [Pipeline] sh 05:04:37 + cat /w/workspace/device-sdk-go/110/archives/cost.csv 05:04:37 + cut -d, -f6 [Pipeline] lock 05:04:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] 05:04:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] did not exist. Created. 05:04:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:38 /w/workspace/device-sdk-go/110@tmp/durable-09af2af0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:39 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:39 Warning: overwriting stash ‘stack-cost’ 05:04:39 Stashed 1 file(s) [Pipeline] } 05:04:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:39 $ docker stop --time=1 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f 05:04:41 $ docker rm -f 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f [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 05:04:41 provisioning config files... 05:04:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18187003108754032153tmp [Pipeline] { [Pipeline] sh 05:04:41 + set +x 05:04:41 + curl -s https://codecov.io/bash 05:04:41 + bash -s -- 05:04:41 05:04:41 _____ _ 05:04:41 / ____| | | 05:04:41 | | ___ __| | ___ ___ _____ __ 05:04:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:41 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:41 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:41 Bash-1.0.6 05:04:41 05:04:41 05:04:41 ==> git version 2.25.1 found 05:04:41 ==> 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 05:04:41 Release-Date: 2020-01-08 05:04:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:41 ==> Jenkins CI detected. 05:04:41 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:04:41 project root: . 05:04:41 --> token set from env 05:04:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:41 ==> Running gcov in . (disable via -X gcov) 05:04:41 ==> Python coveragepy not found 05:04:41 ==> Searching for coverage reports in: 05:04:41 + . 05:04:41 -> Found 1 reports 05:04:41 ==> Detecting git/mercurial file structure 05:04:42 ==> Reading reports 05:04:42 + ./coverage.out bytes=100927 05:04:42 ==> Appending adjustments 05:04:42 https://docs.codecov.io/docs/fixing-reports 05:04:42 + Found adjustments 05:04:42 ==> Gzipping contents 05:04:42 16K /tmp/codecov.DtW09Z.gz 05:04:42 ==> Uploading reports 05:04:42 url: https://codecov.io 05:04:42 query: branch=main&commit=690b0c9df30b882b455dec0110a7cd4f7611a33b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:04:42 -> Pinging Codecov 05:04:42 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=690b0c9df30b882b455dec0110a7cd4f7611a33b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:04:42 -> Uploading to 05:04:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-04/7E55EF52A471D76F132DFD9A03CDDE97/690b0c9df30b882b455dec0110a7cd4f7611a33b/9421e27b-c416-4ee3-b2ad-15295d276888.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T050442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a76b13b5e0c2f52046ae015d83ef5b850843b3b6e4e8c7384d349c27bee109c 05:04:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:42 Dload Upload Total Spent Left Speed 05:04:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14518 0 0 100 14518 0 59257 --:--:-- --:--:-- --:--:-- 59257 05:04:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] } 05:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:04:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:04:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:43 05:04:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:04:43 df9b9388f04a: Pulling fs layer 05:04:43 52dc419b0ee2: Pulling fs layer 05:04:43 25bc292e5bac: Pulling fs layer 05:04:43 114826534d7a: Pulling fs layer 05:04:43 4657fd5d0bcf: Pulling fs layer 05:04:43 6ad1cebc031e: Pulling fs layer 05:04:43 8a3aa393b2d8: Pulling fs layer 05:04:43 114826534d7a: Waiting 05:04:43 8a3aa393b2d8: Waiting 05:04:43 6ad1cebc031e: Waiting 05:04:43 4657fd5d0bcf: Waiting 05:04:43 25bc292e5bac: Download complete 05:04:43 52dc419b0ee2: Verifying Checksum 05:04:43 52dc419b0ee2: Download complete 05:04:43 4657fd5d0bcf: Download complete 05:04:43 df9b9388f04a: Verifying Checksum 05:04:43 df9b9388f04a: Download complete 05:04:43 df9b9388f04a: Pull complete 05:04:43 6ad1cebc031e: Verifying Checksum 05:04:43 6ad1cebc031e: Download complete 05:04:43 52dc419b0ee2: Pull complete 05:04:44 25bc292e5bac: Pull complete 05:04:44 114826534d7a: Download complete 05:04:44 8a3aa393b2d8: Verifying Checksum 05:04:44 8a3aa393b2d8: Download complete 05:04:47 114826534d7a: Pull complete 05:04:47 4657fd5d0bcf: Pull complete 05:04:47 6ad1cebc031e: Pull complete 05:04:50 8a3aa393b2d8: Pull complete 05:04:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:50 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:04:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:04:52 $ docker top edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 -eo pid,comm [Pipeline] { [Pipeline] echo 05:04:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:04:52 + set -o pipefail 05:04:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:04:58 05:04:58 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 05:04:58 05:04:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/786d7dd1-b412-4e66-973f-dd4ff437e019 05:04:58 05:04:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:04:58 05:04:58 05:04:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:04:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:04:58 More details here: https://snyk.co/ue1NS [Pipeline] } 05:04:58 $ docker stop --time=1 edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 05:05:00 $ docker rm -f edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 [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 05:05:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:00 provisioning config files... 05:05:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7102692763062687127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:00 --> edgex-publish-swagger.sh 05:05:00 === Publish openapi/v2 API === 05:05:00 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 05:05:00 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 05:05:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:00 Dload Upload Total Spent Left Speed 05:05:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 54700 --:--:-- --:--:-- --:--:-- 54644 100 53552 0 0 100 53552 0 54700 --:--:-- --:--:-- --:--:-- 54644 05:05:01 05:05:01 [Pipeline] } 05:05:01 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 05:05:02 + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] sh 05:05:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:02 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:05:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:03 $ docker top 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 -eo pid,comm 05:05:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:05:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:03 [ssh-agent] Looking for ssh-agent implementation... 05:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:03 $ docker exec 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 ssh-agent 05:05:03 SSH_AUTH_SOCK=/tmp/ssh-1kFXMOyDtT2c/agent.32 05:05:03 SSH_AGENT_PID=38 05:05:03 Running ssh-add (command line suppressed) 05:05:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195900400730494208.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195900400730494208.key) 05:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:04 + git semver tag 05:05:04 2022-10-04 05:05:04,227 [run_tag] DEBUG tag force:False 05:05:04 2022-10-04 05:05:04,228 [check_head_tag] DEBUG check head tag 05:05:04 2022-10-04 05:05:04,229 [execute] INFO git cat-file --batch-check 05:05:04 2022-10-04 05:05:04,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:05:04 2022-10-04 05:05:04,234 [execute] INFO git cat-file --batch 05:05:04 2022-10-04 05:05:04,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:05:04 2022-10-04 05:05:04,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:04 2022-10-04 05:05:04,259 [execute] INFO git tag -a v2.3.0-dev.35 -m v2.3.0-dev.35 05:05:04 2022-10-04 05:05:04,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.35', '-m', 'v2.3.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:05:04 2022-10-04 05:05:04,264 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:04 2.3.0-dev.35 [Pipeline] } 05:05:04 $ docker exec --env ******** --env ******** 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 ssh-agent -k 05:05:04 unset SSH_AUTH_SOCK; 05:05:04 unset SSH_AGENT_PID; 05:05:04 echo Agent pid 38 killed; 05:05:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:04 + git semver [Pipeline] } 05:05:05 $ docker stop --time=1 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 05:05:06 $ docker rm -f 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:05:06 05:05:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:05:07 0.23.1-centos7: Pulling from edgex-lftools 05:05:07 ab5ef0e58194: Pulling fs layer 05:05:07 9712f1f96733: Pulling fs layer 05:05:07 63f879dbbcfc: Pulling fs layer 05:05:07 0d9ebad4ef96: Pulling fs layer 05:05:07 e9a5061849ea: Pulling fs layer 05:05:07 d747dcd14b5f: Pulling fs layer 05:05:07 2de7ff778b66: Pulling fs layer 05:05:07 e9a5061849ea: Waiting 05:05:07 d747dcd14b5f: Waiting 05:05:07 2de7ff778b66: Waiting 05:05:07 0d9ebad4ef96: Waiting 05:05:07 9712f1f96733: Verifying Checksum 05:05:07 9712f1f96733: Download complete 05:05:07 63f879dbbcfc: Verifying Checksum 05:05:07 63f879dbbcfc: Download complete 05:05:07 0d9ebad4ef96: Verifying Checksum 05:05:07 0d9ebad4ef96: Download complete 05:05:07 d747dcd14b5f: Verifying Checksum 05:05:07 d747dcd14b5f: Download complete 05:05:07 e9a5061849ea: Verifying Checksum 05:05:07 e9a5061849ea: Download complete 05:05:08 ab5ef0e58194: Verifying Checksum 05:05:08 ab5ef0e58194: Download complete 05:05:08 2de7ff778b66: Verifying Checksum 05:05:08 2de7ff778b66: Download complete 05:05:10 ab5ef0e58194: Pull complete 05:05:10 9712f1f96733: Pull complete 05:05:11 63f879dbbcfc: Pull complete 05:05:14 0d9ebad4ef96: Pull complete 05:05:14 e9a5061849ea: Pull complete 05:05:14 d747dcd14b5f: Pull complete 05:05:15 2de7ff778b66: Pull complete 05:05:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:15 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:05:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:05:18 $ docker top e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:05:18 provisioning config files... 05:05:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8674031313404658299tmp 05:05:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16510051825765559922tmp 05:05:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11845392238414518875tmp [Pipeline] { [Pipeline] echo 05:05:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:05:18 ---> sigul-configuration.sh 05:05:18 gpg: directory `/root/.gnupg' created 05:05:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:05:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:05:18 gpg: keyring `/root/.gnupg/secring.gpg' created 05:05:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:05:18 gpg: CAST5 encrypted data 05:05:18 gpg: encrypted with 1 passphrase 05:05:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:05:18 + mkdir /home/jenkins 05:05:18 + mkdir /home/jenkins/sigul [Pipeline] sh 05:05:19 + 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 05:05:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:05:19 ---> sigul-install.sh 05:05:19 Sigul already installed; skipping installation. [Pipeline] sh 05:05:19 + git tag --list 05:05:19 0.7.1 05:05:19 delhi-tag 05:05:19 v1.0.0 05:05:19 v1.1.0 05:05:19 v1.1.1 05:05:19 v1.1.2 05:05:19 v1.2.0 05:05:19 v1.2.1 05:05:19 v1.2.2 05:05:19 v1.2.3 05:05:19 v1.3.0 05:05:19 v1.4.0 05:05:19 v2.0.0 05:05:19 v2.1.0 05:05:19 v2.1.1 05:05:19 v2.1.1-dev.2 05:05:19 v2.1.1-dev.3 05:05:19 v2.2.0 05:05:19 v2.2.1-dev.1 05:05:19 v2.2.1-dev.10 05:05:19 v2.2.1-dev.11 05:05:19 v2.2.1-dev.12 05:05:19 v2.2.1-dev.13 05:05:19 v2.2.1-dev.14 05:05:19 v2.2.1-dev.2 05:05:19 v2.2.1-dev.3 05:05:19 v2.2.1-dev.4 05:05:19 v2.2.1-dev.5 05:05:19 v2.2.1-dev.6 05:05:19 v2.2.1-dev.7 05:05:19 v2.2.1-dev.8 05:05:19 v2.2.1-dev.9 05:05:19 v2.3.0-dev.14 05:05:19 v2.3.0-dev.15 05:05:19 v2.3.0-dev.16 05:05:19 v2.3.0-dev.17 05:05:19 v2.3.0-dev.18 05:05:19 v2.3.0-dev.19 05:05:19 v2.3.0-dev.20 05:05:19 v2.3.0-dev.21 05:05:19 v2.3.0-dev.22 05:05:19 v2.3.0-dev.23 05:05:19 v2.3.0-dev.24 05:05:19 v2.3.0-dev.25 05:05:19 v2.3.0-dev.26 05:05:19 v2.3.0-dev.27 05:05:19 v2.3.0-dev.28 05:05:19 v2.3.0-dev.29 05:05:19 v2.3.0-dev.30 05:05:19 v2.3.0-dev.31 05:05:19 v2.3.0-dev.32 05:05:19 v2.3.0-dev.33 05:05:19 v2.3.0-dev.34 05:05:19 v2.3.0-dev.35 [Pipeline] sh 05:05:19 + lftools sign git-tag v2.3.0-dev.35 05:05:20 Signing Git tag with Sigul... 05:05:20 Signing v2.3.0-dev.35 [Pipeline] echo 05:05:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:05:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:05:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:05:21 $ docker stop --time=1 e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f 05:05:22 $ docker rm -f e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:05:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:23 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:05:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:23 $ docker top d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 -eo pid,comm 05:05:23 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). 05:05:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:23 [ssh-agent] Looking for ssh-agent implementation... 05:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:23 $ docker exec d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 ssh-agent 05:05:23 SSH_AUTH_SOCK=/tmp/ssh-2YX2tNe0GwG4/agent.32 05:05:23 SSH_AGENT_PID=39 05:05:23 Running ssh-add (command line suppressed) 05:05:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11891893673739163666.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11891893673739163666.key) 05:05:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:24 + git semver bump pre 05:05:24 2022-10-04 05:05:24,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:24 2022-10-04 05:05:24,386 [bump_version] DEBUG bumping version:2.3.0-dev.35 on axis:pre with prefix:dev 05:05:24 2022-10-04 05:05:24,386 [bump_version] DEBUG bumped version:2.3.0-dev.36 05:05:24 2022-10-04 05:05:24,386 [write_version] DEBUG write version:2.3.0-dev.36 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:05:24 2022-10-04 05:05:24,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:24 2022-10-04 05:05:24,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:24 2022-10-04 05:05:24,388 [execute] INFO git cat-file --batch-check 05:05:24 2022-10-04 05:05:24,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:05:24 2022-10-04 05:05:24,394 [execute] INFO git cat-file --batch 05:05:24 2022-10-04 05:05:24,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:05:24 2022-10-04 05:05:24,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:24 2.3.0-dev.36 [Pipeline] } 05:05:24 $ docker exec --env ******** --env ******** d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 ssh-agent -k 05:05:24 unset SSH_AUTH_SOCK; 05:05:24 unset SSH_AGENT_PID; 05:05:24 echo Agent pid 39 killed; 05:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:24 + git semver [Pipeline] } 05:05:25 $ docker stop --time=1 d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 05:05:26 $ docker rm -f d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:27 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:05:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:27 $ docker top 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca -eo pid,comm 05:05:27 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). 05:05:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:27 [ssh-agent] Looking for ssh-agent implementation... 05:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:27 $ docker exec 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca ssh-agent 05:05:27 SSH_AUTH_SOCK=/tmp/ssh-SF53uUk2RBjN/agent.32 05:05:27 SSH_AGENT_PID=39 05:05:27 Running ssh-add (command line suppressed) 05:05:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_815088935326836398.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_815088935326836398.key) 05:05:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:28 + git semver push 05:05:28 2022-10-04 05:05:28,447 [run_push] DEBUG push 05:05:28 2022-10-04 05:05:28,447 [execute] INFO git cat-file --batch-check 05:05:28 2022-10-04 05:05:28,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:05:28 2022-10-04 05:05:28,452 [execute] INFO git rev-list 6e64ab3ad97127c9e72444433b8d575a52195a69 -- 05:05:28 2022-10-04 05:05:28,452 [execute] DEBUG Popen(['git', 'rev-list', '6e64ab3ad97127c9e72444433b8d575a52195a69', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:05:28 2022-10-04 05:05:28,463 [execute] INFO git fetch -v origin 05:05:28 2022-10-04 05:05:28,464 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:05:29 2022-10-04 05:05:29,045 [run_push] DEBUG no remote changes detected 05:05:29 2022-10-04 05:05:29,045 [execute] INFO git push origin semver 05:05:29 2022-10-04 05:05:29,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:05:30 2022-10-04 05:05:29,810 [run_push] DEBUG push all version tags 05:05:30 2022-10-04 05:05:29,811 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:05:30 2022-10-04 05:05:29,811 [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) 05:05:30 2022-10-04 05:05:30,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:30 2.3.0-dev.36 [Pipeline] } 05:05:30 $ docker exec --env ******** --env ******** 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca ssh-agent -k 05:05:31 unset SSH_AUTH_SOCK; 05:05:31 unset SSH_AGENT_PID; 05:05:31 echo Agent pid 39 killed; 05:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:31 + git semver [Pipeline] } 05:05:31 $ docker stop --time=1 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca 05:05:33 $ docker rm -f 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca [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 05:05:33 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:05:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:05:33 total 16 05:05:33 drwxr-xr-x 3 root root 4096 Oct 4 04:55 . 05:05:33 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:05 .. 05:05:33 drwxr-xr-x 2 root root 4096 Oct 4 04:55 cost 05:05:33 -rw-r--r-- 1 root root 85 Oct 4 04:55 cost.csv 05:05:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:05:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:05:33 total 16 05:05:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:55 . 05:05:33 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:05 .. 05:05:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:55 cost 05:05:33 -rw-r--r-- 1 jenkins jenkins 85 Oct 4 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:34 ---> package-listing.sh 05:05:34 ++ facter osfamily 05:05:34 ++ tr '[:upper:]' '[:lower:]' 05:05:35 + OS_FAMILY=debian 05:05:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:05:35 + START_PACKAGES=/tmp/packages_start.txt 05:05:35 + END_PACKAGES=/tmp/packages_end.txt 05:05:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:35 + PACKAGES=/tmp/packages_start.txt 05:05:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:05:35 + PACKAGES=/tmp/packages_end.txt 05:05:35 + case "${OS_FAMILY}" in 05:05:35 + dpkg -l 05:05:35 + grep '^ii' 05:05:35 + '[' -f /tmp/packages_start.txt ']' 05:05:35 + '[' -f /tmp/packages_end.txt ']' 05:05:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:05:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:05:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:05:35 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 05:05:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:36 prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container 05:05:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:36 $ docker top 2ee1af447d04c01b1c4847bccca2816a6a889b063eed06c4931c92b783111a50 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:36 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:37 + ls /var/log/sa-host 05:05:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:37 provisioning config files... 05:05:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config142098132356287531tmp [Pipeline] { [Pipeline] echo 05:05:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:37 ---> create-netrc.sh [Pipeline] } 05:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:38 ---> python-tools-install.sh [Pipeline] echo 05:05:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:38 ---> sudo-logs.sh 05:05:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:38 ---> job-cost.sh 05:05:38 lf-activate-venv: SKIPPING 05:05:38 DEBUG: total: 0.2199999988079071 05:05:38 INFO: Retrieving Stack Cost... 05:05:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:39 INFO: Archiving Costs [Pipeline] echo 05:05:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:39 ---> logs-deploy.sh 05:05:39 lf-activate-venv: SKIPPING 05:05:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/110 05:05:39 INFO: archiving workspace using pattern(s): 05:05:40 Archives upload complete. 05:05:40 INFO: archiving logs to Nexus