Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73fd0cb522a429402bd3cc46187ecdcb61225433 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-ssh12295736035154224819.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10920267182308958715.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6994572876410083183.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12520663340281792550.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-ssh13837686125006120457.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16608’ Running on prd-ubuntu20.04-docker-8c-8g-16618 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 73fd0cb522a429402bd3cc46187ecdcb61225433 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462)" > 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 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 > git rev-list --no-walk c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-23T23:52:05.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-23T23:52:05.631Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-23T23:52:05.641Z] ========================================================= [2023-05-23T23:52:05.641Z] EdgeX Global Pipelines Version Info [2023-05-23T23:52:05.641Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:52:06.351Z] ------------------- [2023-05-23T23:52:06.352Z] stable info: [2023-05-23T23:52:06.352Z] ------------------- [2023-05-23T23:52:06.352Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-23T23:52:06.352Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T23:52:06.352Z] Message: update stable to v1.0.249 [2023-05-23T23:52:06.933Z] ------------------- [2023-05-23T23:52:06.933Z] experimental info: [2023-05-23T23:52:06.933Z] ------------------- [2023-05-23T23:52:06.933Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-23T23:52:06.933Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-23T23:52:06.933Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-23T23:52:07.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-23T23:52:07.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-23T23:52:07.099Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-23T23:52:07.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-23T23:52:07.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-23T23:52:07.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-23T23:52:07.197Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-23T23:52:07.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-23T23:52:07.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-23T23:52:07.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-23T23:52:07.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-23T23:52:07.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-23T23:52:07.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-23T23:52:07.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-23T23:52:07.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-23T23:52:07.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:52:07.329Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:52:07.339Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-23T23:52:07.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-23T23:52:07.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-23T23:52:07.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-23T23:52:07.385Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-23T23:52:07.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-23T23:52:07.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-23T23:52:07.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-23T23:52:07.440Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-23T23:52:07.455Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-23T23:52:07.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-23T23:52:07.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-23T23:52:07.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-23T23:52:07.514Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo [2023-05-23T23:52:07.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73fd0cb [Pipeline] echo [2023-05-23T23:52:07.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T23:52:07.590Z] provisioning config files... [2023-05-23T23:52:07.603Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1526345960449543423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:52:07.904Z] ---> docker-login.sh [2023-05-23T23:52:07.904Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:52:08.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:08.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:08.164Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:08.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:08.164Z] [2023-05-23T23:52:08.164Z] Login Succeeded [2023-05-23T23:52:08.164Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:52:08.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:08.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:08.164Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:08.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:08.164Z] [2023-05-23T23:52:08.164Z] Login Succeeded [2023-05-23T23:52:08.164Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:52:08.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:08.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:08.429Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:08.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:08.429Z] [2023-05-23T23:52:08.429Z] Login Succeeded [2023-05-23T23:52:08.429Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:52:08.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:08.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:08.429Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:08.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:08.429Z] [2023-05-23T23:52:08.429Z] Login Succeeded [2023-05-23T23:52:08.429Z] docker.io [2023-05-23T23:52:08.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:08.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:08.691Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:08.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:08.691Z] [2023-05-23T23:52:08.691Z] Login Succeeded [2023-05-23T23:52:08.691Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:52:08.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-23T23:52:09.051Z] + git rev-list -1 --merges 73fd0cb522a429402bd3cc46187ecdcb61225433~1..73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo [2023-05-23T23:52:09.101Z] -----------> git rev-list -1 --merges 73fd0cb522a429402bd3cc46187ecdcb61225433~1..73fd0cb522a429402bd3cc46187ecdcb61225433 73fd0cb522a429402bd3cc46187ecdcb61225433 [false] [Pipeline] sh [2023-05-23T23:52:09.389Z] + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo [2023-05-23T23:52:09.405Z] ========================================================= [2023-05-23T23:52:09.405Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-23T23:52:09.405Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T23:52:09.737Z] + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo [2023-05-23T23:52:09.749Z] [semverPrep] GIT_COMMIT: 73fd0cb522a429402bd3cc46187ecdcb61225433, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462) [Pipeline] echo [2023-05-23T23:52:09.761Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-23T23:52:10.113Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-23T23:52:10.113Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-23T23:52:10.113Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-23T23:52:10.113Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-23T23:52:10.113Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-23T23:52:10.113Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-23T23:52:10.113Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:52:10.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:52:10.459Z] [2023-05-23T23:52:10.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:52:10.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:52:10.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-23T23:52:10.762Z] b85a868b505f: Pulling fs layer [2023-05-23T23:52:10.762Z] e2be974225ed: Pulling fs layer [2023-05-23T23:52:10.762Z] 339a4e72a1f5: Pulling fs layer [2023-05-23T23:52:10.762Z] 988bab9f4d93: Pulling fs layer [2023-05-23T23:52:10.762Z] 1469e6f7b9e6: Pulling fs layer [2023-05-23T23:52:10.762Z] eaf3925da568: Pulling fs layer [2023-05-23T23:52:10.762Z] bab4dde63d76: Pulling fs layer [2023-05-23T23:52:10.762Z] bde34c3a00c8: Pulling fs layer [2023-05-23T23:52:10.762Z] b352a97aabf1: Pulling fs layer [2023-05-23T23:52:10.762Z] 4872d77fe225: Pulling fs layer [2023-05-23T23:52:10.762Z] 5851b861e8e6: Pulling fs layer [2023-05-23T23:52:10.762Z] 1469e6f7b9e6: Waiting [2023-05-23T23:52:10.762Z] eaf3925da568: Waiting [2023-05-23T23:52:10.762Z] bde34c3a00c8: Waiting [2023-05-23T23:52:10.762Z] bab4dde63d76: Waiting [2023-05-23T23:52:10.762Z] b352a97aabf1: Waiting [2023-05-23T23:52:10.762Z] 4872d77fe225: Waiting [2023-05-23T23:52:10.762Z] 5851b861e8e6: Waiting [2023-05-23T23:52:10.762Z] 988bab9f4d93: Waiting [2023-05-23T23:52:10.762Z] e2be974225ed: Verifying Checksum [2023-05-23T23:52:10.762Z] e2be974225ed: Download complete [2023-05-23T23:52:10.762Z] 988bab9f4d93: Verifying Checksum [2023-05-23T23:52:10.762Z] 988bab9f4d93: Download complete [2023-05-23T23:52:10.762Z] 1469e6f7b9e6: Verifying Checksum [2023-05-23T23:52:10.762Z] 1469e6f7b9e6: Download complete [2023-05-23T23:52:10.762Z] eaf3925da568: Verifying Checksum [2023-05-23T23:52:10.762Z] eaf3925da568: Download complete [2023-05-23T23:52:11.021Z] 339a4e72a1f5: Verifying Checksum [2023-05-23T23:52:11.021Z] 339a4e72a1f5: Download complete [2023-05-23T23:52:11.021Z] bde34c3a00c8: Verifying Checksum [2023-05-23T23:52:11.021Z] bde34c3a00c8: Download complete [2023-05-23T23:52:11.021Z] b352a97aabf1: Download complete [2023-05-23T23:52:11.021Z] 4872d77fe225: Verifying Checksum [2023-05-23T23:52:11.021Z] 4872d77fe225: Download complete [2023-05-23T23:52:11.021Z] 5851b861e8e6: Verifying Checksum [2023-05-23T23:52:11.021Z] 5851b861e8e6: Download complete [2023-05-23T23:52:11.021Z] b85a868b505f: Verifying Checksum [2023-05-23T23:52:11.021Z] b85a868b505f: Download complete [2023-05-23T23:52:11.281Z] bab4dde63d76: Verifying Checksum [2023-05-23T23:52:11.281Z] bab4dde63d76: Download complete [2023-05-23T23:52:12.217Z] b85a868b505f: Pull complete [2023-05-23T23:52:12.217Z] e2be974225ed: Pull complete [2023-05-23T23:52:12.785Z] 339a4e72a1f5: Pull complete [2023-05-23T23:52:13.044Z] 988bab9f4d93: Pull complete [2023-05-23T23:52:13.303Z] 1469e6f7b9e6: Pull complete [2023-05-23T23:52:13.303Z] eaf3925da568: Pull complete [2023-05-23T23:52:15.207Z] bab4dde63d76: Pull complete [2023-05-23T23:52:15.207Z] bde34c3a00c8: Pull complete [2023-05-23T23:52:15.207Z] b352a97aabf1: Pull complete [2023-05-23T23:52:15.207Z] 4872d77fe225: Pull complete [2023-05-23T23:52:15.466Z] 5851b861e8e6: Pull complete [2023-05-23T23:52:15.466Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-23T23:52:15.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-23T23:52:15.466Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:52:15.558Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-23T23:52:15.593Z] $ 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-05-23T23:52:18.455Z] $ docker top 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb -eo pid,comm [2023-05-23T23:52:18.508Z] 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-05-23T23:52:18.508Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-23T23:52:18.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T23:52:18.553Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T23:52:18.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T23:52:18.671Z] $ docker exec 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent [2023-05-23T23:52:18.767Z] SSH_AUTH_SOCK=/tmp/ssh-PWifGq4XdOuO/agent.32 [2023-05-23T23:52:18.767Z] SSH_AGENT_PID=38 [2023-05-23T23:52:18.773Z] Running ssh-add (command line suppressed) [2023-05-23T23:52:18.868Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2418224439891535040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2418224439891535040.key) [2023-05-23T23:52:18.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T23:52:19.165Z] + git tag --points-at HEAD [Pipeline] } [2023-05-23T23:52:19.182Z] $ docker exec --env ******** --env ******** 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent -k [2023-05-23T23:52:19.274Z] unset SSH_AUTH_SOCK; [2023-05-23T23:52:19.275Z] unset SSH_AGENT_PID; [2023-05-23T23:52:19.275Z] echo Agent pid 38 killed; [2023-05-23T23:52:19.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-23T23:52:19.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-23T23:52:19.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-23T23:52:19.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-23T23:52:19.424Z] $ docker exec 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent [2023-05-23T23:52:19.528Z] SSH_AUTH_SOCK=/tmp/ssh-KqySLqqTnw75/agent.70 [2023-05-23T23:52:19.528Z] SSH_AGENT_PID=76 [2023-05-23T23:52:19.534Z] Running ssh-add (command line suppressed) [2023-05-23T23:52:19.641Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712879928303717828.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712879928303717828.key) [2023-05-23T23:52:19.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-23T23:52:19.937Z] + git semver init [2023-05-23T23:52:20.197Z] 2023-05-23 23:52:20,135 [run_init] DEBUG init version:0.0.0 force:False [2023-05-23T23:52:20.197Z] 2023-05-23 23:52:20,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-05-23T23:52:20.197Z] 2023-05-23 23:52:20,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-05-23T23:52:20.197Z] 2023-05-23 23:52:20,137 [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-05-23T23:52:21.136Z] 2023-05-23 23:52:21,003 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-05-23T23:52:21.136Z] 2023-05-23 23:52:21,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-05-23T23:52:21.136Z] 2023-05-23 23:52:21,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-23T23:52:21.136Z] 2023-05-23 23:52:21,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-23T23:52:21.136Z] 3.0.0-dev.94 [Pipeline] } [2023-05-23T23:52:21.148Z] $ docker exec --env ******** --env ******** 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent -k [2023-05-23T23:52:21.254Z] unset SSH_AUTH_SOCK; [2023-05-23T23:52:21.254Z] unset SSH_AGENT_PID; [2023-05-23T23:52:21.255Z] echo Agent pid 76 killed; [2023-05-23T23:52:21.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-23T23:52:21.559Z] + git semver [Pipeline] } [2023-05-23T23:52:21.836Z] $ docker stop --time=1 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb [2023-05-23T23:52:23.170Z] $ docker rm -f --volumes 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T23:52:23.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-23T23:52:23.715Z] Stashed 1 file(s) [Pipeline] echo [2023-05-23T23:52:23.718Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.94 [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-05-23T23:52:23.821Z] provisioning config files... [2023-05-23T23:52:23.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9297964581993616986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:52:24.131Z] ---> docker-login.sh [2023-05-23T23:52:24.131Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:52:24.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:24.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:24.131Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:24.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:24.131Z] [2023-05-23T23:52:24.131Z] Login Succeeded [2023-05-23T23:52:24.131Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:52:24.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:24.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:24.131Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:24.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:24.131Z] [2023-05-23T23:52:24.131Z] Login Succeeded [2023-05-23T23:52:24.131Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:52:24.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:24.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:24.391Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:24.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:24.391Z] [2023-05-23T23:52:24.391Z] Login Succeeded [2023-05-23T23:52:24.391Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:52:24.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:24.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:24.391Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:24.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:24.391Z] [2023-05-23T23:52:24.391Z] Login Succeeded [2023-05-23T23:52:24.391Z] docker.io [2023-05-23T23:52:24.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:52:24.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:52:24.652Z] Configure a credential helper to remove this warning. See [2023-05-23T23:52:24.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:52:24.652Z] [2023-05-23T23:52:24.652Z] Login Succeeded [2023-05-23T23:52:24.652Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:52:24.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T23:52:24.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:52:24.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:52:24.747Z] ========================================================= [2023-05-23T23:52:24.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-23T23:52:24.747Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:52:25.054Z] + 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-05-23T23:52:25.054Z] Sending build context to Docker daemon 11.17MB [2023-05-23T23:52:25.054Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:52:25.054Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-23T23:52:25.054Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-23T23:52:25.054Z] f56be85fc22e: Pulling fs layer [2023-05-23T23:52:25.054Z] 85791d961cd3: Pulling fs layer [2023-05-23T23:52:25.054Z] d694b5ae8c79: Pulling fs layer [2023-05-23T23:52:25.054Z] 9f32a84ed3da: Pulling fs layer [2023-05-23T23:52:25.054Z] 4d19c01a9841: Pulling fs layer [2023-05-23T23:52:25.054Z] 9325e15d5711: Pulling fs layer [2023-05-23T23:52:25.054Z] 556b6ee489ea: Pulling fs layer [2023-05-23T23:52:25.055Z] c5a4b2cf53e6: Pulling fs layer [2023-05-23T23:52:25.055Z] 9f32a84ed3da: Waiting [2023-05-23T23:52:25.055Z] 4d19c01a9841: Waiting [2023-05-23T23:52:25.055Z] c5a4b2cf53e6: Waiting [2023-05-23T23:52:25.055Z] 556b6ee489ea: Waiting [2023-05-23T23:52:25.055Z] 9325e15d5711: Waiting [2023-05-23T23:52:25.055Z] 85791d961cd3: Verifying Checksum [2023-05-23T23:52:25.055Z] 85791d961cd3: Download complete [2023-05-23T23:52:25.314Z] 9f32a84ed3da: Download complete [2023-05-23T23:52:25.314Z] 4d19c01a9841: Verifying Checksum [2023-05-23T23:52:25.314Z] 4d19c01a9841: Download complete [2023-05-23T23:52:25.314Z] f56be85fc22e: Verifying Checksum [2023-05-23T23:52:25.314Z] f56be85fc22e: Download complete [2023-05-23T23:52:25.314Z] 9325e15d5711: Verifying Checksum [2023-05-23T23:52:25.314Z] 9325e15d5711: Download complete [2023-05-23T23:52:25.314Z] f56be85fc22e: Pull complete [2023-05-23T23:52:25.574Z] 85791d961cd3: Pull complete [2023-05-23T23:52:25.574Z] c5a4b2cf53e6: Verifying Checksum [2023-05-23T23:52:25.574Z] c5a4b2cf53e6: Download complete [2023-05-23T23:52:25.832Z] d694b5ae8c79: Verifying Checksum [2023-05-23T23:52:25.832Z] d694b5ae8c79: Download complete [2023-05-23T23:52:26.091Z] 556b6ee489ea: Verifying Checksum [2023-05-23T23:52:26.091Z] 556b6ee489ea: Download complete [2023-05-23T23:52:29.376Z] d694b5ae8c79: Pull complete [2023-05-23T23:52:29.376Z] 9f32a84ed3da: Pull complete [2023-05-23T23:52:29.376Z] 4d19c01a9841: Pull complete [2023-05-23T23:52:29.376Z] 9325e15d5711: Pull complete [2023-05-23T23:52:31.278Z] 556b6ee489ea: Pull complete [2023-05-23T23:52:32.215Z] c5a4b2cf53e6: Pull complete [2023-05-23T23:52:32.215Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-23T23:52:32.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-23T23:52:32.215Z] ---> c4be618373d6 [2023-05-23T23:52:32.215Z] Step 3/10 : ARG MAKE=make build [2023-05-23T23:52:36.415Z] ---> Running in 73aeb8a50b3f [2023-05-23T23:52:36.415Z] Removing intermediate container 73aeb8a50b3f [2023-05-23T23:52:36.415Z] ---> dff1ac938867 [2023-05-23T23:52:36.415Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-23T23:52:36.415Z] ---> Running in 1a5ccec8a431 [2023-05-23T23:52:36.415Z] Removing intermediate container 1a5ccec8a431 [2023-05-23T23:52:36.415Z] ---> d19b48c9881d [2023-05-23T23:52:36.415Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:52:36.415Z] ---> Running in a942eadd9d91 [2023-05-23T23:52:36.415Z] Removing intermediate container a942eadd9d91 [2023-05-23T23:52:36.415Z] ---> 73eb1c75e3ee [2023-05-23T23:52:36.415Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-23T23:52:36.676Z] ---> Running in 292f7b44905f [2023-05-23T23:52:36.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:52:36.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:52:37.198Z] OK: 265 MiB in 53 packages [2023-05-23T23:52:37.460Z] Removing intermediate container 292f7b44905f [2023-05-23T23:52:37.460Z] ---> 21ee7ddfb6f6 [2023-05-23T23:52:37.460Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-23T23:52:37.719Z] ---> b2606b3efbe9 [2023-05-23T23:52:37.719Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:52:37.719Z] ---> Running in a407803c71a1 [2023-05-23T23:52:38.788Z] Still waiting to schedule task [2023-05-23T23:52:38.788Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16609’ [2023-05-23T23:53:04.283Z] Removing intermediate container a407803c71a1 [2023-05-23T23:53:04.283Z] ---> 9655568161f4 [2023-05-23T23:53:04.283Z] Step 9/10 : COPY . . [2023-05-23T23:53:04.283Z] ---> 68b1159e0fdb [2023-05-23T23:53:04.283Z] Step 10/10 : RUN ${MAKE} [2023-05-23T23:53:04.283Z] ---> Running in ef7935297207 [2023-05-23T23:53:04.283Z] noop [2023-05-23T23:53:04.283Z] Removing intermediate container ef7935297207 [2023-05-23T23:53:04.283Z] ---> d8ade24b2e38 [2023-05-23T23:53:04.283Z] Successfully built d8ade24b2e38 [2023-05-23T23:53:04.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:53:04.600Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T23:53:04.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:53:04.676Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-23T23:53:04.707Z] $ 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-05-23T23:53:05.073Z] $ docker top 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:53:05.426Z] + go version [2023-05-23T23:53:05.426Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-23T23:53:05.443Z] $ docker stop --time=1 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d [2023-05-23T23:53:06.740Z] $ docker rm -f --volumes 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:53:07.149Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-23T23:53:07.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:53:07.230Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-23T23:53:07.266Z] $ 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-05-23T23:53:07.626Z] $ docker top 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:53:07.981Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-23T23:53:08.280Z] + make test [2023-05-23T23:53:08.280Z] go test -race -coverprofile=coverage.out ./... [2023-05-23T23:53:16.410Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-23T23:53:31.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-05-23T23:53:31.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 80.2% of statements [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-23T23:53:31.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-23T23:53:31.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-05-23T23:53:31.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-23T23:53:31.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-23T23:53:31.866Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.104s coverage: 77.5% of statements [2023-05-23T23:53:31.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-23T23:53:31.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-23T23:53:32.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-23T23:53:34.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.059s coverage: 14.3% of statements [2023-05-23T23:53:34.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 68.5% of statements [2023-05-23T23:53:34.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-05-23T23:53:34.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements [2023-05-23T23:53:56.650Z] GO111MODULE=on go vet ./... [2023-05-23T23:53:59.194Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-23T23:53:59.194Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-23T23:53:59.194Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-23T23:53:59.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-23T23:53:59.473Z] $ docker stop --time=1 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 [2023-05-23T23:54:02.307Z] $ docker rm -f --volumes 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-23T23:54:02.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-23T23:54:02.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-23T23:54:03.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-23T23:54:03.785Z] + ls -al . [2023-05-23T23:54:03.785Z] total 272 [2023-05-23T23:54:03.785Z] drwxrwxr-x 11 jenkins jenkins 4096 May 23 23:53 . [2023-05-23T23:54:03.785Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:52 .. [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:52 .dockerignore [2023-05-23T23:54:03.785Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:52 .git [2023-05-23T23:54:03.785Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:52 .github [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:52 .gitignore [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:52 .golangci.yml [2023-05-23T23:54:03.785Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:52 .semver [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:52 CHANGELOG.md [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:52 GOVERNANCE.md [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:52 Jenkinsfile [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:52 LICENSE [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:52 Makefile [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:52 OWNERS.md [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:52 README.md [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 12 May 23 23:52 VERSION [2023-05-23T23:54:03.785Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:52 bin [2023-05-23T23:54:03.785Z] -rw-r--r-- 1 jenkins jenkins 106152 May 23 23:53 coverage.out [2023-05-23T23:54:03.785Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:52 example [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:52 go.mod [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:52 go.sum [2023-05-23T23:54:03.785Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:52 internal [2023-05-23T23:54:03.785Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:52 openapi [2023-05-23T23:54:03.785Z] drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:52 pkg [2023-05-23T23:54:03.785Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:52 snap [2023-05-23T23:54:03.785Z] -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:54:04.092Z] + 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=73fd0cb522a429402bd3cc46187ecdcb61225433 --label arch=amd64 --label version=3.0.0-dev.94 . [2023-05-23T23:54:04.092Z] Sending build context to Docker daemon 11.27MB [2023-05-23T23:54:04.092Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:54:04.092Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-23T23:54:04.092Z] ---> d8ade24b2e38 [2023-05-23T23:54:04.092Z] Step 3/23 : ARG MAKE=make build [2023-05-23T23:54:04.350Z] ---> Running in b3c63e014857 [2023-05-23T23:54:04.350Z] Removing intermediate container b3c63e014857 [2023-05-23T23:54:04.350Z] ---> d92e239de2ad [2023-05-23T23:54:04.350Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-23T23:54:04.350Z] ---> Running in 5ee04ffdbcbe [2023-05-23T23:54:04.350Z] Removing intermediate container 5ee04ffdbcbe [2023-05-23T23:54:04.350Z] ---> 7ffe2cb7301b [2023-05-23T23:54:04.350Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:54:04.350Z] ---> Running in 271bfdade776 [2023-05-23T23:54:04.610Z] Removing intermediate container 271bfdade776 [2023-05-23T23:54:04.610Z] ---> 5078a1857de3 [2023-05-23T23:54:04.610Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-23T23:54:04.610Z] ---> Running in 048be198ef17 [2023-05-23T23:54:04.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:54:04.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:54:05.127Z] OK: 265 MiB in 53 packages [2023-05-23T23:54:05.385Z] Removing intermediate container 048be198ef17 [2023-05-23T23:54:05.385Z] ---> 8817c823ac87 [2023-05-23T23:54:05.385Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-23T23:54:05.644Z] ---> b21f533d0492 [2023-05-23T23:54:05.644Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:54:05.644Z] ---> Running in defe55f694e1 [2023-05-23T23:54:06.581Z] Removing intermediate container defe55f694e1 [2023-05-23T23:54:06.581Z] ---> 25d5be002b65 [2023-05-23T23:54:06.581Z] Step 9/23 : COPY . . [2023-05-23T23:54:06.840Z] ---> 5f3d3c1e2cc6 [2023-05-23T23:54:06.840Z] Step 10/23 : RUN ${MAKE} [2023-05-23T23:54:06.840Z] ---> Running in 03965cc006f8 [2023-05-23T23:54:07.099Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.94" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-23T23:54:29.030Z] Removing intermediate container 03965cc006f8 [2023-05-23T23:54:29.030Z] ---> 31bb4cc37455 [2023-05-23T23:54:29.030Z] Step 11/23 : FROM alpine:3.17 [2023-05-23T23:54:29.030Z] 3.17: Pulling from library/alpine [2023-05-23T23:54:29.030Z] f56be85fc22e: Already exists [2023-05-23T23:54:29.030Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-23T23:54:29.030Z] Status: Downloaded newer image for alpine:3.17 [2023-05-23T23:54:29.030Z] ---> 9ed4aefc74f6 [2023-05-23T23:54:29.030Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-23T23:54:29.030Z] ---> Running in 79d2eaef9556 [2023-05-23T23:54:29.030Z] Removing intermediate container 79d2eaef9556 [2023-05-23T23:54:29.030Z] ---> e2f689ff59bf [2023-05-23T23:54:29.030Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-23T23:54:29.030Z] ---> Running in b39ec0f934f6 [2023-05-23T23:54:29.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-23T23:54:29.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-23T23:54:29.031Z] OK: 7 MiB in 15 packages [2023-05-23T23:54:29.031Z] Removing intermediate container b39ec0f934f6 [2023-05-23T23:54:29.031Z] ---> cef24087e00a [2023-05-23T23:54:29.031Z] Step 14/23 : WORKDIR / [2023-05-23T23:54:29.031Z] ---> Running in f8fde5e0b24b [2023-05-23T23:54:29.031Z] Removing intermediate container f8fde5e0b24b [2023-05-23T23:54:29.031Z] ---> 35719b29b732 [2023-05-23T23:54:29.031Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-23T23:54:29.031Z] ---> 50afd6a80717 [2023-05-23T23:54:29.031Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-23T23:54:29.031Z] ---> 623d5ebd1fd6 [2023-05-23T23:54:29.031Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-23T23:54:29.031Z] ---> 1235bdc4dd75 [2023-05-23T23:54:29.031Z] Step 18/23 : EXPOSE 59999 [2023-05-23T23:54:29.031Z] ---> Running in 22b0ded9691e [2023-05-23T23:54:29.031Z] Removing intermediate container 22b0ded9691e [2023-05-23T23:54:29.031Z] ---> 5e53a646611e [2023-05-23T23:54:29.031Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-23T23:54:29.031Z] ---> Running in 0b506557cd0e [2023-05-23T23:54:29.031Z] Removing intermediate container 0b506557cd0e [2023-05-23T23:54:29.031Z] ---> 2e36e61b9e18 [2023-05-23T23:54:29.031Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-23T23:54:29.031Z] ---> Running in 438cdc4b36e2 [2023-05-23T23:54:29.031Z] Removing intermediate container 438cdc4b36e2 [2023-05-23T23:54:29.031Z] ---> ac4f53a3f402 [2023-05-23T23:54:29.031Z] Step 21/23 : LABEL arch=amd64 [2023-05-23T23:54:29.031Z] ---> Running in 4472b68ae98d [2023-05-23T23:54:29.031Z] Removing intermediate container 4472b68ae98d [2023-05-23T23:54:29.031Z] ---> f43705c2337e [2023-05-23T23:54:29.031Z] Step 22/23 : LABEL git_sha=73fd0cb522a429402bd3cc46187ecdcb61225433 [2023-05-23T23:54:29.031Z] ---> Running in f7e7f8daed01 [2023-05-23T23:54:29.031Z] Removing intermediate container f7e7f8daed01 [2023-05-23T23:54:29.031Z] ---> 349921a80280 [2023-05-23T23:54:29.031Z] Step 23/23 : LABEL version=3.0.0-dev.94 [2023-05-23T23:54:29.031Z] ---> Running in 278adcd59dae [2023-05-23T23:54:29.031Z] Removing intermediate container 278adcd59dae [2023-05-23T23:54:29.031Z] ---> a97904de9ee8 [2023-05-23T23:54:29.031Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-23T23:54:29.031Z] Successfully built a97904de9ee8 [2023-05-23T23:54:29.031Z] 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-05-23T23:54:29.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:54:29.459Z] [2023-05-23T23:54:29.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:54:29.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:54:29.753Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-23T23:54:29.753Z] 5eb5b503b376: Pulling fs layer [2023-05-23T23:54:29.753Z] 5c69ac0246d0: Pulling fs layer [2023-05-23T23:54:29.753Z] ec43610c2a17: Pulling fs layer [2023-05-23T23:54:29.753Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-23T23:54:29.753Z] 33b1e0a273af: Pulling fs layer [2023-05-23T23:54:29.753Z] 5d3b04190fa2: Pulling fs layer [2023-05-23T23:54:29.753Z] 2f39f015ded8: Pulling fs layer [2023-05-23T23:54:29.753Z] 3a2ae6a8a46f: Waiting [2023-05-23T23:54:29.753Z] 33b1e0a273af: Waiting [2023-05-23T23:54:29.753Z] 5d3b04190fa2: Waiting [2023-05-23T23:54:29.753Z] 2f39f015ded8: Waiting [2023-05-23T23:54:29.753Z] 5c69ac0246d0: Verifying Checksum [2023-05-23T23:54:29.753Z] 5c69ac0246d0: Download complete [2023-05-23T23:54:29.753Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-23T23:54:29.753Z] 3a2ae6a8a46f: Download complete [2023-05-23T23:54:29.753Z] 33b1e0a273af: Verifying Checksum [2023-05-23T23:54:29.753Z] 33b1e0a273af: Download complete [2023-05-23T23:54:29.753Z] ec43610c2a17: Verifying Checksum [2023-05-23T23:54:29.753Z] 5d3b04190fa2: Download complete [2023-05-23T23:54:30.011Z] 5eb5b503b376: Verifying Checksum [2023-05-23T23:54:30.011Z] 5eb5b503b376: Download complete [2023-05-23T23:54:30.576Z] 2f39f015ded8: Download complete [2023-05-23T23:54:31.142Z] 5eb5b503b376: Pull complete [2023-05-23T23:54:31.142Z] 5c69ac0246d0: Pull complete [2023-05-23T23:54:31.707Z] ec43610c2a17: Pull complete [2023-05-23T23:54:31.707Z] 3a2ae6a8a46f: Pull complete [2023-05-23T23:54:31.966Z] 33b1e0a273af: Pull complete [2023-05-23T23:54:31.966Z] 5d3b04190fa2: Pull complete [2023-05-23T23:54:37.279Z] 2f39f015ded8: Pull complete [2023-05-23T23:54:37.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-23T23:54:37.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-23T23:54:37.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:54:37.365Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-23T23:54:37.399Z] $ 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-05-23T23:54:40.632Z] $ docker top 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:54:41.012Z] ---> job-cost.sh [2023-05-23T23:54:41.012Z] lf-activate-venv: SKIPPING [2023-05-23T23:54:41.012Z] INFO: No Stack... [2023-05-23T23:54:41.271Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-23T23:54:41.530Z] INFO: Archiving Costs [Pipeline] sh [2023-05-23T23:54:41.832Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-05-23T23:54:41.832Z] + cut -d, -f6 [Pipeline] lock [2023-05-23T23:54:41.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [2023-05-23T23:54:41.852Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] did not exist. Created. [2023-05-23T23:54:41.852Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-23T23:54:42.161Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-23T23:54:42.195Z] Stashed 1 file(s) [Pipeline] } [2023-05-23T23:54:42.201Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-23T23:54:42.226Z] $ docker stop --time=1 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 [2023-05-23T23:54:43.386Z] $ docker rm -f --volumes 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-23T23:55:54.176Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16620 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-05-23T23:55:54.188Z] Running in /w/workspace/device-sdk-go/225 [Pipeline] { [Pipeline] checkout [2023-05-23T23:55:54.232Z] The recommended git tool is: git [2023-05-23T23:56:00.298Z] using credential edgex-jenkins-ssh [2023-05-23T23:56:00.317Z] Cloning the remote Git repository [2023-05-23T23:56:00.370Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-23T23:56:00.484Z] > git init /w/workspace/device-sdk-go/225 # timeout=10 [2023-05-23T23:56:00.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-23T23:56:00.649Z] > git --version # timeout=10 [2023-05-23T23:56:00.670Z] > git --version # 'git version 2.25.1' [2023-05-23T23:56:00.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-23T23:56:00.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T23:56:02.578Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-23T23:56:02.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-23T23:56:03.586Z] Avoid second fetch [2023-05-23T23:56:03.586Z] Checking out Revision 73fd0cb522a429402bd3cc46187ecdcb61225433 (main) [2023-05-23T23:56:04.277Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462)" [2023-05-23T23:56:03.609Z] > git config core.sparsecheckout # timeout=10 [2023-05-23T23:56:03.699Z] > git checkout -f 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-23T23:56:05.174Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-23T23:56:05.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-23T23:56:05.174Z] Dload Upload Total Spent Left Speed [2023-05-23T23:56:05.174Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-05-23T23:56:05.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-23T23:56:06.278Z] + sudo tee /etc/docker/daemon.new [2023-05-23T23:56:06.278Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-23T23:56:06.278Z] { [2023-05-23T23:56:06.278Z] "registry-mirrors": [ [2023-05-23T23:56:06.278Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-23T23:56:06.278Z] ], [2023-05-23T23:56:06.278Z] "bip": "10.250.0.254/24", [2023-05-23T23:56:06.278Z] "hosts": [ [2023-05-23T23:56:06.278Z] "tcp://0.0.0.0:5555", [2023-05-23T23:56:06.278Z] "unix:///var/run/docker.sock" [2023-05-23T23:56:06.278Z] ], [2023-05-23T23:56:06.278Z] "mtu": 1458, [2023-05-23T23:56:06.278Z] "selinux-enabled": true, [2023-05-23T23:56:06.278Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-23T23:56:06.278Z] } [Pipeline] sh [2023-05-23T23:56:06.623Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-23T23:56:06.976Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-23T23:56:25.284Z] provisioning config files... [2023-05-23T23:56:25.321Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/225@tmp/config16420850003538188747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-23T23:56:25.701Z] ---> docker-login.sh [2023-05-23T23:56:25.701Z] nexus3.edgexfoundry.org:10001 [2023-05-23T23:56:26.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:56:26.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:56:26.563Z] Configure a credential helper to remove this warning. See [2023-05-23T23:56:26.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:56:26.563Z] [2023-05-23T23:56:26.563Z] Login Succeeded [2023-05-23T23:56:26.563Z] nexus3.edgexfoundry.org:10002 [2023-05-23T23:56:26.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:56:26.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:56:26.836Z] Configure a credential helper to remove this warning. See [2023-05-23T23:56:26.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:56:26.836Z] [2023-05-23T23:56:26.836Z] Login Succeeded [2023-05-23T23:56:26.836Z] nexus3.edgexfoundry.org:10003 [2023-05-23T23:56:27.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:56:27.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:56:27.377Z] Configure a credential helper to remove this warning. See [2023-05-23T23:56:27.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:56:27.377Z] [2023-05-23T23:56:27.377Z] Login Succeeded [2023-05-23T23:56:27.377Z] nexus3.edgexfoundry.org:10004 [2023-05-23T23:56:27.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:56:27.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:56:27.651Z] Configure a credential helper to remove this warning. See [2023-05-23T23:56:27.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:56:27.651Z] [2023-05-23T23:56:27.651Z] Login Succeeded [2023-05-23T23:56:27.651Z] docker.io [2023-05-23T23:56:27.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-23T23:56:28.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-23T23:56:28.193Z] Configure a credential helper to remove this warning. See [2023-05-23T23:56:28.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-23T23:56:28.193Z] [2023-05-23T23:56:28.193Z] Login Succeeded [2023-05-23T23:56:28.193Z] ---> docker-login.sh ends [Pipeline] } [2023-05-23T23:56:28.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-23T23:56:28.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:56:28.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-23T23:56:28.536Z] ========================================================= [2023-05-23T23:56:28.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-23T23:56:28.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:56:28.892Z] + 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-05-23T23:56:29.493Z] Sending build context to Docker daemon 6.003MB [2023-05-23T23:56:29.493Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-23T23:56:29.493Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-23T23:56:29.493Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-23T23:56:29.493Z] c41833b44d91: Pulling fs layer [2023-05-23T23:56:29.493Z] ed15518f5707: Pulling fs layer [2023-05-23T23:56:29.493Z] feae8fd75edb: Pulling fs layer [2023-05-23T23:56:29.493Z] 242c74f7c9fa: Pulling fs layer [2023-05-23T23:56:29.493Z] 3cdef696dda3: Pulling fs layer [2023-05-23T23:56:29.493Z] 2ced38df9373: Pulling fs layer [2023-05-23T23:56:29.493Z] 3cdef696dda3: Waiting [2023-05-23T23:56:29.493Z] 242c74f7c9fa: Waiting [2023-05-23T23:56:29.493Z] 58f1dce35555: Pulling fs layer [2023-05-23T23:56:29.493Z] 2ced38df9373: Waiting [2023-05-23T23:56:29.493Z] ed15518f5707: Verifying Checksum [2023-05-23T23:56:29.493Z] ed15518f5707: Download complete [2023-05-23T23:56:29.493Z] 242c74f7c9fa: Download complete [2023-05-23T23:56:29.493Z] 3cdef696dda3: Verifying Checksum [2023-05-23T23:56:29.493Z] 3cdef696dda3: Download complete [2023-05-23T23:56:29.764Z] c41833b44d91: Verifying Checksum [2023-05-23T23:56:29.764Z] c41833b44d91: Download complete [2023-05-23T23:56:31.212Z] c41833b44d91: Pull complete [2023-05-23T23:56:31.212Z] 58f1dce35555: Verifying Checksum [2023-05-23T23:56:31.212Z] 58f1dce35555: Download complete [2023-05-23T23:56:31.489Z] ed15518f5707: Pull complete [2023-05-23T23:56:32.472Z] feae8fd75edb: Verifying Checksum [2023-05-23T23:56:32.472Z] feae8fd75edb: Download complete [2023-05-23T23:56:32.472Z] 2ced38df9373: Verifying Checksum [2023-05-23T23:56:32.472Z] 2ced38df9373: Download complete [2023-05-23T23:56:44.823Z] feae8fd75edb: Pull complete [2023-05-23T23:56:44.823Z] 242c74f7c9fa: Pull complete [2023-05-23T23:56:44.823Z] 3cdef696dda3: Pull complete [2023-05-23T23:56:50.201Z] 2ced38df9373: Pull complete [2023-05-23T23:56:52.819Z] 58f1dce35555: Pull complete [2023-05-23T23:56:52.819Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-23T23:56:52.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-23T23:56:52.819Z] ---> fadd8f120f05 [2023-05-23T23:56:52.819Z] Step 3/10 : ARG MAKE=make build [2023-05-23T23:56:54.877Z] ---> Running in b0c896f1d6f6 [2023-05-23T23:56:54.877Z] Removing intermediate container b0c896f1d6f6 [2023-05-23T23:56:54.877Z] ---> 933a472de667 [2023-05-23T23:56:54.877Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-23T23:56:55.148Z] ---> Running in efbcee558cd8 [2023-05-23T23:56:55.419Z] Removing intermediate container efbcee558cd8 [2023-05-23T23:56:55.419Z] ---> f73d5576003b [2023-05-23T23:56:55.419Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-23T23:56:55.419Z] ---> Running in 405834645ebd [2023-05-23T23:56:56.009Z] Removing intermediate container 405834645ebd [2023-05-23T23:56:56.009Z] ---> c3e6f88b274b [2023-05-23T23:56:56.009Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-23T23:56:56.009Z] ---> Running in f8dc4be5cd4f [2023-05-23T23:56:57.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-23T23:56:58.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-23T23:56:59.045Z] OK: 263 MiB in 53 packages [2023-05-23T23:57:02.425Z] Removing intermediate container f8dc4be5cd4f [2023-05-23T23:57:02.425Z] ---> 35b6f8ed7655 [2023-05-23T23:57:02.425Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-23T23:57:02.425Z] ---> f873898dbaa3 [2023-05-23T23:57:02.425Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-23T23:57:02.425Z] ---> Running in 9290515d5f97 [2023-05-23T23:58:10.357Z] Removing intermediate container 9290515d5f97 [2023-05-23T23:58:10.357Z] ---> 2ecbcd88054a [2023-05-23T23:58:10.357Z] Step 9/10 : COPY . . [2023-05-23T23:58:10.357Z] ---> b8d84f3a6cbf [2023-05-23T23:58:10.357Z] Step 10/10 : RUN ${MAKE} [2023-05-23T23:58:10.357Z] ---> Running in 087b0f518618 [2023-05-23T23:58:10.357Z] noop [2023-05-23T23:58:10.357Z] Removing intermediate container 087b0f518618 [2023-05-23T23:58:10.357Z] ---> 736f1092e263 [2023-05-23T23:58:10.357Z] Successfully built 736f1092e263 [2023-05-23T23:58:10.357Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:58:10.707Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T23:58:10.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:58:10.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container [2023-05-23T23:58:11.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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-05-23T23:58:12.382Z] $ docker top ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:58:13.246Z] + go version [2023-05-23T23:58:13.246Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-23T23:58:13.276Z] $ docker stop --time=1 ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f [2023-05-23T23:58:14.894Z] $ docker rm -f --volumes ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-23T23:58:15.437Z] + docker inspect -f . ci-base-image-arm64 [2023-05-23T23:58:15.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-23T23:58:15.621Z] prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container [2023-05-23T23:58:15.701Z] $ 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/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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-05-23T23:58:16.844Z] $ docker top f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-23T23:58:17.663Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/225 [Pipeline] fileExists [Pipeline] sh [2023-05-23T23:58:18.315Z] + make test [2023-05-23T23:58:18.315Z] go test -race -coverprofile=coverage.out ./... [2023-05-23T23:59:05.185Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T00:01:26.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T00:01:26.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T00:01:26.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T00:01:26.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T00:01:26.889Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T00:01:36.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements [2023-05-24T00:01:36.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.275s coverage: 80.2% of statements [2023-05-24T00:01:47.041Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T00:01:47.041Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T00:01:47.041Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements [2023-05-24T00:01:52.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T00:01:52.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T00:01:52.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.494s coverage: 77.5% of statements [2023-05-24T00:01:54.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 14.3% of statements [2023-05-24T00:01:56.935Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T00:01:56.935Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T00:01:57.212Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 68.5% of statements [2023-05-24T00:01:59.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.498s coverage: 89.2% of statements [2023-05-24T00:02:02.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T00:02:02.394Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.252s coverage: 5.7% of statements [2023-05-24T00:02:03.355Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-24T00:02:03.355Z] GO111MODULE=on go vet ./... [2023-05-24T00:04:40.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T00:04:40.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T00:04:40.085Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T00:04:40.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T00:04:40.127Z] $ docker stop --time=1 f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 [2023-05-24T00:04:43.641Z] $ docker rm -f --volumes f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T00:04:45.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T00:04:45.483Z] Warning: overwriting stash ‘coverage-report’ [2023-05-24T00:04:46.117Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T00:04:46.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T00:04:46.832Z] + ls -al . [2023-05-24T00:04:46.832Z] total 268 [2023-05-24T00:04:46.832Z] drwxrwxr-x 10 jenkins jenkins 4096 May 23 23:58 . [2023-05-24T00:04:46.832Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:56 .. [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:56 .dockerignore [2023-05-24T00:04:46.832Z] drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:56 .git [2023-05-24T00:04:46.832Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:56 .github [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:56 .gitignore [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:56 .golangci.yml [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:56 CHANGELOG.md [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:56 GOVERNANCE.md [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:56 Jenkinsfile [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:56 LICENSE [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:56 Makefile [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:56 OWNERS.md [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:56 README.md [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 12 May 23 23:52 VERSION [2023-05-24T00:04:46.832Z] drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:56 bin [2023-05-24T00:04:46.832Z] -rw-r--r-- 1 jenkins jenkins 106150 May 24 00:02 coverage.out [2023-05-24T00:04:46.832Z] drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:56 example [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:56 go.mod [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:56 go.sum [2023-05-24T00:04:46.832Z] drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:56 internal [2023-05-24T00:04:46.832Z] drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:56 openapi [2023-05-24T00:04:46.832Z] drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:56 pkg [2023-05-24T00:04:46.832Z] drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:56 snap [2023-05-24T00:04:46.832Z] -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:04:47.175Z] + 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=73fd0cb522a429402bd3cc46187ecdcb61225433 --label arch=arm64 --label version=3.0.0-dev.94 . [2023-05-24T00:04:47.760Z] Sending build context to Docker daemon 6.11MB [2023-05-24T00:04:47.760Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T00:04:47.760Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T00:04:47.760Z] ---> 736f1092e263 [2023-05-24T00:04:47.760Z] Step 3/23 : ARG MAKE=make build [2023-05-24T00:04:47.760Z] ---> Running in 173ec6bd08b7 [2023-05-24T00:04:48.035Z] Removing intermediate container 173ec6bd08b7 [2023-05-24T00:04:48.035Z] ---> eaa6975bd125 [2023-05-24T00:04:48.035Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T00:04:48.314Z] ---> Running in af99d981d083 [2023-05-24T00:04:48.580Z] Removing intermediate container af99d981d083 [2023-05-24T00:04:48.580Z] ---> 054c4db40739 [2023-05-24T00:04:48.580Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T00:04:48.580Z] ---> Running in 314d2734d5a6 [2023-05-24T00:04:48.851Z] Removing intermediate container 314d2734d5a6 [2023-05-24T00:04:48.851Z] ---> 28c0c7a48c81 [2023-05-24T00:04:48.851Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T00:04:48.851Z] ---> Running in b37b34d3f160 [2023-05-24T00:04:50.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T00:04:50.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T00:04:51.817Z] OK: 263 MiB in 53 packages [2023-05-24T00:04:52.775Z] Removing intermediate container b37b34d3f160 [2023-05-24T00:04:52.775Z] ---> f2b16cff833f [2023-05-24T00:04:52.775Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T00:04:53.361Z] ---> 0b8a985a6947 [2023-05-24T00:04:53.361Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T00:04:53.361Z] ---> Running in 88eb97507ddf [2023-05-24T00:04:56.704Z] Removing intermediate container 88eb97507ddf [2023-05-24T00:04:56.704Z] ---> 382e3814fcf8 [2023-05-24T00:04:56.704Z] Step 9/23 : COPY . . [2023-05-24T00:04:57.667Z] ---> e080f6f8bff1 [2023-05-24T00:04:57.667Z] Step 10/23 : RUN ${MAKE} [2023-05-24T00:04:57.667Z] ---> Running in f97b922bfb9d [2023-05-24T00:04:58.631Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.94" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-24T00:07:20.521Z] Removing intermediate container f97b922bfb9d [2023-05-24T00:07:20.521Z] ---> c973a00da474 [2023-05-24T00:07:20.521Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T00:07:20.521Z] 3.17: Pulling from library/alpine [2023-05-24T00:07:20.789Z] c41833b44d91: Already exists [2023-05-24T00:07:20.789Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T00:07:20.789Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T00:07:21.055Z] ---> 51e60588ff2c [2023-05-24T00:07:21.055Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T00:07:21.055Z] ---> Running in 3ef35406d80e [2023-05-24T00:07:21.323Z] Removing intermediate container 3ef35406d80e [2023-05-24T00:07:21.323Z] ---> d5d945fd028f [2023-05-24T00:07:21.323Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T00:07:21.323Z] ---> Running in 7d1cd82aa2d8 [2023-05-24T00:07:22.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T00:07:22.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T00:07:24.287Z] OK: 7 MiB in 15 packages [2023-05-24T00:07:24.871Z] Removing intermediate container 7d1cd82aa2d8 [2023-05-24T00:07:24.871Z] ---> dd4c9ae621fc [2023-05-24T00:07:24.871Z] Step 14/23 : WORKDIR / [2023-05-24T00:07:24.871Z] ---> Running in 8d2597d12d15 [2023-05-24T00:07:25.137Z] Removing intermediate container 8d2597d12d15 [2023-05-24T00:07:25.138Z] ---> ed983041812d [2023-05-24T00:07:25.138Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T00:07:25.723Z] ---> 1f572b8d0a13 [2023-05-24T00:07:25.723Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T00:07:27.134Z] ---> 26f5e7a400df [2023-05-24T00:07:27.134Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T00:07:27.404Z] ---> 849a93cf1e17 [2023-05-24T00:07:27.404Z] Step 18/23 : EXPOSE 59999 [2023-05-24T00:07:27.671Z] ---> Running in feb2a4100ebf [2023-05-24T00:07:27.938Z] Removing intermediate container feb2a4100ebf [2023-05-24T00:07:27.938Z] ---> d336ae8fdc3c [2023-05-24T00:07:27.938Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T00:07:27.938Z] ---> Running in 9acfe734ae77 [2023-05-24T00:07:28.204Z] Removing intermediate container 9acfe734ae77 [2023-05-24T00:07:28.205Z] ---> 4dca55df0d0f [2023-05-24T00:07:28.205Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T00:07:28.205Z] ---> Running in ba83049e8166 [2023-05-24T00:07:28.487Z] Removing intermediate container ba83049e8166 [2023-05-24T00:07:28.487Z] ---> 62fa4cee9240 [2023-05-24T00:07:28.487Z] Step 21/23 : LABEL arch=arm64 [2023-05-24T00:07:28.487Z] ---> Running in cfd0077dae82 [2023-05-24T00:07:28.756Z] Removing intermediate container cfd0077dae82 [2023-05-24T00:07:28.756Z] ---> 211f5bc008cd [2023-05-24T00:07:28.756Z] Step 22/23 : LABEL git_sha=73fd0cb522a429402bd3cc46187ecdcb61225433 [2023-05-24T00:07:29.025Z] ---> Running in 098cfb6156fe [2023-05-24T00:07:29.291Z] Removing intermediate container 098cfb6156fe [2023-05-24T00:07:29.291Z] ---> 33fcdcf065d7 [2023-05-24T00:07:29.291Z] Step 23/23 : LABEL version=3.0.0-dev.94 [2023-05-24T00:07:29.291Z] ---> Running in 2a7efade0e7c [2023-05-24T00:07:29.558Z] Removing intermediate container 2a7efade0e7c [2023-05-24T00:07:29.558Z] ---> 47e60f8c0921 [2023-05-24T00:07:29.558Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T00:07:29.558Z] Successfully built 47e60f8c0921 [2023-05-24T00:07:29.558Z] 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-05-24T00:07:29.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T00:07:29.978Z] [2023-05-24T00:07:29.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:07:30.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T00:07:30.310Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T00:07:30.310Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T00:07:30.310Z] 04944245beec: Pulling fs layer [2023-05-24T00:07:30.310Z] 699f458cf7ca: Pulling fs layer [2023-05-24T00:07:30.310Z] 765212b225bb: Pulling fs layer [2023-05-24T00:07:30.310Z] f23df028b6ca: Pulling fs layer [2023-05-24T00:07:30.310Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T00:07:30.310Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T00:07:30.310Z] f23df028b6ca: Waiting [2023-05-24T00:07:30.310Z] d65c8cfc05b1: Waiting [2023-05-24T00:07:30.310Z] 2437ff75d9bd: Waiting [2023-05-24T00:07:30.310Z] 765212b225bb: Waiting [2023-05-24T00:07:30.579Z] 04944245beec: Verifying Checksum [2023-05-24T00:07:30.579Z] 04944245beec: Download complete [2023-05-24T00:07:30.579Z] 765212b225bb: Verifying Checksum [2023-05-24T00:07:30.579Z] 765212b225bb: Download complete [2023-05-24T00:07:30.579Z] f23df028b6ca: Verifying Checksum [2023-05-24T00:07:30.579Z] f23df028b6ca: Download complete [2023-05-24T00:07:30.579Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T00:07:30.579Z] d65c8cfc05b1: Download complete [2023-05-24T00:07:30.846Z] 699f458cf7ca: Verifying Checksum [2023-05-24T00:07:30.846Z] 699f458cf7ca: Download complete [2023-05-24T00:07:31.133Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T00:07:31.133Z] 8998bd30e6a1: Download complete [2023-05-24T00:07:33.717Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T00:07:33.717Z] 2437ff75d9bd: Download complete [2023-05-24T00:07:35.658Z] 8998bd30e6a1: Pull complete [2023-05-24T00:07:35.658Z] 04944245beec: Pull complete [2023-05-24T00:07:37.066Z] 699f458cf7ca: Pull complete [2023-05-24T00:07:37.066Z] 765212b225bb: Pull complete [2023-05-24T00:07:38.029Z] f23df028b6ca: Pull complete [2023-05-24T00:07:38.029Z] d65c8cfc05b1: Pull complete [2023-05-24T00:07:53.018Z] 2437ff75d9bd: Pull complete [2023-05-24T00:07:53.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T00:07:53.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T00:07:53.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:07:53.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container [2023-05-24T00:07:53.293Z] $ 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/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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-05-24T00:07:56.068Z] $ docker top 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:07:56.902Z] ---> job-cost.sh [2023-05-24T00:07:56.902Z] lf-activate-venv: SKIPPING [2023-05-24T00:07:56.902Z] INFO: No Stack... [2023-05-24T00:07:57.168Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T00:07:58.129Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T00:07:58.769Z] + cat /w/workspace/device-sdk-go/225/archives/cost.csv [2023-05-24T00:07:58.769Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T00:07:58.845Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [2023-05-24T00:07:58.854Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] did not exist. Created. [2023-05-24T00:07:58.854Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T00:07:59.526Z] /w/workspace/device-sdk-go/225@tmp/durable-9acb4083/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T00:08:00.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T00:08:00.192Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T00:08:00.262Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T00:08:00.268Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T00:08:00.300Z] $ docker stop --time=1 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e [2023-05-24T00:08:02.563Z] $ docker rm -f --volumes 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e [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-05-24T00:08:02.961Z] provisioning config files... [2023-05-24T00:08:02.970Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6761665214346212589tmp [Pipeline] { [Pipeline] sh [2023-05-24T00:08:03.267Z] + set +x [2023-05-24T00:08:03.267Z] + curl -s https://codecov.io/bash [2023-05-24T00:08:03.267Z] + bash -s -- [2023-05-24T00:08:03.267Z] [2023-05-24T00:08:03.267Z] _____ _ [2023-05-24T00:08:03.267Z] / ____| | | [2023-05-24T00:08:03.267Z] | | ___ __| | ___ ___ _____ __ [2023-05-24T00:08:03.267Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-24T00:08:03.267Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-24T00:08:03.267Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-24T00:08:03.267Z] Bash-1.0.6 [2023-05-24T00:08:03.267Z] [2023-05-24T00:08:03.267Z] [2023-05-24T00:08:03.267Z] ==> git version 2.25.1 found [2023-05-24T00:08:03.267Z] ==> 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-05-24T00:08:03.267Z] Release-Date: 2020-01-08 [2023-05-24T00:08:03.267Z] 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-05-24T00:08:03.267Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-24T00:08:03.267Z] ==> Jenkins CI detected. [2023-05-24T00:08:03.267Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-05-24T00:08:03.267Z] project root: . [2023-05-24T00:08:03.267Z] --> token set from env [2023-05-24T00:08:03.267Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-24T00:08:03.267Z] ==> Running gcov in . (disable via -X gcov) [2023-05-24T00:08:03.267Z] ==> Python coveragepy not found [2023-05-24T00:08:03.267Z] ==> Searching for coverage reports in: [2023-05-24T00:08:03.267Z] + . [2023-05-24T00:08:03.267Z] -> Found 1 reports [2023-05-24T00:08:03.267Z] ==> Detecting git/mercurial file structure [2023-05-24T00:08:03.267Z] ==> Reading reports [2023-05-24T00:08:03.267Z] + ./coverage.out bytes=106150 [2023-05-24T00:08:03.267Z] ==> Appending adjustments [2023-05-24T00:08:03.267Z] https://docs.codecov.io/docs/fixing-reports [2023-05-24T00:08:03.526Z] + Found adjustments [2023-05-24T00:08:03.526Z] ==> Gzipping contents [2023-05-24T00:08:03.526Z] 16K /tmp/codecov.AZPGU8.gz [2023-05-24T00:08:03.526Z] ==> Uploading reports [2023-05-24T00:08:03.526Z] url: https://codecov.io [2023-05-24T00:08:03.526Z] query: branch=main&commit=73fd0cb522a429402bd3cc46187ecdcb61225433&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F225%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-24T00:08:03.785Z] -> Pinging Codecov [2023-05-24T00:08:03.785Z] 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=73fd0cb522a429402bd3cc46187ecdcb61225433&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F225%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-24T00:08:03.785Z] -> Uploading to [2023-05-24T00:08:03.785Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/73fd0cb522a429402bd3cc46187ecdcb61225433/0244cf67-6cef-4f55-8bbd-a8d2737fec65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T000803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb33cd9e9ba90b37fbe4059b40774af0352347a2c449238d8adad1ac33421299 [2023-05-24T00:08:03.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T00:08:03.785Z] Dload Upload Total Spent Left Speed [2023-05-24T00:08:04.045Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15118 0 0 100 15118 0 78331 --:--:-- --:--:-- --:--:-- 78331 [2023-05-24T00:08:04.045Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] } [2023-05-24T00:08:04.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-24T00:08:04.183Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-24T00:08:04.197Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:04.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-24T00:08:04.501Z] [2023-05-24T00:08:04.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:04.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-24T00:08:04.797Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-24T00:08:04.797Z] df9b9388f04a: Pulling fs layer [2023-05-24T00:08:04.797Z] 52dc419b0ee2: Pulling fs layer [2023-05-24T00:08:04.797Z] 25bc292e5bac: Pulling fs layer [2023-05-24T00:08:04.797Z] 114826534d7a: Pulling fs layer [2023-05-24T00:08:04.797Z] 4657fd5d0bcf: Pulling fs layer [2023-05-24T00:08:04.797Z] 6ad1cebc031e: Pulling fs layer [2023-05-24T00:08:04.797Z] 8a3aa393b2d8: Pulling fs layer [2023-05-24T00:08:04.797Z] 114826534d7a: Waiting [2023-05-24T00:08:04.797Z] 4657fd5d0bcf: Waiting [2023-05-24T00:08:04.797Z] 6ad1cebc031e: Waiting [2023-05-24T00:08:04.797Z] 8a3aa393b2d8: Waiting [2023-05-24T00:08:04.797Z] 25bc292e5bac: Verifying Checksum [2023-05-24T00:08:04.797Z] 25bc292e5bac: Download complete [2023-05-24T00:08:04.797Z] 52dc419b0ee2: Verifying Checksum [2023-05-24T00:08:04.797Z] 52dc419b0ee2: Download complete [2023-05-24T00:08:04.797Z] 4657fd5d0bcf: Download complete [2023-05-24T00:08:04.797Z] df9b9388f04a: Download complete [2023-05-24T00:08:05.055Z] 6ad1cebc031e: Verifying Checksum [2023-05-24T00:08:05.055Z] 6ad1cebc031e: Download complete [2023-05-24T00:08:05.055Z] df9b9388f04a: Pull complete [2023-05-24T00:08:05.055Z] 52dc419b0ee2: Pull complete [2023-05-24T00:08:05.055Z] 25bc292e5bac: Pull complete [2023-05-24T00:08:05.621Z] 114826534d7a: Verifying Checksum [2023-05-24T00:08:05.621Z] 114826534d7a: Download complete [2023-05-24T00:08:05.621Z] 8a3aa393b2d8: Verifying Checksum [2023-05-24T00:08:05.621Z] 8a3aa393b2d8: Download complete [2023-05-24T00:08:08.901Z] 114826534d7a: Pull complete [2023-05-24T00:08:08.901Z] 4657fd5d0bcf: Pull complete [2023-05-24T00:08:08.901Z] 6ad1cebc031e: Pull complete [2023-05-24T00:08:11.429Z] 8a3aa393b2d8: Pull complete [2023-05-24T00:08:11.429Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-24T00:08:11.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-24T00:08:11.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:11.508Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:11.542Z] $ 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-05-24T00:08:13.904Z] $ docker top 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-24T00:08:13.970Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-05-24T00:08:14.248Z] + set -o pipefail [2023-05-24T00:08:14.248Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-05-24T00:08:18.442Z] [2023-05-24T00:08:18.442Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-05-24T00:08:18.442Z] [2023-05-24T00:08:18.442Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7974feaf-0db7-4307-abe3-e5cbc311fb53 [2023-05-24T00:08:18.442Z] [2023-05-24T00:08:18.442Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-24T00:08:18.442Z] [2023-05-24T00:08:18.442Z] [2023-05-24T00:08:18.442Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-24T00:08:18.442Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-24T00:08:18.442Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-24T00:08:18.453Z] $ docker stop --time=1 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 [2023-05-24T00:08:21.024Z] $ docker rm -f --volumes 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 [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-05-24T00:08:21.423Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T00:08:21.437Z] provisioning config files... [2023-05-24T00:08:21.444Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8154448143701764677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:21.741Z] --> edgex-publish-swagger.sh [2023-05-24T00:08:21.741Z] === Publish openapi/v3 API === [2023-05-24T00:08:21.741Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-05-24T00:08:21.741Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-05-24T00:08:21.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T00:08:21.741Z] Dload Upload Total Spent Left Speed [2023-05-24T00:08:22.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 47538 --:--:-- --:--:-- --:--:-- 47538 [2023-05-24T00:08:22.000Z] [2023-05-24T00:08:22.000Z] [Pipeline] } [2023-05-24T00:08:22.007Z] 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-05-24T00:08:22.410Z] + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] sh [2023-05-24T00:08:22.703Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T00:08:22.703Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:23.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T00:08:23.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:23.082Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:23.113Z] $ 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-05-24T00:08:23.458Z] $ docker top 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 -eo pid,comm [2023-05-24T00:08:23.505Z] 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-05-24T00:08:23.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T00:08:23.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T00:08:23.542Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T00:08:23.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T00:08:23.660Z] $ docker exec 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 ssh-agent [2023-05-24T00:08:23.769Z] SSH_AUTH_SOCK=/tmp/ssh-VUkzDOULyHAU/agent.32 [2023-05-24T00:08:23.769Z] SSH_AGENT_PID=38 [2023-05-24T00:08:23.774Z] Running ssh-add (command line suppressed) [2023-05-24T00:08:23.875Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335235965198589613.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335235965198589613.key) [2023-05-24T00:08:23.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T00:08:24.172Z] + git semver tag [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,345 [run_tag] DEBUG tag force:False [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,345 [check_head_tag] DEBUG check head tag [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,347 [execute] INFO git cat-file --batch-check [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,352 [execute] INFO git cat-file --batch [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,395 [execute] INFO git tag -a v3.0.0-dev.94 -m v3.0.0-dev.94 [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,395 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.94', '-m', 'v3.0.0-dev.94'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-24T00:08:24.430Z] 2023-05-24 00:08:24,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:24.430Z] 3.0.0-dev.94 [Pipeline] } [2023-05-24T00:08:24.439Z] $ docker exec --env ******** --env ******** 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 ssh-agent -k [2023-05-24T00:08:24.533Z] unset SSH_AUTH_SOCK; [2023-05-24T00:08:24.533Z] unset SSH_AGENT_PID; [2023-05-24T00:08:24.533Z] echo Agent pid 38 killed; [2023-05-24T00:08:24.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T00:08:24.852Z] + git semver [Pipeline] } [2023-05-24T00:08:25.125Z] $ docker stop --time=1 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 [2023-05-24T00:08:26.423Z] $ docker rm -f --volumes 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:26.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T00:08:26.806Z] [2023-05-24T00:08:26.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:27.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T00:08:27.105Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-24T00:08:27.105Z] ab5ef0e58194: Pulling fs layer [2023-05-24T00:08:27.105Z] 9712f1f96733: Pulling fs layer [2023-05-24T00:08:27.105Z] 63f879dbbcfc: Pulling fs layer [2023-05-24T00:08:27.105Z] 0d9ebad4ef96: Pulling fs layer [2023-05-24T00:08:27.105Z] e9a5061849ea: Pulling fs layer [2023-05-24T00:08:27.105Z] d747dcd14b5f: Pulling fs layer [2023-05-24T00:08:27.105Z] 2de7ff778b66: Pulling fs layer [2023-05-24T00:08:27.105Z] e9a5061849ea: Waiting [2023-05-24T00:08:27.105Z] d747dcd14b5f: Waiting [2023-05-24T00:08:27.105Z] 2de7ff778b66: Waiting [2023-05-24T00:08:27.105Z] 0d9ebad4ef96: Waiting [2023-05-24T00:08:27.105Z] 9712f1f96733: Verifying Checksum [2023-05-24T00:08:27.105Z] 9712f1f96733: Download complete [2023-05-24T00:08:27.365Z] 63f879dbbcfc: Verifying Checksum [2023-05-24T00:08:27.365Z] 63f879dbbcfc: Download complete [2023-05-24T00:08:27.623Z] e9a5061849ea: Verifying Checksum [2023-05-24T00:08:27.623Z] e9a5061849ea: Download complete [2023-05-24T00:08:27.623Z] d747dcd14b5f: Download complete [2023-05-24T00:08:27.623Z] 0d9ebad4ef96: Verifying Checksum [2023-05-24T00:08:27.623Z] 0d9ebad4ef96: Download complete [2023-05-24T00:08:27.623Z] ab5ef0e58194: Verifying Checksum [2023-05-24T00:08:27.623Z] ab5ef0e58194: Download complete [2023-05-24T00:08:27.623Z] 2de7ff778b66: Verifying Checksum [2023-05-24T00:08:27.623Z] 2de7ff778b66: Download complete [2023-05-24T00:08:30.917Z] ab5ef0e58194: Pull complete [2023-05-24T00:08:30.917Z] 9712f1f96733: Pull complete [2023-05-24T00:08:31.175Z] 63f879dbbcfc: Pull complete [2023-05-24T00:08:35.366Z] 0d9ebad4ef96: Pull complete [2023-05-24T00:08:35.366Z] e9a5061849ea: Pull complete [2023-05-24T00:08:35.366Z] d747dcd14b5f: Pull complete [2023-05-24T00:08:36.299Z] 2de7ff778b66: Pull complete [2023-05-24T00:08:36.299Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-24T00:08:36.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-24T00:08:36.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:36.389Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:36.420Z] $ 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-05-24T00:08:39.817Z] $ docker top 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-24T00:08:39.887Z] provisioning config files... [2023-05-24T00:08:39.893Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12032573746903651199tmp [2023-05-24T00:08:39.903Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12350852327570362801tmp [2023-05-24T00:08:39.914Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5845066216758950362tmp [Pipeline] { [Pipeline] echo [2023-05-24T00:08:39.931Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:40.216Z] ---> sigul-configuration.sh [2023-05-24T00:08:40.216Z] gpg: directory `/root/.gnupg' created [2023-05-24T00:08:40.216Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-24T00:08:40.216Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-24T00:08:40.216Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-24T00:08:40.216Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-24T00:08:40.216Z] gpg: CAST5 encrypted data [2023-05-24T00:08:40.216Z] gpg: encrypted with 1 passphrase [2023-05-24T00:08:40.216Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-24T00:08:40.503Z] + mkdir /home/jenkins [2023-05-24T00:08:40.503Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-24T00:08:40.791Z] + 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-05-24T00:08:40.798Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:41.080Z] ---> sigul-install.sh [2023-05-24T00:08:41.080Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-24T00:08:41.365Z] + git tag --list [2023-05-24T00:08:41.365Z] 0.7.1 [2023-05-24T00:08:41.365Z] delhi-tag [2023-05-24T00:08:41.365Z] v1.0.0 [2023-05-24T00:08:41.365Z] v1.1.0 [2023-05-24T00:08:41.365Z] v1.1.1 [2023-05-24T00:08:41.365Z] v1.1.2 [2023-05-24T00:08:41.365Z] v1.2.0 [2023-05-24T00:08:41.365Z] v1.2.1 [2023-05-24T00:08:41.365Z] v1.2.2 [2023-05-24T00:08:41.365Z] v1.2.3 [2023-05-24T00:08:41.365Z] v1.3.0 [2023-05-24T00:08:41.365Z] v1.4.0 [2023-05-24T00:08:41.365Z] v2.0.0 [2023-05-24T00:08:41.365Z] v2.1.0 [2023-05-24T00:08:41.365Z] v2.1.1 [2023-05-24T00:08:41.365Z] v2.1.1-dev.2 [2023-05-24T00:08:41.365Z] v2.1.1-dev.3 [2023-05-24T00:08:41.365Z] v2.2.0 [2023-05-24T00:08:41.365Z] v2.2.1-dev.1 [2023-05-24T00:08:41.365Z] v2.2.1-dev.10 [2023-05-24T00:08:41.365Z] v2.2.1-dev.11 [2023-05-24T00:08:41.365Z] v2.2.1-dev.12 [2023-05-24T00:08:41.365Z] v2.2.1-dev.13 [2023-05-24T00:08:41.365Z] v2.2.1-dev.14 [2023-05-24T00:08:41.365Z] v2.2.1-dev.2 [2023-05-24T00:08:41.365Z] v2.2.1-dev.3 [2023-05-24T00:08:41.365Z] v2.2.1-dev.4 [2023-05-24T00:08:41.365Z] v2.2.1-dev.5 [2023-05-24T00:08:41.365Z] v2.2.1-dev.6 [2023-05-24T00:08:41.365Z] v2.2.1-dev.7 [2023-05-24T00:08:41.365Z] v2.2.1-dev.8 [2023-05-24T00:08:41.365Z] v2.2.1-dev.9 [2023-05-24T00:08:41.365Z] v2.3.0 [2023-05-24T00:08:41.365Z] v2.3.0-dev.14 [2023-05-24T00:08:41.365Z] v2.3.0-dev.15 [2023-05-24T00:08:41.365Z] v2.3.0-dev.16 [2023-05-24T00:08:41.365Z] v2.3.0-dev.17 [2023-05-24T00:08:41.365Z] v2.3.0-dev.18 [2023-05-24T00:08:41.365Z] v2.3.0-dev.19 [2023-05-24T00:08:41.365Z] v2.3.0-dev.20 [2023-05-24T00:08:41.365Z] v2.3.0-dev.21 [2023-05-24T00:08:41.365Z] v2.3.0-dev.22 [2023-05-24T00:08:41.365Z] v2.3.0-dev.23 [2023-05-24T00:08:41.365Z] v2.3.0-dev.24 [2023-05-24T00:08:41.365Z] v2.3.0-dev.25 [2023-05-24T00:08:41.365Z] v2.3.0-dev.26 [2023-05-24T00:08:41.365Z] v2.3.0-dev.27 [2023-05-24T00:08:41.365Z] v2.3.0-dev.28 [2023-05-24T00:08:41.365Z] v2.3.0-dev.29 [2023-05-24T00:08:41.365Z] v2.3.0-dev.30 [2023-05-24T00:08:41.365Z] v2.3.0-dev.31 [2023-05-24T00:08:41.365Z] v2.3.0-dev.32 [2023-05-24T00:08:41.365Z] v2.3.0-dev.33 [2023-05-24T00:08:41.366Z] v2.3.0-dev.34 [2023-05-24T00:08:41.366Z] v2.3.0-dev.35 [2023-05-24T00:08:41.366Z] v2.3.0-dev.36 [2023-05-24T00:08:41.366Z] v2.3.0-dev.37 [2023-05-24T00:08:41.366Z] v2.3.0-dev.38 [2023-05-24T00:08:41.366Z] v2.3.0-dev.39 [2023-05-24T00:08:41.366Z] v2.3.0-dev.40 [2023-05-24T00:08:41.366Z] v2.3.0-dev.41 [2023-05-24T00:08:41.366Z] v2.3.0-dev.42 [2023-05-24T00:08:41.366Z] v2.3.0-dev.43 [2023-05-24T00:08:41.366Z] v2.3.0-dev.44 [2023-05-24T00:08:41.366Z] v2.3.0-dev.45 [2023-05-24T00:08:41.366Z] v2.3.0-dev.46 [2023-05-24T00:08:41.366Z] v2.3.0-dev.47 [2023-05-24T00:08:41.366Z] v2.3.0-dev.48 [2023-05-24T00:08:41.366Z] v2.3.0-dev.49 [2023-05-24T00:08:41.366Z] v2.3.0-dev.50 [2023-05-24T00:08:41.366Z] v2.3.0-dev.51 [2023-05-24T00:08:41.366Z] v2.3.1 [2023-05-24T00:08:41.366Z] v2.3.1-dev.1 [2023-05-24T00:08:41.366Z] v2.3.1-dev.2 [2023-05-24T00:08:41.366Z] v2.3.1-dev.3 [2023-05-24T00:08:41.366Z] v2.3.1-dev.4 [2023-05-24T00:08:41.366Z] v3.0.0-dev.1 [2023-05-24T00:08:41.366Z] v3.0.0-dev.10 [2023-05-24T00:08:41.366Z] v3.0.0-dev.11 [2023-05-24T00:08:41.366Z] v3.0.0-dev.12 [2023-05-24T00:08:41.366Z] v3.0.0-dev.13 [2023-05-24T00:08:41.366Z] v3.0.0-dev.14 [2023-05-24T00:08:41.366Z] v3.0.0-dev.15 [2023-05-24T00:08:41.366Z] v3.0.0-dev.16 [2023-05-24T00:08:41.366Z] v3.0.0-dev.17 [2023-05-24T00:08:41.366Z] v3.0.0-dev.18 [2023-05-24T00:08:41.366Z] v3.0.0-dev.19 [2023-05-24T00:08:41.366Z] v3.0.0-dev.2 [2023-05-24T00:08:41.366Z] v3.0.0-dev.20 [2023-05-24T00:08:41.366Z] v3.0.0-dev.21 [2023-05-24T00:08:41.366Z] v3.0.0-dev.22 [2023-05-24T00:08:41.366Z] v3.0.0-dev.23 [2023-05-24T00:08:41.366Z] v3.0.0-dev.24 [2023-05-24T00:08:41.366Z] v3.0.0-dev.25 [2023-05-24T00:08:41.366Z] v3.0.0-dev.26 [2023-05-24T00:08:41.366Z] v3.0.0-dev.27 [2023-05-24T00:08:41.366Z] v3.0.0-dev.28 [2023-05-24T00:08:41.366Z] v3.0.0-dev.29 [2023-05-24T00:08:41.366Z] v3.0.0-dev.3 [2023-05-24T00:08:41.366Z] v3.0.0-dev.30 [2023-05-24T00:08:41.366Z] v3.0.0-dev.31 [2023-05-24T00:08:41.366Z] v3.0.0-dev.32 [2023-05-24T00:08:41.366Z] v3.0.0-dev.33 [2023-05-24T00:08:41.366Z] v3.0.0-dev.34 [2023-05-24T00:08:41.366Z] v3.0.0-dev.35 [2023-05-24T00:08:41.366Z] v3.0.0-dev.36 [2023-05-24T00:08:41.366Z] v3.0.0-dev.37 [2023-05-24T00:08:41.366Z] v3.0.0-dev.38 [2023-05-24T00:08:41.366Z] v3.0.0-dev.39 [2023-05-24T00:08:41.366Z] v3.0.0-dev.4 [2023-05-24T00:08:41.366Z] v3.0.0-dev.40 [2023-05-24T00:08:41.366Z] v3.0.0-dev.41 [2023-05-24T00:08:41.366Z] v3.0.0-dev.42 [2023-05-24T00:08:41.366Z] v3.0.0-dev.43 [2023-05-24T00:08:41.366Z] v3.0.0-dev.44 [2023-05-24T00:08:41.366Z] v3.0.0-dev.45 [2023-05-24T00:08:41.366Z] v3.0.0-dev.46 [2023-05-24T00:08:41.366Z] v3.0.0-dev.47 [2023-05-24T00:08:41.366Z] v3.0.0-dev.48 [2023-05-24T00:08:41.366Z] v3.0.0-dev.49 [2023-05-24T00:08:41.366Z] v3.0.0-dev.5 [2023-05-24T00:08:41.366Z] v3.0.0-dev.50 [2023-05-24T00:08:41.366Z] v3.0.0-dev.51 [2023-05-24T00:08:41.366Z] v3.0.0-dev.52 [2023-05-24T00:08:41.366Z] v3.0.0-dev.53 [2023-05-24T00:08:41.366Z] v3.0.0-dev.54 [2023-05-24T00:08:41.366Z] v3.0.0-dev.55 [2023-05-24T00:08:41.366Z] v3.0.0-dev.56 [2023-05-24T00:08:41.366Z] v3.0.0-dev.57 [2023-05-24T00:08:41.366Z] v3.0.0-dev.58 [2023-05-24T00:08:41.366Z] v3.0.0-dev.59 [2023-05-24T00:08:41.366Z] v3.0.0-dev.6 [2023-05-24T00:08:41.366Z] v3.0.0-dev.60 [2023-05-24T00:08:41.366Z] v3.0.0-dev.61 [2023-05-24T00:08:41.366Z] v3.0.0-dev.62 [2023-05-24T00:08:41.366Z] v3.0.0-dev.63 [2023-05-24T00:08:41.366Z] v3.0.0-dev.64 [2023-05-24T00:08:41.366Z] v3.0.0-dev.65 [2023-05-24T00:08:41.366Z] v3.0.0-dev.66 [2023-05-24T00:08:41.366Z] v3.0.0-dev.67 [2023-05-24T00:08:41.366Z] v3.0.0-dev.68 [2023-05-24T00:08:41.366Z] v3.0.0-dev.69 [2023-05-24T00:08:41.366Z] v3.0.0-dev.7 [2023-05-24T00:08:41.366Z] v3.0.0-dev.70 [2023-05-24T00:08:41.366Z] v3.0.0-dev.71 [2023-05-24T00:08:41.366Z] v3.0.0-dev.72 [2023-05-24T00:08:41.366Z] v3.0.0-dev.73 [2023-05-24T00:08:41.366Z] v3.0.0-dev.74 [2023-05-24T00:08:41.366Z] v3.0.0-dev.75 [2023-05-24T00:08:41.366Z] v3.0.0-dev.76 [2023-05-24T00:08:41.366Z] v3.0.0-dev.77 [2023-05-24T00:08:41.366Z] v3.0.0-dev.78 [2023-05-24T00:08:41.366Z] v3.0.0-dev.79 [2023-05-24T00:08:41.366Z] v3.0.0-dev.8 [2023-05-24T00:08:41.366Z] v3.0.0-dev.80 [2023-05-24T00:08:41.366Z] v3.0.0-dev.81 [2023-05-24T00:08:41.366Z] v3.0.0-dev.82 [2023-05-24T00:08:41.366Z] v3.0.0-dev.83 [2023-05-24T00:08:41.366Z] v3.0.0-dev.84 [2023-05-24T00:08:41.366Z] v3.0.0-dev.85 [2023-05-24T00:08:41.366Z] v3.0.0-dev.86 [2023-05-24T00:08:41.366Z] v3.0.0-dev.87 [2023-05-24T00:08:41.366Z] v3.0.0-dev.88 [2023-05-24T00:08:41.366Z] v3.0.0-dev.89 [2023-05-24T00:08:41.366Z] v3.0.0-dev.9 [2023-05-24T00:08:41.366Z] v3.0.0-dev.90 [2023-05-24T00:08:41.366Z] v3.0.0-dev.91 [2023-05-24T00:08:41.366Z] v3.0.0-dev.92 [2023-05-24T00:08:41.366Z] v3.0.0-dev.93 [2023-05-24T00:08:41.366Z] v3.0.0-dev.94 [Pipeline] sh [2023-05-24T00:08:41.653Z] + lftools sign git-tag v3.0.0-dev.94 [2023-05-24T00:08:42.219Z] Signing Git tag with Sigul... [2023-05-24T00:08:42.219Z] Signing v3.0.0-dev.94 [Pipeline] echo [2023-05-24T00:08:42.486Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:42.769Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-24T00:08:42.776Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-24T00:08:42.794Z] $ docker stop --time=1 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 [2023-05-24T00:08:44.104Z] $ docker rm -f --volumes 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-24T00:08:44.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T00:08:44.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:44.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T00:08:44.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:44.884Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:44.911Z] $ 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-05-24T00:08:45.235Z] $ docker top e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 -eo pid,comm [2023-05-24T00:08:45.286Z] 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-05-24T00:08:45.286Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T00:08:45.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T00:08:45.321Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T00:08:45.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T00:08:45.432Z] $ docker exec e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 ssh-agent [2023-05-24T00:08:45.543Z] SSH_AUTH_SOCK=/tmp/ssh-1gIwi702cJT5/agent.32 [2023-05-24T00:08:45.543Z] SSH_AGENT_PID=38 [2023-05-24T00:08:45.547Z] Running ssh-add (command line suppressed) [2023-05-24T00:08:45.648Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14002904210720694797.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14002904210720694797.key) [2023-05-24T00:08:45.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T00:08:45.957Z] + git semver bump pre [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [bump_version] DEBUG bumping version:3.0.0-dev.94 on axis:pre with prefix:dev [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [bump_version] DEBUG bumped version:3.0.0-dev.95 [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [write_version] DEBUG write version:3.0.0-dev.95 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,116 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,118 [execute] INFO git cat-file --batch-check [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,124 [execute] INFO git cat-file --batch [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T00:08:46.217Z] 2023-05-24 00:08:46,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:46.217Z] 3.0.0-dev.95 [Pipeline] } [2023-05-24T00:08:46.228Z] $ docker exec --env ******** --env ******** e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 ssh-agent -k [2023-05-24T00:08:46.331Z] unset SSH_AUTH_SOCK; [2023-05-24T00:08:46.331Z] unset SSH_AGENT_PID; [2023-05-24T00:08:46.331Z] echo Agent pid 38 killed; [2023-05-24T00:08:46.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T00:08:46.644Z] + git semver [Pipeline] } [2023-05-24T00:08:46.917Z] $ docker stop --time=1 e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 [2023-05-24T00:08:48.227Z] $ docker rm -f --volumes e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T00:08:48.552Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T00:08:48.553Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:48.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T00:08:48.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:48.922Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:48.951Z] $ 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-05-24T00:08:49.301Z] $ docker top 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T00:08:49.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T00:08:49.413Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T00:08:49.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T00:08:49.529Z] $ docker exec 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 ssh-agent [2023-05-24T00:08:49.635Z] SSH_AUTH_SOCK=/tmp/ssh-i04t2m8OoVf9/agent.32 [2023-05-24T00:08:49.635Z] SSH_AGENT_PID=38 [2023-05-24T00:08:49.640Z] Running ssh-add (command line suppressed) [2023-05-24T00:08:49.747Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16999599851505421601.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16999599851505421601.key) [2023-05-24T00:08:49.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T00:08:50.049Z] + git semver push [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,212 [run_push] DEBUG push [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,213 [execute] INFO git cat-file --batch-check [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,217 [execute] INFO git rev-list 7b165bc59686b471471421bf4963c2cd1ac7ce84 -- [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,217 [execute] DEBUG Popen(['git', 'rev-list', '7b165bc59686b471471421bf4963c2cd1ac7ce84', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,231 [execute] INFO git fetch -v origin [2023-05-24T00:08:50.309Z] 2023-05-24 00:08:50,231 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-24T00:08:50.878Z] 2023-05-24 00:08:50,683 [run_push] DEBUG no remote changes detected [2023-05-24T00:08:50.878Z] 2023-05-24 00:08:50,684 [execute] INFO git push origin semver [2023-05-24T00:08:50.878Z] 2023-05-24 00:08:50,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-24T00:08:51.816Z] 2023-05-24 00:08:51,491 [run_push] DEBUG push all version tags [2023-05-24T00:08:51.816Z] 2023-05-24 00:08:51,491 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-24T00:08:51.816Z] 2023-05-24 00:08:51,492 [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-05-24T00:08:52.385Z] 2023-05-24 00:08:52,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-24T00:08:52.385Z] 3.0.0-dev.95 [Pipeline] } [2023-05-24T00:08:52.396Z] $ docker exec --env ******** --env ******** 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 ssh-agent -k [2023-05-24T00:08:52.486Z] unset SSH_AUTH_SOCK; [2023-05-24T00:08:52.486Z] unset SSH_AGENT_PID; [2023-05-24T00:08:52.486Z] echo Agent pid 38 killed; [2023-05-24T00:08:52.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T00:08:52.802Z] + git semver [Pipeline] } [2023-05-24T00:08:53.076Z] $ docker stop --time=1 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 [2023-05-24T00:08:54.334Z] $ docker rm -f --volumes 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 [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-05-24T00:08:54.831Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-05-24T00:08:54.831Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-24T00:08:54.831Z] total 16 [2023-05-24T00:08:54.831Z] drwxr-xr-x 3 root root 4096 May 23 23:54 . [2023-05-24T00:08:54.831Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 00:08 .. [2023-05-24T00:08:54.831Z] drwxr-xr-x 2 root root 4096 May 23 23:54 cost [2023-05-24T00:08:54.831Z] -rw-r--r-- 1 root root 85 May 23 23:54 cost.csv [2023-05-24T00:08:54.831Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-24T00:08:54.831Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-24T00:08:54.831Z] total 16 [2023-05-24T00:08:54.831Z] drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:54 . [2023-05-24T00:08:54.831Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 00:08 .. [2023-05-24T00:08:54.831Z] drwxr-xr-x 2 jenkins jenkins 4096 May 23 23:54 cost [2023-05-24T00:08:54.831Z] -rw-r--r-- 1 jenkins jenkins 85 May 23 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:55.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:55.982Z] ---> package-listing.sh [2023-05-24T00:08:55.982Z] ++ facter osfamily [2023-05-24T00:08:55.982Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T00:08:56.241Z] + OS_FAMILY=debian [2023-05-24T00:08:56.241Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-05-24T00:08:56.241Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T00:08:56.241Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T00:08:56.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T00:08:56.241Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T00:08:56.241Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-05-24T00:08:56.241Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T00:08:56.241Z] + case "${OS_FAMILY}" in [2023-05-24T00:08:56.241Z] + dpkg -l [2023-05-24T00:08:56.241Z] + grep '^ii' [2023-05-24T00:08:56.241Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T00:08:56.241Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T00:08:56.241Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T00:08:56.241Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-05-24T00:08:56.241Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-05-24T00:08:56.241Z] + 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-05-24T00:08:56.251Z] 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-05-24T00:08:56.524Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T00:08:57.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T00:08:57.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T00:08:57.153Z] prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container [2023-05-24T00:08:57.182Z] $ 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-05-24T00:08:57.404Z] $ docker top 818e4f3e09f70ddbee28639969e3ba97bba7765fe53f334b6cf6922623702bb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T00:08:57.747Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T00:08:58.033Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T00:08:58.317Z] + ls /var/log/sa-host [2023-05-24T00:08:58.317Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T00:08:58.392Z] provisioning config files... [2023-05-24T00:08:58.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11476628040619226207tmp [Pipeline] { [Pipeline] echo [2023-05-24T00:08:58.414Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:58.694Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T00:08:58.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:59.077Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T00:08:59.098Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:59.404Z] ---> sudo-logs.sh [2023-05-24T00:08:59.404Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T00:08:59.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:08:59.836Z] ---> job-cost.sh [2023-05-24T00:08:59.837Z] lf-activate-venv: SKIPPING [2023-05-24T00:08:59.837Z] DEBUG: total: 0.2199999988079071 [2023-05-24T00:08:59.837Z] INFO: Retrieving Stack Cost... [2023-05-24T00:09:00.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T00:09:00.664Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T00:09:00.674Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T00:09:00.955Z] ---> logs-deploy.sh [2023-05-24T00:09:00.955Z] lf-activate-venv: SKIPPING [2023-05-24T00:09:00.955Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/225 [2023-05-24T00:09:00.955Z] INFO: archiving workspace using pattern(s): [2023-05-24T00:09:01.893Z] Archives upload complete. [2023-05-24T00:09:01.893Z] INFO: archiving logs to Nexus