Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b58b30e7bb628030941072b2ed6fa4c53da1af43 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-ssh4365143946357261968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh10855047624371362616.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh8018697342054552930.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh2922730966773529462.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-ssh12468402838280498353.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.20 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-3766 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 b58b30e7bb628030941072b2ed6fa4c53da1af43 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 Commit message: "Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25" > git rev-list --no-walk b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-16T05:12:58.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-16T05:12:58.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-16T05:12:58.686Z] ========================================================= [2023-08-16T05:12:58.687Z] EdgeX Global Pipelines Version Info [2023-08-16T05:12:58.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:12:59.393Z] ------------------- [2023-08-16T05:12:59.393Z] stable info: [2023-08-16T05:12:59.393Z] ------------------- [2023-08-16T05:12:59.393Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-16T05:12:59.393Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T05:12:59.393Z] Message: update stable to v1.0.253 [2023-08-16T05:12:59.964Z] ------------------- [2023-08-16T05:12:59.964Z] experimental info: [2023-08-16T05:12:59.964Z] ------------------- [2023-08-16T05:12:59.964Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-16T05:12:59.964Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T05:12:59.964Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-16T05:13:00.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-16T05:13:00.158Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-16T05:13:00.167Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-16T05:13:00.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-16T05:13:00.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-16T05:13:00.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-16T05:13:00.207Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-16T05:13:00.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-16T05:13:00.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-16T05:13:00.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-16T05:13:00.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-16T05:13:00.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-16T05:13:00.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-16T05:13:00.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-16T05:13:00.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-16T05:13:00.316Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T05:13:00.335Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T05:13:00.354Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T05:13:00.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-16T05:13:00.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-16T05:13:00.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-16T05:13:00.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-16T05:13:00.446Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-16T05:13:00.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-16T05:13:00.485Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-16T05:13:00.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-16T05:13:00.520Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-16T05:13:00.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-16T05:13:00.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-16T05:13:00.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-16T05:13:00.573Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo [2023-08-16T05:13:00.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b58b30e [Pipeline] echo [2023-08-16T05:13:00.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T05:13:00.644Z] provisioning config files... [2023-08-16T05:13:00.656Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17360015679891515419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:13:00.961Z] ---> docker-login.sh [2023-08-16T05:13:00.961Z] nexus3.edgexfoundry.org:10001 [2023-08-16T05:13:01.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:01.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:01.221Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:01.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:01.221Z] [2023-08-16T05:13:01.221Z] Login Succeeded [2023-08-16T05:13:01.221Z] nexus3.edgexfoundry.org:10002 [2023-08-16T05:13:01.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:01.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:01.482Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:01.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:01.482Z] [2023-08-16T05:13:01.482Z] Login Succeeded [2023-08-16T05:13:01.482Z] nexus3.edgexfoundry.org:10003 [2023-08-16T05:13:01.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:01.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:01.482Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:01.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:01.482Z] [2023-08-16T05:13:01.482Z] Login Succeeded [2023-08-16T05:13:01.482Z] nexus3.edgexfoundry.org:10004 [2023-08-16T05:13:01.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:01.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:01.747Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:01.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:01.747Z] [2023-08-16T05:13:01.747Z] Login Succeeded [2023-08-16T05:13:01.747Z] docker.io [2023-08-16T05:13:01.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:02.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:02.011Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:02.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:02.011Z] [2023-08-16T05:13:02.011Z] Login Succeeded [2023-08-16T05:13:02.011Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T05:13:02.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-16T05:13:02.413Z] + git rev-list -1 --merges b58b30e7bb628030941072b2ed6fa4c53da1af43~1..b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo [2023-08-16T05:13:02.457Z] -----------> git rev-list -1 --merges b58b30e7bb628030941072b2ed6fa4c53da1af43~1..b58b30e7bb628030941072b2ed6fa4c53da1af43 b58b30e7bb628030941072b2ed6fa4c53da1af43 [2023-08-16T05:13:02.457Z] b58b30e7bb628030941072b2ed6fa4c53da1af43 [false] [Pipeline] sh [2023-08-16T05:13:02.749Z] + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo [2023-08-16T05:13:02.766Z] ========================================================= [2023-08-16T05:13:02.766Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-16T05:13:02.766Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T05:13:03.106Z] + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo [2023-08-16T05:13:03.117Z] [semverPrep] GIT_COMMIT: b58b30e7bb628030941072b2ed6fa4c53da1af43, Commit Message: Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25 [Pipeline] echo [2023-08-16T05:13:03.126Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-16T05:13:03.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T05:13:03.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-16T05:13:03.497Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-16T05:13:03.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-16T05:13:03.497Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-16T05:13:03.497Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-16T05:13:03.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:13:03.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:13:03.911Z] [2023-08-16T05:13:03.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:13:04.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:13:04.212Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-16T05:13:04.212Z] b85a868b505f: Pulling fs layer [2023-08-16T05:13:04.212Z] e2be974225ed: Pulling fs layer [2023-08-16T05:13:04.212Z] 339a4e72a1f5: Pulling fs layer [2023-08-16T05:13:04.212Z] 988bab9f4d93: Pulling fs layer [2023-08-16T05:13:04.212Z] 1469e6f7b9e6: Pulling fs layer [2023-08-16T05:13:04.212Z] eaf3925da568: Pulling fs layer [2023-08-16T05:13:04.212Z] bab4dde63d76: Pulling fs layer [2023-08-16T05:13:04.212Z] bde34c3a00c8: Pulling fs layer [2023-08-16T05:13:04.212Z] b352a97aabf1: Pulling fs layer [2023-08-16T05:13:04.212Z] 4872d77fe225: Pulling fs layer [2023-08-16T05:13:04.212Z] 5851b861e8e6: Pulling fs layer [2023-08-16T05:13:04.212Z] eaf3925da568: Waiting [2023-08-16T05:13:04.212Z] 988bab9f4d93: Waiting [2023-08-16T05:13:04.212Z] bab4dde63d76: Waiting [2023-08-16T05:13:04.212Z] 1469e6f7b9e6: Waiting [2023-08-16T05:13:04.212Z] bde34c3a00c8: Waiting [2023-08-16T05:13:04.212Z] b352a97aabf1: Waiting [2023-08-16T05:13:04.212Z] 5851b861e8e6: Waiting [2023-08-16T05:13:04.212Z] e2be974225ed: Verifying Checksum [2023-08-16T05:13:04.212Z] e2be974225ed: Download complete [2023-08-16T05:13:04.212Z] 988bab9f4d93: Verifying Checksum [2023-08-16T05:13:04.212Z] 988bab9f4d93: Download complete [2023-08-16T05:13:04.471Z] 1469e6f7b9e6: Verifying Checksum [2023-08-16T05:13:04.471Z] 1469e6f7b9e6: Download complete [2023-08-16T05:13:04.471Z] 339a4e72a1f5: Verifying Checksum [2023-08-16T05:13:04.471Z] 339a4e72a1f5: Download complete [2023-08-16T05:13:04.471Z] eaf3925da568: Verifying Checksum [2023-08-16T05:13:04.471Z] eaf3925da568: Download complete [2023-08-16T05:13:04.471Z] bde34c3a00c8: Download complete [2023-08-16T05:13:04.471Z] b352a97aabf1: Verifying Checksum [2023-08-16T05:13:04.471Z] b352a97aabf1: Download complete [2023-08-16T05:13:04.471Z] 4872d77fe225: Download complete [2023-08-16T05:13:04.471Z] 5851b861e8e6: Verifying Checksum [2023-08-16T05:13:04.471Z] 5851b861e8e6: Download complete [2023-08-16T05:13:04.471Z] b85a868b505f: Download complete [2023-08-16T05:13:04.730Z] bab4dde63d76: Download complete [2023-08-16T05:13:05.668Z] b85a868b505f: Pull complete [2023-08-16T05:13:05.927Z] e2be974225ed: Pull complete [2023-08-16T05:13:06.187Z] 339a4e72a1f5: Pull complete [2023-08-16T05:13:06.447Z] 988bab9f4d93: Pull complete [2023-08-16T05:13:06.707Z] 1469e6f7b9e6: Pull complete [2023-08-16T05:13:06.707Z] eaf3925da568: Pull complete [2023-08-16T05:13:08.619Z] bab4dde63d76: Pull complete [2023-08-16T05:13:08.619Z] bde34c3a00c8: Pull complete [2023-08-16T05:13:08.619Z] b352a97aabf1: Pull complete [2023-08-16T05:13:08.619Z] 4872d77fe225: Pull complete [2023-08-16T05:13:08.619Z] 5851b861e8e6: Pull complete [2023-08-16T05:13:08.619Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-16T05:13:08.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:13:08.619Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:13:08.713Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:13:08.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-16T05:13:11.256Z] $ docker top 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d -eo pid,comm [2023-08-16T05:13:11.314Z] 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-08-16T05:13:11.314Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T05:13:11.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T05:13:11.345Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T05:13:11.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T05:13:11.473Z] $ docker exec 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent [2023-08-16T05:13:11.588Z] SSH_AUTH_SOCK=/tmp/ssh-QNRIrMdUYkkZ/agent.33 [2023-08-16T05:13:11.588Z] SSH_AGENT_PID=39 [2023-08-16T05:13:11.596Z] Running ssh-add (command line suppressed) [2023-08-16T05:13:11.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_976162794964136800.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_976162794964136800.key) [2023-08-16T05:13:11.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T05:13:11.991Z] + git tag --points-at HEAD [Pipeline] } [2023-08-16T05:13:12.010Z] $ docker exec --env ******** --env ******** 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent -k [2023-08-16T05:13:12.104Z] unset SSH_AUTH_SOCK; [2023-08-16T05:13:12.104Z] unset SSH_AGENT_PID; [2023-08-16T05:13:12.104Z] echo Agent pid 39 killed; [2023-08-16T05:13:12.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-16T05:13:12.134Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T05:13:12.134Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T05:13:12.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T05:13:12.265Z] $ docker exec 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent [2023-08-16T05:13:12.377Z] SSH_AUTH_SOCK=/tmp/ssh-vN8x8lsLA3CJ/agent.71 [2023-08-16T05:13:12.377Z] SSH_AGENT_PID=76 [2023-08-16T05:13:12.383Z] Running ssh-add (command line suppressed) [2023-08-16T05:13:12.500Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4583659205588336140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4583659205588336140.key) [2023-08-16T05:13:12.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T05:13:12.803Z] + git semver init [2023-08-16T05:13:13.063Z] 2023-08-16 05:13:12,988 [run_init] DEBUG init version:0.0.0 force:False [2023-08-16T05:13:13.063Z] 2023-08-16 05:13:12,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-16T05:13:13.063Z] 2023-08-16 05:13:12,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-16T05:13:13.063Z] 2023-08-16 05:13:12,990 [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-08-16T05:13:14.002Z] 2023-08-16 05:13:13,885 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-16T05:13:14.002Z] 2023-08-16 05:13:13,886 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-16T05:13:14.002Z] 2023-08-16 05:13:13,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:13:14.002Z] 2023-08-16 05:13:13,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:13:14.002Z] 3.1.0-dev.13 [Pipeline] } [2023-08-16T05:13:14.015Z] $ docker exec --env ******** --env ******** 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent -k [2023-08-16T05:13:14.115Z] unset SSH_AUTH_SOCK; [2023-08-16T05:13:14.116Z] unset SSH_AGENT_PID; [2023-08-16T05:13:14.116Z] echo Agent pid 76 killed; [2023-08-16T05:13:14.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T05:13:14.423Z] + git semver [Pipeline] } [2023-08-16T05:13:14.700Z] $ docker stop --time=1 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d [2023-08-16T05:13:15.984Z] $ docker rm -f --volumes 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T05:13:16.322Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-16T05:13:16.541Z] Stashed 1 file(s) [Pipeline] echo [2023-08-16T05:13:16.543Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [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-08-16T05:13:16.706Z] provisioning config files... [2023-08-16T05:13:16.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4198323286226273910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:13:17.020Z] ---> docker-login.sh [2023-08-16T05:13:17.020Z] nexus3.edgexfoundry.org:10001 [2023-08-16T05:13:17.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:17.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:17.020Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:17.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:17.020Z] [2023-08-16T05:13:17.020Z] Login Succeeded [2023-08-16T05:13:17.020Z] nexus3.edgexfoundry.org:10002 [2023-08-16T05:13:17.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:17.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:17.020Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:17.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:17.020Z] [2023-08-16T05:13:17.020Z] Login Succeeded [2023-08-16T05:13:17.020Z] nexus3.edgexfoundry.org:10003 [2023-08-16T05:13:17.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:17.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:17.278Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:17.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:17.278Z] [2023-08-16T05:13:17.278Z] Login Succeeded [2023-08-16T05:13:17.278Z] nexus3.edgexfoundry.org:10004 [2023-08-16T05:13:17.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:17.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:17.278Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:17.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:17.278Z] [2023-08-16T05:13:17.278Z] Login Succeeded [2023-08-16T05:13:17.279Z] docker.io [2023-08-16T05:13:17.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:13:17.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:13:17.538Z] Configure a credential helper to remove this warning. See [2023-08-16T05:13:17.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:13:17.538Z] [2023-08-16T05:13:17.538Z] Login Succeeded [2023-08-16T05:13:17.538Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T05:13:17.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-16T05:13:17.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T05:13:17.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T05:13:17.618Z] ========================================================= [2023-08-16T05:13:17.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-16T05:13:17.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:13:17.945Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-16T05:13:17.945Z] Sending build context to Docker daemon 11.05MB [2023-08-16T05:13:17.945Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T05:13:17.945Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-16T05:13:17.945Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-16T05:13:17.945Z] 4db1b89c0bd1: Pulling fs layer [2023-08-16T05:13:17.945Z] 6911f1a30b25: Pulling fs layer [2023-08-16T05:13:17.945Z] e194b8c5c2a9: Pulling fs layer [2023-08-16T05:13:17.945Z] 6863d3e3a2b1: Pulling fs layer [2023-08-16T05:13:17.945Z] ec0bb842ea78: Pulling fs layer [2023-08-16T05:13:17.945Z] 40a00589a448: Pulling fs layer [2023-08-16T05:13:17.945Z] 6c08303d61cc: Pulling fs layer [2023-08-16T05:13:17.945Z] 798269fcf238: Pulling fs layer [2023-08-16T05:13:17.945Z] ec0bb842ea78: Waiting [2023-08-16T05:13:17.945Z] 40a00589a448: Waiting [2023-08-16T05:13:17.945Z] 6c08303d61cc: Waiting [2023-08-16T05:13:17.945Z] 798269fcf238: Waiting [2023-08-16T05:13:17.945Z] 6863d3e3a2b1: Waiting [2023-08-16T05:13:18.203Z] 6911f1a30b25: Download complete [2023-08-16T05:13:18.203Z] 6863d3e3a2b1: Verifying Checksum [2023-08-16T05:13:18.203Z] 6863d3e3a2b1: Download complete [2023-08-16T05:13:18.203Z] ec0bb842ea78: Verifying Checksum [2023-08-16T05:13:18.203Z] ec0bb842ea78: Download complete [2023-08-16T05:13:18.203Z] 4db1b89c0bd1: Verifying Checksum [2023-08-16T05:13:18.203Z] 4db1b89c0bd1: Download complete [2023-08-16T05:13:18.203Z] 40a00589a448: Verifying Checksum [2023-08-16T05:13:18.203Z] 40a00589a448: Download complete [2023-08-16T05:13:18.203Z] 4db1b89c0bd1: Pull complete [2023-08-16T05:13:18.463Z] 6911f1a30b25: Pull complete [2023-08-16T05:13:18.722Z] 798269fcf238: Verifying Checksum [2023-08-16T05:13:18.722Z] 798269fcf238: Download complete [2023-08-16T05:13:18.722Z] e194b8c5c2a9: Download complete [2023-08-16T05:13:18.982Z] 6c08303d61cc: Verifying Checksum [2023-08-16T05:13:18.982Z] 6c08303d61cc: Download complete [2023-08-16T05:13:22.261Z] e194b8c5c2a9: Pull complete [2023-08-16T05:13:22.261Z] 6863d3e3a2b1: Pull complete [2023-08-16T05:13:22.261Z] ec0bb842ea78: Pull complete [2023-08-16T05:13:22.261Z] 40a00589a448: Pull complete [2023-08-16T05:13:24.789Z] 6c08303d61cc: Pull complete [2023-08-16T05:13:25.724Z] 798269fcf238: Pull complete [2023-08-16T05:13:25.724Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-16T05:13:25.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-16T05:13:25.724Z] ---> ec979cd7f677 [2023-08-16T05:13:25.724Z] Step 3/10 : ARG MAKE=make build [2023-08-16T05:13:29.920Z] ---> Running in 02188610f003 [2023-08-16T05:13:29.920Z] Removing intermediate container 02188610f003 [2023-08-16T05:13:29.920Z] ---> 8c0a750e3c8e [2023-08-16T05:13:29.920Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-16T05:13:29.920Z] ---> Running in f282b349ac59 [2023-08-16T05:13:29.920Z] Removing intermediate container f282b349ac59 [2023-08-16T05:13:29.920Z] ---> e277d7479f9f [2023-08-16T05:13:29.920Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T05:13:29.920Z] ---> Running in 38263959c08e [2023-08-16T05:13:29.920Z] Removing intermediate container 38263959c08e [2023-08-16T05:13:29.920Z] ---> 0b15769d3aeb [2023-08-16T05:13:29.920Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-16T05:13:29.920Z] ---> Running in b8c1999765d3 [2023-08-16T05:13:30.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T05:13:30.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T05:13:30.745Z] OK: 265 MiB in 53 packages [2023-08-16T05:13:31.004Z] Removing intermediate container b8c1999765d3 [2023-08-16T05:13:31.004Z] ---> 7b0149b25e74 [2023-08-16T05:13:31.004Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-16T05:13:31.261Z] ---> 2a643e3d0d4f [2023-08-16T05:13:31.261Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T05:13:31.261Z] ---> Running in f580cce3ce88 [2023-08-16T05:13:31.661Z] Still waiting to schedule task [2023-08-16T05:13:31.661Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-16T05:14:03.341Z] Removing intermediate container f580cce3ce88 [2023-08-16T05:14:03.341Z] ---> 5ef347a57f33 [2023-08-16T05:14:03.341Z] Step 9/10 : COPY . . [2023-08-16T05:14:03.341Z] ---> d767ff8bb0ab [2023-08-16T05:14:03.341Z] Step 10/10 : RUN ${MAKE} [2023-08-16T05:14:03.341Z] ---> Running in 4629c01d8748 [2023-08-16T05:14:03.341Z] noop [2023-08-16T05:14:03.341Z] Removing intermediate container 4629c01d8748 [2023-08-16T05:14:03.341Z] ---> 1dc11b50a40e [2023-08-16T05:14:03.341Z] Successfully built 1dc11b50a40e [2023-08-16T05:14:03.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:14:03.647Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T05:14:03.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:14:03.715Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:14:03.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-16T05:14:04.075Z] $ docker top ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:14:04.418Z] + go version [2023-08-16T05:14:04.418Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-16T05:14:04.433Z] $ docker stop --time=1 ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 [2023-08-16T05:14:05.702Z] $ docker rm -f --volumes ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:14:06.116Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T05:14:06.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:14:06.182Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:14:06.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-16T05:14:06.522Z] $ docker top 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:14:06.856Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-16T05:14:07.153Z] + make test [2023-08-16T05:14:07.153Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T05:14:13.708Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-16T05:14:25.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-16T05:14:25.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-16T05:14:25.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-16T05:14:25.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-16T05:14:25.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-16T05:14:26.465Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-08-16T05:14:26.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-16T05:14:26.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-16T05:14:26.465Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements [2023-08-16T05:14:26.465Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.087s coverage: 86.0% of statements [2023-08-16T05:14:26.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-16T05:14:26.983Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 71.8% of statements [2023-08-16T05:14:27.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-16T05:14:27.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-16T05:14:28.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-16T05:14:30.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.3% of statements [2023-08-16T05:14:30.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.720s coverage: 43.8% of statements [2023-08-16T05:14:30.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.059s coverage: 68.5% of statements [2023-08-16T05:14:30.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.124s coverage: 89.2% of statements [2023-08-16T05:14:30.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-08-16T05:14:51.970Z] GO111MODULE=on go vet ./... [2023-08-16T05:14:52.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-16T05:14:52.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-16T05:14:52.904Z] ./bin/test-attribution-txt.sh [2023-08-16T05:14:52.904Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-16T05:14:52.904Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-16T05:14:52.904Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-16T05:14:52.904Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-16T05:14:52.904Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-16T05:14:52.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-16T05:14:52.934Z] $ docker stop --time=1 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc [2023-08-16T05:14:56.923Z] $ docker rm -f --volumes 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T05:14:57.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-16T05:14:57.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-16T05:14:58.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-16T05:14:58.437Z] + ls -al . [2023-08-16T05:14:58.437Z] total 304 [2023-08-16T05:14:58.437Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 05:14 . [2023-08-16T05:14:58.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:12 .. [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 05:12 .dockerignore [2023-08-16T05:14:58.437Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 05:13 .git [2023-08-16T05:14:58.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:12 .github [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 05:12 .gitignore [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 05:12 .golangci.yml [2023-08-16T05:14:58.437Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 05:13 .semver [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 05:12 CHANGELOG.md [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 05:12 GOVERNANCE.md [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 05:12 Jenkinsfile [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 05:12 LICENSE [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 05:12 Makefile [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 05:12 OWNERS.md [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 05:12 README.md [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 16 05:13 VERSION [2023-08-16T05:14:58.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:12 bin [2023-08-16T05:14:58.437Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 16 05:14 coverage.out [2023-08-16T05:14:58.437Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 05:12 example [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 05:12 go.mod [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 05:12 go.sum [2023-08-16T05:14:58.437Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:12 internal [2023-08-16T05:14:58.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 05:12 openapi [2023-08-16T05:14:58.437Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 05:12 pkg [2023-08-16T05:14:58.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:12 snap [2023-08-16T05:14:58.437Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:14:58.747Z] + 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=b58b30e7bb628030941072b2ed6fa4c53da1af43 --label arch=amd64 --label version=3.1.0-dev.13 . [2023-08-16T05:14:58.747Z] Sending build context to Docker daemon 11.17MB [2023-08-16T05:14:58.747Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T05:14:58.747Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-16T05:14:58.747Z] ---> 1dc11b50a40e [2023-08-16T05:14:58.747Z] Step 3/23 : ARG MAKE=make build [2023-08-16T05:14:59.006Z] ---> Running in c6a586901e91 [2023-08-16T05:14:59.007Z] Removing intermediate container c6a586901e91 [2023-08-16T05:14:59.007Z] ---> 68cfe1893bbc [2023-08-16T05:14:59.007Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-16T05:14:59.267Z] ---> Running in 3649e562c06e [2023-08-16T05:14:59.268Z] Removing intermediate container 3649e562c06e [2023-08-16T05:14:59.268Z] ---> 5eb9c4c7eddf [2023-08-16T05:14:59.268Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T05:14:59.268Z] ---> Running in de2eabdfcc9b [2023-08-16T05:14:59.268Z] Removing intermediate container de2eabdfcc9b [2023-08-16T05:14:59.268Z] ---> 04b99aaacc09 [2023-08-16T05:14:59.268Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-16T05:14:59.268Z] ---> Running in 79248c8d2e33 [2023-08-16T05:14:59.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T05:14:59.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T05:15:00.044Z] OK: 265 MiB in 53 packages [2023-08-16T05:15:00.303Z] Removing intermediate container 79248c8d2e33 [2023-08-16T05:15:00.303Z] ---> 27216ed6706a [2023-08-16T05:15:00.303Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-16T05:15:00.563Z] ---> f2f3550334b6 [2023-08-16T05:15:00.563Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T05:15:00.563Z] ---> Running in 4e78d18886a8 [2023-08-16T05:15:01.129Z] Removing intermediate container 4e78d18886a8 [2023-08-16T05:15:01.129Z] ---> f9d0ec432c75 [2023-08-16T05:15:01.129Z] Step 9/23 : COPY . . [2023-08-16T05:15:01.696Z] ---> 538dc597741b [2023-08-16T05:15:01.696Z] Step 10/23 : RUN ${MAKE} [2023-08-16T05:15:01.696Z] ---> Running in 210850226ebf [2023-08-16T05:15:01.954Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-16T05:15:04.943Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3767 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-16T05:15:04.959Z] Running in /w/workspace/device-sdk-go/242 [Pipeline] { [Pipeline] checkout [2023-08-16T05:15:04.990Z] The recommended git tool is: git [2023-08-16T05:15:09.975Z] using credential edgex-jenkins-ssh [2023-08-16T05:15:09.994Z] Cloning the remote Git repository [2023-08-16T05:15:10.039Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-16T05:15:10.115Z] > git init /w/workspace/device-sdk-go/242 # timeout=10 [2023-08-16T05:15:10.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-16T05:15:10.234Z] > git --version # timeout=10 [2023-08-16T05:15:10.256Z] > git --version # 'git version 2.25.1' [2023-08-16T05:15:10.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T05:15:10.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T05:15:11.954Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-16T05:15:11.983Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T05:15:12.797Z] Avoid second fetch [2023-08-16T05:15:12.798Z] Checking out Revision b58b30e7bb628030941072b2ed6fa4c53da1af43 (main) [2023-08-16T05:15:13.369Z] Commit message: "Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25" [2023-08-16T05:15:12.816Z] > git config core.sparsecheckout # timeout=10 [2023-08-16T05:15:12.882Z] > git checkout -f b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T05:15:14.490Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-16T05:15:14.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T05:15:14.490Z] Dload Upload Total Spent Left Speed [2023-08-16T05:15:14.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2023-08-16T05:15:15.126Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-16T05:15:15.462Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-16T05:15:15.462Z] + sudo tee /etc/docker/daemon.new [2023-08-16T05:15:15.462Z] { [2023-08-16T05:15:15.462Z] "registry-mirrors": [ [2023-08-16T05:15:15.462Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-16T05:15:15.462Z] ], [2023-08-16T05:15:15.462Z] "bip": "10.250.0.254/24", [2023-08-16T05:15:15.462Z] "hosts": [ [2023-08-16T05:15:15.462Z] "tcp://0.0.0.0:5555", [2023-08-16T05:15:15.462Z] "unix:///var/run/docker.sock" [2023-08-16T05:15:15.462Z] ], [2023-08-16T05:15:15.462Z] "mtu": 1458, [2023-08-16T05:15:15.462Z] "selinux-enabled": true, [2023-08-16T05:15:15.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-16T05:15:15.462Z] } [Pipeline] sh [2023-08-16T05:15:15.789Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-16T05:15:16.116Z] + sudo service docker restart [2023-08-16T05:15:23.996Z] Removing intermediate container 210850226ebf [2023-08-16T05:15:23.996Z] ---> 3110401033fa [2023-08-16T05:15:23.996Z] Step 11/23 : FROM alpine:3.17 [2023-08-16T05:15:23.996Z] 3.17: Pulling from library/alpine [2023-08-16T05:15:23.996Z] 9398808236ff: Pulling fs layer [2023-08-16T05:15:23.996Z] 9398808236ff: Verifying Checksum [2023-08-16T05:15:23.996Z] 9398808236ff: Download complete [2023-08-16T05:15:23.996Z] 9398808236ff: Pull complete [2023-08-16T05:15:23.996Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-16T05:15:23.996Z] Status: Downloaded newer image for alpine:3.17 [2023-08-16T05:15:23.996Z] ---> 1e0b8b5322fc [2023-08-16T05:15:23.996Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-16T05:15:23.996Z] ---> Running in 5873bd93b4d6 [2023-08-16T05:15:23.996Z] Removing intermediate container 5873bd93b4d6 [2023-08-16T05:15:23.996Z] ---> da80b9f7f367 [2023-08-16T05:15:23.996Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-16T05:15:23.996Z] ---> Running in 6dfd93e1c58d [2023-08-16T05:15:23.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T05:15:23.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T05:15:24.260Z] OK: 7 MiB in 15 packages [2023-08-16T05:15:24.519Z] Removing intermediate container 6dfd93e1c58d [2023-08-16T05:15:24.519Z] ---> 75e7ac8331b5 [2023-08-16T05:15:24.519Z] Step 14/23 : WORKDIR / [2023-08-16T05:15:24.519Z] ---> Running in f22823548b62 [2023-08-16T05:15:24.778Z] Removing intermediate container f22823548b62 [2023-08-16T05:15:24.778Z] ---> a401602d85e6 [2023-08-16T05:15:24.778Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-16T05:15:24.778Z] ---> aae62481a874 [2023-08-16T05:15:24.778Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-16T05:15:25.714Z] ---> c60ef8eb96bd [2023-08-16T05:15:25.714Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-16T05:15:25.973Z] ---> 2a4c1ce3b748 [2023-08-16T05:15:25.974Z] Step 18/23 : EXPOSE 59999 [2023-08-16T05:15:25.974Z] ---> Running in b2f07851d688 [2023-08-16T05:15:25.974Z] Removing intermediate container b2f07851d688 [2023-08-16T05:15:25.974Z] ---> cbdf13d8e5dd [2023-08-16T05:15:25.974Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-16T05:15:25.974Z] ---> Running in 404a88fbac5e [2023-08-16T05:15:25.974Z] Removing intermediate container 404a88fbac5e [2023-08-16T05:15:25.974Z] ---> 0bbc2b5175bc [2023-08-16T05:15:25.974Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-16T05:15:26.233Z] ---> Running in 738c6cb87616 [2023-08-16T05:15:26.233Z] Removing intermediate container 738c6cb87616 [2023-08-16T05:15:26.233Z] ---> 8a9104d2589b [2023-08-16T05:15:26.233Z] Step 21/23 : LABEL arch=amd64 [2023-08-16T05:15:26.233Z] ---> Running in dc0259664008 [2023-08-16T05:15:26.233Z] Removing intermediate container dc0259664008 [2023-08-16T05:15:26.233Z] ---> c20d7e92b322 [2023-08-16T05:15:26.233Z] Step 22/23 : LABEL git_sha=b58b30e7bb628030941072b2ed6fa4c53da1af43 [2023-08-16T05:15:26.233Z] ---> Running in 28a2098d3ded [2023-08-16T05:15:26.233Z] Removing intermediate container 28a2098d3ded [2023-08-16T05:15:26.233Z] ---> 25359df8cf7a [2023-08-16T05:15:26.233Z] Step 23/23 : LABEL version=3.1.0-dev.13 [2023-08-16T05:15:26.492Z] ---> Running in 865ca7bc7e1d [2023-08-16T05:15:26.492Z] Removing intermediate container 865ca7bc7e1d [2023-08-16T05:15:26.492Z] ---> 34d1b5a85885 [2023-08-16T05:15:26.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-16T05:15:26.492Z] Successfully built 34d1b5a85885 [2023-08-16T05:15:26.492Z] 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-08-16T05:15:26.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T05:15:26.956Z] [2023-08-16T05:15:26.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:15:27.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T05:15:27.254Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-16T05:15:27.254Z] 5eb5b503b376: Pulling fs layer [2023-08-16T05:15:27.254Z] 5c69ac0246d0: Pulling fs layer [2023-08-16T05:15:27.254Z] ec43610c2a17: Pulling fs layer [2023-08-16T05:15:27.254Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-16T05:15:27.254Z] 33b1e0a273af: Pulling fs layer [2023-08-16T05:15:27.254Z] 5d3b04190fa2: Pulling fs layer [2023-08-16T05:15:27.254Z] 2f39f015ded8: Pulling fs layer [2023-08-16T05:15:27.254Z] 2f39f015ded8: Waiting [2023-08-16T05:15:27.254Z] 33b1e0a273af: Waiting [2023-08-16T05:15:27.254Z] 3a2ae6a8a46f: Waiting [2023-08-16T05:15:27.254Z] 5d3b04190fa2: Waiting [2023-08-16T05:15:27.254Z] 5c69ac0246d0: Download complete [2023-08-16T05:15:27.254Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-16T05:15:27.254Z] 3a2ae6a8a46f: Download complete [2023-08-16T05:15:27.254Z] 33b1e0a273af: Verifying Checksum [2023-08-16T05:15:27.254Z] 33b1e0a273af: Download complete [2023-08-16T05:15:27.254Z] 5d3b04190fa2: Verifying Checksum [2023-08-16T05:15:27.254Z] 5d3b04190fa2: Download complete [2023-08-16T05:15:27.254Z] ec43610c2a17: Verifying Checksum [2023-08-16T05:15:27.254Z] ec43610c2a17: Download complete [2023-08-16T05:15:27.512Z] 5eb5b503b376: Verifying Checksum [2023-08-16T05:15:27.512Z] 5eb5b503b376: Download complete [2023-08-16T05:15:28.078Z] 2f39f015ded8: Download complete [2023-08-16T05:15:28.643Z] 5eb5b503b376: Pull complete [2023-08-16T05:15:28.643Z] 5c69ac0246d0: Pull complete [2023-08-16T05:15:29.209Z] ec43610c2a17: Pull complete [2023-08-16T05:15:29.209Z] 3a2ae6a8a46f: Pull complete [2023-08-16T05:15:29.467Z] 33b1e0a273af: Pull complete [2023-08-16T05:15:29.467Z] 5d3b04190fa2: Pull complete [2023-08-16T05:15:33.650Z] 2f39f015ded8: Pull complete [2023-08-16T05:15:33.650Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-16T05:15:33.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T05:15:33.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:15:33.740Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:15:33.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-16T05:15:38.633Z] $ docker top 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-08-16T05:15:38.790Z] provisioning config files... [2023-08-16T05:15:38.818Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/242@tmp/config13555069452869509882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:15:39.041Z] ---> job-cost.sh [2023-08-16T05:15:39.042Z] lf-activate-venv: SKIPPING [2023-08-16T05:15:39.042Z] INFO: No Stack... [2023-08-16T05:15:39.160Z] ---> docker-login.sh [2023-08-16T05:15:39.160Z] nexus3.edgexfoundry.org:10001 [2023-08-16T05:15:39.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T05:15:39.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:15:39.560Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T05:15:39.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:15:39.700Z] Configure a credential helper to remove this warning. See [2023-08-16T05:15:39.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:15:39.700Z] [2023-08-16T05:15:39.700Z] Login Succeeded [2023-08-16T05:15:39.700Z] nexus3.edgexfoundry.org:10002 [2023-08-16T05:15:39.847Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-16T05:15:39.847Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T05:15:39.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [2023-08-16T05:15:39.867Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] did not exist. Created. [2023-08-16T05:15:39.867Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T05:15:39.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:15:39.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:15:39.970Z] Configure a credential helper to remove this warning. See [2023-08-16T05:15:39.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:15:39.970Z] [2023-08-16T05:15:39.970Z] Login Succeeded [2023-08-16T05:15:39.970Z] nexus3.edgexfoundry.org:10003 [2023-08-16T05:15:40.168Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-16T05:15:40.195Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T05:15:40.203Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T05:15:40.231Z] $ docker stop --time=1 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d [2023-08-16T05:15:40.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:15:40.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:15:40.508Z] Configure a credential helper to remove this warning. See [2023-08-16T05:15:40.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:15:40.508Z] [2023-08-16T05:15:40.508Z] Login Succeeded [2023-08-16T05:15:40.508Z] nexus3.edgexfoundry.org:10004 [2023-08-16T05:15:40.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:15:40.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:15:40.779Z] Configure a credential helper to remove this warning. See [2023-08-16T05:15:40.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:15:40.779Z] [2023-08-16T05:15:40.779Z] Login Succeeded [2023-08-16T05:15:40.779Z] docker.io [2023-08-16T05:15:41.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T05:15:41.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T05:15:41.317Z] Configure a credential helper to remove this warning. See [2023-08-16T05:15:41.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T05:15:41.317Z] [2023-08-16T05:15:41.317Z] Login Succeeded [2023-08-16T05:15:41.317Z] ---> docker-login.sh ends [2023-08-16T05:15:42.825Z] $ docker rm -f --volumes 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-08-16T05:15:42.866Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-08-16T05:15:43.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T05:15:43.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T05:15:43.134Z] ========================================================= [2023-08-16T05:15:43.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-16T05:15:43.134Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:15:43.487Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-16T05:15:43.755Z] Sending build context to Docker daemon 5.895MB [2023-08-16T05:15:43.755Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T05:15:43.755Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-16T05:15:44.344Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-16T05:15:44.344Z] edb6bdbacee9: Pulling fs layer [2023-08-16T05:15:44.344Z] 5f9638ab2659: Pulling fs layer [2023-08-16T05:15:44.344Z] 8d51d6327a98: Pulling fs layer [2023-08-16T05:15:44.344Z] 8b374f2dd631: Pulling fs layer [2023-08-16T05:15:44.344Z] ec14aa9079de: Pulling fs layer [2023-08-16T05:15:44.344Z] 2f466654f4bb: Pulling fs layer [2023-08-16T05:15:44.344Z] 554e91adad29: Pulling fs layer [2023-08-16T05:15:44.344Z] 8b374f2dd631: Waiting [2023-08-16T05:15:44.344Z] ec14aa9079de: Waiting [2023-08-16T05:15:44.344Z] 2f466654f4bb: Waiting [2023-08-16T05:15:44.344Z] 554e91adad29: Waiting [2023-08-16T05:15:44.344Z] 5f9638ab2659: Verifying Checksum [2023-08-16T05:15:44.344Z] 5f9638ab2659: Download complete [2023-08-16T05:15:44.613Z] 8b374f2dd631: Verifying Checksum [2023-08-16T05:15:44.613Z] 8b374f2dd631: Download complete [2023-08-16T05:15:44.613Z] ec14aa9079de: Verifying Checksum [2023-08-16T05:15:44.613Z] ec14aa9079de: Download complete [2023-08-16T05:15:44.613Z] edb6bdbacee9: Verifying Checksum [2023-08-16T05:15:44.613Z] edb6bdbacee9: Download complete [2023-08-16T05:15:45.605Z] edb6bdbacee9: Pull complete [2023-08-16T05:15:45.877Z] 554e91adad29: Verifying Checksum [2023-08-16T05:15:45.877Z] 554e91adad29: Download complete [2023-08-16T05:15:46.155Z] 5f9638ab2659: Pull complete [2023-08-16T05:15:47.129Z] 8d51d6327a98: Verifying Checksum [2023-08-16T05:15:47.129Z] 8d51d6327a98: Download complete [2023-08-16T05:15:47.129Z] 2f466654f4bb: Verifying Checksum [2023-08-16T05:15:47.129Z] 2f466654f4bb: Download complete [2023-08-16T05:15:59.459Z] 8d51d6327a98: Pull complete [2023-08-16T05:15:59.459Z] 8b374f2dd631: Pull complete [2023-08-16T05:15:59.459Z] ec14aa9079de: Pull complete [2023-08-16T05:16:04.799Z] 2f466654f4bb: Pull complete [2023-08-16T05:16:07.391Z] 554e91adad29: Pull complete [2023-08-16T05:16:07.391Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-16T05:16:07.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-16T05:16:07.391Z] ---> 1e15ea492957 [2023-08-16T05:16:07.391Z] Step 3/10 : ARG MAKE=make build [2023-08-16T05:16:08.818Z] ---> Running in 6397a4a39ef9 [2023-08-16T05:16:08.818Z] Removing intermediate container 6397a4a39ef9 [2023-08-16T05:16:08.818Z] ---> 90f8f490dd88 [2023-08-16T05:16:08.818Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-16T05:16:08.818Z] ---> Running in b60bd399165e [2023-08-16T05:16:09.404Z] Removing intermediate container b60bd399165e [2023-08-16T05:16:09.404Z] ---> 33104ce17474 [2023-08-16T05:16:09.404Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T05:16:09.404Z] ---> Running in 56df638c22ba [2023-08-16T05:16:09.671Z] Removing intermediate container 56df638c22ba [2023-08-16T05:16:09.671Z] ---> e894e65eabba [2023-08-16T05:16:09.671Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-16T05:16:09.671Z] ---> Running in db303592e63d [2023-08-16T05:16:10.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T05:16:11.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T05:16:12.291Z] OK: 263 MiB in 53 packages [2023-08-16T05:16:13.253Z] Removing intermediate container db303592e63d [2023-08-16T05:16:13.253Z] ---> 3b8db31756ff [2023-08-16T05:16:13.253Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-16T05:16:13.520Z] ---> 424777297e95 [2023-08-16T05:16:13.520Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T05:16:13.520Z] ---> Running in 3b5e985081b1 [2023-08-16T05:17:21.418Z] Removing intermediate container 3b5e985081b1 [2023-08-16T05:17:21.418Z] ---> b2251e26cf74 [2023-08-16T05:17:21.418Z] Step 9/10 : COPY . . [2023-08-16T05:17:21.418Z] ---> 5900a567150d [2023-08-16T05:17:21.418Z] Step 10/10 : RUN ${MAKE} [2023-08-16T05:17:21.418Z] ---> Running in 497ef0e70d67 [2023-08-16T05:17:21.418Z] noop [2023-08-16T05:17:21.418Z] Removing intermediate container 497ef0e70d67 [2023-08-16T05:17:21.418Z] ---> 606edccfcaa9 [2023-08-16T05:17:21.685Z] Successfully built 606edccfcaa9 [2023-08-16T05:17:21.685Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:17:22.036Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T05:17:22.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:17:22.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container [2023-08-16T05:17:22.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-16T05:17:23.589Z] $ docker top f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:17:24.415Z] + go version [2023-08-16T05:17:24.415Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-16T05:17:24.437Z] $ docker stop --time=1 f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 [2023-08-16T05:17:26.051Z] $ docker rm -f --volumes f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:17:26.582Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T05:17:26.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:17:26.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container [2023-08-16T05:17:26.830Z] $ 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/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-16T05:17:27.937Z] $ docker top 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:17:28.441Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/242 [Pipeline] fileExists [Pipeline] sh [2023-08-16T05:17:29.036Z] + make test [2023-08-16T05:17:29.036Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T05:18:07.893Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-16T05:20:14.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-16T05:20:14.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-16T05:20:14.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-16T05:20:14.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-16T05:20:14.559Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-16T05:20:19.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-08-16T05:20:25.212Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.257s coverage: 80.2% of statements [2023-08-16T05:20:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-16T05:20:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-16T05:20:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.343s coverage: 86.0% of statements [2023-08-16T05:20:41.738Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-16T05:20:42.318Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.474s coverage: 71.8% of statements [2023-08-16T05:20:46.572Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.283s coverage: 14.3% of statements [2023-08-16T05:20:48.509Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-16T05:20:48.509Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-16T05:20:49.466Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.722s coverage: 43.8% of statements [2023-08-16T05:20:49.466Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.421s coverage: 68.5% of statements [2023-08-16T05:20:52.802Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.438s coverage: 89.2% of statements [2023-08-16T05:20:53.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-16T05:20:53.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements [2023-08-16T05:20:54.712Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-16T05:20:54.712Z] GO111MODULE=on go vet ./... [2023-08-16T05:23:16.440Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-16T05:23:16.440Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-16T05:23:16.440Z] ./bin/test-attribution-txt.sh [2023-08-16T05:23:16.440Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-16T05:23:16.440Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-16T05:23:16.440Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-16T05:23:16.440Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-16T05:23:16.440Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-16T05:23:16.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-16T05:23:16.472Z] $ docker stop --time=1 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c [2023-08-16T05:23:18.460Z] $ docker rm -f --volumes 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T05:23:19.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-16T05:23:20.007Z] Warning: overwriting stash ‘coverage-report’ [2023-08-16T05:23:20.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T05:23:20.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-16T05:23:21.204Z] + ls -al . [2023-08-16T05:23:21.204Z] total 300 [2023-08-16T05:23:21.204Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 05:17 . [2023-08-16T05:23:21.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:15 .. [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 05:15 .dockerignore [2023-08-16T05:23:21.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 05:15 .git [2023-08-16T05:23:21.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:15 .github [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 05:15 .gitignore [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 05:15 .golangci.yml [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 05:15 CHANGELOG.md [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 05:15 GOVERNANCE.md [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 05:15 Jenkinsfile [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 05:15 LICENSE [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 05:15 Makefile [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 05:15 OWNERS.md [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 05:15 README.md [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 16 05:13 VERSION [2023-08-16T05:23:21.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:15 bin [2023-08-16T05:23:21.204Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 16 05:20 coverage.out [2023-08-16T05:23:21.204Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 05:15 example [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 05:15 go.mod [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 05:15 go.sum [2023-08-16T05:23:21.204Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:15 internal [2023-08-16T05:23:21.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 05:15 openapi [2023-08-16T05:23:21.204Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 05:15 pkg [2023-08-16T05:23:21.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:15 snap [2023-08-16T05:23:21.204Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 05:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:23:21.544Z] + 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=b58b30e7bb628030941072b2ed6fa4c53da1af43 --label arch=arm64 --label version=3.1.0-dev.13 . [2023-08-16T05:23:21.810Z] Sending build context to Docker daemon 6.016MB [2023-08-16T05:23:21.810Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T05:23:21.810Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-16T05:23:21.810Z] ---> 606edccfcaa9 [2023-08-16T05:23:21.810Z] Step 3/23 : ARG MAKE=make build [2023-08-16T05:23:22.077Z] ---> Running in 05a1afc8fec5 [2023-08-16T05:23:22.345Z] Removing intermediate container 05a1afc8fec5 [2023-08-16T05:23:22.345Z] ---> 14ce5f6ad646 [2023-08-16T05:23:22.345Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-16T05:23:22.345Z] ---> Running in 8e9f10b60600 [2023-08-16T05:23:22.615Z] Removing intermediate container 8e9f10b60600 [2023-08-16T05:23:22.615Z] ---> e065c6b48e65 [2023-08-16T05:23:22.615Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T05:23:22.882Z] ---> Running in fef44ed6dc0d [2023-08-16T05:23:23.149Z] Removing intermediate container fef44ed6dc0d [2023-08-16T05:23:23.149Z] ---> b783ce08d151 [2023-08-16T05:23:23.149Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-16T05:23:23.149Z] ---> Running in 2dd241a56653 [2023-08-16T05:23:24.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T05:23:24.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T05:23:25.647Z] OK: 263 MiB in 53 packages [2023-08-16T05:23:26.230Z] Removing intermediate container 2dd241a56653 [2023-08-16T05:23:26.230Z] ---> a3cebc0f851c [2023-08-16T05:23:26.230Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-16T05:23:26.814Z] ---> ca5e12cd843d [2023-08-16T05:23:26.814Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T05:23:26.814Z] ---> Running in 7112b5399507 [2023-08-16T05:23:28.757Z] Removing intermediate container 7112b5399507 [2023-08-16T05:23:28.757Z] ---> 9bf19143ede8 [2023-08-16T05:23:28.757Z] Step 9/23 : COPY . . [2023-08-16T05:23:32.093Z] ---> 25dd9b47384f [2023-08-16T05:23:32.093Z] Step 10/23 : RUN ${MAKE} [2023-08-16T05:23:32.093Z] ---> Running in 629c41523ed7 [2023-08-16T05:23:32.677Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-16T05:25:54.335Z] Removing intermediate container 629c41523ed7 [2023-08-16T05:25:54.335Z] ---> 4432da97386a [2023-08-16T05:25:54.335Z] Step 11/23 : FROM alpine:3.17 [2023-08-16T05:25:54.335Z] 3.17: Pulling from library/alpine [2023-08-16T05:25:54.335Z] 4060ece20d7a: Pulling fs layer [2023-08-16T05:25:54.335Z] 4060ece20d7a: Download complete [2023-08-16T05:25:54.335Z] 4060ece20d7a: Pull complete [2023-08-16T05:25:54.335Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-16T05:25:54.335Z] Status: Downloaded newer image for alpine:3.17 [2023-08-16T05:25:54.335Z] ---> 8650cd65339b [2023-08-16T05:25:54.335Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-16T05:25:54.335Z] ---> Running in d6cc1fba931c [2023-08-16T05:25:54.335Z] Removing intermediate container d6cc1fba931c [2023-08-16T05:25:54.335Z] ---> 2fd012a07beb [2023-08-16T05:25:54.335Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-16T05:25:54.335Z] ---> Running in a94910f07325 [2023-08-16T05:25:54.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T05:25:54.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T05:25:54.335Z] OK: 7 MiB in 15 packages [2023-08-16T05:25:54.335Z] Removing intermediate container a94910f07325 [2023-08-16T05:25:54.335Z] ---> 57258427044c [2023-08-16T05:25:54.335Z] Step 14/23 : WORKDIR / [2023-08-16T05:25:54.335Z] ---> Running in 126f6cf415be [2023-08-16T05:25:54.335Z] Removing intermediate container 126f6cf415be [2023-08-16T05:25:54.335Z] ---> 3ccd9b5753f9 [2023-08-16T05:25:54.335Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-16T05:25:54.335Z] ---> 0eb2b5a6c702 [2023-08-16T05:25:54.335Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-16T05:25:54.335Z] ---> 685182d2dcc2 [2023-08-16T05:25:54.335Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-16T05:25:54.335Z] ---> 67a8b284f2d7 [2023-08-16T05:25:54.335Z] Step 18/23 : EXPOSE 59999 [2023-08-16T05:25:54.335Z] ---> Running in 7c66fa9a685f [2023-08-16T05:25:54.335Z] Removing intermediate container 7c66fa9a685f [2023-08-16T05:25:54.335Z] ---> ef03e73267fc [2023-08-16T05:25:54.335Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-16T05:25:54.335Z] ---> Running in 7a91e610da11 [2023-08-16T05:25:54.335Z] Removing intermediate container 7a91e610da11 [2023-08-16T05:25:54.335Z] ---> 3a071f79343f [2023-08-16T05:25:54.335Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-16T05:25:54.335Z] ---> Running in fd949fb0b6d9 [2023-08-16T05:25:54.335Z] Removing intermediate container fd949fb0b6d9 [2023-08-16T05:25:54.335Z] ---> ce5591aa6df6 [2023-08-16T05:25:54.335Z] Step 21/23 : LABEL arch=arm64 [2023-08-16T05:25:54.335Z] ---> Running in 9bb072388e48 [2023-08-16T05:25:54.335Z] Removing intermediate container 9bb072388e48 [2023-08-16T05:25:54.335Z] ---> 39812396d1f8 [2023-08-16T05:25:54.335Z] Step 22/23 : LABEL git_sha=b58b30e7bb628030941072b2ed6fa4c53da1af43 [2023-08-16T05:25:54.336Z] ---> Running in b36ebc106ea0 [2023-08-16T05:25:54.336Z] Removing intermediate container b36ebc106ea0 [2023-08-16T05:25:54.336Z] ---> 19da29016ceb [2023-08-16T05:25:54.336Z] Step 23/23 : LABEL version=3.1.0-dev.13 [2023-08-16T05:25:54.336Z] ---> Running in e3234e9bdba0 [2023-08-16T05:25:54.336Z] Removing intermediate container e3234e9bdba0 [2023-08-16T05:25:54.336Z] ---> 6e09aa414ad1 [2023-08-16T05:25:54.336Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-16T05:25:54.336Z] Successfully built 6e09aa414ad1 [2023-08-16T05:25:54.336Z] 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-08-16T05:25:54.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:25:54.776Z] [2023-08-16T05:25:54.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:25:55.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:25:55.163Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-16T05:25:55.163Z] 8998bd30e6a1: Pulling fs layer [2023-08-16T05:25:55.163Z] 04944245beec: Pulling fs layer [2023-08-16T05:25:55.163Z] 699f458cf7ca: Pulling fs layer [2023-08-16T05:25:55.163Z] 765212b225bb: Pulling fs layer [2023-08-16T05:25:55.163Z] f23df028b6ca: Pulling fs layer [2023-08-16T05:25:55.163Z] d65c8cfc05b1: Pulling fs layer [2023-08-16T05:25:55.163Z] 2437ff75d9bd: Pulling fs layer [2023-08-16T05:25:55.163Z] 765212b225bb: Waiting [2023-08-16T05:25:55.163Z] f23df028b6ca: Waiting [2023-08-16T05:25:55.163Z] d65c8cfc05b1: Waiting [2023-08-16T05:25:55.163Z] 2437ff75d9bd: Waiting [2023-08-16T05:25:55.436Z] 04944245beec: Verifying Checksum [2023-08-16T05:25:55.436Z] 04944245beec: Download complete [2023-08-16T05:25:55.436Z] 765212b225bb: Verifying Checksum [2023-08-16T05:25:55.436Z] 765212b225bb: Download complete [2023-08-16T05:25:55.436Z] f23df028b6ca: Download complete [2023-08-16T05:25:55.436Z] d65c8cfc05b1: Download complete [2023-08-16T05:25:55.732Z] 699f458cf7ca: Verifying Checksum [2023-08-16T05:25:55.732Z] 699f458cf7ca: Download complete [2023-08-16T05:25:56.016Z] 8998bd30e6a1: Download complete [2023-08-16T05:25:58.681Z] 2437ff75d9bd: Verifying Checksum [2023-08-16T05:25:58.681Z] 2437ff75d9bd: Download complete [2023-08-16T05:26:00.121Z] 8998bd30e6a1: Pull complete [2023-08-16T05:26:00.389Z] 04944245beec: Pull complete [2023-08-16T05:26:01.808Z] 699f458cf7ca: Pull complete [2023-08-16T05:26:02.075Z] 765212b225bb: Pull complete [2023-08-16T05:26:02.657Z] f23df028b6ca: Pull complete [2023-08-16T05:26:02.924Z] d65c8cfc05b1: Pull complete [2023-08-16T05:26:17.905Z] 2437ff75d9bd: Pull complete [2023-08-16T05:26:17.905Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-16T05:26:17.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:26:17.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:26:18.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container [2023-08-16T05:26:18.148Z] $ 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/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-16T05:26:20.532Z] $ docker top 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:26:21.043Z] ---> job-cost.sh [2023-08-16T05:26:21.308Z] lf-activate-venv: SKIPPING [2023-08-16T05:26:21.308Z] INFO: No Stack... [2023-08-16T05:26:22.263Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-16T05:26:22.844Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T05:26:23.160Z] + cat /w/workspace/device-sdk-go/242/archives/cost.csv [2023-08-16T05:26:23.160Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T05:26:23.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [2023-08-16T05:26:23.492Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] did not exist. Created. [2023-08-16T05:26:23.493Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T05:26:24.146Z] /w/workspace/device-sdk-go/242@tmp/durable-cdaae88c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-16T05:26:24.478Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-16T05:26:24.501Z] Warning: overwriting stash ‘stack-cost’ [2023-08-16T05:26:24.578Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T05:26:24.591Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T05:26:24.609Z] $ docker stop --time=1 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 [2023-08-16T05:26:26.082Z] $ docker rm -f --volumes 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 [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-08-16T05:26:26.474Z] provisioning config files... [2023-08-16T05:26:26.482Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6736245949383496232tmp [Pipeline] { [Pipeline] sh [2023-08-16T05:26:26.776Z] + set +x [2023-08-16T05:26:26.776Z] + curl -s https://codecov.io/bash [2023-08-16T05:26:26.776Z] + bash -s -- [2023-08-16T05:26:26.776Z] [2023-08-16T05:26:26.776Z] _____ _ [2023-08-16T05:26:26.776Z] / ____| | | [2023-08-16T05:26:26.776Z] | | ___ __| | ___ ___ _____ __ [2023-08-16T05:26:26.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-16T05:26:26.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-16T05:26:26.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-16T05:26:26.776Z] Bash-1.0.6 [2023-08-16T05:26:26.776Z] [2023-08-16T05:26:26.776Z] [2023-08-16T05:26:26.776Z] ==> git version 2.25.1 found [2023-08-16T05:26:26.776Z] ==> 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-08-16T05:26:26.776Z] Release-Date: 2020-01-08 [2023-08-16T05:26:26.776Z] 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-08-16T05:26:26.776Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-16T05:26:26.776Z] ==> Jenkins CI detected. [2023-08-16T05:26:26.776Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-16T05:26:26.776Z] project root: . [2023-08-16T05:26:26.776Z] --> token set from env [2023-08-16T05:26:26.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-16T05:26:26.776Z] ==> Running gcov in . (disable via -X gcov) [2023-08-16T05:26:26.776Z] ==> Python coveragepy not found [2023-08-16T05:26:26.776Z] ==> Searching for coverage reports in: [2023-08-16T05:26:26.776Z] + . [2023-08-16T05:26:26.776Z] -> Found 1 reports [2023-08-16T05:26:26.776Z] ==> Detecting git/mercurial file structure [2023-08-16T05:26:26.776Z] ==> Reading reports [2023-08-16T05:26:27.037Z] + ./coverage.out bytes=120271 [2023-08-16T05:26:27.037Z] ==> Appending adjustments [2023-08-16T05:26:27.037Z] https://docs.codecov.io/docs/fixing-reports [2023-08-16T05:26:27.296Z] + Found adjustments [2023-08-16T05:26:27.296Z] ==> Gzipping contents [2023-08-16T05:26:27.296Z] 20K /tmp/codecov.mlVtHG.gz [2023-08-16T05:26:27.296Z] ==> Uploading reports [2023-08-16T05:26:27.296Z] url: https://codecov.io [2023-08-16T05:26:27.296Z] query: branch=main&commit=b58b30e7bb628030941072b2ed6fa4c53da1af43&build=242&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F242%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-16T05:26:27.296Z] -> Pinging Codecov [2023-08-16T05:26:27.296Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=b58b30e7bb628030941072b2ed6fa4c53da1af43&build=242&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F242%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-16T05:26:27.296Z] -> Uploading to [2023-08-16T05:26:27.296Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-16/7E55EF52A471D76F132DFD9A03CDDE97/b58b30e7bb628030941072b2ed6fa4c53da1af43/3ee83d2d-81f5-40a9-b4b5-cdb8fd925b4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230816T052627Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01fa9f242b2a398aaf2694af1a5e6937edd0516b05417949971b938c2257a731 [2023-08-16T05:26:27.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T05:26:27.296Z] Dload Upload Total Spent Left Speed [2023-08-16T05:26:27.555Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 84261 --:--:-- --:--:-- --:--:-- 84261 [2023-08-16T05:26:27.555Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] } [2023-08-16T05:26:27.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-16T05:26:27.789Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-16T05:26:27.798Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:26:28.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-16T05:26:28.095Z] [2023-08-16T05:26:28.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:26:28.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-16T05:26:28.391Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-16T05:26:28.391Z] df9b9388f04a: Pulling fs layer [2023-08-16T05:26:28.391Z] 52dc419b0ee2: Pulling fs layer [2023-08-16T05:26:28.391Z] 25bc292e5bac: Pulling fs layer [2023-08-16T05:26:28.391Z] 114826534d7a: Pulling fs layer [2023-08-16T05:26:28.391Z] 4657fd5d0bcf: Pulling fs layer [2023-08-16T05:26:28.391Z] 6ad1cebc031e: Pulling fs layer [2023-08-16T05:26:28.391Z] 8a3aa393b2d8: Pulling fs layer [2023-08-16T05:26:28.391Z] 4657fd5d0bcf: Waiting [2023-08-16T05:26:28.391Z] 6ad1cebc031e: Waiting [2023-08-16T05:26:28.391Z] 8a3aa393b2d8: Waiting [2023-08-16T05:26:28.391Z] 114826534d7a: Waiting [2023-08-16T05:26:28.391Z] 25bc292e5bac: Download complete [2023-08-16T05:26:28.391Z] 52dc419b0ee2: Download complete [2023-08-16T05:26:28.391Z] 4657fd5d0bcf: Download complete [2023-08-16T05:26:28.391Z] df9b9388f04a: Download complete [2023-08-16T05:26:28.649Z] df9b9388f04a: Pull complete [2023-08-16T05:26:28.649Z] 6ad1cebc031e: Verifying Checksum [2023-08-16T05:26:28.649Z] 6ad1cebc031e: Download complete [2023-08-16T05:26:28.649Z] 52dc419b0ee2: Pull complete [2023-08-16T05:26:28.649Z] 25bc292e5bac: Pull complete [2023-08-16T05:26:29.217Z] 114826534d7a: Verifying Checksum [2023-08-16T05:26:29.217Z] 8a3aa393b2d8: Verifying Checksum [2023-08-16T05:26:29.217Z] 8a3aa393b2d8: Download complete [2023-08-16T05:26:32.495Z] 114826534d7a: Pull complete [2023-08-16T05:26:32.495Z] 4657fd5d0bcf: Pull complete [2023-08-16T05:26:32.752Z] 6ad1cebc031e: Pull complete [2023-08-16T05:26:35.278Z] 8a3aa393b2d8: Pull complete [2023-08-16T05:26:35.278Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-16T05:26:35.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-16T05:26:35.278Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:26:35.350Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:26:35.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-16T05:26:38.827Z] $ docker top 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-16T05:26:38.898Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-16T05:26:39.179Z] + set -o pipefail [2023-08-16T05:26:39.179Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-16T05:26:44.448Z] [2023-08-16T05:26:44.448Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-16T05:26:44.448Z] [2023-08-16T05:26:44.448Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/664919d6-c307-4d22-a920-ee1b227d0e17 [2023-08-16T05:26:44.448Z] [2023-08-16T05:26:44.448Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-16T05:26:44.448Z] [2023-08-16T05:26:44.448Z] [2023-08-16T05:26:44.448Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-16T05:26:44.448Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-16T05:26:44.448Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-16T05:26:44.459Z] $ docker stop --time=1 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 [2023-08-16T05:26:47.821Z] $ docker rm -f --volumes 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 [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-08-16T05:26:48.188Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T05:26:48.199Z] provisioning config files... [2023-08-16T05:26:48.206Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10652359627512498656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:26:48.505Z] --> edgex-publish-swagger.sh [2023-08-16T05:26:48.505Z] === Publish openapi/v3 API === [2023-08-16T05:26:48.505Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-16T05:26:48.505Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-16T05:26:48.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T05:26:48.505Z] Dload Upload Total Spent Left Speed [2023-08-16T05:26:48.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 57741 --:--:-- --:--:-- --:--:-- 57741 [2023-08-16T05:26:48.764Z] [2023-08-16T05:26:48.764Z] [Pipeline] } [2023-08-16T05:26:48.772Z] 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-08-16T05:26:49.150Z] + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] sh [2023-08-16T05:26:49.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T05:26:49.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:26:49.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:26:49.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:26:49.825Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:26:49.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-16T05:26:50.353Z] $ docker top ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 -eo pid,comm [2023-08-16T05:26:50.397Z] 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-08-16T05:26:50.397Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T05:26:50.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T05:26:50.441Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T05:26:50.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T05:26:50.555Z] $ docker exec ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 ssh-agent [2023-08-16T05:26:50.655Z] SSH_AUTH_SOCK=/tmp/ssh-Lh3aBi414kCf/agent.33 [2023-08-16T05:26:50.655Z] SSH_AGENT_PID=39 [2023-08-16T05:26:50.660Z] Running ssh-add (command line suppressed) [2023-08-16T05:26:50.764Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16840689638521808184.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16840689638521808184.key) [2023-08-16T05:26:50.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T05:26:51.065Z] + git semver tag [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,239 [run_tag] DEBUG tag force:False [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,239 [check_head_tag] DEBUG check head tag [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,240 [execute] INFO git cat-file --batch-check [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,243 [execute] INFO git cat-file --batch [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,256 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,256 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-16T05:26:51.326Z] 2023-08-16 05:26:51,261 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:26:51.326Z] 3.1.0-dev.13 [Pipeline] } [2023-08-16T05:26:51.334Z] $ docker exec --env ******** --env ******** ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 ssh-agent -k [2023-08-16T05:26:51.435Z] unset SSH_AUTH_SOCK; [2023-08-16T05:26:51.436Z] unset SSH_AGENT_PID; [2023-08-16T05:26:51.436Z] echo Agent pid 39 killed; [2023-08-16T05:26:51.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T05:26:51.754Z] + git semver [Pipeline] } [2023-08-16T05:26:52.026Z] $ docker stop --time=1 ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 [2023-08-16T05:26:53.289Z] $ docker rm -f --volumes ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:26:53.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-16T05:26:53.683Z] [2023-08-16T05:26:53.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:26:53.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-16T05:26:53.987Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-16T05:26:53.987Z] ab5ef0e58194: Pulling fs layer [2023-08-16T05:26:53.987Z] 9712f1f96733: Pulling fs layer [2023-08-16T05:26:53.987Z] 63f879dbbcfc: Pulling fs layer [2023-08-16T05:26:53.987Z] 0d9ebad4ef96: Pulling fs layer [2023-08-16T05:26:53.987Z] e9a5061849ea: Pulling fs layer [2023-08-16T05:26:53.987Z] d747dcd14b5f: Pulling fs layer [2023-08-16T05:26:53.987Z] 2de7ff778b66: Pulling fs layer [2023-08-16T05:26:53.987Z] e9a5061849ea: Waiting [2023-08-16T05:26:53.987Z] 2de7ff778b66: Waiting [2023-08-16T05:26:53.987Z] d747dcd14b5f: Waiting [2023-08-16T05:26:53.987Z] 0d9ebad4ef96: Waiting [2023-08-16T05:26:53.987Z] 9712f1f96733: Verifying Checksum [2023-08-16T05:26:53.987Z] 9712f1f96733: Download complete [2023-08-16T05:26:54.247Z] 63f879dbbcfc: Verifying Checksum [2023-08-16T05:26:54.247Z] 63f879dbbcfc: Download complete [2023-08-16T05:26:54.506Z] e9a5061849ea: Verifying Checksum [2023-08-16T05:26:54.506Z] e9a5061849ea: Download complete [2023-08-16T05:26:54.506Z] ab5ef0e58194: Verifying Checksum [2023-08-16T05:26:54.506Z] ab5ef0e58194: Download complete [2023-08-16T05:26:54.506Z] d747dcd14b5f: Download complete [2023-08-16T05:26:54.506Z] 0d9ebad4ef96: Verifying Checksum [2023-08-16T05:26:54.506Z] 0d9ebad4ef96: Download complete [2023-08-16T05:26:54.506Z] 2de7ff778b66: Verifying Checksum [2023-08-16T05:26:54.506Z] 2de7ff778b66: Download complete [2023-08-16T05:26:57.036Z] ab5ef0e58194: Pull complete [2023-08-16T05:26:57.036Z] 9712f1f96733: Pull complete [2023-08-16T05:26:57.602Z] 63f879dbbcfc: Pull complete [2023-08-16T05:27:00.950Z] 0d9ebad4ef96: Pull complete [2023-08-16T05:27:01.208Z] e9a5061849ea: Pull complete [2023-08-16T05:27:01.208Z] d747dcd14b5f: Pull complete [2023-08-16T05:27:02.143Z] 2de7ff778b66: Pull complete [2023-08-16T05:27:02.143Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-16T05:27:02.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-16T05:27:02.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:27:02.236Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:27:02.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-16T05:27:07.362Z] $ docker top 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-16T05:27:07.439Z] provisioning config files... [2023-08-16T05:27:07.446Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17902870715094865417tmp [2023-08-16T05:27:07.454Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config266398793092920739tmp [2023-08-16T05:27:07.463Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15350275360602811787tmp [Pipeline] { [Pipeline] echo [2023-08-16T05:27:07.477Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:07.761Z] ---> sigul-configuration.sh [2023-08-16T05:27:07.761Z] gpg: directory `/root/.gnupg' created [2023-08-16T05:27:07.761Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-16T05:27:07.761Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-16T05:27:07.761Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-16T05:27:07.761Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-16T05:27:07.761Z] gpg: CAST5 encrypted data [2023-08-16T05:27:07.761Z] gpg: encrypted with 1 passphrase [2023-08-16T05:27:07.761Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-16T05:27:08.047Z] + mkdir /home/jenkins [2023-08-16T05:27:08.047Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-16T05:27:08.330Z] + 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-08-16T05:27:08.339Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:08.620Z] ---> sigul-install.sh [2023-08-16T05:27:08.620Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-16T05:27:08.915Z] + git tag --list [2023-08-16T05:27:08.915Z] 0.7.1 [2023-08-16T05:27:08.915Z] delhi-tag [2023-08-16T05:27:08.915Z] v1.0.0 [2023-08-16T05:27:08.915Z] v1.1.0 [2023-08-16T05:27:08.915Z] v1.1.1 [2023-08-16T05:27:08.915Z] v1.1.2 [2023-08-16T05:27:08.915Z] v1.2.0 [2023-08-16T05:27:08.915Z] v1.2.1 [2023-08-16T05:27:08.915Z] v1.2.2 [2023-08-16T05:27:08.915Z] v1.2.3 [2023-08-16T05:27:08.915Z] v1.3.0 [2023-08-16T05:27:08.915Z] v1.4.0 [2023-08-16T05:27:08.915Z] v2.0.0 [2023-08-16T05:27:08.915Z] v2.1.0 [2023-08-16T05:27:08.915Z] v2.1.1 [2023-08-16T05:27:08.915Z] v2.2.0 [2023-08-16T05:27:08.915Z] v2.3.0 [2023-08-16T05:27:08.915Z] v2.3.1 [2023-08-16T05:27:08.915Z] v3.0 [2023-08-16T05:27:08.915Z] v3.0.0 [2023-08-16T05:27:08.915Z] v3.0.1-dev.1 [2023-08-16T05:27:08.915Z] v3.1.0-dev.1 [2023-08-16T05:27:08.915Z] v3.1.0-dev.10 [2023-08-16T05:27:08.915Z] v3.1.0-dev.11 [2023-08-16T05:27:08.915Z] v3.1.0-dev.12 [2023-08-16T05:27:08.915Z] v3.1.0-dev.13 [2023-08-16T05:27:08.915Z] v3.1.0-dev.2 [2023-08-16T05:27:08.915Z] v3.1.0-dev.3 [2023-08-16T05:27:08.915Z] v3.1.0-dev.4 [2023-08-16T05:27:08.915Z] v3.1.0-dev.5 [2023-08-16T05:27:08.915Z] v3.1.0-dev.6 [2023-08-16T05:27:08.915Z] v3.1.0-dev.7 [2023-08-16T05:27:08.915Z] v3.1.0-dev.8 [2023-08-16T05:27:08.915Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-16T05:27:09.200Z] + lftools sign git-tag v3.1.0-dev.13 [2023-08-16T05:27:09.768Z] Signing Git tag with Sigul... [2023-08-16T05:27:09.768Z] Signing v3.1.0-dev.13 [Pipeline] echo [2023-08-16T05:27:10.038Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:10.318Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-16T05:27:10.325Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-16T05:27:10.347Z] $ docker stop --time=1 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 [2023-08-16T05:27:11.608Z] $ docker rm -f --volumes 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-16T05:27:12.022Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T05:27:12.022Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:27:12.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:27:12.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:27:12.396Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:27:12.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-16T05:27:12.759Z] $ docker top 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T05:27:12.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T05:27:12.845Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T05:27:12.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T05:27:12.950Z] $ docker exec 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 ssh-agent [2023-08-16T05:27:13.055Z] SSH_AUTH_SOCK=/tmp/ssh-WAsp0FePomxc/agent.32 [2023-08-16T05:27:13.055Z] SSH_AGENT_PID=38 [2023-08-16T05:27:13.060Z] Running ssh-add (command line suppressed) [2023-08-16T05:27:13.160Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13981030489901553289.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13981030489901553289.key) [2023-08-16T05:27:13.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T05:27:13.461Z] + git semver bump pre [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [bump_version] DEBUG bumped version:3.1.0-dev.14 [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,629 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,632 [execute] INFO git cat-file --batch-check [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,637 [execute] INFO git cat-file --batch [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-16T05:27:13.720Z] 2023-08-16 05:27:13,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:27:13.720Z] 3.1.0-dev.14 [Pipeline] } [2023-08-16T05:27:13.729Z] $ docker exec --env ******** --env ******** 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 ssh-agent -k [2023-08-16T05:27:13.823Z] unset SSH_AUTH_SOCK; [2023-08-16T05:27:13.823Z] unset SSH_AGENT_PID; [2023-08-16T05:27:13.823Z] echo Agent pid 38 killed; [2023-08-16T05:27:13.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T05:27:14.131Z] + git semver [Pipeline] } [2023-08-16T05:27:14.401Z] $ docker stop --time=1 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 [2023-08-16T05:27:15.649Z] $ docker rm -f --volumes 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T05:27:15.989Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T05:27:15.989Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:27:16.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T05:27:16.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:27:16.370Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:27:16.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-16T05:27:16.729Z] $ docker top d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d -eo pid,comm [2023-08-16T05:27:16.774Z] 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-08-16T05:27:16.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T05:27:16.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T05:27:16.813Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T05:27:16.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T05:27:16.925Z] $ docker exec d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d ssh-agent [2023-08-16T05:27:17.024Z] SSH_AUTH_SOCK=/tmp/ssh-ikZUPcvkT5BO/agent.32 [2023-08-16T05:27:17.024Z] SSH_AGENT_PID=38 [2023-08-16T05:27:17.028Z] Running ssh-add (command line suppressed) [2023-08-16T05:27:17.126Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12905685377236025492.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12905685377236025492.key) [2023-08-16T05:27:17.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T05:27:17.420Z] + git semver push [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,606 [run_push] DEBUG push [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,607 [execute] INFO git cat-file --batch-check [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,611 [execute] INFO git rev-list c7e0e7d5e10c76d51a27145d66c18ea23ad66257 -- [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,611 [execute] DEBUG Popen(['git', 'rev-list', 'c7e0e7d5e10c76d51a27145d66c18ea23ad66257', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,624 [execute] INFO git fetch -v origin [2023-08-16T05:27:17.679Z] 2023-08-16 05:27:17,624 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-16T05:27:18.246Z] 2023-08-16 05:27:18,096 [run_push] DEBUG no remote changes detected [2023-08-16T05:27:18.246Z] 2023-08-16 05:27:18,097 [execute] INFO git push origin semver [2023-08-16T05:27:18.246Z] 2023-08-16 05:27:18,097 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-16T05:27:19.182Z] 2023-08-16 05:27:18,840 [run_push] DEBUG push all version tags [2023-08-16T05:27:19.182Z] 2023-08-16 05:27:18,840 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-16T05:27:19.182Z] 2023-08-16 05:27:18,841 [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-08-16T05:27:19.750Z] 2023-08-16 05:27:19,550 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-16T05:27:19.750Z] 3.1.0-dev.14 [Pipeline] } [2023-08-16T05:27:19.758Z] $ docker exec --env ******** --env ******** d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d ssh-agent -k [2023-08-16T05:27:19.852Z] unset SSH_AUTH_SOCK; [2023-08-16T05:27:19.852Z] unset SSH_AGENT_PID; [2023-08-16T05:27:19.852Z] echo Agent pid 38 killed; [2023-08-16T05:27:19.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T05:27:20.163Z] + git semver [Pipeline] } [2023-08-16T05:27:20.433Z] $ docker stop --time=1 d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d [2023-08-16T05:27:21.676Z] $ docker rm -f --volumes d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d [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-08-16T05:27:22.288Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-16T05:27:22.288Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-16T05:27:22.288Z] total 16 [2023-08-16T05:27:22.288Z] drwxr-xr-x 3 root root 4096 Aug 16 05:15 . [2023-08-16T05:27:22.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:27 .. [2023-08-16T05:27:22.288Z] drwxr-xr-x 2 root root 4096 Aug 16 05:15 cost [2023-08-16T05:27:22.288Z] -rw-r--r-- 1 root root 85 Aug 16 05:15 cost.csv [2023-08-16T05:27:22.288Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-16T05:27:22.288Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-16T05:27:22.288Z] total 16 [2023-08-16T05:27:22.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 05:15 . [2023-08-16T05:27:22.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:27 .. [2023-08-16T05:27:22.288Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 05:15 cost [2023-08-16T05:27:22.288Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 16 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:22.580Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:23.435Z] ---> package-listing.sh [2023-08-16T05:27:23.435Z] ++ facter osfamily [2023-08-16T05:27:23.435Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-16T05:27:23.694Z] + OS_FAMILY=debian [2023-08-16T05:27:23.694Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-16T05:27:23.694Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-16T05:27:23.694Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-16T05:27:23.694Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-16T05:27:23.694Z] + PACKAGES=/tmp/packages_start.txt [2023-08-16T05:27:23.694Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-16T05:27:23.694Z] + PACKAGES=/tmp/packages_end.txt [2023-08-16T05:27:23.694Z] + case "${OS_FAMILY}" in [2023-08-16T05:27:23.694Z] + dpkg -l [2023-08-16T05:27:23.694Z] + grep '^ii' [2023-08-16T05:27:23.694Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-16T05:27:23.694Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-16T05:27:23.694Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-16T05:27:23.694Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-16T05:27:23.694Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-16T05:27:23.694Z] + 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-08-16T05:27:23.705Z] 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-08-16T05:27:23.986Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:27:24.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T05:27:24.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:27:24.607Z] prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container [2023-08-16T05:27:24.635Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-16T05:27:24.846Z] $ docker top 4300f68484f4e626b6c04395e56041b567b21962245a99babbf74af2e16a65c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:27:25.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-16T05:27:25.464Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-16T05:27:25.745Z] + ls /var/log/sa-host [2023-08-16T05:27:25.745Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T05:27:25.901Z] provisioning config files... [2023-08-16T05:27:25.908Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18125489570389699767tmp [Pipeline] { [Pipeline] echo [2023-08-16T05:27:25.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:26.197Z] ---> create-netrc.sh [Pipeline] } [2023-08-16T05:27:26.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:26.529Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-16T05:27:26.537Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:26.819Z] ---> sudo-logs.sh [2023-08-16T05:27:26.819Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-16T05:27:26.846Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:27.191Z] ---> job-cost.sh [2023-08-16T05:27:27.191Z] lf-activate-venv: SKIPPING [2023-08-16T05:27:27.191Z] DEBUG: total: 0.2199999988079071 [2023-08-16T05:27:27.191Z] INFO: Retrieving Stack Cost... [2023-08-16T05:27:27.467Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T05:27:28.065Z] INFO: Archiving Costs [Pipeline] echo [2023-08-16T05:27:28.089Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:27:28.423Z] ---> logs-deploy.sh [2023-08-16T05:27:28.423Z] lf-activate-venv: SKIPPING [2023-08-16T05:27:28.423Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/242 [2023-08-16T05:27:28.423Z] INFO: archiving workspace using pattern(s): [2023-08-16T05:27:29.358Z] Archives upload complete. [2023-08-16T05:27:29.358Z] INFO: archiving logs to Nexus