Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 68f2c3776b57ed1a5eef5a5e3525a947923e1899 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-ssh2462582610323831845.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1929842076801984909.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14862808986005081406.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12171528933056109102.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1359736324465986155.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9202 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 68f2c3776b57ed1a5eef5a5e3525a947923e1899 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 Commit message: "Merge pull request #1427 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.36" > git rev-list --no-walk 8615fc25123047f243aada2a729ac9237acb70ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:46 ========================================================= 18:41:46 EdgeX Global Pipelines Version Info 18:41:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:47 ------------------- 18:41:47 stable info: 18:41:47 ------------------- 18:41:47 Commited By: Bill Mahoney bill.mahoney@intel.com 18:41:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:41:47 Message: update stable to v1.0.248 18:41:47 ------------------- 18:41:47 experimental info: 18:41:47 ------------------- 18:41:47 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:41:47 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68f2c37 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:48 provisioning config files... 18:41:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16826300404416806890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:48 ---> docker-login.sh 18:41:48 nexus3.edgexfoundry.org:10001 18:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:48 Configure a credential helper to remove this warning. See 18:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:48 18:41:48 Login Succeeded 18:41:48 nexus3.edgexfoundry.org:10002 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 nexus3.edgexfoundry.org:10003 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 nexus3.edgexfoundry.org:10004 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 docker.io 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 ---> docker-login.sh ends [Pipeline] } 18:41:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:50 + git rev-list -1 --merges 68f2c3776b57ed1a5eef5a5e3525a947923e1899~1..68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] echo 18:41:50 -----------> git rev-list -1 --merges 68f2c3776b57ed1a5eef5a5e3525a947923e1899~1..68f2c3776b57ed1a5eef5a5e3525a947923e1899 68f2c3776b57ed1a5eef5a5e3525a947923e1899 18:41:50 68f2c3776b57ed1a5eef5a5e3525a947923e1899 [false] [Pipeline] sh 18:41:50 + git log --format=format:%s -1 68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] echo 18:41:50 ========================================================= 18:41:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:50 + git log --format=format:%s -1 68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] echo 18:41:50 [semverPrep] GIT_COMMIT: 68f2c3776b57ed1a5eef5a5e3525a947923e1899, Commit Message: Merge pull request #1427 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.36 [Pipeline] echo 18:41:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:51 + grep -v github /etc/ssh/ssh_known_hosts 18:41:51 + [ -e /tmp/ssh_known_hosts ] 18:41:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:51 18:41:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:51 b85a868b505f: Pulling fs layer 18:41:51 e2be974225ed: Pulling fs layer 18:41:51 339a4e72a1f5: Pulling fs layer 18:41:51 988bab9f4d93: Pulling fs layer 18:41:51 1469e6f7b9e6: Pulling fs layer 18:41:51 eaf3925da568: Pulling fs layer 18:41:51 bab4dde63d76: Pulling fs layer 18:41:51 bde34c3a00c8: Pulling fs layer 18:41:51 988bab9f4d93: Waiting 18:41:51 1469e6f7b9e6: Waiting 18:41:51 b352a97aabf1: Pulling fs layer 18:41:51 eaf3925da568: Waiting 18:41:51 4872d77fe225: Pulling fs layer 18:41:51 5851b861e8e6: Pulling fs layer 18:41:51 bde34c3a00c8: Waiting 18:41:51 bab4dde63d76: Waiting 18:41:51 b352a97aabf1: Waiting 18:41:51 4872d77fe225: Waiting 18:41:51 e2be974225ed: Verifying Checksum 18:41:51 e2be974225ed: Download complete 18:41:51 988bab9f4d93: Verifying Checksum 18:41:51 988bab9f4d93: Download complete 18:41:52 1469e6f7b9e6: Verifying Checksum 18:41:52 1469e6f7b9e6: Download complete 18:41:52 eaf3925da568: Download complete 18:41:52 339a4e72a1f5: Verifying Checksum 18:41:52 339a4e72a1f5: Download complete 18:41:52 bde34c3a00c8: Verifying Checksum 18:41:52 bde34c3a00c8: Download complete 18:41:52 b352a97aabf1: Download complete 18:41:52 4872d77fe225: Download complete 18:41:52 5851b861e8e6: Verifying Checksum 18:41:52 5851b861e8e6: Download complete 18:41:52 b85a868b505f: Verifying Checksum 18:41:52 b85a868b505f: Download complete 18:41:52 bab4dde63d76: Verifying Checksum 18:41:52 bab4dde63d76: Download complete 18:41:53 b85a868b505f: Pull complete 18:41:53 e2be974225ed: Pull complete 18:41:54 339a4e72a1f5: Pull complete 18:41:54 988bab9f4d93: Pull complete 18:41:54 1469e6f7b9e6: Pull complete 18:41:54 eaf3925da568: Pull complete 18:41:56 bab4dde63d76: Pull complete 18:41:56 bde34c3a00c8: Pull complete 18:41:56 b352a97aabf1: Pull complete 18:41:56 4872d77fe225: Pull complete 18:41:56 5851b861e8e6: Pull complete 18:41:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:57 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:00 $ docker top 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 -eo pid,comm 18:42:00 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). 18:42:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:00 [ssh-agent] Looking for ssh-agent implementation... 18:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:00 $ docker exec 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 ssh-agent 18:42:00 SSH_AUTH_SOCK=/tmp/ssh-LUKlmiKC4gi8/agent.32 18:42:00 SSH_AGENT_PID=38 18:42:00 Running ssh-add (command line suppressed) 18:42:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17556861115919713589.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17556861115919713589.key) 18:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:00 + git tag --points-at HEAD [Pipeline] } 18:42:00 $ docker exec --env ******** --env ******** 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 ssh-agent -k 18:42:00 unset SSH_AUTH_SOCK; 18:42:00 unset SSH_AGENT_PID; 18:42:00 echo Agent pid 38 killed; 18:42:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:00 [ssh-agent] Looking for ssh-agent implementation... 18:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:01 $ docker exec 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 ssh-agent 18:42:01 SSH_AUTH_SOCK=/tmp/ssh-sNWIChb9RnBW/agent.70 18:42:01 SSH_AGENT_PID=76 18:42:01 Running ssh-add (command line suppressed) 18:42:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14240246948728871182.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14240246948728871182.key) 18:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:01 + git semver init 18:42:01 2023-04-20 18:42:01,794 [run_init] DEBUG init version:0.0.0 force:False 18:42:01 2023-04-20 18:42:01,795 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:42:01 2023-04-20 18:42:01,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:42:01 2023-04-20 18:42:01,796 [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) 18:42:02 2023-04-20 18:42:02,777 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:42:02 2023-04-20 18:42:02,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:42:02 2023-04-20 18:42:02,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:42:02 2023-04-20 18:42:02,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:42:02 3.0.0-dev.72 [Pipeline] } 18:42:03 $ docker exec --env ******** --env ******** 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 ssh-agent -k 18:42:03 unset SSH_AUTH_SOCK; 18:42:03 unset SSH_AGENT_PID; 18:42:03 echo Agent pid 76 killed; 18:42:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:03 + git semver [Pipeline] } 18:42:03 $ docker stop --time=1 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 18:42:11 $ docker rm -f --volumes 992e65583ba4b7e9991747d415c6f5a32a16ded1cf53c3e49bd5152f8c9813c5 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:11 Stashed 1 file(s) [Pipeline] echo 18:42:11 [edgeXSemver]: initialized semver on version 3.0.0-dev.72 [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 18:42:11 provisioning config files... 18:42:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8651858877752511715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:12 ---> docker-login.sh 18:42:12 nexus3.edgexfoundry.org:10001 18:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:12 Configure a credential helper to remove this warning. See 18:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:12 18:42:12 Login Succeeded 18:42:12 nexus3.edgexfoundry.org:10002 18:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:12 Configure a credential helper to remove this warning. See 18:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:12 18:42:12 Login Succeeded 18:42:12 nexus3.edgexfoundry.org:10003 18:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:12 Configure a credential helper to remove this warning. See 18:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:12 18:42:12 Login Succeeded 18:42:12 nexus3.edgexfoundry.org:10004 18:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:12 Configure a credential helper to remove this warning. See 18:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:12 18:42:12 Login Succeeded 18:42:12 docker.io 18:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:12 Configure a credential helper to remove this warning. See 18:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:12 18:42:12 Login Succeeded 18:42:12 ---> docker-login.sh ends [Pipeline] } 18:42:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:12 ========================================================= 18:42:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:42:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:13 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:42:13 Sending build context to Docker daemon 10.96MB 18:42:13 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:42:13 Step 2/10 : FROM ${BASE} AS builder 18:42:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:13 63b65145d645: Pulling fs layer 18:42:13 a2d21d5440eb: Pulling fs layer 18:42:13 935e6c44a52c: Pulling fs layer 18:42:13 94cc34f8dd06: Pulling fs layer 18:42:13 30dea6a524f1: Pulling fs layer 18:42:13 a2aff8979fd8: Pulling fs layer 18:42:13 6808be2612f2: Pulling fs layer 18:42:13 f25807f1079a: Pulling fs layer 18:42:13 30dea6a524f1: Waiting 18:42:13 a2aff8979fd8: Waiting 18:42:13 6808be2612f2: Waiting 18:42:13 f25807f1079a: Waiting 18:42:13 94cc34f8dd06: Waiting 18:42:13 a2d21d5440eb: Verifying Checksum 18:42:13 a2d21d5440eb: Download complete 18:42:13 94cc34f8dd06: Verifying Checksum 18:42:13 94cc34f8dd06: Download complete 18:42:13 30dea6a524f1: Verifying Checksum 18:42:13 30dea6a524f1: Download complete 18:42:13 63b65145d645: Verifying Checksum 18:42:13 63b65145d645: Download complete 18:42:13 a2aff8979fd8: Verifying Checksum 18:42:13 a2aff8979fd8: Download complete 18:42:13 63b65145d645: Pull complete 18:42:13 a2d21d5440eb: Pull complete 18:42:14 f25807f1079a: Verifying Checksum 18:42:14 f25807f1079a: Download complete 18:42:14 935e6c44a52c: Verifying Checksum 18:42:14 935e6c44a52c: Download complete 18:42:14 6808be2612f2: Verifying Checksum 18:42:14 6808be2612f2: Download complete 18:42:17 935e6c44a52c: Pull complete 18:42:17 94cc34f8dd06: Pull complete 18:42:17 30dea6a524f1: Pull complete 18:42:17 a2aff8979fd8: Pull complete 18:42:20 6808be2612f2: Pull complete 18:42:21 f25807f1079a: Pull complete 18:42:21 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:42:21 ---> 3b553350e43f 18:42:21 Step 3/10 : ARG MAKE=make build 18:42:22 ---> Running in 8937cf25dbd6 18:42:22 Removing intermediate container 8937cf25dbd6 18:42:22 ---> 3c57b27d7f07 18:42:22 Step 4/10 : WORKDIR /device-sdk-go 18:42:22 ---> Running in f5f42f601a1e 18:42:22 Removing intermediate container f5f42f601a1e 18:42:22 ---> 9ecbfd8776b5 18:42:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:22 ---> Running in 4bbff7e919b4 18:42:22 Removing intermediate container 4bbff7e919b4 18:42:22 ---> 7d185d54490f 18:42:22 Step 6/10 : RUN apk add --update --no-cache make git 18:42:22 ---> Running in b9af08735e77 18:42:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:42:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:42:23 OK: 265 MiB in 53 packages 18:42:23 Removing intermediate container b9af08735e77 18:42:23 ---> 8952b08a15cb 18:42:23 Step 7/10 : COPY go.mod vendor* ./ 18:42:23 ---> 59a63fb63903 18:42:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:23 ---> Running in c25cf2735a5f 18:42:26 Still waiting to schedule task 18:42:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:43:02 Removing intermediate container c25cf2735a5f 18:43:02 ---> 5664ba2bf2fb 18:43:02 Step 9/10 : COPY . . 18:43:02 ---> 91ef3925ea32 18:43:02 Step 10/10 : RUN ${MAKE} 18:43:02 ---> Running in 430129ddeff8 18:43:02 noop 18:43:03 Removing intermediate container 430129ddeff8 18:43:03 ---> 67cf3f923137 18:43:03 Successfully built 67cf3f923137 18:43:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:03 + docker inspect -f . ci-base-image-x86_64 18:43:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:03 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:03 $ docker top 1cefe92f94b7022829759198862dcdfd0737868def8d86e2912eda65488df014 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:04 + go version 18:43:04 go version go1.20.2 linux/amd64 [Pipeline] } 18:43:04 $ docker stop --time=1 1cefe92f94b7022829759198862dcdfd0737868def8d86e2912eda65488df014 18:43:05 $ docker rm -f --volumes 1cefe92f94b7022829759198862dcdfd0737868def8d86e2912eda65488df014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:05 + docker inspect -f . ci-base-image-x86_64 18:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:05 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:43:06 $ docker top 2f5740997bb217cbf83365207e2bc17ad248481091a58b0ac39e5ce8d3520c14 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:43:06 + make test 18:43:06 go test -race -coverprofile=coverage.out ./... 18:43:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 80.2% of statements 18:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.107s coverage: 86.0% of statements 18:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 77.5% of statements 18:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.075s coverage: 14.6% of statements 18:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements 18:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.130s coverage: 89.2% of statements 18:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements 18:43:54 GO111MODULE=on go vet ./... 18:43:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:56 $ docker stop --time=1 2f5740997bb217cbf83365207e2bc17ad248481091a58b0ac39e5ce8d3520c14 18:43:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9203 in /w/workspace/edgexfoundry_device-sdk-go_main 18:43:59 $ docker rm -f --volumes 2f5740997bb217cbf83365207e2bc17ad248481091a58b0ac39e5ce8d3520c14 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 18:44:00 Running in /w/workspace/device-sdk-go/203 [Pipeline] { [Pipeline] checkout 18:44:00 The recommended git tool is: git 18:44:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:01 + ls -al . 18:44:01 total 272 18:44:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 18:43 . 18:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 18:41 .. 18:44:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 18:41 .dockerignore 18:44:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 18:42 .git 18:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 18:41 .github 18:44:01 -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 18:41 .gitignore 18:44:01 -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 18:41 .golangci.yml 18:44:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 18:42 .semver 18:44:01 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 20 18:41 CHANGELOG.md 18:44:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 18:41 GOVERNANCE.md 18:44:01 -rw-rw-r-- 1 jenkins jenkins 885 Apr 20 18:41 Jenkinsfile 18:44:01 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 18:41 LICENSE 18:44:01 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 20 18:41 Makefile 18:44:01 -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 18:41 OWNERS.md 18:44:01 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 20 18:41 README.md 18:44:01 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 18:42 VERSION 18:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 18:41 bin 18:44:01 -rw-r--r-- 1 jenkins jenkins 106119 Apr 20 18:43 coverage.out 18:44:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 18:41 example 18:44:01 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 20 18:41 go.mod 18:44:01 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 20 18:41 go.sum 18:44:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 18:41 internal 18:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 18:41 openapi 18:44:01 drwxrwxr-x 6 jenkins jenkins 4096 Apr 20 18:41 pkg 18:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 18:41 snap 18:44:01 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:01 + 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=68f2c3776b57ed1a5eef5a5e3525a947923e1899 --label arch=amd64 --label version=3.0.0-dev.72 . 18:44:01 Sending build context to Docker daemon 11.07MB 18:44:01 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:44:01 Step 2/23 : FROM ${BASE} AS builder 18:44:01 ---> 67cf3f923137 18:44:01 Step 3/23 : ARG MAKE=make build 18:44:01 ---> Running in fc766dacd39e 18:44:01 Removing intermediate container fc766dacd39e 18:44:01 ---> 55e172f1f826 18:44:01 Step 4/23 : WORKDIR /device-sdk-go 18:44:01 ---> Running in 03901bc783d2 18:44:01 Removing intermediate container 03901bc783d2 18:44:01 ---> 6c6098e4457c 18:44:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:01 ---> Running in 24011dc77ca0 18:44:01 Removing intermediate container 24011dc77ca0 18:44:01 ---> 116aca52d506 18:44:01 Step 6/23 : RUN apk add --update --no-cache make git 18:44:01 ---> Running in 4e6fed527331 18:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:02 OK: 265 MiB in 53 packages 18:44:02 Removing intermediate container 4e6fed527331 18:44:02 ---> b4598fb94eae 18:44:02 Step 7/23 : COPY go.mod vendor* ./ 18:44:03 ---> ccc3ffa50161 18:44:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:03 ---> Running in 54a5507661cc 18:44:04 Removing intermediate container 54a5507661cc 18:44:04 ---> 0733ded958cd 18:44:04 Step 9/23 : COPY . . 18:44:04 ---> e32e704f1704 18:44:04 Step 10/23 : RUN ${MAKE} 18:44:04 ---> Running in 2016ba8f47aa 18:44:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.72" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:44:05 using credential edgex-jenkins-ssh 18:44:05 Cloning the remote Git repository 18:44:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:05 > git init /w/workspace/device-sdk-go/203 # timeout=10 18:44:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:05 > git --version # timeout=10 18:44:05 > git --version # 'git version 2.25.1' 18:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:08 Avoid second fetch 18:44:08 Checking out Revision 68f2c3776b57ed1a5eef5a5e3525a947923e1899 (main) 18:44:08 > git config core.sparsecheckout # timeout=10 18:44:08 > git checkout -f 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 18:44:08 Commit message: "Merge pull request #1427 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.36" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:09 Dload Upload Total Spent Left Speed 18:44:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 77750 [Pipeline] sh 18:44:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:10 + sudo tee /etc/docker/daemon.new 18:44:10 { 18:44:10 "registry-mirrors": [ 18:44:10 "https://nexus3.edgexfoundry.org:10001" 18:44:10 ], 18:44:10 "bip": "10.250.0.254/24", 18:44:10 "hosts": [ 18:44:10 "tcp://0.0.0.0:5555", 18:44:10 "unix:///var/run/docker.sock" 18:44:10 ], 18:44:10 "mtu": 1458, 18:44:10 "selinux-enabled": true, 18:44:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:10 } [Pipeline] sh 18:44:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:11 + sudo service docker restart 18:44:22 Removing intermediate container 2016ba8f47aa 18:44:22 ---> e6b5afcc3177 18:44:22 Step 11/23 : FROM alpine:3.17 18:44:22 3.17: Pulling from library/alpine 18:44:22 f56be85fc22e: Pulling fs layer 18:44:22 f56be85fc22e: Download complete 18:44:22 f56be85fc22e: Pull complete 18:44:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:44:22 Status: Downloaded newer image for alpine:3.17 18:44:22 ---> 9ed4aefc74f6 18:44:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:22 ---> Running in ef837eabe6bc 18:44:22 Removing intermediate container ef837eabe6bc 18:44:22 ---> 4187cc6c1663 18:44:22 Step 13/23 : RUN apk add --update --no-cache 18:44:22 ---> Running in de94361a7f7b 18:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:23 OK: 7 MiB in 15 packages 18:44:23 Removing intermediate container de94361a7f7b 18:44:23 ---> 2326127a17c9 18:44:23 Step 14/23 : WORKDIR / 18:44:23 ---> Running in dba4e5f37fb6 18:44:23 Removing intermediate container dba4e5f37fb6 18:44:23 ---> 765e0f4ad5e1 18:44:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:44:24 ---> 0bad062af705 18:44:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:44:24 ---> cd397e9f2bbf 18:44:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:44:24 ---> 6fb9102ca7d3 18:44:24 Step 18/23 : EXPOSE 59999 18:44:24 ---> Running in e470ad61c8ea 18:44:24 Removing intermediate container e470ad61c8ea 18:44:24 ---> 5085d8a056cd 18:44:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:44:24 ---> Running in 0901c9bb2678 18:44:24 Removing intermediate container 0901c9bb2678 18:44:24 ---> 4b9afe9adc6f 18:44:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:24 ---> Running in 39b958ed5f80 18:44:24 Removing intermediate container 39b958ed5f80 18:44:24 ---> f59e4fc46b81 18:44:24 Step 21/23 : LABEL arch=amd64 18:44:24 ---> Running in d8755099f58b 18:44:24 Removing intermediate container d8755099f58b 18:44:24 ---> 0d774540d594 18:44:24 Step 22/23 : LABEL git_sha=68f2c3776b57ed1a5eef5a5e3525a947923e1899 18:44:24 ---> Running in e1dbb72ab1fd 18:44:25 Removing intermediate container e1dbb72ab1fd 18:44:25 ---> 4dfe55d104bb 18:44:25 Step 23/23 : LABEL version=3.0.0-dev.72 18:44:25 ---> Running in 2ecdf03c9a02 18:44:25 Removing intermediate container 2ecdf03c9a02 18:44:25 ---> 7621990d6de6 18:44:25 [Warning] One or more build-args [ARCH] were not consumed 18:44:25 Successfully built 7621990d6de6 18:44:25 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 18:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:25 18:44:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:25 latest: Pulling from edgex-lftools-log-publisher 18:44:25 5eb5b503b376: Pulling fs layer 18:44:25 5c69ac0246d0: Pulling fs layer 18:44:25 ec43610c2a17: Pulling fs layer 18:44:25 3a2ae6a8a46f: Pulling fs layer 18:44:25 33b1e0a273af: Pulling fs layer 18:44:25 5d3b04190fa2: Pulling fs layer 18:44:25 2f39f015ded8: Pulling fs layer 18:44:25 3a2ae6a8a46f: Waiting 18:44:25 33b1e0a273af: Waiting 18:44:25 5d3b04190fa2: Waiting 18:44:25 2f39f015ded8: Waiting 18:44:25 5c69ac0246d0: Verifying Checksum 18:44:25 5c69ac0246d0: Download complete 18:44:25 3a2ae6a8a46f: Verifying Checksum 18:44:25 3a2ae6a8a46f: Download complete 18:44:25 33b1e0a273af: Verifying Checksum 18:44:25 33b1e0a273af: Download complete 18:44:25 ec43610c2a17: Verifying Checksum 18:44:25 ec43610c2a17: Download complete 18:44:25 5d3b04190fa2: Download complete 18:44:26 5eb5b503b376: Verifying Checksum 18:44:26 5eb5b503b376: Download complete 18:44:26 2f39f015ded8: Verifying Checksum 18:44:26 2f39f015ded8: Download complete 18:44:27 5eb5b503b376: Pull complete 18:44:27 5c69ac0246d0: Pull complete 18:44:27 ec43610c2a17: Pull complete 18:44:27 3a2ae6a8a46f: Pull complete 18:44:28 33b1e0a273af: Pull complete 18:44:28 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:29 provisioning config files... 18:44:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/203@tmp/config14471224003125618447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:30 ---> docker-login.sh 18:44:30 nexus3.edgexfoundry.org:10001 18:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:30 Configure a credential helper to remove this warning. See 18:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:30 18:44:30 Login Succeeded 18:44:30 nexus3.edgexfoundry.org:10002 18:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:31 Configure a credential helper to remove this warning. See 18:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:31 18:44:31 Login Succeeded 18:44:31 nexus3.edgexfoundry.org:10003 18:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:31 Configure a credential helper to remove this warning. See 18:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:31 18:44:31 Login Succeeded 18:44:31 nexus3.edgexfoundry.org:10004 18:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:31 Configure a credential helper to remove this warning. See 18:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:31 18:44:31 Login Succeeded 18:44:31 docker.io 18:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:32 2f39f015ded8: Pull complete 18:44:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:32 Configure a credential helper to remove this warning. See 18:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:32 18:44:32 Login Succeeded 18:44:32 ---> docker-login.sh ends [Pipeline] } 18:44:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:32 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:44: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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:33 $ docker top 5ba8aeaa2f18e342850f9c036d7d178718d69a48ea587a93075cf8e7a375ea7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo 18:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:33 ========================================================= 18:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:44:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:34 ---> job-cost.sh 18:44:34 lf-activate-venv: SKIPPING 18:44:34 INFO: No Stack... 18:44:34 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:44:34 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:34 Sending build context to Docker daemon 5.89MB 18:44:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:44:34 Step 2/10 : FROM ${BASE} AS builder 18:44:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:44:34 af6eaf76a39c: Pulling fs layer 18:44:34 55522c791124: Pulling fs layer 18:44:34 ce5c4a1c91eb: Pulling fs layer 18:44:34 169dfbe0d373: Pulling fs layer 18:44:34 e1ff8fa3b103: Pulling fs layer 18:44:34 52ebb69f0ebf: Pulling fs layer 18:44:34 169dfbe0d373: Waiting 18:44:34 e1ff8fa3b103: Waiting 18:44:34 5abe8eddf0d5: Pulling fs layer 18:44:34 5abe8eddf0d5: Waiting 18:44:34 55522c791124: Verifying Checksum 18:44:34 55522c791124: Download complete 18:44:34 169dfbe0d373: Verifying Checksum 18:44:34 169dfbe0d373: Download complete 18:44:34 INFO: Archiving Costs [Pipeline] sh 18:44:35 e1ff8fa3b103: Verifying Checksum 18:44:35 e1ff8fa3b103: Download complete 18:44:35 af6eaf76a39c: Verifying Checksum 18:44:35 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:44:35 + cut -d, -f6 [Pipeline] lock 18:44:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] 18:44:35 Resource [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] did not exist. Created. 18:44:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:35 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:35 Stashed 1 file(s) [Pipeline] } 18:44:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:35 $ docker stop --time=1 5ba8aeaa2f18e342850f9c036d7d178718d69a48ea587a93075cf8e7a375ea7e 18:44:36 af6eaf76a39c: Pull complete 18:44:36 5abe8eddf0d5: Verifying Checksum 18:44:36 5abe8eddf0d5: Download complete 18:44:36 55522c791124: Pull complete 18:44:36 $ docker rm -f --volumes 5ba8aeaa2f18e342850f9c036d7d178718d69a48ea587a93075cf8e7a375ea7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:44:37 ce5c4a1c91eb: Verifying Checksum 18:44:37 ce5c4a1c91eb: Download complete 18:44:37 52ebb69f0ebf: Verifying Checksum 18:44:37 52ebb69f0ebf: Download complete 18:44:49 ce5c4a1c91eb: Pull complete 18:44:49 169dfbe0d373: Pull complete 18:44:49 e1ff8fa3b103: Pull complete 18:44:55 52ebb69f0ebf: Pull complete 18:44:57 5abe8eddf0d5: Pull complete 18:44:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:44:57 ---> 6cb57ee374ae 18:44:57 Step 3/10 : ARG MAKE=make build 18:44:59 ---> Running in a2e3a9875221 18:44:59 Removing intermediate container a2e3a9875221 18:44:59 ---> b011b50c76c4 18:44:59 Step 4/10 : WORKDIR /device-sdk-go 18:44:59 ---> Running in 09b422d33e3c 18:44:59 Removing intermediate container 09b422d33e3c 18:44:59 ---> 9e9f7ce2c1a4 18:44:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:45:00 ---> Running in 5158eb2dc614 18:45:00 Removing intermediate container 5158eb2dc614 18:45:00 ---> f302894351ee 18:45:00 Step 6/10 : RUN apk add --update --no-cache make git 18:45:00 ---> Running in 39e7148dcee9 18:45:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:45:03 OK: 263 MiB in 53 packages 18:45:03 Removing intermediate container 39e7148dcee9 18:45:03 ---> c86b6b10e4ef 18:45:03 Step 7/10 : COPY go.mod vendor* ./ 18:45:04 ---> 8ab08e63d5af 18:45:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:04 ---> Running in 5c54ad98ef3b 18:46:26 Removing intermediate container 5c54ad98ef3b 18:46:26 ---> b1bc1b5e5869 18:46:26 Step 9/10 : COPY . . 18:46:26 ---> ae2dd3cfc1ef 18:46:26 Step 10/10 : RUN ${MAKE} 18:46:26 ---> Running in 3a2b29ac3884 18:46:26 noop 18:46:26 Removing intermediate container 3a2b29ac3884 18:46:26 ---> 4e7a5ada49ba 18:46:26 Successfully built 4e7a5ada49ba 18:46:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:26 + docker inspect -f . ci-base-image-arm64 18:46:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:26 prd-ubuntu20.04-docker-arm64-4c-16g-9203 does not seem to be running inside a container 18:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/203 -v /w/workspace/device-sdk-go/203:/w/workspace/device-sdk-go/203:rw,z -v /w/workspace/device-sdk-go/203@tmp:/w/workspace/device-sdk-go/203@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 18:46:28 $ docker top 5e14360f75fcafdcea0377284b9d93b837c08b6c303b5bf18679351b41e6f395 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:29 + go version 18:46:29 go version go1.20.2 linux/arm64 [Pipeline] } 18:46:29 $ docker stop --time=1 5e14360f75fcafdcea0377284b9d93b837c08b6c303b5bf18679351b41e6f395 18:46:30 $ docker rm -f --volumes 5e14360f75fcafdcea0377284b9d93b837c08b6c303b5bf18679351b41e6f395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:31 + docker inspect -f . ci-base-image-arm64 18:46:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:31 prd-ubuntu20.04-docker-arm64-4c-16g-9203 does not seem to be running inside a container 18:46:31 $ 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/203 -v /w/workspace/device-sdk-go/203:/w/workspace/device-sdk-go/203:rw,z -v /w/workspace/device-sdk-go/203@tmp:/w/workspace/device-sdk-go/203@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 18:46:32 $ docker top b9fcd01d5c7d3a67782c67eabb6048b3fd92037a8cbbb96f4a8e646ef6a1e7c9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/203 [Pipeline] fileExists [Pipeline] sh 18:46:33 + make test 18:46:33 go test -race -coverprofile=coverage.out ./... 18:47:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:49:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:49:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:49:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:49:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:49:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:49:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements 18:49:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements 18:49:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:49:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:49:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.346s coverage: 86.0% of statements 18:49:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:49:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.449s coverage: 77.5% of statements 18:49:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:49:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:49:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:49:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.277s coverage: 14.6% of statements 18:49:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 68.5% of statements 18:49:53 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.433s coverage: 89.2% of statements 18:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:49:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.230s coverage: 5.5% of statements 18:49:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:49:55 GO111MODULE=on go vet ./... 18:52:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:20 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:20 $ docker stop --time=1 b9fcd01d5c7d3a67782c67eabb6048b3fd92037a8cbbb96f4a8e646ef6a1e7c9 18:52:22 $ docker rm -f --volumes b9fcd01d5c7d3a67782c67eabb6048b3fd92037a8cbbb96f4a8e646ef6a1e7c9 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:23 Warning: overwriting stash ‘coverage-report’ 18:52:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:25 + ls -al . 18:52:25 total 268 18:52:25 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 18:46 . 18:52:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 18:44 .. 18:52:25 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 18:44 .dockerignore 18:52:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 18:44 .git 18:52:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 18:44 .github 18:52:25 -rw-rw-r-- 1 jenkins jenkins 131 Apr 20 18:44 .gitignore 18:52:25 -rw-rw-r-- 1 jenkins jenkins 42 Apr 20 18:44 .golangci.yml 18:52:25 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 20 18:44 CHANGELOG.md 18:52:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 18:44 GOVERNANCE.md 18:52:25 -rw-rw-r-- 1 jenkins jenkins 885 Apr 20 18:44 Jenkinsfile 18:52:25 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 18:44 LICENSE 18:52:25 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 20 18:44 Makefile 18:52:25 -rw-rw-r-- 1 jenkins jenkins 619 Apr 20 18:44 OWNERS.md 18:52:25 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 20 18:44 README.md 18:52:25 -rw-rw-r-- 1 jenkins jenkins 12 Apr 20 18:42 VERSION 18:52:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 18:44 bin 18:52:25 -rw-r--r-- 1 jenkins jenkins 106119 Apr 20 18:49 coverage.out 18:52:25 drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 18:44 example 18:52:25 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 20 18:44 go.mod 18:52:25 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 20 18:44 go.sum 18:52:25 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 18:44 internal 18:52:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 18:44 openapi 18:52:25 drwxrwxr-x 6 jenkins jenkins 4096 Apr 20 18:44 pkg 18:52:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 18:44 snap 18:52:25 -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:25 + 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=68f2c3776b57ed1a5eef5a5e3525a947923e1899 --label arch=arm64 --label version=3.0.0-dev.72 . 18:52:25 Sending build context to Docker daemon 5.997MB 18:52:25 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:52:25 Step 2/23 : FROM ${BASE} AS builder 18:52:25 ---> 4e7a5ada49ba 18:52:25 Step 3/23 : ARG MAKE=make build 18:52:29 ---> Running in 489ed548fde9 18:52:29 Removing intermediate container 489ed548fde9 18:52:29 ---> 551f944ce4fb 18:52:29 Step 4/23 : WORKDIR /device-sdk-go 18:52:29 ---> Running in 7565de76f85f 18:52:29 Removing intermediate container 7565de76f85f 18:52:29 ---> 553d13cd6ad8 18:52:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:52:29 ---> Running in be831ffd55b6 18:52:29 Removing intermediate container be831ffd55b6 18:52:29 ---> b401f50c4b6e 18:52:29 Step 6/23 : RUN apk add --update --no-cache make git 18:52:29 ---> Running in 47568e7a0daf 18:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:52:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:52:32 OK: 263 MiB in 53 packages 18:52:33 Removing intermediate container 47568e7a0daf 18:52:33 ---> 88109f3bd65e 18:52:33 Step 7/23 : COPY go.mod vendor* ./ 18:52:33 ---> 4703fe83484f 18:52:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:33 ---> Running in a54cf69e2079 18:52:36 Removing intermediate container a54cf69e2079 18:52:36 ---> c47471808e02 18:52:36 Step 9/23 : COPY . . 18:52:37 ---> 0eb410706d28 18:52:37 Step 10/23 : RUN ${MAKE} 18:52:37 ---> Running in 5e129a0b5db2 18:52:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.72" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:54:44 Removing intermediate container 5e129a0b5db2 18:54:44 ---> 3a67b53e0909 18:54:44 Step 11/23 : FROM alpine:3.17 18:54:44 3.17: Pulling from library/alpine 18:54:44 c41833b44d91: Pulling fs layer 18:54:44 c41833b44d91: Verifying Checksum 18:54:44 c41833b44d91: Download complete 18:54:44 c41833b44d91: Pull complete 18:54:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:54:44 Status: Downloaded newer image for alpine:3.17 18:54:44 ---> 51e60588ff2c 18:54:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:54:44 ---> Running in 490081356d1e 18:54:44 Removing intermediate container 490081356d1e 18:54:44 ---> 3f3c0cb6cc30 18:54:44 Step 13/23 : RUN apk add --update --no-cache 18:54:44 ---> Running in 8d9d1ae19837 18:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:54:45 OK: 7 MiB in 15 packages 18:54:46 Removing intermediate container 8d9d1ae19837 18:54:46 ---> c71221a2058c 18:54:46 Step 14/23 : WORKDIR / 18:54:46 ---> Running in 6d6f6cfdb41d 18:54:46 Removing intermediate container 6d6f6cfdb41d 18:54:46 ---> 17166b80779f 18:54:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:54:47 ---> c0ced6288142 18:54:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:54:48 ---> 375120e03544 18:54:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:54:49 ---> b80d24862379 18:54:49 Step 18/23 : EXPOSE 59999 18:54:49 ---> Running in 412cb027aaf4 18:54:49 Removing intermediate container 412cb027aaf4 18:54:49 ---> e87b2da95cf4 18:54:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:54:49 ---> Running in 0007a312b325 18:54:50 Removing intermediate container 0007a312b325 18:54:50 ---> dc9a183b1e04 18:54:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:54:50 ---> Running in b23879ccdcbb 18:54:50 Removing intermediate container b23879ccdcbb 18:54:50 ---> 5be50236d76e 18:54:50 Step 21/23 : LABEL arch=arm64 18:54:50 ---> Running in d845f95b554e 18:54:50 Removing intermediate container d845f95b554e 18:54:50 ---> 46780c140a32 18:54:50 Step 22/23 : LABEL git_sha=68f2c3776b57ed1a5eef5a5e3525a947923e1899 18:54:52 ---> Running in a870c5f218ac 18:54:52 Removing intermediate container a870c5f218ac 18:54:52 ---> 862b8b60801e 18:54:52 Step 23/23 : LABEL version=3.0.0-dev.72 18:54:52 ---> Running in 63636a2a844a 18:54:52 Removing intermediate container 63636a2a844a 18:54:52 ---> 9274d89e9045 18:54:52 [Warning] One or more build-args [ARCH] were not consumed 18:54:52 Successfully built 9274d89e9045 18:54:52 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 18:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:53 18:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:53 arm64: Pulling from edgex-lftools-log-publisher 18:54:53 8998bd30e6a1: Pulling fs layer 18:54:53 04944245beec: Pulling fs layer 18:54:53 699f458cf7ca: Pulling fs layer 18:54:53 765212b225bb: Pulling fs layer 18:54:53 f23df028b6ca: Pulling fs layer 18:54:53 d65c8cfc05b1: Pulling fs layer 18:54:53 2437ff75d9bd: Pulling fs layer 18:54:53 f23df028b6ca: Waiting 18:54:53 d65c8cfc05b1: Waiting 18:54:53 2437ff75d9bd: Waiting 18:54:53 765212b225bb: Waiting 18:54:54 04944245beec: Verifying Checksum 18:54:54 04944245beec: Download complete 18:54:54 765212b225bb: Verifying Checksum 18:54:54 765212b225bb: Download complete 18:54:54 f23df028b6ca: Verifying Checksum 18:54:54 f23df028b6ca: Download complete 18:54:54 d65c8cfc05b1: Verifying Checksum 18:54:54 d65c8cfc05b1: Download complete 18:54:54 699f458cf7ca: Verifying Checksum 18:54:54 699f458cf7ca: Download complete 18:54:54 8998bd30e6a1: Verifying Checksum 18:54:54 8998bd30e6a1: Download complete 18:54:56 2437ff75d9bd: Verifying Checksum 18:54:56 2437ff75d9bd: Download complete 18:54:58 8998bd30e6a1: Pull complete 18:54:59 04944245beec: Pull complete 18:55:00 699f458cf7ca: Pull complete 18:55:00 765212b225bb: Pull complete 18:55:01 f23df028b6ca: Pull complete 18:55:01 d65c8cfc05b1: Pull complete 18:55:16 2437ff75d9bd: Pull complete 18:55:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:16 prd-ubuntu20.04-docker-arm64-4c-16g-9203 does not seem to be running inside a container 18:55:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/203 -v /w/workspace/device-sdk-go/203:/w/workspace/device-sdk-go/203:rw,z -v /w/workspace/device-sdk-go/203@tmp:/w/workspace/device-sdk-go/203@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 18:55:19 $ docker top e95bc67d767a0f4dfaa3e3feb56c767fe56497c610cf2985a9cf4802ba3ef1df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:19 ---> job-cost.sh 18:55:20 lf-activate-venv: SKIPPING 18:55:20 INFO: No Stack... 18:55:20 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:21 INFO: Archiving Costs [Pipeline] sh 18:55:22 + cat /w/workspace/device-sdk-go/203/archives/cost.csv 18:55:22 + cut -d, -f6 [Pipeline] lock 18:55:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] 18:55:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] did not exist. Created. 18:55:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:22 /w/workspace/device-sdk-go/203@tmp/durable-89857a2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:22 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:22 Warning: overwriting stash ‘stack-cost’ 18:55:22 Stashed 1 file(s) [Pipeline] } 18:55:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-203-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:22 $ docker stop --time=1 e95bc67d767a0f4dfaa3e3feb56c767fe56497c610cf2985a9cf4802ba3ef1df 18:55:24 $ docker rm -f --volumes e95bc67d767a0f4dfaa3e3feb56c767fe56497c610cf2985a9cf4802ba3ef1df [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 18:55:24 provisioning config files... 18:55:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1053357375025603108tmp [Pipeline] { [Pipeline] sh 18:55:25 + set +x 18:55:25 + curl -s https://codecov.io/bash 18:55:25 + bash -s -- 18:55:25 18:55:25 _____ _ 18:55:25 / ____| | | 18:55:25 | | ___ __| | ___ ___ _____ __ 18:55:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:25 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:25 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:25 Bash-1.0.6 18:55:25 18:55:25 18:55:25 ==> git version 2.25.1 found 18:55:25 ==> 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 18:55:25 Release-Date: 2020-01-08 18:55:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:55:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:55:25 ==> Jenkins CI detected. 18:55:25 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:55:25 project root: . 18:55:25 --> token set from env 18:55:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:25 ==> Running gcov in . (disable via -X gcov) 18:55:25 ==> Python coveragepy not found 18:55:25 ==> Searching for coverage reports in: 18:55:25 + . 18:55:25 -> Found 1 reports 18:55:25 ==> Detecting git/mercurial file structure 18:55:25 ==> Reading reports 18:55:25 + ./coverage.out bytes=106119 18:55:25 ==> Appending adjustments 18:55:25 https://docs.codecov.io/docs/fixing-reports 18:55:25 + Found adjustments 18:55:25 ==> Gzipping contents 18:55:25 16K /tmp/codecov.aQ9abP.gz 18:55:25 ==> Uploading reports 18:55:25 url: https://codecov.io 18:55:25 query: branch=main&commit=68f2c3776b57ed1a5eef5a5e3525a947923e1899&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:25 -> Pinging Codecov 18:55:25 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=68f2c3776b57ed1a5eef5a5e3525a947923e1899&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F203%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:25 -> Uploading to 18:55:25 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/7E55EF52A471D76F132DFD9A03CDDE97/68f2c3776b57ed1a5eef5a5e3525a947923e1899/54af8c40-2bef-4ead-b63f-a034646c462d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T185525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff34209cdccf00be83f82a94a27c2734ce730a391f927deb08f313a4cb36684f 18:55:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:25 Dload Upload Total Spent Left Speed 18:55:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15026 0 0 100 15026 0 64767 --:--:-- --:--:-- --:--:-- 64767 18:55:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] } 18:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:55:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:55:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:26 18:55:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:55:26 df9b9388f04a: Pulling fs layer 18:55:26 52dc419b0ee2: Pulling fs layer 18:55:26 25bc292e5bac: Pulling fs layer 18:55:26 114826534d7a: Pulling fs layer 18:55:26 4657fd5d0bcf: Pulling fs layer 18:55:26 6ad1cebc031e: Pulling fs layer 18:55:26 8a3aa393b2d8: Pulling fs layer 18:55:26 114826534d7a: Waiting 18:55:26 4657fd5d0bcf: Waiting 18:55:26 6ad1cebc031e: Waiting 18:55:26 8a3aa393b2d8: Waiting 18:55:26 25bc292e5bac: Verifying Checksum 18:55:26 25bc292e5bac: Download complete 18:55:26 52dc419b0ee2: Verifying Checksum 18:55:26 52dc419b0ee2: Download complete 18:55:26 4657fd5d0bcf: Download complete 18:55:26 df9b9388f04a: Verifying Checksum 18:55:27 6ad1cebc031e: Verifying Checksum 18:55:27 6ad1cebc031e: Download complete 18:55:27 df9b9388f04a: Pull complete 18:55:27 52dc419b0ee2: Pull complete 18:55:27 25bc292e5bac: Pull complete 18:55:27 114826534d7a: Verifying Checksum 18:55:27 114826534d7a: Download complete 18:55:27 8a3aa393b2d8: Verifying Checksum 18:55:27 8a3aa393b2d8: Download complete 18:55:31 114826534d7a: Pull complete 18:55:31 4657fd5d0bcf: Pull complete 18:55:31 6ad1cebc031e: Pull complete 18:55:34 8a3aa393b2d8: Pull complete 18:55:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:55:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:34 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:55:35 $ docker top aadc15b543f49f1c25a08fa8ab914ecb727a7903b4effc7b59514a0a8b8cd505 -eo pid,comm [Pipeline] { [Pipeline] echo 18:55:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:55:36 + set -o pipefail 18:55:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:55:42 18:55:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:55:42 18:55:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a24b3e51-74db-4a5f-977d-d32e792adab8 18:55:42 18:55:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:55:42 18:55:43 18:55:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:55:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:55:43 More details here: https://snyk.co/ue1NS [Pipeline] } 18:55:43 $ docker stop --time=1 aadc15b543f49f1c25a08fa8ab914ecb727a7903b4effc7b59514a0a8b8cd505 18:55:44 $ docker rm -f --volumes aadc15b543f49f1c25a08fa8ab914ecb727a7903b4effc7b59514a0a8b8cd505 [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 18:55:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:45 provisioning config files... 18:55:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4595219147357334137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:45 --> edgex-publish-swagger.sh 18:55:45 === Publish openapi/v3 API === 18:55:45 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:55:45 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:55:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:45 Dload Upload Total Spent Left Speed 18:55:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 41900 --:--:-- --:--:-- --:--:-- 41900 18:55:46 18:55:46 [Pipeline] } 18:55:46 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 18:55:46 + git log --format=format:%s -1 68f2c3776b57ed1a5eef5a5e3525a947923e1899 [Pipeline] sh 18:55:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:47 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:55:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:55:47 $ docker top 476d3e0588e6731043cf710608ae2c2c315d658dd205cc1c70f9dbf76edb36b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:47 [ssh-agent] Looking for ssh-agent implementation... 18:55:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:47 $ docker exec 476d3e0588e6731043cf710608ae2c2c315d658dd205cc1c70f9dbf76edb36b7 ssh-agent 18:55:48 SSH_AUTH_SOCK=/tmp/ssh-C2dC2yZXVKry/agent.32 18:55:48 SSH_AGENT_PID=38 18:55:48 Running ssh-add (command line suppressed) 18:55:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12734228665032862576.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12734228665032862576.key) 18:55:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:48 + git semver tag 18:55:48 2023-04-20 18:55:48,639 [run_tag] DEBUG tag force:False 18:55:48 2023-04-20 18:55:48,639 [check_head_tag] DEBUG check head tag 18:55:48 2023-04-20 18:55:48,642 [execute] INFO git cat-file --batch-check 18:55:48 2023-04-20 18:55:48,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:55:48 2023-04-20 18:55:48,645 [execute] INFO git cat-file --batch 18:55:48 2023-04-20 18:55:48,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:55:48 2023-04-20 18:55:48,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:55:48 2023-04-20 18:55:48,678 [execute] INFO git tag -a v3.0.0-dev.72 -m v3.0.0-dev.72 18:55:48 2023-04-20 18:55:48,678 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.72', '-m', 'v3.0.0-dev.72'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:55:48 2023-04-20 18:55:48,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:55:48 3.0.0-dev.72 [Pipeline] } 18:55:48 $ docker exec --env ******** --env ******** 476d3e0588e6731043cf710608ae2c2c315d658dd205cc1c70f9dbf76edb36b7 ssh-agent -k 18:55:48 unset SSH_AUTH_SOCK; 18:55:48 unset SSH_AGENT_PID; 18:55:48 echo Agent pid 38 killed; 18:55:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:49 + git semver [Pipeline] } 18:55:49 $ docker stop --time=1 476d3e0588e6731043cf710608ae2c2c315d658dd205cc1c70f9dbf76edb36b7 18:55:50 $ docker rm -f --volumes 476d3e0588e6731043cf710608ae2c2c315d658dd205cc1c70f9dbf76edb36b7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:51 18:55:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:51 0.23.1-centos7: Pulling from edgex-lftools 18:55:51 ab5ef0e58194: Pulling fs layer 18:55:51 9712f1f96733: Pulling fs layer 18:55:51 63f879dbbcfc: Pulling fs layer 18:55:51 0d9ebad4ef96: Pulling fs layer 18:55:51 e9a5061849ea: Pulling fs layer 18:55:51 d747dcd14b5f: Pulling fs layer 18:55:51 2de7ff778b66: Pulling fs layer 18:55:51 e9a5061849ea: Waiting 18:55:51 d747dcd14b5f: Waiting 18:55:51 2de7ff778b66: Waiting 18:55:51 0d9ebad4ef96: Waiting 18:55:51 9712f1f96733: Verifying Checksum 18:55:51 9712f1f96733: Download complete 18:55:51 63f879dbbcfc: Verifying Checksum 18:55:51 63f879dbbcfc: Download complete 18:55:51 e9a5061849ea: Verifying Checksum 18:55:51 e9a5061849ea: Download complete 18:55:51 d747dcd14b5f: Verifying Checksum 18:55:51 d747dcd14b5f: Download complete 18:55:51 0d9ebad4ef96: Verifying Checksum 18:55:51 0d9ebad4ef96: Download complete 18:55:51 ab5ef0e58194: Verifying Checksum 18:55:51 ab5ef0e58194: Download complete 18:55:51 2de7ff778b66: Verifying Checksum 18:55:51 2de7ff778b66: Download complete 18:55:54 ab5ef0e58194: Pull complete 18:55:54 9712f1f96733: Pull complete 18:55:55 63f879dbbcfc: Pull complete 18:55:59 0d9ebad4ef96: Pull complete 18:55:59 e9a5061849ea: Pull complete 18:55:59 d747dcd14b5f: Pull complete 18:55:59 2de7ff778b66: Pull complete 18:55:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:59 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:55:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:56:01 $ docker top 45989a14b3df94d28c431fdca2b990be8a4847366330cf39c12cef63f3457aa1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:56:01 provisioning config files... 18:56:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10229993844756854638tmp 18:56:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5592382884912543261tmp 18:56:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7329317649604919019tmp [Pipeline] { [Pipeline] echo 18:56:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> sigul-configuration.sh 18:56:01 gpg: directory `/root/.gnupg' created 18:56:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:56:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:56:01 gpg: keyring `/root/.gnupg/secring.gpg' created 18:56:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:56:01 gpg: CAST5 encrypted data 18:56:01 gpg: encrypted with 1 passphrase 18:56:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:56:02 + mkdir /home/jenkins 18:56:02 + mkdir /home/jenkins/sigul [Pipeline] sh 18:56:02 + 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 18:56:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:56:02 ---> sigul-install.sh 18:56:02 Sigul already installed; skipping installation. [Pipeline] sh 18:56:02 + git tag --list 18:56:02 0.7.1 18:56:02 delhi-tag 18:56:02 v1.0.0 18:56:02 v1.1.0 18:56:02 v1.1.1 18:56:02 v1.1.2 18:56:02 v1.2.0 18:56:02 v1.2.1 18:56:02 v1.2.2 18:56:02 v1.2.3 18:56:02 v1.3.0 18:56:02 v1.4.0 18:56:02 v2.0.0 18:56:02 v2.1.0 18:56:02 v2.1.1 18:56:02 v2.1.1-dev.2 18:56:02 v2.1.1-dev.3 18:56:02 v2.2.0 18:56:02 v2.2.1-dev.1 18:56:02 v2.2.1-dev.10 18:56:02 v2.2.1-dev.11 18:56:02 v2.2.1-dev.12 18:56:02 v2.2.1-dev.13 18:56:02 v2.2.1-dev.14 18:56:02 v2.2.1-dev.2 18:56:02 v2.2.1-dev.3 18:56:02 v2.2.1-dev.4 18:56:02 v2.2.1-dev.5 18:56:02 v2.2.1-dev.6 18:56:02 v2.2.1-dev.7 18:56:02 v2.2.1-dev.8 18:56:02 v2.2.1-dev.9 18:56:02 v2.3.0 18:56:02 v2.3.0-dev.14 18:56:02 v2.3.0-dev.15 18:56:02 v2.3.0-dev.16 18:56:02 v2.3.0-dev.17 18:56:02 v2.3.0-dev.18 18:56:02 v2.3.0-dev.19 18:56:02 v2.3.0-dev.20 18:56:02 v2.3.0-dev.21 18:56:02 v2.3.0-dev.22 18:56:02 v2.3.0-dev.23 18:56:02 v2.3.0-dev.24 18:56:02 v2.3.0-dev.25 18:56:02 v2.3.0-dev.26 18:56:02 v2.3.0-dev.27 18:56:02 v2.3.0-dev.28 18:56:02 v2.3.0-dev.29 18:56:02 v2.3.0-dev.30 18:56:02 v2.3.0-dev.31 18:56:02 v2.3.0-dev.32 18:56:02 v2.3.0-dev.33 18:56:02 v2.3.0-dev.34 18:56:02 v2.3.0-dev.35 18:56:02 v2.3.0-dev.36 18:56:02 v2.3.0-dev.37 18:56:02 v2.3.0-dev.38 18:56:02 v2.3.0-dev.39 18:56:02 v2.3.0-dev.40 18:56:02 v2.3.0-dev.41 18:56:02 v2.3.0-dev.42 18:56:02 v2.3.0-dev.43 18:56:02 v2.3.0-dev.44 18:56:02 v2.3.0-dev.45 18:56:02 v2.3.0-dev.46 18:56:02 v2.3.0-dev.47 18:56:02 v2.3.0-dev.48 18:56:02 v2.3.0-dev.49 18:56:02 v2.3.0-dev.50 18:56:02 v2.3.0-dev.51 18:56:02 v2.3.1 18:56:02 v2.3.1-dev.1 18:56:02 v2.3.1-dev.2 18:56:02 v2.3.1-dev.3 18:56:02 v2.3.1-dev.4 18:56:02 v3.0.0-dev.1 18:56:02 v3.0.0-dev.10 18:56:02 v3.0.0-dev.11 18:56:02 v3.0.0-dev.12 18:56:02 v3.0.0-dev.13 18:56:02 v3.0.0-dev.14 18:56:02 v3.0.0-dev.15 18:56:02 v3.0.0-dev.16 18:56:02 v3.0.0-dev.17 18:56:02 v3.0.0-dev.18 18:56:02 v3.0.0-dev.19 18:56:02 v3.0.0-dev.2 18:56:02 v3.0.0-dev.20 18:56:02 v3.0.0-dev.21 18:56:02 v3.0.0-dev.22 18:56:02 v3.0.0-dev.23 18:56:02 v3.0.0-dev.24 18:56:02 v3.0.0-dev.25 18:56:02 v3.0.0-dev.26 18:56:02 v3.0.0-dev.27 18:56:02 v3.0.0-dev.28 18:56:02 v3.0.0-dev.29 18:56:02 v3.0.0-dev.3 18:56:02 v3.0.0-dev.30 18:56:02 v3.0.0-dev.31 18:56:02 v3.0.0-dev.32 18:56:02 v3.0.0-dev.33 18:56:02 v3.0.0-dev.34 18:56:02 v3.0.0-dev.35 18:56:02 v3.0.0-dev.36 18:56:02 v3.0.0-dev.37 18:56:02 v3.0.0-dev.38 18:56:02 v3.0.0-dev.39 18:56:02 v3.0.0-dev.4 18:56:02 v3.0.0-dev.40 18:56:02 v3.0.0-dev.41 18:56:02 v3.0.0-dev.42 18:56:02 v3.0.0-dev.43 18:56:02 v3.0.0-dev.44 18:56:02 v3.0.0-dev.45 18:56:02 v3.0.0-dev.46 18:56:02 v3.0.0-dev.47 18:56:02 v3.0.0-dev.48 18:56:02 v3.0.0-dev.49 18:56:02 v3.0.0-dev.5 18:56:02 v3.0.0-dev.50 18:56:02 v3.0.0-dev.51 18:56:02 v3.0.0-dev.52 18:56:02 v3.0.0-dev.53 18:56:02 v3.0.0-dev.54 18:56:02 v3.0.0-dev.55 18:56:02 v3.0.0-dev.56 18:56:02 v3.0.0-dev.57 18:56:02 v3.0.0-dev.58 18:56:02 v3.0.0-dev.59 18:56:02 v3.0.0-dev.6 18:56:02 v3.0.0-dev.60 18:56:02 v3.0.0-dev.61 18:56:02 v3.0.0-dev.62 18:56:02 v3.0.0-dev.63 18:56:02 v3.0.0-dev.64 18:56:02 v3.0.0-dev.65 18:56:02 v3.0.0-dev.66 18:56:02 v3.0.0-dev.67 18:56:02 v3.0.0-dev.68 18:56:02 v3.0.0-dev.69 18:56:02 v3.0.0-dev.7 18:56:02 v3.0.0-dev.70 18:56:02 v3.0.0-dev.71 18:56:02 v3.0.0-dev.72 18:56:02 v3.0.0-dev.8 18:56:02 v3.0.0-dev.9 [Pipeline] sh 18:56:03 + lftools sign git-tag v3.0.0-dev.72 18:56:03 Signing Git tag with Sigul... 18:56:03 Signing v3.0.0-dev.72 [Pipeline] echo 18:56:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:56:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:56:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:56:04 $ docker stop --time=1 45989a14b3df94d28c431fdca2b990be8a4847366330cf39c12cef63f3457aa1 18:56:05 $ docker rm -f --volumes 45989a14b3df94d28c431fdca2b990be8a4847366330cf39c12cef63f3457aa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:56:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:06 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:56:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:06 $ docker top a511c01f858d35485fb30485aee01c59703fa34944514234e507abfb38484c16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:06 [ssh-agent] Looking for ssh-agent implementation... 18:56:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:07 $ docker exec a511c01f858d35485fb30485aee01c59703fa34944514234e507abfb38484c16 ssh-agent 18:56:07 SSH_AUTH_SOCK=/tmp/ssh-lnkddK24H3fv/agent.32 18:56:07 SSH_AGENT_PID=38 18:56:07 Running ssh-add (command line suppressed) 18:56:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5920735367246527371.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5920735367246527371.key) 18:56:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:07 + git semver bump pre 18:56:07 2023-04-20 18:56:07,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:07 2023-04-20 18:56:07,778 [bump_version] DEBUG bumping version:3.0.0-dev.72 on axis:pre with prefix:dev 18:56:07 2023-04-20 18:56:07,778 [bump_version] DEBUG bumped version:3.0.0-dev.73 18:56:07 2023-04-20 18:56:07,778 [write_version] DEBUG write version:3.0.0-dev.73 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:56:07 2023-04-20 18:56:07,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:07 2023-04-20 18:56:07,779 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:07 2023-04-20 18:56:07,781 [execute] INFO git cat-file --batch-check 18:56:07 2023-04-20 18:56:07,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:07 2023-04-20 18:56:07,787 [execute] INFO git cat-file --batch 18:56:07 2023-04-20 18:56:07,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:07 2023-04-20 18:56:07,792 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:07 3.0.0-dev.73 [Pipeline] } 18:56:07 $ docker exec --env ******** --env ******** a511c01f858d35485fb30485aee01c59703fa34944514234e507abfb38484c16 ssh-agent -k 18:56:07 unset SSH_AUTH_SOCK; 18:56:07 unset SSH_AGENT_PID; 18:56:07 echo Agent pid 38 killed; 18:56:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:08 + git semver [Pipeline] } 18:56:08 $ docker stop --time=1 a511c01f858d35485fb30485aee01c59703fa34944514234e507abfb38484c16 18:56:09 $ docker rm -f --volumes a511c01f858d35485fb30485aee01c59703fa34944514234e507abfb38484c16 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:10 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:56:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:10 $ docker top 34157463c12743b21699053b3da32c39227f64ca18123fa9470491682a7cc29e -eo pid,comm 18:56:11 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). 18:56:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:11 [ssh-agent] Looking for ssh-agent implementation... 18:56:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:11 $ docker exec 34157463c12743b21699053b3da32c39227f64ca18123fa9470491682a7cc29e ssh-agent 18:56:11 SSH_AUTH_SOCK=/tmp/ssh-msCa9bM19GEo/agent.32 18:56:11 SSH_AGENT_PID=38 18:56:11 Running ssh-add (command line suppressed) 18:56:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11172369271324993419.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11172369271324993419.key) 18:56:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:11 + git semver push 18:56:11 2023-04-20 18:56:11,824 [run_push] DEBUG push 18:56:11 2023-04-20 18:56:11,825 [execute] INFO git cat-file --batch-check 18:56:11 2023-04-20 18:56:11,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:11 2023-04-20 18:56:11,829 [execute] INFO git rev-list bb42ea7419e1b704382ce26587e5418801348665 -- 18:56:11 2023-04-20 18:56:11,829 [execute] DEBUG Popen(['git', 'rev-list', 'bb42ea7419e1b704382ce26587e5418801348665', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:56:11 2023-04-20 18:56:11,842 [execute] INFO git fetch -v origin 18:56:11 2023-04-20 18:56:11,842 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:56:12 2023-04-20 18:56:12,296 [run_push] DEBUG no remote changes detected 18:56:12 2023-04-20 18:56:12,296 [execute] INFO git push origin semver 18:56:12 2023-04-20 18:56:12,296 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:56:13 2023-04-20 18:56:13,134 [run_push] DEBUG push all version tags 18:56:13 2023-04-20 18:56:13,135 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:56:13 2023-04-20 18:56:13,135 [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) 18:56:13 2023-04-20 18:56:13,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:13 3.0.0-dev.73 [Pipeline] } 18:56:14 $ docker exec --env ******** --env ******** 34157463c12743b21699053b3da32c39227f64ca18123fa9470491682a7cc29e ssh-agent -k 18:56:14 unset SSH_AUTH_SOCK; 18:56:14 unset SSH_AGENT_PID; 18:56:14 echo Agent pid 38 killed; 18:56:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:14 + git semver [Pipeline] } 18:56:14 $ docker stop --time=1 34157463c12743b21699053b3da32c39227f64ca18123fa9470491682a7cc29e 18:56:15 $ docker rm -f --volumes 34157463c12743b21699053b3da32c39227f64ca18123fa9470491682a7cc29e [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 18:56:16 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:56:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:56:16 total 16 18:56:16 drwxr-xr-x 3 root root 4096 Apr 20 18:44 . 18:56:16 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 18:56 .. 18:56:16 drwxr-xr-x 2 root root 4096 Apr 20 18:44 cost 18:56:16 -rw-r--r-- 1 root root 85 Apr 20 18:44 cost.csv 18:56:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:56:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:56:16 total 16 18:56:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 18:44 . 18:56:16 drwxrwxr-x 12 jenkins jenkins 4096 Apr 20 18:56 .. 18:56:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 18:44 cost 18:56:16 -rw-r--r-- 1 jenkins jenkins 85 Apr 20 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:56:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:17 ---> package-listing.sh 18:56:17 ++ facter osfamily 18:56:17 ++ tr '[:upper:]' '[:lower:]' 18:56:17 + OS_FAMILY=debian 18:56:17 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:56:17 + START_PACKAGES=/tmp/packages_start.txt 18:56:17 + END_PACKAGES=/tmp/packages_end.txt 18:56:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:17 + PACKAGES=/tmp/packages_start.txt 18:56:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:56:17 + PACKAGES=/tmp/packages_end.txt 18:56:17 + case "${OS_FAMILY}" in 18:56:17 + dpkg -l 18:56:17 + grep '^ii' 18:56:17 + '[' -f /tmp/packages_start.txt ']' 18:56:17 + '[' -f /tmp/packages_end.txt ']' 18:56:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:56:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:56:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:56:17 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 18:56:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:18 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 18:56:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:19 $ docker top e31cea8d58d0c5cd16c168aee9dd5cf29e6da67e262529c97acf7433131a9e94 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:20 + ls /var/log/sa-host 18:56:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:20 provisioning config files... 18:56:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2597113216442845930tmp [Pipeline] { [Pipeline] echo 18:56:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:20 ---> create-netrc.sh [Pipeline] } 18:56:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:21 ---> python-tools-install.sh [Pipeline] echo 18:56:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:21 ---> sudo-logs.sh 18:56:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:56:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:21 ---> job-cost.sh 18:56:21 lf-activate-venv: SKIPPING 18:56:21 DEBUG: total: 0.2199999988079071 18:56:21 INFO: Retrieving Stack Cost... 18:56:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:22 INFO: Archiving Costs [Pipeline] echo 18:56:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:22 ---> logs-deploy.sh 18:56:22 lf-activate-venv: SKIPPING 18:56:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/203 18:56:22 INFO: archiving workspace using pattern(s): 18:56:23 Archives upload complete. 18:56:23 INFO: archiving logs to Nexus