Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 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-ssh4950926554304866934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh14064128740437439083.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh18236134576455246305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh15815724325618568119.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-ssh15641590388874121518.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]] ========================================================= [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.23 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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26120 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 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 (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 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 # timeout=10 Commit message: "Merge pull request #1649 from edgexfoundry/dependabot/go_modules/golang.org/x/net-0.31.0" > git rev-list --no-walk 3ae093816e7b43cf524e65d58bc4109890d09a91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:10:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:10:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:10:16 ========================================================= 05:10:16 EdgeX Global Pipelines Version Info 05:10:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:10:16 ------------------- 05:10:16 stable info: 05:10:16 ------------------- 05:10:16 Commited By: Ginny Guan ginny@iotechsys.com 05:10:16 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:10:16 Message: update stable to v1.0.265 05:10:17 ------------------- 05:10:17 experimental info: 05:10:17 ------------------- 05:10:17 Commited By: Cherry Wang cherry@iotechsys.com 05:10:17 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:10:17 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:10:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18c36d4 [Pipeline] echo 05:10:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:18 provisioning config files... 05:10:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3645951659275654019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:18 ---> ****-login.sh 05:10:18 nexus3.edgexfoundry.org:10001 05:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:19 Configure a credential helper to remove this warning. See 05:10:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:19 05:10:19 Login Succeeded 05:10:19 nexus3.edgexfoundry.org:10002 05:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:19 Configure a credential helper to remove this warning. See 05:10:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:19 05:10:19 Login Succeeded 05:10:19 nexus3.edgexfoundry.org:10003 05:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:19 Configure a credential helper to remove this warning. See 05:10:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:19 05:10:19 Login Succeeded 05:10:19 nexus3.edgexfoundry.org:10004 05:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:19 Configure a credential helper to remove this warning. See 05:10:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:19 05:10:19 Login Succeeded 05:10:19 ****.io 05:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:20 Configure a credential helper to remove this warning. See 05:10:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:20 05:10:20 Login Succeeded 05:10:20 ---> ****-login.sh ends [Pipeline] } 05:10:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:10:20 + git rev-list -1 --merges 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4~1..18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] echo 05:10:20 -----------> git rev-list -1 --merges 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4~1..18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 05:10:20 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [false] [Pipeline] sh 05:10:20 + git log --format=format:%s -1 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] echo 05:10:20 ========================================================= 05:10:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:10:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:21 + git log --format=format:%s -1 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] echo 05:10:21 [semverPrep] GIT_COMMIT: 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4, Commit Message: Merge pull request #1649 from edgexfoundry/dependabot/go_modules/golang.org/x/net-0.31.0 [Pipeline] echo 05:10:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:10:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:10:21 + grep -v github /etc/ssh/ssh_known_hosts 05:10:21 + [ -e /tmp/ssh_known_hosts ] 05:10:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:10:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:10:21 + sudo tee -a /etc/ssh/ssh_known_hosts 05:10:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:21 05:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:10:22 b85a868b505f: Pulling fs layer 05:10:22 e2be974225ed: Pulling fs layer 05:10:22 339a4e72a1f5: Pulling fs layer 05:10:22 988bab9f4d93: Pulling fs layer 05:10:22 1469e6f7b9e6: Pulling fs layer 05:10:22 eaf3925da568: Pulling fs layer 05:10:22 bab4dde63d76: Pulling fs layer 05:10:22 bde34c3a00c8: Pulling fs layer 05:10:22 b352a97aabf1: Pulling fs layer 05:10:22 4872d77fe225: Pulling fs layer 05:10:22 5851b861e8e6: Pulling fs layer 05:10:22 988bab9f4d93: Waiting 05:10:22 1469e6f7b9e6: Waiting 05:10:22 bab4dde63d76: Waiting 05:10:22 bde34c3a00c8: Waiting 05:10:22 eaf3925da568: Waiting 05:10:22 4872d77fe225: Waiting 05:10:22 b352a97aabf1: Waiting 05:10:22 5851b861e8e6: Waiting 05:10:22 e2be974225ed: Verifying Checksum 05:10:22 e2be974225ed: Download complete 05:10:22 988bab9f4d93: Verifying Checksum 05:10:22 988bab9f4d93: Download complete 05:10:22 1469e6f7b9e6: Verifying Checksum 05:10:22 1469e6f7b9e6: Download complete 05:10:22 339a4e72a1f5: Verifying Checksum 05:10:22 339a4e72a1f5: Download complete 05:10:22 eaf3925da568: Verifying Checksum 05:10:22 eaf3925da568: Download complete 05:10:22 bde34c3a00c8: Verifying Checksum 05:10:22 bde34c3a00c8: Download complete 05:10:22 b352a97aabf1: Verifying Checksum 05:10:22 b352a97aabf1: Download complete 05:10:22 4872d77fe225: Download complete 05:10:22 5851b861e8e6: Verifying Checksum 05:10:22 5851b861e8e6: Download complete 05:10:22 b85a868b505f: Verifying Checksum 05:10:22 b85a868b505f: Download complete 05:10:22 bab4dde63d76: Verifying Checksum 05:10:22 bab4dde63d76: Download complete 05:10:23 b85a868b505f: Pull complete 05:10:23 e2be974225ed: Pull complete 05:10:24 339a4e72a1f5: Pull complete 05:10:24 988bab9f4d93: Pull complete 05:10:24 1469e6f7b9e6: Pull complete 05:10:24 eaf3925da568: Pull complete 05:10:26 bab4dde63d76: Pull complete 05:10:26 bde34c3a00c8: Pull complete 05:10:26 b352a97aabf1: Pull complete 05:10:26 4872d77fe225: Pull complete 05:10:26 5851b861e8e6: Pull complete 05:10:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:27 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:10:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:10:30 $ docker top 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a -eo pid,comm 05:10:30 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:10:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:30 [ssh-agent] Looking for ssh-agent implementation... 05:10:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:30 $ docker exec 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a ssh-agent 05:10:30 SSH_AUTH_SOCK=/tmp/ssh-7wEb9RjW4pff/agent.32 05:10:30 SSH_AGENT_PID=38 05:10:30 Running ssh-add (command line suppressed) 05:10:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7344733083493338717.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7344733083493338717.key) 05:10:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:31 + git tag --points-at HEAD [Pipeline] } 05:10:31 $ docker exec --env ******** --env ******** 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a ssh-agent -k 05:10:31 unset SSH_AUTH_SOCK; 05:10:31 unset SSH_AGENT_PID; 05:10:31 echo Agent pid 38 killed; 05:10:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:10:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:31 [ssh-agent] Looking for ssh-agent implementation... 05:10:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:31 $ docker exec 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a ssh-agent 05:10:31 SSH_AUTH_SOCK=/tmp/ssh-64AQTZJyxT1f/agent.71 05:10:31 SSH_AGENT_PID=77 05:10:31 Running ssh-add (command line suppressed) 05:10:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5494899613620181518.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5494899613620181518.key) 05:10:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:32 + git semver init 05:10:32 2024-11-11 05:10:32,216 [run_init] DEBUG init version:0.0.0 force:False 05:10:32 2024-11-11 05:10:32,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:10:32 2024-11-11 05:10:32,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:10:32 2024-11-11 05:10:32,217 [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) 05:10:33 2024-11-11 05:10:33,461 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:10:33 2024-11-11 05:10:33,462 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:10:33 2024-11-11 05:10:33,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:10:33 2024-11-11 05:10:33,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:10:33 4.0.0-dev.6 [Pipeline] } 05:10:33 $ docker exec --env ******** --env ******** 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a ssh-agent -k 05:10:33 unset SSH_AUTH_SOCK; 05:10:33 unset SSH_AGENT_PID; 05:10:33 echo Agent pid 77 killed; 05:10:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:34 + git semver [Pipeline] } 05:10:34 $ docker stop --time=1 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a 05:10:35 $ docker rm -f --volumes 693ab0007e748db9f0f8e4f2760ddca07794d9014c65a38ec2b3d291ca8d847a [Pipeline] // withDockerContainer [Pipeline] sh 05:10:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:10:36 Stashed 1 file(s) [Pipeline] echo 05:10:36 [edgeXSemver]: initialized semver on version 4.0.0-dev.6 [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 05:10:36 provisioning config files... 05:10:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16431242853268610456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:36 ---> ****-login.sh 05:10:36 nexus3.edgexfoundry.org:10001 05:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 nexus3.edgexfoundry.org:10002 05:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 nexus3.edgexfoundry.org:10003 05:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:37 Configure a credential helper to remove this warning. See 05:10:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:37 05:10:37 Login Succeeded 05:10:37 nexus3.edgexfoundry.org:10004 05:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:37 Configure a credential helper to remove this warning. See 05:10:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:37 05:10:37 Login Succeeded 05:10:37 ****.io 05:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:10:37 Configure a credential helper to remove this warning. See 05:10:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:10:37 05:10:37 Login Succeeded 05:10:37 ---> ****-login.sh ends [Pipeline] } 05:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:37 ========================================================= 05:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:37 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 05:10:37 Sending build context to Docker daemon 24.76MB 05:10:37 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:10:37 Step 2/10 : FROM ${BASE} AS builder 05:10:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:38 43c4264eed91: Pulling fs layer 05:10:38 4cc291be95ef: Pulling fs layer 05:10:38 2ac1f1163629: Pulling fs layer 05:10:38 5c3c966382ef: Pulling fs layer 05:10:38 4f4fb700ef54: Pulling fs layer 05:10:38 5d5c8e513c77: Pulling fs layer 05:10:38 9f66e0745190: Pulling fs layer 05:10:38 f49a43e4bbc0: Pulling fs layer 05:10:38 561ebcabdf7f: Pulling fs layer 05:10:38 5c3c966382ef: Waiting 05:10:38 4f4fb700ef54: Waiting 05:10:38 5d5c8e513c77: Waiting 05:10:38 9f66e0745190: Waiting 05:10:38 f49a43e4bbc0: Waiting 05:10:38 561ebcabdf7f: Waiting 05:10:38 4cc291be95ef: Verifying Checksum 05:10:38 4cc291be95ef: Download complete 05:10:38 5c3c966382ef: Download complete 05:10:38 4f4fb700ef54: Verifying Checksum 05:10:38 4f4fb700ef54: Download complete 05:10:38 5d5c8e513c77: Verifying Checksum 05:10:38 5d5c8e513c77: Download complete 05:10:38 43c4264eed91: Download complete 05:10:38 9f66e0745190: Verifying Checksum 05:10:38 9f66e0745190: Download complete 05:10:38 43c4264eed91: Pull complete 05:10:38 561ebcabdf7f: Verifying Checksum 05:10:38 561ebcabdf7f: Download complete 05:10:38 4cc291be95ef: Pull complete 05:10:38 2ac1f1163629: Verifying Checksum 05:10:38 2ac1f1163629: Download complete 05:10:38 f49a43e4bbc0: Verifying Checksum 05:10:38 f49a43e4bbc0: Download complete 05:10:42 2ac1f1163629: Pull complete 05:10:42 5c3c966382ef: Pull complete 05:10:42 4f4fb700ef54: Pull complete 05:10:42 5d5c8e513c77: Pull complete 05:10:42 9f66e0745190: Pull complete 05:10:44 f49a43e4bbc0: Pull complete 05:10:45 561ebcabdf7f: Pull complete 05:10:45 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:10:45 ---> 3a752c3f9dda 05:10:45 Step 3/10 : ARG MAKE=make build 05:10:50 ---> Running in f1351d29e965 05:10:50 Removing intermediate container f1351d29e965 05:10:50 ---> 024d001fb4fc 05:10:50 Step 4/10 : WORKDIR /device-sdk-go 05:10:50 ---> Running in 6d1d3959e3ed 05:10:50 Removing intermediate container 6d1d3959e3ed 05:10:50 ---> cc88db06c395 05:10:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:10:50 ---> Running in acf08fe82b97 05:10:50 Removing intermediate container acf08fe82b97 05:10:50 ---> ba583879d94b 05:10:50 Step 6/10 : RUN apk add --update --no-cache make git 05:10:50 ---> Running in 6022f82b989d 05:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:10:50 OK: 246 MiB in 54 packages 05:10:51 Removing intermediate container 6022f82b989d 05:10:51 ---> f33338cadff3 05:10:51 Step 7/10 : COPY go.mod vendor* ./ 05:10:51 Still waiting to schedule task 05:10:51 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:10:51 ---> 4c81fe075000 05:10:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:51 ---> Running in 3f2aa48422bb 05:11:38 Removing intermediate container 3f2aa48422bb 05:11:38 ---> a5990c8bdf27 05:11:38 Step 9/10 : COPY . . 05:11:38 ---> a4e6e68241b4 05:11:38 Step 10/10 : RUN ${MAKE} 05:11:38 ---> Running in 1e20797cd731 05:11:38 noop 05:11:38 Removing intermediate container 1e20797cd731 05:11:38 ---> 42ea403589a3 05:11:38 Successfully built 42ea403589a3 05:11:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:38 + docker inspect -f . ci-base-image-x86_64 05:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:38 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:11:39 $ docker top 6ea617211e8c5e7d4c39bd26bd70ae767663ce00a66caf11a9a3c19b16fac6ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:39 + go version 05:11:39 go version go1.23.2 linux/amd64 [Pipeline] } 05:11:39 $ docker stop --time=1 6ea617211e8c5e7d4c39bd26bd70ae767663ce00a66caf11a9a3c19b16fac6ba 05:11:40 $ docker rm -f --volumes 6ea617211e8c5e7d4c39bd26bd70ae767663ce00a66caf11a9a3c19b16fac6ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:41 + docker inspect -f . ci-base-image-x86_64 05:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:41 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:11:41 $ docker top 9e8d959df4c2f2351c86516a73acc818b011b64d0b4d31d2098ff3dbfd935e0b -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:11:42 + make test 05:11:42 go test -race -coverprofile=coverage.out ./... 05:11:50 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 05:12:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.036s coverage: 28.7% of statements 05:12:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.037s coverage: 79.4% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 05:12:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.046s coverage: 86.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 05:12:29 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 05:12:29 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 05:12:30 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.150s coverage: 45.2% of statements 05:12:32 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 05:12:33 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.046s coverage: 14.1% of statements 05:12:33 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.163s coverage: 44.6% of statements 05:12:33 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.063s coverage: 68.4% of statements 05:12:33 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.085s coverage: 88.3% of statements 05:12:33 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.064s coverage: 5.3% of statements 05:13:13 GO111MODULE=on go vet ./... 05:13:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:14 ./bin/test-attribution-txt.sh [Pipeline] echo 05:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:13:14 $ docker stop --time=1 9e8d959df4c2f2351c86516a73acc818b011b64d0b4d31d2098ff3dbfd935e0b 05:13:18 $ docker rm -f --volumes 9e8d959df4c2f2351c86516a73acc818b011b64d0b4d31d2098ff3dbfd935e0b [Pipeline] // withDockerContainer [Pipeline] sh 05:13:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:13:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:21 + ls -al . 05:13:21 total 704 05:13:21 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 05:11 . 05:13:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:10 .. 05:13:21 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 05:10 .dockerignore 05:13:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 05:12 .git 05:13:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:10 .github 05:13:21 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 05:10 .gitignore 05:13:21 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 05:10 .golangci.yml 05:13:21 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 05:10 .semver 05:13:21 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 05:10 CHANGELOG.md 05:13:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 05:10 GOVERNANCE.md 05:13:21 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 05:10 Jenkinsfile 05:13:21 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 05:10 LICENSE 05:13:21 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 05:10 Makefile 05:13:21 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 05:10 OWNERS.md 05:13:21 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 05:10 README.md 05:13:21 -rw-rw-r-- 1 jenkins jenkins 11 Nov 11 05:10 VERSION 05:13:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:10 bin 05:13:21 -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 05:12 coverage.out 05:13:21 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 05:10 example 05:13:21 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 05:10 go.mod 05:13:21 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 05:10 go.sum 05:13:21 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 05:10 internal 05:13:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:10 openapi 05:13:21 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 05:10 pkg 05:13:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:10 snap 05:13:21 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:21 + 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=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 --label arch=amd64 --label version=4.0.0-dev.6 . 05:13:21 Sending build context to Docker daemon 25.23MB 05:13:21 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:13:21 Step 2/24 : FROM ${BASE} AS builder 05:13:21 ---> 42ea403589a3 05:13:21 Step 3/24 : ARG MAKE=make build 05:13:22 ---> Running in 2d2f8e52f9a3 05:13:22 Removing intermediate container 2d2f8e52f9a3 05:13:22 ---> ff9c1b7767f8 05:13:22 Step 4/24 : WORKDIR /device-sdk-go 05:13:22 ---> Running in 8083a25717cd 05:13:22 Removing intermediate container 8083a25717cd 05:13:22 ---> ce0d925c5a4f 05:13:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:13:22 ---> Running in 6e38e1bdcd40 05:13:22 Removing intermediate container 6e38e1bdcd40 05:13:22 ---> 5d0053d17d60 05:13:22 Step 6/24 : RUN apk add --update --no-cache make git 05:13:22 ---> Running in c70296bb990e 05:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:13:23 OK: 246 MiB in 54 packages 05:13:23 Removing intermediate container c70296bb990e 05:13:23 ---> ca7175cac6a2 05:13:23 Step 7/24 : COPY go.mod vendor* ./ 05:13:23 ---> 0e364c1b265c 05:13:23 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:23 ---> Running in b7aff8ba9722 05:13:24 Removing intermediate container b7aff8ba9722 05:13:24 ---> ebe31dff0327 05:13:24 Step 9/24 : COPY . . 05:13:25 ---> b1aa935e6e96 05:13:25 Step 10/24 : RUN ${MAKE} 05:13:25 ---> Running in dbe9f634fd10 05:13:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:13:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26122 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:13:55 Running in /w/workspace/device-sdk-go/329 [Pipeline] { [Pipeline] checkout 05:13:58 The recommended git tool is: git 05:14:04 using credential edgex-jenkins-ssh 05:14:04 Cloning the remote Git repository 05:14:04 Removing intermediate container dbe9f634fd10 05:14:04 ---> b998f4d2c118 05:14:04 Step 11/24 : FROM alpine:3.20 05:14:04 3.20: Pulling from library/alpine 05:14:04 43c4264eed91: Already exists 05:14:04 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:14:04 Status: Downloaded newer image for alpine:3.20 05:14:04 ---> 91ef0af61f39 05:14:04 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:14:04 ---> Running in 4d6a63db0dc2 05:14:04 Removing intermediate container 4d6a63db0dc2 05:14:04 ---> 73a8d3d27af4 05:14:04 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:14:04 ---> Running in 5e9baf13fd13 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:14:04 (1/1) Installing dumb-init (1.2.5-r3) 05:14:04 Executing busybox-1.36.1-r29.trigger 05:14:04 OK: 8 MiB in 15 packages 05:14:04 Removing intermediate container 5e9baf13fd13 05:14:04 ---> 6c8149884d7a 05:14:04 Step 14/24 : RUN apk --no-cache upgrade 05:14:04 ---> Running in 90753d953394 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:14:04 Upgrading critical system libraries and apk-tools: 05:14:04 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:14:04 Executing busybox-1.36.1-r29.trigger 05:14:04 Continuing the upgrade transaction with new apk-tools: 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:14:04 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:14:04 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:14:04 OK: 8 MiB in 15 packages 05:14:04 Removing intermediate container 90753d953394 05:14:04 ---> 27fe9a8e5ea2 05:14:04 Step 15/24 : WORKDIR / 05:14:04 ---> Running in 334c4a7cb694 05:14:04 Removing intermediate container 334c4a7cb694 05:14:04 ---> 006e56356c95 05:14:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:14:04 ---> 244fd8c76761 05:14:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:14:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:14:05 ---> 0b3fb6551ab5 05:14:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:14:05 ---> e20cbf9a62c3 05:14:05 Step 19/24 : EXPOSE 59999 05:14:05 ---> Running in 3fb5d6487590 05:14:05 Removing intermediate container 3fb5d6487590 05:14:05 ---> 6dd95ebf74ca 05:14:05 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:14:05 ---> Running in bd3743687f4d 05:14:05 Removing intermediate container bd3743687f4d 05:14:05 ---> 35141ac381b1 05:14:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:14:05 ---> Running in 5a04cef01027 05:14:05 Removing intermediate container 5a04cef01027 05:14:05 ---> f1c7ce268766 05:14:05 Step 22/24 : LABEL arch=amd64 05:14:05 ---> Running in 90d600881f5c 05:14:05 Removing intermediate container 90d600881f5c 05:14:05 ---> b1832753dd1a 05:14:05 Step 23/24 : LABEL git_sha=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 05:14:05 ---> Running in f66823e51d67 05:14:05 Removing intermediate container f66823e51d67 05:14:05 ---> cceebad6c4be 05:14:05 Step 24/24 : LABEL version=4.0.0-dev.6 05:14:05 ---> Running in 7bd4bf1a9cef 05:14:05 Removing intermediate container 7bd4bf1a9cef 05:14:05 ---> c8ad6540dd35 05:14:05 [Warning] One or more build-args [ARCH] were not consumed 05:14:05 Successfully built c8ad6540dd35 05:14:05 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 05:14:05 > git init /w/workspace/device-sdk-go/329 # timeout=10 05:14:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:14:05 > git --version # timeout=10 05:14:05 > git --version # 'git version 2.25.1' 05:14:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:06 05:14:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:06 latest: Pulling from edgex-lftools-log-publisher 05:14:06 5eb5b503b376: Pulling fs layer 05:14:06 5c69ac0246d0: Pulling fs layer 05:14:06 ec43610c2a17: Pulling fs layer 05:14:06 3a2ae6a8a46f: Pulling fs layer 05:14:06 33b1e0a273af: Pulling fs layer 05:14:06 5d3b04190fa2: Pulling fs layer 05:14:06 2f39f015ded8: Pulling fs layer 05:14:06 3a2ae6a8a46f: Waiting 05:14:06 33b1e0a273af: Waiting 05:14:06 5d3b04190fa2: Waiting 05:14:06 2f39f015ded8: Waiting 05:14:06 5c69ac0246d0: Verifying Checksum 05:14:06 5c69ac0246d0: Download complete 05:14:06 3a2ae6a8a46f: Verifying Checksum 05:14:06 3a2ae6a8a46f: Download complete 05:14:06 33b1e0a273af: Verifying Checksum 05:14:06 33b1e0a273af: Download complete 05:14:06 5d3b04190fa2: Verifying Checksum 05:14:06 5d3b04190fa2: Download complete 05:14:06 ec43610c2a17: Verifying Checksum 05:14:06 ec43610c2a17: Download complete 05:14:07 5eb5b503b376: Verifying Checksum 05:14:07 5eb5b503b376: Download complete 05:14:07 2f39f015ded8: Download complete 05:14:08 5eb5b503b376: Pull complete 05:14:08 5c69ac0246d0: Pull complete 05:14:09 ec43610c2a17: Pull complete 05:14:09 3a2ae6a8a46f: Pull complete 05:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:14:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:09 33b1e0a273af: Pull complete 05:14:09 5d3b04190fa2: Pull complete 05:14:09 Avoid second fetch 05:14:09 Checking out Revision 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 (main) 05:14:10 Commit message: "Merge pull request #1649 from edgexfoundry/dependabot/go_modules/golang.org/x/net-0.31.0" 05:14:09 > git config core.sparsecheckout # timeout=10 05:14:09 > git checkout -f 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 # timeout=10 05:14:13 2f39f015ded8: Pull complete 05:14:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:13 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:14:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:14 05:14:14 GitHub has been notified of this commit’s build result 05:14:14 05:14:17 $ docker top 42d161b2c3b23fb5963e7b19555255d8548b33e43caa8ddf26e2559a1dfb19c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:17 ---> job-cost.sh 05:14:17 lf-activate-venv: SKIPPING 05:14:17 INFO: No Stack... 05:14:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:14:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:17 Dload Upload Total Spent Left Speed 05:14:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 05:14:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:14:18 INFO: Archiving Costs [Pipeline] sh 05:14:18 + sudo tee /etc/docker/daemon.new 05:14:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:14:18 { 05:14:18 "registry-mirrors": [ 05:14:18 "https://nexus3.edgexfoundry.org:10001" 05:14:18 ], 05:14:18 "bip": "10.250.0.254/24", 05:14:18 "hosts": [ 05:14:18 "tcp://0.0.0.0:5555", 05:14:18 "unix:///var/run/docker.sock" 05:14:18 ], 05:14:18 "mtu": 1458, 05:14:18 "selinux-enabled": true, 05:14:18 "seccomp-profile": "/etc/docker/seccomp.json" 05:14:18 } [Pipeline] sh 05:14:18 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:14:18 + cut -d, -f6 [Pipeline] lock 05:14:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] 05:14:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] did not exist. Created. 05:14:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:14:19 + echo total: 0.2199999988079071 [Pipeline] stash 05:14:19 Stashed 1 file(s) [Pipeline] } 05:14:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:19 $ docker stop --time=1 42d161b2c3b23fb5963e7b19555255d8548b33e43caa8ddf26e2559a1dfb19c1 05:14:19 + sudo service docker restart 05:14:20 $ docker rm -f --volumes 42d161b2c3b23fb5963e7b19555255d8548b33e43caa8ddf26e2559a1dfb19c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:37 provisioning config files... 05:14:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/329@tmp/config18245168689924151211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:38 ---> ****-login.sh 05:14:38 nexus3.edgexfoundry.org:10001 05:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:38 Configure a credential helper to remove this warning. See 05:14:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:38 05:14:38 Login Succeeded 05:14:38 nexus3.edgexfoundry.org:10002 05:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:39 Configure a credential helper to remove this warning. See 05:14:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:39 05:14:39 Login Succeeded 05:14:39 nexus3.edgexfoundry.org:10003 05:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:39 Configure a credential helper to remove this warning. See 05:14:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:39 05:14:39 Login Succeeded 05:14:39 nexus3.edgexfoundry.org:10004 05:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:40 Configure a credential helper to remove this warning. See 05:14:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:40 05:14:40 Login Succeeded 05:14:40 ****.io 05:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:40 Configure a credential helper to remove this warning. See 05:14:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:40 05:14:40 Login Succeeded 05:14:40 ---> ****-login.sh ends [Pipeline] } 05:14:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:14:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:40 ========================================================= 05:14:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:14:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:41 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 05:14:41 Sending build context to Docker daemon 12.84MB 05:14:41 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:14:41 Step 2/10 : FROM ${BASE} AS builder 05:14:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:14:41 cf04c63912e1: Pulling fs layer 05:14:41 55b35a11ae5e: Pulling fs layer 05:14:41 a37a00ec5f00: Pulling fs layer 05:14:41 50b3750afda1: Pulling fs layer 05:14:41 4f4fb700ef54: Pulling fs layer 05:14:41 80978eb59214: Pulling fs layer 05:14:41 c9f46d7d2bd2: Pulling fs layer 05:14:41 c5a475d317c9: Pulling fs layer 05:14:41 50b3750afda1: Waiting 05:14:41 4f4fb700ef54: Waiting 05:14:41 80978eb59214: Waiting 05:14:41 c9f46d7d2bd2: Waiting 05:14:41 c5a475d317c9: Waiting 05:14:42 55b35a11ae5e: Download complete 05:14:42 50b3750afda1: Verifying Checksum 05:14:42 50b3750afda1: Download complete 05:14:42 4f4fb700ef54: Verifying Checksum 05:14:42 4f4fb700ef54: Download complete 05:14:42 80978eb59214: Verifying Checksum 05:14:42 80978eb59214: Download complete 05:14:42 cf04c63912e1: Verifying Checksum 05:14:42 cf04c63912e1: Download complete 05:14:42 c5a475d317c9: Verifying Checksum 05:14:42 c5a475d317c9: Download complete 05:14:43 cf04c63912e1: Pull complete 05:14:44 55b35a11ae5e: Pull complete 05:14:44 a37a00ec5f00: Verifying Checksum 05:14:44 a37a00ec5f00: Download complete 05:14:44 c9f46d7d2bd2: Verifying Checksum 05:14:44 c9f46d7d2bd2: Download complete 05:14:57 a37a00ec5f00: Pull complete 05:14:57 50b3750afda1: Pull complete 05:14:57 4f4fb700ef54: Pull complete 05:14:57 80978eb59214: Pull complete 05:15:05 c9f46d7d2bd2: Pull complete 05:15:06 c5a475d317c9: Pull complete 05:15:06 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:15:06 ---> be29e6b0f0d4 05:15:06 Step 3/10 : ARG MAKE=make build 05:15:08 ---> Running in 6ba907d0654b 05:15:08 Removing intermediate container 6ba907d0654b 05:15:08 ---> b3a8c7a2529f 05:15:08 Step 4/10 : WORKDIR /device-sdk-go 05:15:08 ---> Running in 9f0fe410bddd 05:15:08 Removing intermediate container 9f0fe410bddd 05:15:08 ---> 72d28d2bc12f 05:15:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:15:09 ---> Running in 874474c283b7 05:15:09 Removing intermediate container 874474c283b7 05:15:09 ---> e410e9cc3487 05:15:09 Step 6/10 : RUN apk add --update --no-cache make git 05:15:09 ---> Running in b4257cad64f3 05:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:15:12 OK: 238 MiB in 54 packages 05:15:13 Removing intermediate container b4257cad64f3 05:15:13 ---> 9070e3d3e812 05:15:13 Step 7/10 : COPY go.mod vendor* ./ 05:15:13 ---> d7dd6c707732 05:15:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:14 ---> Running in 677a0576fcbc 05:17:05 Removing intermediate container 677a0576fcbc 05:17:05 ---> d3cde62483b4 05:17:05 Step 9/10 : COPY . . 05:17:05 ---> ee9574390cef 05:17:05 Step 10/10 : RUN ${MAKE} 05:17:05 ---> Running in dd214bba2566 05:17:05 noop 05:17:05 Removing intermediate container dd214bba2566 05:17:05 ---> 04a90f4f6eb6 05:17:05 Successfully built 04a90f4f6eb6 05:17:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:06 + docker inspect -f . ci-base-image-arm64 05:17:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:06 prd-ubuntu20.04-docker-arm64-4c-16g-26122 does not seem to be running inside a container 05:17:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/329 -v /w/workspace/device-sdk-go/329:/w/workspace/device-sdk-go/329:rw,z -v /w/workspace/device-sdk-go/329@tmp:/w/workspace/device-sdk-go/329@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 05:17:07 $ docker top 78386d51645c67d8a677356d0ab3daa790201e09f1dcf281bdb9cb38487fb688 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:08 + go version 05:17:08 go version go1.23.2 linux/arm64 [Pipeline] } 05:17:08 $ docker stop --time=1 78386d51645c67d8a677356d0ab3daa790201e09f1dcf281bdb9cb38487fb688 05:17:11 $ docker rm -f --volumes 78386d51645c67d8a677356d0ab3daa790201e09f1dcf281bdb9cb38487fb688 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:12 + docker inspect -f . ci-base-image-arm64 05:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:12 prd-ubuntu20.04-docker-arm64-4c-16g-26122 does not seem to be running inside a container 05:17:12 $ 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/329 -v /w/workspace/device-sdk-go/329:/w/workspace/device-sdk-go/329:rw,z -v /w/workspace/device-sdk-go/329@tmp:/w/workspace/device-sdk-go/329@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 05:17:14 $ docker top 62b6007963ce36513f55175d3ca72d054d2c631b38f5553488590a7eff7df6c0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/329 [Pipeline] fileExists [Pipeline] sh 05:17:15 + make test 05:17:15 go test -race -coverprofile=coverage.out ./... 05:18:12 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 05:21:48 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 05:21:48 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 05:21:48 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 05:21:48 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 05:21:48 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 05:21:59 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.194s coverage: 28.7% of statements 05:22:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.198s coverage: 79.4% of statements 05:22:16 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 05:22:16 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 05:22:16 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.304s coverage: 86.0% of statements 05:22:28 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 05:22:30 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.664s coverage: 45.2% of statements 05:22:33 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.301s coverage: 14.1% of statements 05:22:33 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.822s coverage: 44.6% of statements 05:22:38 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 05:22:38 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 05:22:38 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 05:22:40 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.442s coverage: 68.4% of statements 05:22:46 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.401s coverage: 88.3% of statements 05:22:53 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 05:22:53 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.324s coverage: 5.3% of statements 05:22:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:22:55 GO111MODULE=on go vet ./... 05:27:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:27:02 ./bin/test-attribution-txt.sh [Pipeline] echo 05:27:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:27:02 $ docker stop --time=1 62b6007963ce36513f55175d3ca72d054d2c631b38f5553488590a7eff7df6c0 05:27:04 $ docker rm -f --volumes 62b6007963ce36513f55175d3ca72d054d2c631b38f5553488590a7eff7df6c0 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:06 Warning: overwriting stash ‘coverage-report’ 05:27:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:08 + ls -al . 05:27:08 total 700 05:27:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 05:17 . 05:27:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:14 .. 05:27:08 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 05:14 .dockerignore 05:27:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 05:14 .git 05:27:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:14 .github 05:27:08 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 05:14 .gitignore 05:27:08 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 05:14 .golangci.yml 05:27:08 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 05:14 CHANGELOG.md 05:27:08 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 05:14 GOVERNANCE.md 05:27:08 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 05:14 Jenkinsfile 05:27:08 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 05:14 LICENSE 05:27:08 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 05:14 Makefile 05:27:08 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 05:14 OWNERS.md 05:27:08 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 05:14 README.md 05:27:08 -rw-rw-r-- 1 jenkins jenkins 11 Nov 11 05:10 VERSION 05:27:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:14 bin 05:27:08 -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 05:22 coverage.out 05:27:08 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 05:14 example 05:27:08 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 05:14 go.mod 05:27:08 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 05:14 go.sum 05:27:08 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 05:14 internal 05:27:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:14 openapi 05:27:08 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 05:14 pkg 05:27:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:14 snap 05:27:08 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:08 + 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=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 --label arch=arm64 --label version=4.0.0-dev.6 . 05:27:09 Sending build context to Docker daemon 13.31MB 05:27:09 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:27:09 Step 2/24 : FROM ${BASE} AS builder 05:27:09 ---> 04a90f4f6eb6 05:27:09 Step 3/24 : ARG MAKE=make build 05:27:09 ---> Running in b3ca2f9a382b 05:27:09 Removing intermediate container b3ca2f9a382b 05:27:09 ---> 14ea78c2d0ed 05:27:09 Step 4/24 : WORKDIR /device-sdk-go 05:27:09 ---> Running in 16f5e3552047 05:27:10 Removing intermediate container 16f5e3552047 05:27:10 ---> c91d7b0605c7 05:27:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:27:10 ---> Running in d580d81bc210 05:27:10 Removing intermediate container d580d81bc210 05:27:10 ---> 0e6d193b8e7e 05:27:10 Step 6/24 : RUN apk add --update --no-cache make git 05:27:10 ---> Running in 76ebe3164b8e 05:27:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:27:13 OK: 238 MiB in 54 packages 05:27:14 Removing intermediate container 76ebe3164b8e 05:27:14 ---> 4b9a47b4b94f 05:27:14 Step 7/24 : COPY go.mod vendor* ./ 05:27:15 ---> 8c1f2aa0d413 05:27:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:15 ---> Running in 87af9e3aaff5 05:27:17 Removing intermediate container 87af9e3aaff5 05:27:17 ---> bd6556e464eb 05:27:17 Step 9/24 : COPY . . 05:27:18 ---> 50f7eccdf962 05:27:18 Step 10/24 : RUN ${MAKE} 05:27:18 ---> Running in 64d20e7f3cef 05:27:19 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:30:41 Removing intermediate container 64d20e7f3cef 05:30:41 ---> e3bad172191a 05:30:41 Step 11/24 : FROM alpine:3.20 05:30:41 3.20: Pulling from library/alpine 05:30:41 cf04c63912e1: Already exists 05:30:41 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:30:41 Status: Downloaded newer image for alpine:3.20 05:30:41 ---> c157a85ed455 05:30:41 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:30:41 ---> Running in a9a65f5fdb80 05:30:41 Removing intermediate container a9a65f5fdb80 05:30:41 ---> 7c7742d6aac9 05:30:41 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:30:41 ---> Running in f392798e03dd 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:30:41 (1/1) Installing dumb-init (1.2.5-r3) 05:30:41 Executing busybox-1.36.1-r29.trigger 05:30:41 OK: 9 MiB in 15 packages 05:30:41 Removing intermediate container f392798e03dd 05:30:41 ---> e237dacd2970 05:30:41 Step 14/24 : RUN apk --no-cache upgrade 05:30:41 ---> Running in 9198a52072a1 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:30:41 Upgrading critical system libraries and apk-tools: 05:30:41 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:30:41 Executing busybox-1.36.1-r29.trigger 05:30:41 Continuing the upgrade transaction with new apk-tools: 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:30:43 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:30:43 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:30:43 OK: 9 MiB in 15 packages 05:30:44 Removing intermediate container 9198a52072a1 05:30:44 ---> d4a4ec7ca58e 05:30:44 Step 15/24 : WORKDIR / 05:30:44 ---> Running in 57721a65a8a0 05:30:44 Removing intermediate container 57721a65a8a0 05:30:44 ---> aa5c41dc21e6 05:30:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:30:45 ---> b91b80908350 05:30:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:30:47 ---> 752cbbeb2562 05:30:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:30:47 ---> a2f6dbe43676 05:30:47 Step 19/24 : EXPOSE 59999 05:30:47 ---> Running in cb7269298dd3 05:30:48 Removing intermediate container cb7269298dd3 05:30:48 ---> c512bd581eb7 05:30:48 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:30:48 ---> Running in f23186a7152e 05:30:48 Removing intermediate container f23186a7152e 05:30:48 ---> 742c6126364d 05:30:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:30:48 ---> Running in a2fe538066c7 05:30:48 Removing intermediate container a2fe538066c7 05:30:48 ---> 8c986f8c739b 05:30:48 Step 22/24 : LABEL arch=arm64 05:30:48 ---> Running in 275a08fa986e 05:30:49 Removing intermediate container 275a08fa986e 05:30:49 ---> d92f7d071fa4 05:30:49 Step 23/24 : LABEL git_sha=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 05:30:49 ---> Running in 787c5a6cc5ec 05:30:49 Removing intermediate container 787c5a6cc5ec 05:30:49 ---> fc0cfb98bd65 05:30:49 Step 24/24 : LABEL version=4.0.0-dev.6 05:30:49 ---> Running in ff27d69b8967 05:30:49 Removing intermediate container ff27d69b8967 05:30:49 ---> 56a8d800e19a 05:30:49 [Warning] One or more build-args [ARCH] were not consumed 05:30:49 Successfully built 56a8d800e19a 05:30:49 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:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:50 05:30:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:50 arm64: Pulling from edgex-lftools-log-publisher 05:30:50 8998bd30e6a1: Pulling fs layer 05:30:50 04944245beec: Pulling fs layer 05:30:50 699f458cf7ca: Pulling fs layer 05:30:50 765212b225bb: Pulling fs layer 05:30:50 f23df028b6ca: Pulling fs layer 05:30:50 d65c8cfc05b1: Pulling fs layer 05:30:50 2437ff75d9bd: Pulling fs layer 05:30:50 765212b225bb: Waiting 05:30:50 f23df028b6ca: Waiting 05:30:50 d65c8cfc05b1: Waiting 05:30:50 2437ff75d9bd: Waiting 05:30:51 04944245beec: Verifying Checksum 05:30:51 04944245beec: Download complete 05:30:51 765212b225bb: Verifying Checksum 05:30:51 765212b225bb: Download complete 05:30:51 f23df028b6ca: Verifying Checksum 05:30:51 f23df028b6ca: Download complete 05:30:51 d65c8cfc05b1: Verifying Checksum 05:30:51 d65c8cfc05b1: Download complete 05:30:51 699f458cf7ca: Verifying Checksum 05:30:51 699f458cf7ca: Download complete 05:30:51 8998bd30e6a1: Verifying Checksum 05:30:51 8998bd30e6a1: Download complete 05:30:54 2437ff75d9bd: Verifying Checksum 05:30:54 2437ff75d9bd: Download complete 05:30:56 8998bd30e6a1: Pull complete 05:30:56 04944245beec: Pull complete 05:30:58 699f458cf7ca: Pull complete 05:30:58 765212b225bb: Pull complete 05:30:59 f23df028b6ca: Pull complete 05:30:59 d65c8cfc05b1: Pull complete 05:31:17 2437ff75d9bd: Pull complete 05:31:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:17 prd-ubuntu20.04-docker-arm64-4c-16g-26122 does not seem to be running inside a container 05:31:17 $ 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/329 -v /w/workspace/device-sdk-go/329:/w/workspace/device-sdk-go/329:rw,z -v /w/workspace/device-sdk-go/329@tmp:/w/workspace/device-sdk-go/329@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:31:20 $ docker top e0caaed6ff6faf8d17a10b881352ad70cefea0b74debf16a66c6d0006a262694 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:21 ---> job-cost.sh 05:31:21 lf-activate-venv: SKIPPING 05:31:21 INFO: No Stack... 05:31:21 INFO: Retrieving Pricing Info for: v3-standard-4 05:31:22 INFO: Archiving Costs [Pipeline] sh 05:31:23 + + cutcat -d, /w/workspace/device-sdk-go/329/archives/cost.csv -f6 05:31:23 [Pipeline] lock 05:31:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] 05:31:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] did not exist. Created. 05:31:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:23 /w/workspace/device-sdk-go/329@tmp/durable-6e68c54d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:31:24 + echo total: 0.10999999940395355 [Pipeline] stash 05:31:24 Warning: overwriting stash ‘stack-cost’ 05:31:24 Stashed 1 file(s) [Pipeline] } 05:31:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-329-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:24 $ docker stop --time=1 e0caaed6ff6faf8d17a10b881352ad70cefea0b74debf16a66c6d0006a262694 05:31:26 $ docker rm -f --volumes e0caaed6ff6faf8d17a10b881352ad70cefea0b74debf16a66c6d0006a262694 [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:31:26 provisioning config files... 05:31:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16496122339580668321tmp [Pipeline] { [Pipeline] sh 05:31:27 + set +x 05:31:27 + bash -s -- 05:31:27 + curl -s https://codecov.io/bash 05:31:27 05:31:27 _____ _ 05:31:27 / ____| | | 05:31:27 | | ___ __| | ___ ___ _____ __ 05:31:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:31:27 | |___| (_) | (_| | __/ (_| (_) \ V / 05:31:27 \_____\___/ \__,_|\___|\___\___/ \_/ 05:31:27 Bash-1.0.6 05:31:27 05:31:27 05:31:27 ==> git version 2.25.1 found 05:31:27 ==> 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:31:27 Release-Date: 2020-01-08 05:31:27 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:31:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:31:27 ==> Jenkins CI detected. 05:31:27 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:31:27 project root: . 05:31:27 --> token set from env 05:31:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:31:27 ==> Running gcov in . (disable via -X gcov) 05:31:27 ==> Python coveragepy not found 05:31:27 ==> Searching for coverage reports in: 05:31:27 + . 05:31:27 -> Found 1 reports 05:31:27 ==> Detecting git/mercurial file structure 05:31:27 ==> Reading reports 05:31:27 + ./coverage.out bytes=468087 05:31:27 ==> Appending adjustments 05:31:27 https://docs.codecov.io/docs/fixing-reports 05:31:27 + Found adjustments 05:31:27 ==> Gzipping contents 05:31:27 44K /tmp/codecov.CHapJV.gz 05:31:27 ==> Uploading reports 05:31:27 url: https://codecov.io 05:31:27 query: branch=main&commit=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4&build=329&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F329%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:31:27 -> Pinging Codecov 05:31:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=18c36d44e625e743ff5cb3bdbedfefc7600ac5d4&build=329&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F329%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:31:27 -> Uploading to 05:31:27 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/18c36d44e625e743ff5cb3bdbedfefc7600ac5d4/3a2f2827-89e1-4454-8a51-f9b75a697a56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T053127Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=29764bd96eb60e7db7b716c50ed40c2147e83ca21ff21d6e4a3b7e23e35cf18b 05:31:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:27 Dload Upload Total Spent Left Speed 05:31:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44776 0 0 100 44776 0 168k --:--:-- --:--:-- --:--:-- 168k 05:31:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] } 05:31:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:31:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:31:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:31:28 05:31:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:31:28 latest: Pulling from edgex-devops/edgex-snyk-go 05:31:28 43c4264eed91: Already exists 05:31:28 4cc291be95ef: Already exists 05:31:28 2ac1f1163629: Already exists 05:31:28 5c3c966382ef: Already exists 05:31:28 4f4fb700ef54: Already exists 05:31:28 d9c7d2e4e75e: Pulling fs layer 05:31:28 9c3e1370e548: Pulling fs layer 05:31:29 d9c7d2e4e75e: Verifying Checksum 05:31:29 d9c7d2e4e75e: Download complete 05:31:29 d9c7d2e4e75e: Pull complete 05:31:29 9c3e1370e548: Verifying Checksum 05:31:29 9c3e1370e548: Download complete 05:31:33 9c3e1370e548: Pull complete 05:31:33 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:31:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:31:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:33 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:31:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:31:35 $ docker top 99504d2052f7dc228832330f4593d002eba74fd3c7140f5ad00636d4f30fcedb -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:31:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:31:35 + set -o pipefail 05:31:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:31:42 05:31:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v4)... 05:31:42 05:31:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/8722ac0a-1b30-4208-84cd-4d5c37f0743a 05:31:42 05:31:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:31:42 05:31:42 05:31:42 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:31:42 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:31:43 $ docker stop --time=1 99504d2052f7dc228832330f4593d002eba74fd3c7140f5ad00636d4f30fcedb 05:31:47 $ docker rm -f --volumes 99504d2052f7dc228832330f4593d002eba74fd3c7140f5ad00636d4f30fcedb [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:31:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:48 provisioning config files... 05:31:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13474520938940018329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:48 --> edgex-publish-swagger.sh 05:31:48 === Publish openapi API === 05:31:48 [publishToSwagger] Publishing the API Docs [openapi] to Swagger 05:31:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/device-sdk.yaml] 05:31:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:48 Dload Upload Total Spent Left Speed 05:31:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 445 104k --:--:-- --:--:-- --:--:-- 105k 05:31:49 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:31:49 [Pipeline] } 05:31:49 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:31:49 + git log --format=format:%s -1 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 [Pipeline] sh 05:31:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:50 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:50 $ docker top 6fa3cb9c87d8bf0b7c11a064dcc7c0367b3cb37136dd372a135109ff660eccb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:50 [ssh-agent] Looking for ssh-agent implementation... 05:31:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:51 $ docker exec 6fa3cb9c87d8bf0b7c11a064dcc7c0367b3cb37136dd372a135109ff660eccb0 ssh-agent 05:31:51 SSH_AUTH_SOCK=/tmp/ssh-hsbTHtX96lKm/agent.32 05:31:51 SSH_AGENT_PID=38 05:31:51 Running ssh-add (command line suppressed) 05:31:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16923304889060422103.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16923304889060422103.key) 05:31:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:51 + git semver tag 05:31:51 2024-11-11 05:31:51,775 [run_tag] DEBUG tag force:False 05:31:51 2024-11-11 05:31:51,775 [check_head_tag] DEBUG check head tag 05:31:51 2024-11-11 05:31:51,777 [execute] INFO git cat-file --batch-check 05:31:51 2024-11-11 05:31:51,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:31:51 2024-11-11 05:31:51,781 [execute] INFO git cat-file --batch 05:31:51 2024-11-11 05:31:51,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:31:51 2024-11-11 05:31:51,812 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:51 2024-11-11 05:31:51,813 [execute] INFO git tag -a v4.0.0-dev.6 -m v4.0.0-dev.6 05:31:51 2024-11-11 05:31:51,813 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.6', '-m', 'v4.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:31:51 2024-11-11 05:31:51,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:51 4.0.0-dev.6 [Pipeline] } 05:31:51 $ docker exec --env ******** --env ******** 6fa3cb9c87d8bf0b7c11a064dcc7c0367b3cb37136dd372a135109ff660eccb0 ssh-agent -k 05:31:51 unset SSH_AUTH_SOCK; 05:31:51 unset SSH_AGENT_PID; 05:31:51 echo Agent pid 38 killed; 05:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:52 + git semver [Pipeline] } 05:31:52 $ docker stop --time=1 6fa3cb9c87d8bf0b7c11a064dcc7c0367b3cb37136dd372a135109ff660eccb0 05:31:53 $ docker rm -f --volumes 6fa3cb9c87d8bf0b7c11a064dcc7c0367b3cb37136dd372a135109ff660eccb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:54 05:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:54 0.23.1-centos7: Pulling from edgex-lftools 05:31:54 ab5ef0e58194: Pulling fs layer 05:31:54 9712f1f96733: Pulling fs layer 05:31:54 63f879dbbcfc: Pulling fs layer 05:31:54 0d9ebad4ef96: Pulling fs layer 05:31:54 e9a5061849ea: Pulling fs layer 05:31:54 0d9ebad4ef96: Waiting 05:31:54 e9a5061849ea: Waiting 05:31:54 d747dcd14b5f: Pulling fs layer 05:31:54 2de7ff778b66: Pulling fs layer 05:31:54 2de7ff778b66: Waiting 05:31:54 d747dcd14b5f: Waiting 05:31:54 9712f1f96733: Verifying Checksum 05:31:54 9712f1f96733: Download complete 05:31:54 63f879dbbcfc: Verifying Checksum 05:31:54 63f879dbbcfc: Download complete 05:31:55 e9a5061849ea: Verifying Checksum 05:31:55 e9a5061849ea: Download complete 05:31:55 d747dcd14b5f: Download complete 05:31:55 0d9ebad4ef96: Verifying Checksum 05:31:55 0d9ebad4ef96: Download complete 05:31:55 2de7ff778b66: Verifying Checksum 05:31:55 2de7ff778b66: Download complete 05:31:55 ab5ef0e58194: Verifying Checksum 05:31:55 ab5ef0e58194: Download complete 05:31:58 ab5ef0e58194: Pull complete 05:31:58 9712f1f96733: Pull complete 05:31:58 63f879dbbcfc: Pull complete 05:32:02 0d9ebad4ef96: Pull complete 05:32:03 e9a5061849ea: Pull complete 05:32:03 d747dcd14b5f: Pull complete 05:32:04 2de7ff778b66: Pull complete 05:32:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:32:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:04 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:32:09 $ docker top 2deae7095e18e2402f24e25d03b4f00d9c60d53da13281f9d96a78915fa3598e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:32:09 provisioning config files... 05:32:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3025253234800929434tmp 05:32:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4051223723020260885tmp 05:32:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3723275404510868137tmp [Pipeline] { [Pipeline] echo 05:32:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:32:10 ---> sigul-configuration.sh 05:32:10 gpg: directory `/root/.gnupg' created 05:32:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:32:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:32:10 gpg: keyring `/root/.gnupg/secring.gpg' created 05:32:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:32:10 gpg: CAST5 encrypted data 05:32:10 gpg: encrypted with 1 passphrase 05:32:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:32:10 + mkdir /home/jenkins 05:32:10 + mkdir /home/jenkins/sigul [Pipeline] sh 05:32:10 + 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:32:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:32:11 ---> sigul-install.sh 05:32:11 Sigul already installed; skipping installation. [Pipeline] sh 05:32:11 + git tag --list 05:32:11 0.7.1 05:32:11 delhi-tag 05:32:11 v1.0.0 05:32:11 v1.1.0 05:32:11 v1.1.1 05:32:11 v1.1.2 05:32:11 v1.2.0 05:32:11 v1.2.1 05:32:11 v1.2.2 05:32:11 v1.2.3 05:32:11 v1.3.0 05:32:11 v1.4.0 05:32:11 v2.0.0 05:32:11 v2.1.0 05:32:11 v2.1.1 05:32:11 v2.2.0 05:32:11 v2.3.0 05:32:11 v2.3.1 05:32:11 v3.0 05:32:11 v3.0.0 05:32:11 v3.0.1-dev.1 05:32:11 v3.1 05:32:11 v3.1.0 05:32:11 v3.1.0-dev.1 05:32:11 v3.1.0-dev.10 05:32:11 v3.1.0-dev.11 05:32:11 v3.1.0-dev.12 05:32:11 v3.1.0-dev.13 05:32:11 v3.1.0-dev.14 05:32:11 v3.1.0-dev.15 05:32:11 v3.1.0-dev.16 05:32:11 v3.1.0-dev.17 05:32:11 v3.1.0-dev.18 05:32:11 v3.1.0-dev.19 05:32:11 v3.1.0-dev.2 05:32:11 v3.1.0-dev.20 05:32:11 v3.1.0-dev.21 05:32:11 v3.1.0-dev.22 05:32:11 v3.1.0-dev.23 05:32:11 v3.1.0-dev.24 05:32:11 v3.1.0-dev.25 05:32:11 v3.1.0-dev.26 05:32:11 v3.1.0-dev.27 05:32:11 v3.1.0-dev.28 05:32:11 v3.1.0-dev.29 05:32:11 v3.1.0-dev.3 05:32:11 v3.1.0-dev.30 05:32:11 v3.1.0-dev.31 05:32:11 v3.1.0-dev.32 05:32:11 v3.1.0-dev.33 05:32:11 v3.1.0-dev.34 05:32:11 v3.1.0-dev.35 05:32:11 v3.1.0-dev.36 05:32:11 v3.1.0-dev.37 05:32:11 v3.1.0-dev.38 05:32:11 v3.1.0-dev.39 05:32:11 v3.1.0-dev.4 05:32:11 v3.1.0-dev.40 05:32:11 v3.1.0-dev.41 05:32:11 v3.1.0-dev.5 05:32:11 v3.1.0-dev.6 05:32:11 v3.1.0-dev.7 05:32:11 v3.1.0-dev.8 05:32:11 v3.1.0-dev.9 05:32:11 v3.1.1 05:32:11 v3.1.1-dev.1 05:32:11 v3.2.0-dev.1 05:32:11 v3.2.0-dev.10 05:32:11 v3.2.0-dev.11 05:32:11 v3.2.0-dev.12 05:32:11 v3.2.0-dev.13 05:32:11 v3.2.0-dev.14 05:32:11 v3.2.0-dev.15 05:32:11 v3.2.0-dev.16 05:32:11 v3.2.0-dev.17 05:32:11 v3.2.0-dev.18 05:32:11 v3.2.0-dev.19 05:32:11 v3.2.0-dev.2 05:32:11 v3.2.0-dev.20 05:32:11 v3.2.0-dev.21 05:32:11 v3.2.0-dev.22 05:32:11 v3.2.0-dev.23 05:32:11 v3.2.0-dev.24 05:32:11 v3.2.0-dev.25 05:32:11 v3.2.0-dev.26 05:32:11 v3.2.0-dev.27 05:32:11 v3.2.0-dev.28 05:32:11 v3.2.0-dev.29 05:32:11 v3.2.0-dev.3 05:32:11 v3.2.0-dev.30 05:32:11 v3.2.0-dev.31 05:32:11 v3.2.0-dev.32 05:32:11 v3.2.0-dev.33 05:32:11 v3.2.0-dev.34 05:32:11 v3.2.0-dev.35 05:32:11 v3.2.0-dev.36 05:32:11 v3.2.0-dev.37 05:32:11 v3.2.0-dev.38 05:32:11 v3.2.0-dev.39 05:32:11 v3.2.0-dev.4 05:32:11 v3.2.0-dev.40 05:32:11 v3.2.0-dev.41 05:32:11 v3.2.0-dev.42 05:32:11 v3.2.0-dev.43 05:32:11 v3.2.0-dev.44 05:32:11 v3.2.0-dev.45 05:32:11 v3.2.0-dev.46 05:32:11 v3.2.0-dev.47 05:32:11 v3.2.0-dev.48 05:32:11 v3.2.0-dev.5 05:32:11 v3.2.0-dev.6 05:32:11 v3.2.0-dev.7 05:32:11 v3.2.0-dev.8 05:32:11 v3.2.0-dev.9 05:32:11 v4.0.0-dev.1 05:32:11 v4.0.0-dev.2 05:32:11 v4.0.0-dev.3 05:32:11 v4.0.0-dev.4 05:32:11 v4.0.0-dev.5 05:32:11 v4.0.0-dev.6 [Pipeline] sh 05:32:11 + lftools sign git-tag v4.0.0-dev.6 05:32:12 Signing Git tag with Sigul... 05:32:12 Signing v4.0.0-dev.6 [Pipeline] echo 05:32:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:32:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:32:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:32:12 $ docker stop --time=1 2deae7095e18e2402f24e25d03b4f00d9c60d53da13281f9d96a78915fa3598e 05:32:14 $ docker rm -f --volumes 2deae7095e18e2402f24e25d03b4f00d9c60d53da13281f9d96a78915fa3598e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:32:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:15 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:32:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:32:15 $ docker top c541abd684918a9559e9a98f4245c86b6b566e85ffb685b22272b5f85abf51f7 -eo pid,comm 05:32:15 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:32:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:15 [ssh-agent] Looking for ssh-agent implementation... 05:32:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:15 $ docker exec c541abd684918a9559e9a98f4245c86b6b566e85ffb685b22272b5f85abf51f7 ssh-agent 05:32:15 SSH_AUTH_SOCK=/tmp/ssh-qAOelD3XyUpQ/agent.32 05:32:15 SSH_AGENT_PID=38 05:32:15 Running ssh-add (command line suppressed) 05:32:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3078311883655205972.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3078311883655205972.key) 05:32:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:16 + git semver bump pre 05:32:16 2024-11-11 05:32:16,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:16 2024-11-11 05:32:16,464 [bump_version] DEBUG bumping version:4.0.0-dev.6 on axis:pre with prefix:dev 05:32:16 2024-11-11 05:32:16,464 [bump_version] DEBUG bumped version:4.0.0-dev.7 05:32:16 2024-11-11 05:32:16,464 [write_version] DEBUG write version:4.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:32:16 2024-11-11 05:32:16,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:16 2024-11-11 05:32:16,464 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:16 2024-11-11 05:32:16,466 [execute] INFO git cat-file --batch-check 05:32:16 2024-11-11 05:32:16,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:32:16 2024-11-11 05:32:16,472 [execute] INFO git cat-file --batch 05:32:16 2024-11-11 05:32:16,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:32:16 2024-11-11 05:32:16,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:16 4.0.0-dev.7 [Pipeline] } 05:32:16 $ docker exec --env ******** --env ******** c541abd684918a9559e9a98f4245c86b6b566e85ffb685b22272b5f85abf51f7 ssh-agent -k 05:32:16 unset SSH_AUTH_SOCK; 05:32:16 unset SSH_AGENT_PID; 05:32:16 echo Agent pid 38 killed; 05:32:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:16 + git semver [Pipeline] } 05:32:17 $ docker stop --time=1 c541abd684918a9559e9a98f4245c86b6b566e85ffb685b22272b5f85abf51f7 05:32:18 $ docker rm -f --volumes c541abd684918a9559e9a98f4245c86b6b566e85ffb685b22272b5f85abf51f7 [Pipeline] // withDockerContainer [Pipeline] sh 05:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:19 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:32: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:32:19 $ docker top 01d43a281650bc2468ffcf8126531b648b100c2317520ceafb09722a5e316741 -eo pid,comm 05:32:19 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:32:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:19 [ssh-agent] Looking for ssh-agent implementation... 05:32:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:19 $ docker exec 01d43a281650bc2468ffcf8126531b648b100c2317520ceafb09722a5e316741 ssh-agent 05:32:20 SSH_AUTH_SOCK=/tmp/ssh-wGwMlFQRQCRC/agent.31 05:32:20 SSH_AGENT_PID=37 05:32:20 Running ssh-add (command line suppressed) 05:32:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17071009900976710901.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17071009900976710901.key) 05:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:20 + git semver push 05:32:20 2024-11-11 05:32:20,617 [run_push] DEBUG push 05:32:20 2024-11-11 05:32:20,617 [execute] INFO git cat-file --batch-check 05:32:20 2024-11-11 05:32:20,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:32:20 2024-11-11 05:32:20,622 [execute] INFO git rev-list 7d49016d1637a73cf914f42dc5c7929c8ceb2b34 -- 05:32:20 2024-11-11 05:32:20,622 [execute] DEBUG Popen(['git', 'rev-list', '7d49016d1637a73cf914f42dc5c7929c8ceb2b34', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:32:20 2024-11-11 05:32:20,638 [execute] INFO git fetch -v origin 05:32:20 2024-11-11 05:32:20,639 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:32:21 2024-11-11 05:32:21,083 [run_push] DEBUG no remote changes detected 05:32:21 2024-11-11 05:32:21,084 [execute] INFO git push origin semver 05:32:21 2024-11-11 05:32:21,085 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:32:21 2024-11-11 05:32:21,722 [run_push] DEBUG push all version tags 05:32:21 2024-11-11 05:32:21,722 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:32:21 2024-11-11 05:32:21,723 [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:32:22 2024-11-11 05:32:22,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:22 4.0.0-dev.7 [Pipeline] } 05:32:22 $ docker exec --env ******** --env ******** 01d43a281650bc2468ffcf8126531b648b100c2317520ceafb09722a5e316741 ssh-agent -k 05:32:22 unset SSH_AUTH_SOCK; 05:32:22 unset SSH_AGENT_PID; 05:32:22 echo Agent pid 37 killed; 05:32:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:22 + git semver [Pipeline] } 05:32:23 $ docker stop --time=1 01d43a281650bc2468ffcf8126531b648b100c2317520ceafb09722a5e316741 05:32:24 $ docker rm -f --volumes 01d43a281650bc2468ffcf8126531b648b100c2317520ceafb09722a5e316741 [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:32:25 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:32:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:32:25 total 16 05:32:25 drwxr-xr-x 3 root root 4096 Nov 11 05:14 . 05:32:25 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 05:32 .. 05:32:25 drwxr-xr-x 2 root root 4096 Nov 11 05:14 cost 05:32:25 -rw-r--r-- 1 root root 85 Nov 11 05:14 cost.csv 05:32:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:32:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:32:25 total 16 05:32:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 05:14 . 05:32:25 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 05:32 .. 05:32:25 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 05:14 cost 05:32:25 -rw-r--r-- 1 jenkins jenkins 85 Nov 11 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:32:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:32:26 ---> package-listing.sh 05:32:26 ++ tr '[:upper:]' '[:lower:]' 05:32:26 ++ facter osfamily 05:32:26 + OS_FAMILY=debian 05:32:26 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:32:26 + START_PACKAGES=/tmp/packages_start.txt 05:32:26 + END_PACKAGES=/tmp/packages_end.txt 05:32:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:32:26 + PACKAGES=/tmp/packages_start.txt 05:32:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:32:26 + PACKAGES=/tmp/packages_end.txt 05:32:26 + case "${OS_FAMILY}" in 05:32:26 + dpkg -l 05:32:26 + grep '^ii' 05:32:26 + '[' -f /tmp/packages_start.txt ']' 05:32:26 + '[' -f /tmp/packages_end.txt ']' 05:32:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:32:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:32:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:32:26 + 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:32:26 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:32:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:32:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:27 prd-ubuntu20.04-docker-8c-8g-26120 does not seem to be running inside a container 05:32:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:32:27 $ docker top b8a46704e97d302d2c7b6c78ce36688a3f640b98e4954919bc4200d3dedc5bb9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:28 + touch /tmp/pre-build-complete [Pipeline] sh 05:32:28 + mkdir -p /var/log/sysstat [Pipeline] sh 05:32:28 + ls /var/log/sa-host 05:32:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:28 provisioning config files... 05:32:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5515746814460137166tmp [Pipeline] { [Pipeline] echo 05:32:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:32:28 ---> create-netrc.sh [Pipeline] } 05:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:32:29 ---> python-tools-install.sh [Pipeline] echo 05:32:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:32:29 ---> sudo-logs.sh 05:32:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:32:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:32:29 ---> job-cost.sh 05:32:29 lf-activate-venv: SKIPPING 05:32:29 DEBUG: total: 0.2199999988079071 05:32:29 INFO: Retrieving Stack Cost... 05:32:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:32:30 INFO: Archiving Costs [Pipeline] echo 05:32:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:32:31 ---> logs-deploy.sh 05:32:31 lf-activate-venv: SKIPPING 05:32:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/329 05:32:31 INFO: archiving workspace using pattern(s): 05:32:32 Archives upload complete. 05:32:32 INFO: archiving logs to Nexus