Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6fb643ec429920c18af22d449f45278025f8cc77 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-ssh10228706101662764792.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh9432838129403497367.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh5187427783983104021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh7496941656596311495.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-ssh2635194456189551158.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.21 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-9685 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 6fb643ec429920c18af22d449f45278025f8cc77 (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 6fb643ec429920c18af22d449f45278025f8cc77 # timeout=10 Commit message: "Merge pull request #1623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.57" > git rev-list --no-walk 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:40:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:40:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:40:07 ========================================================= 04:40:07 EdgeX Global Pipelines Version Info 04:40:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:40:09 ------------------- 04:40:09 stable info: 04:40:09 ------------------- 04:40:09 Commited By: Cherry Wang cherry@iotechsys.com 04:40:09 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:40:09 Message: update stable to v1.0.263 04:40:09 ------------------- 04:40:09 experimental info: 04:40:09 ------------------- 04:40:09 Commited By: Cherry Wang cherry@iotechsys.com 04:40:09 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:40:09 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fb643e [Pipeline] echo 04:40:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:10 provisioning config files... 04:40:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6043117598017223430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:11 ---> ****-login.sh 04:40:11 nexus3.edgexfoundry.org:10001 04:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:11 Configure a credential helper to remove this warning. See 04:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:11 04:40:11 Login Succeeded 04:40:11 nexus3.edgexfoundry.org:10002 04:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:11 Configure a credential helper to remove this warning. See 04:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:11 04:40:11 Login Succeeded 04:40:11 nexus3.edgexfoundry.org:10003 04:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:11 Configure a credential helper to remove this warning. See 04:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:11 04:40:11 Login Succeeded 04:40:11 nexus3.edgexfoundry.org:10004 04:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:11 Configure a credential helper to remove this warning. See 04:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:11 04:40:11 Login Succeeded 04:40:11 ****.io 04:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:12 Configure a credential helper to remove this warning. See 04:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:12 04:40:12 Login Succeeded 04:40:12 ---> ****-login.sh ends [Pipeline] } 04:40:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:40:12 + git rev-list -1 --merges 6fb643ec429920c18af22d449f45278025f8cc77~1..6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] echo 04:40:12 -----------> git rev-list -1 --merges 6fb643ec429920c18af22d449f45278025f8cc77~1..6fb643ec429920c18af22d449f45278025f8cc77 6fb643ec429920c18af22d449f45278025f8cc77 04:40:12 6fb643ec429920c18af22d449f45278025f8cc77 [false] [Pipeline] sh 04:40:12 + git log --format=format:%s -1 6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] echo 04:40:12 ========================================================= 04:40:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:40:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:13 + git log --format=format:%s -1 6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] echo 04:40:13 [semverPrep] GIT_COMMIT: 6fb643ec429920c18af22d449f45278025f8cc77, Commit Message: Merge pull request #1623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.57 [Pipeline] echo 04:40:13 [semverPrep] This is not a build commit. [Pipeline] sh 04:40:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:40:13 + grep -v github /etc/ssh/ssh_known_hosts 04:40:13 + [ -e /tmp/ssh_known_hosts ] 04:40:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:40:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:40:13 + sudo tee -a /etc/ssh/ssh_known_hosts 04:40:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:14 04:40:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:14 0.1.4: Pulling from edgex-devops/py-git-semver 04:40:14 b85a868b505f: Pulling fs layer 04:40:14 e2be974225ed: Pulling fs layer 04:40:14 339a4e72a1f5: Pulling fs layer 04:40:14 988bab9f4d93: Pulling fs layer 04:40:14 1469e6f7b9e6: Pulling fs layer 04:40:14 eaf3925da568: Pulling fs layer 04:40:14 bab4dde63d76: Pulling fs layer 04:40:14 bde34c3a00c8: Pulling fs layer 04:40:14 b352a97aabf1: Pulling fs layer 04:40:14 4872d77fe225: Pulling fs layer 04:40:14 5851b861e8e6: Pulling fs layer 04:40:14 bab4dde63d76: Waiting 04:40:14 988bab9f4d93: Waiting 04:40:14 b352a97aabf1: Waiting 04:40:14 4872d77fe225: Waiting 04:40:14 eaf3925da568: Waiting 04:40:14 5851b861e8e6: Waiting 04:40:14 1469e6f7b9e6: Waiting 04:40:14 339a4e72a1f5: Verifying Checksum 04:40:14 339a4e72a1f5: Download complete 04:40:14 e2be974225ed: Verifying Checksum 04:40:14 e2be974225ed: Download complete 04:40:14 988bab9f4d93: Verifying Checksum 04:40:14 988bab9f4d93: Download complete 04:40:14 eaf3925da568: Download complete 04:40:14 1469e6f7b9e6: Verifying Checksum 04:40:14 1469e6f7b9e6: Download complete 04:40:14 bde34c3a00c8: Verifying Checksum 04:40:14 bde34c3a00c8: Download complete 04:40:14 b352a97aabf1: Download complete 04:40:14 b85a868b505f: Verifying Checksum 04:40:14 b85a868b505f: Download complete 04:40:14 4872d77fe225: Verifying Checksum 04:40:14 4872d77fe225: Download complete 04:40:14 5851b861e8e6: Verifying Checksum 04:40:14 5851b861e8e6: Download complete 04:40:14 bab4dde63d76: Verifying Checksum 04:40:14 bab4dde63d76: Download complete 04:40:15 b85a868b505f: Pull complete 04:40:16 e2be974225ed: Pull complete 04:40:16 339a4e72a1f5: Pull complete 04:40:16 988bab9f4d93: Pull complete 04:40:17 1469e6f7b9e6: Pull complete 04:40:17 eaf3925da568: Pull complete 04:40:18 bab4dde63d76: Pull complete 04:40:18 bde34c3a00c8: Pull complete 04:40:18 b352a97aabf1: Pull complete 04:40:19 4872d77fe225: Pull complete 04:40:19 5851b861e8e6: Pull complete 04:40:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:40:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:19 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 04:40:19 $ 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 04:40:22 $ docker top f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad -eo pid,comm 04:40:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:40:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:40:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:22 [ssh-agent] Looking for ssh-agent implementation... 04:40:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:22 $ docker exec f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad ssh-agent 04:40:22 SSH_AUTH_SOCK=/tmp/ssh-Q2cEWxxH4uMh/agent.32 04:40:22 SSH_AGENT_PID=38 04:40:22 Running ssh-add (command line suppressed) 04:40:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17996612185478306576.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17996612185478306576.key) 04:40:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:23 + git tag --points-at HEAD [Pipeline] } 04:40:23 $ docker exec --env ******** --env ******** f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad ssh-agent -k 04:40:23 unset SSH_AUTH_SOCK; 04:40:23 unset SSH_AGENT_PID; 04:40:23 echo Agent pid 38 killed; 04:40:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:40:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:23 [ssh-agent] Looking for ssh-agent implementation... 04:40:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:23 $ docker exec f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad ssh-agent 04:40:23 SSH_AUTH_SOCK=/tmp/ssh-c4o4FWTjwnOY/agent.72 04:40:23 SSH_AGENT_PID=78 04:40:23 Running ssh-add (command line suppressed) 04:40:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11113084622189407520.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11113084622189407520.key) 04:40:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:24 + git semver init 04:40:24 2024-09-07 04:40:24,214 [run_init] DEBUG init version:0.0.0 force:False 04:40:24 2024-09-07 04:40:24,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:40:24 2024-09-07 04:40:24,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:40:24 2024-09-07 04:40:24,215 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:40:26 2024-09-07 04:40:26,277 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:40:26 2024-09-07 04:40:26,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:40:26 2024-09-07 04:40:26,277 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:40:26 2024-09-07 04:40:26,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:40:26 3.2.0-dev.36 [Pipeline] } 04:40:26 $ docker exec --env ******** --env ******** f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad ssh-agent -k 04:40:26 unset SSH_AUTH_SOCK; 04:40:26 unset SSH_AGENT_PID; 04:40:26 echo Agent pid 78 killed; 04:40:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:40:27 + git semver [Pipeline] } 04:40:27 $ docker stop --time=1 f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad 04:40:28 $ docker rm -f --volumes f142520a6e6dbe145fc6fc7be5efde9d966fcc036b126e670c213349c3350dad [Pipeline] // withDockerContainer [Pipeline] sh 04:40:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:40:29 Stashed 1 file(s) [Pipeline] echo 04:40:29 [edgeXSemver]: initialized semver on version 3.2.0-dev.36 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:29 provisioning config files... 04:40:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1026139385322889944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:29 ---> ****-login.sh 04:40:29 nexus3.edgexfoundry.org:10001 04:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:29 Configure a credential helper to remove this warning. See 04:40:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:29 04:40:29 Login Succeeded 04:40:29 nexus3.edgexfoundry.org:10002 04:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:29 Configure a credential helper to remove this warning. See 04:40:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:29 04:40:29 Login Succeeded 04:40:29 nexus3.edgexfoundry.org:10003 04:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:30 Configure a credential helper to remove this warning. See 04:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:30 04:40:30 Login Succeeded 04:40:30 nexus3.edgexfoundry.org:10004 04:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:30 Configure a credential helper to remove this warning. See 04:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:30 04:40:30 Login Succeeded 04:40:30 ****.io 04:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:40:30 Configure a credential helper to remove this warning. See 04:40:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:40:30 04:40:30 Login Succeeded 04:40:30 ---> ****-login.sh ends [Pipeline] } 04:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:40:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:40:30 ========================================================= 04:40:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:40:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:31 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:40:31 Sending build context to Docker daemon 25.29MB 04:40:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:40:31 Step 2/10 : FROM ${BASE} AS builder 04:40:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:31 619be1103602: Pulling fs layer 04:40:31 7862e08f4a3e: Pulling fs layer 04:40:31 5df492c9dc93: Pulling fs layer 04:40:31 7629e6793208: Pulling fs layer 04:40:31 4f4fb700ef54: Pulling fs layer 04:40:31 fb5054dd5b73: Pulling fs layer 04:40:31 eeca6798cff9: Pulling fs layer 04:40:31 aa269ceb94a6: Pulling fs layer 04:40:31 ada007ff1a6a: Pulling fs layer 04:40:31 eeca6798cff9: Waiting 04:40:31 ada007ff1a6a: Waiting 04:40:31 7629e6793208: Waiting 04:40:31 fb5054dd5b73: Waiting 04:40:31 7862e08f4a3e: Verifying Checksum 04:40:31 7862e08f4a3e: Download complete 04:40:31 7629e6793208: Verifying Checksum 04:40:31 7629e6793208: Download complete 04:40:31 4f4fb700ef54: Verifying Checksum 04:40:31 4f4fb700ef54: Download complete 04:40:31 fb5054dd5b73: Verifying Checksum 04:40:31 fb5054dd5b73: Download complete 04:40:31 619be1103602: Download complete 04:40:31 eeca6798cff9: Verifying Checksum 04:40:31 eeca6798cff9: Download complete 04:40:31 619be1103602: Pull complete 04:40:31 ada007ff1a6a: Verifying Checksum 04:40:31 ada007ff1a6a: Download complete 04:40:31 7862e08f4a3e: Pull complete 04:40:31 5df492c9dc93: Verifying Checksum 04:40:31 5df492c9dc93: Download complete 04:40:32 aa269ceb94a6: Verifying Checksum 04:40:32 aa269ceb94a6: Download complete 04:40:35 5df492c9dc93: Pull complete 04:40:35 7629e6793208: Pull complete 04:40:35 4f4fb700ef54: Pull complete 04:40:35 fb5054dd5b73: Pull complete 04:40:35 eeca6798cff9: Pull complete 04:40:37 aa269ceb94a6: Pull complete 04:40:38 ada007ff1a6a: Pull complete 04:40:38 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:40:38 ---> f489d0715acc 04:40:38 Step 3/10 : ARG MAKE=make build 04:40:42 ---> Running in 3c3ad61a3ab3 04:40:42 Removing intermediate container 3c3ad61a3ab3 04:40:42 ---> 66368a5489a0 04:40:42 Step 4/10 : WORKDIR /device-sdk-go 04:40:42 ---> Running in f1e4790f143b 04:40:42 Removing intermediate container f1e4790f143b 04:40:42 ---> 175b141963a1 04:40:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:40:42 ---> Running in 679414397b84 04:40:42 Removing intermediate container 679414397b84 04:40:42 ---> 6d796ecc38f8 04:40:42 Step 6/10 : RUN apk add --update --no-cache make git 04:40:42 ---> Running in 742c4c871b1c 04:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:40:43 OK: 264 MiB in 52 packages 04:40:43 Removing intermediate container 742c4c871b1c 04:40:43 ---> d69f3f9068bd 04:40:43 Step 7/10 : COPY go.mod vendor* ./ 04:40:44 ---> e570222906a9 04:40:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:40:44 ---> Running in e5c803b296fb 04:40:44 Still waiting to schedule task 04:40:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:41:51 Removing intermediate container e5c803b296fb 04:41:51 ---> 484f789a7dad 04:41:51 Step 9/10 : COPY . . 04:41:51 ---> 9f53d2d97b8e 04:41:51 Step 10/10 : RUN ${MAKE} 04:41:51 ---> Running in f6f96ade0477 04:41:51 noop 04:41:51 Removing intermediate container f6f96ade0477 04:41:51 ---> 6d7bff7d058d 04:41:51 Successfully built 6d7bff7d058d 04:41:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:52 + docker inspect -f . ci-base-image-x86_64 04:41:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:52 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 04:41:52 $ 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 04:41:52 $ docker top 14fac0cf4bf733474d672b03854960e3308931e5daadbd550f878b901cf515d1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:53 + go version 04:41:53 go version go1.21.9 linux/amd64 [Pipeline] } 04:41:53 $ docker stop --time=1 14fac0cf4bf733474d672b03854960e3308931e5daadbd550f878b901cf515d1 04:41:54 $ docker rm -f --volumes 14fac0cf4bf733474d672b03854960e3308931e5daadbd550f878b901cf515d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:54 + docker inspect -f . ci-base-image-x86_64 04:41:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:54 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 04:41:54 $ 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 04:41:55 $ docker top a6a2dc2532b7048b771fcb1716a210a6c11fb32cdd64ee6b006b3a54be6fccbd -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:41:56 + make test 04:41:56 go test -race -coverprofile=coverage.out ./... 04:42:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:42:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9686 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:42:21 Running in /w/workspace/device-sdk-go/311 [Pipeline] { [Pipeline] checkout 04:42:24 The recommended git tool is: git 04:42:32 using credential edgex-jenkins-ssh 04:42:32 Cloning the remote Git repository 04:42:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:42:32 > git init /w/workspace/device-sdk-go/311 # timeout=10 04:42:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:42:32 > git --version # timeout=10 04:42:32 > git --version # 'git version 2.25.1' 04:42:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:42:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:37 Avoid second fetch 04:42:37 Checking out Revision 6fb643ec429920c18af22d449f45278025f8cc77 (main) 04:42:38 Commit message: "Merge pull request #1623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.57" 04:42:37 > git config core.sparsecheckout # timeout=10 04:42:37 > git checkout -f 6fb643ec429920c18af22d449f45278025f8cc77 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:42:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements 04:42:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:42:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.043s coverage: 86.0% of statements 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [Pipeline] sh 04:42:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.121s coverage: 45.2% of statements 04:42:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:42:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:43 Dload Upload Total Spent Left Speed 04:42:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 120k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh 04:42:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:42:44 + sudo tee /etc/docker/daemon.new 04:42:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:42:44 { 04:42:44 "registry-mirrors": [ 04:42:44 "https://nexus3.edgexfoundry.org:10001" 04:42:44 ], 04:42:44 "bip": "10.250.0.254/24", 04:42:44 "hosts": [ 04:42:44 "tcp://0.0.0.0:5555", 04:42:44 "unix:///var/run/docker.sock" 04:42:44 ], 04:42:44 "mtu": 1458, 04:42:44 "selinux-enabled": true, 04:42:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:42:44 } [Pipeline] sh 04:42:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:42:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:42:44 + sudo service docker restart 04:42:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.037s coverage: 14.4% of statements 04:42:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.198s coverage: 44.6% of statements 04:42:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.5% of statements 04:42:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.089s coverage: 89.2% of statements 04:42:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.055s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:03 provisioning config files... 04:43:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/311@tmp/config15747165957135991766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:03 ---> ****-login.sh 04:43:03 nexus3.edgexfoundry.org:10001 04:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 nexus3.edgexfoundry.org:10002 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 nexus3.edgexfoundry.org:10003 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:05 Configure a credential helper to remove this warning. See 04:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:05 04:43:05 Login Succeeded 04:43:05 nexus3.edgexfoundry.org:10004 04:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:05 Configure a credential helper to remove this warning. See 04:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:05 04:43:05 Login Succeeded 04:43:05 ****.io 04:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:05 Configure a credential helper to remove this warning. See 04:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:05 04:43:05 Login Succeeded 04:43:05 ---> ****-login.sh ends [Pipeline] } 04:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:43:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:43:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:43:06 ========================================================= 04:43:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:43:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:06 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 04:43:07 Sending build context to Docker daemon 13.1MB 04:43:07 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:43:07 Step 2/10 : FROM ${BASE} AS builder 04:43:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:43:07 c6b39de5b339: Pulling fs layer 04:43:07 a69c41024577: Pulling fs layer 04:43:07 d6de4b400683: Pulling fs layer 04:43:07 35cb2a7552d0: Pulling fs layer 04:43:07 4f4fb700ef54: Pulling fs layer 04:43:07 464afbd9ba4c: Pulling fs layer 04:43:07 00f215d4a9da: Pulling fs layer 04:43:07 d496ad576159: Pulling fs layer 04:43:07 35cb2a7552d0: Waiting 04:43:07 4f4fb700ef54: Waiting 04:43:07 00f215d4a9da: Waiting 04:43:07 464afbd9ba4c: Waiting 04:43:07 d496ad576159: Waiting 04:43:07 a69c41024577: Download complete 04:43:07 35cb2a7552d0: Verifying Checksum 04:43:07 35cb2a7552d0: Download complete 04:43:07 4f4fb700ef54: Verifying Checksum 04:43:07 4f4fb700ef54: Download complete 04:43:07 464afbd9ba4c: Verifying Checksum 04:43:07 464afbd9ba4c: Download complete 04:43:07 c6b39de5b339: Verifying Checksum 04:43:07 c6b39de5b339: Download complete 04:43:08 d496ad576159: Verifying Checksum 04:43:08 d496ad576159: Download complete 04:43:08 c6b39de5b339: Pull complete 04:43:08 a69c41024577: Pull complete 04:43:09 d6de4b400683: Verifying Checksum 04:43:09 d6de4b400683: Download complete 04:43:10 00f215d4a9da: Verifying Checksum 04:43:10 00f215d4a9da: Download complete 04:43:22 d6de4b400683: Pull complete 04:43:22 35cb2a7552d0: Pull complete 04:43:22 4f4fb700ef54: Pull complete 04:43:22 464afbd9ba4c: Pull complete 04:43:25 GO111MODULE=on go vet ./... 04:43:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:43:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:43:25 ./bin/test-attribution-txt.sh [Pipeline] echo 04:43:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:43:25 $ docker stop --time=1 a6a2dc2532b7048b771fcb1716a210a6c11fb32cdd64ee6b006b3a54be6fccbd 04:43:32 00f215d4a9da: Pull complete 04:43:32 d496ad576159: Pull complete 04:43:32 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:43:32 ---> f246e2811388 04:43:32 Step 3/10 : ARG MAKE=make build 04:43:34 $ docker rm -f --volumes a6a2dc2532b7048b771fcb1716a210a6c11fb32cdd64ee6b006b3a54be6fccbd 04:43:34 ---> Running in b7b68e815b9d 04:43:34 Removing intermediate container b7b68e815b9d 04:43:34 ---> 8672ffc54911 04:43:34 Step 4/10 : WORKDIR /device-sdk-go 04:43:34 ---> Running in 72a6eecb712b 04:43:34 Removing intermediate container 72a6eecb712b 04:43:34 ---> 2565406e163f 04:43:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [Pipeline] // withDockerContainer [Pipeline] sh 04:43:35 ---> Running in 26af94609da3 04:43:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:43:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:43:35 Removing intermediate container 26af94609da3 04:43:35 ---> 329ba5edc7f5 04:43:35 Step 6/10 : RUN apk add --update --no-cache make git 04:43:35 ---> Running in fe0961e43d7b [Pipeline] sh 04:43:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:43:36 + ls -al . 04:43:36 total 384 04:43:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 04:41 . 04:43:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:40 .. 04:43:36 -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 04:40 .dockerignore 04:43:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:42 .git 04:43:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:40 .github 04:43:36 -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 04:40 .gitignore 04:43:36 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 04:40 .golangci.yml 04:43:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:40 .semver 04:43:36 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 7 04:40 CHANGELOG.md 04:43:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:40 GOVERNANCE.md 04:43:36 -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 04:40 Jenkinsfile 04:43:36 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 04:40 LICENSE 04:43:36 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 04:40 Makefile 04:43:36 -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 04:40 OWNERS.md 04:43:36 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 7 04:40 README.md 04:43:36 -rw-rw-r-- 1 jenkins jenkins 12 Sep 7 04:40 VERSION 04:43:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:40 bin 04:43:36 -rw-r--r-- 1 jenkins jenkins 127940 Sep 7 04:42 coverage.out 04:43:36 drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 04:40 example 04:43:36 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 7 04:40 go.mod 04:43:36 -rw-rw-r-- 1 jenkins jenkins 101462 Sep 7 04:40 go.sum 04:43:36 drwxrwxr-x 13 jenkins jenkins 4096 Sep 7 04:40 internal 04:43:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:40 openapi 04:43:36 drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 04:40 pkg 04:43:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:40 snap 04:43:36 -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 04:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:43:36 + 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=6fb643ec429920c18af22d449f45278025f8cc77 --label arch=amd64 --label version=3.2.0-dev.36 . 04:43:36 Sending build context to Docker daemon 25.42MB 04:43:36 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:43:36 Step 2/24 : FROM ${BASE} AS builder 04:43:36 ---> 6d7bff7d058d 04:43:36 Step 3/24 : ARG MAKE=make build 04:43:36 ---> Running in 35e831019488 04:43:37 Removing intermediate container 35e831019488 04:43:37 ---> ee062b8c85c9 04:43:37 Step 4/24 : WORKDIR /device-sdk-go 04:43:37 ---> Running in 1f09d52191c5 04:43:37 Removing intermediate container 1f09d52191c5 04:43:37 ---> 86e56dc20df4 04:43:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:43:37 ---> Running in ce752c09cc5c 04:43:37 Removing intermediate container ce752c09cc5c 04:43:37 ---> f421559ed53e 04:43:37 Step 6/24 : RUN apk add --update --no-cache make git 04:43:37 ---> Running in bb41ef5d2d4a 04:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:43:37 OK: 266 MiB in 52 packages 04:43:38 OK: 264 MiB in 52 packages 04:43:38 Removing intermediate container bb41ef5d2d4a 04:43:38 ---> fd662adbca48 04:43:38 Step 7/24 : COPY go.mod vendor* ./ 04:43:38 ---> a43ba4ca8bf8 04:43:38 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:38 ---> Running in f940e787f7e6 04:43:38 Removing intermediate container fe0961e43d7b 04:43:38 ---> 29b30bde8226 04:43:38 Step 7/10 : COPY go.mod vendor* ./ 04:43:39 Removing intermediate container f940e787f7e6 04:43:39 ---> e6c5bc195258 04:43:39 Step 9/24 : COPY . . 04:43:39 ---> 7bfdc9e31f3c 04:43:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:39 ---> Running in 62c4b455b9e6 04:43:40 ---> b3f2d437dfa6 04:43:40 Step 10/24 : RUN ${MAKE} 04:43:40 ---> Running in 6b0ad1a5ed88 04:43:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.36 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.36" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:44:19 Removing intermediate container 6b0ad1a5ed88 04:44:19 ---> 1d3778d32774 04:44:19 Step 11/24 : FROM alpine:3.18 04:44:19 3.18: Pulling from library/alpine 04:44:19 1cc3d825d8b2: Pulling fs layer 04:44:19 1cc3d825d8b2: Verifying Checksum 04:44:19 1cc3d825d8b2: Download complete 04:44:19 1cc3d825d8b2: Pull complete 04:44:19 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 04:44:19 Status: Downloaded newer image for alpine:3.18 04:44:19 ---> 2c64cf60f6f0 04:44:19 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:44:19 ---> Running in 71d7e925261f 04:44:19 Removing intermediate container 71d7e925261f 04:44:19 ---> 05049f7a00b9 04:44:19 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:44:19 ---> Running in c2da0e9927f3 04:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:44:19 (1/1) Installing dumb-init (1.2.5-r2) 04:44:19 Executing busybox-1.36.1-r7.trigger 04:44:19 OK: 7 MiB in 16 packages 04:44:19 Removing intermediate container c2da0e9927f3 04:44:19 ---> e7366b63764e 04:44:19 Step 14/24 : RUN apk --no-cache upgrade 04:44:19 ---> Running in fc50390aef13 04:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:44:19 OK: 7 MiB in 16 packages 04:44:19 Removing intermediate container fc50390aef13 04:44:19 ---> 1870efb6747e 04:44:19 Step 15/24 : WORKDIR / 04:44:19 ---> Running in a0a28ca04f6a 04:44:19 Removing intermediate container a0a28ca04f6a 04:44:19 ---> 62e8560ccbfc 04:44:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:44:19 ---> 6a7a83ba08ba 04:44:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:44:19 ---> bb468ce07be4 04:44:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:44:19 ---> 555d788b7d30 04:44:19 Step 19/24 : EXPOSE 59999 04:44:19 ---> Running in 35ec8257ff35 04:44:19 Removing intermediate container 35ec8257ff35 04:44:19 ---> 754d511f83c6 04:44:19 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:44:19 ---> Running in 2a92a229664b 04:44:19 Removing intermediate container 2a92a229664b 04:44:19 ---> 2b7428f1b77d 04:44:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:44:19 ---> Running in 759b96216f6d 04:44:19 Removing intermediate container 759b96216f6d 04:44:19 ---> 6fc7cfc3150c 04:44:19 Step 22/24 : LABEL arch=amd64 04:44:19 ---> Running in 96edba81ca6c 04:44:19 Removing intermediate container 96edba81ca6c 04:44:19 ---> 4a4c39720c31 04:44:19 Step 23/24 : LABEL git_sha=6fb643ec429920c18af22d449f45278025f8cc77 04:44:19 ---> Running in 28c25886f294 04:44:19 Removing intermediate container 28c25886f294 04:44:19 ---> d2f785549248 04:44:19 Step 24/24 : LABEL version=3.2.0-dev.36 04:44:19 ---> Running in f37c8c963478 04:44:19 Removing intermediate container f37c8c963478 04:44:19 ---> 437d62477c22 04:44:19 [Warning] One or more build-args [ARCH] were not consumed 04:44:19 Successfully built 437d62477c22 04:44:19 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:19 04:44:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:20 latest: Pulling from edgex-lftools-log-publisher 04:44:20 5eb5b503b376: Pulling fs layer 04:44:20 5c69ac0246d0: Pulling fs layer 04:44:20 ec43610c2a17: Pulling fs layer 04:44:20 3a2ae6a8a46f: Pulling fs layer 04:44:20 33b1e0a273af: Pulling fs layer 04:44:20 5d3b04190fa2: Pulling fs layer 04:44:20 2f39f015ded8: Pulling fs layer 04:44:20 33b1e0a273af: Waiting 04:44:20 5d3b04190fa2: Waiting 04:44:20 2f39f015ded8: Waiting 04:44:20 3a2ae6a8a46f: Waiting 04:44:20 5c69ac0246d0: Download complete 04:44:20 3a2ae6a8a46f: Download complete 04:44:20 33b1e0a273af: Verifying Checksum 04:44:20 33b1e0a273af: Download complete 04:44:20 5d3b04190fa2: Verifying Checksum 04:44:20 5d3b04190fa2: Download complete 04:44:20 ec43610c2a17: Verifying Checksum 04:44:20 ec43610c2a17: Download complete 04:44:20 5eb5b503b376: Verifying Checksum 04:44:20 5eb5b503b376: Download complete 04:44:21 2f39f015ded8: Download complete 04:44:21 5eb5b503b376: Pull complete 04:44:21 5c69ac0246d0: Pull complete 04:44:22 ec43610c2a17: Pull complete 04:44:22 3a2ae6a8a46f: Pull complete 04:44:22 33b1e0a273af: Pull complete 04:44:22 5d3b04190fa2: Pull complete 04:44:26 2f39f015ded8: Pull complete 04:44:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:26 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 04:44:26 $ 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 04:44:34 $ docker top 6947ce48cd162eb952e8ad61a252931bd280dfdff3c10db8b544d75c86633c14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:35 ---> job-cost.sh 04:44:35 lf-activate-venv: SKIPPING 04:44:35 INFO: No Stack... 04:44:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:44:35 INFO: Archiving Costs [Pipeline] sh 04:44:36 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:44:36 + cut -d, -f6 [Pipeline] lock 04:44:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] 04:44:36 Resource [jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] did not exist. Created. 04:44:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:44:36 + echo total: 0.2199999988079071 [Pipeline] stash 04:44:36 Stashed 1 file(s) [Pipeline] } 04:44:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] [Pipeline] // lock [Pipeline] } 04:44:36 $ docker stop --time=1 6947ce48cd162eb952e8ad61a252931bd280dfdff3c10db8b544d75c86633c14 04:44:37 $ docker rm -f --volumes 6947ce48cd162eb952e8ad61a252931bd280dfdff3c10db8b544d75c86633c14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:45:31 Removing intermediate container 62c4b455b9e6 04:45:31 ---> ceef7258cd1d 04:45:31 Step 9/10 : COPY . . 04:45:31 ---> acf73c903b3a 04:45:31 Step 10/10 : RUN ${MAKE} 04:45:31 ---> Running in 9445eeda76f7 04:45:31 noop 04:45:31 Removing intermediate container 9445eeda76f7 04:45:31 ---> cd244475327c 04:45:31 Successfully built cd244475327c 04:45:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:31 + docker inspect -f . ci-base-image-arm64 04:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-9686 does not seem to be running inside a container 04:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/311 -v /w/workspace/device-sdk-go/311:/w/workspace/device-sdk-go/311:rw,z -v /w/workspace/device-sdk-go/311@tmp:/w/workspace/device-sdk-go/311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:33 $ docker top 7da48133d5c0f1ba6ad8b87110819852deeea80c4e6e2ba1d81279f221805752 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:33 + go version 04:45:33 go version go1.21.9 linux/arm64 [Pipeline] } 04:45:33 $ docker stop --time=1 7da48133d5c0f1ba6ad8b87110819852deeea80c4e6e2ba1d81279f221805752 04:45:35 $ docker rm -f --volumes 7da48133d5c0f1ba6ad8b87110819852deeea80c4e6e2ba1d81279f221805752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:36 + docker inspect -f . ci-base-image-arm64 04:45:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-9686 does not seem to be running inside a container 04:45:36 $ 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/311 -v /w/workspace/device-sdk-go/311:/w/workspace/device-sdk-go/311:rw,z -v /w/workspace/device-sdk-go/311@tmp:/w/workspace/device-sdk-go/311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:37 $ docker top b986ba9ed95de10514d649ddd7caeedeeb7c32b3e9a983617160768e7f26aa33 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/311 [Pipeline] fileExists [Pipeline] sh 04:45:39 + make test 04:45:39 go test -race -coverprofile=coverage.out ./... 04:46:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:50:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.121s coverage: 26.0% of statements 04:50:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.199s coverage: 79.4% of statements 04:50:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:50:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:50:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.310s coverage: 86.0% of statements 04:50:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.503s coverage: 45.2% of statements 04:50:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.177s coverage: 14.4% of statements 04:50:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.673s coverage: 44.6% of statements 04:50:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:50:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:50:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:50:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.353s coverage: 68.5% of statements 04:51:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.390s coverage: 89.2% of statements 04:51:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:51:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.288s coverage: 5.3% of statements 04:51:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:51:10 GO111MODULE=on go vet ./... 04:55:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:55:47 $ docker stop --time=1 b986ba9ed95de10514d649ddd7caeedeeb7c32b3e9a983617160768e7f26aa33 04:55:49 $ docker rm -f --volumes b986ba9ed95de10514d649ddd7caeedeeb7c32b3e9a983617160768e7f26aa33 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:52 Warning: overwriting stash ‘coverage-report’ 04:55:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:53 + ls -al . 04:55:53 total 380 04:55:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:45 . 04:55:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:42 .. 04:55:53 -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 04:42 .dockerignore 04:55:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:42 .git 04:55:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:42 .github 04:55:53 -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 04:42 .gitignore 04:55:53 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 04:42 .golangci.yml 04:55:53 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 7 04:42 CHANGELOG.md 04:55:53 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:42 GOVERNANCE.md 04:55:53 -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 04:42 Jenkinsfile 04:55:53 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 04:42 LICENSE 04:55:53 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 04:42 Makefile 04:55:53 -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 04:42 OWNERS.md 04:55:53 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 7 04:42 README.md 04:55:53 -rw-rw-r-- 1 jenkins jenkins 12 Sep 7 04:40 VERSION 04:55:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:42 bin 04:55:53 -rw-r--r-- 1 jenkins jenkins 127940 Sep 7 04:51 coverage.out 04:55:53 drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 04:42 example 04:55:53 -rw-rw-r-- 1 jenkins jenkins 6985 Sep 7 04:42 go.mod 04:55:53 -rw-rw-r-- 1 jenkins jenkins 101462 Sep 7 04:42 go.sum 04:55:53 drwxrwxr-x 13 jenkins jenkins 4096 Sep 7 04:42 internal 04:55:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:42 openapi 04:55:53 drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 04:42 pkg 04:55:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:42 snap 04:55:53 -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:54 + 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=6fb643ec429920c18af22d449f45278025f8cc77 --label arch=arm64 --label version=3.2.0-dev.36 . 04:55:54 Sending build context to Docker daemon 13.23MB 04:55:54 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:55:54 Step 2/24 : FROM ${BASE} AS builder 04:55:54 ---> cd244475327c 04:55:54 Step 3/24 : ARG MAKE=make build 04:55:54 ---> Running in f1fbac998e76 04:55:55 Removing intermediate container f1fbac998e76 04:55:55 ---> 69c39c7c7a07 04:55:55 Step 4/24 : WORKDIR /device-sdk-go 04:55:55 ---> Running in 1527a09e6ea4 04:55:55 Removing intermediate container 1527a09e6ea4 04:55:55 ---> 81cd304c7b58 04:55:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:55 ---> Running in dfee31f54b7a 04:55:56 Removing intermediate container dfee31f54b7a 04:55:56 ---> fe825aee8802 04:55:56 Step 6/24 : RUN apk add --update --no-cache make git 04:55:56 ---> Running in ef508fdf61eb 04:55:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:55:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:55:59 OK: 266 MiB in 52 packages 04:56:00 Removing intermediate container ef508fdf61eb 04:56:00 ---> 1c7a6792457d 04:56:00 Step 7/24 : COPY go.mod vendor* ./ 04:56:00 ---> 13b6df2cc1b9 04:56:00 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:00 ---> Running in 689633e330ca 04:56:03 Removing intermediate container 689633e330ca 04:56:03 ---> e3ec3009635a 04:56:03 Step 9/24 : COPY . . 04:56:05 ---> 074cea4c64ed 04:56:05 Step 10/24 : RUN ${MAKE} 04:56:05 ---> Running in f4e838427f02 04:56:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.36 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.36" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:00:14 Removing intermediate container f4e838427f02 05:00:14 ---> 67ee92783a09 05:00:14 Step 11/24 : FROM alpine:3.18 05:00:18 3.18: Pulling from library/alpine 05:00:18 720f3032cd11: Pulling fs layer 05:00:18 720f3032cd11: Download complete 05:00:18 720f3032cd11: Pull complete 05:00:18 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 05:00:18 Status: Downloaded newer image for alpine:3.18 05:00:18 ---> 3e834921e367 05:00:18 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:00:18 ---> Running in b512076e8d92 05:00:18 Removing intermediate container b512076e8d92 05:00:18 ---> 893f29503441 05:00:18 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:00:18 ---> Running in 149c998dbfee 05:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:00:21 (1/1) Installing dumb-init (1.2.5-r2) 05:00:21 Executing busybox-1.36.1-r7.trigger 05:00:21 OK: 8 MiB in 16 packages 05:00:21 Removing intermediate container 149c998dbfee 05:00:21 ---> f6a1884bab4b 05:00:21 Step 14/24 : RUN apk --no-cache upgrade 05:00:21 ---> Running in f907cad6d915 05:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:00:22 OK: 8 MiB in 16 packages 05:00:23 Removing intermediate container f907cad6d915 05:00:23 ---> fce4b2efc982 05:00:23 Step 15/24 : WORKDIR / 05:00:23 ---> Running in ddd3759e83a4 05:00:24 Removing intermediate container ddd3759e83a4 05:00:24 ---> 1d141591a5ad 05:00:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:00:24 ---> 56ec4dc69356 05:00:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:00:27 ---> 6d7dc7bc686e 05:00:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:00:27 ---> d905472f0025 05:00:27 Step 19/24 : EXPOSE 59999 05:00:27 ---> Running in 9e320ff3133d 05:00:27 Removing intermediate container 9e320ff3133d 05:00:27 ---> bb84c5a60de9 05:00:27 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:00:28 ---> Running in 8e22cfeb8b9b 05:00:28 Removing intermediate container 8e22cfeb8b9b 05:00:28 ---> 7956f075e82f 05:00:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:00:28 ---> Running in 7c5e8370b478 05:00:28 Removing intermediate container 7c5e8370b478 05:00:28 ---> 4a7a63eba1cf 05:00:28 Step 22/24 : LABEL arch=arm64 05:00:29 ---> Running in 4c2bebedcb9e 05:00:29 Removing intermediate container 4c2bebedcb9e 05:00:29 ---> a7b0ddce7093 05:00:29 Step 23/24 : LABEL git_sha=6fb643ec429920c18af22d449f45278025f8cc77 05:00:29 ---> Running in b7a7aa295359 05:00:29 Removing intermediate container b7a7aa295359 05:00:29 ---> 7defffd4915f 05:00:29 Step 24/24 : LABEL version=3.2.0-dev.36 05:00:29 ---> Running in 350b5bb1890c 05:00:30 Removing intermediate container 350b5bb1890c 05:00:30 ---> a24672795ded 05:00:30 [Warning] One or more build-args [ARCH] were not consumed 05:00:30 Successfully built a24672795ded 05:00:30 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:30 05:00:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:31 arm64: Pulling from edgex-lftools-log-publisher 05:00:31 8998bd30e6a1: Pulling fs layer 05:00:31 04944245beec: Pulling fs layer 05:00:31 699f458cf7ca: Pulling fs layer 05:00:31 765212b225bb: Pulling fs layer 05:00:31 f23df028b6ca: Pulling fs layer 05:00:31 d65c8cfc05b1: Pulling fs layer 05:00:31 2437ff75d9bd: Pulling fs layer 05:00:31 765212b225bb: Waiting 05:00:31 f23df028b6ca: Waiting 05:00:31 d65c8cfc05b1: Waiting 05:00:31 2437ff75d9bd: Waiting 05:00:31 04944245beec: Verifying Checksum 05:00:31 04944245beec: Download complete 05:00:31 765212b225bb: Verifying Checksum 05:00:31 765212b225bb: Download complete 05:00:31 f23df028b6ca: Verifying Checksum 05:00:31 f23df028b6ca: Download complete 05:00:31 d65c8cfc05b1: Verifying Checksum 05:00:31 d65c8cfc05b1: Download complete 05:00:31 699f458cf7ca: Verifying Checksum 05:00:31 699f458cf7ca: Download complete 05:00:32 8998bd30e6a1: Verifying Checksum 05:00:32 8998bd30e6a1: Download complete 05:00:34 2437ff75d9bd: Verifying Checksum 05:00:34 2437ff75d9bd: Download complete 05:00:36 8998bd30e6a1: Pull complete 05:00:37 04944245beec: Pull complete 05:00:39 699f458cf7ca: Pull complete 05:00:39 765212b225bb: Pull complete 05:00:40 f23df028b6ca: Pull complete 05:00:40 d65c8cfc05b1: Pull complete 05:00:58 2437ff75d9bd: Pull complete 05:00:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:58 prd-ubuntu20.04-docker-arm64-4c-16g-9686 does not seem to be running inside a container 05:00:58 $ 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/311 -v /w/workspace/device-sdk-go/311:/w/workspace/device-sdk-go/311:rw,z -v /w/workspace/device-sdk-go/311@tmp:/w/workspace/device-sdk-go/311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:01:02 $ docker top b73d78543fb6c4b5b803cfe850143388755c5043e97b685bd706f19b1f7c836b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:03 ---> job-cost.sh 05:01:03 lf-activate-venv: SKIPPING 05:01:03 INFO: No Stack... 05:01:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:04 INFO: Archiving Costs [Pipeline] sh 05:01:04 + cut -d, -f6 05:01:04 + cat /w/workspace/device-sdk-go/311/archives/cost.csv [Pipeline] lock 05:01:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] 05:01:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] did not exist. Created. 05:01:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:05 /w/workspace/device-sdk-go/311@tmp/durable-610e7b6b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:06 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:06 Warning: overwriting stash ‘stack-cost’ 05:01:06 Stashed 1 file(s) [Pipeline] } 05:01:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-311-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:06 $ docker stop --time=1 b73d78543fb6c4b5b803cfe850143388755c5043e97b685bd706f19b1f7c836b 05:01:08 $ docker rm -f --volumes b73d78543fb6c4b5b803cfe850143388755c5043e97b685bd706f19b1f7c836b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:01:08 provisioning config files... 05:01:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13671954470149861663tmp [Pipeline] { [Pipeline] sh 05:01:08 + set +x 05:01:08 + curl -s https://codecov.io/bash 05:01:08 + bash -s -- 05:01:08 05:01:08 _____ _ 05:01:08 / ____| | | 05:01:08 | | ___ __| | ___ ___ _____ __ 05:01:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:08 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:08 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:08 Bash-1.0.6 05:01:08 05:01:08 05:01:08 ==> git version 2.25.1 found 05:01:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:01:08 Release-Date: 2020-01-08 05:01:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:01:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:08 ==> Jenkins CI detected. 05:01:08 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:01:08 project root: . 05:01:08 --> token set from env 05:01:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:08 ==> Running gcov in . (disable via -X gcov) 05:01:08 ==> Python coveragepy not found 05:01:08 ==> Searching for coverage reports in: 05:01:08 + . 05:01:08 -> Found 1 reports 05:01:08 ==> Detecting git/mercurial file structure 05:01:08 ==> Reading reports 05:01:08 + ./coverage.out bytes=127940 05:01:08 ==> Appending adjustments 05:01:08 https://docs.codecov.io/docs/fixing-reports 05:01:09 + Found adjustments 05:01:09 ==> Gzipping contents 05:01:09 20K /tmp/codecov.9wR8dx.gz 05:01:09 ==> Uploading reports 05:01:09 url: https://codecov.io 05:01:09 query: branch=main&commit=6fb643ec429920c18af22d449f45278025f8cc77&build=311&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F311%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:01:09 -> Pinging Codecov 05:01:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6fb643ec429920c18af22d449f45278025f8cc77&build=311&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F311%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:01:09 -> Uploading to 05:01:09 https://storage.googleapis.com/codecov/v4/raw/2024-09-07/7E55EF52A471D76F132DFD9A03CDDE97/6fb643ec429920c18af22d449f45278025f8cc77/a6bdde70-9b8c-4cb7-8848-db6448bae7da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240907%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240907T050109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eedbf1328760eaaabe5ad7832e12007155e391a45e4250729f654bd785cae709 05:01:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:09 Dload Upload Total Spent Left Speed 05:01:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17666 0 0 100 17666 0 71233 --:--:-- --:--:-- --:--:-- 71233 05:01:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] } 05:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:01:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:01:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:01:10 05:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:01:10 latest: Pulling from edgex-devops/edgex-snyk-go 05:01:10 619be1103602: Already exists 05:01:10 f8ea3408117e: Pulling fs layer 05:01:10 91320369b822: Pulling fs layer 05:01:10 0406650e8295: Pulling fs layer 05:01:10 4f4fb700ef54: Pulling fs layer 05:01:10 96d80e3f36e1: Pulling fs layer 05:01:10 bcf3aedb951c: Pulling fs layer 05:01:10 4f4fb700ef54: Waiting 05:01:10 96d80e3f36e1: Waiting 05:01:10 bcf3aedb951c: Waiting 05:01:10 0406650e8295: Verifying Checksum 05:01:10 0406650e8295: Download complete 05:01:10 f8ea3408117e: Verifying Checksum 05:01:10 4f4fb700ef54: Verifying Checksum 05:01:10 4f4fb700ef54: Download complete 05:01:10 f8ea3408117e: Pull complete 05:01:10 96d80e3f36e1: Verifying Checksum 05:01:10 96d80e3f36e1: Download complete 05:01:11 91320369b822: Verifying Checksum 05:01:11 91320369b822: Download complete 05:01:11 bcf3aedb951c: Verifying Checksum 05:01:11 bcf3aedb951c: Download complete 05:01:13 91320369b822: Pull complete 05:01:13 0406650e8295: Pull complete 05:01:14 4f4fb700ef54: Pull complete 05:01:14 96d80e3f36e1: Pull complete 05:01:17 bcf3aedb951c: Pull complete 05:01:17 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:01:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:17 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:01:17 $ 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:latest cat 05:01:22 $ docker top 2a158a9ff8c57b7c832e4b7eb53e62d5df07d437dafd0e696858c6b13123a73f -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:01:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:01:23 + set -o pipefail 05:01:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:01:29 05:01:29 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:01:29 05:01:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/7b1f28cc-56f0-452b-96c2-465879cc6757 05:01:29 05:01:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:01:29 05:01:29 05:01:29 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:01:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:01:29 $ docker stop --time=1 2a158a9ff8c57b7c832e4b7eb53e62d5df07d437dafd0e696858c6b13123a73f 05:01:35 $ docker rm -f --volumes 2a158a9ff8c57b7c832e4b7eb53e62d5df07d437dafd0e696858c6b13123a73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:01:36 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:36 provisioning config files... 05:01:36 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6285032360867264474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:36 --> edgex-publish-swagger.sh 05:01:36 === Publish openapi/v3 API === 05:01:36 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:01:36 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:01:36 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:36 Dload Upload Total Spent Left Speed 05:01:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 460 108k --:--:-- --:--:-- --:--:-- 108k 05:01:37 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:01:37 [Pipeline] } 05:01:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:37 + git log --format=format:%s -1 6fb643ec429920c18af22d449f45278025f8cc77 [Pipeline] sh 05:01:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:01:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:38 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:01:38 $ 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 05:01:38 $ docker top aab982c832e890918eafda5eacdf9753df25b3adc208878c76a4ff21a3904291 -eo pid,comm 05:01:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:01:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:38 [ssh-agent] Looking for ssh-agent implementation... 05:01:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:38 $ docker exec aab982c832e890918eafda5eacdf9753df25b3adc208878c76a4ff21a3904291 ssh-agent 05:01:39 SSH_AUTH_SOCK=/tmp/ssh-IzeRmWwbwEDu/agent.32 05:01:39 SSH_AGENT_PID=38 05:01:39 Running ssh-add (command line suppressed) 05:01:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12191616149631047514.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12191616149631047514.key) 05:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:39 + git semver tag 05:01:39 2024-09-07 05:01:39,723 [run_tag] DEBUG tag force:False 05:01:39 2024-09-07 05:01:39,723 [check_head_tag] DEBUG check head tag 05:01:39 2024-09-07 05:01:39,724 [execute] INFO git cat-file --batch-check 05:01:39 2024-09-07 05:01:39,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:01:39 2024-09-07 05:01:39,728 [execute] INFO git cat-file --batch 05:01:39 2024-09-07 05:01:39,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:01:39 2024-09-07 05:01:39,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:39 2024-09-07 05:01:39,757 [execute] INFO git tag -a v3.2.0-dev.36 -m v3.2.0-dev.36 05:01:39 2024-09-07 05:01:39,757 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.36', '-m', 'v3.2.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:01:39 2024-09-07 05:01:39,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:39 3.2.0-dev.36 [Pipeline] } 05:01:39 $ docker exec --env ******** --env ******** aab982c832e890918eafda5eacdf9753df25b3adc208878c76a4ff21a3904291 ssh-agent -k 05:01:39 unset SSH_AUTH_SOCK; 05:01:39 unset SSH_AGENT_PID; 05:01:39 echo Agent pid 38 killed; 05:01:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:40 + git semver [Pipeline] } 05:01:40 $ docker stop --time=1 aab982c832e890918eafda5eacdf9753df25b3adc208878c76a4ff21a3904291 05:01:41 $ docker rm -f --volumes aab982c832e890918eafda5eacdf9753df25b3adc208878c76a4ff21a3904291 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:01:42 05:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:01:42 0.23.1-centos7: Pulling from edgex-lftools 05:01:42 ab5ef0e58194: Pulling fs layer 05:01:42 9712f1f96733: Pulling fs layer 05:01:42 63f879dbbcfc: Pulling fs layer 05:01:42 0d9ebad4ef96: Pulling fs layer 05:01:42 e9a5061849ea: Pulling fs layer 05:01:42 d747dcd14b5f: Pulling fs layer 05:01:42 2de7ff778b66: Pulling fs layer 05:01:42 0d9ebad4ef96: Waiting 05:01:42 e9a5061849ea: Waiting 05:01:42 d747dcd14b5f: Waiting 05:01:42 2de7ff778b66: Waiting 05:01:42 9712f1f96733: Verifying Checksum 05:01:42 9712f1f96733: Download complete 05:01:42 63f879dbbcfc: Verifying Checksum 05:01:42 63f879dbbcfc: Download complete 05:01:43 e9a5061849ea: Verifying Checksum 05:01:43 e9a5061849ea: Download complete 05:01:43 d747dcd14b5f: Verifying Checksum 05:01:43 d747dcd14b5f: Download complete 05:01:43 0d9ebad4ef96: Verifying Checksum 05:01:43 ab5ef0e58194: Verifying Checksum 05:01:43 ab5ef0e58194: Download complete 05:01:43 2de7ff778b66: Verifying Checksum 05:01:43 2de7ff778b66: Download complete 05:01:45 ab5ef0e58194: Pull complete 05:01:45 9712f1f96733: Pull complete 05:01:46 63f879dbbcfc: Pull complete 05:01:49 0d9ebad4ef96: Pull complete 05:01:49 e9a5061849ea: Pull complete 05:01:49 d747dcd14b5f: Pull complete 05:01:50 2de7ff778b66: Pull complete 05:01:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:01:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:50 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:01:50 $ 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 05:01:57 $ docker top 4e134c8a715b4f75f0be2d6060f2b7a7df46873907a830912306c52866fc5f61 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:01:57 provisioning config files... 05:01:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15905917767833789794tmp 05:01:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6036765399481321901tmp 05:01:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7166745473611314129tmp [Pipeline] { [Pipeline] echo 05:01:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:01:57 ---> sigul-configuration.sh 05:01:57 gpg: directory `/root/.gnupg' created 05:01:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:01:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:01:57 gpg: keyring `/root/.gnupg/secring.gpg' created 05:01:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:01:57 gpg: CAST5 encrypted data 05:01:57 gpg: encrypted with 1 passphrase 05:01:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:01:57 + mkdir /home/jenkins 05:01:57 + mkdir /home/jenkins/sigul [Pipeline] sh 05:01:58 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:01:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:01:58 ---> sigul-install.sh 05:01:58 Sigul already installed; skipping installation. [Pipeline] sh 05:01:58 + git tag --list 05:01:58 0.7.1 05:01:58 delhi-tag 05:01:58 v1.0.0 05:01:58 v1.1.0 05:01:58 v1.1.1 05:01:58 v1.1.2 05:01:58 v1.2.0 05:01:58 v1.2.1 05:01:58 v1.2.2 05:01:58 v1.2.3 05:01:58 v1.3.0 05:01:58 v1.4.0 05:01:58 v2.0.0 05:01:58 v2.1.0 05:01:58 v2.1.1 05:01:58 v2.2.0 05:01:58 v2.3.0 05:01:58 v2.3.1 05:01:58 v3.0 05:01:58 v3.0.0 05:01:58 v3.0.1-dev.1 05:01:58 v3.1 05:01:58 v3.1.0 05:01:58 v3.1.0-dev.1 05:01:58 v3.1.0-dev.10 05:01:58 v3.1.0-dev.11 05:01:58 v3.1.0-dev.12 05:01:58 v3.1.0-dev.13 05:01:58 v3.1.0-dev.14 05:01:58 v3.1.0-dev.15 05:01:58 v3.1.0-dev.16 05:01:58 v3.1.0-dev.17 05:01:58 v3.1.0-dev.18 05:01:58 v3.1.0-dev.19 05:01:58 v3.1.0-dev.2 05:01:58 v3.1.0-dev.20 05:01:58 v3.1.0-dev.21 05:01:58 v3.1.0-dev.22 05:01:58 v3.1.0-dev.23 05:01:58 v3.1.0-dev.24 05:01:58 v3.1.0-dev.25 05:01:58 v3.1.0-dev.26 05:01:58 v3.1.0-dev.27 05:01:58 v3.1.0-dev.28 05:01:58 v3.1.0-dev.29 05:01:58 v3.1.0-dev.3 05:01:58 v3.1.0-dev.30 05:01:58 v3.1.0-dev.31 05:01:58 v3.1.0-dev.32 05:01:58 v3.1.0-dev.33 05:01:58 v3.1.0-dev.34 05:01:58 v3.1.0-dev.35 05:01:58 v3.1.0-dev.36 05:01:58 v3.1.0-dev.37 05:01:58 v3.1.0-dev.38 05:01:58 v3.1.0-dev.39 05:01:58 v3.1.0-dev.4 05:01:58 v3.1.0-dev.40 05:01:58 v3.1.0-dev.41 05:01:58 v3.1.0-dev.5 05:01:58 v3.1.0-dev.6 05:01:58 v3.1.0-dev.7 05:01:58 v3.1.0-dev.8 05:01:58 v3.1.0-dev.9 05:01:58 v3.1.1 05:01:58 v3.1.1-dev.1 05:01:58 v3.2.0-dev.1 05:01:58 v3.2.0-dev.10 05:01:58 v3.2.0-dev.11 05:01:58 v3.2.0-dev.12 05:01:58 v3.2.0-dev.13 05:01:58 v3.2.0-dev.14 05:01:58 v3.2.0-dev.15 05:01:58 v3.2.0-dev.16 05:01:58 v3.2.0-dev.17 05:01:58 v3.2.0-dev.18 05:01:58 v3.2.0-dev.19 05:01:58 v3.2.0-dev.2 05:01:58 v3.2.0-dev.20 05:01:58 v3.2.0-dev.21 05:01:58 v3.2.0-dev.22 05:01:58 v3.2.0-dev.23 05:01:58 v3.2.0-dev.24 05:01:58 v3.2.0-dev.25 05:01:58 v3.2.0-dev.26 05:01:58 v3.2.0-dev.27 05:01:58 v3.2.0-dev.28 05:01:58 v3.2.0-dev.29 05:01:58 v3.2.0-dev.3 05:01:58 v3.2.0-dev.30 05:01:58 v3.2.0-dev.31 05:01:58 v3.2.0-dev.32 05:01:58 v3.2.0-dev.33 05:01:58 v3.2.0-dev.34 05:01:58 v3.2.0-dev.35 05:01:58 v3.2.0-dev.36 05:01:58 v3.2.0-dev.4 05:01:58 v3.2.0-dev.5 05:01:58 v3.2.0-dev.6 05:01:58 v3.2.0-dev.7 05:01:58 v3.2.0-dev.8 05:01:58 v3.2.0-dev.9 [Pipeline] sh 05:01:59 + lftools sign git-tag v3.2.0-dev.36 05:01:59 Signing Git tag with Sigul... 05:01:59 Signing v3.2.0-dev.36 [Pipeline] echo 05:01:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:02:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:02:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:02:00 $ docker stop --time=1 4e134c8a715b4f75f0be2d6060f2b7a7df46873907a830912306c52866fc5f61 05:02:01 $ docker rm -f --volumes 4e134c8a715b4f75f0be2d6060f2b7a7df46873907a830912306c52866fc5f61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:02:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:02 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:02:02 $ docker top 7edb4bf9b3ef7bb36705a0263710d96691c585676a29565494a5470be32928d4 -eo pid,comm 05:02:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:02:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:02 [ssh-agent] Looking for ssh-agent implementation... 05:02:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:03 $ docker exec 7edb4bf9b3ef7bb36705a0263710d96691c585676a29565494a5470be32928d4 ssh-agent 05:02:03 SSH_AUTH_SOCK=/tmp/ssh-EYlYACCqOhSx/agent.32 05:02:03 SSH_AGENT_PID=38 05:02:03 Running ssh-add (command line suppressed) 05:02:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10061941186850258230.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10061941186850258230.key) 05:02:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:03 + git semver bump pre 05:02:03 2024-09-07 05:02:03,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:03 2024-09-07 05:02:03,773 [bump_version] DEBUG bumping version:3.2.0-dev.36 on axis:pre with prefix:dev 05:02:03 2024-09-07 05:02:03,773 [bump_version] DEBUG bumped version:3.2.0-dev.37 05:02:03 2024-09-07 05:02:03,773 [write_version] DEBUG write version:3.2.0-dev.37 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:02:03 2024-09-07 05:02:03,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:03 2024-09-07 05:02:03,773 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:03 2024-09-07 05:02:03,775 [execute] INFO git cat-file --batch-check 05:02:03 2024-09-07 05:02:03,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:03 2024-09-07 05:02:03,780 [execute] INFO git cat-file --batch 05:02:03 2024-09-07 05:02:03,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:03 2024-09-07 05:02:03,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:03 3.2.0-dev.37 [Pipeline] } 05:02:03 $ docker exec --env ******** --env ******** 7edb4bf9b3ef7bb36705a0263710d96691c585676a29565494a5470be32928d4 ssh-agent -k 05:02:03 unset SSH_AUTH_SOCK; 05:02:03 unset SSH_AGENT_PID; 05:02:03 echo Agent pid 38 killed; 05:02:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:04 + git semver [Pipeline] } 05:02:04 $ docker stop --time=1 7edb4bf9b3ef7bb36705a0263710d96691c585676a29565494a5470be32928d4 05:02:05 $ docker rm -f --volumes 7edb4bf9b3ef7bb36705a0263710d96691c585676a29565494a5470be32928d4 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:06 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:02: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 05:02:06 $ docker top a225843cef673acccfc6aa1e36343ce2b36f7236f167520b36dca895ddf5337b -eo pid,comm 05:02:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:02:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:07 [ssh-agent] Looking for ssh-agent implementation... 05:02:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:07 $ docker exec a225843cef673acccfc6aa1e36343ce2b36f7236f167520b36dca895ddf5337b ssh-agent 05:02:07 SSH_AUTH_SOCK=/tmp/ssh-uwJSM9i092bR/agent.33 05:02:07 SSH_AGENT_PID=39 05:02:07 Running ssh-add (command line suppressed) 05:02:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13752721125309501998.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13752721125309501998.key) 05:02:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:07 + git semver push 05:02:07 2024-09-07 05:02:07,908 [run_push] DEBUG push 05:02:07 2024-09-07 05:02:07,908 [execute] INFO git cat-file --batch-check 05:02:07 2024-09-07 05:02:07,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:07 2024-09-07 05:02:07,913 [execute] INFO git rev-list df17d84b59c9385fba204c4be85b8486d12999f8 -- 05:02:07 2024-09-07 05:02:07,914 [execute] DEBUG Popen(['git', 'rev-list', 'df17d84b59c9385fba204c4be85b8486d12999f8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:02:07 2024-09-07 05:02:07,925 [execute] INFO git fetch -v origin 05:02:07 2024-09-07 05:02:07,926 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:02:08 2024-09-07 05:02:08,388 [run_push] DEBUG no remote changes detected 05:02:08 2024-09-07 05:02:08,388 [execute] INFO git push origin semver 05:02:08 2024-09-07 05:02:08,389 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:02:09 2024-09-07 05:02:09,074 [run_push] DEBUG push all version tags 05:02:09 2024-09-07 05:02:09,074 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:02:09 2024-09-07 05:02:09,075 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:02:10 2024-09-07 05:02:09,782 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:10 3.2.0-dev.37 [Pipeline] } 05:02:10 $ docker exec --env ******** --env ******** a225843cef673acccfc6aa1e36343ce2b36f7236f167520b36dca895ddf5337b ssh-agent -k 05:02:10 unset SSH_AUTH_SOCK; 05:02:10 unset SSH_AGENT_PID; 05:02:10 echo Agent pid 39 killed; 05:02:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:10 + git semver [Pipeline] } 05:02:10 $ docker stop --time=1 a225843cef673acccfc6aa1e36343ce2b36f7236f167520b36dca895ddf5337b 05:02:12 $ docker rm -f --volumes a225843cef673acccfc6aa1e36343ce2b36f7236f167520b36dca895ddf5337b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:02:12 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:02:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:12 total 16 05:02:12 drwxr-xr-x 3 root root 4096 Sep 7 04:44 . 05:02:12 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 05:01 .. 05:02:12 drwxr-xr-x 2 root root 4096 Sep 7 04:44 cost 05:02:12 -rw-r--r-- 1 root root 85 Sep 7 04:44 cost.csv 05:02:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:12 total 16 05:02:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:44 . 05:02:12 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 05:01 .. 05:02:12 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:44 cost 05:02:12 -rw-r--r-- 1 jenkins jenkins 85 Sep 7 04:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:02:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:02:13 ---> package-listing.sh 05:02:13 ++ facter osfamily 05:02:13 ++ tr '[:upper:]' '[:lower:]' 05:02:14 + OS_FAMILY=debian 05:02:14 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:02:14 + START_PACKAGES=/tmp/packages_start.txt 05:02:14 + END_PACKAGES=/tmp/packages_end.txt 05:02:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:02:14 + PACKAGES=/tmp/packages_start.txt 05:02:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:02:14 + PACKAGES=/tmp/packages_end.txt 05:02:14 + case "${OS_FAMILY}" in 05:02:14 + dpkg -l 05:02:14 + grep '^ii' 05:02:14 + '[' -f /tmp/packages_start.txt ']' 05:02:14 + '[' -f /tmp/packages_end.txt ']' 05:02:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:02:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:02:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:02:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:02:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:02:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:15 prd-ubuntu20.04-docker-8c-8g-9685 does not seem to be running inside a container 05:02:15 $ 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 05:02:15 $ docker top 087eafc60ab6bfa09bbf707551b25549371837ab0d7f128fdd96dd01716bebbd -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:02:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:02:16 + ls /var/log/sa-host 05:02:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:16 provisioning config files... 05:02:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5141838074816989949tmp [Pipeline] { [Pipeline] echo 05:02:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:02:16 ---> create-netrc.sh [Pipeline] } 05:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:02:16 ---> python-tools-install.sh [Pipeline] echo 05:02:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:02:17 ---> sudo-logs.sh 05:02:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:02:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:02:17 ---> job-cost.sh 05:02:17 lf-activate-venv: SKIPPING 05:02:17 DEBUG: total: 0.2199999988079071 05:02:17 INFO: Retrieving Stack Cost... 05:02:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:02:18 INFO: Archiving Costs [Pipeline] echo 05:02:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:02:18 ---> logs-deploy.sh 05:02:18 lf-activate-venv: SKIPPING 05:02:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/311 05:02:18 INFO: archiving workspace using pattern(s): 05:02:19 Archives upload complete. 05:02:19 INFO: archiving logs to Nexus