Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 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-ssh13582807297210081528.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9217703658447582889.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14674428595560675223.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5364307225924228912.key Verifying host key using known hosts file > 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-ssh14065770411192818966.key Verifying host key using known hosts file > 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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-121066’ Running on prd-ubuntu20.04-docker-8c-8g-121069 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 (main) Commit message: "Merge pull request #1265 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.2" > 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 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 # timeout=10 > git rev-list --no-walk bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:05:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:05:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:05:19 ========================================================= 14:05:19 EdgeX Global Pipelines Version Info 14:05:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:05:19 ------------------- 14:05:19 stable info: 14:05:19 ------------------- 14:05:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:05:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:05:19 Message: update stable to v1.0.244 14:05:20 ------------------- 14:05:20 experimental info: 14:05:20 ------------------- 14:05:20 Commited By: **** collab-it+edgex@linuxfoundation.org 14:05:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:05:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:05:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e35745 [Pipeline] echo 14:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:21 provisioning config files... 14:05:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3881811287142543394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:21 ---> docker-login.sh 14:05:21 nexus3.edgexfoundry.org:10001 14:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:21 Configure a credential helper to remove this warning. See 14:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:21 14:05:21 Login Succeeded 14:05:21 nexus3.edgexfoundry.org:10002 14:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:21 Configure a credential helper to remove this warning. See 14:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:21 14:05:21 Login Succeeded 14:05:21 nexus3.edgexfoundry.org:10003 14:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:21 Configure a credential helper to remove this warning. See 14:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:21 14:05:21 Login Succeeded 14:05:21 nexus3.edgexfoundry.org:10004 14:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:21 Configure a credential helper to remove this warning. See 14:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:21 14:05:21 Login Succeeded 14:05:21 docker.io 14:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:22 Configure a credential helper to remove this warning. See 14:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:22 14:05:22 Login Succeeded 14:05:22 ---> docker-login.sh ends [Pipeline] } 14:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:05:22 + git rev-list -1 --merges 8e357452e8ed135c62f8def4dd7ee99c07bc90f4~1..8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] echo 14:05:22 -----------> git rev-list -1 --merges 8e357452e8ed135c62f8def4dd7ee99c07bc90f4~1..8e357452e8ed135c62f8def4dd7ee99c07bc90f4 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 14:05:22 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [false] [Pipeline] sh 14:05:22 + git log --format=format:%s -1 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] echo 14:05:22 ========================================================= 14:05:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:05:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:23 + git log --format=format:%s -1 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] echo 14:05:23 [semverPrep] GIT_COMMIT: 8e357452e8ed135c62f8def4dd7ee99c07bc90f4, Commit Message: Merge pull request #1265 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.2 [Pipeline] echo 14:05:23 [semverPrep] This is not a build commit. [Pipeline] sh 14:05:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:05:23 + grep -v github /etc/ssh/ssh_known_hosts 14:05:23 + [ -e /tmp/ssh_known_hosts ] 14:05:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:05:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:05:23 + sudo tee -a /etc/ssh/ssh_known_hosts 14:05:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:23 14:05:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:24 0.1.4: Pulling from edgex-devops/py-git-semver 14:05:24 b85a868b505f: Pulling fs layer 14:05:24 e2be974225ed: Pulling fs layer 14:05:24 339a4e72a1f5: Pulling fs layer 14:05:24 988bab9f4d93: Pulling fs layer 14:05:24 1469e6f7b9e6: Pulling fs layer 14:05:24 eaf3925da568: Pulling fs layer 14:05:24 bab4dde63d76: Pulling fs layer 14:05:24 bde34c3a00c8: Pulling fs layer 14:05:24 b352a97aabf1: Pulling fs layer 14:05:24 4872d77fe225: Pulling fs layer 14:05:24 5851b861e8e6: Pulling fs layer 14:05:24 eaf3925da568: Waiting 14:05:24 1469e6f7b9e6: Waiting 14:05:24 bab4dde63d76: Waiting 14:05:24 4872d77fe225: Waiting 14:05:24 bde34c3a00c8: Waiting 14:05:24 5851b861e8e6: Waiting 14:05:24 b352a97aabf1: Waiting 14:05:24 e2be974225ed: Verifying Checksum 14:05:24 e2be974225ed: Download complete 14:05:24 988bab9f4d93: Verifying Checksum 14:05:24 988bab9f4d93: Download complete 14:05:24 1469e6f7b9e6: Verifying Checksum 14:05:24 1469e6f7b9e6: Download complete 14:05:24 339a4e72a1f5: Verifying Checksum 14:05:24 339a4e72a1f5: Download complete 14:05:24 eaf3925da568: Verifying Checksum 14:05:24 eaf3925da568: Download complete 14:05:24 bde34c3a00c8: Download complete 14:05:24 b352a97aabf1: Download complete 14:05:24 4872d77fe225: Download complete 14:05:24 5851b861e8e6: Download complete 14:05:24 b85a868b505f: Verifying Checksum 14:05:24 b85a868b505f: Download complete 14:05:24 bab4dde63d76: Verifying Checksum 14:05:24 bab4dde63d76: Download complete 14:05:25 b85a868b505f: Pull complete 14:05:25 e2be974225ed: Pull complete 14:05:26 339a4e72a1f5: Pull complete 14:05:26 988bab9f4d93: Pull complete 14:05:26 1469e6f7b9e6: Pull complete 14:05:26 eaf3925da568: Pull complete 14:05:28 bab4dde63d76: Pull complete 14:05:28 bde34c3a00c8: Pull complete 14:05:28 b352a97aabf1: Pull complete 14:05:28 4872d77fe225: Pull complete 14:05:28 5851b861e8e6: Pull complete 14:05:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:05:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:28 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:05:28 $ 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 14:05:30 $ docker top ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 -eo pid,comm 14:05:30 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). 14:05:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:05:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:30 [ssh-agent] Looking for ssh-agent implementation... 14:05:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:30 $ docker exec ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 ssh-agent 14:05:30 SSH_AUTH_SOCK=/tmp/ssh-oahKT3x0ynnr/agent.32 14:05:30 SSH_AGENT_PID=38 14:05:30 Running ssh-add (command line suppressed) 14:05:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15415542141093084525.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15415542141093084525.key) 14:05:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:30 + git tag --points-at HEAD [Pipeline] } 14:05:30 $ docker exec --env ******** --env ******** ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 ssh-agent -k 14:05:30 unset SSH_AUTH_SOCK; 14:05:30 unset SSH_AGENT_PID; 14:05:30 echo Agent pid 38 killed; 14:05:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:05:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:30 [ssh-agent] Looking for ssh-agent implementation... 14:05:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:31 $ docker exec ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 ssh-agent 14:05:31 SSH_AUTH_SOCK=/tmp/ssh-LBBYdV0Ln8Xu/agent.70 14:05:31 SSH_AGENT_PID=76 14:05:31 Running ssh-add (command line suppressed) 14:05:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4578550145119663162.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4578550145119663162.key) 14:05:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:31 + git semver init 14:05:31 2022-12-13 14:05:31,859 [run_init] DEBUG init version:0.0.0 force:False 14:05:31 2022-12-13 14:05:31,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:05:31 2022-12-13 14:05:31,861 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:05:31 2022-12-13 14:05:31,861 [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) 14:05:32 2022-12-13 14:05:32,793 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 14:05:32 2022-12-13 14:05:32,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 14:05:32 2022-12-13 14:05:32,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:05:32 2022-12-13 14:05:32,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:05:32 3.0.0-dev.3 [Pipeline] } 14:05:32 $ docker exec --env ******** --env ******** ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 ssh-agent -k 14:05:32 unset SSH_AUTH_SOCK; 14:05:32 unset SSH_AGENT_PID; 14:05:32 echo Agent pid 76 killed; 14:05:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:05:33 + git semver [Pipeline] } 14:05:33 $ docker stop --time=1 ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 14:05:34 $ docker rm -f ba02da1305a9b0009b0eedc56ed801646eca5527bf6e4a68f5f32d82ee1838c5 [Pipeline] // withDockerContainer [Pipeline] sh 14:05:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:05:35 Stashed 1 file(s) [Pipeline] echo 14:05:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.3 [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 14:05:35 provisioning config files... 14:05:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17373704115336711715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:35 ---> docker-login.sh 14:05:35 nexus3.edgexfoundry.org:10001 14:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:35 Configure a credential helper to remove this warning. See 14:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:35 14:05:35 Login Succeeded 14:05:35 nexus3.edgexfoundry.org:10002 14:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:35 Configure a credential helper to remove this warning. See 14:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:35 14:05:35 Login Succeeded 14:05:35 nexus3.edgexfoundry.org:10003 14:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:36 Configure a credential helper to remove this warning. See 14:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:36 14:05:36 Login Succeeded 14:05:36 nexus3.edgexfoundry.org:10004 14:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:36 Configure a credential helper to remove this warning. See 14:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:36 14:05:36 Login Succeeded 14:05:36 docker.io 14:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:36 Configure a credential helper to remove this warning. See 14:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:36 14:05:36 Login Succeeded 14:05:36 ---> docker-login.sh ends [Pipeline] } 14:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:05:36 ========================================================= 14:05:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:05:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:36 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 14:05:36 Sending build context to Docker daemon 10.41MB 14:05:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 14:05:36 Step 2/10 : FROM ${BASE} AS builder 14:05:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:05:36 213ec9aee27d: Pulling fs layer 14:05:36 4583459ba037: Pulling fs layer 14:05:36 93c1e223e6f2: Pulling fs layer 14:05:36 53926ce57604: Pulling fs layer 14:05:36 21b2b0c7a3f4: Pulling fs layer 14:05:36 22ff95d597cd: Pulling fs layer 14:05:36 12d6caf4c0d1: Pulling fs layer 14:05:36 96b7cbca73a9: Pulling fs layer 14:05:36 a7acece74701: Pulling fs layer 14:05:36 53926ce57604: Waiting 14:05:36 21b2b0c7a3f4: Waiting 14:05:36 96b7cbca73a9: Waiting 14:05:36 a7acece74701: Waiting 14:05:36 22ff95d597cd: Waiting 14:05:36 12d6caf4c0d1: Waiting 14:05:36 93c1e223e6f2: Verifying Checksum 14:05:36 93c1e223e6f2: Download complete 14:05:36 4583459ba037: Verifying Checksum 14:05:36 4583459ba037: Download complete 14:05:36 21b2b0c7a3f4: Verifying Checksum 14:05:36 21b2b0c7a3f4: Download complete 14:05:36 22ff95d597cd: Download complete 14:05:36 213ec9aee27d: Download complete 14:05:36 12d6caf4c0d1: Verifying Checksum 14:05:36 12d6caf4c0d1: Download complete 14:05:36 213ec9aee27d: Pull complete 14:05:37 4583459ba037: Pull complete 14:05:37 93c1e223e6f2: Pull complete 14:05:37 96b7cbca73a9: Verifying Checksum 14:05:37 96b7cbca73a9: Download complete 14:05:38 a7acece74701: Verifying Checksum 14:05:38 a7acece74701: Download complete 14:05:38 53926ce57604: Verifying Checksum 14:05:38 53926ce57604: Download complete 14:05:42 53926ce57604: Pull complete 14:05:42 21b2b0c7a3f4: Pull complete 14:05:42 22ff95d597cd: Pull complete 14:05:42 12d6caf4c0d1: Pull complete 14:05:43 96b7cbca73a9: Pull complete 14:05:44 a7acece74701: Pull complete 14:05:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 14:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:05:44 ---> db6d94c90886 14:05:44 Step 3/10 : ARG MAKE=make build 14:05:45 ---> Running in c46f33af1ed3 14:05:45 Removing intermediate container c46f33af1ed3 14:05:45 ---> 681e6f609653 14:05:45 Step 4/10 : WORKDIR /device-sdk-go 14:05:45 ---> Running in 6c7341dba14e 14:05:45 Removing intermediate container 6c7341dba14e 14:05:45 ---> 9c62a8f7eea4 14:05:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:05:45 ---> Running in 2b0ab2514565 14:05:46 Removing intermediate container 2b0ab2514565 14:05:46 ---> e43509ae09d4 14:05:46 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:05:46 ---> Running in 46ae86640e6b 14:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:05:46 OK: 211 MiB in 51 packages 14:05:47 Removing intermediate container 46ae86640e6b 14:05:47 ---> 3e78677fa985 14:05:47 Step 7/10 : COPY go.mod vendor* ./ 14:05:47 ---> 8a57ce686640 14:05:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:05:47 ---> Running in 71c6f195c76f 14:05:50 Still waiting to schedule task 14:05:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-121067’ is offline 14:06:05 Removing intermediate container 71c6f195c76f 14:06:05 ---> 0f7714dfe53b 14:06:05 Step 9/10 : COPY . . 14:06:05 ---> f75c95e9b05e 14:06:05 Step 10/10 : RUN ${MAKE} 14:06:05 ---> Running in 35066b754b94 14:06:05 noop 14:06:05 Removing intermediate container 35066b754b94 14:06:05 ---> bb40f8efb4b4 14:06:05 Successfully built bb40f8efb4b4 14:06:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:05 + docker inspect -f . ci-base-image-x86_64 14:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:05 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:06:05 $ 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 14:06:06 $ docker top 28e0ff8ee550480cedfe1dd77d4d8c6c0e5344f411f99fa1e45515f03939b66e -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:06 + go version 14:06:06 go version go1.18.7 linux/amd64 [Pipeline] } 14:06:06 $ docker stop --time=1 28e0ff8ee550480cedfe1dd77d4d8c6c0e5344f411f99fa1e45515f03939b66e 14:06:07 $ docker rm -f 28e0ff8ee550480cedfe1dd77d4d8c6c0e5344f411f99fa1e45515f03939b66e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:08 + docker inspect -f . ci-base-image-x86_64 14:06:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:08 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:06:08 $ 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 14:06:08 $ docker top 3dad3e7af13ce26c3c6e3ba518651f56adc92845f1979e29c045da3e21fefc5c -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 14:06:09 + make test 14:06:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:06:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 78.9% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 73.1% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 54.4% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.1% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.737s coverage: 89.2% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 14:06:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements 14:06:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 14:06:41 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 14:06:41 GO111MODULE=on go vet ./... 14:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:06:44 ./bin/test-attribution-txt.sh 14:06:44 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 14:06:44 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 14:06:44 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 14:06:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:06:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:06:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:06:44 $ docker stop --time=1 3dad3e7af13ce26c3c6e3ba518651f56adc92845f1979e29c045da3e21fefc5c 14:06:46 $ docker rm -f 3dad3e7af13ce26c3c6e3ba518651f56adc92845f1979e29c045da3e21fefc5c [Pipeline] // withDockerContainer [Pipeline] sh 14:06:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:06:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:06:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:06:48 + ls -al . 14:06:48 total 280 14:06:48 drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 14:06 . 14:06:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:05 .. 14:06:48 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 14:05 .dockerignore 14:06:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 14:06 .git 14:06:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:05 .github 14:06:48 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 14:05 .gitignore 14:06:48 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 14:05 .golangci.yml 14:06:48 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 14:05 .semver 14:06:48 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 14:05 CHANGELOG.md 14:06:48 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 14:05 GOVERNANCE.md 14:06:48 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 14:05 Jenkinsfile 14:06:48 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 14:05 LICENSE 14:06:48 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 14:05 Makefile 14:06:48 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 14:05 OWNERS.md 14:06:48 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 14:05 README.md 14:06:48 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 14:05 VERSION 14:06:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:05 bin 14:06:48 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 14:06 coverage.out 14:06:48 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 14:05 example 14:06:48 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 14:05 go.mod 14:06:48 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 14:05 go.sum 14:06:48 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 14:05 internal 14:06:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:05 openapi 14:06:48 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 14:05 pkg 14:06:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:05 snap 14:06:48 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:48 + 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=8e357452e8ed135c62f8def4dd7ee99c07bc90f4 --label arch=amd64 --label version=3.0.0-dev.3 . 14:06:48 Sending build context to Docker daemon 10.51MB 14:06:48 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 14:06:48 Step 2/23 : FROM ${BASE} AS builder 14:06:48 ---> bb40f8efb4b4 14:06:48 Step 3/23 : ARG MAKE=make build 14:06:48 ---> Running in 49be30334063 14:06:48 Removing intermediate container 49be30334063 14:06:48 ---> 706d5600444d 14:06:48 Step 4/23 : WORKDIR /device-sdk-go 14:06:48 ---> Running in c4e85082c78d 14:06:48 Removing intermediate container c4e85082c78d 14:06:48 ---> 24612151c519 14:06:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:06:48 ---> Running in ddf9ef2c2e35 14:06:48 Removing intermediate container ddf9ef2c2e35 14:06:48 ---> e179ef222e1f 14:06:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:06:48 ---> Running in 5c8c25f1f9bf 14:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:06:49 OK: 211 MiB in 51 packages 14:06:50 Removing intermediate container 5c8c25f1f9bf 14:06:50 ---> d3a7f9b82d51 14:06:50 Step 7/23 : COPY go.mod vendor* ./ 14:06:50 ---> e55354ed9470 14:06:50 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:50 ---> Running in b8f47a41981e 14:06:50 Removing intermediate container b8f47a41981e 14:06:50 ---> 4386fa0622aa 14:06:50 Step 9/23 : COPY . . 14:06:50 ---> 4efb72205a88 14:06:50 Step 10/23 : RUN ${MAKE} 14:06:51 ---> Running in 939cbffede77 14:06:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:07:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:07:09 Removing intermediate container 939cbffede77 14:07:09 ---> 2ae332556b93 14:07:09 Step 11/23 : FROM alpine:3.16 14:07:09 3.16: Pulling from library/alpine 14:07:09 ca7dd9ec2225: Pulling fs layer 14:07:09 ca7dd9ec2225: Download complete 14:07:09 ca7dd9ec2225: Pull complete 14:07:10 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:07:10 Status: Downloaded newer image for alpine:3.16 14:07:10 ---> bfe296a52501 14:07:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:07:10 ---> Running in 2dc4470a1ab7 14:07:10 Removing intermediate container 2dc4470a1ab7 14:07:10 ---> 04268902c5ab 14:07:10 Step 13/23 : RUN apk add --update --no-cache zeromq 14:07:10 ---> Running in 9784e544c202 14:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:07:10 (1/5) Installing libgcc (11.2.1_git20220219-r2) 14:07:10 (2/5) Installing libsodium (1.0.18-r0) 14:07:10 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 14:07:10 (4/5) Installing libzmq (4.3.4-r0) 14:07:10 (5/5) Installing zeromq (4.3.4-r0) 14:07:10 Executing busybox-1.35.0-r17.trigger 14:07:10 OK: 8 MiB in 19 packages 14:07:11 Removing intermediate container 9784e544c202 14:07:11 ---> 8fdc8c5976d3 14:07:11 Step 14/23 : WORKDIR / 14:07:11 ---> Running in 4c3098a54c81 14:07:11 Removing intermediate container 4c3098a54c81 14:07:11 ---> f2e8a8476bf5 14:07:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:07:11 ---> cb47108ef271 14:07:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:07:11 ---> 0ec185cc8e2c 14:07:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:07:12 ---> 9ff57a1908bb 14:07:12 Step 18/23 : EXPOSE 59999 14:07:12 ---> Running in b889433554df 14:07:12 Removing intermediate container b889433554df 14:07:12 ---> 7b0bef84dadc 14:07:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:07:12 ---> Running in 401ddb796350 14:07:12 Removing intermediate container 401ddb796350 14:07:12 ---> 856fb5ade1de 14:07:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:07:12 ---> Running in 904a459ed032 14:07:12 Removing intermediate container 904a459ed032 14:07:12 ---> d485fd053c93 14:07:12 Step 21/23 : LABEL arch=amd64 14:07:12 ---> Running in b97fd49630a6 14:07:12 Removing intermediate container b97fd49630a6 14:07:12 ---> 635cca9fbf0b 14:07:12 Step 22/23 : LABEL git_sha=8e357452e8ed135c62f8def4dd7ee99c07bc90f4 14:07:12 ---> Running in 01698df6c2e3 14:07:12 Removing intermediate container 01698df6c2e3 14:07:12 ---> 0a8975761e19 14:07:12 Step 23/23 : LABEL version=3.0.0-dev.3 14:07:12 ---> Running in 7692d1979ab8 14:07:12 Removing intermediate container 7692d1979ab8 14:07:12 ---> 5dcf4192c1e4 14:07:12 [Warning] One or more build-args [ARCH] were not consumed 14:07:12 Successfully built 5dcf4192c1e4 14:07:12 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:13 14:07:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:13 latest: Pulling from edgex-lftools-log-publisher 14:07:13 5eb5b503b376: Pulling fs layer 14:07:13 5c69ac0246d0: Pulling fs layer 14:07:13 ec43610c2a17: Pulling fs layer 14:07:13 3a2ae6a8a46f: Pulling fs layer 14:07:13 33b1e0a273af: Pulling fs layer 14:07:13 5d3b04190fa2: Pulling fs layer 14:07:13 2f39f015ded8: Pulling fs layer 14:07:13 2f39f015ded8: Waiting 14:07:13 33b1e0a273af: Waiting 14:07:13 5d3b04190fa2: Waiting 14:07:13 3a2ae6a8a46f: Waiting 14:07:13 5c69ac0246d0: Verifying Checksum 14:07:13 5c69ac0246d0: Download complete 14:07:13 3a2ae6a8a46f: Verifying Checksum 14:07:13 3a2ae6a8a46f: Download complete 14:07:13 33b1e0a273af: Verifying Checksum 14:07:13 33b1e0a273af: Download complete 14:07:13 5d3b04190fa2: Download complete 14:07:13 ec43610c2a17: Verifying Checksum 14:07:13 ec43610c2a17: Download complete 14:07:13 5eb5b503b376: Verifying Checksum 14:07:13 5eb5b503b376: Download complete 14:07:14 2f39f015ded8: Download complete 14:07:14 5eb5b503b376: Pull complete 14:07:14 5c69ac0246d0: Pull complete 14:07:15 ec43610c2a17: Pull complete 14:07:15 3a2ae6a8a46f: Pull complete 14:07:15 33b1e0a273af: Pull complete 14:07:15 5d3b04190fa2: Pull complete 14:07:19 2f39f015ded8: Pull complete 14:07:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:20 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:07:20 $ 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 14:07:21 $ docker top 24c05722f2a87a88c7d037b5508c7033248594e5d7e7f16a69e273cec05770d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:21 ---> job-cost.sh 14:07:21 lf-activate-venv: SKIPPING 14:07:21 INFO: No Stack... 14:07:22 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:22 INFO: Archiving Costs [Pipeline] sh 14:07:22 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 14:07:22 + cut -d, -f6 [Pipeline] lock 14:07:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] 14:07:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] did not exist. Created. 14:07:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:07:23 + echo total: 0.2199999988079071 [Pipeline] stash 14:07:23 Stashed 1 file(s) [Pipeline] } 14:07:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 14:07:23 $ docker stop --time=1 24c05722f2a87a88c7d037b5508c7033248594e5d7e7f16a69e273cec05770d9 14:07:24 $ docker rm -f 24c05722f2a87a88c7d037b5508c7033248594e5d7e7f16a69e273cec05770d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:07:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121071 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 14:07:26 Running in /w/workspace/device-sdk-go/133 [Pipeline] { [Pipeline] checkout 14:07:26 The recommended git tool is: git 14:07:32 using credential edgex-jenkins-ssh 14:07:32 Cloning the remote Git repository 14:07:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:07:32 > git init /w/workspace/device-sdk-go/133 # timeout=10 14:07:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:07:32 > git --version # timeout=10 14:07:32 > git --version # 'git version 2.25.1' 14:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:07:32 Verifying host key using known hosts file 14:07:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 14:07:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:34 Avoid second fetch 14:07:34 Checking out Revision 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 (main) 14:07:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:07:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:07:35 > git config core.sparsecheckout # timeout=10 14:07:35 > git checkout -f 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 # timeout=10 14:07:35 Commit message: "Merge pull request #1265 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:07:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:07:36 % Total % Received % Xferd Average Speed Time Time Time Current 14:07:36 Dload Upload Total Spent Left Speed 14:07:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 33732 0 --:--:-- --:--:-- --:--:-- 33822 [Pipeline] sh 14:07:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:07:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:07:37 + sudo tee /etc/docker/daemon.new 14:07:37 { 14:07:37 "registry-mirrors": [ 14:07:37 "https://nexus3.edgexfoundry.org:10001" 14:07:37 ], 14:07:37 "bip": "10.250.0.254/24", 14:07:37 "hosts": [ 14:07:37 "tcp://0.0.0.0:5555", 14:07:37 "unix:///var/run/docker.sock" 14:07:37 ], 14:07:37 "mtu": 1458, 14:07:37 "selinux-enabled": true, 14:07:37 "seccomp-profile": "/etc/docker/seccomp.json" 14:07:37 } [Pipeline] sh 14:07:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:07:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:56 provisioning config files... 14:07:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/133@tmp/config12237320006418536084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:07:57 ---> docker-login.sh 14:07:57 nexus3.edgexfoundry.org:10001 14:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:07:57 Configure a credential helper to remove this warning. See 14:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:07:57 14:07:57 Login Succeeded 14:07:57 nexus3.edgexfoundry.org:10002 14:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:07:58 Configure a credential helper to remove this warning. See 14:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:07:58 14:07:58 Login Succeeded 14:07:58 nexus3.edgexfoundry.org:10003 14:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:07:58 Configure a credential helper to remove this warning. See 14:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:07:58 14:07:58 Login Succeeded 14:07:58 nexus3.edgexfoundry.org:10004 14:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:07:58 Configure a credential helper to remove this warning. See 14:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:07:58 14:07:58 Login Succeeded 14:07:58 docker.io 14:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:07:59 Configure a credential helper to remove this warning. See 14:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:07:59 14:07:59 Login Succeeded 14:07:59 ---> docker-login.sh ends [Pipeline] } 14:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:07:59 ========================================================= 14:07:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:07:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:59 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 14:08:00 Sending build context to Docker daemon 5.586MB 14:08:00 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 14:08:00 Step 2/10 : FROM ${BASE} AS builder 14:08:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:08:01 9b18e9b68314: Pulling fs layer 14:08:01 35d82f9e3411: Pulling fs layer 14:08:01 e16973657156: Pulling fs layer 14:08:01 fc693d55d65f: Pulling fs layer 14:08:01 7e9fc2657dce: Pulling fs layer 14:08:01 dda99020689f: Pulling fs layer 14:08:01 db1c61fa0a46: Pulling fs layer 14:08:01 891c053d2c06: Pulling fs layer 14:08:01 7e9fc2657dce: Waiting 14:08:01 dda99020689f: Waiting 14:08:01 db1c61fa0a46: Waiting 14:08:01 891c053d2c06: Waiting 14:08:01 fc693d55d65f: Waiting 14:08:01 e16973657156: Verifying Checksum 14:08:01 e16973657156: Download complete 14:08:01 35d82f9e3411: Verifying Checksum 14:08:01 35d82f9e3411: Download complete 14:08:01 7e9fc2657dce: Verifying Checksum 14:08:01 7e9fc2657dce: Download complete 14:08:01 dda99020689f: Download complete 14:08:01 9b18e9b68314: Verifying Checksum 14:08:01 9b18e9b68314: Download complete 14:08:02 9b18e9b68314: Pull complete 14:08:02 891c053d2c06: Verifying Checksum 14:08:02 891c053d2c06: Download complete 14:08:02 35d82f9e3411: Pull complete 14:08:03 e16973657156: Pull complete 14:08:03 db1c61fa0a46: Verifying Checksum 14:08:03 db1c61fa0a46: Download complete 14:08:04 fc693d55d65f: Verifying Checksum 14:08:04 fc693d55d65f: Download complete 14:08:16 fc693d55d65f: Pull complete 14:08:16 7e9fc2657dce: Pull complete 14:08:16 dda99020689f: Pull complete 14:08:21 db1c61fa0a46: Pull complete 14:08:26 891c053d2c06: Pull complete 14:08:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 14:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:08:26 ---> f96f9c87975a 14:08:26 Step 3/10 : ARG MAKE=make build 14:08:28 ---> Running in fabb439f30a1 14:08:28 Removing intermediate container fabb439f30a1 14:08:28 ---> c8d31d826dce 14:08:28 Step 4/10 : WORKDIR /device-sdk-go 14:08:28 ---> Running in 356e7bd77cb7 14:08:29 Removing intermediate container 356e7bd77cb7 14:08:29 ---> 45bcca90575c 14:08:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:08:29 ---> Running in d3432d32575f 14:08:29 Removing intermediate container d3432d32575f 14:08:29 ---> 4bc651fd6c1e 14:08:29 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:08:29 ---> Running in 19033c4e2e88 14:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:08:32 OK: 221 MiB in 51 packages 14:08:33 Removing intermediate container 19033c4e2e88 14:08:33 ---> 93539e3af189 14:08:33 Step 7/10 : COPY go.mod vendor* ./ 14:08:33 ---> 76af5ceb5141 14:08:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:08:33 ---> Running in 1e5a80038fab 14:09:30 Removing intermediate container 1e5a80038fab 14:09:30 ---> 4f1481b1115c 14:09:30 Step 9/10 : COPY . . 14:09:30 ---> 3c254f8fcdef 14:09:30 Step 10/10 : RUN ${MAKE} 14:09:30 ---> Running in a19f7f52f36d 14:09:30 noop 14:09:30 Removing intermediate container a19f7f52f36d 14:09:30 ---> 05fc7f5f8caa 14:09:30 Successfully built 05fc7f5f8caa 14:09:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:30 + docker inspect -f . ci-base-image-arm64 14:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:30 prd-ubuntu20.04-docker-arm64-4c-16g-121071 does not seem to be running inside a container 14:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/133 -v /w/workspace/device-sdk-go/133:/w/workspace/device-sdk-go/133:rw,z -v /w/workspace/device-sdk-go/133@tmp:/w/workspace/device-sdk-go/133@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 14:09:32 $ docker top 4d720e037e30382af44987e0c6af4176c5d237706bfd0c29fbb9debf48dbfc84 -eo pid,comm [Pipeline] { [Pipeline] sh 14:09:32 + go version 14:09:32 go version go1.18.7 linux/arm64 [Pipeline] } 14:09:32 $ docker stop --time=1 4d720e037e30382af44987e0c6af4176c5d237706bfd0c29fbb9debf48dbfc84 14:09:34 $ docker rm -f 4d720e037e30382af44987e0c6af4176c5d237706bfd0c29fbb9debf48dbfc84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:34 + docker inspect -f . ci-base-image-arm64 14:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:35 prd-ubuntu20.04-docker-arm64-4c-16g-121071 does not seem to be running inside a container 14:09:35 $ 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/133 -v /w/workspace/device-sdk-go/133:/w/workspace/device-sdk-go/133:rw,z -v /w/workspace/device-sdk-go/133@tmp:/w/workspace/device-sdk-go/133@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 14:09:36 $ docker top 14619d938671c41e859da0110c5d6a401567654b4b295c5267f340656d4080b5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:09:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/133 [Pipeline] fileExists [Pipeline] sh 14:09:37 + make test 14:09:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:10:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:12:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 14:12:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 14:12:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 14:12:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 14:12:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 14:12:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.378s coverage: 27.6% of statements 14:12:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.322s coverage: 78.9% of statements 14:12:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 14:12:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.704s coverage: 73.1% of statements 14:12:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 14:12:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 14:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.636s coverage: 54.4% of statements 14:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 14:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 14:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 14:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 14:12:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.447s coverage: 65.1% of statements 14:12:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:12:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 14:12:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.545s coverage: 89.2% of statements 14:12:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 14:12:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.611s coverage: 4.7% of statements 14:12:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 14:12:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:12:26 GO111MODULE=on go vet ./... 14:14:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:14:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:14:18 ./bin/test-attribution-txt.sh 14:14:18 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 14:14:18 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 14:14:18 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 14:14:18 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:14:18 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:14:18 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:14:18 $ docker stop --time=1 14619d938671c41e859da0110c5d6a401567654b4b295c5267f340656d4080b5 14:14:20 $ docker rm -f 14619d938671c41e859da0110c5d6a401567654b4b295c5267f340656d4080b5 [Pipeline] // withDockerContainer [Pipeline] sh 14:14:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:14:21 Warning: overwriting stash ‘coverage-report’ 14:14:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:14:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:14:22 + ls -al . 14:14:22 total 276 14:14:22 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 14:09 . 14:14:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:07 .. 14:14:22 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 14:07 .dockerignore 14:14:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 14:07 .git 14:14:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:07 .github 14:14:22 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 14:07 .gitignore 14:14:22 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 14:07 .golangci.yml 14:14:22 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 14:07 CHANGELOG.md 14:14:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 14:07 GOVERNANCE.md 14:14:22 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 14:07 Jenkinsfile 14:14:22 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 14:07 LICENSE 14:14:22 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 14:07 Makefile 14:14:22 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 14:07 OWNERS.md 14:14:22 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 14:07 README.md 14:14:22 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 14:05 VERSION 14:14:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 14:07 bin 14:14:22 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 14:12 coverage.out 14:14:22 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 14:07 example 14:14:22 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 14:07 go.mod 14:14:22 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 14:07 go.sum 14:14:22 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 14:07 internal 14:14:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 14:07 openapi 14:14:22 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 14:07 pkg 14:14:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 14:07 snap 14:14:22 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 14:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:23 + 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=8e357452e8ed135c62f8def4dd7ee99c07bc90f4 --label arch=arm64 --label version=3.0.0-dev.3 . 14:14:23 Sending build context to Docker daemon 5.689MB 14:14:23 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 14:14:23 Step 2/23 : FROM ${BASE} AS builder 14:14:23 ---> 05fc7f5f8caa 14:14:23 Step 3/23 : ARG MAKE=make build 14:14:23 ---> Running in a4c2abaa845b 14:14:23 Removing intermediate container a4c2abaa845b 14:14:23 ---> c5c22d46adeb 14:14:23 Step 4/23 : WORKDIR /device-sdk-go 14:14:24 ---> Running in 465fa14df612 14:14:24 Removing intermediate container 465fa14df612 14:14:24 ---> 56ce92072106 14:14:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:14:24 ---> Running in 272a301e7880 14:14:24 Removing intermediate container 272a301e7880 14:14:24 ---> c7e20f1d8a05 14:14:24 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:14:25 ---> Running in fe6325d6dea5 14:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:14:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:14:27 OK: 221 MiB in 51 packages 14:14:28 Removing intermediate container fe6325d6dea5 14:14:28 ---> dd47af9f33c3 14:14:28 Step 7/23 : COPY go.mod vendor* ./ 14:14:28 ---> b7f90e7a4f38 14:14:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:14:28 ---> Running in 7c966f0bb75d 14:14:30 Removing intermediate container 7c966f0bb75d 14:14:30 ---> 8c3c468ed231 14:14:30 Step 9/23 : COPY . . 14:14:32 ---> 45292dba7ecd 14:14:32 Step 10/23 : RUN ${MAKE} 14:14:32 ---> Running in 86b3b7434907 14:14:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:16:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:16:43 Removing intermediate container 86b3b7434907 14:16:43 ---> d1b085226d5e 14:16:43 Step 11/23 : FROM alpine:3.16 14:16:43 3.16: Pulling from library/alpine 14:16:43 6875df1f5354: Pulling fs layer 14:16:43 6875df1f5354: Download complete 14:16:44 6875df1f5354: Pull complete 14:16:44 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:16:44 Status: Downloaded newer image for alpine:3.16 14:16:44 ---> 2b4661558fb8 14:16:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:16:44 ---> Running in 8181bae0ecaa 14:16:44 Removing intermediate container 8181bae0ecaa 14:16:44 ---> fbeccf595a60 14:16:44 Step 13/23 : RUN apk add --update --no-cache zeromq 14:16:45 ---> Running in 74a6b9b9c246 14:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:16:47 (1/5) Installing libgcc (11.2.1_git20220219-r2) 14:16:47 (2/5) Installing libsodium (1.0.18-r0) 14:16:47 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 14:16:47 (4/5) Installing libzmq (4.3.4-r0) 14:16:47 (5/5) Installing zeromq (4.3.4-r0) 14:16:47 Executing busybox-1.35.0-r17.trigger 14:16:47 OK: 8 MiB in 19 packages 14:16:48 Removing intermediate container 74a6b9b9c246 14:16:48 ---> 8b8c1be0c996 14:16:48 Step 14/23 : WORKDIR / 14:16:48 ---> Running in 6e94253345c8 14:16:48 Removing intermediate container 6e94253345c8 14:16:48 ---> 27c5854b4f6b 14:16:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:16:49 ---> 22a098238b9c 14:16:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:16:50 ---> dac922a68691 14:16:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:16:50 ---> 1b5cd10a1a3c 14:16:50 Step 18/23 : EXPOSE 59999 14:16:50 ---> Running in 63cd23e41155 14:16:51 Removing intermediate container 63cd23e41155 14:16:51 ---> b447e279f632 14:16:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:16:51 ---> Running in 3c48186ad56b 14:16:51 Removing intermediate container 3c48186ad56b 14:16:51 ---> 1789bcb4236f 14:16:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:16:51 ---> Running in 2efda7c880c7 14:16:51 Removing intermediate container 2efda7c880c7 14:16:51 ---> e012a339c504 14:16:51 Step 21/23 : LABEL arch=arm64 14:16:51 ---> Running in 3e7ff80601f2 14:16:52 Removing intermediate container 3e7ff80601f2 14:16:52 ---> 6b7910a91676 14:16:52 Step 22/23 : LABEL git_sha=8e357452e8ed135c62f8def4dd7ee99c07bc90f4 14:16:52 ---> Running in 23a73c6d7d6e 14:16:52 Removing intermediate container 23a73c6d7d6e 14:16:52 ---> 4eaa89318402 14:16:52 Step 23/23 : LABEL version=3.0.0-dev.3 14:16:52 ---> Running in 8c85c19c2e42 14:16:52 Removing intermediate container 8c85c19c2e42 14:16:52 ---> d15b19719e9b 14:16:52 [Warning] One or more build-args [ARCH] were not consumed 14:16:52 Successfully built d15b19719e9b 14:16:52 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 14:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:16:53 14:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:16:53 arm64: Pulling from edgex-lftools-log-publisher 14:16:53 8998bd30e6a1: Pulling fs layer 14:16:53 04944245beec: Pulling fs layer 14:16:53 699f458cf7ca: Pulling fs layer 14:16:53 765212b225bb: Pulling fs layer 14:16:53 f23df028b6ca: Pulling fs layer 14:16:53 d65c8cfc05b1: Pulling fs layer 14:16:53 2437ff75d9bd: Pulling fs layer 14:16:53 765212b225bb: Waiting 14:16:53 f23df028b6ca: Waiting 14:16:53 d65c8cfc05b1: Waiting 14:16:53 2437ff75d9bd: Waiting 14:16:54 04944245beec: Verifying Checksum 14:16:54 04944245beec: Download complete 14:16:54 765212b225bb: Verifying Checksum 14:16:54 765212b225bb: Download complete 14:16:54 f23df028b6ca: Verifying Checksum 14:16:54 f23df028b6ca: Download complete 14:16:54 d65c8cfc05b1: Verifying Checksum 14:16:54 d65c8cfc05b1: Download complete 14:16:54 699f458cf7ca: Verifying Checksum 14:16:54 699f458cf7ca: Download complete 14:16:54 8998bd30e6a1: Verifying Checksum 14:16:54 8998bd30e6a1: Download complete 14:16:57 2437ff75d9bd: Verifying Checksum 14:16:57 2437ff75d9bd: Download complete 14:16:58 8998bd30e6a1: Pull complete 14:16:58 04944245beec: Pull complete 14:17:00 699f458cf7ca: Pull complete 14:17:00 765212b225bb: Pull complete 14:17:01 f23df028b6ca: Pull complete 14:17:01 d65c8cfc05b1: Pull complete 14:17:16 2437ff75d9bd: Pull complete 14:17:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:17:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:16 prd-ubuntu20.04-docker-arm64-4c-16g-121071 does not seem to be running inside a container 14:17:16 $ 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/133 -v /w/workspace/device-sdk-go/133:/w/workspace/device-sdk-go/133:rw,z -v /w/workspace/device-sdk-go/133@tmp:/w/workspace/device-sdk-go/133@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 14:17:19 $ docker top 4f55f91763e13a12c35e058250cdc702d9ac51df4263dc9ed1a606ef43e317c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:19 ---> job-cost.sh 14:17:19 lf-activate-venv: SKIPPING 14:17:19 INFO: No Stack... 14:17:20 INFO: Retrieving Pricing Info for: v3-standard-4 14:17:21 INFO: Archiving Costs [Pipeline] sh 14:17:21 + + catcut /w/workspace/device-sdk-go/133/archives/cost.csv -d, 14:17:21 -f6 [Pipeline] lock 14:17:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] 14:17:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] did not exist. Created. 14:17:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:17:21 /w/workspace/device-sdk-go/133@tmp/durable-dccfec1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:17:22 + echo total: 0.10999999940395355 [Pipeline] stash 14:17:22 Warning: overwriting stash ‘stack-cost’ 14:17:22 Stashed 1 file(s) [Pipeline] } 14:17:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 14:17:22 $ docker stop --time=1 4f55f91763e13a12c35e058250cdc702d9ac51df4263dc9ed1a606ef43e317c3 14:17:23 $ docker rm -f 4f55f91763e13a12c35e058250cdc702d9ac51df4263dc9ed1a606ef43e317c3 [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 14:17:24 provisioning config files... 14:17:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13578022924863153078tmp [Pipeline] { [Pipeline] sh 14:17:24 + set +x 14:17:24 + curl -s https://codecov.io/bash 14:17:24 + bash -s -- 14:17:24 14:17:24 _____ _ 14:17:24 / ____| | | 14:17:24 | | ___ __| | ___ ___ _____ __ 14:17:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:17:24 | |___| (_) | (_| | __/ (_| (_) \ V / 14:17:24 \_____\___/ \__,_|\___|\___\___/ \_/ 14:17:24 Bash-1.0.6 14:17:24 14:17:24 14:17:24 ==> git version 2.25.1 found 14:17:24 ==> 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 14:17:24 Release-Date: 2020-01-08 14:17:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:17:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:17:24 ==> Jenkins CI detected. 14:17:24 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 14:17:24 project root: . 14:17:24 --> token set from env 14:17:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:17:24 ==> Running gcov in . (disable via -X gcov) 14:17:24 ==> Python coveragepy not found 14:17:24 ==> Searching for coverage reports in: 14:17:24 + . 14:17:24 -> Found 1 reports 14:17:24 ==> Detecting git/mercurial file structure 14:17:24 ==> Reading reports 14:17:24 + ./coverage.out bytes=101759 14:17:24 ==> Appending adjustments 14:17:24 https://docs.codecov.io/docs/fixing-reports 14:17:24 + Found adjustments 14:17:24 ==> Gzipping contents 14:17:24 16K /tmp/codecov.a84RKG.gz 14:17:24 ==> Uploading reports 14:17:24 url: https://codecov.io 14:17:24 query: branch=main&commit=8e357452e8ed135c62f8def4dd7ee99c07bc90f4&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:17:24 -> Pinging Codecov 14:17:24 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=8e357452e8ed135c62f8def4dd7ee99c07bc90f4&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:17:25 -> Uploading to 14:17:25 https://storage.googleapis.com/codecov/v4/raw/2022-12-13/7E55EF52A471D76F132DFD9A03CDDE97/8e357452e8ed135c62f8def4dd7ee99c07bc90f4/2573d968-0aa2-4012-ab9f-3da9674dada4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T141724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e775f6547bc41a68328edc7a4a237cf4ad9d135ace388d3507fd867d3c5fbe5d 14:17:25 % Total % Received % Xferd Average Speed Time Time Time Current 14:17:25 Dload Upload Total Spent Left Speed 14:17:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14715 0 0 100 14715 0 72487 --:--:-- --:--:-- --:--:-- 72132 100 14715 0 0 100 14715 0 53704 --:--:-- --:--:-- --:--:-- 53509 14:17:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] } 14:17:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:17:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:17:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:17:25 14:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:17:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:17:26 df9b9388f04a: Pulling fs layer 14:17:26 52dc419b0ee2: Pulling fs layer 14:17:26 25bc292e5bac: Pulling fs layer 14:17:26 114826534d7a: Pulling fs layer 14:17:26 4657fd5d0bcf: Pulling fs layer 14:17:26 6ad1cebc031e: Pulling fs layer 14:17:26 4657fd5d0bcf: Waiting 14:17:26 8a3aa393b2d8: Pulling fs layer 14:17:26 6ad1cebc031e: Waiting 14:17:26 8a3aa393b2d8: Waiting 14:17:26 25bc292e5bac: Download complete 14:17:26 4657fd5d0bcf: Verifying Checksum 14:17:26 4657fd5d0bcf: Download complete 14:17:26 df9b9388f04a: Download complete 14:17:26 df9b9388f04a: Pull complete 14:17:26 6ad1cebc031e: Verifying Checksum 14:17:26 6ad1cebc031e: Download complete 14:17:26 52dc419b0ee2: Pull complete 14:17:26 25bc292e5bac: Pull complete 14:17:27 114826534d7a: Verifying Checksum 14:17:27 114826534d7a: Download complete 14:17:27 8a3aa393b2d8: Verifying Checksum 14:17:27 8a3aa393b2d8: Download complete 14:17:30 114826534d7a: Pull complete 14:17:30 4657fd5d0bcf: Pull complete 14:17:30 6ad1cebc031e: Pull complete 14:17:33 8a3aa393b2d8: Pull complete 14:17:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:17:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:33 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:17:33 $ 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 14:17:34 $ docker top 47d382c6a1a5ce1d40d4f43a267d1f4bf0a466f82f427b2015f609a4d16e398e -eo pid,comm [Pipeline] { [Pipeline] echo 14:17:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 14:17:35 + set -o pipefail 14:17:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 14:17:41 14:17:41 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 14:17:41 14:17:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/0f47addc-dc37-4b87-a670-a4dcd30d6101 14:17:41 14:17:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:17:41 14:17:42 14:17:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:17:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:17:42 More details here: https://snyk.co/ue1NS [Pipeline] } 14:17:42 $ docker stop --time=1 47d382c6a1a5ce1d40d4f43a267d1f4bf0a466f82f427b2015f609a4d16e398e 14:17:44 $ docker rm -f 47d382c6a1a5ce1d40d4f43a267d1f4bf0a466f82f427b2015f609a4d16e398e [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 14:17:44 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:44 provisioning config files... 14:17:44 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16936924369588409700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:44 --> edgex-publish-swagger.sh 14:17:44 === Publish openapi/v2 API === 14:17:44 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 14:17:44 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 14:17:44 % Total % Received % Xferd Average Speed Time Time Time Current 14:17:44 Dload Upload Total Spent Left Speed 14:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53590 100 38 100 53552 76 105k --:--:-- --:--:-- --:--:-- 105k 14:17:45 {"code":403,"message":"Access Denied"} 14:17:45 [Pipeline] } 14:17:45 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 14:17:45 + git log --format=format:%s -1 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 [Pipeline] sh 14:17:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:17:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:17:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:46 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:17:46 $ 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 14:17:46 $ docker top 76b9bf9c48d7f2231619949cfcab2e7809ab4924c275cfd0fec2727a76f65cf1 -eo pid,comm 14:17:46 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). 14:17:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:17:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:17:46 [ssh-agent] Looking for ssh-agent implementation... 14:17:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:17:46 $ docker exec 76b9bf9c48d7f2231619949cfcab2e7809ab4924c275cfd0fec2727a76f65cf1 ssh-agent 14:17:46 SSH_AUTH_SOCK=/tmp/ssh-ylPm9wvKKZRt/agent.32 14:17:46 SSH_AGENT_PID=38 14:17:46 Running ssh-add (command line suppressed) 14:17:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13919580146354190068.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13919580146354190068.key) 14:17:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:17:47 + git semver tag 14:17:47 2022-12-13 14:17:47,297 [run_tag] DEBUG tag force:False 14:17:47 2022-12-13 14:17:47,297 [check_head_tag] DEBUG check head tag 14:17:47 2022-12-13 14:17:47,298 [execute] INFO git cat-file --batch-check 14:17:47 2022-12-13 14:17:47,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:17:47 2022-12-13 14:17:47,302 [execute] INFO git cat-file --batch 14:17:47 2022-12-13 14:17:47,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:17:47 2022-12-13 14:17:47,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:17:47 2022-12-13 14:17:47,328 [execute] INFO git tag -a v3.0.0-dev.3 -m v3.0.0-dev.3 14:17:47 2022-12-13 14:17:47,329 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.3', '-m', 'v3.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 14:17:47 2022-12-13 14:17:47,333 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:17:47 3.0.0-dev.3 [Pipeline] } 14:17:47 $ docker exec --env ******** --env ******** 76b9bf9c48d7f2231619949cfcab2e7809ab4924c275cfd0fec2727a76f65cf1 ssh-agent -k 14:17:47 unset SSH_AUTH_SOCK; 14:17:47 unset SSH_AGENT_PID; 14:17:47 echo Agent pid 38 killed; 14:17:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:17:47 + git semver [Pipeline] } 14:17:48 $ docker stop --time=1 76b9bf9c48d7f2231619949cfcab2e7809ab4924c275cfd0fec2727a76f65cf1 14:17:49 $ docker rm -f 76b9bf9c48d7f2231619949cfcab2e7809ab4924c275cfd0fec2727a76f65cf1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:17:49 14:17:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:17:50 0.23.1-centos7: Pulling from edgex-lftools 14:17:50 ab5ef0e58194: Pulling fs layer 14:17:50 9712f1f96733: Pulling fs layer 14:17:50 63f879dbbcfc: Pulling fs layer 14:17:50 0d9ebad4ef96: Pulling fs layer 14:17:50 e9a5061849ea: Pulling fs layer 14:17:50 d747dcd14b5f: Pulling fs layer 14:17:50 2de7ff778b66: Pulling fs layer 14:17:50 2de7ff778b66: Waiting 14:17:50 d747dcd14b5f: Waiting 14:17:50 0d9ebad4ef96: Waiting 14:17:50 e9a5061849ea: Waiting 14:17:50 9712f1f96733: Verifying Checksum 14:17:50 9712f1f96733: Download complete 14:17:50 63f879dbbcfc: Verifying Checksum 14:17:50 63f879dbbcfc: Download complete 14:17:50 e9a5061849ea: Verifying Checksum 14:17:50 e9a5061849ea: Download complete 14:17:50 d747dcd14b5f: Download complete 14:17:50 ab5ef0e58194: Verifying Checksum 14:17:50 ab5ef0e58194: Download complete 14:17:50 2de7ff778b66: Verifying Checksum 14:17:50 0d9ebad4ef96: Verifying Checksum 14:17:50 0d9ebad4ef96: Download complete 14:17:53 ab5ef0e58194: Pull complete 14:17:53 9712f1f96733: Pull complete 14:17:53 63f879dbbcfc: Pull complete 14:17:57 0d9ebad4ef96: Pull complete 14:17:57 e9a5061849ea: Pull complete 14:17:57 d747dcd14b5f: Pull complete 14:17:58 2de7ff778b66: Pull complete 14:17:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:17:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:17:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:58 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:17:58 $ 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 14:17:59 $ docker top 05af9046ee8932e570d915e2d6e89a2fda21e654315d86256e277b99254a9fc3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:18:00 provisioning config files... 14:18:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16757048383681183592tmp 14:18:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14720225183723307333tmp 14:18:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3268768475006876639tmp [Pipeline] { [Pipeline] echo 14:18:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:18:00 ---> sigul-configuration.sh 14:18:00 gpg: directory `/root/.gnupg' created 14:18:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:18:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:18:00 gpg: keyring `/root/.gnupg/secring.gpg' created 14:18:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:18:00 gpg: CAST5 encrypted data 14:18:00 gpg: encrypted with 1 passphrase 14:18:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:18:00 + mkdir /home/jenkins 14:18:00 + mkdir /home/jenkins/sigul [Pipeline] sh 14:18:00 + 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 14:18:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:18:01 ---> sigul-install.sh 14:18:01 Sigul already installed; skipping installation. [Pipeline] sh 14:18:01 + git tag --list 14:18:01 0.7.1 14:18:01 delhi-tag 14:18:01 v1.0.0 14:18:01 v1.1.0 14:18:01 v1.1.1 14:18:01 v1.1.2 14:18:01 v1.2.0 14:18:01 v1.2.1 14:18:01 v1.2.2 14:18:01 v1.2.3 14:18:01 v1.3.0 14:18:01 v1.4.0 14:18:01 v2.0.0 14:18:01 v2.1.0 14:18:01 v2.1.1 14:18:01 v2.1.1-dev.2 14:18:01 v2.1.1-dev.3 14:18:01 v2.2.0 14:18:01 v2.2.1-dev.1 14:18:01 v2.2.1-dev.10 14:18:01 v2.2.1-dev.11 14:18:01 v2.2.1-dev.12 14:18:01 v2.2.1-dev.13 14:18:01 v2.2.1-dev.14 14:18:01 v2.2.1-dev.2 14:18:01 v2.2.1-dev.3 14:18:01 v2.2.1-dev.4 14:18:01 v2.2.1-dev.5 14:18:01 v2.2.1-dev.6 14:18:01 v2.2.1-dev.7 14:18:01 v2.2.1-dev.8 14:18:01 v2.2.1-dev.9 14:18:01 v2.3.0 14:18:01 v2.3.0-dev.14 14:18:01 v2.3.0-dev.15 14:18:01 v2.3.0-dev.16 14:18:01 v2.3.0-dev.17 14:18:01 v2.3.0-dev.18 14:18:01 v2.3.0-dev.19 14:18:01 v2.3.0-dev.20 14:18:01 v2.3.0-dev.21 14:18:01 v2.3.0-dev.22 14:18:01 v2.3.0-dev.23 14:18:01 v2.3.0-dev.24 14:18:01 v2.3.0-dev.25 14:18:01 v2.3.0-dev.26 14:18:01 v2.3.0-dev.27 14:18:01 v2.3.0-dev.28 14:18:01 v2.3.0-dev.29 14:18:01 v2.3.0-dev.30 14:18:01 v2.3.0-dev.31 14:18:01 v2.3.0-dev.32 14:18:01 v2.3.0-dev.33 14:18:01 v2.3.0-dev.34 14:18:01 v2.3.0-dev.35 14:18:01 v2.3.0-dev.36 14:18:01 v2.3.0-dev.37 14:18:01 v2.3.0-dev.38 14:18:01 v2.3.0-dev.39 14:18:01 v2.3.0-dev.40 14:18:01 v2.3.0-dev.41 14:18:01 v2.3.0-dev.42 14:18:01 v2.3.0-dev.43 14:18:01 v2.3.0-dev.44 14:18:01 v2.3.0-dev.45 14:18:01 v2.3.0-dev.46 14:18:01 v2.3.0-dev.47 14:18:01 v2.3.0-dev.48 14:18:01 v2.3.0-dev.49 14:18:01 v2.3.0-dev.50 14:18:01 v2.3.0-dev.51 14:18:01 v2.3.1-dev.1 14:18:01 v2.3.1-dev.2 14:18:01 v3.0.0-dev.1 14:18:01 v3.0.0-dev.2 14:18:01 v3.0.0-dev.3 [Pipeline] sh 14:18:01 + lftools sign git-tag v3.0.0-dev.3 14:18:02 Signing Git tag with Sigul... 14:18:02 Signing v3.0.0-dev.3 [Pipeline] echo 14:18:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:18:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:18:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:18:02 $ docker stop --time=1 05af9046ee8932e570d915e2d6e89a2fda21e654315d86256e277b99254a9fc3 14:18:04 $ docker rm -f 05af9046ee8932e570d915e2d6e89a2fda21e654315d86256e277b99254a9fc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:18:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:18:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:04 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:18:05 $ 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 14:18:05 $ docker top bc27ebc231edca0fcdf6dd2c1386ccb7eaafeae53f3509fc688f235943d45019 -eo pid,comm 14:18:05 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). 14:18:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:18:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:05 [ssh-agent] Looking for ssh-agent implementation... 14:18:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:05 $ docker exec bc27ebc231edca0fcdf6dd2c1386ccb7eaafeae53f3509fc688f235943d45019 ssh-agent 14:18:05 SSH_AUTH_SOCK=/tmp/ssh-rg0whBENNnep/agent.32 14:18:05 SSH_AGENT_PID=39 14:18:05 Running ssh-add (command line suppressed) 14:18:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14004003264916312400.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14004003264916312400.key) 14:18:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:06 + git semver bump pre 14:18:06 2022-12-13 14:18:06,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:18:06 2022-12-13 14:18:06,219 [bump_version] DEBUG bumping version:3.0.0-dev.3 on axis:pre with prefix:dev 14:18:06 2022-12-13 14:18:06,219 [bump_version] DEBUG bumped version:3.0.0-dev.4 14:18:06 2022-12-13 14:18:06,219 [write_version] DEBUG write version:3.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 14:18:06 2022-12-13 14:18:06,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:18:06 2022-12-13 14:18:06,219 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:18:06 2022-12-13 14:18:06,222 [execute] INFO git cat-file --batch-check 14:18:06 2022-12-13 14:18:06,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:18:06 2022-12-13 14:18:06,227 [execute] INFO git cat-file --batch 14:18:06 2022-12-13 14:18:06,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:18:06 2022-12-13 14:18:06,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:18:06 3.0.0-dev.4 [Pipeline] } 14:18:06 $ docker exec --env ******** --env ******** bc27ebc231edca0fcdf6dd2c1386ccb7eaafeae53f3509fc688f235943d45019 ssh-agent -k 14:18:06 unset SSH_AUTH_SOCK; 14:18:06 unset SSH_AGENT_PID; 14:18:06 echo Agent pid 39 killed; 14:18:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:18:06 + git semver [Pipeline] } 14:18:07 $ docker stop --time=1 bc27ebc231edca0fcdf6dd2c1386ccb7eaafeae53f3509fc688f235943d45019 14:18:08 $ docker rm -f bc27ebc231edca0fcdf6dd2c1386ccb7eaafeae53f3509fc688f235943d45019 [Pipeline] // withDockerContainer [Pipeline] sh 14:18:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:18:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:18:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:09 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:18:09 $ 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 14:18:09 $ docker top 6351d48f2aeae0725d03c20b8db0b7abb432b6119304ff8c74917479d848470c -eo pid,comm 14:18:09 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). 14:18:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:18:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:09 [ssh-agent] Looking for ssh-agent implementation... 14:18:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:09 $ docker exec 6351d48f2aeae0725d03c20b8db0b7abb432b6119304ff8c74917479d848470c ssh-agent 14:18:09 SSH_AUTH_SOCK=/tmp/ssh-fOWU8K7osCvC/agent.32 14:18:09 SSH_AGENT_PID=38 14:18:09 Running ssh-add (command line suppressed) 14:18:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3822791370092219450.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3822791370092219450.key) 14:18:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:10 + git semver push 14:18:10 2022-12-13 14:18:10,233 [run_push] DEBUG push 14:18:10 2022-12-13 14:18:10,233 [execute] INFO git cat-file --batch-check 14:18:10 2022-12-13 14:18:10,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:18:10 2022-12-13 14:18:10,237 [execute] INFO git rev-list 5ba5f7eebadd42e803c973b211bb621a4a69b462 -- 14:18:10 2022-12-13 14:18:10,237 [execute] DEBUG Popen(['git', 'rev-list', '5ba5f7eebadd42e803c973b211bb621a4a69b462', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:18:10 2022-12-13 14:18:10,247 [execute] INFO git fetch -v origin 14:18:10 2022-12-13 14:18:10,248 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:18:10 2022-12-13 14:18:10,791 [run_push] DEBUG no remote changes detected 14:18:10 2022-12-13 14:18:10,792 [execute] INFO git push origin semver 14:18:10 2022-12-13 14:18:10,792 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:18:11 2022-12-13 14:18:11,593 [run_push] DEBUG push all version tags 14:18:11 2022-12-13 14:18:11,594 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:18:11 2022-12-13 14:18:11,594 [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) 14:18:12 2022-12-13 14:18:12,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:18:12 3.0.0-dev.4 [Pipeline] } 14:18:12 $ docker exec --env ******** --env ******** 6351d48f2aeae0725d03c20b8db0b7abb432b6119304ff8c74917479d848470c ssh-agent -k 14:18:12 unset SSH_AUTH_SOCK; 14:18:12 unset SSH_AGENT_PID; 14:18:12 echo Agent pid 38 killed; 14:18:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:18:13 + git semver [Pipeline] } 14:18:13 $ docker stop --time=1 6351d48f2aeae0725d03c20b8db0b7abb432b6119304ff8c74917479d848470c 14:18:14 $ docker rm -f 6351d48f2aeae0725d03c20b8db0b7abb432b6119304ff8c74917479d848470c [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 14:18:15 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 14:18:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:18:15 total 16 14:18:15 drwxr-xr-x 3 root root 4096 Dec 13 14:07 . 14:18:15 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 14:18 .. 14:18:15 drwxr-xr-x 2 root root 4096 Dec 13 14:07 cost 14:18:15 -rw-r--r-- 1 root root 85 Dec 13 14:07 cost.csv 14:18:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:18:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:18:15 total 16 14:18:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 14:07 . 14:18:15 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 14:18 .. 14:18:15 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 14:07 cost 14:18:15 -rw-r--r-- 1 jenkins jenkins 85 Dec 13 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:18:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:18:16 ---> package-listing.sh 14:18:16 ++ facter osfamily 14:18:16 ++ tr '[:upper:]' '[:lower:]' 14:18:16 + OS_FAMILY=debian 14:18:16 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 14:18:16 + START_PACKAGES=/tmp/packages_start.txt 14:18:16 + END_PACKAGES=/tmp/packages_end.txt 14:18:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:18:16 + PACKAGES=/tmp/packages_start.txt 14:18:16 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:18:16 + PACKAGES=/tmp/packages_end.txt 14:18:16 + case "${OS_FAMILY}" in 14:18:16 + dpkg -l 14:18:16 + grep '^ii' 14:18:16 + '[' -f /tmp/packages_start.txt ']' 14:18:16 + '[' -f /tmp/packages_end.txt ']' 14:18:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:18:16 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:18:16 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 14:18:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 14:18:16 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 14:18:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:18:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:17 prd-ubuntu20.04-docker-8c-8g-121069 does not seem to be running inside a container 14:18:17 $ 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 14:18:17 $ docker top d286711c29ce3b7c3d4db1c16a1d243818e96ad8d316e6076da279eda094d3bf -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:18 + touch /tmp/pre-build-complete [Pipeline] sh 14:18:18 + mkdir -p /var/log/sysstat [Pipeline] sh 14:18:18 + ls /var/log/sa-host 14:18:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:18:18 provisioning config files... 14:18:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16224959656792539980tmp [Pipeline] { [Pipeline] echo 14:18:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:18:19 ---> create-netrc.sh [Pipeline] } 14:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:18:19 ---> python-tools-install.sh [Pipeline] echo 14:18:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:18:19 ---> sudo-logs.sh 14:18:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:18:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:18:19 ---> job-cost.sh 14:18:19 lf-activate-venv: SKIPPING 14:18:19 DEBUG: total: 0.2199999988079071 14:18:19 INFO: Retrieving Stack Cost... 14:18:20 INFO: Retrieving Pricing Info for: v3-standard-8 14:18:20 INFO: Archiving Costs [Pipeline] echo 14:18:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:18:21 ---> logs-deploy.sh 14:18:21 lf-activate-venv: SKIPPING 14:18:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/133 14:18:21 INFO: archiving workspace using pattern(s): 14:18:22 Archives upload complete. 14:18:22 INFO: archiving logs to Nexus 14:18:22 ---> uname -a: 14:18:22 Linux prd-ubuntu20-04-docker-8c-8g-121069 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 14:18:22 14:18:22 14:18:22 ---> lscpu: 14:18:22 Architecture: x86_64 14:18:22 CPU op-mode(s): 32-bit, 64-bit 14:18:22 Byte Order: Little Endian 14:18:22 Address sizes: 40 bits physical, 48 bits virtual 14:18:22 CPU(s): 8 14:18:22 On-line CPU(s) list: 0-7 14:18:22 Thread(s) per core: 1 14:18:22 Core(s) per socket: 1 14:18:22 Socket(s): 8 14:18:22 NUMA node(s): 1 14:18:22 Vendor ID: AuthenticAMD 14:18:22 CPU family: 23 14:18:22 Model: 49 14:18:22 Model name: AMD EPYC-Rome Processor 14:18:22 Stepping: 0 14:18:22 CPU MHz: 2800.000 14:18:22 BogoMIPS: 5600.00 14:18:22 Virtualization: AMD-V 14:18:22 Hypervisor vendor: KVM 14:18:22 Virtualization type: full 14:18:22 L1d cache: 256 KiB 14:18:22 L1i cache: 256 KiB 14:18:22 L2 cache: 4 MiB 14:18:22 L3 cache: 128 MiB 14:18:22 NUMA node0 CPU(s): 0-7 14:18:22 Vulnerability Itlb multihit: Not affected 14:18:22 Vulnerability L1tf: Not affected 14:18:22 Vulnerability Mds: Not affected 14:18:22 Vulnerability Meltdown: Not affected 14:18:22 Vulnerability Mmio stale data: Not affected 14:18:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:18:22 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:18:22 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:18:22 Vulnerability Srbds: Not affected 14:18:22 Vulnerability Tsx async abort: Not affected 14:18:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 14:18:22 14:18:22