Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cdda6ba38339e8ee36b58c288de44ad2194d3f5d 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-ssh15973782179509787319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh6623941794956484572.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh10391925465669192187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh15989143469483913257.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-ssh11960106748946185549.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16158 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 cdda6ba38339e8ee36b58c288de44ad2194d3f5d (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533)" > 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 cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 > git rev-list --no-walk abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T15:46:54.480Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T15:46:54.547Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T15:46:54.566Z] ========================================================= [2023-11-01T15:46:54.566Z] EdgeX Global Pipelines Version Info [2023-11-01T15:46:54.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:46:55.672Z] ------------------- [2023-11-01T15:46:55.672Z] stable info: [2023-11-01T15:46:55.672Z] ------------------- [2023-11-01T15:46:55.672Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T15:46:55.672Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T15:46:55.672Z] Message: update stable to v1.0.255 [2023-11-01T15:46:55.932Z] ------------------- [2023-11-01T15:46:55.932Z] experimental info: [2023-11-01T15:46:55.932Z] ------------------- [2023-11-01T15:46:55.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T15:46:55.932Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T15:46:55.932Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T15:46:56.106Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-01T15:46:56.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-01T15:46:56.127Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T15:46:56.143Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T15:46:56.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T15:46:56.174Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T15:46:56.187Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T15:46:56.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-01T15:46:56.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T15:46:56.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T15:46:56.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T15:46:56.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-01T15:46:56.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T15:46:56.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T15:46:56.318Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T15:46:56.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:46:56.346Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:46:56.360Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:46:56.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T15:46:56.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T15:46:56.399Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-01T15:46:56.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-01T15:46:56.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T15:46:56.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T15:46:56.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T15:46:56.467Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T15:46:56.480Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T15:46:56.500Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-01T15:46:56.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-01T15:46:56.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-01T15:46:56.555Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo [2023-11-01T15:46:56.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdda6ba [Pipeline] echo [2023-11-01T15:46:56.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T15:46:56.638Z] provisioning config files... [2023-11-01T15:46:56.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6139145833192868206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:46:56.959Z] ---> docker-login.sh [2023-11-01T15:46:56.959Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:47:01.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:01.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:01.167Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:01.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:01.167Z] [2023-11-01T15:47:01.167Z] Login Succeeded [2023-11-01T15:47:01.167Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:47:01.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:01.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:01.167Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:01.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:01.167Z] [2023-11-01T15:47:01.167Z] Login Succeeded [2023-11-01T15:47:01.167Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:47:01.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:01.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:01.167Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:01.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:01.167Z] [2023-11-01T15:47:01.167Z] Login Succeeded [2023-11-01T15:47:01.167Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:47:01.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:01.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:01.167Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:01.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:01.167Z] [2023-11-01T15:47:01.167Z] Login Succeeded [2023-11-01T15:47:01.167Z] docker.io [2023-11-01T15:47:01.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:01.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:01.428Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:01.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:01.428Z] [2023-11-01T15:47:01.429Z] Login Succeeded [2023-11-01T15:47:01.429Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:47:01.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T15:47:01.806Z] + git rev-list -1 --merges cdda6ba38339e8ee36b58c288de44ad2194d3f5d~1..cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo [2023-11-01T15:47:01.864Z] -----------> git rev-list -1 --merges cdda6ba38339e8ee36b58c288de44ad2194d3f5d~1..cdda6ba38339e8ee36b58c288de44ad2194d3f5d cdda6ba38339e8ee36b58c288de44ad2194d3f5d [false] [Pipeline] sh [2023-11-01T15:47:02.177Z] + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo [2023-11-01T15:47:02.195Z] ========================================================= [2023-11-01T15:47:02.195Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T15:47:02.195Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T15:47:02.560Z] + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo [2023-11-01T15:47:02.574Z] [semverPrep] GIT_COMMIT: cdda6ba38339e8ee36b58c288de44ad2194d3f5d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533) [Pipeline] echo [2023-11-01T15:47:02.582Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T15:47:02.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T15:47:02.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T15:47:02.927Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T15:47:02.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T15:47:02.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T15:47:02.927Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T15:47:02.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:03.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:03.331Z] [2023-11-01T15:47:03.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:03.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:05.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T15:47:05.023Z] b85a868b505f: Pulling fs layer [2023-11-01T15:47:05.023Z] e2be974225ed: Pulling fs layer [2023-11-01T15:47:05.023Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T15:47:05.023Z] 988bab9f4d93: Pulling fs layer [2023-11-01T15:47:05.023Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T15:47:05.023Z] eaf3925da568: Pulling fs layer [2023-11-01T15:47:05.023Z] bab4dde63d76: Pulling fs layer [2023-11-01T15:47:05.023Z] bde34c3a00c8: Pulling fs layer [2023-11-01T15:47:05.023Z] b352a97aabf1: Pulling fs layer [2023-11-01T15:47:05.023Z] 4872d77fe225: Pulling fs layer [2023-11-01T15:47:05.023Z] 5851b861e8e6: Pulling fs layer [2023-11-01T15:47:05.023Z] 988bab9f4d93: Waiting [2023-11-01T15:47:05.023Z] 1469e6f7b9e6: Waiting [2023-11-01T15:47:05.023Z] eaf3925da568: Waiting [2023-11-01T15:47:05.023Z] bab4dde63d76: Waiting [2023-11-01T15:47:05.023Z] bde34c3a00c8: Waiting [2023-11-01T15:47:05.023Z] b352a97aabf1: Waiting [2023-11-01T15:47:05.023Z] 4872d77fe225: Waiting [2023-11-01T15:47:05.023Z] 5851b861e8e6: Waiting [2023-11-01T15:47:05.023Z] e2be974225ed: Download complete [2023-11-01T15:47:05.023Z] 988bab9f4d93: Verifying Checksum [2023-11-01T15:47:05.023Z] 988bab9f4d93: Download complete [2023-11-01T15:47:05.023Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T15:47:05.023Z] 1469e6f7b9e6: Download complete [2023-11-01T15:47:05.023Z] eaf3925da568: Verifying Checksum [2023-11-01T15:47:05.023Z] eaf3925da568: Download complete [2023-11-01T15:47:05.023Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T15:47:05.023Z] 339a4e72a1f5: Download complete [2023-11-01T15:47:05.023Z] bde34c3a00c8: Verifying Checksum [2023-11-01T15:47:05.023Z] bde34c3a00c8: Download complete [2023-11-01T15:47:05.023Z] b352a97aabf1: Verifying Checksum [2023-11-01T15:47:05.023Z] b352a97aabf1: Download complete [2023-11-01T15:47:05.023Z] 4872d77fe225: Verifying Checksum [2023-11-01T15:47:05.023Z] 4872d77fe225: Download complete [2023-11-01T15:47:05.023Z] 5851b861e8e6: Verifying Checksum [2023-11-01T15:47:05.023Z] 5851b861e8e6: Download complete [2023-11-01T15:47:05.023Z] b85a868b505f: Verifying Checksum [2023-11-01T15:47:05.023Z] b85a868b505f: Download complete [2023-11-01T15:47:05.592Z] bab4dde63d76: Download complete [2023-11-01T15:47:06.974Z] b85a868b505f: Pull complete [2023-11-01T15:47:06.974Z] e2be974225ed: Pull complete [2023-11-01T15:47:07.539Z] 339a4e72a1f5: Pull complete [2023-11-01T15:47:07.539Z] 988bab9f4d93: Pull complete [2023-11-01T15:47:07.797Z] 1469e6f7b9e6: Pull complete [2023-11-01T15:47:08.057Z] eaf3925da568: Pull complete [2023-11-01T15:47:09.957Z] bab4dde63d76: Pull complete [2023-11-01T15:47:09.957Z] bde34c3a00c8: Pull complete [2023-11-01T15:47:09.957Z] b352a97aabf1: Pull complete [2023-11-01T15:47:09.957Z] 4872d77fe225: Pull complete [2023-11-01T15:47:09.957Z] 5851b861e8e6: Pull complete [2023-11-01T15:47:09.957Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T15:47:09.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:09.957Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:47:10.050Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T15:47:10.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T15:47:20.430Z] $ docker top ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f -eo pid,comm [2023-11-01T15:47:20.504Z] 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). [2023-11-01T15:47:20.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T15:47:20.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T15:47:20.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T15:47:20.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T15:47:20.678Z] $ docker exec ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent [2023-11-01T15:47:20.777Z] SSH_AUTH_SOCK=/tmp/ssh-DgI6rFo29lo7/agent.14 [2023-11-01T15:47:20.777Z] SSH_AGENT_PID=20 [2023-11-01T15:47:20.785Z] Running ssh-add (command line suppressed) [2023-11-01T15:47:20.920Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11546765073184781994.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11546765073184781994.key) [2023-11-01T15:47:20.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T15:47:21.219Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T15:47:21.236Z] $ docker exec --env ******** --env ******** ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent -k [2023-11-01T15:47:21.334Z] unset SSH_AUTH_SOCK; [2023-11-01T15:47:21.335Z] unset SSH_AGENT_PID; [2023-11-01T15:47:21.335Z] echo Agent pid 20 killed; [2023-11-01T15:47:21.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T15:47:21.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T15:47:21.367Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T15:47:21.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T15:47:21.484Z] $ docker exec ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent [2023-11-01T15:47:21.635Z] SSH_AUTH_SOCK=/tmp/ssh-qV1JiB2Bd1lc/agent.70 [2023-11-01T15:47:21.635Z] SSH_AGENT_PID=76 [2023-11-01T15:47:21.640Z] Running ssh-add (command line suppressed) [2023-11-01T15:47:21.746Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12707978937084422351.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12707978937084422351.key) [2023-11-01T15:47:21.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T15:47:22.046Z] + git semver init [2023-11-01T15:47:22.305Z] 2023-11-01 15:47:22,301 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T15:47:22.305Z] 2023-11-01 15:47:22,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-01T15:47:22.305Z] 2023-11-01 15:47:22,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-01T15:47:22.305Z] 2023-11-01 15:47:22,304 [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) [2023-11-01T15:47:23.690Z] 2023-11-01 15:47:23,642 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-11-01T15:47:23.690Z] 2023-11-01 15:47:23,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-11-01T15:47:23.690Z] 2023-11-01 15:47:23,642 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T15:47:23.690Z] 2023-11-01 15:47:23,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T15:47:23.690Z] 3.1.0-dev.38 [Pipeline] } [2023-11-01T15:47:23.704Z] $ docker exec --env ******** --env ******** ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent -k [2023-11-01T15:47:23.799Z] unset SSH_AUTH_SOCK; [2023-11-01T15:47:23.800Z] unset SSH_AGENT_PID; [2023-11-01T15:47:23.800Z] echo Agent pid 76 killed; [2023-11-01T15:47:23.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T15:47:24.111Z] + git semver [Pipeline] } [2023-11-01T15:47:24.384Z] $ docker stop --time=1 ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f [2023-11-01T15:47:26.242Z] $ docker rm -f --volumes ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T15:47:26.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T15:47:27.007Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T15:47:27.009Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.38 [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 [2023-11-01T15:47:27.168Z] provisioning config files... [2023-11-01T15:47:27.178Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3540700359112792055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:47:27.480Z] ---> docker-login.sh [2023-11-01T15:47:27.480Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:47:27.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:27.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:27.480Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:27.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:27.480Z] [2023-11-01T15:47:27.480Z] Login Succeeded [2023-11-01T15:47:27.480Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:47:27.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:27.740Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:27.740Z] [2023-11-01T15:47:27.740Z] Login Succeeded [2023-11-01T15:47:27.740Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:47:27.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:27.740Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:27.740Z] [2023-11-01T15:47:27.740Z] Login Succeeded [2023-11-01T15:47:27.740Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:47:28.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:28.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:28.054Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:28.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:28.054Z] [2023-11-01T15:47:28.054Z] Login Succeeded [2023-11-01T15:47:28.054Z] docker.io [2023-11-01T15:47:28.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:28.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:28.313Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:28.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:28.313Z] [2023-11-01T15:47:28.313Z] Login Succeeded [2023-11-01T15:47:28.313Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:47:28.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T15:47:28.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:47:28.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:47:28.412Z] ========================================================= [2023-11-01T15:47:28.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T15:47:28.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:28.719Z] + 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 . [2023-11-01T15:47:28.719Z] Sending build context to Docker daemon 11.25MB [2023-11-01T15:47:28.719Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:47:28.719Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T15:47:29.289Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T15:47:29.289Z] 7264a8db6415: Pulling fs layer [2023-11-01T15:47:29.289Z] c4d48a809fc2: Pulling fs layer [2023-11-01T15:47:29.289Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T15:47:29.289Z] ad3a456e5733: Pulling fs layer [2023-11-01T15:47:29.289Z] 33e27b845d1e: Pulling fs layer [2023-11-01T15:47:29.289Z] ad3a456e5733: Waiting [2023-11-01T15:47:29.289Z] c68163c4e522: Pulling fs layer [2023-11-01T15:47:29.289Z] 50da416c3ac9: Pulling fs layer [2023-11-01T15:47:29.289Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T15:47:29.289Z] 33e27b845d1e: Waiting [2023-11-01T15:47:29.289Z] c68163c4e522: Waiting [2023-11-01T15:47:29.289Z] 50da416c3ac9: Waiting [2023-11-01T15:47:29.289Z] c4d48a809fc2: Verifying Checksum [2023-11-01T15:47:29.289Z] c4d48a809fc2: Download complete [2023-11-01T15:47:29.289Z] ad3a456e5733: Verifying Checksum [2023-11-01T15:47:29.289Z] ad3a456e5733: Download complete [2023-11-01T15:47:29.289Z] 33e27b845d1e: Verifying Checksum [2023-11-01T15:47:29.289Z] 33e27b845d1e: Download complete [2023-11-01T15:47:29.289Z] 7264a8db6415: Verifying Checksum [2023-11-01T15:47:29.289Z] 7264a8db6415: Download complete [2023-11-01T15:47:29.289Z] c68163c4e522: Verifying Checksum [2023-11-01T15:47:29.289Z] c68163c4e522: Download complete [2023-11-01T15:47:29.548Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T15:47:29.548Z] 23d2d4c4bb30: Download complete [2023-11-01T15:47:29.548Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T15:47:29.548Z] 4f1c88b9dad5: Download complete [2023-11-01T15:47:30.126Z] 7264a8db6415: Pull complete [2023-11-01T15:47:30.126Z] 50da416c3ac9: Verifying Checksum [2023-11-01T15:47:30.126Z] 50da416c3ac9: Download complete [2023-11-01T15:47:30.693Z] c4d48a809fc2: Pull complete [2023-11-01T15:47:34.877Z] 4f1c88b9dad5: Pull complete [2023-11-01T15:47:34.877Z] ad3a456e5733: Pull complete [2023-11-01T15:47:34.877Z] 33e27b845d1e: Pull complete [2023-11-01T15:47:35.136Z] c68163c4e522: Pull complete [2023-11-01T15:47:37.690Z] 50da416c3ac9: Pull complete [2023-11-01T15:47:37.948Z] 23d2d4c4bb30: Pull complete [2023-11-01T15:47:37.948Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T15:47:37.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T15:47:37.948Z] ---> 0786185ac409 [2023-11-01T15:47:37.948Z] Step 3/10 : ARG MAKE=make build [2023-11-01T15:47:42.135Z] Still waiting to schedule task [2023-11-01T15:47:42.136Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-01T15:47:47.950Z] ---> Running in e9c02aac1713 [2023-11-01T15:47:47.950Z] Removing intermediate container e9c02aac1713 [2023-11-01T15:47:47.950Z] ---> edfb779a2b5a [2023-11-01T15:47:47.950Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T15:47:47.950Z] ---> Running in e4babe1a89cf [2023-11-01T15:47:47.950Z] Removing intermediate container e4babe1a89cf [2023-11-01T15:47:47.950Z] ---> 5e81607e4516 [2023-11-01T15:47:47.950Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:47:47.950Z] ---> Running in 1b0547906538 [2023-11-01T15:47:47.950Z] Removing intermediate container 1b0547906538 [2023-11-01T15:47:47.950Z] ---> 72b27d3bed9d [2023-11-01T15:47:47.950Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T15:47:47.950Z] ---> Running in e5b7e63a54f6 [2023-11-01T15:47:47.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:47:47.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:47:48.213Z] OK: 264 MiB in 52 packages [2023-11-01T15:47:48.783Z] Removing intermediate container e5b7e63a54f6 [2023-11-01T15:47:48.783Z] ---> 204b4c356866 [2023-11-01T15:47:48.783Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T15:47:49.720Z] ---> 584a389f66b6 [2023-11-01T15:47:49.720Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:47:49.720Z] ---> Running in 0d10ab49e975 [2023-11-01T15:49:41.272Z] Removing intermediate container 0d10ab49e975 [2023-11-01T15:49:41.272Z] ---> 1be070d88f78 [2023-11-01T15:49:41.272Z] Step 9/10 : COPY . . [2023-11-01T15:49:41.272Z] ---> 3aaa1222ddeb [2023-11-01T15:49:41.272Z] Step 10/10 : RUN ${MAKE} [2023-11-01T15:49:41.272Z] ---> Running in c15b5a9dc22f [2023-11-01T15:49:41.272Z] noop [2023-11-01T15:49:41.272Z] Removing intermediate container c15b5a9dc22f [2023-11-01T15:49:41.272Z] ---> fa19af1d1bd3 [2023-11-01T15:49:41.272Z] Successfully built fa19af1d1bd3 [2023-11-01T15:49:41.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:49:41.606Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T15:49:41.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:49:41.681Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T15:49:41.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T15:49:43.063Z] $ docker top b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:49:43.396Z] + go version [2023-11-01T15:49:43.396Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T15:49:43.411Z] $ docker stop --time=1 b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 [2023-11-01T15:49:45.218Z] $ docker rm -f --volumes b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:49:45.740Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T15:49:45.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:49:45.844Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T15:49:45.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T15:49:47.457Z] $ docker top e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:49:47.811Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-01T15:49:48.113Z] + make test [2023-11-01T15:49:48.113Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T15:49:58.122Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T15:50:12.989Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T15:50:14.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.087s coverage: 27.6% of statements [2023-11-01T15:50:14.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.065s coverage: 81.5% of statements [2023-11-01T15:50:14.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.064s coverage: 86.0% of statements [2023-11-01T15:50:14.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 71.8% of statements [2023-11-01T15:50:14.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T15:50:14.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T15:50:15.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T15:50:17.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2023-11-01T15:50:17.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.149s coverage: 45.9% of statements [2023-11-01T15:50:17.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements [2023-11-01T15:50:17.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements [2023-11-01T15:50:17.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.066s coverage: 5.5% of statements [2023-11-01T15:50:50.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16165 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-11-01T15:50:50.994Z] Running in /w/workspace/device-sdk-go/267 [Pipeline] { [Pipeline] checkout [2023-11-01T15:50:51.030Z] The recommended git tool is: git [2023-11-01T15:50:56.822Z] GO111MODULE=on go vet ./... [2023-11-01T15:50:57.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T15:50:57.083Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T15:50:57.083Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T15:50:57.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T15:50:57.110Z] $ docker stop --time=1 e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 [2023-11-01T15:50:59.221Z] using credential edgex-jenkins-ssh [2023-11-01T15:50:59.239Z] Cloning the remote Git repository [2023-11-01T15:50:59.294Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T15:50:59.416Z] > git init /w/workspace/device-sdk-go/267 # timeout=10 [2023-11-01T15:50:59.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T15:50:59.599Z] > git --version # timeout=10 [2023-11-01T15:50:59.623Z] > git --version # 'git version 2.25.1' [2023-11-01T15:50:59.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T15:50:59.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T15:51:02.653Z] Avoid second fetch [2023-11-01T15:51:02.654Z] Checking out Revision cdda6ba38339e8ee36b58c288de44ad2194d3f5d (main) [2023-11-01T15:51:01.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T15:51:01.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T15:51:02.670Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T15:51:03.338Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533)" [2023-11-01T15:51:02.764Z] > git checkout -f cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 [2023-11-01T15:51:14.998Z] $ docker rm -f --volumes e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T15:51:16.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T15:51:16.132Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T15:51:16.338Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T15:51:16.338Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T15:51:16.338Z] Dload Upload Total Spent Left Speed [2023-11-01T15:51:16.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [2023-11-01T15:51:16.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2023-11-01T15:51:16.864Z] + ls -al . [2023-11-01T15:51:16.864Z] total 304 [2023-11-01T15:51:16.864Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 15:49 . [2023-11-01T15:51:16.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:46 .. [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:46 .dockerignore [2023-11-01T15:51:16.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:50 .git [2023-11-01T15:51:16.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:46 .github [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:46 .gitignore [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:46 .golangci.yml [2023-11-01T15:51:16.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:47 .semver [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:46 CHANGELOG.md [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:46 GOVERNANCE.md [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:46 Jenkinsfile [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:46 LICENSE [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:46 Makefile [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:46 OWNERS.md [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:46 README.md [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 15:47 VERSION [2023-11-01T15:51:16.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:46 bin [2023-11-01T15:51:16.864Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 15:50 coverage.out [2023-11-01T15:51:16.864Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:46 example [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:46 go.mod [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:46 go.sum [2023-11-01T15:51:16.864Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:46 internal [2023-11-01T15:51:16.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:46 openapi [2023-11-01T15:51:16.864Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:46 pkg [2023-11-01T15:51:16.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:46 snap [2023-11-01T15:51:16.864Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:51:17.069Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T15:51:17.236Z] + 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=cdda6ba38339e8ee36b58c288de44ad2194d3f5d --label arch=amd64 --label version=3.1.0-dev.38 . [2023-11-01T15:51:17.236Z] Sending build context to Docker daemon 11.37MB [2023-11-01T15:51:17.236Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:51:17.236Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T15:51:17.236Z] ---> fa19af1d1bd3 [2023-11-01T15:51:17.236Z] Step 3/23 : ARG MAKE=make build [2023-11-01T15:51:17.410Z] + sudo tee /etc/docker/daemon.new [2023-11-01T15:51:17.410Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T15:51:17.410Z] { [2023-11-01T15:51:17.410Z] "registry-mirrors": [ [2023-11-01T15:51:17.410Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T15:51:17.410Z] ], [2023-11-01T15:51:17.410Z] "bip": "10.250.0.254/24", [2023-11-01T15:51:17.410Z] "hosts": [ [2023-11-01T15:51:17.410Z] "tcp://0.0.0.0:5555", [2023-11-01T15:51:17.410Z] "unix:///var/run/docker.sock" [2023-11-01T15:51:17.410Z] ], [2023-11-01T15:51:17.410Z] "mtu": 1458, [2023-11-01T15:51:17.410Z] "selinux-enabled": true, [2023-11-01T15:51:17.410Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T15:51:17.410Z] } [Pipeline] sh [2023-11-01T15:51:17.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T15:51:18.081Z] + sudo service docker restart [2023-11-01T15:51:20.528Z] ---> Running in f68f8900fb51 [2023-11-01T15:51:21.461Z] Removing intermediate container f68f8900fb51 [2023-11-01T15:51:21.461Z] ---> 6085f7a81675 [2023-11-01T15:51:21.461Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T15:51:22.406Z] ---> Running in f5ee71212912 [2023-11-01T15:51:23.341Z] Removing intermediate container f5ee71212912 [2023-11-01T15:51:23.341Z] ---> 42cd7c0273a8 [2023-11-01T15:51:23.341Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:51:23.599Z] ---> Running in ed94fc3bfeb1 [2023-11-01T15:51:24.168Z] Removing intermediate container ed94fc3bfeb1 [2023-11-01T15:51:24.168Z] ---> f07b8a27e278 [2023-11-01T15:51:24.168Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T15:51:24.429Z] ---> Running in b06e42965d68 [2023-11-01T15:51:25.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:51:25.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:51:25.397Z] OK: 264 MiB in 52 packages [2023-11-01T15:51:27.971Z] Removing intermediate container b06e42965d68 [2023-11-01T15:51:27.971Z] ---> d6c84d20a79d [2023-11-01T15:51:27.971Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T15:51:27.971Z] ---> 074fc4c5bea7 [2023-11-01T15:51:27.971Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:51:27.971Z] ---> Running in 2a399343907e [2023-11-01T15:51:28.538Z] Removing intermediate container 2a399343907e [2023-11-01T15:51:28.538Z] ---> b67f69290474 [2023-11-01T15:51:28.538Z] Step 9/23 : COPY . . [2023-11-01T15:51:30.442Z] ---> ff2980267da2 [2023-11-01T15:51:30.442Z] Step 10/23 : RUN ${MAKE} [2023-11-01T15:51:30.704Z] ---> Running in bfb8cefb2e3a [2023-11-01T15:51:32.640Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T15:51:36.384Z] provisioning config files... [2023-11-01T15:51:36.417Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/267@tmp/config16097171761592663263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:51:36.804Z] ---> docker-login.sh [2023-11-01T15:51:36.805Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:51:37.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:51:37.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:51:37.402Z] Configure a credential helper to remove this warning. See [2023-11-01T15:51:37.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:51:37.402Z] [2023-11-01T15:51:37.402Z] Login Succeeded [2023-11-01T15:51:37.402Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:51:37.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:51:37.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:51:37.962Z] Configure a credential helper to remove this warning. See [2023-11-01T15:51:37.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:51:37.962Z] [2023-11-01T15:51:37.962Z] Login Succeeded [2023-11-01T15:51:37.962Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:51:38.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:51:38.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:51:38.244Z] Configure a credential helper to remove this warning. See [2023-11-01T15:51:38.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:51:38.244Z] [2023-11-01T15:51:38.244Z] Login Succeeded [2023-11-01T15:51:38.244Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:51:38.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:51:38.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:51:38.516Z] Configure a credential helper to remove this warning. See [2023-11-01T15:51:38.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:51:38.516Z] [2023-11-01T15:51:38.516Z] Login Succeeded [2023-11-01T15:51:38.516Z] docker.io [2023-11-01T15:51:38.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:51:39.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:51:39.388Z] Configure a credential helper to remove this warning. See [2023-11-01T15:51:39.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:51:39.388Z] [2023-11-01T15:51:39.388Z] Login Succeeded [2023-11-01T15:51:39.388Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:51:39.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T15:51:39.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:51:39.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:51:39.720Z] ========================================================= [2023-11-01T15:51:39.720Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T15:51:39.720Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:51:40.098Z] + 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 . [2023-11-01T15:51:40.698Z] Sending build context to Docker daemon 6.019MB [2023-11-01T15:51:40.698Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:51:40.698Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T15:51:40.698Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T15:51:40.698Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T15:51:40.698Z] 5d54e960e981: Pulling fs layer [2023-11-01T15:51:40.698Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T15:51:40.698Z] f0e02332f6b5: Pulling fs layer [2023-11-01T15:51:40.698Z] cefa15bbcfad: Pulling fs layer [2023-11-01T15:51:40.698Z] 17808c966233: Pulling fs layer [2023-11-01T15:51:40.698Z] f4c1fc716caa: Pulling fs layer [2023-11-01T15:51:40.698Z] f0e02332f6b5: Waiting [2023-11-01T15:51:40.698Z] cefa15bbcfad: Waiting [2023-11-01T15:51:40.698Z] 17808c966233: Waiting [2023-11-01T15:51:40.698Z] f4c1fc716caa: Waiting [2023-11-01T15:51:40.698Z] 5d54e960e981: Download complete [2023-11-01T15:51:40.968Z] f0e02332f6b5: Verifying Checksum [2023-11-01T15:51:40.968Z] f0e02332f6b5: Download complete [2023-11-01T15:51:40.968Z] cefa15bbcfad: Verifying Checksum [2023-11-01T15:51:40.968Z] cefa15bbcfad: Download complete [2023-11-01T15:51:40.968Z] 9fda8d8052c6: Download complete [2023-11-01T15:51:41.776Z] f4c1fc716caa: Verifying Checksum [2023-11-01T15:51:41.777Z] f4c1fc716caa: Download complete [2023-11-01T15:51:41.777Z] 9fda8d8052c6: Pull complete [2023-11-01T15:51:42.374Z] 5d54e960e981: Pull complete [2023-11-01T15:51:42.975Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T15:51:42.975Z] c4a7e357bf2a: Download complete [2023-11-01T15:51:43.953Z] 17808c966233: Verifying Checksum [2023-11-01T15:51:43.953Z] 17808c966233: Download complete [2023-11-01T15:51:56.575Z] c4a7e357bf2a: Pull complete [2023-11-01T15:51:56.575Z] f0e02332f6b5: Pull complete [2023-11-01T15:51:56.575Z] cefa15bbcfad: Pull complete [2023-11-01T15:52:08.918Z] 17808c966233: Pull complete [2023-11-01T15:52:10.880Z] f4c1fc716caa: Pull complete [2023-11-01T15:52:10.880Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T15:52:10.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T15:52:10.880Z] ---> ea914061e18c [2023-11-01T15:52:10.880Z] Step 3/10 : ARG MAKE=make build [2023-11-01T15:52:11.400Z] Removing intermediate container bfb8cefb2e3a [2023-11-01T15:52:11.400Z] ---> 6dd53822ad48 [2023-11-01T15:52:11.400Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T15:52:11.400Z] 3.18: Pulling from library/alpine [2023-11-01T15:52:11.480Z] ---> Running in 98e4461b6a41 [2023-11-01T15:52:11.480Z] Removing intermediate container 98e4461b6a41 [2023-11-01T15:52:11.480Z] ---> 67684828eb0e [2023-11-01T15:52:11.480Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T15:52:11.688Z] 96526aa774ef: Pulling fs layer [2023-11-01T15:52:11.750Z] ---> Running in b452e73b8136 [2023-11-01T15:52:11.998Z] 96526aa774ef: Verifying Checksum [2023-11-01T15:52:11.998Z] 96526aa774ef: Download complete [2023-11-01T15:52:12.026Z] Removing intermediate container b452e73b8136 [2023-11-01T15:52:12.026Z] ---> 4d53c3947e30 [2023-11-01T15:52:12.026Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:52:12.026Z] ---> Running in 957e8502aff0 [2023-11-01T15:52:12.410Z] Removing intermediate container 957e8502aff0 [2023-11-01T15:52:12.410Z] ---> 46785e580845 [2023-11-01T15:52:12.410Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T15:52:12.564Z] 96526aa774ef: Pull complete [2023-11-01T15:52:12.688Z] ---> Running in a7d09b43ca52 [2023-11-01T15:52:12.821Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T15:52:13.080Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T15:52:13.338Z] ---> 8ca4688f4f35 [2023-11-01T15:52:13.338Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T15:52:14.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T15:52:14.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T15:52:14.715Z] ---> Running in acb47f447c25 [2023-11-01T15:52:15.528Z] OK: 266 MiB in 52 packages [2023-11-01T15:52:15.655Z] Removing intermediate container acb47f447c25 [2023-11-01T15:52:15.655Z] ---> b5e56ffb3b2e [2023-11-01T15:52:15.655Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T15:52:16.125Z] Removing intermediate container a7d09b43ca52 [2023-11-01T15:52:16.125Z] ---> 72228d05f74d [2023-11-01T15:52:16.125Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T15:52:16.614Z] ---> Running in 314b6f1f2102 [2023-11-01T15:52:16.710Z] ---> 64fde5e2048e [2023-11-01T15:52:16.710Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:52:16.710Z] ---> Running in 13372b59ee01 [2023-11-01T15:52:18.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:52:18.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:52:18.274Z] OK: 7 MiB in 15 packages [2023-11-01T15:52:20.856Z] Removing intermediate container 314b6f1f2102 [2023-11-01T15:52:20.856Z] ---> 5515377c3fe6 [2023-11-01T15:52:20.856Z] Step 14/23 : WORKDIR / [2023-11-01T15:52:21.430Z] ---> Running in 3132ebe51fb2 [2023-11-01T15:52:22.825Z] Removing intermediate container 3132ebe51fb2 [2023-11-01T15:52:22.825Z] ---> 2d6c71bfb8b7 [2023-11-01T15:52:22.825Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T15:52:24.212Z] ---> 50a58f0e8109 [2023-11-01T15:52:24.212Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T15:52:27.544Z] ---> b89d62d66de9 [2023-11-01T15:52:27.544Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T15:52:28.488Z] ---> aeebaef6e5a7 [2023-11-01T15:52:28.488Z] Step 18/23 : EXPOSE 59999 [2023-11-01T15:52:29.057Z] ---> Running in 730e64d108aa [2023-11-01T15:52:29.666Z] Removing intermediate container 730e64d108aa [2023-11-01T15:52:29.666Z] ---> 1c22e75fc3bc [2023-11-01T15:52:29.666Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T15:52:30.629Z] ---> Running in d4d8bd9bed2e [2023-11-01T15:52:31.574Z] Removing intermediate container d4d8bd9bed2e [2023-11-01T15:52:31.575Z] ---> e475d97aa139 [2023-11-01T15:52:31.575Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T15:52:32.151Z] ---> Running in 15402d4334c2 [2023-11-01T15:52:33.576Z] Removing intermediate container 15402d4334c2 [2023-11-01T15:52:33.576Z] ---> 3617604278e6 [2023-11-01T15:52:33.576Z] Step 21/23 : LABEL arch=amd64 [2023-11-01T15:52:34.965Z] ---> Running in 5a9d1768249f [2023-11-01T15:52:36.385Z] Removing intermediate container 5a9d1768249f [2023-11-01T15:52:36.385Z] ---> 876254b39e42 [2023-11-01T15:52:36.385Z] Step 22/23 : LABEL git_sha=cdda6ba38339e8ee36b58c288de44ad2194d3f5d [2023-11-01T15:52:36.385Z] ---> Running in 3f370cc09f99 [2023-11-01T15:52:36.385Z] Removing intermediate container 3f370cc09f99 [2023-11-01T15:52:36.385Z] ---> f8144839cfe5 [2023-11-01T15:52:36.385Z] Step 23/23 : LABEL version=3.1.0-dev.38 [2023-11-01T15:52:36.385Z] ---> Running in 9108bd1d243f [2023-11-01T15:52:36.385Z] Removing intermediate container 9108bd1d243f [2023-11-01T15:52:36.385Z] ---> 09317fbc58ef [2023-11-01T15:52:36.385Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T15:52:36.385Z] Successfully built 09317fbc58ef [2023-11-01T15:52:36.647Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:52:37.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:52:37.118Z] [2023-11-01T15:52:37.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:52:37.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:52:37.424Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T15:52:37.424Z] 5eb5b503b376: Pulling fs layer [2023-11-01T15:52:37.424Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T15:52:37.424Z] ec43610c2a17: Pulling fs layer [2023-11-01T15:52:37.424Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T15:52:37.424Z] 33b1e0a273af: Pulling fs layer [2023-11-01T15:52:37.424Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T15:52:37.424Z] 2f39f015ded8: Pulling fs layer [2023-11-01T15:52:37.424Z] 3a2ae6a8a46f: Waiting [2023-11-01T15:52:37.424Z] 33b1e0a273af: Waiting [2023-11-01T15:52:37.424Z] 2f39f015ded8: Waiting [2023-11-01T15:52:37.424Z] 5d3b04190fa2: Waiting [2023-11-01T15:52:37.684Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T15:52:37.684Z] 5c69ac0246d0: Download complete [2023-11-01T15:52:37.684Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T15:52:37.684Z] 3a2ae6a8a46f: Download complete [2023-11-01T15:52:37.684Z] 33b1e0a273af: Verifying Checksum [2023-11-01T15:52:37.684Z] 33b1e0a273af: Download complete [2023-11-01T15:52:37.684Z] ec43610c2a17: Verifying Checksum [2023-11-01T15:52:37.684Z] ec43610c2a17: Download complete [2023-11-01T15:52:37.684Z] 5d3b04190fa2: Verifying Checksum [2023-11-01T15:52:37.684Z] 5d3b04190fa2: Download complete [2023-11-01T15:52:37.943Z] 5eb5b503b376: Verifying Checksum [2023-11-01T15:52:37.943Z] 5eb5b503b376: Download complete [2023-11-01T15:52:38.548Z] 2f39f015ded8: Download complete [2023-11-01T15:52:40.446Z] 5eb5b503b376: Pull complete [2023-11-01T15:52:42.352Z] 5c69ac0246d0: Pull complete [2023-11-01T15:52:43.762Z] ec43610c2a17: Pull complete [2023-11-01T15:52:43.763Z] 3a2ae6a8a46f: Pull complete [2023-11-01T15:52:45.136Z] 33b1e0a273af: Pull complete [2023-11-01T15:52:45.136Z] 5d3b04190fa2: Pull complete [2023-11-01T15:52:51.853Z] 2f39f015ded8: Pull complete [2023-11-01T15:52:51.853Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T15:52:52.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:52:52.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:52:52.220Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T15:52:52.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T15:53:06.193Z] $ docker top 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:53:06.571Z] ---> job-cost.sh [2023-11-01T15:53:06.571Z] lf-activate-venv: SKIPPING [2023-11-01T15:53:06.571Z] INFO: No Stack... [2023-11-01T15:53:06.829Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T15:53:07.394Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T15:53:07.677Z] + + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-11-01T15:53:07.677Z] cut -d, -f6 [Pipeline] lock [2023-11-01T15:53:07.691Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [2023-11-01T15:53:07.709Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] did not exist. Created. [2023-11-01T15:53:07.709Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T15:53:08.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T15:53:08.066Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T15:53:08.077Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T15:53:08.101Z] $ docker stop --time=1 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 [2023-11-01T15:53:09.597Z] $ docker rm -f --volumes 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T15:53:38.368Z] Removing intermediate container 13372b59ee01 [2023-11-01T15:53:38.368Z] ---> 1874a83580db [2023-11-01T15:53:38.368Z] Step 9/10 : COPY . . [2023-11-01T15:53:38.368Z] ---> d87021a2b3ac [2023-11-01T15:53:38.368Z] Step 10/10 : RUN ${MAKE} [2023-11-01T15:53:38.368Z] ---> Running in b1fb2c89dea3 [2023-11-01T15:53:38.368Z] noop [2023-11-01T15:53:38.368Z] Removing intermediate container b1fb2c89dea3 [2023-11-01T15:53:38.368Z] ---> 9b5e2f83b06b [2023-11-01T15:53:38.368Z] Successfully built 9b5e2f83b06b [2023-11-01T15:53:38.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:53:38.726Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T15:53:38.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:53:38.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container [2023-11-01T15:53:39.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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 [2023-11-01T15:53:40.321Z] $ docker top f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:53:41.156Z] + go version [2023-11-01T15:53:41.156Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T15:53:41.175Z] $ docker stop --time=1 f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 [2023-11-01T15:53:42.803Z] $ docker rm -f --volumes f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:53:43.379Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T15:53:43.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:53:43.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container [2023-11-01T15:53:43.644Z] $ 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/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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 [2023-11-01T15:53:44.915Z] $ docker top 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:53:45.794Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/267 [Pipeline] fileExists [Pipeline] sh [2023-11-01T15:53:46.467Z] + make test [2023-11-01T15:53:46.467Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T15:54:33.357Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T15:56:25.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T15:56:25.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T15:56:25.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T15:56:25.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T15:56:25.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T15:56:25.165Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.228s coverage: 27.6% of statements [2023-11-01T15:56:31.851Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.338s coverage: 81.5% of statements [2023-11-01T15:56:44.198Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T15:56:44.198Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T15:56:44.198Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.372s coverage: 86.0% of statements [2023-11-01T15:56:49.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T15:56:50.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 71.8% of statements [2023-11-01T15:56:53.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.317s coverage: 14.4% of statements [2023-11-01T15:56:53.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.804s coverage: 45.9% of statements [2023-11-01T15:56:54.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T15:56:54.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T15:56:55.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.459s coverage: 68.5% of statements [2023-11-01T15:56:58.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.482s coverage: 89.2% of statements [2023-11-01T15:56:59.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T15:57:01.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.267s coverage: 5.5% of statements [2023-11-01T15:57:02.309Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T15:57:02.310Z] GO111MODULE=on go vet ./... [2023-11-01T15:59:24.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T15:59:24.073Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T15:59:24.073Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T15:59:24.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T15:59:24.104Z] $ docker stop --time=1 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 [2023-11-01T15:59:26.251Z] $ docker rm -f --volumes 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T15:59:28.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T15:59:28.294Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T15:59:28.980Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T15:59:29.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T15:59:29.671Z] + ls -al . [2023-11-01T15:59:29.671Z] total 300 [2023-11-01T15:59:29.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 15:53 . [2023-11-01T15:59:29.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:50 .. [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:51 .dockerignore [2023-11-01T15:59:29.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:51 .git [2023-11-01T15:59:29.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:51 .github [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:51 .gitignore [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:51 .golangci.yml [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:51 CHANGELOG.md [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:51 GOVERNANCE.md [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:51 Jenkinsfile [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:51 LICENSE [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:51 Makefile [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:51 OWNERS.md [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:51 README.md [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 15:47 VERSION [2023-11-01T15:59:29.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:51 bin [2023-11-01T15:59:29.671Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 15:57 coverage.out [2023-11-01T15:59:29.671Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:51 example [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:51 go.mod [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:51 go.sum [2023-11-01T15:59:29.671Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:51 internal [2023-11-01T15:59:29.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:51 openapi [2023-11-01T15:59:29.671Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:51 pkg [2023-11-01T15:59:29.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:51 snap [2023-11-01T15:59:29.671Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:59:30.016Z] + 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=cdda6ba38339e8ee36b58c288de44ad2194d3f5d --label arch=arm64 --label version=3.1.0-dev.38 . [2023-11-01T15:59:30.601Z] Sending build context to Docker daemon 6.142MB [2023-11-01T15:59:30.601Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:59:30.601Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T15:59:30.601Z] ---> 9b5e2f83b06b [2023-11-01T15:59:30.601Z] Step 3/23 : ARG MAKE=make build [2023-11-01T15:59:30.601Z] ---> Running in fcaa6b94e79b [2023-11-01T15:59:31.190Z] Removing intermediate container fcaa6b94e79b [2023-11-01T15:59:31.190Z] ---> d9ba50383b76 [2023-11-01T15:59:31.190Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T15:59:31.190Z] ---> Running in cb49de908156 [2023-11-01T15:59:31.457Z] Removing intermediate container cb49de908156 [2023-11-01T15:59:31.457Z] ---> c136bef83f7f [2023-11-01T15:59:31.457Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:59:31.457Z] ---> Running in d760414cdfc9 [2023-11-01T15:59:32.052Z] Removing intermediate container d760414cdfc9 [2023-11-01T15:59:32.052Z] ---> c108c4bdc38b [2023-11-01T15:59:32.052Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T15:59:32.052Z] ---> Running in 4e167e524f7b [2023-11-01T15:59:33.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T15:59:33.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T15:59:35.014Z] OK: 266 MiB in 52 packages [2023-11-01T15:59:35.985Z] Removing intermediate container 4e167e524f7b [2023-11-01T15:59:35.985Z] ---> c932ef1bad45 [2023-11-01T15:59:35.985Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T15:59:36.253Z] ---> 161992e9ef3e [2023-11-01T15:59:36.253Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:59:36.520Z] ---> Running in 6f0c42fd7375 [2023-11-01T15:59:39.117Z] Removing intermediate container 6f0c42fd7375 [2023-11-01T15:59:39.117Z] ---> b8a47b1b14a9 [2023-11-01T15:59:39.117Z] Step 9/23 : COPY . . [2023-11-01T15:59:40.090Z] ---> 3a9a5b48f0c0 [2023-11-01T15:59:40.090Z] Step 10/23 : RUN ${MAKE} [2023-11-01T15:59:40.360Z] ---> Running in e303b689b9d9 [2023-11-01T15:59:41.334Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-01T16:02:03.294Z] Removing intermediate container e303b689b9d9 [2023-11-01T16:02:03.294Z] ---> 3e4661ad756a [2023-11-01T16:02:03.294Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T16:02:03.294Z] 3.18: Pulling from library/alpine [2023-11-01T16:02:03.294Z] 579b34f0a95b: Pulling fs layer [2023-11-01T16:02:03.294Z] 579b34f0a95b: Verifying Checksum [2023-11-01T16:02:03.294Z] 579b34f0a95b: Download complete [2023-11-01T16:02:03.294Z] 579b34f0a95b: Pull complete [2023-11-01T16:02:03.294Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T16:02:03.294Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T16:02:03.294Z] ---> 3cc203321400 [2023-11-01T16:02:03.294Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T16:02:03.294Z] ---> Running in 48ced31be4e2 [2023-11-01T16:02:03.294Z] Removing intermediate container 48ced31be4e2 [2023-11-01T16:02:03.294Z] ---> c27042671f2a [2023-11-01T16:02:03.294Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T16:02:03.294Z] ---> Running in 0cc82029cff2 [2023-11-01T16:02:03.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:02:03.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:02:03.294Z] OK: 8 MiB in 15 packages [2023-11-01T16:02:03.294Z] Removing intermediate container 0cc82029cff2 [2023-11-01T16:02:03.294Z] ---> de042f6a4171 [2023-11-01T16:02:03.294Z] Step 14/23 : WORKDIR / [2023-11-01T16:02:03.294Z] ---> Running in 6ea104690d54 [2023-11-01T16:02:03.294Z] Removing intermediate container 6ea104690d54 [2023-11-01T16:02:03.294Z] ---> 366f7a3248d8 [2023-11-01T16:02:03.294Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T16:02:03.294Z] ---> e53d9bff6af3 [2023-11-01T16:02:03.294Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T16:02:03.563Z] ---> bf97c4004fe9 [2023-11-01T16:02:03.563Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T16:02:04.150Z] ---> a6708cedfed2 [2023-11-01T16:02:04.150Z] Step 18/23 : EXPOSE 59999 [2023-11-01T16:02:04.417Z] ---> Running in dea567ff29c6 [2023-11-01T16:02:04.685Z] Removing intermediate container dea567ff29c6 [2023-11-01T16:02:04.685Z] ---> 1b3f8892486f [2023-11-01T16:02:04.685Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T16:02:04.685Z] ---> Running in a5fc3fe6859f [2023-11-01T16:02:04.952Z] Removing intermediate container a5fc3fe6859f [2023-11-01T16:02:04.952Z] ---> e53ddd86dcb5 [2023-11-01T16:02:04.953Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T16:02:05.220Z] ---> Running in 97a270ce7254 [2023-11-01T16:02:05.488Z] Removing intermediate container 97a270ce7254 [2023-11-01T16:02:05.488Z] ---> 657037f2b105 [2023-11-01T16:02:05.488Z] Step 21/23 : LABEL arch=arm64 [2023-11-01T16:02:05.488Z] ---> Running in 00834bb6217e [2023-11-01T16:02:05.757Z] Removing intermediate container 00834bb6217e [2023-11-01T16:02:05.757Z] ---> 93218bddbdd6 [2023-11-01T16:02:05.757Z] Step 22/23 : LABEL git_sha=cdda6ba38339e8ee36b58c288de44ad2194d3f5d [2023-11-01T16:02:06.026Z] ---> Running in 358eced4b13c [2023-11-01T16:02:06.292Z] Removing intermediate container 358eced4b13c [2023-11-01T16:02:06.293Z] ---> 6c01d54f229c [2023-11-01T16:02:06.293Z] Step 23/23 : LABEL version=3.1.0-dev.38 [2023-11-01T16:02:06.293Z] ---> Running in de99ae50a622 [2023-11-01T16:02:06.880Z] Removing intermediate container de99ae50a622 [2023-11-01T16:02:06.880Z] ---> 905f5a89068b [2023-11-01T16:02:06.880Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T16:02:06.880Z] Successfully built 905f5a89068b [2023-11-01T16:02:06.881Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:02:07.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:02:07.342Z] [2023-11-01T16:02:07.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:02:07.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:02:07.964Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T16:02:07.964Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T16:02:07.964Z] 04944245beec: Pulling fs layer [2023-11-01T16:02:07.964Z] 699f458cf7ca: Pulling fs layer [2023-11-01T16:02:07.964Z] 765212b225bb: Pulling fs layer [2023-11-01T16:02:07.964Z] f23df028b6ca: Pulling fs layer [2023-11-01T16:02:07.964Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T16:02:07.964Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T16:02:07.964Z] f23df028b6ca: Waiting [2023-11-01T16:02:07.964Z] 765212b225bb: Waiting [2023-11-01T16:02:07.964Z] d65c8cfc05b1: Waiting [2023-11-01T16:02:07.964Z] 2437ff75d9bd: Waiting [2023-11-01T16:02:07.964Z] 04944245beec: Verifying Checksum [2023-11-01T16:02:07.964Z] 04944245beec: Download complete [2023-11-01T16:02:07.964Z] 765212b225bb: Verifying Checksum [2023-11-01T16:02:07.964Z] 765212b225bb: Download complete [2023-11-01T16:02:07.964Z] f23df028b6ca: Verifying Checksum [2023-11-01T16:02:07.964Z] f23df028b6ca: Download complete [2023-11-01T16:02:08.236Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T16:02:08.236Z] d65c8cfc05b1: Download complete [2023-11-01T16:02:08.236Z] 699f458cf7ca: Verifying Checksum [2023-11-01T16:02:08.236Z] 699f458cf7ca: Download complete [2023-11-01T16:02:08.504Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T16:02:08.504Z] 8998bd30e6a1: Download complete [2023-11-01T16:02:11.856Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T16:02:11.856Z] 2437ff75d9bd: Download complete [2023-11-01T16:02:13.818Z] 8998bd30e6a1: Pull complete [2023-11-01T16:02:14.408Z] 04944245beec: Pull complete [2023-11-01T16:02:17.768Z] 699f458cf7ca: Pull complete [2023-11-01T16:02:17.768Z] 765212b225bb: Pull complete [2023-11-01T16:02:18.356Z] f23df028b6ca: Pull complete [2023-11-01T16:02:18.629Z] d65c8cfc05b1: Pull complete [2023-11-01T16:02:36.859Z] 2437ff75d9bd: Pull complete [2023-11-01T16:02:36.859Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T16:02:36.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:02:36.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:02:37.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container [2023-11-01T16:02:37.195Z] $ 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/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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 [2023-11-01T16:02:40.416Z] $ docker top e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:02:41.314Z] ---> job-cost.sh [2023-11-01T16:02:41.314Z] lf-activate-venv: SKIPPING [2023-11-01T16:02:41.314Z] INFO: No Stack... [2023-11-01T16:02:41.934Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T16:02:42.517Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T16:02:43.173Z] + cat /w/workspace/device-sdk-go/267/archives/cost.csv [2023-11-01T16:02:43.173Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T16:02:43.265Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [2023-11-01T16:02:43.273Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] did not exist. Created. [2023-11-01T16:02:43.273Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T16:02:43.948Z] /w/workspace/device-sdk-go/267@tmp/durable-9f0008bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T16:02:44.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T16:02:44.651Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T16:02:44.749Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T16:02:44.757Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T16:02:44.773Z] $ docker stop --time=1 e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 [2023-11-01T16:02:46.359Z] $ docker rm -f --volumes e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 [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 [2023-11-01T16:02:46.828Z] provisioning config files... [2023-11-01T16:02:46.834Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5560659679322379125tmp [Pipeline] { [Pipeline] sh [2023-11-01T16:02:47.130Z] + set +x [2023-11-01T16:02:47.130Z] + bash -s -- [2023-11-01T16:02:47.130Z] + curl -s https://codecov.io/bash [2023-11-01T16:02:47.130Z] [2023-11-01T16:02:47.130Z] _____ _ [2023-11-01T16:02:47.130Z] / ____| | | [2023-11-01T16:02:47.130Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T16:02:47.130Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T16:02:47.130Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T16:02:47.130Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T16:02:47.130Z] Bash-1.0.6 [2023-11-01T16:02:47.130Z] [2023-11-01T16:02:47.130Z] [2023-11-01T16:02:47.130Z] ==> git version 2.25.1 found [2023-11-01T16:02:47.130Z] ==> 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 [2023-11-01T16:02:47.130Z] Release-Date: 2020-01-08 [2023-11-01T16:02:47.130Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T16:02:47.130Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T16:02:47.130Z] ==> Jenkins CI detected. [2023-11-01T16:02:47.130Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-01T16:02:47.130Z] project root: . [2023-11-01T16:02:47.130Z] --> token set from env [2023-11-01T16:02:47.130Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T16:02:47.130Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T16:02:47.130Z] ==> Python coveragepy not found [2023-11-01T16:02:47.130Z] ==> Searching for coverage reports in: [2023-11-01T16:02:47.130Z] + . [2023-11-01T16:02:47.130Z] -> Found 1 reports [2023-11-01T16:02:47.130Z] ==> Detecting git/mercurial file structure [2023-11-01T16:02:47.130Z] ==> Reading reports [2023-11-01T16:02:47.130Z] + ./coverage.out bytes=122153 [2023-11-01T16:02:47.130Z] ==> Appending adjustments [2023-11-01T16:02:47.130Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T16:02:47.389Z] + Found adjustments [2023-11-01T16:02:47.389Z] ==> Gzipping contents [2023-11-01T16:02:47.389Z] 20K /tmp/codecov.Y0Y12M.gz [2023-11-01T16:02:47.389Z] ==> Uploading reports [2023-11-01T16:02:47.389Z] url: https://codecov.io [2023-11-01T16:02:47.389Z] query: branch=main&commit=cdda6ba38339e8ee36b58c288de44ad2194d3f5d&build=267&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F267%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T16:02:47.649Z] -> Pinging Codecov [2023-11-01T16:02:47.649Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=cdda6ba38339e8ee36b58c288de44ad2194d3f5d&build=267&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F267%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T16:02:47.649Z] -> Uploading to [2023-11-01T16:02:47.649Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/cdda6ba38339e8ee36b58c288de44ad2194d3f5d/de10acde-489e-48c2-8ad2-27f5a4b4060b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T160247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f6573f9cffbd03e757b5caebe1ae775608113882dc8b094cd659b633e542912 [2023-11-01T16:02:47.649Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T16:02:47.649Z] Dload Upload Total Spent Left Speed [2023-11-01T16:02:47.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 58166 --:--:-- --:--:-- --:--:-- 58166 [2023-11-01T16:02:47.909Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] } [2023-11-01T16:02:47.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-01T16:02:48.099Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-01T16:02:48.108Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:02:48.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T16:02:48.407Z] [2023-11-01T16:02:48.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:02:48.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T16:02:48.711Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-01T16:02:48.711Z] df9b9388f04a: Pulling fs layer [2023-11-01T16:02:48.711Z] 52dc419b0ee2: Pulling fs layer [2023-11-01T16:02:48.711Z] 25bc292e5bac: Pulling fs layer [2023-11-01T16:02:48.711Z] 114826534d7a: Pulling fs layer [2023-11-01T16:02:48.711Z] 4657fd5d0bcf: Pulling fs layer [2023-11-01T16:02:48.711Z] 6ad1cebc031e: Pulling fs layer [2023-11-01T16:02:48.711Z] 8a3aa393b2d8: Pulling fs layer [2023-11-01T16:02:48.711Z] 4657fd5d0bcf: Waiting [2023-11-01T16:02:48.711Z] 6ad1cebc031e: Waiting [2023-11-01T16:02:48.711Z] 8a3aa393b2d8: Waiting [2023-11-01T16:02:48.711Z] 114826534d7a: Waiting [2023-11-01T16:02:48.711Z] 25bc292e5bac: Verifying Checksum [2023-11-01T16:02:48.711Z] 25bc292e5bac: Download complete [2023-11-01T16:02:48.711Z] 52dc419b0ee2: Verifying Checksum [2023-11-01T16:02:48.711Z] 52dc419b0ee2: Download complete [2023-11-01T16:02:48.711Z] 4657fd5d0bcf: Verifying Checksum [2023-11-01T16:02:48.711Z] 4657fd5d0bcf: Download complete [2023-11-01T16:02:48.711Z] df9b9388f04a: Verifying Checksum [2023-11-01T16:02:48.711Z] df9b9388f04a: Download complete [2023-11-01T16:02:48.970Z] 6ad1cebc031e: Verifying Checksum [2023-11-01T16:02:48.970Z] 6ad1cebc031e: Download complete [2023-11-01T16:02:48.970Z] df9b9388f04a: Pull complete [2023-11-01T16:02:48.970Z] 52dc419b0ee2: Pull complete [2023-11-01T16:02:49.230Z] 25bc292e5bac: Pull complete [2023-11-01T16:02:49.489Z] 114826534d7a: Verifying Checksum [2023-11-01T16:02:49.489Z] 114826534d7a: Download complete [2023-11-01T16:02:49.747Z] 8a3aa393b2d8: Verifying Checksum [2023-11-01T16:02:49.747Z] 8a3aa393b2d8: Download complete [2023-11-01T16:02:53.057Z] 114826534d7a: Pull complete [2023-11-01T16:02:53.057Z] 4657fd5d0bcf: Pull complete [2023-11-01T16:02:53.314Z] 6ad1cebc031e: Pull complete [2023-11-01T16:02:55.844Z] 8a3aa393b2d8: Pull complete [2023-11-01T16:02:55.844Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-01T16:02:55.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T16:02:55.844Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:02:55.933Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:02:55.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-01T16:03:03.606Z] $ docker top 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-01T16:03:03.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-11-01T16:03:03.948Z] + set -o pipefail [2023-11-01T16:03:03.948Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-11-01T16:03:09.219Z] [2023-11-01T16:03:09.219Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-01T16:03:09.219Z] [2023-11-01T16:03:09.219Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/87ac14d3-ee0f-45b2-99c2-19ebaeae3688 [2023-11-01T16:03:09.219Z] [2023-11-01T16:03:09.219Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-01T16:03:09.219Z] [2023-11-01T16:03:09.219Z] [2023-11-01T16:03:09.220Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-01T16:03:09.220Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-01T16:03:09.220Z] More details here: https://snyk.co/ue1NS [2023-11-01T16:03:09.220Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-01T16:03:09.220Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-01T16:03:09.241Z] $ docker stop --time=1 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 [2023-11-01T16:03:14.968Z] $ docker rm -f --volumes 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-11-01T16:03:15.309Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:03:15.318Z] provisioning config files... [2023-11-01T16:03:15.325Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5212418440598380330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:15.618Z] --> edgex-publish-swagger.sh [2023-11-01T16:03:15.618Z] === Publish openapi/v3 API === [2023-11-01T16:03:15.618Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-01T16:03:15.618Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-11-01T16:03:15.618Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T16:03:15.618Z] Dload Upload Total Spent Left Speed [2023-11-01T16:03:15.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 105k --:--:-- --:--:-- --:--:-- 104k 100 23674 0 0 100 23674 0 50156 --:--:-- --:--:-- --:--:-- 50050 [2023-11-01T16:03:15.876Z] [2023-11-01T16:03:15.876Z] [Pipeline] } [2023-11-01T16:03:15.883Z] 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 [2023-11-01T16:03:16.314Z] + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] sh [2023-11-01T16:03:16.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T16:03:16.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:16.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:03:16.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:03:16.966Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:03:17.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T16:03:17.542Z] $ docker top b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T16:03:17.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T16:03:17.624Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T16:03:17.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T16:03:17.744Z] $ docker exec b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 ssh-agent [2023-11-01T16:03:17.838Z] SSH_AUTH_SOCK=/tmp/ssh-ubFzUBLwOwF1/agent.31 [2023-11-01T16:03:17.838Z] SSH_AGENT_PID=37 [2023-11-01T16:03:17.842Z] Running ssh-add (command line suppressed) [2023-11-01T16:03:17.954Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7464132197269656184.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7464132197269656184.key) [2023-11-01T16:03:17.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T16:03:18.254Z] + git semver tag [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,424 [run_tag] DEBUG tag force:False [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,424 [check_head_tag] DEBUG check head tag [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,425 [execute] INFO git cat-file --batch-check [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,428 [execute] INFO git cat-file --batch [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,447 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,447 [execute] INFO git tag -a v3.1.0-dev.38 -m v3.1.0-dev.38 [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,447 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.38', '-m', 'v3.1.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T16:03:18.514Z] 2023-11-01 16:03:18,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:18.514Z] 3.1.0-dev.38 [Pipeline] } [2023-11-01T16:03:18.533Z] $ docker exec --env ******** --env ******** b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 ssh-agent -k [2023-11-01T16:03:18.625Z] unset SSH_AUTH_SOCK; [2023-11-01T16:03:18.626Z] unset SSH_AGENT_PID; [2023-11-01T16:03:18.626Z] echo Agent pid 37 killed; [2023-11-01T16:03:18.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T16:03:18.934Z] + git semver [Pipeline] } [2023-11-01T16:03:19.214Z] $ docker stop --time=1 b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 [2023-11-01T16:03:20.517Z] $ docker rm -f --volumes b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:20.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T16:03:20.896Z] [2023-11-01T16:03:20.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:21.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T16:03:21.194Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-01T16:03:21.194Z] ab5ef0e58194: Pulling fs layer [2023-11-01T16:03:21.194Z] 9712f1f96733: Pulling fs layer [2023-11-01T16:03:21.194Z] 63f879dbbcfc: Pulling fs layer [2023-11-01T16:03:21.194Z] 0d9ebad4ef96: Pulling fs layer [2023-11-01T16:03:21.194Z] e9a5061849ea: Pulling fs layer [2023-11-01T16:03:21.194Z] d747dcd14b5f: Pulling fs layer [2023-11-01T16:03:21.194Z] 2de7ff778b66: Pulling fs layer [2023-11-01T16:03:21.194Z] 0d9ebad4ef96: Waiting [2023-11-01T16:03:21.194Z] e9a5061849ea: Waiting [2023-11-01T16:03:21.194Z] d747dcd14b5f: Waiting [2023-11-01T16:03:21.194Z] 2de7ff778b66: Waiting [2023-11-01T16:03:21.194Z] 9712f1f96733: Download complete [2023-11-01T16:03:21.455Z] 63f879dbbcfc: Verifying Checksum [2023-11-01T16:03:21.455Z] 63f879dbbcfc: Download complete [2023-11-01T16:03:21.714Z] 0d9ebad4ef96: Verifying Checksum [2023-11-01T16:03:21.714Z] 0d9ebad4ef96: Download complete [2023-11-01T16:03:21.714Z] d747dcd14b5f: Verifying Checksum [2023-11-01T16:03:21.714Z] d747dcd14b5f: Download complete [2023-11-01T16:03:21.714Z] e9a5061849ea: Verifying Checksum [2023-11-01T16:03:21.714Z] e9a5061849ea: Download complete [2023-11-01T16:03:21.714Z] ab5ef0e58194: Download complete [2023-11-01T16:03:21.714Z] 2de7ff778b66: Verifying Checksum [2023-11-01T16:03:21.714Z] 2de7ff778b66: Download complete [2023-11-01T16:03:24.243Z] ab5ef0e58194: Pull complete [2023-11-01T16:03:24.501Z] 9712f1f96733: Pull complete [2023-11-01T16:03:25.067Z] 63f879dbbcfc: Pull complete [2023-11-01T16:03:29.257Z] 0d9ebad4ef96: Pull complete [2023-11-01T16:03:29.257Z] e9a5061849ea: Pull complete [2023-11-01T16:03:29.257Z] d747dcd14b5f: Pull complete [2023-11-01T16:03:30.190Z] 2de7ff778b66: Pull complete [2023-11-01T16:03:30.450Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-01T16:03:30.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T16:03:30.450Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:03:30.539Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:03:30.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-01T16:03:42.286Z] $ docker top 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:03:42.342Z] provisioning config files... [2023-11-01T16:03:42.351Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1569473157726261905tmp [2023-11-01T16:03:42.362Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11481361772047497785tmp [2023-11-01T16:03:42.370Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2108336094588488540tmp [Pipeline] { [Pipeline] echo [2023-11-01T16:03:42.385Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:42.671Z] ---> sigul-configuration.sh [2023-11-01T16:03:42.671Z] gpg: directory `/root/.gnupg' created [2023-11-01T16:03:42.671Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-01T16:03:42.671Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-01T16:03:42.671Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-01T16:03:42.671Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-01T16:03:42.671Z] gpg: CAST5 encrypted data [2023-11-01T16:03:42.671Z] gpg: encrypted with 1 passphrase [2023-11-01T16:03:42.671Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-01T16:03:42.953Z] + mkdir /home/jenkins [2023-11-01T16:03:42.953Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-01T16:03:43.234Z] + 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 [2023-11-01T16:03:43.243Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:43.526Z] ---> sigul-install.sh [2023-11-01T16:03:43.526Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-01T16:03:43.804Z] + git tag --list [2023-11-01T16:03:43.805Z] 0.7.1 [2023-11-01T16:03:43.805Z] delhi-tag [2023-11-01T16:03:43.805Z] v1.0.0 [2023-11-01T16:03:43.805Z] v1.1.0 [2023-11-01T16:03:43.805Z] v1.1.1 [2023-11-01T16:03:43.805Z] v1.1.2 [2023-11-01T16:03:43.805Z] v1.2.0 [2023-11-01T16:03:43.805Z] v1.2.1 [2023-11-01T16:03:43.805Z] v1.2.2 [2023-11-01T16:03:43.805Z] v1.2.3 [2023-11-01T16:03:43.805Z] v1.3.0 [2023-11-01T16:03:43.805Z] v1.4.0 [2023-11-01T16:03:43.805Z] v2.0.0 [2023-11-01T16:03:43.805Z] v2.1.0 [2023-11-01T16:03:43.805Z] v2.1.1 [2023-11-01T16:03:43.805Z] v2.2.0 [2023-11-01T16:03:43.805Z] v2.3.0 [2023-11-01T16:03:43.805Z] v2.3.1 [2023-11-01T16:03:43.805Z] v3.0 [2023-11-01T16:03:43.805Z] v3.0.0 [2023-11-01T16:03:43.805Z] v3.0.1-dev.1 [2023-11-01T16:03:43.805Z] v3.1.0-dev.1 [2023-11-01T16:03:43.805Z] v3.1.0-dev.10 [2023-11-01T16:03:43.805Z] v3.1.0-dev.11 [2023-11-01T16:03:43.805Z] v3.1.0-dev.12 [2023-11-01T16:03:43.805Z] v3.1.0-dev.13 [2023-11-01T16:03:43.805Z] v3.1.0-dev.14 [2023-11-01T16:03:43.805Z] v3.1.0-dev.15 [2023-11-01T16:03:43.805Z] v3.1.0-dev.16 [2023-11-01T16:03:43.805Z] v3.1.0-dev.17 [2023-11-01T16:03:43.805Z] v3.1.0-dev.18 [2023-11-01T16:03:43.805Z] v3.1.0-dev.19 [2023-11-01T16:03:43.805Z] v3.1.0-dev.2 [2023-11-01T16:03:43.805Z] v3.1.0-dev.20 [2023-11-01T16:03:43.805Z] v3.1.0-dev.21 [2023-11-01T16:03:43.805Z] v3.1.0-dev.22 [2023-11-01T16:03:43.805Z] v3.1.0-dev.23 [2023-11-01T16:03:43.805Z] v3.1.0-dev.24 [2023-11-01T16:03:43.805Z] v3.1.0-dev.25 [2023-11-01T16:03:43.805Z] v3.1.0-dev.26 [2023-11-01T16:03:43.805Z] v3.1.0-dev.27 [2023-11-01T16:03:43.805Z] v3.1.0-dev.28 [2023-11-01T16:03:43.805Z] v3.1.0-dev.29 [2023-11-01T16:03:43.805Z] v3.1.0-dev.3 [2023-11-01T16:03:43.805Z] v3.1.0-dev.30 [2023-11-01T16:03:43.805Z] v3.1.0-dev.31 [2023-11-01T16:03:43.805Z] v3.1.0-dev.32 [2023-11-01T16:03:43.805Z] v3.1.0-dev.33 [2023-11-01T16:03:43.805Z] v3.1.0-dev.34 [2023-11-01T16:03:43.805Z] v3.1.0-dev.35 [2023-11-01T16:03:43.805Z] v3.1.0-dev.36 [2023-11-01T16:03:43.805Z] v3.1.0-dev.37 [2023-11-01T16:03:43.805Z] v3.1.0-dev.38 [2023-11-01T16:03:43.805Z] v3.1.0-dev.4 [2023-11-01T16:03:43.805Z] v3.1.0-dev.5 [2023-11-01T16:03:43.805Z] v3.1.0-dev.6 [2023-11-01T16:03:43.805Z] v3.1.0-dev.7 [2023-11-01T16:03:43.805Z] v3.1.0-dev.8 [2023-11-01T16:03:43.805Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-01T16:03:44.093Z] + lftools sign git-tag v3.1.0-dev.38 [2023-11-01T16:03:44.660Z] Signing Git tag with Sigul... [2023-11-01T16:03:44.660Z] Signing v3.1.0-dev.38 [Pipeline] echo [2023-11-01T16:03:44.927Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:45.209Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-01T16:03:45.217Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-01T16:03:45.249Z] $ docker stop --time=1 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 [2023-11-01T16:03:46.534Z] $ docker rm -f --volumes 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-01T16:03:46.915Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T16:03:46.915Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:47.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:03:47.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:03:47.293Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:03:47.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T16:03:47.695Z] $ docker top 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 -eo pid,comm [2023-11-01T16:03:47.734Z] 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). [2023-11-01T16:03:47.734Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T16:03:47.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T16:03:47.768Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T16:03:47.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T16:03:47.897Z] $ docker exec 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 ssh-agent [2023-11-01T16:03:47.998Z] SSH_AUTH_SOCK=/tmp/ssh-uSykcJ5j0twG/agent.32 [2023-11-01T16:03:47.998Z] SSH_AGENT_PID=38 [2023-11-01T16:03:48.003Z] Running ssh-add (command line suppressed) [2023-11-01T16:03:48.108Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15917179011253245560.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15917179011253245560.key) [2023-11-01T16:03:48.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T16:03:48.407Z] + git semver bump pre [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [bump_version] DEBUG bumping version:3.1.0-dev.38 on axis:pre with prefix:dev [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [bump_version] DEBUG bumped version:3.1.0-dev.39 [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [write_version] DEBUG write version:3.1.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,587 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,589 [execute] INFO git cat-file --batch-check [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,594 [execute] INFO git cat-file --batch [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T16:03:48.666Z] 2023-11-01 16:03:48,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:48.666Z] 3.1.0-dev.39 [Pipeline] } [2023-11-01T16:03:48.684Z] $ docker exec --env ******** --env ******** 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 ssh-agent -k [2023-11-01T16:03:48.775Z] unset SSH_AUTH_SOCK; [2023-11-01T16:03:48.775Z] unset SSH_AGENT_PID; [2023-11-01T16:03:48.775Z] echo Agent pid 38 killed; [2023-11-01T16:03:48.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T16:03:49.088Z] + git semver [Pipeline] } [2023-11-01T16:03:49.370Z] $ docker stop --time=1 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 [2023-11-01T16:03:50.623Z] $ docker rm -f --volumes 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T16:03:50.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T16:03:50.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:51.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:03:51.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:03:51.317Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:03:51.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T16:03:51.673Z] $ docker top a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 -eo pid,comm [2023-11-01T16:03:51.708Z] 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). [2023-11-01T16:03:51.708Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T16:03:51.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T16:03:51.749Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T16:03:51.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T16:03:51.869Z] $ docker exec a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 ssh-agent [2023-11-01T16:03:51.958Z] SSH_AUTH_SOCK=/tmp/ssh-gUpUcLkY09HA/agent.32 [2023-11-01T16:03:51.958Z] SSH_AGENT_PID=38 [2023-11-01T16:03:51.963Z] Running ssh-add (command line suppressed) [2023-11-01T16:03:52.066Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_476216036301920922.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_476216036301920922.key) [2023-11-01T16:03:52.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T16:03:52.365Z] + git semver push [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,548 [run_push] DEBUG push [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,549 [execute] INFO git cat-file --batch-check [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,553 [execute] INFO git rev-list faccf54a2bf7a95f9b8af30b8a3e0c8887ecc1cb -- [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,553 [execute] DEBUG Popen(['git', 'rev-list', 'faccf54a2bf7a95f9b8af30b8a3e0c8887ecc1cb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,564 [execute] INFO git fetch -v origin [2023-11-01T16:03:52.624Z] 2023-11-01 16:03:52,565 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-01T16:03:53.305Z] 2023-11-01 16:03:53,125 [run_push] DEBUG no remote changes detected [2023-11-01T16:03:53.305Z] 2023-11-01 16:03:53,125 [execute] INFO git push origin semver [2023-11-01T16:03:53.305Z] 2023-11-01 16:03:53,126 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T16:03:54.279Z] 2023-11-01 16:03:53,972 [run_push] DEBUG push all version tags [2023-11-01T16:03:54.279Z] 2023-11-01 16:03:53,973 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-01T16:03:54.279Z] 2023-11-01 16:03:53,973 [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) [2023-11-01T16:03:54.903Z] 2023-11-01 16:03:54,801 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T16:03:54.903Z] 3.1.0-dev.39 [Pipeline] } [2023-11-01T16:03:54.935Z] $ docker exec --env ******** --env ******** a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 ssh-agent -k [2023-11-01T16:03:55.034Z] unset SSH_AUTH_SOCK; [2023-11-01T16:03:55.034Z] unset SSH_AGENT_PID; [2023-11-01T16:03:55.034Z] echo Agent pid 38 killed; [2023-11-01T16:03:55.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T16:03:55.347Z] + git semver [Pipeline] } [2023-11-01T16:03:55.629Z] $ docker stop --time=1 a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 [2023-11-01T16:03:56.963Z] $ docker rm -f --volumes a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T16:03:57.485Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-11-01T16:03:57.485Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T16:03:57.485Z] total 16 [2023-11-01T16:03:57.485Z] drwxr-xr-x 3 root root 4096 Nov 1 15:53 . [2023-11-01T16:03:57.485Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:03 .. [2023-11-01T16:03:57.485Z] drwxr-xr-x 2 root root 4096 Nov 1 15:53 cost [2023-11-01T16:03:57.485Z] -rw-r--r-- 1 root root 85 Nov 1 15:53 cost.csv [2023-11-01T16:03:57.485Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T16:03:57.485Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T16:03:57.485Z] total 16 [2023-11-01T16:03:57.485Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:53 . [2023-11-01T16:03:57.485Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:03 .. [2023-11-01T16:03:57.485Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 15:53 cost [2023-11-01T16:03:57.485Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 1 15:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:57.773Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:03:58.636Z] ---> package-listing.sh [2023-11-01T16:03:58.636Z] ++ facter osfamily [2023-11-01T16:03:58.636Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T16:03:58.896Z] + OS_FAMILY=debian [2023-11-01T16:03:58.896Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-11-01T16:03:58.896Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T16:03:58.896Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T16:03:58.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T16:03:58.896Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T16:03:58.896Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-01T16:03:58.896Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T16:03:58.896Z] + case "${OS_FAMILY}" in [2023-11-01T16:03:58.896Z] + dpkg -l [2023-11-01T16:03:58.896Z] + grep '^ii' [2023-11-01T16:03:58.896Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T16:03:58.896Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T16:03:58.896Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T16:03:58.896Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-01T16:03:58.896Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-11-01T16:03:58.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-11-01T16:03:58.908Z] 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 [2023-11-01T16:03:59.188Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:03:59.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:03:59.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:03:59.832Z] prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container [2023-11-01T16:03:59.875Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T16:04:00.109Z] $ docker top e03af0e00fd63e40a708143515fb7c0760ead3ca725dcb115bda97023ee0e660 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:04:00.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T16:04:00.729Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T16:04:01.017Z] + ls /var/log/sa-host [2023-11-01T16:04:01.017Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:04:01.084Z] provisioning config files... [2023-11-01T16:04:01.092Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10261095099915057412tmp [Pipeline] { [Pipeline] echo [2023-11-01T16:04:01.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:04:01.410Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T16:04:01.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:04:01.749Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T16:04:01.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:04:02.043Z] ---> sudo-logs.sh [2023-11-01T16:04:02.044Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T16:04:02.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:04:02.360Z] ---> job-cost.sh [2023-11-01T16:04:02.360Z] lf-activate-venv: SKIPPING [2023-11-01T16:04:02.360Z] DEBUG: total: 0.2199999988079071 [2023-11-01T16:04:02.360Z] INFO: Retrieving Stack Cost... [2023-11-01T16:04:02.620Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T16:04:03.189Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T16:04:03.200Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:04:03.484Z] ---> logs-deploy.sh [2023-11-01T16:04:03.485Z] lf-activate-venv: SKIPPING [2023-11-01T16:04:03.485Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/267 [2023-11-01T16:04:03.485Z] INFO: archiving workspace using pattern(s): [2023-11-01T16:04:04.447Z] Archives upload complete. [2023-11-01T16:04:04.707Z] INFO: archiving logs to Nexus