Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 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-ssh14345973132739346853.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5895002857876045020.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh943933845740020821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12454817895639214732.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-ssh7365062677174570787.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4894 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 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503)" > 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 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 > git rev-list --no-walk c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:34:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:34:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:34:41 ========================================================= 15:34:41 EdgeX Global Pipelines Version Info 15:34:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:34:42 ------------------- 15:34:42 stable info: 15:34:42 ------------------- 15:34:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:34:42 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:34:42 Message: update stable to v1.0.253 15:34:43 ------------------- 15:34:43 experimental info: 15:34:43 ------------------- 15:34:43 Commited By: **** collab-it+edgex@linuxfoundation.org 15:34:43 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:34:43 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 301ec9e [Pipeline] echo 15:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:43 provisioning config files... 15:34:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10824635860489203209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:44 ---> docker-login.sh 15:34:44 nexus3.edgexfoundry.org:10001 15:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:44 Configure a credential helper to remove this warning. See 15:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:44 15:34:44 Login Succeeded 15:34:44 nexus3.edgexfoundry.org:10002 15:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:44 Configure a credential helper to remove this warning. See 15:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:44 15:34:44 Login Succeeded 15:34:44 nexus3.edgexfoundry.org:10003 15:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:44 Configure a credential helper to remove this warning. See 15:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:44 15:34:44 Login Succeeded 15:34:44 nexus3.edgexfoundry.org:10004 15:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:45 Configure a credential helper to remove this warning. See 15:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:45 15:34:45 Login Succeeded 15:34:45 docker.io 15:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:45 Configure a credential helper to remove this warning. See 15:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:45 15:34:45 Login Succeeded 15:34:45 ---> docker-login.sh ends [Pipeline] } 15:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:34:45 + git rev-list -1 --merges 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0~1..301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo 15:34:45 -----------> git rev-list -1 --merges 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0~1..301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [false] [Pipeline] sh 15:34:46 + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo 15:34:46 ========================================================= 15:34:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:34:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:34:46 + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo 15:34:46 [semverPrep] GIT_COMMIT: 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503) [Pipeline] echo 15:34:46 [semverPrep] This is not a build commit. [Pipeline] sh 15:34:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:46 + grep -v github /etc/ssh/ssh_known_hosts 15:34:46 + [ -e /tmp/ssh_known_hosts ] 15:34:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:34:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:34:46 + sudo tee -a /etc/ssh/ssh_known_hosts 15:34:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:47 15:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:47 0.1.4: Pulling from edgex-devops/py-git-semver 15:34:47 b85a868b505f: Pulling fs layer 15:34:47 e2be974225ed: Pulling fs layer 15:34:47 339a4e72a1f5: Pulling fs layer 15:34:47 988bab9f4d93: Pulling fs layer 15:34:47 1469e6f7b9e6: Pulling fs layer 15:34:47 eaf3925da568: Pulling fs layer 15:34:47 bab4dde63d76: Pulling fs layer 15:34:47 bde34c3a00c8: Pulling fs layer 15:34:47 b352a97aabf1: Pulling fs layer 15:34:47 4872d77fe225: Pulling fs layer 15:34:47 5851b861e8e6: Pulling fs layer 15:34:47 988bab9f4d93: Waiting 15:34:47 1469e6f7b9e6: Waiting 15:34:47 eaf3925da568: Waiting 15:34:47 bab4dde63d76: Waiting 15:34:47 bde34c3a00c8: Waiting 15:34:47 b352a97aabf1: Waiting 15:34:47 4872d77fe225: Waiting 15:34:47 5851b861e8e6: Waiting 15:34:47 e2be974225ed: Verifying Checksum 15:34:47 e2be974225ed: Download complete 15:34:47 988bab9f4d93: Verifying Checksum 15:34:47 988bab9f4d93: Download complete 15:34:47 1469e6f7b9e6: Verifying Checksum 15:34:47 1469e6f7b9e6: Download complete 15:34:47 339a4e72a1f5: Verifying Checksum 15:34:47 339a4e72a1f5: Download complete 15:34:47 eaf3925da568: Verifying Checksum 15:34:47 eaf3925da568: Download complete 15:34:47 bde34c3a00c8: Download complete 15:34:47 b352a97aabf1: Download complete 15:34:47 4872d77fe225: Download complete 15:34:47 5851b861e8e6: Verifying Checksum 15:34:47 5851b861e8e6: Download complete 15:34:47 b85a868b505f: Verifying Checksum 15:34:47 b85a868b505f: Download complete 15:34:48 bab4dde63d76: Download complete 15:34:49 b85a868b505f: Pull complete 15:34:49 e2be974225ed: Pull complete 15:34:49 339a4e72a1f5: Pull complete 15:34:49 988bab9f4d93: Pull complete 15:34:49 1469e6f7b9e6: Pull complete 15:34:50 eaf3925da568: Pull complete 15:34:51 bab4dde63d76: Pull complete 15:34:51 bde34c3a00c8: Pull complete 15:34:51 b352a97aabf1: Pull complete 15:34:51 4872d77fe225: Pull complete 15:34:51 5851b861e8e6: Pull complete 15:34:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:51 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:34:51 $ 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 15:34:54 $ docker top bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 -eo pid,comm 15:34:54 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). 15:34:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:54 [ssh-agent] Looking for ssh-agent implementation... 15:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:54 $ docker exec bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent 15:34:55 SSH_AUTH_SOCK=/tmp/ssh-IO1sF6gMi75X/agent.32 15:34:55 SSH_AGENT_PID=38 15:34:55 Running ssh-add (command line suppressed) 15:34:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15027179341169520491.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15027179341169520491.key) 15:34:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:55 + git tag --points-at HEAD [Pipeline] } 15:34:55 $ docker exec --env ******** --env ******** bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent -k 15:34:55 unset SSH_AUTH_SOCK; 15:34:55 unset SSH_AGENT_PID; 15:34:55 echo Agent pid 38 killed; 15:34:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:34:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:55 [ssh-agent] Looking for ssh-agent implementation... 15:34:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:55 $ docker exec bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent 15:34:55 SSH_AUTH_SOCK=/tmp/ssh-bYnjhDgr1Nvw/agent.70 15:34:55 SSH_AGENT_PID=76 15:34:55 Running ssh-add (command line suppressed) 15:34:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11434819126084444399.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11434819126084444399.key) 15:34:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:56 + git semver init 15:34:56 2023-08-30 15:34:56,384 [run_init] DEBUG init version:0.0.0 force:False 15:34:56 2023-08-30 15:34:56,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:34:56 2023-08-30 15:34:56,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:34:56 2023-08-30 15:34:56,385 [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) 15:34:57 2023-08-30 15:34:57,264 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:34:57 2023-08-30 15:34:57,265 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:34:57 2023-08-30 15:34:57,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:34:57 2023-08-30 15:34:57,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:34:57 3.1.0-dev.17 [Pipeline] } 15:34:57 $ docker exec --env ******** --env ******** bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent -k 15:34:57 unset SSH_AUTH_SOCK; 15:34:57 unset SSH_AGENT_PID; 15:34:57 echo Agent pid 76 killed; 15:34:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:57 + git semver [Pipeline] } 15:34:58 $ docker stop --time=1 bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 15:34:59 $ docker rm -f --volumes bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:34:59 Stashed 1 file(s) [Pipeline] echo 15:34:59 [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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 15:35:00 provisioning config files... 15:35:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11489975306146452826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:00 ---> docker-login.sh 15:35:00 nexus3.edgexfoundry.org:10001 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 nexus3.edgexfoundry.org:10002 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 nexus3.edgexfoundry.org:10003 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 nexus3.edgexfoundry.org:10004 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 docker.io 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 ---> docker-login.sh ends [Pipeline] } 15:35:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:35:01 ========================================================= 15:35:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:35:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:01 + 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 . 15:35:01 Sending build context to Docker daemon 11.08MB 15:35:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:35:01 Step 2/10 : FROM ${BASE} AS builder 15:35:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:35:01 4db1b89c0bd1: Pulling fs layer 15:35:01 6911f1a30b25: Pulling fs layer 15:35:01 e194b8c5c2a9: Pulling fs layer 15:35:01 6863d3e3a2b1: Pulling fs layer 15:35:01 ec0bb842ea78: Pulling fs layer 15:35:01 40a00589a448: Pulling fs layer 15:35:01 6c08303d61cc: Pulling fs layer 15:35:01 798269fcf238: Pulling fs layer 15:35:01 40a00589a448: Waiting 15:35:01 6c08303d61cc: Waiting 15:35:01 798269fcf238: Waiting 15:35:01 6863d3e3a2b1: Waiting 15:35:01 6911f1a30b25: Verifying Checksum 15:35:01 6911f1a30b25: Download complete 15:35:01 6863d3e3a2b1: Verifying Checksum 15:35:01 6863d3e3a2b1: Download complete 15:35:01 4db1b89c0bd1: Verifying Checksum 15:35:01 4db1b89c0bd1: Download complete 15:35:01 ec0bb842ea78: Download complete 15:35:01 40a00589a448: Verifying Checksum 15:35:01 40a00589a448: Download complete 15:35:01 4db1b89c0bd1: Pull complete 15:35:01 6911f1a30b25: Pull complete 15:35:02 798269fcf238: Verifying Checksum 15:35:02 798269fcf238: Download complete 15:35:02 e194b8c5c2a9: Verifying Checksum 15:35:02 e194b8c5c2a9: Download complete 15:35:02 6c08303d61cc: Verifying Checksum 15:35:02 6c08303d61cc: Download complete 15:35:05 e194b8c5c2a9: Pull complete 15:35:05 6863d3e3a2b1: Pull complete 15:35:05 ec0bb842ea78: Pull complete 15:35:05 40a00589a448: Pull complete 15:35:08 6c08303d61cc: Pull complete 15:35:08 798269fcf238: Pull complete 15:35:08 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 15:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:35:08 ---> ec979cd7f677 15:35:08 Step 3/10 : ARG MAKE=make build 15:35:14 ---> Running in 864be2a1131a 15:35:14 Removing intermediate container 864be2a1131a 15:35:14 ---> 525f09f48689 15:35:14 Step 4/10 : WORKDIR /device-sdk-go 15:35:14 ---> Running in 3c62b84bf315 15:35:14 Removing intermediate container 3c62b84bf315 15:35:14 ---> e23a10674c1f 15:35:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:35:14 ---> Running in 5330f3f7534d 15:35:14 Removing intermediate container 5330f3f7534d 15:35:14 ---> 3aa37cf98288 15:35:14 Step 6/10 : RUN apk add --update --no-cache make git 15:35:14 ---> Running in 808fb7843cdf 15:35:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:35:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:35:14 OK: 265 MiB in 53 packages 15:35:14 Removing intermediate container 808fb7843cdf 15:35:14 ---> 7737857dbeff 15:35:14 Step 7/10 : COPY go.mod vendor* ./ 15:35:14 ---> abaa25e84652 15:35:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:35:14 ---> Running in e1acba8bca24 15:35:15 Still waiting to schedule task 15:35:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:36:10 Removing intermediate container e1acba8bca24 15:36:10 ---> 8688a4e8b09e 15:36:10 Step 9/10 : COPY . . 15:36:10 ---> 77b257b556ec 15:36:10 Step 10/10 : RUN ${MAKE} 15:36:10 ---> Running in 2d1ab43be9a0 15:36:10 noop 15:36:10 Removing intermediate container 2d1ab43be9a0 15:36:10 ---> 0db21ce5e8ef 15:36:10 Successfully built 0db21ce5e8ef 15:36:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:11 + docker inspect -f . ci-base-image-x86_64 15:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:11 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:36:11 $ 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 15:36:11 $ docker top 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:12 + go version 15:36:12 go version go1.20.6 linux/amd64 [Pipeline] } 15:36:12 $ docker stop --time=1 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba 15:36:13 $ docker rm -f --volumes 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:13 + docker inspect -f . ci-base-image-x86_64 15:36:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:13 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:36:13 $ 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 15:36:14 $ docker top 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:36:14 + make test 15:36:14 go test -race -coverprofile=coverage.out ./... 15:36:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:36:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:36:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements 15:36:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements 15:36:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:36:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:36:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 86.0% of statements 15:36:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:36:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.081s coverage: 71.8% of statements 15:36:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:36:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:36:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:36:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements 15:36:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.012s coverage: 43.8% of statements 15:36:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 15:36:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements 15:36:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 15:36:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4895 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:36:41 Running in /w/workspace/device-sdk-go/246 [Pipeline] { [Pipeline] checkout 15:36:41 The recommended git tool is: git 15:36:46 using credential edgex-jenkins-ssh 15:36:46 Cloning the remote Git repository 15:36:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:36:46 > git init /w/workspace/device-sdk-go/246 # timeout=10 15:36:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:36:46 > git --version # timeout=10 15:36:47 > git --version # 'git version 2.25.1' 15:36:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:36:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:49 Avoid second fetch 15:36:49 Checking out Revision 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 (main) 15:36:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:49 > git config core.sparsecheckout # timeout=10 15:36:49 > git checkout -f 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 15:36:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:36:50 % Total % Received % Xferd Average Speed Time Time Time Current 15:36:50 Dload Upload Total Spent Left Speed 15:36:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 15:36:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:36:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:36:51 + sudo tee /etc/docker/daemon.new 15:36:51 { 15:36:51 "registry-mirrors": [ 15:36:51 "https://nexus3.edgexfoundry.org:10001" 15:36:51 ], 15:36:51 "bip": "10.250.0.254/24", 15:36:51 "hosts": [ 15:36:51 "tcp://0.0.0.0:5555", 15:36:51 "unix:///var/run/docker.sock" 15:36:51 ], 15:36:51 "mtu": 1458, 15:36:51 "selinux-enabled": true, 15:36:51 "seccomp-profile": "/etc/docker/seccomp.json" 15:36:51 } [Pipeline] sh 15:36:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:36:52 + sudo service docker restart 15:37:00 GO111MODULE=on go vet ./... 15:37:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:37:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:37:01 ./bin/test-attribution-txt.sh [Pipeline] echo 15:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:37:01 $ docker stop --time=1 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 15:37:05 $ docker rm -f --volumes 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 [Pipeline] // withDockerContainer [Pipeline] sh 15:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:37:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:07 + ls -al . 15:37:07 total 304 15:37:07 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 15:36 . 15:37:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:34 .. 15:37:07 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 15:34 .dockerignore 15:37:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 15:34 .git 15:37:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:34 .github 15:37:07 -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 15:34 .gitignore 15:37:07 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 15:34 .golangci.yml 15:37:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 15:34 .semver 15:37:07 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 15:34 CHANGELOG.md 15:37:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 15:34 GOVERNANCE.md 15:37:07 -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 15:34 Jenkinsfile 15:37:07 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 15:34 LICENSE 15:37:07 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 15:34 Makefile 15:37:07 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 15:34 OWNERS.md 15:37:07 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 15:34 README.md 15:37:07 -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 15:34 VERSION 15:37:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:34 bin 15:37:07 -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 15:36 coverage.out 15:37:07 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 15:34 example 15:37:07 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 15:34 go.mod 15:37:07 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 15:34 go.sum 15:37:07 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:34 internal 15:37:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 15:34 openapi 15:37:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 15:34 pkg 15:37:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:34 snap 15:37:07 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 15:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:07 + 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 --label arch=amd64 --label version=3.1.0-dev.17 . 15:37:07 Sending build context to Docker daemon 11.2MB 15:37:07 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:37:07 Step 2/23 : FROM ${BASE} AS builder 15:37:07 ---> 0db21ce5e8ef 15:37:07 Step 3/23 : ARG MAKE=make build 15:37:07 ---> Running in c8e1e0a5cf4e 15:37:07 Removing intermediate container c8e1e0a5cf4e 15:37:07 ---> 7b13e73b271d 15:37:07 Step 4/23 : WORKDIR /device-sdk-go 15:37:07 ---> Running in 39c6c4b04c69 15:37:08 Removing intermediate container 39c6c4b04c69 15:37:08 ---> de7f7a97627e 15:37:08 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:37:08 ---> Running in 80f657b9b6a7 15:37:08 Removing intermediate container 80f657b9b6a7 15:37:08 ---> b9ce2bdd2f6c 15:37:08 Step 6/23 : RUN apk add --update --no-cache make git 15:37:08 ---> Running in 7bc3c4828c93 15:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:37:08 OK: 265 MiB in 53 packages 15:37:09 Removing intermediate container 7bc3c4828c93 15:37:09 ---> db0cda48d886 15:37:09 Step 7/23 : COPY go.mod vendor* ./ 15:37:09 ---> 69757646fa54 15:37:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:09 ---> Running in 0ac38001068b 15:37:09 Removing intermediate container 0ac38001068b 15:37:09 ---> e42ab752e26e 15:37:09 Step 9/23 : COPY . . 15:37:10 ---> 554685576d01 15:37:10 Step 10/23 : RUN ${MAKE} 15:37:10 ---> Running in a1f60eb9db48 [Pipeline] withEnv [Pipeline] { [2023-08-30T15:37:10.736Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] configFileProvider 15:37:10 provisioning config files... 15:37:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/246@tmp/config7467951352731630887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:11 ---> docker-login.sh 15:37:11 nexus3.edgexfoundry.org:10001 15:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:11 Configure a credential helper to remove this warning. See 15:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:11 15:37:11 Login Succeeded 15:37:11 nexus3.edgexfoundry.org:10002 15:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:11 Configure a credential helper to remove this warning. See 15:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:11 15:37:11 Login Succeeded 15:37:11 nexus3.edgexfoundry.org:10003 15:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:12 Configure a credential helper to remove this warning. See 15:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:12 15:37:12 Login Succeeded 15:37:12 nexus3.edgexfoundry.org:10004 15:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:12 Configure a credential helper to remove this warning. See 15:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:12 15:37:12 Login Succeeded 15:37:12 docker.io 15:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:13 Configure a credential helper to remove this warning. See 15:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:13 15:37:13 Login Succeeded 15:37:13 ---> docker-login.sh ends [Pipeline] } 15:37:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:37:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:37:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:37:13 ========================================================= 15:37:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:37:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:13 + 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 . 15:37:14 Sending build context to Docker daemon 5.915MB 15:37:14 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:37:14 Step 2/10 : FROM ${BASE} AS builder 15:37:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:37:14 edb6bdbacee9: Pulling fs layer 15:37:14 5f9638ab2659: Pulling fs layer 15:37:14 8d51d6327a98: Pulling fs layer 15:37:14 8b374f2dd631: Pulling fs layer 15:37:14 ec14aa9079de: Pulling fs layer 15:37:14 2f466654f4bb: Pulling fs layer 15:37:14 554e91adad29: Pulling fs layer 15:37:14 2f466654f4bb: Waiting 15:37:14 8b374f2dd631: Waiting 15:37:14 554e91adad29: Waiting 15:37:14 5f9638ab2659: Download complete 15:37:14 8b374f2dd631: Verifying Checksum 15:37:14 8b374f2dd631: Download complete 15:37:14 ec14aa9079de: Verifying Checksum 15:37:14 ec14aa9079de: Download complete 15:37:14 edb6bdbacee9: Verifying Checksum 15:37:14 edb6bdbacee9: Download complete 15:37:15 edb6bdbacee9: Pull complete 15:37:15 554e91adad29: Verifying Checksum 15:37:15 554e91adad29: Download complete 15:37:16 5f9638ab2659: Pull complete 15:37:17 2f466654f4bb: Verifying Checksum 15:37:17 2f466654f4bb: Download complete 15:37:17 8d51d6327a98: Verifying Checksum 15:37:17 8d51d6327a98: Download complete 15:37:29 8d51d6327a98: Pull complete 15:37:29 8b374f2dd631: Pull complete 15:37:29 ec14aa9079de: Pull complete 15:37:33 Removing intermediate container a1f60eb9db48 15:37:33 ---> 2caab2438580 15:37:33 Step 11/23 : FROM alpine:3.17 15:37:33 3.17: Pulling from library/alpine 15:37:33 9398808236ff: Pulling fs layer 15:37:33 9398808236ff: Verifying Checksum 15:37:33 9398808236ff: Download complete 15:37:33 9398808236ff: Pull complete 15:37:33 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:37:33 Status: Downloaded newer image for alpine:3.17 15:37:33 ---> 1e0b8b5322fc 15:37:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:37:33 ---> Running in ccf484b4458f 15:37:33 Removing intermediate container ccf484b4458f 15:37:33 ---> ea10e24ff863 15:37:33 Step 13/23 : RUN apk add --update --no-cache 15:37:33 ---> Running in bfc38c55d9fd 15:37:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:37:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:37:33 OK: 7 MiB in 15 packages 15:37:33 Removing intermediate container bfc38c55d9fd 15:37:33 ---> 1f25008eacb6 15:37:33 Step 14/23 : WORKDIR / 15:37:33 ---> Running in 0f850508ac6e 15:37:33 Removing intermediate container 0f850508ac6e 15:37:33 ---> c0b720c094a9 15:37:33 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:37:33 ---> 36a342f179d9 15:37:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:37:34 ---> c8059b6b17f3 15:37:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:37:34 ---> 52912eee6bff 15:37:34 Step 18/23 : EXPOSE 59999 15:37:34 ---> Running in 4c0ac1f673ac 15:37:34 Removing intermediate container 4c0ac1f673ac 15:37:34 ---> 3e8ab1a036f7 15:37:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:37:34 ---> Running in b06f984418e2 15:37:34 Removing intermediate container b06f984418e2 15:37:34 ---> f9db14a75d09 15:37:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:37:34 ---> Running in c6aa1bc066ce 15:37:34 Removing intermediate container c6aa1bc066ce 15:37:34 ---> 083b47196073 15:37:34 Step 21/23 : LABEL arch=amd64 15:37:34 ---> Running in bad737962694 15:37:34 Removing intermediate container bad737962694 15:37:34 ---> 0d8021d3734d 15:37:34 Step 22/23 : LABEL git_sha=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 15:37:34 ---> Running in 4c41c30ce1b1 15:37:34 Removing intermediate container 4c41c30ce1b1 15:37:34 ---> 48292e3e5b7f 15:37:34 Step 23/23 : LABEL version=3.1.0-dev.17 15:37:34 ---> Running in 25a61c2f4f3d 15:37:34 Removing intermediate container 25a61c2f4f3d 15:37:34 ---> d92f5dcbbae0 15:37:34 [Warning] One or more build-args [ARCH] were not consumed 15:37:34 Successfully built d92f5dcbbae0 15:37:34 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 15:37:34 2f466654f4bb: Pull complete Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:35 15:37:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:35 latest: Pulling from edgex-lftools-log-publisher 15:37:35 5eb5b503b376: Pulling fs layer 15:37:35 5c69ac0246d0: Pulling fs layer 15:37:35 ec43610c2a17: Pulling fs layer 15:37:35 3a2ae6a8a46f: Pulling fs layer 15:37:35 33b1e0a273af: Pulling fs layer 15:37:35 5d3b04190fa2: Pulling fs layer 15:37:35 2f39f015ded8: Pulling fs layer 15:37:35 3a2ae6a8a46f: Waiting 15:37:35 33b1e0a273af: Waiting 15:37:35 5d3b04190fa2: Waiting 15:37:35 5c69ac0246d0: Download complete 15:37:35 3a2ae6a8a46f: Verifying Checksum 15:37:35 3a2ae6a8a46f: Download complete 15:37:35 33b1e0a273af: Verifying Checksum 15:37:35 33b1e0a273af: Download complete 15:37:35 ec43610c2a17: Verifying Checksum 15:37:35 ec43610c2a17: Download complete 15:37:35 5d3b04190fa2: Download complete 15:37:35 5eb5b503b376: Verifying Checksum 15:37:35 5eb5b503b376: Download complete 15:37:36 2f39f015ded8: Verifying Checksum 15:37:36 2f39f015ded8: Download complete 15:37:36 5eb5b503b376: Pull complete 15:37:37 5c69ac0246d0: Pull complete 15:37:37 ec43610c2a17: Pull complete 15:37:37 3a2ae6a8a46f: Pull complete 15:37:37 554e91adad29: Pull complete 15:37:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 15:37:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:37:37 ---> 1e15ea492957 15:37:37 Step 3/10 : ARG MAKE=make build 15:37:37 33b1e0a273af: Pull complete 15:37:37 5d3b04190fa2: Pull complete 15:37:39 ---> Running in 4e208e4f3dd2 15:37:39 Removing intermediate container 4e208e4f3dd2 15:37:39 ---> f7bf7abf327d 15:37:39 Step 4/10 : WORKDIR /device-sdk-go 15:37:39 ---> Running in ed27d42dbe14 15:37:39 Removing intermediate container ed27d42dbe14 15:37:39 ---> 8ee70a321175 15:37:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:37:39 ---> Running in 4bc4e66af432 15:37:40 Removing intermediate container 4bc4e66af432 15:37:40 ---> 548584cdfd89 15:37:40 Step 6/10 : RUN apk add --update --no-cache make git 15:37:40 ---> Running in 9d162675d445 15:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:37:41 2f39f015ded8: Pull complete 15:37:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:41 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:37:41 $ 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 15:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:37:42 OK: 263 MiB in 53 packages 15:37:43 Removing intermediate container 9d162675d445 15:37:43 ---> 3e7f39380599 15:37:43 Step 7/10 : COPY go.mod vendor* ./ 15:37:45 ---> 25b38be0b243 15:37:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:45 ---> Running in b358ee508bda 15:37:45 $ docker top f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:46 ---> job-cost.sh 15:37:46 lf-activate-venv: SKIPPING 15:37:46 INFO: No Stack... 15:37:46 INFO: Retrieving Pricing Info for: v3-standard-8 15:37:46 INFO: Archiving Costs [Pipeline] sh 15:37:47 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:37:47 + cut -d, -f6 [Pipeline] lock 15:37:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] 15:37:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] did not exist. Created. 15:37:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:37:47 + echo total: 0.2199999988079071 [Pipeline] stash 15:37:47 Stashed 1 file(s) [Pipeline] } 15:37:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] // lock [Pipeline] } 15:37:47 $ docker stop --time=1 f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def 15:37:48 $ docker rm -f --volumes f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:53 Removing intermediate container b358ee508bda 15:38:53 ---> e10a232748c8 15:38:53 Step 9/10 : COPY . . 15:38:53 ---> c6ed78e8a3b8 15:38:53 Step 10/10 : RUN ${MAKE} 15:38:53 ---> Running in 8175bb969603 15:38:53 noop 15:38:53 Removing intermediate container 8175bb969603 15:38:53 ---> 6dc84e05ed05 15:38:53 Successfully built 6dc84e05ed05 15:38:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:53 + docker inspect -f . ci-base-image-arm64 15:38:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:53 prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container 15:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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 15:38:55 $ docker top 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:56 + go version 15:38:56 go version go1.20.6 linux/arm64 [Pipeline] } 15:38:56 $ docker stop --time=1 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 15:38:57 $ docker rm -f --volumes 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:58 + docker inspect -f . ci-base-image-arm64 15:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:58 prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container 15:38:58 $ 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/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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 15:38:59 $ docker top 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/246 [Pipeline] fileExists [Pipeline] sh 15:39:00 + make test 15:39:00 go test -race -coverprofile=coverage.out ./... 15:39:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:42:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:42:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:42:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:42:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:42:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:42:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.241s coverage: 27.6% of statements 15:42:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.291s coverage: 80.2% of statements 15:42:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:42:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:42:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.354s coverage: 86.0% of statements 15:42:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:42:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.487s coverage: 71.8% of statements 15:42:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.315s coverage: 14.3% of statements 15:42:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:42:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:42:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.426s coverage: 43.8% of statements 15:42:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.418s coverage: 68.5% of statements 15:42:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.476s coverage: 89.2% of statements 15:42:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:42:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.266s coverage: 5.5% of statements 15:42:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:42:43 GO111MODULE=on go vet ./... 15:45:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:45:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:45:20 ./bin/test-attribution-txt.sh [Pipeline] echo 15:45:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:45:20 $ docker stop --time=1 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 15:45:22 $ docker rm -f --volumes 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:45:24 Warning: overwriting stash ‘coverage-report’ 15:45:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:45:25 + ls -al . 15:45:25 total 300 15:45:25 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 15:39 . 15:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:36 .. 15:45:25 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 15:36 .dockerignore 15:45:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 15:36 .git 15:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:36 .github 15:45:25 -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 15:36 .gitignore 15:45:25 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 15:36 .golangci.yml 15:45:25 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 15:36 CHANGELOG.md 15:45:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 15:36 GOVERNANCE.md 15:45:25 -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 15:36 Jenkinsfile 15:45:25 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 15:36 LICENSE 15:45:25 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 15:36 Makefile 15:45:25 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 15:36 OWNERS.md 15:45:25 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 15:36 README.md 15:45:25 -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 15:34 VERSION 15:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:36 bin 15:45:25 -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 15:42 coverage.out 15:45:25 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 15:36 example 15:45:25 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 15:36 go.mod 15:45:25 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 15:36 go.sum 15:45:25 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:36 internal 15:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 15:36 openapi 15:45:25 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 15:36 pkg 15:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:36 snap 15:45:25 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 15:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:26 + 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 --label arch=arm64 --label version=3.1.0-dev.17 . 15:45:26 Sending build context to Docker daemon 6.036MB 15:45:26 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:45:26 Step 2/23 : FROM ${BASE} AS builder 15:45:26 ---> 6dc84e05ed05 15:45:26 Step 3/23 : ARG MAKE=make build 15:45:26 ---> Running in 25d666371817 15:45:27 Removing intermediate container 25d666371817 15:45:27 ---> 4d47772d3d08 15:45:27 Step 4/23 : WORKDIR /device-sdk-go 15:45:27 ---> Running in 442ca3396185 15:45:27 Removing intermediate container 442ca3396185 15:45:27 ---> ffd2d3db50ba 15:45:27 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:45:27 ---> Running in 9c5133dacd3d 15:45:27 Removing intermediate container 9c5133dacd3d 15:45:27 ---> b60f2557d966 15:45:27 Step 6/23 : RUN apk add --update --no-cache make git 15:45:27 ---> Running in 8068047cc101 15:45:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:45:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:45:30 OK: 263 MiB in 53 packages 15:45:32 Removing intermediate container 8068047cc101 15:45:32 ---> bb9b92431fbb 15:45:32 Step 7/23 : COPY go.mod vendor* ./ 15:45:32 ---> 35bca725e333 15:45:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:32 ---> Running in 5b4af59970b1 15:45:35 Removing intermediate container 5b4af59970b1 15:45:35 ---> 3871d16e1c3d 15:45:35 Step 9/23 : COPY . . 15:45:35 ---> e8459897f94f 15:45:35 Step 10/23 : RUN ${MAKE} 15:45:35 ---> Running in e743ca6aec12 15:45:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:47:58 Removing intermediate container e743ca6aec12 15:47:58 ---> b81204489c46 15:47:58 Step 11/23 : FROM alpine:3.17 15:47:58 3.17: Pulling from library/alpine 15:47:58 4060ece20d7a: Pulling fs layer 15:47:58 4060ece20d7a: Verifying Checksum 15:47:58 4060ece20d7a: Download complete 15:47:58 4060ece20d7a: Pull complete 15:47:58 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:47:58 Status: Downloaded newer image for alpine:3.17 15:47:58 ---> 8650cd65339b 15:47:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:47:58 ---> Running in 0113f808aecf 15:47:58 Removing intermediate container 0113f808aecf 15:47:58 ---> 0793ad02b4f1 15:47:58 Step 13/23 : RUN apk add --update --no-cache 15:47:58 ---> Running in 67893849b4b6 15:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:48:00 OK: 7 MiB in 15 packages 15:48:00 Removing intermediate container 67893849b4b6 15:48:00 ---> a846cecdb0ff 15:48:00 Step 14/23 : WORKDIR / 15:48:00 ---> Running in cafbeb0d36b9 15:48:01 Removing intermediate container cafbeb0d36b9 15:48:01 ---> 6a8c45519103 15:48:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:48:01 ---> e2aea373e227 15:48:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:48:03 ---> 92d24f407a69 15:48:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:48:03 ---> 6cd00bd8ab18 15:48:03 Step 18/23 : EXPOSE 59999 15:48:03 ---> Running in d7f351bef961 15:48:03 Removing intermediate container d7f351bef961 15:48:03 ---> 4813ecca9d13 15:48:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:48:04 ---> Running in 9a859bd94a66 15:48:04 Removing intermediate container 9a859bd94a66 15:48:04 ---> 388d87edb2f6 15:48:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:48:04 ---> Running in 4272e084bc0b 15:48:04 Removing intermediate container 4272e084bc0b 15:48:04 ---> c5e9c8dea336 15:48:04 Step 21/23 : LABEL arch=arm64 15:48:04 ---> Running in ff7bfb21f89d 15:48:05 Removing intermediate container ff7bfb21f89d 15:48:05 ---> 2875f7ed97f8 15:48:05 Step 22/23 : LABEL git_sha=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 15:48:05 ---> Running in 7181d792a0ff 15:48:05 Removing intermediate container 7181d792a0ff 15:48:05 ---> f107da87b2b1 15:48:05 Step 23/23 : LABEL version=3.1.0-dev.17 15:48:05 ---> Running in 78280e35acc0 15:48:05 Removing intermediate container 78280e35acc0 15:48:05 ---> 05b16caa02fd 15:48:05 [Warning] One or more build-args [ARCH] were not consumed 15:48:05 Successfully built 05b16caa02fd 15:48:05 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 15:48:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:48:06 15:48:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:48:06 arm64: Pulling from edgex-lftools-log-publisher 15:48:06 8998bd30e6a1: Pulling fs layer 15:48:06 04944245beec: Pulling fs layer 15:48:06 699f458cf7ca: Pulling fs layer 15:48:06 765212b225bb: Pulling fs layer 15:48:06 f23df028b6ca: Pulling fs layer 15:48:06 d65c8cfc05b1: Pulling fs layer 15:48:06 2437ff75d9bd: Pulling fs layer 15:48:06 f23df028b6ca: Waiting 15:48:06 d65c8cfc05b1: Waiting 15:48:06 765212b225bb: Waiting 15:48:06 2437ff75d9bd: Waiting 15:48:06 04944245beec: Verifying Checksum 15:48:06 04944245beec: Download complete 15:48:06 765212b225bb: Verifying Checksum 15:48:06 765212b225bb: Download complete 15:48:06 f23df028b6ca: Verifying Checksum 15:48:06 f23df028b6ca: Download complete 15:48:06 d65c8cfc05b1: Verifying Checksum 15:48:06 d65c8cfc05b1: Download complete 15:48:06 699f458cf7ca: Verifying Checksum 15:48:06 699f458cf7ca: Download complete 15:48:07 8998bd30e6a1: Verifying Checksum 15:48:07 8998bd30e6a1: Download complete 15:48:09 2437ff75d9bd: Verifying Checksum 15:48:09 2437ff75d9bd: Download complete 15:48:11 8998bd30e6a1: Pull complete 15:48:11 04944245beec: Pull complete 15:48:12 699f458cf7ca: Pull complete 15:48:13 765212b225bb: Pull complete 15:48:13 f23df028b6ca: Pull complete 15:48:13 d65c8cfc05b1: Pull complete 15:48:28 2437ff75d9bd: Pull complete 15:48:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:48:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:29 prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container 15:48:29 $ 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/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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 15:48:31 $ docker top 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:32 ---> job-cost.sh 15:48:32 lf-activate-venv: SKIPPING 15:48:32 INFO: No Stack... 15:48:33 INFO: Retrieving Pricing Info for: v3-standard-4 15:48:34 INFO: Archiving Costs [Pipeline] sh 15:48:34 + cat /w/workspace/device-sdk-go/246/archives/cost.csv 15:48:34 + cut -d, -f6 [Pipeline] lock 15:48:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] 15:48:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] did not exist. Created. 15:48:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:48:35 /w/workspace/device-sdk-go/246@tmp/durable-5100111b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:48:35 + echo total: 0.10999999940395355 [Pipeline] stash 15:48:35 Warning: overwriting stash ‘stack-cost’ 15:48:36 Stashed 1 file(s) [Pipeline] } 15:48:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] // lock [Pipeline] } 15:48:36 $ docker stop --time=1 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 15:48:37 $ docker rm -f --volumes 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 [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 15:48:38 provisioning config files... 15:48:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1721510763391998561tmp [Pipeline] { [Pipeline] sh 15:48:38 + set +x 15:48:38 + bash -s -- 15:48:38 + curl -s https://codecov.io/bash 15:48:38 15:48:38 _____ _ 15:48:38 / ____| | | 15:48:38 | | ___ __| | ___ ___ _____ __ 15:48:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:48:38 | |___| (_) | (_| | __/ (_| (_) \ V / 15:48:38 \_____\___/ \__,_|\___|\___\___/ \_/ 15:48:38 Bash-1.0.6 15:48:38 15:48:38 15:48:38 ==> git version 2.25.1 found 15:48:38 ==> 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 15:48:38 Release-Date: 2020-01-08 15:48:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:48:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:48:38 ==> Jenkins CI detected. 15:48:38 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:48:38 project root: . 15:48:38 --> token set from env 15:48:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:48:38 ==> Running gcov in . (disable via -X gcov) 15:48:38 ==> Python coveragepy not found 15:48:38 ==> Searching for coverage reports in: 15:48:38 + . 15:48:38 -> Found 1 reports 15:48:38 ==> Detecting git/mercurial file structure 15:48:38 ==> Reading reports 15:48:38 + ./coverage.out bytes=120271 15:48:38 ==> Appending adjustments 15:48:38 https://docs.codecov.io/docs/fixing-reports 15:48:38 + Found adjustments 15:48:38 ==> Gzipping contents 15:48:38 20K /tmp/codecov.odGK8T.gz 15:48:38 ==> Uploading reports 15:48:38 url: https://codecov.io 15:48:38 query: branch=main&commit=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0&build=246&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F246%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:48:38 -> Pinging Codecov 15:48:38 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0&build=246&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F246%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:48:38 -> Uploading to 15:48:38 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/7E55EF52A471D76F132DFD9A03CDDE97/301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0/7d90296d-4865-41d8-a4ae-4db190c8a0f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T154838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e0d3e3f8f5329bea7949a51386b20a4f888f045ae2f6ba4d8f6e7fd8760c5a0 15:48:38 % Total % Received % Xferd Average Speed Time Time Time Current 15:48:38 Dload Upload Total Spent Left Speed 15:48:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16424 0 0 100 16424 0 86899 --:--:-- --:--:-- --:--:-- 86899 15:48:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] } 15:48:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:48:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:48:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:48:39 15:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:48:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:48:39 df9b9388f04a: Pulling fs layer 15:48:39 52dc419b0ee2: Pulling fs layer 15:48:39 25bc292e5bac: Pulling fs layer 15:48:39 114826534d7a: Pulling fs layer 15:48:39 4657fd5d0bcf: Pulling fs layer 15:48:39 6ad1cebc031e: Pulling fs layer 15:48:39 8a3aa393b2d8: Pulling fs layer 15:48:39 114826534d7a: Waiting 15:48:39 8a3aa393b2d8: Waiting 15:48:39 4657fd5d0bcf: Waiting 15:48:39 6ad1cebc031e: Waiting 15:48:39 25bc292e5bac: Download complete 15:48:39 52dc419b0ee2: Verifying Checksum 15:48:39 52dc419b0ee2: Download complete 15:48:39 4657fd5d0bcf: Verifying Checksum 15:48:39 4657fd5d0bcf: Download complete 15:48:39 df9b9388f04a: Download complete 15:48:40 df9b9388f04a: Pull complete 15:48:40 6ad1cebc031e: Verifying Checksum 15:48:40 6ad1cebc031e: Download complete 15:48:40 52dc419b0ee2: Pull complete 15:48:40 25bc292e5bac: Pull complete 15:48:40 114826534d7a: Download complete 15:48:40 8a3aa393b2d8: Verifying Checksum 15:48:40 8a3aa393b2d8: Download complete 15:48:44 114826534d7a: Pull complete 15:48:44 4657fd5d0bcf: Pull complete 15:48:44 6ad1cebc031e: Pull complete 15:48:46 8a3aa393b2d8: Pull complete 15:48:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:48:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:46 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:48:47 $ 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 15:48:51 $ docker top a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 -eo pid,comm [Pipeline] { [Pipeline] echo 15:48:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:48:51 + set -o pipefail 15:48:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:48:58 15:48:58 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:48:58 15:48:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f3f70215-f847-4aba-a641-8e8980ca2f43 15:48:58 15:48:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:48:58 15:48:58 15:48:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:48:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:48:58 More details here: https://snyk.co/ue1NS [Pipeline] } 15:48:58 $ docker stop --time=1 a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 15:49:02 $ docker rm -f --volumes a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 [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 15:49:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:02 provisioning config files... 15:49:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1341136670850681554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:02 --> edgex-publish-swagger.sh 15:49:02 === Publish openapi/v3 API === 15:49:02 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:49:02 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:49:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:49:02 Dload Upload Total Spent Left Speed 15:49:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51021 --:--:-- --:--:-- --:--:-- 50911 15:49:03 15:49:03 [Pipeline] } 15:49:03 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 15:49:03 + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] sh 15:49:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:49:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:04 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:49:04 $ 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 15:49:04 $ docker top beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:04 [ssh-agent] Looking for ssh-agent implementation... 15:49:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:04 $ docker exec beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 ssh-agent 15:49:04 SSH_AUTH_SOCK=/tmp/ssh-KQAeIzQguC4g/agent.31 15:49:04 SSH_AGENT_PID=37 15:49:04 Running ssh-add (command line suppressed) 15:49:04 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14738032489724013458.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14738032489724013458.key) 15:49:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:05 + git semver tag 15:49:05 2023-08-30 15:49:05,416 [run_tag] DEBUG tag force:False 15:49:05 2023-08-30 15:49:05,416 [check_head_tag] DEBUG check head tag 15:49:05 2023-08-30 15:49:05,416 [execute] INFO git cat-file --batch-check 15:49:05 2023-08-30 15:49:05,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:49:05 2023-08-30 15:49:05,420 [execute] INFO git cat-file --batch 15:49:05 2023-08-30 15:49:05,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:49:05 2023-08-30 15:49:05,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:05 2023-08-30 15:49:05,433 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 15:49:05 2023-08-30 15:49:05,433 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:49:05 2023-08-30 15:49:05,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:05 3.1.0-dev.17 [Pipeline] } 15:49:05 $ docker exec --env ******** --env ******** beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 ssh-agent -k 15:49:05 unset SSH_AUTH_SOCK; 15:49:05 unset SSH_AGENT_PID; 15:49:05 echo Agent pid 37 killed; 15:49:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:05 + git semver [Pipeline] } 15:49:06 $ docker stop --time=1 beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 15:49:07 $ docker rm -f --volumes beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:49:07 15:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:49:08 0.23.1-centos7: Pulling from edgex-lftools 15:49:08 ab5ef0e58194: Pulling fs layer 15:49:08 9712f1f96733: Pulling fs layer 15:49:08 63f879dbbcfc: Pulling fs layer 15:49:08 0d9ebad4ef96: Pulling fs layer 15:49:08 e9a5061849ea: Pulling fs layer 15:49:08 d747dcd14b5f: Pulling fs layer 15:49:08 2de7ff778b66: Pulling fs layer 15:49:08 e9a5061849ea: Waiting 15:49:08 d747dcd14b5f: Waiting 15:49:08 0d9ebad4ef96: Waiting 15:49:08 9712f1f96733: Verifying Checksum 15:49:08 9712f1f96733: Download complete 15:49:08 63f879dbbcfc: Verifying Checksum 15:49:08 63f879dbbcfc: Download complete 15:49:08 0d9ebad4ef96: Verifying Checksum 15:49:08 0d9ebad4ef96: Download complete 15:49:08 d747dcd14b5f: Download complete 15:49:08 e9a5061849ea: Verifying Checksum 15:49:08 e9a5061849ea: Download complete 15:49:08 ab5ef0e58194: Verifying Checksum 15:49:08 ab5ef0e58194: Download complete 15:49:08 2de7ff778b66: Verifying Checksum 15:49:08 2de7ff778b66: Download complete 15:49:11 ab5ef0e58194: Pull complete 15:49:11 9712f1f96733: Pull complete 15:49:11 63f879dbbcfc: Pull complete 15:49:16 0d9ebad4ef96: Pull complete 15:49:16 e9a5061849ea: Pull complete 15:49:16 d747dcd14b5f: Pull complete 15:49:16 2de7ff778b66: Pull complete 15:49:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:49:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:49:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:16 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:49:16 $ 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 15:49:22 $ docker top 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:49:22 provisioning config files... 15:49:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3269393970377173514tmp 15:49:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7642005742450109596tmp 15:49:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8243083576659906895tmp [Pipeline] { [Pipeline] echo 15:49:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:49:22 ---> sigul-configuration.sh 15:49:22 gpg: directory `/root/.gnupg' created 15:49:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:49:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:49:22 gpg: keyring `/root/.gnupg/secring.gpg' created 15:49:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:49:22 gpg: CAST5 encrypted data 15:49:22 gpg: encrypted with 1 passphrase 15:49:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:49:22 + mkdir /home/jenkins 15:49:22 + mkdir /home/jenkins/sigul [Pipeline] sh 15:49:23 + 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 15:49:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:49:23 ---> sigul-install.sh 15:49:23 Sigul already installed; skipping installation. [Pipeline] sh 15:49:23 + git tag --list 15:49:23 0.7.1 15:49:23 delhi-tag 15:49:23 v1.0.0 15:49:23 v1.1.0 15:49:23 v1.1.1 15:49:23 v1.1.2 15:49:23 v1.2.0 15:49:23 v1.2.1 15:49:23 v1.2.2 15:49:23 v1.2.3 15:49:23 v1.3.0 15:49:23 v1.4.0 15:49:23 v2.0.0 15:49:23 v2.1.0 15:49:23 v2.1.1 15:49:23 v2.2.0 15:49:23 v2.3.0 15:49:23 v2.3.1 15:49:23 v3.0 15:49:23 v3.0.0 15:49:23 v3.0.1-dev.1 15:49:23 v3.1.0-dev.1 15:49:23 v3.1.0-dev.10 15:49:23 v3.1.0-dev.11 15:49:23 v3.1.0-dev.12 15:49:23 v3.1.0-dev.13 15:49:23 v3.1.0-dev.14 15:49:23 v3.1.0-dev.15 15:49:23 v3.1.0-dev.16 15:49:23 v3.1.0-dev.17 15:49:23 v3.1.0-dev.2 15:49:23 v3.1.0-dev.3 15:49:23 v3.1.0-dev.4 15:49:23 v3.1.0-dev.5 15:49:23 v3.1.0-dev.6 15:49:23 v3.1.0-dev.7 15:49:23 v3.1.0-dev.8 15:49:23 v3.1.0-dev.9 [Pipeline] sh 15:49:23 + lftools sign git-tag v3.1.0-dev.17 15:49:24 Signing Git tag with Sigul... 15:49:24 Signing v3.1.0-dev.17 [Pipeline] echo 15:49:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:49:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:49:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:49:25 $ docker stop --time=1 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 15:49:26 $ docker rm -f --volumes 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:49:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:49:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:27 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:49:27 $ 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 15:49:27 $ docker top dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 -eo pid,comm 15:49:27 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). 15:49:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:27 [ssh-agent] Looking for ssh-agent implementation... 15:49:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:27 $ docker exec dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 ssh-agent 15:49:27 SSH_AUTH_SOCK=/tmp/ssh-jVOID4JtX4TM/agent.33 15:49:27 SSH_AGENT_PID=39 15:49:27 Running ssh-add (command line suppressed) 15:49:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17945187017138698991.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17945187017138698991.key) 15:49:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:28 + git semver bump pre 15:49:28 2023-08-30 15:49:28,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:28 2023-08-30 15:49:28,391 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev 15:49:28 2023-08-30 15:49:28,391 [bump_version] DEBUG bumped version:3.1.0-dev.18 15:49:28 2023-08-30 15:49:28,391 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:49:28 2023-08-30 15:49:28,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:28 2023-08-30 15:49:28,391 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:28 2023-08-30 15:49:28,393 [execute] INFO git cat-file --batch-check 15:49:28 2023-08-30 15:49:28,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:49:28 2023-08-30 15:49:28,398 [execute] INFO git cat-file --batch 15:49:28 2023-08-30 15:49:28,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:49:28 2023-08-30 15:49:28,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:28 3.1.0-dev.18 [Pipeline] } 15:49:28 $ docker exec --env ******** --env ******** dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 ssh-agent -k 15:49:28 unset SSH_AUTH_SOCK; 15:49:28 unset SSH_AGENT_PID; 15:49:28 echo Agent pid 39 killed; 15:49:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:28 + git semver [Pipeline] } 15:49:29 $ docker stop --time=1 dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 15:49:30 $ docker rm -f --volumes dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:49:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:31 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:49:31 $ 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 15:49:31 $ docker top f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:31 [ssh-agent] Looking for ssh-agent implementation... 15:49:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:31 $ docker exec f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 ssh-agent 15:49:31 SSH_AUTH_SOCK=/tmp/ssh-woiVthZcRxFy/agent.32 15:49:31 SSH_AGENT_PID=38 15:49:31 Running ssh-add (command line suppressed) 15:49:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3956659358078613697.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3956659358078613697.key) 15:49:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:32 + git semver push 15:49:32 2023-08-30 15:49:32,413 [run_push] DEBUG push 15:49:32 2023-08-30 15:49:32,414 [execute] INFO git cat-file --batch-check 15:49:32 2023-08-30 15:49:32,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:49:32 2023-08-30 15:49:32,417 [execute] INFO git rev-list f84fbd93820e7bdb8931ad92967cfab380ec2196 -- 15:49:32 2023-08-30 15:49:32,417 [execute] DEBUG Popen(['git', 'rev-list', 'f84fbd93820e7bdb8931ad92967cfab380ec2196', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:49:32 2023-08-30 15:49:32,429 [execute] INFO git fetch -v origin 15:49:32 2023-08-30 15:49:32,430 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:49:33 2023-08-30 15:49:32,912 [run_push] DEBUG no remote changes detected 15:49:33 2023-08-30 15:49:32,912 [execute] INFO git push origin semver 15:49:33 2023-08-30 15:49:32,913 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:49:34 2023-08-30 15:49:33,720 [run_push] DEBUG push all version tags 15:49:34 2023-08-30 15:49:33,721 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:49:34 2023-08-30 15:49:33,721 [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) 15:49:34 2023-08-30 15:49:34,445 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:34 3.1.0-dev.18 [Pipeline] } 15:49:34 $ docker exec --env ******** --env ******** f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 ssh-agent -k 15:49:34 unset SSH_AUTH_SOCK; 15:49:34 unset SSH_AGENT_PID; 15:49:34 echo Agent pid 38 killed; 15:49:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:35 + git semver [Pipeline] } 15:49:35 $ docker stop --time=1 f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 15:49:36 $ docker rm -f --volumes f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 [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 15:49:37 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:49:37 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:49:37 total 16 15:49:37 drwxr-xr-x 3 root root 4096 Aug 30 15:37 . 15:49:37 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:49 .. 15:49:37 drwxr-xr-x 2 root root 4096 Aug 30 15:37 cost 15:49:37 -rw-r--r-- 1 root root 85 Aug 30 15:37 cost.csv 15:49:37 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:49:37 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:49:37 total 16 15:49:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 15:37 . 15:49:37 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:49 .. 15:49:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 15:37 cost 15:49:37 -rw-r--r-- 1 jenkins jenkins 85 Aug 30 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:49:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:49:38 ---> package-listing.sh 15:49:38 ++ facter osfamily 15:49:38 ++ tr '[:upper:]' '[:lower:]' 15:49:38 + OS_FAMILY=debian 15:49:38 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:49:38 + START_PACKAGES=/tmp/packages_start.txt 15:49:38 + END_PACKAGES=/tmp/packages_end.txt 15:49:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:49:38 + PACKAGES=/tmp/packages_start.txt 15:49:38 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:49:38 + PACKAGES=/tmp/packages_end.txt 15:49:38 + case "${OS_FAMILY}" in 15:49:38 + dpkg -l 15:49:38 + grep '^ii' 15:49:38 + '[' -f /tmp/packages_start.txt ']' 15:49:38 + '[' -f /tmp/packages_end.txt ']' 15:49:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:49:38 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:49:38 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:49:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:49:38 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 15:49:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:39 prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container 15:49:39 $ 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 15:49:39 $ docker top 5d0e05c49383f6decf6fdf84f31e70fd54653f5bd7f2321e1421904ada92fd52 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:40 + touch /tmp/pre-build-complete [Pipeline] sh 15:49:40 + mkdir -p /var/log/sysstat [Pipeline] sh 15:49:40 + ls /var/log/sa-host 15:49:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:40 provisioning config files... 15:49:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14611887995091120875tmp [Pipeline] { [Pipeline] echo 15:49:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:49:41 ---> create-netrc.sh [Pipeline] } 15:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:49:41 ---> python-tools-install.sh [Pipeline] echo 15:49:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:49:41 ---> sudo-logs.sh 15:49:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:49:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:49:42 ---> job-cost.sh 15:49:42 lf-activate-venv: SKIPPING 15:49:42 DEBUG: total: 0.2199999988079071 15:49:42 INFO: Retrieving Stack Cost... 15:49:42 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:42 INFO: Archiving Costs [Pipeline] echo 15:49:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:49:43 ---> logs-deploy.sh 15:49:43 lf-activate-venv: SKIPPING 15:49:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/246 15:49:43 INFO: archiving workspace using pattern(s): 15:49:43 Archives upload complete. 15:49:43 INFO: archiving logs to Nexus