Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0938cd2ac4963db8301e48aca9045440aa630af 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-ssh9078812753268973336.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-ssh5163231708253559285.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-ssh3897765607717383344.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-ssh4672657413128530035.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-ssh679867920790221888.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24204 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 a0938cd2ac4963db8301e48aca9045440aa630af (main) Commit message: "Merge pull request #1643 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v4-4.0.0-dev.2" > 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 a0938cd2ac4963db8301e48aca9045440aa630af # timeout=10 > git rev-list --no-walk 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:26 ========================================================= 04:54:26 EdgeX Global Pipelines Version Info 04:54:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:27 ------------------- 04:54:27 stable info: 04:54:27 ------------------- 04:54:27 Commited By: Ginny Guan ginny@iotechsys.com 04:54:27 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:54:27 Message: update stable to v1.0.265 04:54:28 ------------------- 04:54:28 experimental info: 04:54:28 ------------------- 04:54:28 Commited By: Cherry Wang cherry@iotechsys.com 04:54:28 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:54:28 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0938cd [Pipeline] echo 04:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:29 provisioning config files... 04:54:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5633989990362080808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:29 ---> ****-login.sh 04:54:29 nexus3.edgexfoundry.org:10001 04:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:30 Configure a credential helper to remove this warning. See 04:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:30 04:54:30 Login Succeeded 04:54:30 nexus3.edgexfoundry.org:10002 04:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:30 Configure a credential helper to remove this warning. See 04:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:30 04:54:30 Login Succeeded 04:54:30 nexus3.edgexfoundry.org:10003 04:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:30 Configure a credential helper to remove this warning. See 04:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:30 04:54:30 Login Succeeded 04:54:30 nexus3.edgexfoundry.org:10004 04:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:30 Configure a credential helper to remove this warning. See 04:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:30 04:54:30 Login Succeeded 04:54:30 ****.io 04:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:30 Configure a credential helper to remove this warning. See 04:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:30 04:54:30 Login Succeeded 04:54:30 ---> ****-login.sh ends [Pipeline] } 04:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:31 + git rev-list -1 --merges a0938cd2ac4963db8301e48aca9045440aa630af~1..a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] echo 04:54:31 -----------> git rev-list -1 --merges a0938cd2ac4963db8301e48aca9045440aa630af~1..a0938cd2ac4963db8301e48aca9045440aa630af a0938cd2ac4963db8301e48aca9045440aa630af 04:54:31 a0938cd2ac4963db8301e48aca9045440aa630af [false] [Pipeline] sh 04:54:31 + git log --format=format:%s -1 a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] echo 04:54:31 ========================================================= 04:54:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:32 + git log --format=format:%s -1 a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] echo 04:54:32 [semverPrep] GIT_COMMIT: a0938cd2ac4963db8301e48aca9045440aa630af, Commit Message: Merge pull request #1643 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v4-4.0.0-dev.2 [Pipeline] echo 04:54:32 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:32 + grep -v github /etc/ssh/ssh_known_hosts 04:54:32 + [ -e /tmp/ssh_known_hosts ] 04:54:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:32 + sudo tee -a /etc/ssh/ssh_known_hosts 04:54:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:32 04:54:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:33 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:33 b85a868b505f: Pulling fs layer 04:54:33 e2be974225ed: Pulling fs layer 04:54:33 339a4e72a1f5: Pulling fs layer 04:54:33 988bab9f4d93: Pulling fs layer 04:54:33 1469e6f7b9e6: Pulling fs layer 04:54:33 eaf3925da568: Pulling fs layer 04:54:33 bab4dde63d76: Pulling fs layer 04:54:33 bde34c3a00c8: Pulling fs layer 04:54:33 b352a97aabf1: Pulling fs layer 04:54:33 988bab9f4d93: Waiting 04:54:33 1469e6f7b9e6: Waiting 04:54:33 4872d77fe225: Pulling fs layer 04:54:33 5851b861e8e6: Pulling fs layer 04:54:33 bde34c3a00c8: Waiting 04:54:33 eaf3925da568: Waiting 04:54:33 b352a97aabf1: Waiting 04:54:33 bab4dde63d76: Waiting 04:54:33 4872d77fe225: Waiting 04:54:33 5851b861e8e6: Waiting 04:54:33 e2be974225ed: Download complete 04:54:33 988bab9f4d93: Verifying Checksum 04:54:33 988bab9f4d93: Download complete 04:54:33 1469e6f7b9e6: Verifying Checksum 04:54:33 1469e6f7b9e6: Download complete 04:54:33 eaf3925da568: Verifying Checksum 04:54:33 eaf3925da568: Download complete 04:54:33 339a4e72a1f5: Verifying Checksum 04:54:33 339a4e72a1f5: Download complete 04:54:33 bde34c3a00c8: Download complete 04:54:33 b352a97aabf1: Verifying Checksum 04:54:33 b352a97aabf1: Download complete 04:54:33 4872d77fe225: Verifying Checksum 04:54:33 4872d77fe225: Download complete 04:54:33 5851b861e8e6: Download complete 04:54:33 b85a868b505f: Verifying Checksum 04:54:33 b85a868b505f: Download complete 04:54:33 bab4dde63d76: Verifying Checksum 04:54:33 bab4dde63d76: Download complete 04:54:34 b85a868b505f: Pull complete 04:54:34 e2be974225ed: Pull complete 04:54:35 339a4e72a1f5: Pull complete 04:54:35 988bab9f4d93: Pull complete 04:54:35 1469e6f7b9e6: Pull complete 04:54:35 eaf3925da568: Pull complete 04:54:37 bab4dde63d76: Pull complete 04:54:37 bde34c3a00c8: Pull complete 04:54:37 b352a97aabf1: Pull complete 04:54:37 4872d77fe225: Pull complete 04:54:37 5851b861e8e6: Pull complete 04:54:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:38 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 04:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:54:41 $ docker top d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a -eo pid,comm 04:54:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:54:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:41 [ssh-agent] Looking for ssh-agent implementation... 04:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:41 $ docker exec d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a ssh-agent 04:54:41 SSH_AUTH_SOCK=/tmp/ssh-Jawi2tpCRBzH/agent.32 04:54:41 SSH_AGENT_PID=38 04:54:41 Running ssh-add (command line suppressed) 04:54:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16404917509896732228.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16404917509896732228.key) 04:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:42 + git tag --points-at HEAD [Pipeline] } 04:54:42 $ docker exec --env ******** --env ******** d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a ssh-agent -k 04:54:42 unset SSH_AUTH_SOCK; 04:54:42 unset SSH_AGENT_PID; 04:54:42 echo Agent pid 38 killed; 04:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:42 [ssh-agent] Looking for ssh-agent implementation... 04:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:42 $ docker exec d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a ssh-agent 04:54:42 SSH_AUTH_SOCK=/tmp/ssh-n6XAj7LZoiA4/agent.72 04:54:42 SSH_AGENT_PID=78 04:54:42 Running ssh-add (command line suppressed) 04:54:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9074961953764334759.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9074961953764334759.key) 04:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:42 + git semver init 04:54:43 2024-10-31 04:54:42,979 [run_init] DEBUG init version:0.0.0 force:False 04:54:43 2024-10-31 04:54:42,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:54:43 2024-10-31 04:54:42,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:54:43 2024-10-31 04:54:42,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:54:45 2024-10-31 04:54:45,125 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:54:45 2024-10-31 04:54:45,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:54:45 2024-10-31 04:54:45,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:54:45 2024-10-31 04:54:45,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:54:45 4.0.0-dev.2 [Pipeline] } 04:54:45 $ docker exec --env ******** --env ******** d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a ssh-agent -k 04:54:45 unset SSH_AUTH_SOCK; 04:54:45 unset SSH_AGENT_PID; 04:54:45 echo Agent pid 78 killed; 04:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:46 + git semver [Pipeline] } 04:54:46 $ docker stop --time=1 d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a 04:54:47 $ docker rm -f --volumes d2c0a958a4fd09e36f895a0998e0a7d135ec100ddd8f3dd5be9c8218de6e8b5a [Pipeline] // withDockerContainer [Pipeline] sh 04:54:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:54:48 Stashed 1 file(s) [Pipeline] echo 04:54:48 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:48 provisioning config files... 04:54:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4940006905961373472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:48 ---> ****-login.sh 04:54:48 nexus3.edgexfoundry.org:10001 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10002 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10003 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 nexus3.edgexfoundry.org:10004 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 ****.io 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 ---> ****-login.sh ends [Pipeline] } 04:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:54:49 ========================================================= 04:54:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:54:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:49 + 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 . 04:54:49 Sending build context to Docker daemon 25.55MB 04:54:49 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:54:49 Step 2/10 : FROM ${BASE} AS builder 04:54:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:50 43c4264eed91: Pulling fs layer 04:54:50 4cc291be95ef: Pulling fs layer 04:54:50 2ac1f1163629: Pulling fs layer 04:54:50 5c3c966382ef: Pulling fs layer 04:54:50 4f4fb700ef54: Pulling fs layer 04:54:50 5d5c8e513c77: Pulling fs layer 04:54:50 9f66e0745190: Pulling fs layer 04:54:50 f49a43e4bbc0: Pulling fs layer 04:54:50 561ebcabdf7f: Pulling fs layer 04:54:50 5c3c966382ef: Waiting 04:54:50 9f66e0745190: Waiting 04:54:50 4f4fb700ef54: Waiting 04:54:50 f49a43e4bbc0: Waiting 04:54:50 5d5c8e513c77: Waiting 04:54:50 561ebcabdf7f: Waiting 04:54:50 4cc291be95ef: Verifying Checksum 04:54:50 4cc291be95ef: Download complete 04:54:50 5c3c966382ef: Download complete 04:54:50 4f4fb700ef54: Verifying Checksum 04:54:50 4f4fb700ef54: Download complete 04:54:50 5d5c8e513c77: Verifying Checksum 04:54:50 5d5c8e513c77: Download complete 04:54:50 43c4264eed91: Verifying Checksum 04:54:50 43c4264eed91: Download complete 04:54:50 9f66e0745190: Verifying Checksum 04:54:50 9f66e0745190: Download complete 04:54:50 43c4264eed91: Pull complete 04:54:50 561ebcabdf7f: Verifying Checksum 04:54:50 561ebcabdf7f: Download complete 04:54:50 4cc291be95ef: Pull complete 04:54:50 2ac1f1163629: Verifying Checksum 04:54:50 2ac1f1163629: Download complete 04:54:50 f49a43e4bbc0: Verifying Checksum 04:54:50 f49a43e4bbc0: Download complete 04:54:54 2ac1f1163629: Pull complete 04:54:54 5c3c966382ef: Pull complete 04:54:54 4f4fb700ef54: Pull complete 04:54:54 5d5c8e513c77: Pull complete 04:54:54 9f66e0745190: Pull complete 04:54:56 f49a43e4bbc0: Pull complete 04:54:56 561ebcabdf7f: Pull complete 04:54:57 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:54:57 ---> 3a752c3f9dda 04:54:57 Step 3/10 : ARG MAKE=make build 04:55:02 ---> Running in 14d583615732 04:55:02 Removing intermediate container 14d583615732 04:55:02 ---> 6345190a32b8 04:55:02 Step 4/10 : WORKDIR /device-sdk-go 04:55:02 ---> Running in 98db247b666f 04:55:02 Removing intermediate container 98db247b666f 04:55:02 ---> d45fd116fc34 04:55:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:02 ---> Running in 4bab0f695b1f 04:55:02 Removing intermediate container 4bab0f695b1f 04:55:02 ---> 769c4e13fb17 04:55:02 Step 6/10 : RUN apk add --update --no-cache make git 04:55:02 ---> Running in aa5d1f7de6f5 04:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:55:03 OK: 246 MiB in 54 packages 04:55:03 Still waiting to schedule task 04:55:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:55:03 Removing intermediate container aa5d1f7de6f5 04:55:03 ---> cf48d9206bb0 04:55:03 Step 7/10 : COPY go.mod vendor* ./ 04:55:03 ---> 69f72b424519 04:55:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:03 ---> Running in 40c659d46dca 04:55:59 Removing intermediate container 40c659d46dca 04:55:59 ---> 4afafe07028d 04:55:59 Step 9/10 : COPY . . 04:55:59 ---> f4f11d548531 04:55:59 Step 10/10 : RUN ${MAKE} 04:55:59 ---> Running in 3cba93bb0366 04:55:59 noop 04:55:59 Removing intermediate container 3cba93bb0366 04:55:59 ---> 87144e62539c 04:55:59 Successfully built 87144e62539c 04:55:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:00 + docker inspect -f . ci-base-image-x86_64 04:56:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:00 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 04:56:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:00 $ docker top 99218a118f37b024780af5dbca85f7087fb4248fa0dba3116279afc14d59c7a5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:01 + go version 04:56:01 go version go1.23.2 linux/amd64 [Pipeline] } 04:56:01 $ docker stop --time=1 99218a118f37b024780af5dbca85f7087fb4248fa0dba3116279afc14d59c7a5 04:56:02 $ docker rm -f --volumes 99218a118f37b024780af5dbca85f7087fb4248fa0dba3116279afc14d59c7a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:02 + docker inspect -f . ci-base-image-x86_64 04:56:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:02 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 04:56:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:03 $ docker top 18f53121bb5ce3b8d5056d47fe37c6c17c513e83b159fe119f777816fc32bc8c -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:56:03 + make test 04:56:03 go test -race -coverprofile=coverage.out ./... 04:56:11 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:56:38 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:56:38 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.024s coverage: 26.0% of statements 04:56:38 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.032s coverage: 79.4% of statements 04:56:38 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.044s coverage: 86.0% of statements 04:56:39 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:56:39 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:56:39 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:56:39 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:56:40 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.097s coverage: 45.2% of statements 04:56:41 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:56:43 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.041s coverage: 14.1% of statements 04:56:43 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.774s coverage: 44.6% of statements 04:56:43 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.062s coverage: 68.4% of statements 04:56:43 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.075s coverage: 88.3% of statements 04:56:43 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.052s coverage: 5.3% of statements 04:56:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24205 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:56:45 Running in /w/workspace/device-sdk-go/325 [Pipeline] { [Pipeline] checkout 04:56:48 The recommended git tool is: git 04:56:52 using credential edgex-jenkins-ssh 04:56:52 Cloning the remote Git repository 04:56:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:56:52 > git init /w/workspace/device-sdk-go/325 # timeout=10 04:56:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:56:52 > git --version # timeout=10 04:56:52 > git --version # 'git version 2.25.1' 04:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:56:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:56 Avoid second fetch 04:56:56 Checking out Revision a0938cd2ac4963db8301e48aca9045440aa630af (main) 04:56:57 Commit message: "Merge pull request #1643 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v4-4.0.0-dev.2" 04:56:56 > git config core.sparsecheckout # timeout=10 04:56:57 > git checkout -f a0938cd2ac4963db8301e48aca9045440aa630af # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:57:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:02 Dload Upload Total Spent Left Speed 04:57:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 04:57:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:57:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:57:03 + sudo tee /etc/docker/daemon.new 04:57:03 { 04:57:03 "registry-mirrors": [ 04:57:03 "https://nexus3.edgexfoundry.org:10001" 04:57:03 ], 04:57:03 "bip": "10.250.0.254/24", 04:57:03 "hosts": [ 04:57:03 "tcp://0.0.0.0:5555", 04:57:03 "unix:///var/run/docker.sock" 04:57:03 ], 04:57:03 "mtu": 1458, 04:57:03 "selinux-enabled": true, 04:57:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:57:03 } [Pipeline] sh 04:57:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:57:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:21 provisioning config files... 04:57:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/325@tmp/config16050945254362085356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:22 ---> ****-login.sh 04:57:22 nexus3.edgexfoundry.org:10001 04:57:22 GO111MODULE=on go vet ./... 04:57:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:57:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:57:22 ./bin/test-attribution-txt.sh [Pipeline] echo 04:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:57:22 $ docker stop --time=1 18f53121bb5ce3b8d5056d47fe37c6c17c513e83b159fe119f777816fc32bc8c 04:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:22 Configure a credential helper to remove this warning. See 04:57:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:22 04:57:22 Login Succeeded 04:57:22 nexus3.edgexfoundry.org:10002 04:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:23 Configure a credential helper to remove this warning. See 04:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:23 04:57:23 Login Succeeded 04:57:23 nexus3.edgexfoundry.org:10003 04:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:23 Configure a credential helper to remove this warning. See 04:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:23 04:57:23 Login Succeeded 04:57:23 nexus3.edgexfoundry.org:10004 04:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:23 Configure a credential helper to remove this warning. See 04:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:23 04:57:23 Login Succeeded 04:57:23 ****.io 04:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:24 Configure a credential helper to remove this warning. See 04:57:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:24 04:57:24 Login Succeeded 04:57:24 ---> ****-login.sh ends 04:57:26 $ docker rm -f --volumes 18f53121bb5ce3b8d5056d47fe37c6c17c513e83b159fe119f777816fc32bc8c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 04:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:57:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 04:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:27 ========================================================= 04:57:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:57:27 ========================================================= [Pipeline] fileExists 04:57:27 Stashed 1 file(s) [Pipeline] } [Pipeline] fileExists [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh 04:57:28 + 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 . 04:57:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:57:28 + ls -al . 04:57:28 total 704 04:57:28 drwxrwxr-x 11 jenkins jenkins 4096 Oct 31 04:56 . 04:57:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 04:54 .. 04:57:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 04:54 .dockerignore 04:57:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 04:56 .git 04:57:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 04:54 .github 04:57:28 -rw-rw-r-- 1 jenkins jenkins 137 Oct 31 04:54 .gitignore 04:57:28 -rw-rw-r-- 1 jenkins jenkins 199 Oct 31 04:54 .golangci.yml 04:57:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 04:54 .semver 04:57:28 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 31 04:54 CHANGELOG.md 04:57:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 04:54 GOVERNANCE.md 04:57:28 -rw-rw-r-- 1 jenkins jenkins 882 Oct 31 04:54 Jenkinsfile 04:57:28 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 31 04:54 LICENSE 04:57:28 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 31 04:54 Makefile 04:57:28 -rw-rw-r-- 1 jenkins jenkins 619 Oct 31 04:54 OWNERS.md 04:57:28 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 31 04:54 README.md 04:57:28 -rw-rw-r-- 1 jenkins jenkins 11 Oct 31 04:54 VERSION 04:57:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 04:54 bin 04:57:28 -rw-r--r-- 1 jenkins jenkins 467900 Oct 31 04:56 coverage.out 04:57:28 drwxrwxr-x 5 jenkins jenkins 4096 Oct 31 04:54 example 04:57:28 -rw-rw-r-- 1 jenkins jenkins 6290 Oct 31 04:54 go.mod 04:57:28 -rw-rw-r-- 1 jenkins jenkins 87873 Oct 31 04:54 go.sum 04:57:28 drwxrwxr-x 13 jenkins jenkins 4096 Oct 31 04:54 internal 04:57:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 04:54 openapi 04:57:28 drwxrwxr-x 6 jenkins jenkins 4096 Oct 31 04:54 pkg 04:57:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 04:54 snap 04:57:28 -rw-rw-r-- 1 jenkins jenkins 222 Oct 31 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:28 Sending build context to Docker daemon 13.23MB 04:57:28 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:57:28 Step 2/10 : FROM ${BASE} AS builder 04:57:28 + 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=a0938cd2ac4963db8301e48aca9045440aa630af --label arch=amd64 --label version=4.0.0-dev.2 . 04:57:28 Sending build context to Docker daemon 26.02MB 04:57:28 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:57:28 Step 2/24 : FROM ${BASE} AS builder 04:57:28 ---> 87144e62539c 04:57:28 Step 3/24 : ARG MAKE=make build 04:57:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:29 cf04c63912e1: Pulling fs layer 04:57:29 55b35a11ae5e: Pulling fs layer 04:57:29 a37a00ec5f00: Pulling fs layer 04:57:29 50b3750afda1: Pulling fs layer 04:57:29 4f4fb700ef54: Pulling fs layer 04:57:29 80978eb59214: Pulling fs layer 04:57:29 c9f46d7d2bd2: Pulling fs layer 04:57:29 c5a475d317c9: Pulling fs layer 04:57:29 80978eb59214: Waiting 04:57:29 50b3750afda1: Waiting 04:57:29 c9f46d7d2bd2: Waiting 04:57:29 4f4fb700ef54: Waiting 04:57:29 c5a475d317c9: Waiting 04:57:29 55b35a11ae5e: Verifying Checksum 04:57:29 55b35a11ae5e: Download complete 04:57:29 50b3750afda1: Download complete 04:57:29 4f4fb700ef54: Download complete 04:57:29 80978eb59214: Download complete 04:57:29 cf04c63912e1: Verifying Checksum 04:57:29 cf04c63912e1: Download complete 04:57:29 ---> Running in 993f302e6323 04:57:29 Removing intermediate container 993f302e6323 04:57:29 ---> 299158549870 04:57:29 Step 4/24 : WORKDIR /device-sdk-go 04:57:29 ---> Running in ed8201915ad9 04:57:29 Removing intermediate container ed8201915ad9 04:57:29 ---> 6e9ac5178492 04:57:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:57:29 ---> Running in 3b89b081f5fe 04:57:29 Removing intermediate container 3b89b081f5fe 04:57:29 ---> f37de96db279 04:57:29 Step 6/24 : RUN apk add --update --no-cache make git 04:57:29 ---> Running in 9346602c0c91 04:57:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:57:29 c5a475d317c9: Verifying Checksum 04:57:29 c5a475d317c9: Download complete 04:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:57:30 cf04c63912e1: Pull complete 04:57:30 OK: 246 MiB in 54 packages 04:57:30 Removing intermediate container 9346602c0c91 04:57:30 ---> 2d458447bf5f 04:57:30 Step 7/24 : COPY go.mod vendor* ./ 04:57:30 ---> 8518aab0ec8b 04:57:30 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:30 ---> Running in 92bf9637964c 04:57:31 55b35a11ae5e: Pull complete 04:57:31 Removing intermediate container 92bf9637964c 04:57:31 ---> 20335fdfa4e2 04:57:31 Step 9/24 : COPY . . 04:57:31 a37a00ec5f00: Verifying Checksum 04:57:31 a37a00ec5f00: Download complete 04:57:32 c9f46d7d2bd2: Verifying Checksum 04:57:32 c9f46d7d2bd2: Download complete 04:57:32 ---> cab76043f771 04:57:32 Step 10/24 : RUN ${MAKE} 04:57:32 ---> Running in 778ef3bb2341 04:57:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:57:44 a37a00ec5f00: Pull complete 04:57:44 50b3750afda1: Pull complete 04:57:44 4f4fb700ef54: Pull complete 04:57:44 80978eb59214: Pull complete 04:57:52 c9f46d7d2bd2: Pull complete 04:57:54 c5a475d317c9: Pull complete 04:57:54 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:57:54 ---> be29e6b0f0d4 04:57:54 Step 3/10 : ARG MAKE=make build 04:57:55 ---> Running in 491c529dcb03 04:57:56 Removing intermediate container 491c529dcb03 04:57:56 ---> b7c1a3e55d5a 04:57:56 Step 4/10 : WORKDIR /device-sdk-go 04:57:56 ---> Running in e92372d138da 04:57:56 Removing intermediate container e92372d138da 04:57:56 ---> a48d94c44a37 04:57:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:57:56 ---> Running in 765f91455738 04:57:56 Removing intermediate container 765f91455738 04:57:56 ---> b3244476453a 04:57:56 Step 6/10 : RUN apk add --update --no-cache make git 04:57:56 ---> Running in c4462e859ea6 04:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:57:59 OK: 238 MiB in 54 packages 04:58:00 Removing intermediate container c4462e859ea6 04:58:00 ---> 94e50a82213b 04:58:00 Step 7/10 : COPY go.mod vendor* ./ 04:58:00 ---> 6a5a82743515 04:58:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:01 ---> Running in 1042b77b9b19 04:58:04 Removing intermediate container 778ef3bb2341 04:58:04 ---> 4a7304904b51 04:58:04 Step 11/24 : FROM alpine:3.20 04:58:04 3.20: Pulling from library/alpine 04:58:04 43c4264eed91: Already exists 04:58:04 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:58:04 Status: Downloaded newer image for alpine:3.20 04:58:04 ---> 91ef0af61f39 04:58:04 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:04 ---> Running in 023c944d82ef 04:58:04 Removing intermediate container 023c944d82ef 04:58:04 ---> cc95bcf19fc0 04:58:04 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:58:04 ---> Running in 3a47897e7478 04:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:58:04 (1/1) Installing dumb-init (1.2.5-r3) 04:58:04 Executing busybox-1.36.1-r29.trigger 04:58:04 OK: 8 MiB in 15 packages 04:58:04 Removing intermediate container 3a47897e7478 04:58:04 ---> 195f1c3bccda 04:58:04 Step 14/24 : RUN apk --no-cache upgrade 04:58:04 ---> Running in ea7099a5ae7c 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:58:05 Upgrading critical system libraries and apk-tools: 04:58:05 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:58:05 Executing busybox-1.36.1-r29.trigger 04:58:05 Continuing the upgrade transaction with new apk-tools: 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:58:05 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:58:05 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:58:05 OK: 8 MiB in 15 packages 04:58:06 Removing intermediate container ea7099a5ae7c 04:58:06 ---> db506b2d4fcf 04:58:06 Step 15/24 : WORKDIR / 04:58:06 ---> Running in fe677083187d 04:58:06 Removing intermediate container fe677083187d 04:58:06 ---> 3bd1bc6e3bbf 04:58:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:58:06 ---> 71f77bc00b11 04:58:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:58:08 ---> 2af0d7be6e16 04:58:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:58:08 ---> 43292a620d22 04:58:08 Step 19/24 : EXPOSE 59999 04:58:08 ---> Running in 596c46662d56 04:58:08 Removing intermediate container 596c46662d56 04:58:08 ---> 4a82cc4626f7 04:58:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:58:08 ---> Running in 8e64b05b525b 04:58:08 Removing intermediate container 8e64b05b525b 04:58:08 ---> 869f409e5c99 04:58:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:58:08 ---> Running in b1e061c16c77 04:58:08 Removing intermediate container b1e061c16c77 04:58:08 ---> 3e0d44098abd 04:58:08 Step 22/24 : LABEL arch=amd64 04:58:08 ---> Running in 44f5e92a911f 04:58:08 Removing intermediate container 44f5e92a911f 04:58:08 ---> d2aaeff6b310 04:58:08 Step 23/24 : LABEL git_sha=a0938cd2ac4963db8301e48aca9045440aa630af 04:58:08 ---> Running in 1f667fa09a2e 04:58:08 Removing intermediate container 1f667fa09a2e 04:58:08 ---> 0590ddb908e2 04:58:08 Step 24/24 : LABEL version=4.0.0-dev.2 04:58:08 ---> Running in e056e194bb04 04:58:08 Removing intermediate container e056e194bb04 04:58:08 ---> 7e6cb87427d1 04:58:08 [Warning] One or more build-args [ARCH] were not consumed 04:58:08 Successfully built 7e6cb87427d1 04:58:08 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:09 04:58:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:09 latest: Pulling from edgex-lftools-log-publisher 04:58:09 5eb5b503b376: Pulling fs layer 04:58:09 5c69ac0246d0: Pulling fs layer 04:58:09 ec43610c2a17: Pulling fs layer 04:58:09 3a2ae6a8a46f: Pulling fs layer 04:58:09 33b1e0a273af: Pulling fs layer 04:58:09 5d3b04190fa2: Pulling fs layer 04:58:09 2f39f015ded8: Pulling fs layer 04:58:09 33b1e0a273af: Waiting 04:58:09 5c69ac0246d0: Verifying Checksum 04:58:09 5c69ac0246d0: Download complete 04:58:09 3a2ae6a8a46f: Verifying Checksum 04:58:09 3a2ae6a8a46f: Download complete 04:58:09 33b1e0a273af: Verifying Checksum 04:58:09 33b1e0a273af: Download complete 04:58:09 5d3b04190fa2: Verifying Checksum 04:58:09 5d3b04190fa2: Download complete 04:58:09 ec43610c2a17: Verifying Checksum 04:58:09 ec43610c2a17: Download complete 04:58:09 5eb5b503b376: Verifying Checksum 04:58:09 5eb5b503b376: Download complete 04:58:10 2f39f015ded8: Download complete 04:58:10 5eb5b503b376: Pull complete 04:58:10 5c69ac0246d0: Pull complete 04:58:11 ec43610c2a17: Pull complete 04:58:11 3a2ae6a8a46f: Pull complete 04:58:11 33b1e0a273af: Pull complete 04:58:11 5d3b04190fa2: Pull complete 04:58:15 2f39f015ded8: Pull complete 04:58:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:16 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 04:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:58:22 $ docker top ae119acbb588ca4350514bb5627183c72a5831a773473bdcc0b444dae228c0a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:23 ---> job-cost.sh 04:58:23 lf-activate-venv: SKIPPING 04:58:23 INFO: No Stack... 04:58:23 INFO: Retrieving Pricing Info for: v3-standard-8 04:58:23 INFO: Archiving Costs [Pipeline] sh 04:58:24 + + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:58:24 cut -d, -f6 [Pipeline] lock 04:58:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] 04:58:24 Resource [jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] did not exist. Created. 04:58:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:24 + echo total: 0.2199999988079071 [Pipeline] stash 04:58:24 Stashed 1 file(s) [Pipeline] } 04:58:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] [Pipeline] // lock [Pipeline] } 04:58:24 $ docker stop --time=1 ae119acbb588ca4350514bb5627183c72a5831a773473bdcc0b444dae228c0a2 04:58:25 $ docker rm -f --volumes ae119acbb588ca4350514bb5627183c72a5831a773473bdcc0b444dae228c0a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:59:52 Removing intermediate container 1042b77b9b19 04:59:52 ---> b689bb931276 04:59:52 Step 9/10 : COPY . . 04:59:52 ---> dcfada162006 04:59:52 Step 10/10 : RUN ${MAKE} 04:59:52 ---> Running in 6319174195bc 04:59:52 noop 04:59:52 Removing intermediate container 6319174195bc 04:59:52 ---> c3de16180a4b 04:59:52 Successfully built c3de16180a4b 04:59:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:53 + docker inspect -f . ci-base-image-arm64 04:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:53 prd-ubuntu20.04-docker-arm64-4c-16g-24205 does not seem to be running inside a container 04:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/325 -v /w/workspace/device-sdk-go/325:/w/workspace/device-sdk-go/325:rw,z -v /w/workspace/device-sdk-go/325@tmp:/w/workspace/device-sdk-go/325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:54 $ docker top 738199ee6a201e97316d713b6c6dcfa075a69693b17645125bd9708ea17aba73 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:55 + go version 04:59:55 go version go1.23.2 linux/arm64 [Pipeline] } 04:59:55 $ docker stop --time=1 738199ee6a201e97316d713b6c6dcfa075a69693b17645125bd9708ea17aba73 04:59:58 $ docker rm -f --volumes 738199ee6a201e97316d713b6c6dcfa075a69693b17645125bd9708ea17aba73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:58 + docker inspect -f . ci-base-image-arm64 04:59:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:58 prd-ubuntu20.04-docker-arm64-4c-16g-24205 does not seem to be running inside a container 04:59:58 $ 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/325 -v /w/workspace/device-sdk-go/325:/w/workspace/device-sdk-go/325:rw,z -v /w/workspace/device-sdk-go/325@tmp:/w/workspace/device-sdk-go/325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:59 $ docker top 8de61942e444dcc5c2a7a3916b4fbb0aecdf08bd96229052ee230ec879a9ab46 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/325 [Pipeline] fileExists [Pipeline] sh 05:00:00 + make test 05:00:00 go test -race -coverprofile=coverage.out ./... 05:00:44 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 05:04:36 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 05:04:36 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 05:04:36 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 05:04:36 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 05:04:36 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 05:04:46 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.156s coverage: 26.0% of statements 05:04:50 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.173s coverage: 79.4% of statements 05:05:01 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 05:05:01 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 05:05:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.241s coverage: 86.0% of statements 05:05:06 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 05:05:08 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.617s coverage: 45.2% of statements 05:05:12 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.233s coverage: 14.1% of statements 05:05:13 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.088s coverage: 44.6% of statements 05:05:14 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 05:05:14 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 05:05:14 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 05:05:16 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.390s coverage: 68.4% of statements 05:05:20 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.334s coverage: 88.3% of statements 05:05:24 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 05:05:26 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.285s coverage: 5.3% of statements 05:05:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:05:28 GO111MODULE=on go vet ./... 05:09:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:04 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:09:05 $ docker stop --time=1 8de61942e444dcc5c2a7a3916b4fbb0aecdf08bd96229052ee230ec879a9ab46 05:09:06 $ docker rm -f --volumes 8de61942e444dcc5c2a7a3916b4fbb0aecdf08bd96229052ee230ec879a9ab46 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:09 Warning: overwriting stash ‘coverage-report’ 05:09:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:10 + ls -al . 05:09:10 total 700 05:09:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 05:00 . 05:09:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 04:56 .. 05:09:10 -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 04:56 .dockerignore 05:09:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 04:57 .git 05:09:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 04:56 .github 05:09:10 -rw-rw-r-- 1 jenkins jenkins 137 Oct 31 04:56 .gitignore 05:09:10 -rw-rw-r-- 1 jenkins jenkins 199 Oct 31 04:56 .golangci.yml 05:09:10 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 31 04:56 CHANGELOG.md 05:09:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 04:56 GOVERNANCE.md 05:09:10 -rw-rw-r-- 1 jenkins jenkins 882 Oct 31 04:56 Jenkinsfile 05:09:10 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 31 04:56 LICENSE 05:09:10 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 31 04:56 Makefile 05:09:10 -rw-rw-r-- 1 jenkins jenkins 619 Oct 31 04:56 OWNERS.md 05:09:10 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 31 04:56 README.md 05:09:10 -rw-rw-r-- 1 jenkins jenkins 11 Oct 31 04:54 VERSION 05:09:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 04:56 bin 05:09:10 -rw-r--r-- 1 jenkins jenkins 467902 Oct 31 05:05 coverage.out 05:09:10 drwxrwxr-x 5 jenkins jenkins 4096 Oct 31 04:56 example 05:09:10 -rw-rw-r-- 1 jenkins jenkins 6290 Oct 31 04:56 go.mod 05:09:10 -rw-rw-r-- 1 jenkins jenkins 87873 Oct 31 04:56 go.sum 05:09:10 drwxrwxr-x 13 jenkins jenkins 4096 Oct 31 04:56 internal 05:09:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 04:56 openapi 05:09:10 drwxrwxr-x 6 jenkins jenkins 4096 Oct 31 04:56 pkg 05:09:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 04:56 snap 05:09:10 -rw-rw-r-- 1 jenkins jenkins 222 Oct 31 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:11 + 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=a0938cd2ac4963db8301e48aca9045440aa630af --label arch=arm64 --label version=4.0.0-dev.2 . 05:09:11 Sending build context to Docker daemon 13.7MB 05:09:11 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:09:11 Step 2/24 : FROM ${BASE} AS builder 05:09:11 ---> c3de16180a4b 05:09:11 Step 3/24 : ARG MAKE=make build 05:09:11 ---> Running in f1a8b51f9343 05:09:12 Removing intermediate container f1a8b51f9343 05:09:12 ---> b1e96bebe301 05:09:12 Step 4/24 : WORKDIR /device-sdk-go 05:09:12 ---> Running in dc29a04b7bdb 05:09:12 Removing intermediate container dc29a04b7bdb 05:09:12 ---> 1b4623994b13 05:09:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:09:12 ---> Running in aa5a9e6ad158 05:09:12 Removing intermediate container aa5a9e6ad158 05:09:12 ---> 596fbc8776c1 05:09:12 Step 6/24 : RUN apk add --update --no-cache make git 05:09:12 ---> Running in 7c93e7b81ce1 05:09:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:09:15 OK: 238 MiB in 54 packages 05:09:16 Removing intermediate container 7c93e7b81ce1 05:09:16 ---> a6702cf6be12 05:09:16 Step 7/24 : COPY go.mod vendor* ./ 05:09:17 ---> 67fb62d07f30 05:09:17 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:17 ---> Running in 19b5f30e4f9d 05:09:19 Removing intermediate container 19b5f30e4f9d 05:09:19 ---> 1d378ef5ab4d 05:09:19 Step 9/24 : COPY . . 05:09:21 ---> 10d446fd65aa 05:09:21 Step 10/24 : RUN ${MAKE} 05:09:21 ---> Running in 8d44f986ff2e 05:09:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:12:43 Removing intermediate container 8d44f986ff2e 05:12:43 ---> b490313719e4 05:12:43 Step 11/24 : FROM alpine:3.20 05:12:43 3.20: Pulling from library/alpine 05:12:43 cf04c63912e1: Already exists 05:12:43 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:12:43 Status: Downloaded newer image for alpine:3.20 05:12:43 ---> c157a85ed455 05:12:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:12:43 ---> Running in 55d1c64c2d78 05:12:43 Removing intermediate container 55d1c64c2d78 05:12:43 ---> 4752521baed1 05:12:43 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:12:43 ---> Running in 516b9f6095df 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:12:43 (1/1) Installing dumb-init (1.2.5-r3) 05:12:43 Executing busybox-1.36.1-r29.trigger 05:12:43 OK: 9 MiB in 15 packages 05:12:43 Removing intermediate container 516b9f6095df 05:12:43 ---> 77d9fbb581b6 05:12:43 Step 14/24 : RUN apk --no-cache upgrade 05:12:43 ---> Running in 95eb60579abe 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:12:43 Upgrading critical system libraries and apk-tools: 05:12:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:12:43 Executing busybox-1.36.1-r29.trigger 05:12:43 Continuing the upgrade transaction with new apk-tools: 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:12:43 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:12:43 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:12:43 OK: 9 MiB in 15 packages 05:12:43 Removing intermediate container 95eb60579abe 05:12:43 ---> 705ca295991c 05:12:43 Step 15/24 : WORKDIR / 05:12:43 ---> Running in c935f6836dd4 05:12:44 Removing intermediate container c935f6836dd4 05:12:44 ---> 8b5589cb7dc7 05:12:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:12:44 ---> 0d08f8c18254 05:12:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:12:47 ---> 7f1fe8c044e5 05:12:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:12:47 ---> 52a31b3d0963 05:12:47 Step 19/24 : EXPOSE 59999 05:12:47 ---> Running in 8bff5c643f31 05:12:48 Removing intermediate container 8bff5c643f31 05:12:48 ---> d24c08ed9a6d 05:12:48 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:12:48 ---> Running in 2f8c74d7f1b5 05:12:48 Removing intermediate container 2f8c74d7f1b5 05:12:48 ---> b66f0c4a53a5 05:12:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:12:48 ---> Running in a01bbb9f9747 05:12:48 Removing intermediate container a01bbb9f9747 05:12:48 ---> b42f6d67a636 05:12:48 Step 22/24 : LABEL arch=arm64 05:12:48 ---> Running in 803f8c2a856b 05:12:49 Removing intermediate container 803f8c2a856b 05:12:49 ---> a4c3c86a6ab0 05:12:49 Step 23/24 : LABEL git_sha=a0938cd2ac4963db8301e48aca9045440aa630af 05:12:49 ---> Running in cc2daa43e9ad 05:12:49 Removing intermediate container cc2daa43e9ad 05:12:49 ---> 0369d2064adc 05:12:49 Step 24/24 : LABEL version=4.0.0-dev.2 05:12:49 ---> Running in cc7c59e03d2e 05:12:50 Removing intermediate container cc7c59e03d2e 05:12:50 ---> 3cd36acdcdf4 05:12:50 [Warning] One or more build-args [ARCH] were not consumed 05:12:50 Successfully built 3cd36acdcdf4 05:12:50 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:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:50 05:12:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:51 arm64: Pulling from edgex-lftools-log-publisher 05:12:51 8998bd30e6a1: Pulling fs layer 05:12:51 04944245beec: Pulling fs layer 05:12:51 699f458cf7ca: Pulling fs layer 05:12:51 765212b225bb: Pulling fs layer 05:12:51 f23df028b6ca: Pulling fs layer 05:12:51 d65c8cfc05b1: Pulling fs layer 05:12:51 2437ff75d9bd: Pulling fs layer 05:12:51 f23df028b6ca: Waiting 05:12:51 d65c8cfc05b1: Waiting 05:12:51 2437ff75d9bd: Waiting 05:12:51 04944245beec: Verifying Checksum 05:12:51 04944245beec: Download complete 05:12:51 765212b225bb: Verifying Checksum 05:12:51 765212b225bb: Download complete 05:12:51 f23df028b6ca: Verifying Checksum 05:12:51 f23df028b6ca: Download complete 05:12:51 d65c8cfc05b1: Verifying Checksum 05:12:51 d65c8cfc05b1: Download complete 05:12:51 699f458cf7ca: Verifying Checksum 05:12:51 699f458cf7ca: Download complete 05:12:51 8998bd30e6a1: Verifying Checksum 05:12:51 8998bd30e6a1: Download complete 05:12:54 2437ff75d9bd: Verifying Checksum 05:12:54 2437ff75d9bd: Download complete 05:12:56 8998bd30e6a1: Pull complete 05:12:56 04944245beec: Pull complete 05:12:58 699f458cf7ca: Pull complete 05:12:58 765212b225bb: Pull complete 05:12:59 f23df028b6ca: Pull complete 05:12:59 d65c8cfc05b1: Pull complete 05:13:17 2437ff75d9bd: Pull complete 05:13:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:18 prd-ubuntu20.04-docker-arm64-4c-16g-24205 does not seem to be running inside a container 05:13:18 $ 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/325 -v /w/workspace/device-sdk-go/325:/w/workspace/device-sdk-go/325:rw,z -v /w/workspace/device-sdk-go/325@tmp:/w/workspace/device-sdk-go/325@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:13:20 $ docker top b653d1a6c6b445150917afecdcb10ad864efe04fb1b971b31f01e1ba147c188e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> job-cost.sh 05:13:21 lf-activate-venv: SKIPPING 05:13:21 INFO: No Stack... 05:13:21 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:22 INFO: Archiving Costs [Pipeline] sh 05:13:23 + cat /w/workspace/device-sdk-go/325/archives/cost.csv 05:13:23 + cut -d, -f6 [Pipeline] lock 05:13:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] 05:13:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] did not exist. Created. 05:13:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:23 /w/workspace/device-sdk-go/325@tmp/durable-52050c16/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:23 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:23 Warning: overwriting stash ‘stack-cost’ 05:13:23 Stashed 1 file(s) [Pipeline] } 05:13:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-325-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:23 $ docker stop --time=1 b653d1a6c6b445150917afecdcb10ad864efe04fb1b971b31f01e1ba147c188e 05:13:25 $ docker rm -f --volumes b653d1a6c6b445150917afecdcb10ad864efe04fb1b971b31f01e1ba147c188e [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:13:25 provisioning config files... 05:13:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15378169466003090804tmp [Pipeline] { [Pipeline] sh 05:13:26 + set +x 05:13:26 + bash -s --+ 05:13:26 curl -s https://codecov.io/bash 05:13:26 05:13:26 _____ _ 05:13:26 / ____| | | 05:13:26 | | ___ __| | ___ ___ _____ __ 05:13:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:26 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:26 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:26 Bash-1.0.6 05:13:26 05:13:26 05:13:26 ==> git version 2.25.1 found 05:13:26 ==> 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:13:26 Release-Date: 2020-01-08 05:13:26 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:13:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:26 ==> Jenkins CI detected. 05:13:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:13:26 project root: . 05:13:26 --> token set from env 05:13:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:26 ==> Running gcov in . (disable via -X gcov) 05:13:26 ==> Python coveragepy not found 05:13:26 ==> Searching for coverage reports in: 05:13:26 + . 05:13:26 -> Found 1 reports 05:13:26 ==> Detecting git/mercurial file structure 05:13:26 ==> Reading reports 05:13:26 + ./coverage.out bytes=467902 05:13:26 ==> Appending adjustments 05:13:26 https://docs.codecov.io/docs/fixing-reports 05:13:26 + Found adjustments 05:13:26 ==> Gzipping contents 05:13:26 44K /tmp/codecov.Qavpqj.gz 05:13:26 ==> Uploading reports 05:13:26 url: https://codecov.io 05:13:26 query: branch=main&commit=a0938cd2ac4963db8301e48aca9045440aa630af&build=325&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F325%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:13:26 -> Pinging Codecov 05:13:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a0938cd2ac4963db8301e48aca9045440aa630af&build=325&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F325%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:13:26 -> Uploading to 05:13:26 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/a0938cd2ac4963db8301e48aca9045440aa630af/c215083c-6009-4fa8-9082-029ba29978bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241031%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241031T051326Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2acb9f4f0b411f8cfcd23946127a29dfd30755621229f98b228bac0904913581 05:13:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:26 Dload Upload Total Spent Left Speed 05:13:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44786 0 0 100 44786 0 161k --:--:-- --:--:-- --:--:-- 161k 05:13:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] } 05:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:13:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:13:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:13:27 05:13:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:13:28 latest: Pulling from edgex-devops/edgex-snyk-go 05:13:28 43c4264eed91: Already exists 05:13:28 4cc291be95ef: Already exists 05:13:28 2ac1f1163629: Already exists 05:13:28 5c3c966382ef: Already exists 05:13:28 4f4fb700ef54: Already exists 05:13:28 d9c7d2e4e75e: Pulling fs layer 05:13:28 9c3e1370e548: Pulling fs layer 05:13:28 d9c7d2e4e75e: Download complete 05:13:28 d9c7d2e4e75e: Pull complete 05:13:29 9c3e1370e548: Verifying Checksum 05:13:29 9c3e1370e548: Download complete 05:13:32 9c3e1370e548: Pull complete 05:13:32 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:13:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:32 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:13:32 $ 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:13:35 $ docker top a5966efe639d4899351b324463935088f2eee4d74b83571ec2fb369b5bab5961 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:13:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:13:35 + set -o pipefail 05:13:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:13:45 05:13:45 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v4)... 05:13:45 05:13:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/867c42ea-e859-493e-bff4-0dcd10d44597 05:13:45 05:13:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:13:45 [Pipeline] } 05:13:45 $ docker stop --time=1 a5966efe639d4899351b324463935088f2eee4d74b83571ec2fb369b5bab5961 05:13:52 $ docker rm -f --volumes a5966efe639d4899351b324463935088f2eee4d74b83571ec2fb369b5bab5961 [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:13:52 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:52 provisioning config files... 05:13:52 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14810821130046692985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:53 --> edgex-publish-swagger.sh 05:13:53 === Publish openapi API === 05:13:53 [publishToSwagger] Publishing the API Docs [openapi] to Swagger 05:13:53 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/device-sdk.yaml] 05:13:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:53 Dload Upload Total Spent Left Speed 05:13:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 317 76256 --:--:-- --:--:-- --:--:-- 76573 05:13:53 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:13:53 [Pipeline] } 05:13:53 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:13:53 + git log --format=format:%s -1 a0938cd2ac4963db8301e48aca9045440aa630af [Pipeline] sh 05:13:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:54 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:13:54 $ 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:13:54 $ docker top e0711ae59db74a0f207bfe0c3d345f5ccbd06108c15e9af6fda23c824d056131 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:55 [ssh-agent] Looking for ssh-agent implementation... 05:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:55 $ docker exec e0711ae59db74a0f207bfe0c3d345f5ccbd06108c15e9af6fda23c824d056131 ssh-agent 05:13:55 SSH_AUTH_SOCK=/tmp/ssh-vDAu48XzZp0q/agent.32 05:13:55 SSH_AGENT_PID=38 05:13:55 Running ssh-add (command line suppressed) 05:13:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11001164114547007433.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11001164114547007433.key) 05:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:55 + git semver tag 05:13:55 2024-10-31 05:13:55,810 [run_tag] DEBUG tag force:False 05:13:55 2024-10-31 05:13:55,810 [check_head_tag] DEBUG check head tag 05:13:55 2024-10-31 05:13:55,813 [execute] INFO git cat-file --batch-check 05:13:55 2024-10-31 05:13:55,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:13:55 2024-10-31 05:13:55,816 [execute] INFO git cat-file --batch 05:13:55 2024-10-31 05:13:55,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:13:55 2024-10-31 05:13:55,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:55 2024-10-31 05:13:55,847 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 05:13:55 2024-10-31 05:13:55,847 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:13:55 2024-10-31 05:13:55,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:55 4.0.0-dev.2 [Pipeline] } 05:13:55 $ docker exec --env ******** --env ******** e0711ae59db74a0f207bfe0c3d345f5ccbd06108c15e9af6fda23c824d056131 ssh-agent -k 05:13:56 unset SSH_AUTH_SOCK; 05:13:56 unset SSH_AGENT_PID; 05:13:56 echo Agent pid 38 killed; 05:13:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:56 + git semver [Pipeline] } 05:13:56 $ docker stop --time=1 e0711ae59db74a0f207bfe0c3d345f5ccbd06108c15e9af6fda23c824d056131 05:13:57 $ docker rm -f --volumes e0711ae59db74a0f207bfe0c3d345f5ccbd06108c15e9af6fda23c824d056131 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:58 05:13:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:58 0.23.1-centos7: Pulling from edgex-lftools 05:13:58 ab5ef0e58194: Pulling fs layer 05:13:58 9712f1f96733: Pulling fs layer 05:13:58 63f879dbbcfc: Pulling fs layer 05:13:58 0d9ebad4ef96: Pulling fs layer 05:13:58 e9a5061849ea: Pulling fs layer 05:13:58 d747dcd14b5f: Pulling fs layer 05:13:58 2de7ff778b66: Pulling fs layer 05:13:58 0d9ebad4ef96: Waiting 05:13:58 e9a5061849ea: Waiting 05:13:58 d747dcd14b5f: Waiting 05:13:58 2de7ff778b66: Waiting 05:13:58 9712f1f96733: Verifying Checksum 05:13:58 9712f1f96733: Download complete 05:13:58 63f879dbbcfc: Verifying Checksum 05:13:58 63f879dbbcfc: Download complete 05:13:59 e9a5061849ea: Verifying Checksum 05:13:59 e9a5061849ea: Download complete 05:13:59 d747dcd14b5f: Download complete 05:13:59 0d9ebad4ef96: Verifying Checksum 05:13:59 0d9ebad4ef96: Download complete 05:13:59 ab5ef0e58194: Verifying Checksum 05:13:59 ab5ef0e58194: Download complete 05:13:59 2de7ff778b66: Verifying Checksum 05:13:59 2de7ff778b66: Download complete 05:14:01 ab5ef0e58194: Pull complete 05:14:01 9712f1f96733: Pull complete 05:14:02 63f879dbbcfc: Pull complete 05:14:06 0d9ebad4ef96: Pull complete 05:14:06 e9a5061849ea: Pull complete 05:14:06 d747dcd14b5f: Pull complete 05:14:07 2de7ff778b66: Pull complete 05:14:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:14:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:07 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:14:07 $ 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:14:14 $ docker top e826bea3285e96ddfa9b7855045453e13f9e77a8d28748b621806e63e6e4b09a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:14:14 provisioning config files... 05:14:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15510612861869479836tmp 05:14:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18369585825864908555tmp 05:14:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4341810013176078139tmp [Pipeline] { [Pipeline] echo 05:14:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:14:14 ---> sigul-configuration.sh 05:14:14 gpg: directory `/root/.gnupg' created 05:14:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:14:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:14:14 gpg: keyring `/root/.gnupg/secring.gpg' created 05:14:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:14:14 gpg: CAST5 encrypted data 05:14:14 gpg: encrypted with 1 passphrase 05:14:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:14:14 + mkdir /home/jenkins 05:14:14 + mkdir /home/jenkins/sigul [Pipeline] sh 05:14:15 + 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:14:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:14:15 ---> sigul-install.sh 05:14:15 Sigul already installed; skipping installation. [Pipeline] sh 05:14:15 + git tag --list 05:14:15 0.7.1 05:14:15 delhi-tag 05:14:15 v1.0.0 05:14:15 v1.1.0 05:14:15 v1.1.1 05:14:15 v1.1.2 05:14:15 v1.2.0 05:14:15 v1.2.1 05:14:15 v1.2.2 05:14:15 v1.2.3 05:14:15 v1.3.0 05:14:15 v1.4.0 05:14:15 v2.0.0 05:14:15 v2.1.0 05:14:15 v2.1.1 05:14:15 v2.2.0 05:14:15 v2.3.0 05:14:15 v2.3.1 05:14:15 v3.0 05:14:15 v3.0.0 05:14:15 v3.0.1-dev.1 05:14:15 v3.1 05:14:15 v3.1.0 05:14:15 v3.1.0-dev.1 05:14:15 v3.1.0-dev.10 05:14:15 v3.1.0-dev.11 05:14:15 v3.1.0-dev.12 05:14:15 v3.1.0-dev.13 05:14:15 v3.1.0-dev.14 05:14:15 v3.1.0-dev.15 05:14:15 v3.1.0-dev.16 05:14:15 v3.1.0-dev.17 05:14:15 v3.1.0-dev.18 05:14:15 v3.1.0-dev.19 05:14:15 v3.1.0-dev.2 05:14:15 v3.1.0-dev.20 05:14:15 v3.1.0-dev.21 05:14:15 v3.1.0-dev.22 05:14:15 v3.1.0-dev.23 05:14:15 v3.1.0-dev.24 05:14:15 v3.1.0-dev.25 05:14:15 v3.1.0-dev.26 05:14:15 v3.1.0-dev.27 05:14:15 v3.1.0-dev.28 05:14:15 v3.1.0-dev.29 05:14:15 v3.1.0-dev.3 05:14:15 v3.1.0-dev.30 05:14:15 v3.1.0-dev.31 05:14:15 v3.1.0-dev.32 05:14:15 v3.1.0-dev.33 05:14:15 v3.1.0-dev.34 05:14:15 v3.1.0-dev.35 05:14:15 v3.1.0-dev.36 05:14:15 v3.1.0-dev.37 05:14:15 v3.1.0-dev.38 05:14:15 v3.1.0-dev.39 05:14:15 v3.1.0-dev.4 05:14:15 v3.1.0-dev.40 05:14:15 v3.1.0-dev.41 05:14:15 v3.1.0-dev.5 05:14:15 v3.1.0-dev.6 05:14:15 v3.1.0-dev.7 05:14:15 v3.1.0-dev.8 05:14:15 v3.1.0-dev.9 05:14:15 v3.1.1 05:14:15 v3.1.1-dev.1 05:14:15 v3.2.0-dev.1 05:14:15 v3.2.0-dev.10 05:14:15 v3.2.0-dev.11 05:14:15 v3.2.0-dev.12 05:14:15 v3.2.0-dev.13 05:14:15 v3.2.0-dev.14 05:14:15 v3.2.0-dev.15 05:14:15 v3.2.0-dev.16 05:14:15 v3.2.0-dev.17 05:14:15 v3.2.0-dev.18 05:14:15 v3.2.0-dev.19 05:14:15 v3.2.0-dev.2 05:14:15 v3.2.0-dev.20 05:14:15 v3.2.0-dev.21 05:14:15 v3.2.0-dev.22 05:14:15 v3.2.0-dev.23 05:14:15 v3.2.0-dev.24 05:14:15 v3.2.0-dev.25 05:14:15 v3.2.0-dev.26 05:14:15 v3.2.0-dev.27 05:14:15 v3.2.0-dev.28 05:14:15 v3.2.0-dev.29 05:14:15 v3.2.0-dev.3 05:14:15 v3.2.0-dev.30 05:14:15 v3.2.0-dev.31 05:14:15 v3.2.0-dev.32 05:14:15 v3.2.0-dev.33 05:14:15 v3.2.0-dev.34 05:14:15 v3.2.0-dev.35 05:14:15 v3.2.0-dev.36 05:14:15 v3.2.0-dev.37 05:14:15 v3.2.0-dev.38 05:14:15 v3.2.0-dev.39 05:14:15 v3.2.0-dev.4 05:14:15 v3.2.0-dev.40 05:14:15 v3.2.0-dev.41 05:14:15 v3.2.0-dev.42 05:14:15 v3.2.0-dev.43 05:14:15 v3.2.0-dev.44 05:14:15 v3.2.0-dev.45 05:14:15 v3.2.0-dev.46 05:14:15 v3.2.0-dev.47 05:14:15 v3.2.0-dev.48 05:14:15 v3.2.0-dev.5 05:14:15 v3.2.0-dev.6 05:14:15 v3.2.0-dev.7 05:14:15 v3.2.0-dev.8 05:14:15 v3.2.0-dev.9 05:14:15 v4.0.0-dev.1 05:14:15 v4.0.0-dev.2 [Pipeline] sh 05:14:15 + lftools sign git-tag v4.0.0-dev.2 05:14:16 Signing Git tag with Sigul... 05:14:16 Signing v4.0.0-dev.2 [Pipeline] echo 05:14:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:14:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:14:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:14:17 $ docker stop --time=1 e826bea3285e96ddfa9b7855045453e13f9e77a8d28748b621806e63e6e4b09a 05:14:18 $ docker rm -f --volumes e826bea3285e96ddfa9b7855045453e13f9e77a8d28748b621806e63e6e4b09a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:14:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:14:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:14:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:19 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:14: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:14:19 $ docker top 76cad2cbd7659f881a83d1ea5407bd985c67340c39f6827c29bc5a20ce1a2e74 -eo pid,comm 05:14: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:14:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:19 [ssh-agent] Looking for ssh-agent implementation... 05:14:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:19 $ docker exec 76cad2cbd7659f881a83d1ea5407bd985c67340c39f6827c29bc5a20ce1a2e74 ssh-agent 05:14:19 SSH_AUTH_SOCK=/tmp/ssh-4zOOpspG1K4q/agent.33 05:14:19 SSH_AGENT_PID=39 05:14:19 Running ssh-add (command line suppressed) 05:14:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11919609600118585927.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11919609600118585927.key) 05:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:20 + git semver bump pre 05:14:20 2024-10-31 05:14:20,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:14:20 2024-10-31 05:14:20,478 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 05:14:20 2024-10-31 05:14:20,478 [bump_version] DEBUG bumped version:4.0.0-dev.3 05:14:20 2024-10-31 05:14:20,478 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:14:20 2024-10-31 05:14:20,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:14:20 2024-10-31 05:14:20,478 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:14:20 2024-10-31 05:14:20,480 [execute] INFO git cat-file --batch-check 05:14:20 2024-10-31 05:14:20,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:14:20 2024-10-31 05:14:20,485 [execute] INFO git cat-file --batch 05:14:20 2024-10-31 05:14:20,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:14:20 2024-10-31 05:14:20,490 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:14:20 4.0.0-dev.3 [Pipeline] } 05:14:20 $ docker exec --env ******** --env ******** 76cad2cbd7659f881a83d1ea5407bd985c67340c39f6827c29bc5a20ce1a2e74 ssh-agent -k 05:14:20 unset SSH_AUTH_SOCK; 05:14:20 unset SSH_AGENT_PID; 05:14:20 echo Agent pid 39 killed; 05:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:14:20 + git semver [Pipeline] } 05:14:21 $ docker stop --time=1 76cad2cbd7659f881a83d1ea5407bd985c67340c39f6827c29bc5a20ce1a2e74 05:14:22 $ docker rm -f --volumes 76cad2cbd7659f881a83d1ea5407bd985c67340c39f6827c29bc5a20ce1a2e74 [Pipeline] // withDockerContainer [Pipeline] sh 05:14:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:14:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:14:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:23 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:14:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:14:23 $ docker top 46a007e7b7266f0c9bad70bcdd6b68ffc65f889012f271f69976d447932bdf3b -eo pid,comm 05:14:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:14:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:14:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:23 [ssh-agent] Looking for ssh-agent implementation... 05:14:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:23 $ docker exec 46a007e7b7266f0c9bad70bcdd6b68ffc65f889012f271f69976d447932bdf3b ssh-agent 05:14:24 SSH_AUTH_SOCK=/tmp/ssh-jm7LeZSzGIZK/agent.32 05:14:24 SSH_AGENT_PID=38 05:14:24 Running ssh-add (command line suppressed) 05:14:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16820082131352182751.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16820082131352182751.key) 05:14:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:24 + git semver push 05:14:24 2024-10-31 05:14:24,643 [run_push] DEBUG push 05:14:24 2024-10-31 05:14:24,644 [execute] INFO git cat-file --batch-check 05:14:24 2024-10-31 05:14:24,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:14:24 2024-10-31 05:14:24,647 [execute] INFO git rev-list 32c9b94ddc5cc2ad7057cd88004ea4bbda6d6d60 -- 05:14:24 2024-10-31 05:14:24,648 [execute] DEBUG Popen(['git', 'rev-list', '32c9b94ddc5cc2ad7057cd88004ea4bbda6d6d60', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:14:24 2024-10-31 05:14:24,662 [execute] INFO git fetch -v origin 05:14:24 2024-10-31 05:14:24,662 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:14:25 2024-10-31 05:14:25,141 [run_push] DEBUG no remote changes detected 05:14:25 2024-10-31 05:14:25,141 [execute] INFO git push origin semver 05:14:25 2024-10-31 05:14:25,142 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:14:26 2024-10-31 05:14:26,003 [run_push] DEBUG push all version tags 05:14:26 2024-10-31 05:14:26,004 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:14:26 2024-10-31 05:14:26,004 [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:14:26 2024-10-31 05:14:26,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:14:26 4.0.0-dev.3 [Pipeline] } 05:14:26 $ docker exec --env ******** --env ******** 46a007e7b7266f0c9bad70bcdd6b68ffc65f889012f271f69976d447932bdf3b ssh-agent -k 05:14:26 unset SSH_AUTH_SOCK; 05:14:26 unset SSH_AGENT_PID; 05:14:26 echo Agent pid 38 killed; 05:14:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:14:27 + git semver [Pipeline] } 05:14:27 $ docker stop --time=1 46a007e7b7266f0c9bad70bcdd6b68ffc65f889012f271f69976d447932bdf3b 05:14:28 $ docker rm -f --volumes 46a007e7b7266f0c9bad70bcdd6b68ffc65f889012f271f69976d447932bdf3b [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:14:29 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:14:29 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:14:29 total 16 05:14:29 drwxr-xr-x 3 root root 4096 Oct 31 04:58 . 05:14:29 drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 05:14 .. 05:14:29 drwxr-xr-x 2 root root 4096 Oct 31 04:58 cost 05:14:29 -rw-r--r-- 1 root root 85 Oct 31 04:58 cost.csv 05:14:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:14:29 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:14:29 total 16 05:14:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 04:58 . 05:14:29 drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 05:14 .. 05:14:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 04:58 cost 05:14:29 -rw-r--r-- 1 jenkins jenkins 85 Oct 31 04:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:30 ---> package-listing.sh 05:14:30 ++ facter osfamily 05:14:30 ++ tr '[:upper:]' '[:lower:]' 05:14:30 + OS_FAMILY=debian 05:14:30 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:14:30 + START_PACKAGES=/tmp/packages_start.txt 05:14:30 + END_PACKAGES=/tmp/packages_end.txt 05:14:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:30 + PACKAGES=/tmp/packages_start.txt 05:14:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:14:30 + PACKAGES=/tmp/packages_end.txt 05:14:30 + case "${OS_FAMILY}" in 05:14:30 + dpkg -l 05:14:30 + grep '^ii' 05:14:30 + '[' -f /tmp/packages_start.txt ']' 05:14:30 + '[' -f /tmp/packages_end.txt ']' 05:14:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:14:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:14:30 + 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:14:30 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:14:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:31 prd-ubuntu20.04-docker-8c-8g-24204 does not seem to be running inside a container 05:14:31 $ 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:14:32 $ docker top 4d93b76fe00cd6f1f2e2ec79aa517444e45f4aeefc16f61f4dd41564214df3c2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:32 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:32 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:32 + ls /var/log/sa-host 05:14:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:33 provisioning config files... 05:14:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5513196456983252134tmp [Pipeline] { [Pipeline] echo 05:14:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:33 ---> create-netrc.sh [Pipeline] } 05:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:33 ---> python-tools-install.sh [Pipeline] echo 05:14:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:34 ---> sudo-logs.sh 05:14:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:34 ---> job-cost.sh 05:14:34 lf-activate-venv: SKIPPING 05:14:34 DEBUG: total: 0.2199999988079071 05:14:34 INFO: Retrieving Stack Cost... 05:14:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:35 INFO: Archiving Costs [Pipeline] echo 05:14:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:35 ---> logs-deploy.sh 05:14:35 lf-activate-venv: SKIPPING 05:14:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/325 05:14:35 INFO: archiving workspace using pattern(s): 05:14:36 Archives upload complete. 05:14:36 INFO: archiving logs to Nexus