Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50e812dd0fc65b097297637d35e073c818e89983 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-ssh8627609885270645332.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh14344125711263785655.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5149671961296167603.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10369531899264045784.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-ssh6674614773649008119.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5437 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 50e812dd0fc65b097297637d35e073c818e89983 (main) Commit message: "feat: reduce numbers of inactive goroutine to optimize performance (#1580)" > 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 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 > git rev-list --no-walk ffc6b2a10374aabd10876c720f3818be68dc531f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-12T08:28:05.965Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-12T08:28:06.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-12T08:28:06.072Z] ========================================================= [2024-07-12T08:28:06.072Z] EdgeX Global Pipelines Version Info [2024-07-12T08:28:06.072Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:28:06.841Z] ------------------- [2024-07-12T08:28:06.841Z] stable info: [2024-07-12T08:28:06.841Z] ------------------- [2024-07-12T08:28:06.841Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T08:28:06.841Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-12T08:28:06.841Z] Message: update stable to v1.0.260 [2024-07-12T08:28:07.413Z] ------------------- [2024-07-12T08:28:07.413Z] experimental info: [2024-07-12T08:28:07.413Z] ------------------- [2024-07-12T08:28:07.413Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-12T08:28:07.413Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-12T08:28:07.413Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-12T08:28:07.488Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-12T08:28:07.506Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-12T08:28:07.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-12T08:28:07.550Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-12T08:28:07.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-12T08:28:07.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-12T08:28:07.616Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-12T08:28:07.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-12T08:28:07.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-12T08:28:07.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-12T08:28:07.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-12T08:28:07.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-12T08:28:07.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-12T08:28:07.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-12T08:28:07.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-12T08:28:07.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T08:28:07.839Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T08:28:07.866Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-12T08:28:07.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-12T08:28:07.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-12T08:28:07.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-12T08:28:07.960Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-12T08:28:07.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-12T08:28:08.010Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-12T08:28:08.036Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-12T08:28:08.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-12T08:28:08.079Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-12T08:28:08.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-12T08:28:08.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-12T08:28:08.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-12T08:28:08.172Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] echo [2024-07-12T08:28:08.198Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50e812d [Pipeline] echo [2024-07-12T08:28:08.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T08:28:08.270Z] provisioning config files... [2024-07-12T08:28:08.285Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6836196704364945286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:28:08.634Z] ---> ****-login.sh [2024-07-12T08:28:08.634Z] nexus3.edgexfoundry.org:10001 [2024-07-12T08:28:08.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:09.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:09.154Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:09.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:09.154Z] [2024-07-12T08:28:09.154Z] Login Succeeded [2024-07-12T08:28:09.154Z] nexus3.edgexfoundry.org:10002 [2024-07-12T08:28:09.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:09.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:09.154Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:09.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:09.154Z] [2024-07-12T08:28:09.154Z] Login Succeeded [2024-07-12T08:28:09.154Z] nexus3.edgexfoundry.org:10003 [2024-07-12T08:28:09.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:09.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:09.155Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:09.155Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:09.155Z] [2024-07-12T08:28:09.155Z] Login Succeeded [2024-07-12T08:28:09.155Z] nexus3.edgexfoundry.org:10004 [2024-07-12T08:28:09.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:09.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:09.415Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:09.415Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:09.415Z] [2024-07-12T08:28:09.415Z] Login Succeeded [2024-07-12T08:28:09.415Z] ****.io [2024-07-12T08:28:09.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:09.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:09.678Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:09.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:09.679Z] [2024-07-12T08:28:09.679Z] Login Succeeded [2024-07-12T08:28:09.679Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T08:28:09.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-12T08:28:10.089Z] + git rev-list -1 --merges 50e812dd0fc65b097297637d35e073c818e89983~1..50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] echo [2024-07-12T08:28:10.116Z] -----------> git rev-list -1 --merges 50e812dd0fc65b097297637d35e073c818e89983~1..50e812dd0fc65b097297637d35e073c818e89983 50e812dd0fc65b097297637d35e073c818e89983 [false] [Pipeline] sh [2024-07-12T08:28:10.408Z] + git log --format=format:%s -1 50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] echo [2024-07-12T08:28:10.422Z] ========================================================= [2024-07-12T08:28:10.422Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-12T08:28:10.422Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T08:28:10.754Z] + git log --format=format:%s -1 50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] echo [2024-07-12T08:28:10.765Z] [semverPrep] GIT_COMMIT: 50e812dd0fc65b097297637d35e073c818e89983, Commit Message: feat: reduce numbers of inactive goroutine to optimize performance (#1580) [Pipeline] echo [2024-07-12T08:28:10.781Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-12T08:28:11.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T08:28:11.160Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-12T08:28:11.160Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-12T08:28:11.160Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-12T08:28:11.160Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-12T08:28:11.160Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-12T08:28:11.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:28:11.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:28:11.592Z] [2024-07-12T08:28:11.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:28:11.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:28:11.898Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-12T08:28:11.898Z] b85a868b505f: Pulling fs layer [2024-07-12T08:28:11.898Z] e2be974225ed: Pulling fs layer [2024-07-12T08:28:11.898Z] 339a4e72a1f5: Pulling fs layer [2024-07-12T08:28:11.898Z] 988bab9f4d93: Pulling fs layer [2024-07-12T08:28:11.898Z] 1469e6f7b9e6: Pulling fs layer [2024-07-12T08:28:11.898Z] eaf3925da568: Pulling fs layer [2024-07-12T08:28:11.898Z] bab4dde63d76: Pulling fs layer [2024-07-12T08:28:11.898Z] bde34c3a00c8: Pulling fs layer [2024-07-12T08:28:11.898Z] b352a97aabf1: Pulling fs layer [2024-07-12T08:28:11.898Z] 4872d77fe225: Pulling fs layer [2024-07-12T08:28:11.898Z] 5851b861e8e6: Pulling fs layer [2024-07-12T08:28:11.898Z] 988bab9f4d93: Waiting [2024-07-12T08:28:11.898Z] 1469e6f7b9e6: Waiting [2024-07-12T08:28:11.898Z] eaf3925da568: Waiting [2024-07-12T08:28:11.898Z] bab4dde63d76: Waiting [2024-07-12T08:28:11.898Z] bde34c3a00c8: Waiting [2024-07-12T08:28:11.898Z] b352a97aabf1: Waiting [2024-07-12T08:28:11.898Z] 4872d77fe225: Waiting [2024-07-12T08:28:11.898Z] 5851b861e8e6: Waiting [2024-07-12T08:28:11.898Z] e2be974225ed: Verifying Checksum [2024-07-12T08:28:11.898Z] e2be974225ed: Download complete [2024-07-12T08:28:11.898Z] 988bab9f4d93: Verifying Checksum [2024-07-12T08:28:11.898Z] 988bab9f4d93: Download complete [2024-07-12T08:28:12.158Z] 1469e6f7b9e6: Verifying Checksum [2024-07-12T08:28:12.158Z] 1469e6f7b9e6: Download complete [2024-07-12T08:28:12.158Z] 339a4e72a1f5: Verifying Checksum [2024-07-12T08:28:12.158Z] 339a4e72a1f5: Download complete [2024-07-12T08:28:12.158Z] eaf3925da568: Verifying Checksum [2024-07-12T08:28:12.158Z] eaf3925da568: Download complete [2024-07-12T08:28:12.158Z] bde34c3a00c8: Verifying Checksum [2024-07-12T08:28:12.158Z] bde34c3a00c8: Download complete [2024-07-12T08:28:12.158Z] b352a97aabf1: Verifying Checksum [2024-07-12T08:28:12.158Z] b352a97aabf1: Download complete [2024-07-12T08:28:12.158Z] 4872d77fe225: Verifying Checksum [2024-07-12T08:28:12.158Z] 4872d77fe225: Download complete [2024-07-12T08:28:12.158Z] 5851b861e8e6: Download complete [2024-07-12T08:28:12.158Z] b85a868b505f: Verifying Checksum [2024-07-12T08:28:12.158Z] b85a868b505f: Download complete [2024-07-12T08:28:12.416Z] bab4dde63d76: Verifying Checksum [2024-07-12T08:28:12.416Z] bab4dde63d76: Download complete [2024-07-12T08:28:13.351Z] b85a868b505f: Pull complete [2024-07-12T08:28:13.610Z] e2be974225ed: Pull complete [2024-07-12T08:28:14.177Z] 339a4e72a1f5: Pull complete [2024-07-12T08:28:14.177Z] 988bab9f4d93: Pull complete [2024-07-12T08:28:14.437Z] 1469e6f7b9e6: Pull complete [2024-07-12T08:28:14.437Z] eaf3925da568: Pull complete [2024-07-12T08:28:16.341Z] bab4dde63d76: Pull complete [2024-07-12T08:28:16.341Z] bde34c3a00c8: Pull complete [2024-07-12T08:28:16.341Z] b352a97aabf1: Pull complete [2024-07-12T08:28:16.600Z] 4872d77fe225: Pull complete [2024-07-12T08:28:16.600Z] 5851b861e8e6: Pull complete [2024-07-12T08:28:16.600Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-12T08:28:16.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:28:16.600Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:28:16.751Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:28:16.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T08:28:18.380Z] $ docker top 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 -eo pid,comm [2024-07-12T08:28:18.442Z] 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). [2024-07-12T08:28:18.442Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T08:28:18.497Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T08:28:18.497Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T08:28:18.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T08:28:18.616Z] $ docker exec 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 ssh-agent [2024-07-12T08:28:18.723Z] SSH_AUTH_SOCK=/tmp/ssh-kk9PIAUH7CmG/agent.32 [2024-07-12T08:28:18.723Z] SSH_AGENT_PID=38 [2024-07-12T08:28:18.729Z] Running ssh-add (command line suppressed) [2024-07-12T08:28:18.836Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11987657312792370366.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11987657312792370366.key) [2024-07-12T08:28:18.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T08:28:19.151Z] + git tag --points-at HEAD [Pipeline] } [2024-07-12T08:28:19.159Z] $ docker exec --env ******** --env ******** 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 ssh-agent -k [2024-07-12T08:28:19.257Z] unset SSH_AUTH_SOCK; [2024-07-12T08:28:19.257Z] unset SSH_AGENT_PID; [2024-07-12T08:28:19.257Z] echo Agent pid 38 killed; [2024-07-12T08:28:19.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-12T08:28:19.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T08:28:19.312Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T08:28:19.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T08:28:19.438Z] $ docker exec 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 ssh-agent [2024-07-12T08:28:19.552Z] SSH_AUTH_SOCK=/tmp/ssh-zet8xuQSENH5/agent.71 [2024-07-12T08:28:19.552Z] SSH_AGENT_PID=77 [2024-07-12T08:28:19.557Z] Running ssh-add (command line suppressed) [2024-07-12T08:28:19.676Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9663055280193714665.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9663055280193714665.key) [2024-07-12T08:28:19.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T08:28:19.991Z] + git semver init [2024-07-12T08:28:20.253Z] 2024-07-12 08:28:20,174 [run_init] DEBUG init version:0.0.0 force:False [2024-07-12T08:28:20.253Z] 2024-07-12 08:28:20,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-12T08:28:20.253Z] 2024-07-12 08:28:20,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-07-12T08:28:20.253Z] 2024-07-12 08:28:20,176 [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) [2024-07-12T08:28:22.159Z] 2024-07-12 08:28:22,125 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-07-12T08:28:22.159Z] 2024-07-12 08:28:22,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-07-12T08:28:22.159Z] 2024-07-12 08:28:22,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:28:22.159Z] 2024-07-12 08:28:22,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:28:22.159Z] 3.2.0-dev.21 [Pipeline] } [2024-07-12T08:28:22.168Z] $ docker exec --env ******** --env ******** 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 ssh-agent -k [2024-07-12T08:28:22.272Z] unset SSH_AUTH_SOCK; [2024-07-12T08:28:22.272Z] unset SSH_AGENT_PID; [2024-07-12T08:28:22.273Z] echo Agent pid 77 killed; [2024-07-12T08:28:22.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T08:28:22.609Z] + git semver [Pipeline] } [2024-07-12T08:28:22.879Z] $ docker stop --time=1 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 [2024-07-12T08:28:24.168Z] $ docker rm -f --volumes 15670d9e96593409bd63a5d5b20ec591af59078f171fb52a19bd7612fcf0ad22 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T08:28:24.514Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-12T08:28:24.753Z] Stashed 1 file(s) [Pipeline] echo [2024-07-12T08:28:24.756Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 [2024-07-12T08:28:24.916Z] provisioning config files... [2024-07-12T08:28:24.928Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14525065107773064635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:28:25.231Z] ---> ****-login.sh [2024-07-12T08:28:25.231Z] nexus3.edgexfoundry.org:10001 [2024-07-12T08:28:25.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:25.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:25.231Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:25.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:25.231Z] [2024-07-12T08:28:25.231Z] Login Succeeded [2024-07-12T08:28:25.231Z] nexus3.edgexfoundry.org:10002 [2024-07-12T08:28:25.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:25.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:25.231Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:25.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:25.231Z] [2024-07-12T08:28:25.231Z] Login Succeeded [2024-07-12T08:28:25.231Z] nexus3.edgexfoundry.org:10003 [2024-07-12T08:28:25.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:25.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:25.492Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:25.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:25.492Z] [2024-07-12T08:28:25.492Z] Login Succeeded [2024-07-12T08:28:25.492Z] nexus3.edgexfoundry.org:10004 [2024-07-12T08:28:25.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:25.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:25.492Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:25.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:25.492Z] [2024-07-12T08:28:25.492Z] Login Succeeded [2024-07-12T08:28:25.492Z] ****.io [2024-07-12T08:28:25.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:28:25.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:28:25.752Z] Configure a credential helper to remove this warning. See [2024-07-12T08:28:25.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:28:25.752Z] [2024-07-12T08:28:25.752Z] Login Succeeded [2024-07-12T08:28:25.752Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T08:28:25.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T08:28:25.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T08:28:25.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T08:28:25.879Z] ========================================================= [2024-07-12T08:28:25.879Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-12T08:28:25.879Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:28:26.211Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-12T08:28:26.211Z] Sending build context to Docker daemon 24.99MB [2024-07-12T08:28:26.211Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T08:28:26.211Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-12T08:28:26.470Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-12T08:28:26.470Z] 619be1103602: Pulling fs layer [2024-07-12T08:28:26.470Z] 7862e08f4a3e: Pulling fs layer [2024-07-12T08:28:26.470Z] 5df492c9dc93: Pulling fs layer [2024-07-12T08:28:26.470Z] 7629e6793208: Pulling fs layer [2024-07-12T08:28:26.470Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T08:28:26.470Z] fb5054dd5b73: Pulling fs layer [2024-07-12T08:28:26.470Z] eeca6798cff9: Pulling fs layer [2024-07-12T08:28:26.470Z] aa269ceb94a6: Pulling fs layer [2024-07-12T08:28:26.470Z] ada007ff1a6a: Pulling fs layer [2024-07-12T08:28:26.470Z] fb5054dd5b73: Waiting [2024-07-12T08:28:26.470Z] 4f4fb700ef54: Waiting [2024-07-12T08:28:26.470Z] 7629e6793208: Waiting [2024-07-12T08:28:26.470Z] eeca6798cff9: Waiting [2024-07-12T08:28:26.470Z] aa269ceb94a6: Waiting [2024-07-12T08:28:26.470Z] ada007ff1a6a: Waiting [2024-07-12T08:28:26.470Z] 7862e08f4a3e: Verifying Checksum [2024-07-12T08:28:26.470Z] 7629e6793208: Verifying Checksum [2024-07-12T08:28:26.470Z] 7629e6793208: Download complete [2024-07-12T08:28:26.470Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T08:28:26.470Z] 4f4fb700ef54: Download complete [2024-07-12T08:28:26.470Z] fb5054dd5b73: Verifying Checksum [2024-07-12T08:28:26.470Z] fb5054dd5b73: Download complete [2024-07-12T08:28:26.470Z] 619be1103602: Verifying Checksum [2024-07-12T08:28:26.470Z] 619be1103602: Download complete [2024-07-12T08:28:26.470Z] eeca6798cff9: Verifying Checksum [2024-07-12T08:28:26.470Z] eeca6798cff9: Download complete [2024-07-12T08:28:26.470Z] 619be1103602: Pull complete [2024-07-12T08:28:26.730Z] ada007ff1a6a: Verifying Checksum [2024-07-12T08:28:26.730Z] ada007ff1a6a: Download complete [2024-07-12T08:28:26.730Z] 7862e08f4a3e: Pull complete [2024-07-12T08:28:26.989Z] 5df492c9dc93: Verifying Checksum [2024-07-12T08:28:26.989Z] 5df492c9dc93: Download complete [2024-07-12T08:28:27.248Z] aa269ceb94a6: Verifying Checksum [2024-07-12T08:28:30.529Z] 5df492c9dc93: Pull complete [2024-07-12T08:28:30.529Z] 7629e6793208: Pull complete [2024-07-12T08:28:30.529Z] 4f4fb700ef54: Pull complete [2024-07-12T08:28:30.529Z] fb5054dd5b73: Pull complete [2024-07-12T08:28:30.529Z] eeca6798cff9: Pull complete [2024-07-12T08:28:33.059Z] aa269ceb94a6: Pull complete [2024-07-12T08:28:33.318Z] ada007ff1a6a: Pull complete [2024-07-12T08:28:33.318Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-12T08:28:33.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-12T08:28:33.318Z] ---> f489d0715acc [2024-07-12T08:28:33.318Z] Step 3/10 : ARG MAKE=make build [2024-07-12T08:28:35.855Z] ---> Running in d8fe95aa4f49 [2024-07-12T08:28:35.855Z] Removing intermediate container d8fe95aa4f49 [2024-07-12T08:28:35.855Z] ---> e7c21bc146a5 [2024-07-12T08:28:35.855Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-12T08:28:35.855Z] ---> Running in ab74bf6c2140 [2024-07-12T08:28:35.855Z] Removing intermediate container ab74bf6c2140 [2024-07-12T08:28:35.855Z] ---> 1d807d4a8eea [2024-07-12T08:28:35.855Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T08:28:35.855Z] ---> Running in e1ef4d773eb8 [2024-07-12T08:28:35.855Z] Removing intermediate container e1ef4d773eb8 [2024-07-12T08:28:35.855Z] ---> b4ac8d39cf5e [2024-07-12T08:28:35.855Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-12T08:28:35.855Z] ---> Running in 78356571362e [2024-07-12T08:28:36.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T08:28:39.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T08:28:39.406Z] OK: 264 MiB in 52 packages [2024-07-12T08:28:39.406Z] Removing intermediate container 78356571362e [2024-07-12T08:28:39.406Z] ---> 5c5aa0494cb7 [2024-07-12T08:28:39.406Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-12T08:28:39.406Z] ---> 81b300f10b86 [2024-07-12T08:28:39.406Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T08:28:39.665Z] ---> Running in 19c78746aaca [2024-07-12T08:28:39.865Z] Still waiting to schedule task [2024-07-12T08:28:39.866Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-12T08:30:01.147Z] Removing intermediate container 19c78746aaca [2024-07-12T08:30:01.147Z] ---> 0372cd243087 [2024-07-12T08:30:01.147Z] Step 9/10 : COPY . . [2024-07-12T08:30:01.147Z] ---> 4c09742609e4 [2024-07-12T08:30:01.147Z] Step 10/10 : RUN ${MAKE} [2024-07-12T08:30:01.147Z] ---> Running in dc1a7eab3222 [2024-07-12T08:30:01.147Z] noop [2024-07-12T08:30:01.147Z] Removing intermediate container dc1a7eab3222 [2024-07-12T08:30:01.147Z] ---> 09a090ce39f4 [2024-07-12T08:30:01.147Z] Successfully built 09a090ce39f4 [2024-07-12T08:30:01.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:30:01.480Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T08:30:01.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:30:01.548Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:30:01.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T08:30:03.148Z] $ docker top 327ee02a9bf0691a1cf3b5087d8bec6a84c9cbd4354de1734d0a97ce323f8957 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:30:03.527Z] + go version [2024-07-12T08:30:03.528Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-12T08:30:03.536Z] $ docker stop --time=1 327ee02a9bf0691a1cf3b5087d8bec6a84c9cbd4354de1734d0a97ce323f8957 [2024-07-12T08:30:05.893Z] $ docker rm -f --volumes 327ee02a9bf0691a1cf3b5087d8bec6a84c9cbd4354de1734d0a97ce323f8957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:30:06.536Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-12T08:30:06.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:30:06.625Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:30:06.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-12T08:30:07.894Z] $ docker top 57ea4ed9544f322cb8b61aabda39cf936c9d67723e5f84358db80c02c0bf10b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:30:08.245Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-12T08:30:08.544Z] + make test [2024-07-12T08:30:08.544Z] go test -race -coverprofile=coverage.out ./... [2024-07-12T08:30:12.669Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5438 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-07-12T08:30:12.686Z] Running in /w/workspace/device-sdk-go/296 [Pipeline] { [Pipeline] checkout [2024-07-12T08:30:15.740Z] The recommended git tool is: git [2024-07-12T08:30:18.517Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-12T08:30:22.910Z] using credential edgex-jenkins-ssh [2024-07-12T08:30:22.937Z] Cloning the remote Git repository [2024-07-12T08:30:22.980Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-12T08:30:23.104Z] > git init /w/workspace/device-sdk-go/296 # timeout=10 [2024-07-12T08:30:23.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-12T08:30:23.279Z] > git --version # timeout=10 [2024-07-12T08:30:23.377Z] > git --version # 'git version 2.25.1' [2024-07-12T08:30:23.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-12T08:30:23.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T08:30:27.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-12T08:30:27.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-12T08:30:28.161Z] Avoid second fetch [2024-07-12T08:30:28.162Z] Checking out Revision 50e812dd0fc65b097297637d35e073c818e89983 (main) [2024-07-12T08:30:28.819Z] Commit message: "feat: reduce numbers of inactive goroutine to optimize performance (#1580)" [2024-07-12T08:30:28.173Z] > git config core.sparsecheckout # timeout=10 [2024-07-12T08:30:28.246Z] > git checkout -f 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T08:30:33.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-12T08:30:33.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T08:30:33.438Z] Dload Upload Total Spent Left Speed [2024-07-12T08:30:33.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-07-12T08:30:33.773Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-12T08:30:34.092Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-07-12T08:30:34.092Z] [2024-07-12T08:30:34.092Z] { [2024-07-12T08:30:34.092Z] "registry-mirrors": [ [2024-07-12T08:30:34.092Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-12T08:30:34.092Z] ], [2024-07-12T08:30:34.092Z] "bip": "10.250.0.254/24", [2024-07-12T08:30:34.092Z] "hosts": [ [2024-07-12T08:30:34.092Z] "tcp://0.0.0.0:5555", [2024-07-12T08:30:34.092Z] "unix:///var/run/docker.sock" [2024-07-12T08:30:34.092Z] ], [2024-07-12T08:30:34.092Z] "mtu": 1458, [2024-07-12T08:30:34.092Z] "selinux-enabled": true, [2024-07-12T08:30:34.092Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-12T08:30:34.092Z] } [Pipeline] sh [2024-07-12T08:30:34.447Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-12T08:30:34.787Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T08:30:53.095Z] provisioning config files... [2024-07-12T08:30:53.117Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/296@tmp/config10528811076415771298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:30:53.540Z] ---> ****-login.sh [2024-07-12T08:30:53.540Z] nexus3.edgexfoundry.org:10001 [2024-07-12T08:30:53.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:30:54.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:30:54.089Z] Configure a credential helper to remove this warning. See [2024-07-12T08:30:54.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:30:54.089Z] [2024-07-12T08:30:54.089Z] Login Succeeded [2024-07-12T08:30:54.089Z] nexus3.edgexfoundry.org:10002 [2024-07-12T08:30:54.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:30:54.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:30:54.628Z] Configure a credential helper to remove this warning. See [2024-07-12T08:30:54.628Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:30:54.628Z] [2024-07-12T08:30:54.628Z] Login Succeeded [2024-07-12T08:30:54.628Z] nexus3.edgexfoundry.org:10003 [2024-07-12T08:30:54.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:30:54.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:30:54.897Z] Configure a credential helper to remove this warning. See [2024-07-12T08:30:54.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:30:54.897Z] [2024-07-12T08:30:54.897Z] Login Succeeded [2024-07-12T08:30:54.897Z] nexus3.edgexfoundry.org:10004 [2024-07-12T08:30:55.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:30:55.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:30:55.167Z] Configure a credential helper to remove this warning. See [2024-07-12T08:30:55.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:30:55.167Z] [2024-07-12T08:30:55.167Z] Login Succeeded [2024-07-12T08:30:55.167Z] ****.io [2024-07-12T08:30:55.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-12T08:30:55.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-12T08:30:55.701Z] Configure a credential helper to remove this warning. See [2024-07-12T08:30:55.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-12T08:30:55.701Z] [2024-07-12T08:30:55.701Z] Login Succeeded [2024-07-12T08:30:55.701Z] ---> ****-login.sh ends [Pipeline] } [2024-07-12T08:30:55.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-12T08:30:56.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T08:30:56.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-12T08:30:56.052Z] ========================================================= [2024-07-12T08:30:56.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-12T08:30:56.052Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:30:56.411Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-12T08:30:56.997Z] Sending build context to Docker daemon 12.92MB [2024-07-12T08:30:56.997Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T08:30:56.997Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-12T08:30:57.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.027s coverage: 27.0% of statements [2024-07-12T08:30:57.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 80.0% of statements [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-12T08:30:57.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.055s coverage: 86.0% of statements [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-12T08:30:57.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-12T08:30:57.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2024-07-12T08:30:57.267Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-12T08:30:57.267Z] c6b39de5b339: Pulling fs layer [2024-07-12T08:30:57.267Z] a69c41024577: Pulling fs layer [2024-07-12T08:30:57.267Z] d6de4b400683: Pulling fs layer [2024-07-12T08:30:57.267Z] 35cb2a7552d0: Pulling fs layer [2024-07-12T08:30:57.267Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T08:30:57.267Z] 464afbd9ba4c: Pulling fs layer [2024-07-12T08:30:57.267Z] 00f215d4a9da: Pulling fs layer [2024-07-12T08:30:57.267Z] 4f4fb700ef54: Waiting [2024-07-12T08:30:57.267Z] d496ad576159: Pulling fs layer [2024-07-12T08:30:57.267Z] 464afbd9ba4c: Waiting [2024-07-12T08:30:57.267Z] 00f215d4a9da: Waiting [2024-07-12T08:30:57.267Z] d496ad576159: Waiting [2024-07-12T08:30:57.267Z] 35cb2a7552d0: Waiting [2024-07-12T08:30:57.267Z] a69c41024577: Verifying Checksum [2024-07-12T08:30:57.267Z] a69c41024577: Download complete [2024-07-12T08:30:57.267Z] 35cb2a7552d0: Verifying Checksum [2024-07-12T08:30:57.267Z] 35cb2a7552d0: Download complete [2024-07-12T08:30:57.267Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T08:30:57.267Z] 4f4fb700ef54: Download complete [2024-07-12T08:30:57.267Z] 464afbd9ba4c: Download complete [2024-07-12T08:30:57.267Z] c6b39de5b339: Verifying Checksum [2024-07-12T08:30:57.267Z] c6b39de5b339: Download complete [2024-07-12T08:30:57.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-12T08:30:57.856Z] d496ad576159: Verifying Checksum [2024-07-12T08:30:57.856Z] d496ad576159: Download complete [2024-07-12T08:30:58.127Z] c6b39de5b339: Pull complete [2024-07-12T08:30:58.715Z] a69c41024577: Pull complete [2024-07-12T08:30:58.984Z] d6de4b400683: Verifying Checksum [2024-07-12T08:30:58.984Z] d6de4b400683: Download complete [2024-07-12T08:31:00.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.043s coverage: 14.4% of statements [2024-07-12T08:31:00.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.936s coverage: 44.6% of statements [2024-07-12T08:31:00.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.041s coverage: 68.5% of statements [2024-07-12T08:31:00.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements [2024-07-12T08:31:00.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.4% of statements [2024-07-12T08:31:00.401Z] 00f215d4a9da: Verifying Checksum [2024-07-12T08:31:00.401Z] 00f215d4a9da: Download complete [2024-07-12T08:31:12.735Z] d6de4b400683: Pull complete [2024-07-12T08:31:12.735Z] 35cb2a7552d0: Pull complete [2024-07-12T08:31:12.735Z] 4f4fb700ef54: Pull complete [2024-07-12T08:31:12.735Z] 464afbd9ba4c: Pull complete [2024-07-12T08:31:20.953Z] 00f215d4a9da: Pull complete [2024-07-12T08:31:22.898Z] d496ad576159: Pull complete [2024-07-12T08:31:22.898Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-12T08:31:22.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-12T08:31:22.898Z] ---> f246e2811388 [2024-07-12T08:31:22.898Z] Step 3/10 : ARG MAKE=make build [2024-07-12T08:31:24.304Z] ---> Running in a73edf627640 [2024-07-12T08:31:24.578Z] Removing intermediate container a73edf627640 [2024-07-12T08:31:24.578Z] ---> 0e4e8b39581e [2024-07-12T08:31:24.578Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-12T08:31:24.845Z] ---> Running in 45c3ce952299 [2024-07-12T08:31:25.113Z] Removing intermediate container 45c3ce952299 [2024-07-12T08:31:25.113Z] ---> 711f9fb65289 [2024-07-12T08:31:25.113Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T08:31:25.113Z] ---> Running in 5b41cdabeb5e [2024-07-12T08:31:25.384Z] Removing intermediate container 5b41cdabeb5e [2024-07-12T08:31:25.384Z] ---> 57a9ba17791c [2024-07-12T08:31:25.384Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-12T08:31:25.384Z] ---> Running in a1caf1aa8293 [2024-07-12T08:31:26.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T08:31:27.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T08:31:28.342Z] OK: 266 MiB in 52 packages [2024-07-12T08:31:30.301Z] Removing intermediate container a1caf1aa8293 [2024-07-12T08:31:30.301Z] ---> ef0114a34295 [2024-07-12T08:31:30.301Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-12T08:31:30.569Z] ---> 9e56d73745a6 [2024-07-12T08:31:30.569Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T08:31:30.569Z] ---> Running in 11812315c534 [2024-07-12T08:31:38.778Z] GO111MODULE=on go vet ./... [2024-07-12T08:31:40.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T08:31:40.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T08:31:40.155Z] ./bin/test-attribution-txt.sh [2024-07-12T08:31:40.155Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T08:31:40.155Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T08:31:40.155Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T08:31:40.155Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T08:31:40.155Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T08:31:40.414Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T08:31:40.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T08:31:40.441Z] $ docker stop --time=1 57ea4ed9544f322cb8b61aabda39cf936c9d67723e5f84358db80c02c0bf10b5 [2024-07-12T08:31:46.156Z] $ docker rm -f --volumes 57ea4ed9544f322cb8b61aabda39cf936c9d67723e5f84358db80c02c0bf10b5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T08:31:46.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T08:31:46.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-12T08:31:47.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T08:31:47.796Z] + ls -al . [2024-07-12T08:31:47.796Z] total 376 [2024-07-12T08:31:47.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 08:30 . [2024-07-12T08:31:47.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 08:27 .. [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 08:28 .dockerignore [2024-07-12T08:31:47.796Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 08:31 .git [2024-07-12T08:31:47.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 08:28 .github [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 12 08:28 .gitignore [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 12 08:28 .golangci.yml [2024-07-12T08:31:47.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 08:28 .semver [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 12 08:28 CHANGELOG.md [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 08:28 GOVERNANCE.md [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 12 08:28 Jenkinsfile [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 12 08:28 LICENSE [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 12 08:28 Makefile [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 12 08:28 OWNERS.md [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 12 08:28 README.md [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 12 08:28 VERSION [2024-07-12T08:31:47.796Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 08:28 bin [2024-07-12T08:31:47.796Z] -rw-r--r-- 1 jenkins jenkins 122665 Jul 12 08:30 coverage.out [2024-07-12T08:31:47.796Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 08:28 example [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 7102 Jul 12 08:28 go.mod [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 102003 Jul 12 08:28 go.sum [2024-07-12T08:31:47.796Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 08:28 internal [2024-07-12T08:31:47.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 08:28 openapi [2024-07-12T08:31:47.796Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 08:28 pkg [2024-07-12T08:31:47.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 08:28 snap [2024-07-12T08:31:47.796Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 12 08:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:31:48.245Z] + 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=50e812dd0fc65b097297637d35e073c818e89983 --label arch=amd64 --label version=3.2.0-dev.21 . [2024-07-12T08:31:48.245Z] Sending build context to Docker daemon 25.12MB [2024-07-12T08:31:48.245Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T08:31:48.245Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-12T08:31:48.245Z] ---> 09a090ce39f4 [2024-07-12T08:31:48.245Z] Step 3/24 : ARG MAKE=make build [2024-07-12T08:31:49.183Z] ---> Running in aed779fc8012 [2024-07-12T08:31:49.442Z] Removing intermediate container aed779fc8012 [2024-07-12T08:31:49.442Z] ---> 9dd49902409b [2024-07-12T08:31:49.442Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-12T08:31:49.700Z] ---> Running in 263c19c71189 [2024-07-12T08:31:49.958Z] Removing intermediate container 263c19c71189 [2024-07-12T08:31:49.958Z] ---> fa555af4bed2 [2024-07-12T08:31:49.958Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T08:31:49.958Z] ---> Running in a6772a1ca0f6 [2024-07-12T08:31:50.217Z] Removing intermediate container a6772a1ca0f6 [2024-07-12T08:31:50.217Z] ---> 1387e32ddd00 [2024-07-12T08:31:50.217Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-12T08:31:50.477Z] ---> Running in 0a7bab7c5165 [2024-07-12T08:31:50.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T08:31:50.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T08:31:51.254Z] OK: 264 MiB in 52 packages [2024-07-12T08:31:51.516Z] Removing intermediate container 0a7bab7c5165 [2024-07-12T08:31:51.516Z] ---> a9dfed86d7c1 [2024-07-12T08:31:51.516Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-12T08:31:51.516Z] ---> c6d7c1a60e62 [2024-07-12T08:31:51.516Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T08:31:51.516Z] ---> Running in dfb00bd760c9 [2024-07-12T08:31:52.082Z] Removing intermediate container dfb00bd760c9 [2024-07-12T08:31:52.082Z] ---> ca92ecd5ee0e [2024-07-12T08:31:52.082Z] Step 9/24 : COPY . . [2024-07-12T08:31:53.459Z] ---> e83ea955d680 [2024-07-12T08:31:53.459Z] Step 10/24 : RUN ${MAKE} [2024-07-12T08:31:53.459Z] ---> Running in 0f2aac13e537 [2024-07-12T08:31:53.718Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-12T08:32:33.284Z] Removing intermediate container 0f2aac13e537 [2024-07-12T08:32:33.284Z] ---> 9f67b22f18a3 [2024-07-12T08:32:33.284Z] Step 11/24 : FROM alpine:3.18 [2024-07-12T08:32:33.284Z] 3.18: Pulling from library/alpine [2024-07-12T08:32:33.284Z] 73baa7ef167e: Pulling fs layer [2024-07-12T08:32:33.284Z] 73baa7ef167e: Download complete [2024-07-12T08:32:33.284Z] 73baa7ef167e: Pull complete [2024-07-12T08:32:33.284Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T08:32:33.284Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T08:32:33.284Z] ---> 8fd7cac70a4a [2024-07-12T08:32:33.284Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-12T08:32:33.284Z] ---> Running in 030ae012b8ab [2024-07-12T08:32:33.284Z] Removing intermediate container 030ae012b8ab [2024-07-12T08:32:33.284Z] ---> 1870c74b4886 [2024-07-12T08:32:33.284Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-12T08:32:33.284Z] ---> Running in a590cb92d3e3 [2024-07-12T08:32:33.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T08:32:33.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T08:32:33.284Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T08:32:33.284Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T08:32:33.284Z] OK: 7 MiB in 16 packages [2024-07-12T08:32:33.543Z] Removing intermediate container a590cb92d3e3 [2024-07-12T08:32:33.543Z] ---> 309f4f99b826 [2024-07-12T08:32:33.543Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-12T08:32:33.543Z] ---> Running in 1955ed23874b [2024-07-12T08:32:33.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-12T08:32:33.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-12T08:32:34.061Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T08:32:34.639Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T08:32:34.639Z] OK: 7 MiB in 16 packages [2024-07-12T08:32:36.013Z] Removing intermediate container 1955ed23874b [2024-07-12T08:32:36.013Z] ---> 31e44db5d929 [2024-07-12T08:32:36.013Z] Step 15/24 : WORKDIR / [2024-07-12T08:32:36.013Z] ---> Running in f6407ba195c2 [2024-07-12T08:32:36.013Z] Removing intermediate container f6407ba195c2 [2024-07-12T08:32:36.013Z] ---> 38b529415f02 [2024-07-12T08:32:36.013Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-12T08:32:36.272Z] ---> f3dbfbd0c6ed [2024-07-12T08:32:36.272Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-12T08:32:38.174Z] ---> 6bc78642eb85 [2024-07-12T08:32:38.174Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-12T08:32:38.174Z] ---> 7d45bd3b7065 [2024-07-12T08:32:38.174Z] Step 19/24 : EXPOSE 59999 [2024-07-12T08:32:38.174Z] ---> Running in ef0afb35326b [2024-07-12T08:32:38.174Z] Removing intermediate container ef0afb35326b [2024-07-12T08:32:38.174Z] ---> 2277f1019713 [2024-07-12T08:32:38.174Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-12T08:32:38.174Z] ---> Running in d9597194cd16 [2024-07-12T08:32:38.174Z] Removing intermediate container d9597194cd16 [2024-07-12T08:32:38.174Z] ---> 1374e75ff256 [2024-07-12T08:32:38.174Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-12T08:32:38.174Z] ---> Running in 144f6c205dd9 [2024-07-12T08:32:38.174Z] Removing intermediate container 144f6c205dd9 [2024-07-12T08:32:38.174Z] ---> 868deac897a7 [2024-07-12T08:32:38.174Z] Step 22/24 : LABEL arch=amd64 [2024-07-12T08:32:38.174Z] ---> Running in 35111f8fb7a1 [2024-07-12T08:32:38.431Z] Removing intermediate container 35111f8fb7a1 [2024-07-12T08:32:38.431Z] ---> 299ce9551be3 [2024-07-12T08:32:38.431Z] Step 23/24 : LABEL git_sha=50e812dd0fc65b097297637d35e073c818e89983 [2024-07-12T08:32:38.431Z] ---> Running in 3adac9731e1a [2024-07-12T08:32:38.431Z] Removing intermediate container 3adac9731e1a [2024-07-12T08:32:38.431Z] ---> 4a9485e7fb66 [2024-07-12T08:32:38.431Z] Step 24/24 : LABEL version=3.2.0-dev.21 [2024-07-12T08:32:38.431Z] ---> Running in 3e7700b377fa [2024-07-12T08:32:38.691Z] Removing intermediate container 3e7700b377fa [2024-07-12T08:32:38.691Z] ---> f2f159fc43bb [2024-07-12T08:32:38.691Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T08:32:38.691Z] Successfully built f2f159fc43bb [2024-07-12T08:32:38.691Z] 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 [2024-07-12T08:32:39.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T08:32:39.145Z] [2024-07-12T08:32:39.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:32:39.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T08:32:39.444Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-12T08:32:39.444Z] 5eb5b503b376: Pulling fs layer [2024-07-12T08:32:39.444Z] 5c69ac0246d0: Pulling fs layer [2024-07-12T08:32:39.444Z] ec43610c2a17: Pulling fs layer [2024-07-12T08:32:39.444Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-12T08:32:39.444Z] 33b1e0a273af: Pulling fs layer [2024-07-12T08:32:39.444Z] 5d3b04190fa2: Pulling fs layer [2024-07-12T08:32:39.444Z] 2f39f015ded8: Pulling fs layer [2024-07-12T08:32:39.444Z] 33b1e0a273af: Waiting [2024-07-12T08:32:39.444Z] 2f39f015ded8: Waiting [2024-07-12T08:32:39.444Z] 5d3b04190fa2: Waiting [2024-07-12T08:32:39.444Z] 3a2ae6a8a46f: Waiting [2024-07-12T08:32:39.444Z] 5c69ac0246d0: Download complete [2024-07-12T08:32:39.444Z] 3a2ae6a8a46f: Download complete [2024-07-12T08:32:39.444Z] 33b1e0a273af: Verifying Checksum [2024-07-12T08:32:39.444Z] 33b1e0a273af: Download complete [2024-07-12T08:32:39.444Z] 5d3b04190fa2: Download complete [2024-07-12T08:32:39.712Z] ec43610c2a17: Verifying Checksum [2024-07-12T08:32:39.712Z] ec43610c2a17: Download complete [2024-07-12T08:32:39.712Z] 5eb5b503b376: Verifying Checksum [2024-07-12T08:32:39.712Z] 5eb5b503b376: Download complete [2024-07-12T08:32:40.645Z] 2f39f015ded8: Verifying Checksum [2024-07-12T08:32:40.645Z] 2f39f015ded8: Download complete [2024-07-12T08:32:41.209Z] 5eb5b503b376: Pull complete [2024-07-12T08:32:41.467Z] 5c69ac0246d0: Pull complete [2024-07-12T08:32:41.727Z] ec43610c2a17: Pull complete [2024-07-12T08:32:41.985Z] 3a2ae6a8a46f: Pull complete [2024-07-12T08:32:42.268Z] 33b1e0a273af: Pull complete [2024-07-12T08:32:42.530Z] 5d3b04190fa2: Pull complete [2024-07-12T08:32:54.871Z] 2f39f015ded8: Pull complete [2024-07-12T08:32:54.871Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-12T08:32:54.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T08:32:54.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:32:54.974Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:32:55.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-12T08:32:55.342Z] $ docker top 4d53ab2d37d1718aeead0672da7a0147107316cb490c1fa6593fa250ccdec7d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:32:55.745Z] ---> job-cost.sh [2024-07-12T08:32:55.746Z] lf-activate-venv: SKIPPING [2024-07-12T08:32:55.746Z] INFO: No Stack... [2024-07-12T08:32:56.004Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T08:32:56.263Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T08:32:56.554Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-07-12T08:32:56.555Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T08:32:56.567Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [2024-07-12T08:32:56.579Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] did not exist. Created. [2024-07-12T08:32:56.586Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T08:32:56.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-12T08:32:56.925Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T08:32:56.933Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T08:32:56.951Z] $ docker stop --time=1 4d53ab2d37d1718aeead0672da7a0147107316cb490c1fa6593fa250ccdec7d0 [2024-07-12T08:32:59.928Z] $ docker rm -f --volumes 4d53ab2d37d1718aeead0672da7a0147107316cb490c1fa6593fa250ccdec7d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-12T08:33:37.231Z] Removing intermediate container 11812315c534 [2024-07-12T08:33:37.231Z] ---> dad853229a61 [2024-07-12T08:33:37.231Z] Step 9/10 : COPY . . [2024-07-12T08:33:37.231Z] ---> f4004200f522 [2024-07-12T08:33:37.231Z] Step 10/10 : RUN ${MAKE} [2024-07-12T08:33:37.231Z] ---> Running in 527cf60c96c4 [2024-07-12T08:33:37.231Z] noop [2024-07-12T08:33:37.231Z] Removing intermediate container 527cf60c96c4 [2024-07-12T08:33:37.231Z] ---> d30c60a2ea33 [2024-07-12T08:33:37.231Z] Successfully built d30c60a2ea33 [2024-07-12T08:33:37.231Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:33:37.589Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T08:33:37.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:33:37.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-5438 does not seem to be running inside a container [2024-07-12T08:33:37.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/296 -v /w/workspace/device-sdk-go/296:/w/workspace/device-sdk-go/296:rw,z -v /w/workspace/device-sdk-go/296@tmp:/w/workspace/device-sdk-go/296@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 [2024-07-12T08:33:39.035Z] $ docker top ce19407255b4d665a594931d2b5591c9d0655af50c346da95b17ed9936ff30cf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:33:39.878Z] + go version [2024-07-12T08:33:39.878Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-12T08:33:39.893Z] $ docker stop --time=1 ce19407255b4d665a594931d2b5591c9d0655af50c346da95b17ed9936ff30cf [2024-07-12T08:33:41.519Z] $ docker rm -f --volumes ce19407255b4d665a594931d2b5591c9d0655af50c346da95b17ed9936ff30cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:33:42.160Z] + docker inspect -f . ci-base-image-arm64 [2024-07-12T08:33:42.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:33:42.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-5438 does not seem to be running inside a container [2024-07-12T08:33:42.450Z] $ 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/296 -v /w/workspace/device-sdk-go/296:/w/workspace/device-sdk-go/296:rw,z -v /w/workspace/device-sdk-go/296@tmp:/w/workspace/device-sdk-go/296@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 [2024-07-12T08:33:43.655Z] $ docker top 185ad05349defc50ce37eeb49c5fa7caf8480eab306ad930a9ebfaa888886aa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:33:44.541Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/296 [Pipeline] fileExists [Pipeline] sh [2024-07-12T08:33:45.202Z] + make test [2024-07-12T08:33:45.202Z] go test -race -coverprofile=coverage.out ./... [2024-07-12T08:34:32.064Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-12T08:37:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-12T08:37:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-12T08:37:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-12T08:37:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-12T08:37:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-12T08:38:08.913Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.155s coverage: 27.0% of statements [2024-07-12T08:38:11.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.177s coverage: 80.0% of statements [2024-07-12T08:38:18.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-12T08:38:18.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-12T08:38:18.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.294s coverage: 86.0% of statements [2024-07-12T08:38:23.011Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-12T08:38:24.420Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.514s coverage: 71.8% of statements [2024-07-12T08:38:28.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.166s coverage: 14.4% of statements [2024-07-12T08:38:28.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.680s coverage: 44.6% of statements [2024-07-12T08:38:29.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-12T08:38:29.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-12T08:38:31.323Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.342s coverage: 68.5% of statements [2024-07-12T08:38:34.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.382s coverage: 89.2% of statements [2024-07-12T08:38:38.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-12T08:38:40.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.269s coverage: 5.4% of statements [2024-07-12T08:38:41.755Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-12T08:38:41.755Z] GO111MODULE=on go vet ./... [2024-07-12T08:42:48.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-12T08:42:48.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-12T08:42:48.596Z] ./bin/test-attribution-txt.sh [2024-07-12T08:42:48.596Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-12T08:42:48.596Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-12T08:42:48.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-12T08:42:48.628Z] $ docker stop --time=1 185ad05349defc50ce37eeb49c5fa7caf8480eab306ad930a9ebfaa888886aa6 [2024-07-12T08:42:50.735Z] $ docker rm -f --volumes 185ad05349defc50ce37eeb49c5fa7caf8480eab306ad930a9ebfaa888886aa6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T08:42:53.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-12T08:42:53.335Z] Warning: overwriting stash ‘coverage-report’ [2024-07-12T08:42:54.039Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-12T08:42:54.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-12T08:42:54.770Z] + ls -al . [2024-07-12T08:42:54.771Z] total 372 [2024-07-12T08:42:54.771Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 08:33 . [2024-07-12T08:42:54.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 08:30 .. [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 08:30 .dockerignore [2024-07-12T08:42:54.771Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 08:30 .git [2024-07-12T08:42:54.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 08:30 .github [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 12 08:30 .gitignore [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 12 08:30 .golangci.yml [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 12 08:30 CHANGELOG.md [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 08:30 GOVERNANCE.md [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 12 08:30 Jenkinsfile [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 12 08:30 LICENSE [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 12 08:30 Makefile [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 12 08:30 OWNERS.md [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 12 08:30 README.md [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 12 08:28 VERSION [2024-07-12T08:42:54.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 08:30 bin [2024-07-12T08:42:54.771Z] -rw-r--r-- 1 jenkins jenkins 122665 Jul 12 08:38 coverage.out [2024-07-12T08:42:54.771Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 08:30 example [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 7102 Jul 12 08:30 go.mod [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 102003 Jul 12 08:30 go.sum [2024-07-12T08:42:54.771Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 08:30 internal [2024-07-12T08:42:54.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 08:30 openapi [2024-07-12T08:42:54.771Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 08:30 pkg [2024-07-12T08:42:54.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 08:30 snap [2024-07-12T08:42:54.771Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 12 08:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:42:55.126Z] + 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=50e812dd0fc65b097297637d35e073c818e89983 --label arch=arm64 --label version=3.2.0-dev.21 . [2024-07-12T08:42:55.710Z] Sending build context to Docker daemon 13.04MB [2024-07-12T08:42:55.710Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-12T08:42:55.710Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-12T08:42:55.710Z] ---> d30c60a2ea33 [2024-07-12T08:42:55.710Z] Step 3/24 : ARG MAKE=make build [2024-07-12T08:42:55.977Z] ---> Running in fadc3021b69c [2024-07-12T08:42:56.246Z] Removing intermediate container fadc3021b69c [2024-07-12T08:42:56.246Z] ---> bce328b737c6 [2024-07-12T08:42:56.246Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-12T08:42:56.513Z] ---> Running in 68783dfdeea2 [2024-07-12T08:42:56.780Z] Removing intermediate container 68783dfdeea2 [2024-07-12T08:42:56.780Z] ---> 517eede74c35 [2024-07-12T08:42:56.780Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-12T08:42:56.780Z] ---> Running in c389e6ce76bd [2024-07-12T08:42:57.063Z] Removing intermediate container c389e6ce76bd [2024-07-12T08:42:57.063Z] ---> 70dae4f1113b [2024-07-12T08:42:57.064Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-12T08:42:57.340Z] ---> Running in 1b277791f330 [2024-07-12T08:42:58.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T08:42:58.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T08:42:59.882Z] OK: 266 MiB in 52 packages [2024-07-12T08:43:00.844Z] Removing intermediate container 1b277791f330 [2024-07-12T08:43:00.844Z] ---> 73d4fe9de653 [2024-07-12T08:43:00.844Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-12T08:43:01.440Z] ---> c60dd9209a1b [2024-07-12T08:43:01.440Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-12T08:43:01.709Z] ---> Running in b08cf30692b2 [2024-07-12T08:43:04.293Z] Removing intermediate container b08cf30692b2 [2024-07-12T08:43:04.293Z] ---> ed003272c2f9 [2024-07-12T08:43:04.293Z] Step 9/24 : COPY . . [2024-07-12T08:43:05.257Z] ---> d59c44a84cb8 [2024-07-12T08:43:05.257Z] Step 10/24 : RUN ${MAKE} [2024-07-12T08:43:05.529Z] ---> Running in c924afcd34d3 [2024-07-12T08:43:06.488Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-12T08:46:43.267Z] Removing intermediate container c924afcd34d3 [2024-07-12T08:46:43.267Z] ---> 6b388ec4bf47 [2024-07-12T08:46:43.267Z] Step 11/24 : FROM alpine:3.18 [2024-07-12T08:46:43.267Z] 3.18: Pulling from library/alpine [2024-07-12T08:46:43.267Z] 5c905c7ebe2f: Pulling fs layer [2024-07-12T08:46:43.267Z] 5c905c7ebe2f: Download complete [2024-07-12T08:46:43.267Z] 5c905c7ebe2f: Pull complete [2024-07-12T08:46:43.267Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-12T08:46:43.267Z] Status: Downloaded newer image for alpine:3.18 [2024-07-12T08:46:43.267Z] ---> dec292d02e07 [2024-07-12T08:46:43.267Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-12T08:46:43.267Z] ---> Running in 809757237c8b [2024-07-12T08:46:43.267Z] Removing intermediate container 809757237c8b [2024-07-12T08:46:43.267Z] ---> 0b8c7aaec2e3 [2024-07-12T08:46:43.267Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-12T08:46:43.267Z] ---> Running in b893aa1cec14 [2024-07-12T08:46:43.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T08:46:43.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T08:46:43.267Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-12T08:46:43.267Z] Executing busybox-1.36.1-r7.trigger [2024-07-12T08:46:43.267Z] OK: 8 MiB in 16 packages [2024-07-12T08:46:43.267Z] Removing intermediate container b893aa1cec14 [2024-07-12T08:46:43.267Z] ---> 410dd2eda428 [2024-07-12T08:46:43.267Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-12T08:46:43.267Z] ---> Running in 58eac9daf015 [2024-07-12T08:46:43.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-12T08:46:43.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-12T08:46:43.267Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T08:46:43.267Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-12T08:46:43.267Z] OK: 8 MiB in 16 packages [2024-07-12T08:46:43.854Z] Removing intermediate container 58eac9daf015 [2024-07-12T08:46:43.854Z] ---> 2d17380ff7bb [2024-07-12T08:46:43.854Z] Step 15/24 : WORKDIR / [2024-07-12T08:46:43.854Z] ---> Running in d7cf9749a803 [2024-07-12T08:46:44.123Z] Removing intermediate container d7cf9749a803 [2024-07-12T08:46:44.123Z] ---> 5171a128cd59 [2024-07-12T08:46:44.123Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-12T08:46:44.706Z] ---> ef44ba99beba [2024-07-12T08:46:44.706Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-12T08:46:46.651Z] ---> 47f572c3bf5d [2024-07-12T08:46:46.651Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-12T08:46:47.239Z] ---> 5f52396d9a79 [2024-07-12T08:46:47.239Z] Step 19/24 : EXPOSE 59999 [2024-07-12T08:46:47.239Z] ---> Running in 330a7862078e [2024-07-12T08:46:47.505Z] Removing intermediate container 330a7862078e [2024-07-12T08:46:47.505Z] ---> 20d2a464c833 [2024-07-12T08:46:47.505Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-12T08:46:47.505Z] ---> Running in d76e94c2944e [2024-07-12T08:46:47.771Z] Removing intermediate container d76e94c2944e [2024-07-12T08:46:47.771Z] ---> 1086b3412a07 [2024-07-12T08:46:47.771Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-12T08:46:47.771Z] ---> Running in a2932ebe4753 [2024-07-12T08:46:48.037Z] Removing intermediate container a2932ebe4753 [2024-07-12T08:46:48.037Z] ---> 94a68dd6c56c [2024-07-12T08:46:48.037Z] Step 22/24 : LABEL arch=arm64 [2024-07-12T08:46:48.303Z] ---> Running in 92aaae64e25c [2024-07-12T08:46:48.569Z] Removing intermediate container 92aaae64e25c [2024-07-12T08:46:48.569Z] ---> bcb78887ae94 [2024-07-12T08:46:48.569Z] Step 23/24 : LABEL git_sha=50e812dd0fc65b097297637d35e073c818e89983 [2024-07-12T08:46:48.569Z] ---> Running in 161ae09d688f [2024-07-12T08:46:48.835Z] Removing intermediate container 161ae09d688f [2024-07-12T08:46:48.835Z] ---> 2a0fb4671017 [2024-07-12T08:46:48.835Z] Step 24/24 : LABEL version=3.2.0-dev.21 [2024-07-12T08:46:48.835Z] ---> Running in 8b8e02317c52 [2024-07-12T08:46:49.100Z] Removing intermediate container 8b8e02317c52 [2024-07-12T08:46:49.100Z] ---> 8acf742346e6 [2024-07-12T08:46:49.100Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-12T08:46:49.366Z] Successfully built 8acf742346e6 [2024-07-12T08:46:49.366Z] 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 [2024-07-12T08:46:49.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T08:46:49.853Z] [2024-07-12T08:46:49.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:46:50.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T08:46:50.179Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-12T08:46:50.179Z] 8998bd30e6a1: Pulling fs layer [2024-07-12T08:46:50.179Z] 04944245beec: Pulling fs layer [2024-07-12T08:46:50.179Z] 699f458cf7ca: Pulling fs layer [2024-07-12T08:46:50.179Z] 765212b225bb: Pulling fs layer [2024-07-12T08:46:50.179Z] f23df028b6ca: Pulling fs layer [2024-07-12T08:46:50.179Z] d65c8cfc05b1: Pulling fs layer [2024-07-12T08:46:50.179Z] 2437ff75d9bd: Pulling fs layer [2024-07-12T08:46:50.179Z] 765212b225bb: Waiting [2024-07-12T08:46:50.179Z] f23df028b6ca: Waiting [2024-07-12T08:46:50.179Z] d65c8cfc05b1: Waiting [2024-07-12T08:46:50.179Z] 2437ff75d9bd: Waiting [2024-07-12T08:46:50.446Z] 04944245beec: Verifying Checksum [2024-07-12T08:46:50.446Z] 04944245beec: Download complete [2024-07-12T08:46:50.446Z] 765212b225bb: Verifying Checksum [2024-07-12T08:46:50.446Z] 765212b225bb: Download complete [2024-07-12T08:46:50.446Z] f23df028b6ca: Download complete [2024-07-12T08:46:50.446Z] d65c8cfc05b1: Verifying Checksum [2024-07-12T08:46:50.446Z] d65c8cfc05b1: Download complete [2024-07-12T08:46:50.711Z] 699f458cf7ca: Verifying Checksum [2024-07-12T08:46:50.711Z] 699f458cf7ca: Download complete [2024-07-12T08:46:50.976Z] 8998bd30e6a1: Download complete [2024-07-12T08:46:53.546Z] 2437ff75d9bd: Verifying Checksum [2024-07-12T08:46:53.546Z] 2437ff75d9bd: Download complete [2024-07-12T08:46:55.482Z] 8998bd30e6a1: Pull complete [2024-07-12T08:46:56.061Z] 04944245beec: Pull complete [2024-07-12T08:46:58.100Z] 699f458cf7ca: Pull complete [2024-07-12T08:46:58.100Z] 765212b225bb: Pull complete [2024-07-12T08:46:59.078Z] f23df028b6ca: Pull complete [2024-07-12T08:46:59.351Z] d65c8cfc05b1: Pull complete [2024-07-12T08:47:17.583Z] 2437ff75d9bd: Pull complete [2024-07-12T08:47:17.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-12T08:47:17.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-12T08:47:17.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:47:17.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-5438 does not seem to be running inside a container [2024-07-12T08:47:17.859Z] $ 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/296 -v /w/workspace/device-sdk-go/296:/w/workspace/device-sdk-go/296:rw,z -v /w/workspace/device-sdk-go/296@tmp:/w/workspace/device-sdk-go/296@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 [2024-07-12T08:47:20.686Z] $ docker top 53f664e6d2cb84bfb9dc9a3bda41b59ca14afb25877616da3d5eb9011439e9d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:47:21.593Z] ---> job-cost.sh [2024-07-12T08:47:21.593Z] lf-activate-venv: SKIPPING [2024-07-12T08:47:21.593Z] INFO: No Stack... [2024-07-12T08:47:21.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-12T08:47:22.813Z] INFO: Archiving Costs [Pipeline] sh [2024-07-12T08:47:23.441Z] + cat /w/workspace/device-sdk-go/296/archives/cost.csv [2024-07-12T08:47:23.441Z] + cut -d, -f6 [Pipeline] lock [2024-07-12T08:47:23.495Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [2024-07-12T08:47:23.504Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] did not exist. Created. [2024-07-12T08:47:23.511Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-12T08:47:24.179Z] /w/workspace/device-sdk-go/296@tmp/durable-c77bd941/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-12T08:47:24.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-12T08:47:24.850Z] Warning: overwriting stash ‘stack-cost’ [2024-07-12T08:47:24.941Z] Stashed 1 file(s) [Pipeline] } [2024-07-12T08:47:24.952Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-296-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-12T08:47:24.973Z] $ docker stop --time=1 53f664e6d2cb84bfb9dc9a3bda41b59ca14afb25877616da3d5eb9011439e9d1 [2024-07-12T08:47:26.471Z] $ docker rm -f --volumes 53f664e6d2cb84bfb9dc9a3bda41b59ca14afb25877616da3d5eb9011439e9d1 [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 [2024-07-12T08:47:26.988Z] provisioning config files... [2024-07-12T08:47:26.996Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5685847321665514065tmp [Pipeline] { [Pipeline] sh [2024-07-12T08:47:27.314Z] + set +x [2024-07-12T08:47:27.314Z] + curl -s https://codecov.io/bash [2024-07-12T08:47:27.314Z] + bash -s -- [2024-07-12T08:47:27.314Z] [2024-07-12T08:47:27.314Z] _____ _ [2024-07-12T08:47:27.314Z] / ____| | | [2024-07-12T08:47:27.314Z] | | ___ __| | ___ ___ _____ __ [2024-07-12T08:47:27.314Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-12T08:47:27.314Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-12T08:47:27.314Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-12T08:47:27.314Z] Bash-1.0.6 [2024-07-12T08:47:27.314Z] [2024-07-12T08:47:27.314Z] [2024-07-12T08:47:27.314Z] ==> git version 2.25.1 found [2024-07-12T08:47:27.314Z] ==> 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 [2024-07-12T08:47:27.314Z] Release-Date: 2020-01-08 [2024-07-12T08:47:27.314Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-12T08:47:27.314Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-12T08:47:27.314Z] ==> Jenkins CI detected. [2024-07-12T08:47:27.314Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-07-12T08:47:27.314Z] project root: . [2024-07-12T08:47:27.314Z] --> token set from env [2024-07-12T08:47:27.314Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-12T08:47:27.575Z] ==> Running gcov in . (disable via -X gcov) [2024-07-12T08:47:27.575Z] ==> Python coveragepy not found [2024-07-12T08:47:27.575Z] ==> Searching for coverage reports in: [2024-07-12T08:47:27.575Z] + . [2024-07-12T08:47:27.575Z] -> Found 1 reports [2024-07-12T08:47:27.575Z] ==> Detecting git/mercurial file structure [2024-07-12T08:47:27.575Z] ==> Reading reports [2024-07-12T08:47:27.575Z] + ./coverage.out bytes=122665 [2024-07-12T08:47:27.575Z] ==> Appending adjustments [2024-07-12T08:47:27.575Z] https://docs.codecov.io/docs/fixing-reports [2024-07-12T08:47:27.833Z] + Found adjustments [2024-07-12T08:47:27.833Z] ==> Gzipping contents [2024-07-12T08:47:27.833Z] 20K /tmp/codecov.hdq6fa.gz [2024-07-12T08:47:27.833Z] ==> Uploading reports [2024-07-12T08:47:27.833Z] url: https://codecov.io [2024-07-12T08:47:27.833Z] query: branch=main&commit=50e812dd0fc65b097297637d35e073c818e89983&build=296&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F296%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-12T08:47:27.833Z] -> Pinging Codecov [2024-07-12T08:47:27.833Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=50e812dd0fc65b097297637d35e073c818e89983&build=296&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F296%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-12T08:47:27.833Z] -> Uploading to [2024-07-12T08:47:27.833Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-12/7E55EF52A471D76F132DFD9A03CDDE97/50e812dd0fc65b097297637d35e073c818e89983/baf8778c-0113-4199-8cc8-bc0c86974f06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240712%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240712T084727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2c1dc87d57ab188081c2b0d1d518b94b6f6271b926ba16a8f796471802d6bbf [2024-07-12T08:47:27.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T08:47:27.834Z] Dload Upload Total Spent Left Speed [2024-07-12T08:47:28.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16788 0 0 100 16788 0 67421 --:--:-- --:--:-- --:--:-- 67693 [2024-07-12T08:47:28.092Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] } [2024-07-12T08:47:28.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-12T08:47:28.302Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-12T08:47:28.316Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:47:28.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-12T08:47:28.624Z] [2024-07-12T08:47:28.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:47:28.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-12T08:47:28.928Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-12T08:47:28.928Z] 619be1103602: Already exists [2024-07-12T08:47:28.928Z] f8ea3408117e: Pulling fs layer [2024-07-12T08:47:28.928Z] 91320369b822: Pulling fs layer [2024-07-12T08:47:28.928Z] 0406650e8295: Pulling fs layer [2024-07-12T08:47:28.928Z] 4f4fb700ef54: Pulling fs layer [2024-07-12T08:47:28.928Z] 96d80e3f36e1: Pulling fs layer [2024-07-12T08:47:28.928Z] bcf3aedb951c: Pulling fs layer [2024-07-12T08:47:28.928Z] 96d80e3f36e1: Waiting [2024-07-12T08:47:28.928Z] bcf3aedb951c: Waiting [2024-07-12T08:47:28.928Z] 0406650e8295: Verifying Checksum [2024-07-12T08:47:28.928Z] 0406650e8295: Download complete [2024-07-12T08:47:28.928Z] f8ea3408117e: Verifying Checksum [2024-07-12T08:47:28.928Z] 4f4fb700ef54: Verifying Checksum [2024-07-12T08:47:28.928Z] 4f4fb700ef54: Download complete [2024-07-12T08:47:29.187Z] f8ea3408117e: Pull complete [2024-07-12T08:47:29.187Z] 96d80e3f36e1: Verifying Checksum [2024-07-12T08:47:29.187Z] 96d80e3f36e1: Download complete [2024-07-12T08:47:29.445Z] 91320369b822: Verifying Checksum [2024-07-12T08:47:29.445Z] 91320369b822: Download complete [2024-07-12T08:47:30.012Z] bcf3aedb951c: Verifying Checksum [2024-07-12T08:47:30.012Z] bcf3aedb951c: Download complete [2024-07-12T08:47:32.538Z] 91320369b822: Pull complete [2024-07-12T08:47:32.538Z] 0406650e8295: Pull complete [2024-07-12T08:47:32.538Z] 4f4fb700ef54: Pull complete [2024-07-12T08:47:32.796Z] 96d80e3f36e1: Pull complete [2024-07-12T08:47:36.074Z] bcf3aedb951c: Pull complete [2024-07-12T08:47:36.074Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-12T08:47:36.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-12T08:47:36.074Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:47:36.172Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:47:36.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-12T08:47:44.241Z] $ docker top a3a7e736d224a1b55672cfbff535a00c060f0c94f6e32026b2d41823c15f2889 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:47:44.595Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo [2024-07-12T08:47:44.604Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-07-12T08:47:44.882Z] + set -o pipefail [2024-07-12T08:47:44.883Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-07-12T08:47:53.001Z] [2024-07-12T08:47:53.001Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2024-07-12T08:47:53.001Z] [2024-07-12T08:47:53.001Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/aab2ac16-385f-41c9-8229-bab9873061e0 [2024-07-12T08:47:53.001Z] [2024-07-12T08:47:53.001Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-12T08:47:53.001Z] [2024-07-12T08:47:53.001Z] [2024-07-12T08:47:53.001Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-12T08:47:53.001Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-12T08:47:53.007Z] $ docker stop --time=1 a3a7e736d224a1b55672cfbff535a00c060f0c94f6e32026b2d41823c15f2889 [2024-07-12T08:48:00.212Z] $ docker rm -f --volumes a3a7e736d224a1b55672cfbff535a00c060f0c94f6e32026b2d41823c15f2889 [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 [2024-07-12T08:48:00.754Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T08:48:00.770Z] provisioning config files... [2024-07-12T08:48:00.776Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1086204432463183063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:01.125Z] --> edgex-publish-swagger.sh [2024-07-12T08:48:01.125Z] === Publish openapi/v3 API === [2024-07-12T08:48:01.125Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2024-07-12T08:48:01.125Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2024-07-12T08:48:01.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-12T08:48:01.125Z] Dload Upload Total Spent Left Speed [2024-07-12T08:48:01.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23857 100 156 100 23701 264 40171 --:--:-- --:--:-- --:--:-- 40367 100 23857 100 156 100 23701 263 40103 --:--:-- --:--:-- --:--:-- 40298 [2024-07-12T08:48:01.693Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-07-12T08:48:01.693Z] [Pipeline] } [2024-07-12T08:48:01.700Z] 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 [2024-07-12T08:48:02.114Z] + git log --format=format:%s -1 50e812dd0fc65b097297637d35e073c818e89983 [Pipeline] sh [2024-07-12T08:48:02.401Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T08:48:02.401Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:02.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:48:02.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:48:02.910Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:48:02.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T08:48:03.547Z] $ docker top 733a394f7ce4a894d87facdc799c5cb090329ca8d6b651f1790d4e1479d76ff9 -eo pid,comm [2024-07-12T08:48:03.608Z] 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). [2024-07-12T08:48:03.608Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T08:48:03.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T08:48:03.663Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T08:48:03.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T08:48:03.773Z] $ docker exec 733a394f7ce4a894d87facdc799c5cb090329ca8d6b651f1790d4e1479d76ff9 ssh-agent [2024-07-12T08:48:03.877Z] SSH_AUTH_SOCK=/tmp/ssh-FGyV7dJB2Rtc/agent.32 [2024-07-12T08:48:03.877Z] SSH_AGENT_PID=38 [2024-07-12T08:48:03.882Z] Running ssh-add (command line suppressed) [2024-07-12T08:48:03.979Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2365613187129487470.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2365613187129487470.key) [2024-07-12T08:48:03.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T08:48:04.285Z] + git semver tag [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,444 [run_tag] DEBUG tag force:False [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,444 [check_head_tag] DEBUG check head tag [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,446 [execute] INFO git cat-file --batch-check [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,450 [execute] INFO git cat-file --batch [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,478 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,478 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-12T08:48:04.543Z] 2024-07-12 08:48:04,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:04.543Z] 3.2.0-dev.21 [Pipeline] } [2024-07-12T08:48:04.548Z] $ docker exec --env ******** --env ******** 733a394f7ce4a894d87facdc799c5cb090329ca8d6b651f1790d4e1479d76ff9 ssh-agent -k [2024-07-12T08:48:04.641Z] unset SSH_AUTH_SOCK; [2024-07-12T08:48:04.641Z] unset SSH_AGENT_PID; [2024-07-12T08:48:04.641Z] echo Agent pid 38 killed; [2024-07-12T08:48:04.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T08:48:04.974Z] + git semver [Pipeline] } [2024-07-12T08:48:05.240Z] $ docker stop --time=1 733a394f7ce4a894d87facdc799c5cb090329ca8d6b651f1790d4e1479d76ff9 [2024-07-12T08:48:06.514Z] $ docker rm -f --volumes 733a394f7ce4a894d87facdc799c5cb090329ca8d6b651f1790d4e1479d76ff9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:06.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-12T08:48:06.923Z] [2024-07-12T08:48:06.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:07.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-12T08:48:07.232Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-12T08:48:07.232Z] ab5ef0e58194: Pulling fs layer [2024-07-12T08:48:07.232Z] 9712f1f96733: Pulling fs layer [2024-07-12T08:48:07.232Z] 63f879dbbcfc: Pulling fs layer [2024-07-12T08:48:07.232Z] 0d9ebad4ef96: Pulling fs layer [2024-07-12T08:48:07.232Z] e9a5061849ea: Pulling fs layer [2024-07-12T08:48:07.232Z] d747dcd14b5f: Pulling fs layer [2024-07-12T08:48:07.232Z] 2de7ff778b66: Pulling fs layer [2024-07-12T08:48:07.232Z] e9a5061849ea: Waiting [2024-07-12T08:48:07.232Z] d747dcd14b5f: Waiting [2024-07-12T08:48:07.232Z] 2de7ff778b66: Waiting [2024-07-12T08:48:07.232Z] 0d9ebad4ef96: Waiting [2024-07-12T08:48:07.232Z] 9712f1f96733: Download complete [2024-07-12T08:48:07.798Z] 63f879dbbcfc: Verifying Checksum [2024-07-12T08:48:07.798Z] 63f879dbbcfc: Download complete [2024-07-12T08:48:07.798Z] 0d9ebad4ef96: Verifying Checksum [2024-07-12T08:48:07.798Z] 0d9ebad4ef96: Download complete [2024-07-12T08:48:07.798Z] d747dcd14b5f: Verifying Checksum [2024-07-12T08:48:07.798Z] d747dcd14b5f: Download complete [2024-07-12T08:48:08.055Z] ab5ef0e58194: Verifying Checksum [2024-07-12T08:48:08.055Z] ab5ef0e58194: Download complete [2024-07-12T08:48:08.055Z] e9a5061849ea: Verifying Checksum [2024-07-12T08:48:08.055Z] e9a5061849ea: Download complete [2024-07-12T08:48:08.055Z] 2de7ff778b66: Verifying Checksum [2024-07-12T08:48:08.055Z] 2de7ff778b66: Download complete [2024-07-12T08:48:10.578Z] ab5ef0e58194: Pull complete [2024-07-12T08:48:10.578Z] 9712f1f96733: Pull complete [2024-07-12T08:48:11.144Z] 63f879dbbcfc: Pull complete [2024-07-12T08:48:15.324Z] 0d9ebad4ef96: Pull complete [2024-07-12T08:48:15.324Z] e9a5061849ea: Pull complete [2024-07-12T08:48:15.324Z] d747dcd14b5f: Pull complete [2024-07-12T08:48:15.889Z] 2de7ff778b66: Pull complete [2024-07-12T08:48:15.889Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-12T08:48:15.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-12T08:48:15.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:48:15.987Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:48:16.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-12T08:48:26.293Z] $ docker top 359d9d15111af149cfd65080689e7900c45f0d10b3180ad11134f4600d76e53d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-12T08:48:26.373Z] provisioning config files... [2024-07-12T08:48:26.383Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9909747136634146870tmp [2024-07-12T08:48:26.390Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2797320181257777193tmp [2024-07-12T08:48:26.399Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2169651047807426954tmp [Pipeline] { [Pipeline] echo [2024-07-12T08:48:26.471Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:26.763Z] ---> sigul-configuration.sh [2024-07-12T08:48:26.763Z] gpg: directory `/root/.gnupg' created [2024-07-12T08:48:26.763Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-12T08:48:26.763Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-12T08:48:26.763Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-12T08:48:26.763Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-12T08:48:26.763Z] gpg: CAST5 encrypted data [2024-07-12T08:48:26.763Z] gpg: encrypted with 1 passphrase [2024-07-12T08:48:26.763Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-12T08:48:27.064Z] + mkdir /home/jenkins [2024-07-12T08:48:27.064Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-12T08:48:27.357Z] + 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 [2024-07-12T08:48:27.373Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:27.663Z] ---> sigul-install.sh [2024-07-12T08:48:27.663Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-12T08:48:27.958Z] + git tag --list [2024-07-12T08:48:27.958Z] 0.7.1 [2024-07-12T08:48:27.958Z] delhi-tag [2024-07-12T08:48:27.958Z] v1.0.0 [2024-07-12T08:48:27.958Z] v1.1.0 [2024-07-12T08:48:27.958Z] v1.1.1 [2024-07-12T08:48:27.958Z] v1.1.2 [2024-07-12T08:48:27.958Z] v1.2.0 [2024-07-12T08:48:27.958Z] v1.2.1 [2024-07-12T08:48:27.958Z] v1.2.2 [2024-07-12T08:48:27.958Z] v1.2.3 [2024-07-12T08:48:27.958Z] v1.3.0 [2024-07-12T08:48:27.958Z] v1.4.0 [2024-07-12T08:48:27.958Z] v2.0.0 [2024-07-12T08:48:27.958Z] v2.1.0 [2024-07-12T08:48:27.958Z] v2.1.1 [2024-07-12T08:48:27.958Z] v2.2.0 [2024-07-12T08:48:27.958Z] v2.3.0 [2024-07-12T08:48:27.958Z] v2.3.1 [2024-07-12T08:48:27.958Z] v3.0 [2024-07-12T08:48:27.958Z] v3.0.0 [2024-07-12T08:48:27.958Z] v3.0.1-dev.1 [2024-07-12T08:48:27.958Z] v3.1 [2024-07-12T08:48:27.958Z] v3.1.0 [2024-07-12T08:48:27.958Z] v3.1.0-dev.1 [2024-07-12T08:48:27.958Z] v3.1.0-dev.10 [2024-07-12T08:48:27.958Z] v3.1.0-dev.11 [2024-07-12T08:48:27.958Z] v3.1.0-dev.12 [2024-07-12T08:48:27.958Z] v3.1.0-dev.13 [2024-07-12T08:48:27.958Z] v3.1.0-dev.14 [2024-07-12T08:48:27.958Z] v3.1.0-dev.15 [2024-07-12T08:48:27.958Z] v3.1.0-dev.16 [2024-07-12T08:48:27.958Z] v3.1.0-dev.17 [2024-07-12T08:48:27.958Z] v3.1.0-dev.18 [2024-07-12T08:48:27.958Z] v3.1.0-dev.19 [2024-07-12T08:48:27.958Z] v3.1.0-dev.2 [2024-07-12T08:48:27.958Z] v3.1.0-dev.20 [2024-07-12T08:48:27.958Z] v3.1.0-dev.21 [2024-07-12T08:48:27.958Z] v3.1.0-dev.22 [2024-07-12T08:48:27.958Z] v3.1.0-dev.23 [2024-07-12T08:48:27.958Z] v3.1.0-dev.24 [2024-07-12T08:48:27.958Z] v3.1.0-dev.25 [2024-07-12T08:48:27.958Z] v3.1.0-dev.26 [2024-07-12T08:48:27.958Z] v3.1.0-dev.27 [2024-07-12T08:48:27.958Z] v3.1.0-dev.28 [2024-07-12T08:48:27.958Z] v3.1.0-dev.29 [2024-07-12T08:48:27.958Z] v3.1.0-dev.3 [2024-07-12T08:48:27.958Z] v3.1.0-dev.30 [2024-07-12T08:48:27.958Z] v3.1.0-dev.31 [2024-07-12T08:48:27.958Z] v3.1.0-dev.32 [2024-07-12T08:48:27.958Z] v3.1.0-dev.33 [2024-07-12T08:48:27.958Z] v3.1.0-dev.34 [2024-07-12T08:48:27.958Z] v3.1.0-dev.35 [2024-07-12T08:48:27.958Z] v3.1.0-dev.36 [2024-07-12T08:48:27.958Z] v3.1.0-dev.37 [2024-07-12T08:48:27.958Z] v3.1.0-dev.38 [2024-07-12T08:48:27.958Z] v3.1.0-dev.39 [2024-07-12T08:48:27.958Z] v3.1.0-dev.4 [2024-07-12T08:48:27.958Z] v3.1.0-dev.40 [2024-07-12T08:48:27.958Z] v3.1.0-dev.41 [2024-07-12T08:48:27.958Z] v3.1.0-dev.5 [2024-07-12T08:48:27.958Z] v3.1.0-dev.6 [2024-07-12T08:48:27.958Z] v3.1.0-dev.7 [2024-07-12T08:48:27.958Z] v3.1.0-dev.8 [2024-07-12T08:48:27.958Z] v3.1.0-dev.9 [2024-07-12T08:48:27.958Z] v3.1.1 [2024-07-12T08:48:27.958Z] v3.1.1-dev.1 [2024-07-12T08:48:27.958Z] v3.2.0-dev.1 [2024-07-12T08:48:27.958Z] v3.2.0-dev.10 [2024-07-12T08:48:27.958Z] v3.2.0-dev.11 [2024-07-12T08:48:27.958Z] v3.2.0-dev.12 [2024-07-12T08:48:27.958Z] v3.2.0-dev.13 [2024-07-12T08:48:27.958Z] v3.2.0-dev.14 [2024-07-12T08:48:27.958Z] v3.2.0-dev.15 [2024-07-12T08:48:27.958Z] v3.2.0-dev.16 [2024-07-12T08:48:27.958Z] v3.2.0-dev.17 [2024-07-12T08:48:27.958Z] v3.2.0-dev.18 [2024-07-12T08:48:27.958Z] v3.2.0-dev.19 [2024-07-12T08:48:27.958Z] v3.2.0-dev.2 [2024-07-12T08:48:27.958Z] v3.2.0-dev.20 [2024-07-12T08:48:27.958Z] v3.2.0-dev.21 [2024-07-12T08:48:27.958Z] v3.2.0-dev.3 [2024-07-12T08:48:27.958Z] v3.2.0-dev.4 [2024-07-12T08:48:27.958Z] v3.2.0-dev.5 [2024-07-12T08:48:27.958Z] v3.2.0-dev.6 [2024-07-12T08:48:27.958Z] v3.2.0-dev.7 [2024-07-12T08:48:27.958Z] v3.2.0-dev.8 [2024-07-12T08:48:27.958Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-12T08:48:28.250Z] + lftools sign git-tag v3.2.0-dev.21 [2024-07-12T08:48:28.818Z] Signing Git tag with Sigul... [2024-07-12T08:48:28.818Z] Signing v3.2.0-dev.21 [Pipeline] echo [2024-07-12T08:48:29.090Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:29.380Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-12T08:48:29.386Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-12T08:48:29.410Z] $ docker stop --time=1 359d9d15111af149cfd65080689e7900c45f0d10b3180ad11134f4600d76e53d [2024-07-12T08:48:30.699Z] $ docker rm -f --volumes 359d9d15111af149cfd65080689e7900c45f0d10b3180ad11134f4600d76e53d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-12T08:48:31.137Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T08:48:31.138Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:31.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:48:31.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:48:31.509Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:48:31.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T08:48:31.873Z] $ docker top 5e2d9124d2dfc10c9b27e6612741706a060f4e1b6caa76b5a817512440bc29d8 -eo pid,comm [2024-07-12T08:48:31.920Z] 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). [2024-07-12T08:48:31.920Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T08:48:31.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T08:48:31.973Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T08:48:32.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T08:48:32.076Z] $ docker exec 5e2d9124d2dfc10c9b27e6612741706a060f4e1b6caa76b5a817512440bc29d8 ssh-agent [2024-07-12T08:48:32.180Z] SSH_AUTH_SOCK=/tmp/ssh-2XwZTiJe0xj3/agent.33 [2024-07-12T08:48:32.180Z] SSH_AGENT_PID=39 [2024-07-12T08:48:32.185Z] Running ssh-add (command line suppressed) [2024-07-12T08:48:32.290Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12106391217886831155.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12106391217886831155.key) [2024-07-12T08:48:32.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T08:48:32.597Z] + git semver bump pre [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [bump_version] DEBUG bumped version:3.2.0-dev.22 [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,776 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,779 [execute] INFO git cat-file --batch-check [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,785 [execute] INFO git cat-file --batch [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T08:48:32.856Z] 2024-07-12 08:48:32,790 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:32.856Z] 3.2.0-dev.22 [Pipeline] } [2024-07-12T08:48:32.860Z] $ docker exec --env ******** --env ******** 5e2d9124d2dfc10c9b27e6612741706a060f4e1b6caa76b5a817512440bc29d8 ssh-agent -k [2024-07-12T08:48:32.954Z] unset SSH_AUTH_SOCK; [2024-07-12T08:48:32.954Z] unset SSH_AGENT_PID; [2024-07-12T08:48:32.954Z] echo Agent pid 39 killed; [2024-07-12T08:48:32.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T08:48:33.283Z] + git semver [Pipeline] } [2024-07-12T08:48:33.552Z] $ docker stop --time=1 5e2d9124d2dfc10c9b27e6612741706a060f4e1b6caa76b5a817512440bc29d8 [2024-07-12T08:48:34.809Z] $ docker rm -f --volumes 5e2d9124d2dfc10c9b27e6612741706a060f4e1b6caa76b5a817512440bc29d8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-12T08:48:35.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-12T08:48:35.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:35.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-12T08:48:35.454Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:48:35.530Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:48:35.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-12T08:48:35.915Z] $ docker top 93d3314662c0f761a17ee72939bceb3db7603e3f9aa9a470fe8ecf39fc9c36d8 -eo pid,comm [2024-07-12T08:48:35.959Z] 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). [2024-07-12T08:48:35.959Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-12T08:48:36.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-12T08:48:36.007Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-12T08:48:36.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-12T08:48:36.103Z] $ docker exec 93d3314662c0f761a17ee72939bceb3db7603e3f9aa9a470fe8ecf39fc9c36d8 ssh-agent [2024-07-12T08:48:36.211Z] SSH_AUTH_SOCK=/tmp/ssh-4iaRQ98ssWq7/agent.32 [2024-07-12T08:48:36.211Z] SSH_AGENT_PID=38 [2024-07-12T08:48:36.216Z] Running ssh-add (command line suppressed) [2024-07-12T08:48:36.304Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15012193398943516196.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15012193398943516196.key) [2024-07-12T08:48:36.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-12T08:48:36.607Z] + git semver push [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,783 [run_push] DEBUG push [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,783 [execute] INFO git cat-file --batch-check [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,787 [execute] INFO git rev-list d484005de472f89269dc96b1c11410e3c14e1247 -- [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,787 [execute] DEBUG Popen(['git', 'rev-list', 'd484005de472f89269dc96b1c11410e3c14e1247', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,799 [execute] INFO git fetch -v origin [2024-07-12T08:48:36.866Z] 2024-07-12 08:48:36,799 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-12T08:48:37.433Z] 2024-07-12 08:48:37,280 [run_push] DEBUG no remote changes detected [2024-07-12T08:48:37.433Z] 2024-07-12 08:48:37,280 [execute] INFO git push origin semver [2024-07-12T08:48:37.433Z] 2024-07-12 08:48:37,281 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-12T08:48:38.371Z] 2024-07-12 08:48:38,155 [run_push] DEBUG push all version tags [2024-07-12T08:48:38.371Z] 2024-07-12 08:48:38,155 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-12T08:48:38.371Z] 2024-07-12 08:48:38,156 [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) [2024-07-12T08:48:38.937Z] 2024-07-12 08:48:38,907 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-07-12T08:48:38.937Z] 3.2.0-dev.22 [Pipeline] } [2024-07-12T08:48:38.941Z] $ docker exec --env ******** --env ******** 93d3314662c0f761a17ee72939bceb3db7603e3f9aa9a470fe8ecf39fc9c36d8 ssh-agent -k [2024-07-12T08:48:39.030Z] unset SSH_AUTH_SOCK; [2024-07-12T08:48:39.031Z] unset SSH_AGENT_PID; [2024-07-12T08:48:39.031Z] echo Agent pid 38 killed; [2024-07-12T08:48:39.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-12T08:48:39.360Z] + git semver [Pipeline] } [2024-07-12T08:48:39.626Z] $ docker stop --time=1 93d3314662c0f761a17ee72939bceb3db7603e3f9aa9a470fe8ecf39fc9c36d8 [2024-07-12T08:48:40.877Z] $ docker rm -f --volumes 93d3314662c0f761a17ee72939bceb3db7603e3f9aa9a470fe8ecf39fc9c36d8 [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 [2024-07-12T08:48:41.516Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-07-12T08:48:41.516Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-12T08:48:41.516Z] total 16 [2024-07-12T08:48:41.516Z] drwxr-xr-x 3 root root 4096 Jul 12 08:32 . [2024-07-12T08:48:41.516Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 08:48 .. [2024-07-12T08:48:41.516Z] drwxr-xr-x 2 root root 4096 Jul 12 08:32 cost [2024-07-12T08:48:41.516Z] -rw-r--r-- 1 root root 85 Jul 12 08:32 cost.csv [2024-07-12T08:48:41.516Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-12T08:48:41.516Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-07-12T08:48:41.516Z] total 16 [2024-07-12T08:48:41.516Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 08:32 . [2024-07-12T08:48:41.516Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 08:48 .. [2024-07-12T08:48:41.516Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 08:32 cost [2024-07-12T08:48:41.516Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 12 08:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:41.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:42.658Z] ---> package-listing.sh [2024-07-12T08:48:42.658Z] ++ facter osfamily [2024-07-12T08:48:42.658Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-12T08:48:42.917Z] + OS_FAMILY=debian [2024-07-12T08:48:42.917Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-07-12T08:48:42.917Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-12T08:48:42.917Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-12T08:48:42.917Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-12T08:48:42.917Z] + PACKAGES=/tmp/packages_start.txt [2024-07-12T08:48:42.917Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-12T08:48:42.917Z] + PACKAGES=/tmp/packages_end.txt [2024-07-12T08:48:42.917Z] + case "${OS_FAMILY}" in [2024-07-12T08:48:42.917Z] + dpkg -l [2024-07-12T08:48:42.917Z] + grep '^ii' [2024-07-12T08:48:42.917Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-12T08:48:42.917Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-12T08:48:42.917Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-12T08:48:42.917Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-07-12T08:48:42.917Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-07-12T08:48:42.917Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2024-07-12T08:48:42.927Z] 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 [2024-07-12T08:48:43.202Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-12T08:48:43.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-12T08:48:43.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-12T08:48:43.855Z] prd-ubuntu20.04-docker-8c-8g-5437 does not seem to be running inside a container [2024-07-12T08:48:43.881Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-12T08:48:44.123Z] $ docker top 7f62635529c07075436612af10e03887db66f80d307a0242ea61a3f89523c72a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-12T08:48:44.475Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-12T08:48:44.763Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-12T08:48:45.049Z] + ls /var/log/sa-host [2024-07-12T08:48:45.049Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-12T08:48:45.205Z] provisioning config files... [2024-07-12T08:48:45.213Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13939092999440937721tmp [Pipeline] { [Pipeline] echo [2024-07-12T08:48:45.231Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:45.507Z] ---> create-netrc.sh [Pipeline] } [2024-07-12T08:48:45.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:45.854Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-12T08:48:45.862Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:46.142Z] ---> sudo-logs.sh [2024-07-12T08:48:46.142Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-12T08:48:46.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:46.453Z] ---> job-cost.sh [2024-07-12T08:48:46.453Z] lf-activate-venv: SKIPPING [2024-07-12T08:48:46.453Z] DEBUG: total: 0.2199999988079071 [2024-07-12T08:48:46.453Z] INFO: Retrieving Stack Cost... [2024-07-12T08:48:47.019Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-12T08:48:47.280Z] INFO: Archiving Costs [Pipeline] echo [2024-07-12T08:48:47.292Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-12T08:48:47.573Z] ---> logs-deploy.sh [2024-07-12T08:48:47.573Z] lf-activate-venv: SKIPPING [2024-07-12T08:48:47.573Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/296 [2024-07-12T08:48:47.573Z] INFO: archiving workspace using pattern(s): [2024-07-12T08:48:48.513Z] Archives upload complete. [2024-07-12T08:48:48.513Z] INFO: archiving logs to Nexus