Started by user Lenny Goodell Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85278c73853f3bd4b620ac341e15b8756b181622 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-ssh6095346282099224381.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15867869286027293287.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1983226428505874085.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh3318535060019883145.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-ssh6794253317915929853.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1551 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 85278c73853f3bd4b620ac341e15b8756b181622 (main) Commit message: "build: Update to latest 3.2.0 go-mods (#1543)" > 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 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 > git rev-list --no-walk 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T17:45:26.189Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T17:45:26.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T17:45:26.303Z] ========================================================= [2023-11-28T17:45:26.303Z] EdgeX Global Pipelines Version Info [2023-11-28T17:45:26.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:45:27.061Z] ------------------- [2023-11-28T17:45:27.061Z] stable info: [2023-11-28T17:45:27.061Z] ------------------- [2023-11-28T17:45:27.061Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T17:45:27.061Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T17:45:27.061Z] Message: update stable to v1.0.258 [2023-11-28T17:45:27.636Z] ------------------- [2023-11-28T17:45:27.637Z] experimental info: [2023-11-28T17:45:27.637Z] ------------------- [2023-11-28T17:45:27.637Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T17:45:27.637Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T17:45:27.637Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T17:45:27.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-28T17:45:27.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-28T17:45:27.764Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T17:45:27.793Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T17:45:27.820Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T17:45:27.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T17:45:27.882Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T17:45:27.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-28T17:45:27.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T17:45:27.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T17:45:28.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T17:45:28.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-28T17:45:28.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T17:45:28.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T17:45:28.130Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T17:45:28.165Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T17:45:28.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T17:45:28.229Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T17:45:28.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T17:45:28.290Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T17:45:28.323Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-28T17:45:28.361Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-28T17:45:28.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T17:45:28.436Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T17:45:28.473Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T17:45:28.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T17:45:28.545Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T17:45:28.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-28T17:45:28.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-28T17:45:28.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-28T17:45:28.703Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] echo [2023-11-28T17:45:28.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85278c7 [Pipeline] echo [2023-11-28T17:45:28.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T17:45:28.887Z] provisioning config files... [2023-11-28T17:45:28.899Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1079469793238904057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:45:29.252Z] ---> ****-login.sh [2023-11-28T17:45:29.252Z] nexus3.edgexfoundry.org:10001 [2023-11-28T17:45:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:29.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:29.823Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:29.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:29.823Z] [2023-11-28T17:45:29.823Z] Login Succeeded [2023-11-28T17:45:29.823Z] nexus3.edgexfoundry.org:10002 [2023-11-28T17:45:29.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:29.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:29.823Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:29.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:29.823Z] [2023-11-28T17:45:29.823Z] Login Succeeded [2023-11-28T17:45:29.823Z] nexus3.edgexfoundry.org:10003 [2023-11-28T17:45:29.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:30.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:30.084Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:30.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:30.084Z] [2023-11-28T17:45:30.084Z] Login Succeeded [2023-11-28T17:45:30.084Z] nexus3.edgexfoundry.org:10004 [2023-11-28T17:45:30.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:30.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:30.084Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:30.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:30.084Z] [2023-11-28T17:45:30.084Z] Login Succeeded [2023-11-28T17:45:30.084Z] ****.io [2023-11-28T17:45:30.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:30.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:30.609Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:30.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:30.609Z] [2023-11-28T17:45:30.610Z] Login Succeeded [2023-11-28T17:45:30.610Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T17:45:30.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T17:45:31.134Z] + git rev-list -1 --merges 85278c73853f3bd4b620ac341e15b8756b181622~1..85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] echo [2023-11-28T17:45:31.163Z] -----------> git rev-list -1 --merges 85278c73853f3bd4b620ac341e15b8756b181622~1..85278c73853f3bd4b620ac341e15b8756b181622 85278c73853f3bd4b620ac341e15b8756b181622 [false] [Pipeline] sh [2023-11-28T17:45:31.467Z] + git log --format=format:%s -1 85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] echo [2023-11-28T17:45:31.483Z] ========================================================= [2023-11-28T17:45:31.483Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T17:45:31.483Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T17:45:31.858Z] + git log --format=format:%s -1 85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] echo [2023-11-28T17:45:31.869Z] [semverPrep] GIT_COMMIT: 85278c73853f3bd4b620ac341e15b8756b181622, Commit Message: build: Update to latest 3.2.0 go-mods (#1543) [Pipeline] echo [2023-11-28T17:45:31.896Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T17:45:32.271Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T17:45:32.271Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T17:45:32.271Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T17:45:32.271Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T17:45:32.271Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-11-28T17:45:32.271Z] -a /etc/ssh/ssh_known_hosts [2023-11-28T17:45:32.271Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:45:32.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T17:45:32.633Z] [2023-11-28T17:45:32.633Z] 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-28T17:45:32.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T17:45:32.957Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T17:45:32.957Z] b85a868b505f: Pulling fs layer [2023-11-28T17:45:32.957Z] e2be974225ed: Pulling fs layer [2023-11-28T17:45:32.957Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T17:45:32.957Z] 988bab9f4d93: Pulling fs layer [2023-11-28T17:45:32.957Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T17:45:32.957Z] eaf3925da568: Pulling fs layer [2023-11-28T17:45:32.957Z] 988bab9f4d93: Waiting [2023-11-28T17:45:32.957Z] bab4dde63d76: Pulling fs layer [2023-11-28T17:45:32.957Z] bde34c3a00c8: Pulling fs layer [2023-11-28T17:45:32.957Z] b352a97aabf1: Pulling fs layer [2023-11-28T17:45:32.957Z] 4872d77fe225: Pulling fs layer [2023-11-28T17:45:32.957Z] 1469e6f7b9e6: Waiting [2023-11-28T17:45:32.957Z] 5851b861e8e6: Pulling fs layer [2023-11-28T17:45:32.957Z] bde34c3a00c8: Waiting [2023-11-28T17:45:32.957Z] eaf3925da568: Waiting [2023-11-28T17:45:32.957Z] b352a97aabf1: Waiting [2023-11-28T17:45:32.957Z] bab4dde63d76: Waiting [2023-11-28T17:45:32.957Z] 5851b861e8e6: Waiting [2023-11-28T17:45:32.957Z] 4872d77fe225: Waiting [2023-11-28T17:45:32.957Z] e2be974225ed: Verifying Checksum [2023-11-28T17:45:32.957Z] e2be974225ed: Download complete [2023-11-28T17:45:32.957Z] 988bab9f4d93: Download complete [2023-11-28T17:45:32.957Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T17:45:32.957Z] 1469e6f7b9e6: Download complete [2023-11-28T17:45:32.957Z] eaf3925da568: Download complete [2023-11-28T17:45:33.216Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T17:45:33.216Z] 339a4e72a1f5: Download complete [2023-11-28T17:45:33.216Z] bde34c3a00c8: Verifying Checksum [2023-11-28T17:45:33.216Z] bde34c3a00c8: Download complete [2023-11-28T17:45:33.216Z] b352a97aabf1: Verifying Checksum [2023-11-28T17:45:33.216Z] b352a97aabf1: Download complete [2023-11-28T17:45:33.216Z] 4872d77fe225: Verifying Checksum [2023-11-28T17:45:33.216Z] 5851b861e8e6: Verifying Checksum [2023-11-28T17:45:33.216Z] 5851b861e8e6: Download complete [2023-11-28T17:45:33.216Z] b85a868b505f: Verifying Checksum [2023-11-28T17:45:33.216Z] b85a868b505f: Download complete [2023-11-28T17:45:33.475Z] bab4dde63d76: Verifying Checksum [2023-11-28T17:45:34.900Z] b85a868b505f: Pull complete [2023-11-28T17:45:35.160Z] e2be974225ed: Pull complete [2023-11-28T17:45:36.103Z] 339a4e72a1f5: Pull complete [2023-11-28T17:45:36.362Z] 988bab9f4d93: Pull complete [2023-11-28T17:45:37.337Z] 1469e6f7b9e6: Pull complete [2023-11-28T17:45:37.979Z] eaf3925da568: Pull complete [2023-11-28T17:45:40.597Z] bab4dde63d76: Pull complete [2023-11-28T17:45:40.597Z] bde34c3a00c8: Pull complete [2023-11-28T17:45:41.173Z] b352a97aabf1: Pull complete [2023-11-28T17:45:41.471Z] 4872d77fe225: Pull complete [2023-11-28T17:45:42.057Z] 5851b861e8e6: Pull complete [2023-11-28T17:45:42.320Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T17:45:42.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T17:45:42.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:45:43.040Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T17:45:43.111Z] $ 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-28T17:45:50.763Z] $ docker top 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 -eo pid,comm [2023-11-28T17:45:50.870Z] 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-28T17:45:50.870Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T17:45:50.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T17:45:50.964Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T17:45:51.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T17:45:51.078Z] $ docker exec 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 ssh-agent [2023-11-28T17:45:51.213Z] SSH_AUTH_SOCK=/tmp/ssh-HkTzVsQCxYwc/agent.13 [2023-11-28T17:45:51.213Z] SSH_AGENT_PID=19 [2023-11-28T17:45:51.222Z] Running ssh-add (command line suppressed) [2023-11-28T17:45:51.376Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7151342626820703978.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7151342626820703978.key) [2023-11-28T17:45:51.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T17:45:51.694Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T17:45:51.707Z] $ docker exec --env ******** --env ******** 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 ssh-agent -k [2023-11-28T17:45:51.854Z] unset SSH_AUTH_SOCK; [2023-11-28T17:45:51.854Z] unset SSH_AGENT_PID; [2023-11-28T17:45:51.855Z] echo Agent pid 19 killed; [2023-11-28T17:45:51.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T17:45:51.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T17:45:51.926Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T17:45:52.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T17:45:52.041Z] $ docker exec 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 ssh-agent [2023-11-28T17:45:52.153Z] SSH_AUTH_SOCK=/tmp/ssh-ZlDdtbAnbar9/agent.52 [2023-11-28T17:45:52.153Z] SSH_AGENT_PID=58 [2023-11-28T17:45:52.159Z] Running ssh-add (command line suppressed) [2023-11-28T17:45:52.268Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17660695545436386894.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17660695545436386894.key) [2023-11-28T17:45:52.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T17:45:52.610Z] + git semver init [2023-11-28T17:45:52.870Z] 2023-11-28 17:45:52,852 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T17:45:52.870Z] 2023-11-28 17:45:52,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-28T17:45:52.870Z] 2023-11-28 17:45:52,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-28T17:45:52.870Z] 2023-11-28 17:45:52,855 [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-28T17:45:55.412Z] 2023-11-28 17:45:54,796 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-11-28T17:45:55.412Z] 2023-11-28 17:45:54,796 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-11-28T17:45:55.412Z] 2023-11-28 17:45:54,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T17:45:55.412Z] 2023-11-28 17:45:54,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T17:45:55.412Z] 3.2.0-dev.1 [Pipeline] } [2023-11-28T17:45:55.422Z] $ docker exec --env ******** --env ******** 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 ssh-agent -k [2023-11-28T17:45:55.509Z] unset SSH_AUTH_SOCK; [2023-11-28T17:45:55.509Z] unset SSH_AGENT_PID; [2023-11-28T17:45:55.509Z] echo Agent pid 58 killed; [2023-11-28T17:45:55.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T17:45:55.896Z] + git semver [Pipeline] } [2023-11-28T17:45:56.172Z] $ docker stop --time=1 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 [2023-11-28T17:45:57.488Z] $ docker rm -f --volumes 92d75bb465b02c228e8395bd3c8bef396d1180e43a1e916eb13c7fa547017410 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T17:45:57.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T17:45:58.111Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T17:45:58.113Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [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-28T17:45:58.471Z] provisioning config files... [2023-11-28T17:45:58.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7847649523787176173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:45:58.807Z] ---> ****-login.sh [2023-11-28T17:45:58.807Z] nexus3.edgexfoundry.org:10001 [2023-11-28T17:45:58.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:58.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:58.807Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:58.807Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:58.807Z] [2023-11-28T17:45:58.807Z] Login Succeeded [2023-11-28T17:45:58.807Z] nexus3.edgexfoundry.org:10002 [2023-11-28T17:45:58.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:58.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:58.808Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:58.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:58.808Z] [2023-11-28T17:45:58.808Z] Login Succeeded [2023-11-28T17:45:58.808Z] nexus3.edgexfoundry.org:10003 [2023-11-28T17:45:59.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:59.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:59.068Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:59.068Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:59.068Z] [2023-11-28T17:45:59.068Z] Login Succeeded [2023-11-28T17:45:59.068Z] nexus3.edgexfoundry.org:10004 [2023-11-28T17:45:59.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:59.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:59.068Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:59.068Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:59.068Z] [2023-11-28T17:45:59.068Z] Login Succeeded [2023-11-28T17:45:59.068Z] ****.io [2023-11-28T17:45:59.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:45:59.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:45:59.328Z] Configure a credential helper to remove this warning. See [2023-11-28T17:45:59.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:45:59.328Z] [2023-11-28T17:45:59.328Z] Login Succeeded [2023-11-28T17:45:59.328Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T17:45:59.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T17:45:59.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T17:45:59.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T17:45:59.565Z] ========================================================= [2023-11-28T17:45:59.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T17:45:59.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:45:59.957Z] + 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-28T17:45:59.957Z] Sending build context to Docker daemon 21.85MB [2023-11-28T17:45:59.957Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T17:45:59.957Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T17:46:00.528Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T17:46:00.528Z] 7264a8db6415: Pulling fs layer [2023-11-28T17:46:00.528Z] c4d48a809fc2: Pulling fs layer [2023-11-28T17:46:00.528Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T17:46:00.528Z] ad3a456e5733: Pulling fs layer [2023-11-28T17:46:00.528Z] 69c7f0334f64: Pulling fs layer [2023-11-28T17:46:00.528Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T17:46:00.528Z] ce7588e14bc9: Pulling fs layer [2023-11-28T17:46:00.528Z] b5e4710f87ac: Pulling fs layer [2023-11-28T17:46:00.528Z] 69c7f0334f64: Waiting [2023-11-28T17:46:00.528Z] 1f1c1a5573a3: Waiting [2023-11-28T17:46:00.528Z] ce7588e14bc9: Waiting [2023-11-28T17:46:00.528Z] b5e4710f87ac: Waiting [2023-11-28T17:46:00.528Z] ad3a456e5733: Waiting [2023-11-28T17:46:00.528Z] c4d48a809fc2: Download complete [2023-11-28T17:46:00.528Z] ad3a456e5733: Verifying Checksum [2023-11-28T17:46:00.528Z] ad3a456e5733: Download complete [2023-11-28T17:46:00.528Z] 69c7f0334f64: Verifying Checksum [2023-11-28T17:46:00.528Z] 69c7f0334f64: Download complete [2023-11-28T17:46:00.789Z] 7264a8db6415: Verifying Checksum [2023-11-28T17:46:00.789Z] 7264a8db6415: Download complete [2023-11-28T17:46:00.789Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T17:46:00.789Z] 1f1c1a5573a3: Download complete [2023-11-28T17:46:01.067Z] 7264a8db6415: Pull complete [2023-11-28T17:46:01.352Z] b5e4710f87ac: Verifying Checksum [2023-11-28T17:46:01.352Z] b5e4710f87ac: Download complete [2023-11-28T17:46:01.352Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T17:46:01.352Z] 4f1c88b9dad5: Download complete [2023-11-28T17:46:01.611Z] c4d48a809fc2: Pull complete [2023-11-28T17:46:01.870Z] ce7588e14bc9: Download complete [2023-11-28T17:46:05.156Z] 4f1c88b9dad5: Pull complete [2023-11-28T17:46:05.156Z] ad3a456e5733: Pull complete [2023-11-28T17:46:05.156Z] 69c7f0334f64: Pull complete [2023-11-28T17:46:05.156Z] 1f1c1a5573a3: Pull complete [2023-11-28T17:46:07.686Z] ce7588e14bc9: Pull complete [2023-11-28T17:46:07.945Z] b5e4710f87ac: Pull complete [2023-11-28T17:46:07.945Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T17:46:07.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T17:46:07.945Z] ---> 88b5674ff536 [2023-11-28T17:46:07.945Z] Step 3/10 : ARG MAKE=make build [2023-11-28T17:46:13.373Z] Still waiting to schedule task [2023-11-28T17:46:13.373Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1552’ is offline [2023-11-28T17:46:16.152Z] ---> Running in 2ac3c5a0c9b5 [2023-11-28T17:46:16.152Z] Removing intermediate container 2ac3c5a0c9b5 [2023-11-28T17:46:16.152Z] ---> d0234bf693aa [2023-11-28T17:46:16.152Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-28T17:46:16.152Z] ---> Running in db1c5ccf1057 [2023-11-28T17:46:16.152Z] Removing intermediate container db1c5ccf1057 [2023-11-28T17:46:16.152Z] ---> 329aeaf60e36 [2023-11-28T17:46:16.152Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T17:46:16.152Z] ---> Running in 4962ebd96a08 [2023-11-28T17:46:16.412Z] Removing intermediate container 4962ebd96a08 [2023-11-28T17:46:16.412Z] ---> d5cf7b13afc6 [2023-11-28T17:46:16.412Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-28T17:46:16.412Z] ---> Running in ecb663b0f060 [2023-11-28T17:46:16.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T17:46:16.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T17:46:16.931Z] OK: 264 MiB in 52 packages [2023-11-28T17:46:17.498Z] Removing intermediate container ecb663b0f060 [2023-11-28T17:46:17.498Z] ---> bea10515f1ec [2023-11-28T17:46:17.498Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T17:46:17.498Z] ---> 56130895822c [2023-11-28T17:46:17.498Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T17:46:17.498Z] ---> Running in db8273457f4e [2023-11-28T17:47:13.817Z] Removing intermediate container db8273457f4e [2023-11-28T17:47:13.817Z] ---> c86450198c11 [2023-11-28T17:47:13.817Z] Step 9/10 : COPY . . [2023-11-28T17:47:13.817Z] ---> 19f39a9d74c1 [2023-11-28T17:47:13.817Z] Step 10/10 : RUN ${MAKE} [2023-11-28T17:47:13.817Z] ---> Running in ca3a5c651f4f [2023-11-28T17:47:13.817Z] noop [2023-11-28T17:47:13.817Z] Removing intermediate container ca3a5c651f4f [2023-11-28T17:47:13.817Z] ---> 15c0860710e1 [2023-11-28T17:47:13.817Z] Successfully built 15c0860710e1 [2023-11-28T17:47:13.817Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:47:14.213Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T17:47:14.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:47:14.336Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T17:47:14.371Z] $ 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-28T17:47:14.711Z] $ docker top f5071340f7dda86c1874ca1f091157cba157dbee53094e3ef2834b0f529f0e18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T17:47:15.102Z] + go version [2023-11-28T17:47:15.102Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T17:47:15.114Z] $ docker stop --time=1 f5071340f7dda86c1874ca1f091157cba157dbee53094e3ef2834b0f529f0e18 [2023-11-28T17:47:16.379Z] $ docker rm -f --volumes f5071340f7dda86c1874ca1f091157cba157dbee53094e3ef2834b0f529f0e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:47:16.990Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T17:47:16.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:47:17.110Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T17:47:17.145Z] $ 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-28T17:47:17.538Z] $ docker top d2d0b897e399c63ac5e10914a5741e225c818de75980b10574eae103e1d5cb36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T17:47:17.930Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-28T17:47:18.248Z] + make test [2023-11-28T17:47:18.248Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T17:47:24.821Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-28T17:47:39.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-28T17:47:39.968Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.045s coverage: 27.6% of statements [2023-11-28T17:47:40.226Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.060s coverage: 81.5% of statements [2023-11-28T17:47:40.226Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-11-28T17:47:40.226Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-28T17:47:41.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.094s coverage: 71.8% of statements [2023-11-28T17:47:41.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-28T17:47:41.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-28T17:47:41.420Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-28T17:47:44.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2023-11-28T17:47:44.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.057s coverage: 45.9% of statements [2023-11-28T17:47:44.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements [2023-11-28T17:47:44.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.122s coverage: 89.2% of statements [2023-11-28T17:47:44.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-11-28T17:48:06.828Z] GO111MODULE=on go vet ./... [2023-11-28T17:48:09.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T17:48:09.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T17:48:09.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T17:48:09.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T17:48:09.501Z] $ docker stop --time=1 d2d0b897e399c63ac5e10914a5741e225c818de75980b10574eae103e1d5cb36 [2023-11-28T17:48:14.379Z] $ docker rm -f --volumes d2d0b897e399c63ac5e10914a5741e225c818de75980b10574eae103e1d5cb36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T17:48:15.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T17:48:15.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T17:48:15.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T17:48:16.100Z] + ls -al . [2023-11-28T17:48:16.100Z] total 308 [2023-11-28T17:48:16.100Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 28 17:47 . [2023-11-28T17:48:16.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 17:45 .. [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 17:45 .dockerignore [2023-11-28T17:48:16.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 17:47 .git [2023-11-28T17:48:16.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 17:45 .github [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 17:45 .gitignore [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 17:45 .golangci.yml [2023-11-28T17:48:16.100Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 17:45 .semver [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 17:45 CHANGELOG.md [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 17:45 GOVERNANCE.md [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 17:45 Jenkinsfile [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 17:45 LICENSE [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 17:45 Makefile [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 17:45 OWNERS.md [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 17:45 README.md [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 17:45 VERSION [2023-11-28T17:48:16.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 17:45 bin [2023-11-28T17:48:16.100Z] -rw-r--r-- 1 jenkins jenkins 122154 Nov 28 17:47 coverage.out [2023-11-28T17:48:16.100Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 17:45 example [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 17:45 go.mod [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 17:45 go.sum [2023-11-28T17:48:16.100Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 17:45 internal [2023-11-28T17:48:16.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 17:45 openapi [2023-11-28T17:48:16.100Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 17:45 pkg [2023-11-28T17:48:16.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 17:45 snap [2023-11-28T17:48:16.100Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 17:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:48:16.459Z] + 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=85278c73853f3bd4b620ac341e15b8756b181622 --label arch=amd64 --label version=3.2.0-dev.1 . [2023-11-28T17:48:16.459Z] Sending build context to Docker daemon 21.97MB [2023-11-28T17:48:16.459Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T17:48:16.459Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-28T17:48:16.459Z] ---> 15c0860710e1 [2023-11-28T17:48:16.459Z] Step 3/23 : ARG MAKE=make build [2023-11-28T17:48:17.032Z] ---> Running in 049b608ea254 [2023-11-28T17:48:17.293Z] Removing intermediate container 049b608ea254 [2023-11-28T17:48:17.293Z] ---> 60b95bd8e154 [2023-11-28T17:48:17.293Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-28T17:48:17.293Z] ---> Running in 31b52becc648 [2023-11-28T17:48:17.293Z] Removing intermediate container 31b52becc648 [2023-11-28T17:48:17.293Z] ---> 76bd693b524a [2023-11-28T17:48:17.293Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T17:48:17.293Z] ---> Running in 8350870987a1 [2023-11-28T17:48:17.293Z] Removing intermediate container 8350870987a1 [2023-11-28T17:48:17.293Z] ---> 6e5b150029b1 [2023-11-28T17:48:17.293Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-28T17:48:17.293Z] ---> Running in be86591e225d [2023-11-28T17:48:17.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T17:48:17.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T17:48:17.813Z] OK: 264 MiB in 52 packages [2023-11-28T17:48:18.381Z] Removing intermediate container be86591e225d [2023-11-28T17:48:18.381Z] ---> 24274858cf8a [2023-11-28T17:48:18.381Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-28T17:48:18.381Z] ---> 0c77fe03f72d [2023-11-28T17:48:18.381Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T17:48:18.381Z] ---> Running in 63a7bb810136 [2023-11-28T17:48:18.949Z] Removing intermediate container 63a7bb810136 [2023-11-28T17:48:18.949Z] ---> 321ae794975f [2023-11-28T17:48:18.949Z] Step 9/23 : COPY . . [2023-11-28T17:48:20.336Z] ---> b5974ca53c7d [2023-11-28T17:48:20.336Z] Step 10/23 : RUN ${MAKE} [2023-11-28T17:48:20.336Z] ---> Running in 90fcb8ab35e4 [2023-11-28T17:48:20.336Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-28T17:48:47.034Z] Removing intermediate container 90fcb8ab35e4 [2023-11-28T17:48:47.034Z] ---> 7ce3a691da2e [2023-11-28T17:48:47.034Z] Step 11/23 : FROM alpine:3.18 [2023-11-28T17:48:47.034Z] 3.18: Pulling from library/alpine [2023-11-28T17:48:47.034Z] 96526aa774ef: Pulling fs layer [2023-11-28T17:48:47.034Z] 96526aa774ef: Verifying Checksum [2023-11-28T17:48:47.034Z] 96526aa774ef: Download complete [2023-11-28T17:48:47.034Z] 96526aa774ef: Pull complete [2023-11-28T17:48:47.034Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T17:48:47.034Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T17:48:47.034Z] ---> 8ca4688f4f35 [2023-11-28T17:48:47.034Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-28T17:48:47.034Z] ---> Running in d5d9fab64084 [2023-11-28T17:48:47.034Z] Removing intermediate container d5d9fab64084 [2023-11-28T17:48:47.034Z] ---> 738006e19709 [2023-11-28T17:48:47.034Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-28T17:48:47.034Z] ---> Running in 5d19f215f17a [2023-11-28T17:48:47.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T17:48:47.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T17:48:47.034Z] OK: 7 MiB in 15 packages [2023-11-28T17:48:47.034Z] Removing intermediate container 5d19f215f17a [2023-11-28T17:48:47.034Z] ---> f4454bdb1dbf [2023-11-28T17:48:47.034Z] Step 14/23 : WORKDIR / [2023-11-28T17:48:47.034Z] ---> Running in e1e6d82e61c4 [2023-11-28T17:48:47.034Z] Removing intermediate container e1e6d82e61c4 [2023-11-28T17:48:47.034Z] ---> 3ef8d363b503 [2023-11-28T17:48:47.034Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-28T17:48:47.034Z] ---> 9a72337b3360 [2023-11-28T17:48:47.034Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-28T17:48:47.034Z] ---> db92866c46c5 [2023-11-28T17:48:47.034Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-28T17:48:47.293Z] ---> dabcde417c4f [2023-11-28T17:48:47.293Z] Step 18/23 : EXPOSE 59999 [2023-11-28T17:48:47.588Z] ---> Running in 452d4977ce38 [2023-11-28T17:48:47.849Z] Removing intermediate container 452d4977ce38 [2023-11-28T17:48:47.849Z] ---> 1b1681495e15 [2023-11-28T17:48:47.849Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-28T17:48:48.109Z] ---> Running in 16fa18e58ca3 [2023-11-28T17:48:48.367Z] Removing intermediate container 16fa18e58ca3 [2023-11-28T17:48:48.367Z] ---> 846d608a99c3 [2023-11-28T17:48:48.367Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T17:48:48.367Z] ---> Running in 8c7ca0577ac1 [2023-11-28T17:48:48.941Z] Removing intermediate container 8c7ca0577ac1 [2023-11-28T17:48:48.941Z] ---> 380db2562d5e [2023-11-28T17:48:48.941Z] Step 21/23 : LABEL arch=amd64 [2023-11-28T17:48:48.941Z] ---> Running in a6b5994b268b [2023-11-28T17:48:49.514Z] Removing intermediate container a6b5994b268b [2023-11-28T17:48:49.514Z] ---> 5e77251762b2 [2023-11-28T17:48:49.514Z] Step 22/23 : LABEL git_sha=85278c73853f3bd4b620ac341e15b8756b181622 [2023-11-28T17:48:49.772Z] ---> Running in 73c30b265be6 [2023-11-28T17:48:50.058Z] Removing intermediate container 73c30b265be6 [2023-11-28T17:48:50.058Z] ---> d6046bbd1e3f [2023-11-28T17:48:50.058Z] Step 23/23 : LABEL version=3.2.0-dev.1 [2023-11-28T17:48:50.316Z] ---> Running in b84b44519582 [2023-11-28T17:48:50.575Z] Removing intermediate container b84b44519582 [2023-11-28T17:48:50.575Z] ---> 42e1e22ba887 [2023-11-28T17:48:50.575Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T17:48:50.575Z] Successfully built 42e1e22ba887 [2023-11-28T17:48:50.834Z] 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-28T17:48:51.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T17:48:51.583Z] [2023-11-28T17:48:51.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:48:51.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T17:48:52.172Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T17:48:52.172Z] 5eb5b503b376: Pulling fs layer [2023-11-28T17:48:52.172Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T17:48:52.172Z] ec43610c2a17: Pulling fs layer [2023-11-28T17:48:52.172Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T17:48:52.172Z] 33b1e0a273af: Pulling fs layer [2023-11-28T17:48:52.172Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T17:48:52.172Z] 2f39f015ded8: Pulling fs layer [2023-11-28T17:48:52.172Z] 33b1e0a273af: Waiting [2023-11-28T17:48:52.172Z] 5d3b04190fa2: Waiting [2023-11-28T17:48:52.172Z] 2f39f015ded8: Waiting [2023-11-28T17:48:52.172Z] 3a2ae6a8a46f: Waiting [2023-11-28T17:48:52.172Z] 5c69ac0246d0: Download complete [2023-11-28T17:48:52.172Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T17:48:52.172Z] 3a2ae6a8a46f: Download complete [2023-11-28T17:48:52.172Z] ec43610c2a17: Verifying Checksum [2023-11-28T17:48:52.172Z] ec43610c2a17: Download complete [2023-11-28T17:48:52.172Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T17:48:52.172Z] 5d3b04190fa2: Download complete [2023-11-28T17:48:52.172Z] 33b1e0a273af: Verifying Checksum [2023-11-28T17:48:52.172Z] 33b1e0a273af: Download complete [2023-11-28T17:48:52.450Z] 5eb5b503b376: Verifying Checksum [2023-11-28T17:48:52.450Z] 5eb5b503b376: Download complete [2023-11-28T17:48:53.016Z] 2f39f015ded8: Verifying Checksum [2023-11-28T17:48:53.016Z] 2f39f015ded8: Download complete [2023-11-28T17:48:53.951Z] 5eb5b503b376: Pull complete [2023-11-28T17:48:53.951Z] 5c69ac0246d0: Pull complete [2023-11-28T17:48:54.889Z] ec43610c2a17: Pull complete [2023-11-28T17:48:55.147Z] 3a2ae6a8a46f: Pull complete [2023-11-28T17:48:55.716Z] 33b1e0a273af: Pull complete [2023-11-28T17:48:55.716Z] 5d3b04190fa2: Pull complete [2023-11-28T17:48:56.887Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1553 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-11-28T17:48:56.927Z] Running in /w/workspace/device-sdk-go/271 [Pipeline] { [Pipeline] checkout [2023-11-28T17:48:56.984Z] The recommended git tool is: git [2023-11-28T17:48:59.898Z] 2f39f015ded8: Pull complete [2023-11-28T17:48:59.899Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T17:48:59.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T17:48:59.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:49:00.077Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T17:49:00.112Z] $ 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-28T17:49:02.803Z] using credential edgex-jenkins-ssh [2023-11-28T17:49:02.830Z] Cloning the remote Git repository [2023-11-28T17:49:02.880Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-28T17:49:02.985Z] > git init /w/workspace/device-sdk-go/271 # timeout=10 [2023-11-28T17:49:03.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-28T17:49:03.135Z] > git --version # timeout=10 [2023-11-28T17:49:03.158Z] > git --version # 'git version 2.25.1' [2023-11-28T17:49:03.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T17:49:03.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T17:49:05.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-28T17:49:05.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T17:49:05.984Z] $ docker top 425bc0e75c30c06d1d0403b97308df29c91b0934e97127ebf8d9106dcc2de66f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:49:06.425Z] ---> job-cost.sh [2023-11-28T17:49:06.425Z] lf-activate-venv: SKIPPING [2023-11-28T17:49:06.425Z] INFO: No Stack... [2023-11-28T17:49:06.564Z] Avoid second fetch [2023-11-28T17:49:06.565Z] Checking out Revision 85278c73853f3bd4b620ac341e15b8756b181622 (main) [2023-11-28T17:49:06.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T17:49:06.943Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T17:49:07.226Z] Commit message: "build: Update to latest 3.2.0 go-mods (#1543)" [2023-11-28T17:49:07.233Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-11-28T17:49:07.233Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T17:49:07.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [2023-11-28T17:49:07.252Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] did not exist. Created. [2023-11-28T17:49:07.252Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [Pipeline] { [Pipeline] unstash [2023-11-28T17:49:06.579Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T17:49:06.637Z] > git checkout -f 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 [Pipeline] sh [2023-11-28T17:49:07.668Z] + echo total: 0.2199999988079071 [2023-11-28T17:49:07.669Z] [2023-11-28T17:49:07.669Z] GitHub has been notified of this commit’s build result [2023-11-28T17:49:07.669Z] [Pipeline] stash [2023-11-28T17:49:07.725Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T17:49:07.744Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T17:49:07.781Z] $ docker stop --time=1 425bc0e75c30c06d1d0403b97308df29c91b0934e97127ebf8d9106dcc2de66f [2023-11-28T17:49:08.929Z] $ docker rm -f --volumes 425bc0e75c30c06d1d0403b97308df29c91b0934e97127ebf8d9106dcc2de66f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T17:49:09.809Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T17:49:09.809Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T17:49:09.809Z] Dload Upload Total Spent Left Speed [2023-11-28T17:49:09.809Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh [2023-11-28T17:49:10.148Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T17:49:10.486Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T17:49:10.486Z] + sudo tee /etc/docker/daemon.new [2023-11-28T17:49:10.486Z] { [2023-11-28T17:49:10.486Z] "registry-mirrors": [ [2023-11-28T17:49:10.486Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T17:49:10.486Z] ], [2023-11-28T17:49:10.486Z] "bip": "10.250.0.254/24", [2023-11-28T17:49:10.486Z] "hosts": [ [2023-11-28T17:49:10.486Z] "tcp://0.0.0.0:5555", [2023-11-28T17:49:10.486Z] "unix:///var/run/docker.sock" [2023-11-28T17:49:10.486Z] ], [2023-11-28T17:49:10.486Z] "mtu": 1458, [2023-11-28T17:49:10.486Z] "selinux-enabled": true, [2023-11-28T17:49:10.486Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T17:49:10.486Z] } [Pipeline] sh [2023-11-28T17:49:10.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T17:49:11.173Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T17:49:29.469Z] provisioning config files... [2023-11-28T17:49:29.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/271@tmp/config11556868842395447771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:49:29.946Z] ---> ****-login.sh [2023-11-28T17:49:29.946Z] nexus3.edgexfoundry.org:10001 [2023-11-28T17:49:30.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:49:30.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:49:30.800Z] Configure a credential helper to remove this warning. See [2023-11-28T17:49:30.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:49:30.800Z] [2023-11-28T17:49:30.800Z] Login Succeeded [2023-11-28T17:49:30.800Z] nexus3.edgexfoundry.org:10002 [2023-11-28T17:49:30.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:49:31.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:49:31.069Z] Configure a credential helper to remove this warning. See [2023-11-28T17:49:31.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:49:31.069Z] [2023-11-28T17:49:31.069Z] Login Succeeded [2023-11-28T17:49:31.069Z] nexus3.edgexfoundry.org:10003 [2023-11-28T17:49:31.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:49:31.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:49:31.346Z] Configure a credential helper to remove this warning. See [2023-11-28T17:49:31.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:49:31.346Z] [2023-11-28T17:49:31.346Z] Login Succeeded [2023-11-28T17:49:31.346Z] nexus3.edgexfoundry.org:10004 [2023-11-28T17:49:31.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:49:31.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:49:31.615Z] Configure a credential helper to remove this warning. See [2023-11-28T17:49:31.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:49:31.616Z] [2023-11-28T17:49:31.616Z] Login Succeeded [2023-11-28T17:49:31.616Z] ****.io [2023-11-28T17:49:31.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T17:49:32.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T17:49:32.166Z] Configure a credential helper to remove this warning. See [2023-11-28T17:49:32.166Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T17:49:32.166Z] [2023-11-28T17:49:32.166Z] Login Succeeded [2023-11-28T17:49:32.166Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T17:49:32.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T17:49:32.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T17:49:32.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T17:49:32.696Z] ========================================================= [2023-11-28T17:49:32.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T17:49:32.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:49:33.178Z] + 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-28T17:49:33.773Z] Sending build context to Docker daemon 11.32MB [2023-11-28T17:49:33.773Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T17:49:33.773Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T17:49:33.773Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T17:49:33.773Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T17:49:33.773Z] 5d54e960e981: Pulling fs layer [2023-11-28T17:49:33.773Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T17:49:33.773Z] f0e02332f6b5: Pulling fs layer [2023-11-28T17:49:33.773Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T17:49:33.773Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T17:49:33.773Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T17:49:33.773Z] f0e02332f6b5: Waiting [2023-11-28T17:49:33.773Z] 872ee5b61b7b: Waiting [2023-11-28T17:49:33.773Z] 0c6a40ed1a82: Waiting [2023-11-28T17:49:33.773Z] 94ae7d8d031c: Waiting [2023-11-28T17:49:33.773Z] 5d54e960e981: Download complete [2023-11-28T17:49:34.050Z] f0e02332f6b5: Verifying Checksum [2023-11-28T17:49:34.050Z] f0e02332f6b5: Download complete [2023-11-28T17:49:34.050Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T17:49:34.050Z] 872ee5b61b7b: Download complete [2023-11-28T17:49:34.050Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T17:49:34.050Z] 9fda8d8052c6: Download complete [2023-11-28T17:49:34.322Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T17:49:34.322Z] 94ae7d8d031c: Download complete [2023-11-28T17:49:34.910Z] 9fda8d8052c6: Pull complete [2023-11-28T17:49:35.514Z] 5d54e960e981: Pull complete [2023-11-28T17:49:35.789Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T17:49:35.789Z] c4a7e357bf2a: Download complete [2023-11-28T17:49:37.208Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T17:49:37.208Z] 0c6a40ed1a82: Download complete [2023-11-28T17:49:49.549Z] c4a7e357bf2a: Pull complete [2023-11-28T17:49:49.549Z] f0e02332f6b5: Pull complete [2023-11-28T17:49:49.549Z] 872ee5b61b7b: Pull complete [2023-11-28T17:50:01.466Z] 0c6a40ed1a82: Pull complete [2023-11-28T17:50:01.734Z] 94ae7d8d031c: Pull complete [2023-11-28T17:50:01.734Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T17:50:01.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T17:50:01.734Z] ---> 86de565de09d [2023-11-28T17:50:01.734Z] Step 3/10 : ARG MAKE=make build [2023-11-28T17:50:03.685Z] ---> Running in 28ee05e5cd88 [2023-11-28T17:50:03.685Z] Removing intermediate container 28ee05e5cd88 [2023-11-28T17:50:03.685Z] ---> 6c6995e205b4 [2023-11-28T17:50:03.685Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-28T17:50:03.685Z] ---> Running in 2617ff0850f8 [2023-11-28T17:50:04.271Z] Removing intermediate container 2617ff0850f8 [2023-11-28T17:50:04.271Z] ---> 35436a46101d [2023-11-28T17:50:04.271Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T17:50:04.271Z] ---> Running in 7251ebdcfe79 [2023-11-28T17:50:04.540Z] Removing intermediate container 7251ebdcfe79 [2023-11-28T17:50:04.540Z] ---> 7f907693188c [2023-11-28T17:50:04.540Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-28T17:50:04.540Z] ---> Running in 6fcbb0055c33 [2023-11-28T17:50:05.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T17:50:06.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T17:50:07.180Z] OK: 266 MiB in 52 packages [2023-11-28T17:50:08.148Z] Removing intermediate container 6fcbb0055c33 [2023-11-28T17:50:08.148Z] ---> cb348f0c85a6 [2023-11-28T17:50:08.148Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T17:50:08.417Z] ---> 447eb781addc [2023-11-28T17:50:08.417Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T17:50:08.691Z] ---> Running in 9c0b9f6e6c8e [2023-11-28T17:51:30.371Z] Removing intermediate container 9c0b9f6e6c8e [2023-11-28T17:51:30.371Z] ---> d70f10916cbe [2023-11-28T17:51:30.371Z] Step 9/10 : COPY . . [2023-11-28T17:51:30.371Z] ---> 62cd19cd0bdb [2023-11-28T17:51:30.371Z] Step 10/10 : RUN ${MAKE} [2023-11-28T17:51:30.371Z] ---> Running in 5f6fb07c1572 [2023-11-28T17:51:30.371Z] noop [2023-11-28T17:51:30.371Z] Removing intermediate container 5f6fb07c1572 [2023-11-28T17:51:30.371Z] ---> cfc6109aa06c [2023-11-28T17:51:30.371Z] Successfully built cfc6109aa06c [2023-11-28T17:51:30.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:51:30.826Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T17:51:30.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:51:31.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-1553 does not seem to be running inside a container [2023-11-28T17:51:31.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/271 -v /w/workspace/device-sdk-go/271:/w/workspace/device-sdk-go/271:rw,z -v /w/workspace/device-sdk-go/271@tmp:/w/workspace/device-sdk-go/271@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-arm64 cat [2023-11-28T17:51:32.487Z] $ docker top f87de175b929795d260d024d9d0d1dfbb521e9342559bd0f749a7f052569f912 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T17:51:33.431Z] + go version [2023-11-28T17:51:33.431Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T17:51:33.472Z] $ docker stop --time=1 f87de175b929795d260d024d9d0d1dfbb521e9342559bd0f749a7f052569f912 [2023-11-28T17:51:35.110Z] $ docker rm -f --volumes f87de175b929795d260d024d9d0d1dfbb521e9342559bd0f749a7f052569f912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:51:35.941Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T17:51:35.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:51:36.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-1553 does not seem to be running inside a container [2023-11-28T17:51:36.251Z] $ 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/271 -v /w/workspace/device-sdk-go/271:/w/workspace/device-sdk-go/271:rw,z -v /w/workspace/device-sdk-go/271@tmp:/w/workspace/device-sdk-go/271@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-arm64 cat [2023-11-28T17:51:37.424Z] $ docker top c5936cae52f972f74af6eb4587b763f9b19ce459b618cedf7c60643bfe1f17d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T17:51:37.993Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/271 [Pipeline] fileExists [Pipeline] sh [2023-11-28T17:51:38.943Z] + make test [2023-11-28T17:51:38.943Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T17:52:17.830Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-28T17:54:11.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-28T17:54:11.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-28T17:54:11.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-28T17:54:11.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-28T17:54:11.022Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-28T17:54:14.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.213s coverage: 27.6% of statements [2023-11-28T17:54:22.710Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.275s coverage: 81.5% of statements [2023-11-28T17:54:30.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-28T17:54:30.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-28T17:54:32.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.499s coverage: 86.0% of statements [2023-11-28T17:54:37.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-28T17:54:39.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.437s coverage: 71.8% of statements [2023-11-28T17:54:42.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.333s coverage: 14.4% of statements [2023-11-28T17:54:42.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.154s coverage: 45.9% of statements [2023-11-28T17:54:42.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-28T17:54:42.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-28T17:54:44.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.391s coverage: 68.5% of statements [2023-11-28T17:54:47.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.418s coverage: 89.2% of statements [2023-11-28T17:54:47.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-28T17:54:49.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.250s coverage: 5.5% of statements [2023-11-28T17:54:49.960Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T17:54:49.960Z] GO111MODULE=on go vet ./... [2023-11-28T17:56:41.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T17:56:41.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T17:56:41.658Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T17:56:41.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T17:56:42.008Z] $ docker stop --time=1 c5936cae52f972f74af6eb4587b763f9b19ce459b618cedf7c60643bfe1f17d0 [2023-11-28T17:56:43.972Z] $ docker rm -f --volumes c5936cae52f972f74af6eb4587b763f9b19ce459b618cedf7c60643bfe1f17d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T17:56:45.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T17:56:45.679Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T17:56:46.185Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T17:56:46.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T17:56:47.081Z] + ls -al . [2023-11-28T17:56:47.081Z] total 304 [2023-11-28T17:56:47.081Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 17:51 . [2023-11-28T17:56:47.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 17:49 .. [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 17:49 .dockerignore [2023-11-28T17:56:47.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 17:49 .git [2023-11-28T17:56:47.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 17:49 .github [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 17:49 .gitignore [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 17:49 .golangci.yml [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 17:49 CHANGELOG.md [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 17:49 GOVERNANCE.md [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 17:49 Jenkinsfile [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 17:49 LICENSE [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 17:49 Makefile [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 17:49 OWNERS.md [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 17:49 README.md [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 17:45 VERSION [2023-11-28T17:56:47.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 17:49 bin [2023-11-28T17:56:47.081Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 28 17:54 coverage.out [2023-11-28T17:56:47.081Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 17:49 example [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 17:49 go.mod [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 17:49 go.sum [2023-11-28T17:56:47.081Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 17:49 internal [2023-11-28T17:56:47.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 17:49 openapi [2023-11-28T17:56:47.081Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 17:49 pkg [2023-11-28T17:56:47.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 17:49 snap [2023-11-28T17:56:47.081Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:56:47.518Z] + 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=85278c73853f3bd4b620ac341e15b8756b181622 --label arch=arm64 --label version=3.2.0-dev.1 . [2023-11-28T17:56:48.108Z] Sending build context to Docker daemon 11.44MB [2023-11-28T17:56:48.108Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T17:56:48.108Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-28T17:56:48.108Z] ---> cfc6109aa06c [2023-11-28T17:56:48.108Z] Step 3/23 : ARG MAKE=make build [2023-11-28T17:56:48.108Z] ---> Running in 4c92d195d2f7 [2023-11-28T17:56:48.376Z] Removing intermediate container 4c92d195d2f7 [2023-11-28T17:56:48.376Z] ---> 68e8516354bd [2023-11-28T17:56:48.376Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-28T17:56:48.644Z] ---> Running in e83f1544e350 [2023-11-28T17:56:48.911Z] Removing intermediate container e83f1544e350 [2023-11-28T17:56:48.911Z] ---> ece297eb7393 [2023-11-28T17:56:48.912Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T17:56:48.912Z] ---> Running in 099faf318373 [2023-11-28T17:56:49.182Z] Removing intermediate container 099faf318373 [2023-11-28T17:56:49.182Z] ---> d2c7e0d33450 [2023-11-28T17:56:49.182Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-28T17:56:49.519Z] ---> Running in d79d7c8c0d18 [2023-11-28T17:56:50.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T17:56:50.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T17:56:52.166Z] OK: 266 MiB in 52 packages [2023-11-28T17:56:52.756Z] Removing intermediate container d79d7c8c0d18 [2023-11-28T17:56:52.756Z] ---> 6f7498b3c789 [2023-11-28T17:56:52.756Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-28T17:56:53.023Z] ---> 63811aec2aff [2023-11-28T17:56:53.023Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T17:56:53.290Z] ---> Running in eac1651f4dbb [2023-11-28T17:56:55.233Z] Removing intermediate container eac1651f4dbb [2023-11-28T17:56:55.233Z] ---> be31c7b5aa5b [2023-11-28T17:56:55.233Z] Step 9/23 : COPY . . [2023-11-28T17:56:56.658Z] ---> ba32444af6d0 [2023-11-28T17:56:56.658Z] Step 10/23 : RUN ${MAKE} [2023-11-28T17:56:56.658Z] ---> Running in d7c76f38585f [2023-11-28T17:56:57.620Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-28T17:58:49.287Z] Removing intermediate container d7c76f38585f [2023-11-28T17:58:49.287Z] ---> 841bdfcb2ea5 [2023-11-28T17:58:49.287Z] Step 11/23 : FROM alpine:3.18 [2023-11-28T17:58:49.287Z] 3.18: Pulling from library/alpine [2023-11-28T17:58:49.287Z] 579b34f0a95b: Pulling fs layer [2023-11-28T17:58:49.287Z] 579b34f0a95b: Verifying Checksum [2023-11-28T17:58:49.287Z] 579b34f0a95b: Download complete [2023-11-28T17:58:49.287Z] 579b34f0a95b: Pull complete [2023-11-28T17:58:49.287Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T17:58:49.287Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T17:58:49.287Z] ---> 3cc203321400 [2023-11-28T17:58:49.287Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-28T17:58:49.287Z] ---> Running in 17567d26d233 [2023-11-28T17:58:49.287Z] Removing intermediate container 17567d26d233 [2023-11-28T17:58:49.287Z] ---> d44118ca2b63 [2023-11-28T17:58:49.287Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-28T17:58:49.287Z] ---> Running in 7f500975c492 [2023-11-28T17:58:49.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T17:58:49.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T17:58:49.287Z] OK: 8 MiB in 15 packages [2023-11-28T17:58:49.287Z] Removing intermediate container 7f500975c492 [2023-11-28T17:58:49.287Z] ---> 493b1d1fc6ef [2023-11-28T17:58:49.287Z] Step 14/23 : WORKDIR / [2023-11-28T17:58:49.287Z] ---> Running in 75da11f9c1dc [2023-11-28T17:58:49.287Z] Removing intermediate container 75da11f9c1dc [2023-11-28T17:58:49.287Z] ---> 41bdb100e863 [2023-11-28T17:58:49.287Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-28T17:58:49.287Z] ---> 353de532d7b7 [2023-11-28T17:58:49.287Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-28T17:58:49.287Z] ---> 07b74108940d [2023-11-28T17:58:49.287Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-28T17:58:49.287Z] ---> 49e97c5ba949 [2023-11-28T17:58:49.287Z] Step 18/23 : EXPOSE 59999 [2023-11-28T17:58:49.287Z] ---> Running in 35dbf1f311e5 [2023-11-28T17:58:49.287Z] Removing intermediate container 35dbf1f311e5 [2023-11-28T17:58:49.287Z] ---> 46f603ae5f76 [2023-11-28T17:58:49.287Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-28T17:58:49.287Z] ---> Running in ae7df4577b36 [2023-11-28T17:58:49.553Z] Removing intermediate container ae7df4577b36 [2023-11-28T17:58:49.553Z] ---> 7b7b95d21524 [2023-11-28T17:58:49.553Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T17:58:49.553Z] ---> Running in aa1d8d040287 [2023-11-28T17:58:49.820Z] Removing intermediate container aa1d8d040287 [2023-11-28T17:58:49.820Z] ---> d1519f5ae833 [2023-11-28T17:58:49.820Z] Step 21/23 : LABEL arch=arm64 [2023-11-28T17:58:49.820Z] ---> Running in 50ac8af1d726 [2023-11-28T17:58:50.088Z] Removing intermediate container 50ac8af1d726 [2023-11-28T17:58:50.088Z] ---> 2ec792842c1c [2023-11-28T17:58:50.088Z] Step 22/23 : LABEL git_sha=85278c73853f3bd4b620ac341e15b8756b181622 [2023-11-28T17:58:50.353Z] ---> Running in 41b3fe1e974f [2023-11-28T17:58:50.619Z] Removing intermediate container 41b3fe1e974f [2023-11-28T17:58:50.619Z] ---> 63eaa43afcfe [2023-11-28T17:58:50.619Z] Step 23/23 : LABEL version=3.2.0-dev.1 [2023-11-28T17:58:50.619Z] ---> Running in 92d3a34d9ffd [2023-11-28T17:58:50.884Z] Removing intermediate container 92d3a34d9ffd [2023-11-28T17:58:50.884Z] ---> 010adf9f113c [2023-11-28T17:58:50.884Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T17:58:50.884Z] Successfully built 010adf9f113c [2023-11-28T17:58:50.884Z] 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-28T17:58:51.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T17:58:51.691Z] [2023-11-28T17:58:51.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:58:52.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T17:58:52.060Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T17:58:52.060Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T17:58:52.060Z] 04944245beec: Pulling fs layer [2023-11-28T17:58:52.060Z] 699f458cf7ca: Pulling fs layer [2023-11-28T17:58:52.060Z] 765212b225bb: Pulling fs layer [2023-11-28T17:58:52.060Z] f23df028b6ca: Pulling fs layer [2023-11-28T17:58:52.060Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T17:58:52.060Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T17:58:52.060Z] f23df028b6ca: Waiting [2023-11-28T17:58:52.060Z] d65c8cfc05b1: Waiting [2023-11-28T17:58:52.060Z] 2437ff75d9bd: Waiting [2023-11-28T17:58:52.060Z] 765212b225bb: Waiting [2023-11-28T17:58:52.326Z] 04944245beec: Verifying Checksum [2023-11-28T17:58:52.326Z] 04944245beec: Download complete [2023-11-28T17:58:52.326Z] 765212b225bb: Verifying Checksum [2023-11-28T17:58:52.326Z] 765212b225bb: Download complete [2023-11-28T17:58:52.326Z] f23df028b6ca: Verifying Checksum [2023-11-28T17:58:52.326Z] f23df028b6ca: Download complete [2023-11-28T17:58:52.326Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T17:58:52.326Z] d65c8cfc05b1: Download complete [2023-11-28T17:58:52.593Z] 699f458cf7ca: Verifying Checksum [2023-11-28T17:58:52.593Z] 699f458cf7ca: Download complete [2023-11-28T17:58:52.860Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T17:58:52.860Z] 8998bd30e6a1: Download complete [2023-11-28T17:58:55.560Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T17:58:55.560Z] 2437ff75d9bd: Download complete [2023-11-28T17:59:00.964Z] 8998bd30e6a1: Pull complete [2023-11-28T17:59:00.964Z] 04944245beec: Pull complete [2023-11-28T17:59:02.905Z] 699f458cf7ca: Pull complete [2023-11-28T17:59:02.905Z] 765212b225bb: Pull complete [2023-11-28T17:59:03.864Z] f23df028b6ca: Pull complete [2023-11-28T17:59:03.864Z] d65c8cfc05b1: Pull complete [2023-11-28T17:59:22.079Z] 2437ff75d9bd: Pull complete [2023-11-28T17:59:22.079Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T17:59:22.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T17:59:22.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:59:22.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-1553 does not seem to be running inside a container [2023-11-28T17:59:22.487Z] $ 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/271 -v /w/workspace/device-sdk-go/271:/w/workspace/device-sdk-go/271:rw,z -v /w/workspace/device-sdk-go/271@tmp:/w/workspace/device-sdk-go/271@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:arm64 cat [2023-11-28T17:59:25.052Z] $ docker top 24d6cfd3d5ab0be9c2ff414ad1dce8a053a2812c78f078b8dfad3623a431342d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T17:59:25.649Z] ---> job-cost.sh [2023-11-28T17:59:25.919Z] lf-activate-venv: SKIPPING [2023-11-28T17:59:25.919Z] INFO: No Stack... [2023-11-28T17:59:26.500Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T17:59:27.082Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T17:59:27.717Z] + cat /w/workspace/device-sdk-go/271/archives/cost.csv [2023-11-28T17:59:27.717Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T17:59:27.777Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [2023-11-28T17:59:27.783Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] did not exist. Created. [2023-11-28T17:59:27.783Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T17:59:28.508Z] /w/workspace/device-sdk-go/271@tmp/durable-cb3ceb6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T17:59:28.837Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T17:59:28.896Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T17:59:28.972Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T17:59:28.979Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-271-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T17:59:29.075Z] $ docker stop --time=1 24d6cfd3d5ab0be9c2ff414ad1dce8a053a2812c78f078b8dfad3623a431342d [2023-11-28T17:59:30.603Z] $ docker rm -f --volumes 24d6cfd3d5ab0be9c2ff414ad1dce8a053a2812c78f078b8dfad3623a431342d [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-28T17:59:31.791Z] provisioning config files... [2023-11-28T17:59:31.797Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4572825982577651634tmp [Pipeline] { [Pipeline] sh [2023-11-28T17:59:32.155Z] + set +x [2023-11-28T17:59:32.156Z] + curl -s https://codecov.io/bash+ [2023-11-28T17:59:32.156Z] bash -s -- [2023-11-28T17:59:32.156Z] [2023-11-28T17:59:32.156Z] _____ _ [2023-11-28T17:59:32.156Z] / ____| | | [2023-11-28T17:59:32.156Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T17:59:32.156Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T17:59:32.156Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T17:59:32.156Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T17:59:32.156Z] Bash-1.0.6 [2023-11-28T17:59:32.156Z] [2023-11-28T17:59:32.156Z] [2023-11-28T17:59:32.156Z] ==> git version 2.25.1 found [2023-11-28T17:59:32.156Z] ==> 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-28T17:59:32.156Z] Release-Date: 2020-01-08 [2023-11-28T17:59:32.156Z] 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-28T17:59:32.156Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T17:59:32.156Z] ==> Jenkins CI detected. [2023-11-28T17:59:32.156Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-28T17:59:32.156Z] project root: . [2023-11-28T17:59:32.156Z] --> token set from env [2023-11-28T17:59:32.156Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T17:59:32.156Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T17:59:32.156Z] ==> Python coveragepy not found [2023-11-28T17:59:32.156Z] ==> Searching for coverage reports in: [2023-11-28T17:59:32.156Z] + . [2023-11-28T17:59:32.156Z] -> Found 1 reports [2023-11-28T17:59:32.156Z] ==> Detecting git/mercurial file structure [2023-11-28T17:59:32.156Z] ==> Reading reports [2023-11-28T17:59:32.156Z] + ./coverage.out bytes=122153 [2023-11-28T17:59:32.156Z] ==> Appending adjustments [2023-11-28T17:59:32.156Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T17:59:32.416Z] + Found adjustments [2023-11-28T17:59:32.416Z] ==> Gzipping contents [2023-11-28T17:59:32.676Z] 20K /tmp/codecov.mDtgFt.gz [2023-11-28T17:59:32.676Z] ==> Uploading reports [2023-11-28T17:59:32.676Z] url: https://codecov.io [2023-11-28T17:59:32.676Z] query: branch=main&commit=85278c73853f3bd4b620ac341e15b8756b181622&build=271&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F271%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-28T17:59:32.676Z] -> Pinging Codecov [2023-11-28T17:59:32.676Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=85278c73853f3bd4b620ac341e15b8756b181622&build=271&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F271%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-28T17:59:32.676Z] -> Uploading to [2023-11-28T17:59:32.676Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/7E55EF52A471D76F132DFD9A03CDDE97/85278c73853f3bd4b620ac341e15b8756b181622/1bd96d3d-45ad-4595-b201-ad079373e175.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T175932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47f0a1493658dde01fcdcb4536ae71dfcbaf6f108e81e3480cc2434f0ba1bbeb [2023-11-28T17:59:32.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T17:59:32.676Z] Dload Upload Total Spent Left Speed [2023-11-28T17:59:32.936Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 60454 --:--:-- --:--:-- --:--:-- 60454 [2023-11-28T17:59:32.936Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] } [2023-11-28T17:59:32.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-28T17:59:33.243Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-28T17:59:33.253Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T17:59:33.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T17:59:33.671Z] [2023-11-28T17:59:33.671Z] 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-28T17:59:34.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T17:59:34.011Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-28T17:59:34.011Z] df9b9388f04a: Pulling fs layer [2023-11-28T17:59:34.011Z] 52dc419b0ee2: Pulling fs layer [2023-11-28T17:59:34.011Z] 25bc292e5bac: Pulling fs layer [2023-11-28T17:59:34.011Z] 114826534d7a: Pulling fs layer [2023-11-28T17:59:34.011Z] 4657fd5d0bcf: Pulling fs layer [2023-11-28T17:59:34.011Z] 6ad1cebc031e: Pulling fs layer [2023-11-28T17:59:34.011Z] 8a3aa393b2d8: Pulling fs layer [2023-11-28T17:59:34.011Z] 114826534d7a: Waiting [2023-11-28T17:59:34.011Z] 6ad1cebc031e: Waiting [2023-11-28T17:59:34.011Z] 8a3aa393b2d8: Waiting [2023-11-28T17:59:34.011Z] 4657fd5d0bcf: Waiting [2023-11-28T17:59:34.011Z] 25bc292e5bac: Download complete [2023-11-28T17:59:34.011Z] 52dc419b0ee2: Verifying Checksum [2023-11-28T17:59:34.011Z] 52dc419b0ee2: Download complete [2023-11-28T17:59:34.011Z] 4657fd5d0bcf: Verifying Checksum [2023-11-28T17:59:34.011Z] 4657fd5d0bcf: Download complete [2023-11-28T17:59:34.011Z] df9b9388f04a: Download complete [2023-11-28T17:59:34.270Z] 6ad1cebc031e: Verifying Checksum [2023-11-28T17:59:34.270Z] 6ad1cebc031e: Download complete [2023-11-28T17:59:34.270Z] df9b9388f04a: Pull complete [2023-11-28T17:59:34.270Z] 52dc419b0ee2: Pull complete [2023-11-28T17:59:34.270Z] 25bc292e5bac: Pull complete [2023-11-28T17:59:34.840Z] 114826534d7a: Verifying Checksum [2023-11-28T17:59:34.840Z] 114826534d7a: Download complete [2023-11-28T17:59:34.840Z] 8a3aa393b2d8: Verifying Checksum [2023-11-28T17:59:34.840Z] 8a3aa393b2d8: Download complete [2023-11-28T17:59:38.123Z] 114826534d7a: Pull complete [2023-11-28T17:59:38.123Z] 4657fd5d0bcf: Pull complete [2023-11-28T17:59:38.383Z] 6ad1cebc031e: Pull complete [2023-11-28T17:59:40.986Z] 8a3aa393b2d8: Pull complete [2023-11-28T17:59:40.986Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-28T17:59:40.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-28T17:59:40.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T17:59:41.247Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T17:59:41.268Z] $ 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-28T17:59:47.494Z] $ docker top bb374c8ffae50c83ae24a6adcd4ca6f2b977877cc129333d649c7e452179f4c1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-28T17:59:47.649Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-11-28T17:59:47.925Z] + set -o pipefail [2023-11-28T17:59:47.925Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-11-28T17:59:53.196Z] [2023-11-28T17:59:53.196Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-28T17:59:53.196Z] [2023-11-28T17:59:53.196Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/047355f0-ac19-4abc-93aa-7951f00e823b [2023-11-28T17:59:53.196Z] [2023-11-28T17:59:53.196Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-28T17:59:53.196Z] [2023-11-28T17:59:53.455Z] [2023-11-28T17:59:53.455Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-28T17:59:53.455Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-28T17:59:53.455Z] More details here: https://snyk.co/ue1NS [2023-11-28T17:59:53.455Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-28T17:59:53.455Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-28T17:59:53.462Z] $ docker stop --time=1 bb374c8ffae50c83ae24a6adcd4ca6f2b977877cc129333d649c7e452179f4c1 [2023-11-28T17:59:58.904Z] $ docker rm -f --volumes bb374c8ffae50c83ae24a6adcd4ca6f2b977877cc129333d649c7e452179f4c1 [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-28T17:59:59.674Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T17:59:59.719Z] provisioning config files... [2023-11-28T17:59:59.731Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2622226100860827770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:00.100Z] --> edgex-publish-swagger.sh [2023-11-28T18:00:00.100Z] === Publish openapi/v3 API === [2023-11-28T18:00:00.100Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-28T18:00:00.100Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-11-28T18:00:00.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T18:00:00.100Z] Dload Upload Total Spent Left Speed [2023-11-28T18:00:00.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 380 50050 --:--:-- --:--:-- --:--:-- 50324 100 23854 100 180 100 23674 380 50050 --:--:-- --:--:-- --:--:-- 50324 [2023-11-28T18:00:00.361Z] {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} [2023-11-28T18:00:00.361Z] [Pipeline] } [2023-11-28T18:00:00.368Z] 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-28T18:00:01.177Z] + git log --format=format:%s -1 85278c73853f3bd4b620ac341e15b8756b181622 [Pipeline] sh [2023-11-28T18:00:01.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:00:01.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:01.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:00:01.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:00:01.997Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T18:00:02.020Z] $ 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-28T18:00:02.648Z] $ docker top bb193e5f15060201af19ceda61a113905c82ea47b0f74fab82acad3176071b43 -eo pid,comm [2023-11-28T18:00:02.702Z] 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-28T18:00:02.702Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:00:02.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:00:02.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:00:02.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:00:02.967Z] $ docker exec bb193e5f15060201af19ceda61a113905c82ea47b0f74fab82acad3176071b43 ssh-agent [2023-11-28T18:00:03.076Z] SSH_AUTH_SOCK=/tmp/ssh-PemRSdKLnv9E/agent.33 [2023-11-28T18:00:03.076Z] SSH_AGENT_PID=39 [2023-11-28T18:00:03.080Z] Running ssh-add (command line suppressed) [2023-11-28T18:00:03.171Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5596658008742916589.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5596658008742916589.key) [2023-11-28T18:00:03.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:00:03.522Z] + git semver tag [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,677 [run_tag] DEBUG tag force:False [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,677 [check_head_tag] DEBUG check head tag [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,678 [execute] INFO git cat-file --batch-check [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,682 [execute] INFO git cat-file --batch [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,707 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,707 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,707 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:00:03.783Z] 2023-11-28 18:00:03,712 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:03.783Z] 3.2.0-dev.1 [Pipeline] } [2023-11-28T18:00:03.786Z] $ docker exec --env ******** --env ******** bb193e5f15060201af19ceda61a113905c82ea47b0f74fab82acad3176071b43 ssh-agent -k [2023-11-28T18:00:03.910Z] unset SSH_AUTH_SOCK; [2023-11-28T18:00:03.910Z] unset SSH_AGENT_PID; [2023-11-28T18:00:03.911Z] echo Agent pid 39 killed; [2023-11-28T18:00:03.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:00:04.416Z] + git semver [Pipeline] } [2023-11-28T18:00:04.683Z] $ docker stop --time=1 bb193e5f15060201af19ceda61a113905c82ea47b0f74fab82acad3176071b43 [2023-11-28T18:00:06.028Z] $ docker rm -f --volumes bb193e5f15060201af19ceda61a113905c82ea47b0f74fab82acad3176071b43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:06.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T18:00:06.643Z] [2023-11-28T18:00:06.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:06.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T18:00:06.981Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-28T18:00:06.981Z] ab5ef0e58194: Pulling fs layer [2023-11-28T18:00:06.981Z] 9712f1f96733: Pulling fs layer [2023-11-28T18:00:06.981Z] 63f879dbbcfc: Pulling fs layer [2023-11-28T18:00:06.981Z] 0d9ebad4ef96: Pulling fs layer [2023-11-28T18:00:06.981Z] e9a5061849ea: Pulling fs layer [2023-11-28T18:00:06.981Z] 0d9ebad4ef96: Waiting [2023-11-28T18:00:06.981Z] d747dcd14b5f: Pulling fs layer [2023-11-28T18:00:06.981Z] 2de7ff778b66: Pulling fs layer [2023-11-28T18:00:06.981Z] e9a5061849ea: Waiting [2023-11-28T18:00:06.981Z] 2de7ff778b66: Waiting [2023-11-28T18:00:06.981Z] 9712f1f96733: Verifying Checksum [2023-11-28T18:00:06.981Z] 9712f1f96733: Download complete [2023-11-28T18:00:07.243Z] 63f879dbbcfc: Verifying Checksum [2023-11-28T18:00:07.243Z] 63f879dbbcfc: Download complete [2023-11-28T18:00:07.512Z] 0d9ebad4ef96: Verifying Checksum [2023-11-28T18:00:07.512Z] 0d9ebad4ef96: Download complete [2023-11-28T18:00:07.512Z] e9a5061849ea: Verifying Checksum [2023-11-28T18:00:07.512Z] e9a5061849ea: Download complete [2023-11-28T18:00:07.512Z] d747dcd14b5f: Download complete [2023-11-28T18:00:07.512Z] ab5ef0e58194: Verifying Checksum [2023-11-28T18:00:07.512Z] ab5ef0e58194: Download complete [2023-11-28T18:00:07.770Z] 2de7ff778b66: Verifying Checksum [2023-11-28T18:00:07.770Z] 2de7ff778b66: Download complete [2023-11-28T18:00:10.302Z] ab5ef0e58194: Pull complete [2023-11-28T18:00:10.302Z] 9712f1f96733: Pull complete [2023-11-28T18:00:11.235Z] 63f879dbbcfc: Pull complete [2023-11-28T18:00:15.420Z] 0d9ebad4ef96: Pull complete [2023-11-28T18:00:15.420Z] e9a5061849ea: Pull complete [2023-11-28T18:00:15.420Z] d747dcd14b5f: Pull complete [2023-11-28T18:00:16.356Z] 2de7ff778b66: Pull complete [2023-11-28T18:00:16.356Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-28T18:00:16.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-28T18:00:16.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:00:16.617Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T18:00:16.638Z] $ 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-28T18:00:24.043Z] $ docker top a53d5932a6c7cd755ba3f39dbcc488a3b015211bfbb969096fe6ffa424cd8e65 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:00:24.210Z] provisioning config files... [2023-11-28T18:00:24.219Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config871146000990357250tmp [2023-11-28T18:00:24.229Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16932833855694543314tmp [2023-11-28T18:00:24.256Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4198564884549901094tmp [Pipeline] { [Pipeline] echo [2023-11-28T18:00:24.326Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:24.629Z] ---> sigul-configuration.sh [2023-11-28T18:00:24.629Z] gpg: directory `/root/.gnupg' created [2023-11-28T18:00:24.629Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-28T18:00:24.629Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-28T18:00:24.629Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-28T18:00:24.629Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-28T18:00:24.629Z] gpg: CAST5 encrypted data [2023-11-28T18:00:24.629Z] gpg: encrypted with 1 passphrase [2023-11-28T18:00:24.629Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-28T18:00:24.928Z] + mkdir /home/jenkins [2023-11-28T18:00:24.928Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-28T18:00:25.232Z] + 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-28T18:00:25.245Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:25.549Z] ---> sigul-install.sh [2023-11-28T18:00:25.549Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-28T18:00:25.843Z] + git tag --list [2023-11-28T18:00:25.843Z] 0.7.1 [2023-11-28T18:00:25.843Z] delhi-tag [2023-11-28T18:00:25.843Z] v1.0.0 [2023-11-28T18:00:25.843Z] v1.1.0 [2023-11-28T18:00:25.843Z] v1.1.1 [2023-11-28T18:00:25.843Z] v1.1.2 [2023-11-28T18:00:25.843Z] v1.2.0 [2023-11-28T18:00:25.843Z] v1.2.1 [2023-11-28T18:00:25.843Z] v1.2.2 [2023-11-28T18:00:25.843Z] v1.2.3 [2023-11-28T18:00:25.843Z] v1.3.0 [2023-11-28T18:00:25.843Z] v1.4.0 [2023-11-28T18:00:25.843Z] v2.0.0 [2023-11-28T18:00:25.843Z] v2.1.0 [2023-11-28T18:00:25.843Z] v2.1.1 [2023-11-28T18:00:25.843Z] v2.2.0 [2023-11-28T18:00:25.843Z] v2.3.0 [2023-11-28T18:00:25.843Z] v2.3.1 [2023-11-28T18:00:25.843Z] v3.0 [2023-11-28T18:00:25.843Z] v3.0.0 [2023-11-28T18:00:25.843Z] v3.0.1-dev.1 [2023-11-28T18:00:25.843Z] v3.1 [2023-11-28T18:00:25.843Z] v3.1.0 [2023-11-28T18:00:25.843Z] v3.1.0-dev.1 [2023-11-28T18:00:25.843Z] v3.1.0-dev.10 [2023-11-28T18:00:25.843Z] v3.1.0-dev.11 [2023-11-28T18:00:25.843Z] v3.1.0-dev.12 [2023-11-28T18:00:25.843Z] v3.1.0-dev.13 [2023-11-28T18:00:25.843Z] v3.1.0-dev.14 [2023-11-28T18:00:25.843Z] v3.1.0-dev.15 [2023-11-28T18:00:25.843Z] v3.1.0-dev.16 [2023-11-28T18:00:25.843Z] v3.1.0-dev.17 [2023-11-28T18:00:25.843Z] v3.1.0-dev.18 [2023-11-28T18:00:25.843Z] v3.1.0-dev.19 [2023-11-28T18:00:25.843Z] v3.1.0-dev.2 [2023-11-28T18:00:25.843Z] v3.1.0-dev.20 [2023-11-28T18:00:25.843Z] v3.1.0-dev.21 [2023-11-28T18:00:25.843Z] v3.1.0-dev.22 [2023-11-28T18:00:25.843Z] v3.1.0-dev.23 [2023-11-28T18:00:25.843Z] v3.1.0-dev.24 [2023-11-28T18:00:25.843Z] v3.1.0-dev.25 [2023-11-28T18:00:25.843Z] v3.1.0-dev.26 [2023-11-28T18:00:25.843Z] v3.1.0-dev.27 [2023-11-28T18:00:25.843Z] v3.1.0-dev.28 [2023-11-28T18:00:25.843Z] v3.1.0-dev.29 [2023-11-28T18:00:25.843Z] v3.1.0-dev.3 [2023-11-28T18:00:25.843Z] v3.1.0-dev.30 [2023-11-28T18:00:25.843Z] v3.1.0-dev.31 [2023-11-28T18:00:25.843Z] v3.1.0-dev.32 [2023-11-28T18:00:25.843Z] v3.1.0-dev.33 [2023-11-28T18:00:25.843Z] v3.1.0-dev.34 [2023-11-28T18:00:25.843Z] v3.1.0-dev.35 [2023-11-28T18:00:25.843Z] v3.1.0-dev.36 [2023-11-28T18:00:25.843Z] v3.1.0-dev.37 [2023-11-28T18:00:25.843Z] v3.1.0-dev.38 [2023-11-28T18:00:25.843Z] v3.1.0-dev.39 [2023-11-28T18:00:25.843Z] v3.1.0-dev.4 [2023-11-28T18:00:25.843Z] v3.1.0-dev.40 [2023-11-28T18:00:25.843Z] v3.1.0-dev.41 [2023-11-28T18:00:25.843Z] v3.1.0-dev.5 [2023-11-28T18:00:25.843Z] v3.1.0-dev.6 [2023-11-28T18:00:25.843Z] v3.1.0-dev.7 [2023-11-28T18:00:25.843Z] v3.1.0-dev.8 [2023-11-28T18:00:25.843Z] v3.1.0-dev.9 [2023-11-28T18:00:25.843Z] v3.2.0-dev.1 [Pipeline] sh [2023-11-28T18:00:26.151Z] + lftools sign git-tag v3.2.0-dev.1 [2023-11-28T18:00:28.401Z] Signing Git tag with Sigul... [2023-11-28T18:00:28.401Z] Signing v3.2.0-dev.1 [Pipeline] echo [2023-11-28T18:00:28.416Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:33.622Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-28T18:00:33.629Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-28T18:00:35.748Z] $ docker stop --time=1 a53d5932a6c7cd755ba3f39dbcc488a3b015211bfbb969096fe6ffa424cd8e65 [2023-11-28T18:00:37.122Z] $ docker rm -f --volumes a53d5932a6c7cd755ba3f39dbcc488a3b015211bfbb969096fe6ffa424cd8e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-28T18:00:41.611Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:00:41.611Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:42.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:00:42.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:00:42.534Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T18:00:42.557Z] $ 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-28T18:00:42.900Z] $ docker top fdf02905c1d3f42b4113b2c6c9902621a7737d7ab7f827e0aab9f95e6d0c9d47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:00:43.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:00:43.119Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:00:43.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:00:43.218Z] $ docker exec fdf02905c1d3f42b4113b2c6c9902621a7737d7ab7f827e0aab9f95e6d0c9d47 ssh-agent [2023-11-28T18:00:43.331Z] SSH_AUTH_SOCK=/tmp/ssh-IO58oGkunf8E/agent.32 [2023-11-28T18:00:43.331Z] SSH_AGENT_PID=38 [2023-11-28T18:00:43.336Z] Running ssh-add (command line suppressed) [2023-11-28T18:00:43.429Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18415208348310528959.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18415208348310528959.key) [2023-11-28T18:00:43.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:00:43.781Z] + git semver bump pre [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [bump_version] DEBUG bumped version:3.2.0-dev.2 [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,940 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,943 [execute] INFO git cat-file --batch-check [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,943 [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-28T18:00:44.042Z] 2023-11-28 18:00:43,948 [execute] INFO git cat-file --batch [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:00:44.042Z] 2023-11-28 18:00:43,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:44.042Z] 3.2.0-dev.2 [Pipeline] } [2023-11-28T18:00:44.044Z] $ docker exec --env ******** --env ******** fdf02905c1d3f42b4113b2c6c9902621a7737d7ab7f827e0aab9f95e6d0c9d47 ssh-agent -k [2023-11-28T18:00:44.143Z] unset SSH_AUTH_SOCK; [2023-11-28T18:00:44.143Z] unset SSH_AGENT_PID; [2023-11-28T18:00:44.143Z] echo Agent pid 38 killed; [2023-11-28T18:00:44.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:00:44.653Z] + git semver [Pipeline] } [2023-11-28T18:00:44.919Z] $ docker stop --time=1 fdf02905c1d3f42b4113b2c6c9902621a7737d7ab7f827e0aab9f95e6d0c9d47 [2023-11-28T18:00:46.193Z] $ docker rm -f --volumes fdf02905c1d3f42b4113b2c6c9902621a7737d7ab7f827e0aab9f95e6d0c9d47 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:00:46.691Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:00:46.691Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:47.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:00:47.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:00:47.207Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T18:00:47.226Z] $ 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-28T18:00:47.572Z] $ docker top 017d5862b17eddfd4cb030fdf1d34653f89bac31bccb2240afa6434f46e640c8 -eo pid,comm [2023-11-28T18:00:47.630Z] 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-28T18:00:47.630Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:00:47.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:00:47.823Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:00:47.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:00:47.930Z] $ docker exec 017d5862b17eddfd4cb030fdf1d34653f89bac31bccb2240afa6434f46e640c8 ssh-agent [2023-11-28T18:00:48.043Z] SSH_AUTH_SOCK=/tmp/ssh-CUeOwQTFqGLd/agent.32 [2023-11-28T18:00:48.043Z] SSH_AGENT_PID=38 [2023-11-28T18:00:48.048Z] Running ssh-add (command line suppressed) [2023-11-28T18:00:48.138Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12153496884852396377.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12153496884852396377.key) [2023-11-28T18:00:48.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:00:48.489Z] + git semver push [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,645 [run_push] DEBUG push [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,646 [execute] INFO git cat-file --batch-check [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,647 [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-28T18:00:48.748Z] 2023-11-28 18:00:48,650 [execute] INFO git rev-list 4b19a4735eb5ead75713b4f89e0652ed437fcd52 -- [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,651 [execute] DEBUG Popen(['git', 'rev-list', '4b19a4735eb5ead75713b4f89e0652ed437fcd52', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,664 [execute] INFO git fetch -v origin [2023-11-28T18:00:48.748Z] 2023-11-28 18:00:48,665 [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-28T18:00:49.316Z] 2023-11-28 18:00:49,201 [run_push] DEBUG no remote changes detected [2023-11-28T18:00:49.317Z] 2023-11-28 18:00:49,201 [execute] INFO git push origin semver [2023-11-28T18:00:49.317Z] 2023-11-28 18:00:49,202 [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-28T18:00:50.252Z] 2023-11-28 18:00:50,020 [run_push] DEBUG push all version tags [2023-11-28T18:00:50.252Z] 2023-11-28 18:00:50,020 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-28T18:00:50.252Z] 2023-11-28 18:00:50,021 [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-28T18:00:51.188Z] 2023-11-28 18:00:50,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-28T18:00:51.188Z] 3.2.0-dev.2 [Pipeline] } [2023-11-28T18:00:51.190Z] $ docker exec --env ******** --env ******** 017d5862b17eddfd4cb030fdf1d34653f89bac31bccb2240afa6434f46e640c8 ssh-agent -k [2023-11-28T18:00:51.289Z] unset SSH_AUTH_SOCK; [2023-11-28T18:00:51.289Z] unset SSH_AGENT_PID; [2023-11-28T18:00:51.289Z] echo Agent pid 38 killed; [2023-11-28T18:00:51.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:00:51.816Z] + git semver [Pipeline] } [2023-11-28T18:00:52.079Z] $ docker stop --time=1 017d5862b17eddfd4cb030fdf1d34653f89bac31bccb2240afa6434f46e640c8 [2023-11-28T18:00:53.380Z] $ docker rm -f --volumes 017d5862b17eddfd4cb030fdf1d34653f89bac31bccb2240afa6434f46e640c8 [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-28T18:00:54.701Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-11-28T18:00:54.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-28T18:00:54.701Z] total 16 [2023-11-28T18:00:54.701Z] drwxr-xr-x 3 root root 4096 Nov 28 17:49 . [2023-11-28T18:00:54.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:00 .. [2023-11-28T18:00:54.701Z] drwxr-xr-x 2 root root 4096 Nov 28 17:49 cost [2023-11-28T18:00:54.701Z] -rw-r--r-- 1 root root 85 Nov 28 17:49 cost.csv [2023-11-28T18:00:54.701Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-28T18:00:54.701Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-28T18:00:54.701Z] total 16 [2023-11-28T18:00:54.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 17:49 . [2023-11-28T18:00:54.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:00 .. [2023-11-28T18:00:54.701Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 17:49 cost [2023-11-28T18:00:54.701Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 28 17:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:54.989Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:55.976Z] ---> package-listing.sh [2023-11-28T18:00:55.976Z] ++ facter osfamily [2023-11-28T18:00:55.976Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T18:00:56.265Z] + OS_FAMILY=debian [2023-11-28T18:00:56.265Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-11-28T18:00:56.265Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T18:00:56.265Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T18:00:56.265Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T18:00:56.265Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T18:00:56.265Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-28T18:00:56.265Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T18:00:56.265Z] + case "${OS_FAMILY}" in [2023-11-28T18:00:56.265Z] + dpkg -l [2023-11-28T18:00:56.265Z] + grep '^ii' [2023-11-28T18:00:56.265Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T18:00:56.265Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T18:00:56.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T18:00:56.265Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-28T18:00:56.265Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-11-28T18:00:56.265Z] + 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-28T18:00:56.289Z] 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-28T18:00:56.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:00:57.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:00:57.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:00:57.364Z] prd-ubuntu20.04-docker-8c-8g-1551 does not seem to be running inside a container [2023-11-28T18:00:57.383Z] $ 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-28T18:00:57.595Z] $ docker top 74d4b834f1a31c9f359143a9cfd0db571d42fe0763f9427d61e56faf2d2457f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:00:58.060Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T18:00:58.349Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T18:00:58.638Z] + ls /var/log/sa-host [2023-11-28T18:00:58.639Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:00:58.755Z] provisioning config files... [2023-11-28T18:00:58.767Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3106942515936880911tmp [Pipeline] { [Pipeline] echo [2023-11-28T18:00:58.873Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:59.160Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T18:00:59.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:59.607Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T18:00:59.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:00:59.907Z] ---> sudo-logs.sh [2023-11-28T18:00:59.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T18:01:00.003Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:01:00.292Z] ---> job-cost.sh [2023-11-28T18:01:00.292Z] lf-activate-venv: SKIPPING [2023-11-28T18:01:00.292Z] DEBUG: total: 0.2199999988079071 [2023-11-28T18:01:00.292Z] INFO: Retrieving Stack Cost... [2023-11-28T18:01:00.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:01:01.121Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T18:01:01.133Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:01:01.420Z] ---> logs-deploy.sh [2023-11-28T18:01:01.420Z] lf-activate-venv: SKIPPING [2023-11-28T18:01:01.420Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/271 [2023-11-28T18:01:01.420Z] INFO: archiving workspace using pattern(s): [2023-11-28T18:01:02.359Z] Archives upload complete. [2023-11-28T18:01:02.359Z] INFO: archiving logs to Nexus