Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6d939e94ec53612eabda502d541349231dbf6bf 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-ssh12485452877219622490.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh17076125001432010826.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh706454862637653356.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh8150964013773223688.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh1745388963015236834.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1603 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f6d939e94ec53612eabda502d541349231dbf6bf (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 Commit message: "Merge pull request #1174 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" > git rev-list --no-walk 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:18:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:18:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:18:48 ========================================================= 04:18:48 EdgeX Global Pipelines Version Info 04:18:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:18:49 ------------------- 04:18:49 stable info: 04:18:49 ------------------- 04:18:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:18:49 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:18:49 Message: update stable to v1.0.232 04:18:49 ------------------- 04:18:49 experimental info: 04:18:49 ------------------- 04:18:49 Commited By: **** collab-it+edgex@linuxfoundation.org 04:18:49 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:18:49 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d939e [Pipeline] echo 04:18:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:50 provisioning config files... 04:18:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3011885215949300436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:50 ---> docker-login.sh 04:18:50 nexus3.edgexfoundry.org:10001 04:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:51 Configure a credential helper to remove this warning. See 04:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:51 04:18:51 Login Succeeded 04:18:51 nexus3.edgexfoundry.org:10002 04:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:51 Configure a credential helper to remove this warning. See 04:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:51 04:18:51 Login Succeeded 04:18:51 nexus3.edgexfoundry.org:10003 04:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:51 Configure a credential helper to remove this warning. See 04:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:51 04:18:51 Login Succeeded 04:18:51 nexus3.edgexfoundry.org:10004 04:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:51 Configure a credential helper to remove this warning. See 04:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:51 04:18:51 Login Succeeded 04:18:51 docker.io 04:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 ---> docker-login.sh ends [Pipeline] } 04:18:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:18:52 + git rev-list -1 --merges f6d939e94ec53612eabda502d541349231dbf6bf~1..f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo 04:18:52 -----------> git rev-list -1 --merges f6d939e94ec53612eabda502d541349231dbf6bf~1..f6d939e94ec53612eabda502d541349231dbf6bf f6d939e94ec53612eabda502d541349231dbf6bf 04:18:52 f6d939e94ec53612eabda502d541349231dbf6bf [false] [Pipeline] sh 04:18:53 + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo 04:18:53 ========================================================= 04:18:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:18:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:53 + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo 04:18:53 [semverPrep] GIT_COMMIT: f6d939e94ec53612eabda502d541349231dbf6bf, Commit Message: Merge pull request #1174 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo 04:18:53 [semverPrep] This is not a build commit. [Pipeline] sh 04:18:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:18:54 + grep -v github /etc/ssh/ssh_known_hosts 04:18:54 + [ -e /tmp/ssh_known_hosts ] 04:18:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:18:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:18:54 + sudo tee -a /etc/ssh/ssh_known_hosts 04:18:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:54 04:18:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:54 0.1.4: Pulling from edgex-devops/py-git-semver 04:18:54 42c077c10790: Pulling fs layer 04:18:54 f63e77b7563a: Pulling fs layer 04:18:54 bd5fdadae976: Pulling fs layer 04:18:54 205491f53016: Pulling fs layer 04:18:54 df18705c85c3: Pulling fs layer 04:18:54 bdb3f477010e: Pulling fs layer 04:18:54 c8a8fc8e1c8f: Pulling fs layer 04:18:54 2c6e9b1d212d: Pulling fs layer 04:18:54 bdb8f0575790: Pulling fs layer 04:18:54 386e3cb2ff24: Pulling fs layer 04:18:54 2343380bae48: Pulling fs layer 04:18:54 c8a8fc8e1c8f: Waiting 04:18:54 205491f53016: Waiting 04:18:54 2c6e9b1d212d: Waiting 04:18:54 bdb8f0575790: Waiting 04:18:54 bdb3f477010e: Waiting 04:18:54 df18705c85c3: Waiting 04:18:54 386e3cb2ff24: Waiting 04:18:54 f63e77b7563a: Verifying Checksum 04:18:54 f63e77b7563a: Download complete 04:18:54 205491f53016: Download complete 04:18:54 df18705c85c3: Verifying Checksum 04:18:54 df18705c85c3: Download complete 04:18:54 bdb3f477010e: Download complete 04:18:54 bd5fdadae976: Verifying Checksum 04:18:54 bd5fdadae976: Download complete 04:18:54 2c6e9b1d212d: Verifying Checksum 04:18:54 2c6e9b1d212d: Download complete 04:18:54 bdb8f0575790: Verifying Checksum 04:18:54 bdb8f0575790: Download complete 04:18:54 386e3cb2ff24: Download complete 04:18:54 2343380bae48: Verifying Checksum 04:18:54 2343380bae48: Download complete 04:18:54 42c077c10790: Verifying Checksum 04:18:54 42c077c10790: Download complete 04:18:55 c8a8fc8e1c8f: Verifying Checksum 04:18:55 c8a8fc8e1c8f: Download complete 04:18:56 42c077c10790: Pull complete 04:18:56 f63e77b7563a: Pull complete 04:18:57 bd5fdadae976: Pull complete 04:18:57 205491f53016: Pull complete 04:18:57 df18705c85c3: Pull complete 04:18:57 bdb3f477010e: Pull complete 04:18:59 c8a8fc8e1c8f: Pull complete 04:18:59 2c6e9b1d212d: Pull complete 04:18:59 bdb8f0575790: Pull complete 04:18:59 386e3cb2ff24: Pull complete 04:18:59 2343380bae48: Pull complete 04:18:59 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:59 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:19:00 $ docker top 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf -eo pid,comm 04:19:00 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). 04:19:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:00 [ssh-agent] Looking for ssh-agent implementation... 04:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:00 $ docker exec 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent 04:19:01 SSH_AUTH_SOCK=/tmp/ssh-TnekDbx8JKvk/agent.32 04:19:01 SSH_AGENT_PID=38 04:19:01 Running ssh-add (command line suppressed) 04:19:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_559262923785177644.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_559262923785177644.key) 04:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:01 + git tag --points-at HEAD [Pipeline] } 04:19:01 $ docker exec --env ******** --env ******** 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent -k 04:19:01 unset SSH_AUTH_SOCK; 04:19:01 unset SSH_AGENT_PID; 04:19:01 echo Agent pid 38 killed; 04:19:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:01 [ssh-agent] Looking for ssh-agent implementation... 04:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:01 $ docker exec 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent 04:19:01 SSH_AUTH_SOCK=/tmp/ssh-pfB0OMf62C4d/agent.70 04:19:01 SSH_AGENT_PID=76 04:19:01 Running ssh-add (command line suppressed) 04:19:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7144898218077786466.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7144898218077786466.key) 04:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:02 + git semver init 04:19:02 2022-06-07 04:19:02,454 [run_init] DEBUG init version:0.0.0 force:False 04:19:02 2022-06-07 04:19:02,455 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:19:02 2022-06-07 04:19:02,455 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:19:02 2022-06-07 04:19:02,456 [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) 04:19:03 2022-06-07 04:19:03,246 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:19:03 2022-06-07 04:19:03,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:19:03 2022-06-07 04:19:03,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:19:03 2022-06-07 04:19:03,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:19:03 2.2.1-dev.4 [Pipeline] } 04:19:03 $ docker exec --env ******** --env ******** 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent -k 04:19:03 unset SSH_AUTH_SOCK; 04:19:03 unset SSH_AGENT_PID; 04:19:03 echo Agent pid 76 killed; 04:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:03 + git semver [Pipeline] } 04:19:04 $ docker stop --time=1 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf 04:19:05 $ docker rm -f 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf [Pipeline] // withDockerContainer [Pipeline] sh 04:19:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:06 Stashed 1 file(s) [Pipeline] echo 04:19:06 [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 04:19:06 provisioning config files... 04:19:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3112975487443017967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:06 ---> docker-login.sh 04:19:06 nexus3.edgexfoundry.org:10001 04:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:06 Configure a credential helper to remove this warning. See 04:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:06 04:19:06 Login Succeeded 04:19:06 nexus3.edgexfoundry.org:10002 04:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:06 Configure a credential helper to remove this warning. See 04:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:06 04:19:06 Login Succeeded 04:19:06 nexus3.edgexfoundry.org:10003 04:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:06 Configure a credential helper to remove this warning. See 04:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:06 04:19:06 Login Succeeded 04:19:06 nexus3.edgexfoundry.org:10004 04:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 docker.io 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 ---> docker-login.sh ends [Pipeline] } 04:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:07 ========================================================= 04:19:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:19:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:07 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 04:19:07 Sending build context to Docker daemon 9.697MB 04:19:07 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:19:07 Step 2/11 : FROM ${BASE} AS builder 04:19:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:07 59bf1c3509f3: Pulling fs layer 04:19:07 666ba61612fd: Pulling fs layer 04:19:07 8ed8ca486205: Pulling fs layer 04:19:07 cc1cd167ecdc: Pulling fs layer 04:19:07 c516ae0d96e1: Pulling fs layer 04:19:07 684cea983483: Pulling fs layer 04:19:07 dd3240ac7de5: Pulling fs layer 04:19:07 b1e948a4e11c: Pulling fs layer 04:19:07 a8fd76ee1af6: Pulling fs layer 04:19:07 646ad004c059: Pulling fs layer 04:19:07 c516ae0d96e1: Waiting 04:19:07 684cea983483: Waiting 04:19:07 dd3240ac7de5: Waiting 04:19:07 b1e948a4e11c: Waiting 04:19:07 a8fd76ee1af6: Waiting 04:19:07 646ad004c059: Waiting 04:19:07 cc1cd167ecdc: Waiting 04:19:07 8ed8ca486205: Download complete 04:19:07 666ba61612fd: Verifying Checksum 04:19:07 666ba61612fd: Download complete 04:19:07 c516ae0d96e1: Verifying Checksum 04:19:07 c516ae0d96e1: Download complete 04:19:08 684cea983483: Download complete 04:19:08 59bf1c3509f3: Verifying Checksum 04:19:08 59bf1c3509f3: Download complete 04:19:08 dd3240ac7de5: Verifying Checksum 04:19:08 dd3240ac7de5: Download complete 04:19:08 b1e948a4e11c: Verifying Checksum 04:19:08 b1e948a4e11c: Download complete 04:19:08 59bf1c3509f3: Pull complete 04:19:08 666ba61612fd: Pull complete 04:19:08 8ed8ca486205: Pull complete 04:19:08 646ad004c059: Verifying Checksum 04:19:08 646ad004c059: Download complete 04:19:08 a8fd76ee1af6: Verifying Checksum 04:19:08 a8fd76ee1af6: Download complete 04:19:08 cc1cd167ecdc: Verifying Checksum 04:19:08 cc1cd167ecdc: Download complete 04:19:12 cc1cd167ecdc: Pull complete 04:19:12 c516ae0d96e1: Pull complete 04:19:12 684cea983483: Pull complete 04:19:12 dd3240ac7de5: Pull complete 04:19:12 b1e948a4e11c: Pull complete 04:19:14 a8fd76ee1af6: Pull complete 04:19:15 646ad004c059: Pull complete 04:19:15 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:19:15 ---> 8f69c11f6b0c 04:19:15 Step 3/11 : ARG MAKE=make build 04:19:16 ---> Running in 53281c525054 04:19:16 Removing intermediate container 53281c525054 04:19:16 ---> 1c5b2d7b0dd4 04:19:16 Step 4/11 : WORKDIR /device-sdk-go 04:19:16 ---> Running in 27134b5f2998 04:19:16 Removing intermediate container 27134b5f2998 04:19:16 ---> 38076d3ecf64 04:19:16 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:19:16 ---> Running in 198fe9fd3294 04:19:17 Removing intermediate container 198fe9fd3294 04:19:17 ---> 4b456827d870 04:19:17 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:17 ---> Running in 5ac7fbba335e 04:19:17 Removing intermediate container 5ac7fbba335e 04:19:17 ---> 7741cef797e3 04:19:17 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:19:17 ---> Running in 10e5e4869ace 04:19:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:19:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:19:18 OK: 221 MiB in 52 packages 04:19:19 Removing intermediate container 10e5e4869ace 04:19:19 ---> b9ed18b745b3 04:19:19 Step 8/11 : COPY go.mod vendor* ./ 04:19:19 ---> 1bb345678587 04:19:19 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:19 ---> Running in d34d0c301782 04:19:21 Still waiting to schedule task 04:19:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:19:31 Removing intermediate container d34d0c301782 04:19:31 ---> ed274a343439 04:19:31 Step 10/11 : COPY . . 04:19:31 ---> dc00c3a95b01 04:19:31 Step 11/11 : RUN ${MAKE} 04:19:31 ---> Running in 297a134f62d2 04:19:31 noop 04:19:32 Removing intermediate container 297a134f62d2 04:19:32 ---> 5a1e468edb98 04:19:32 Successfully built 5a1e468edb98 04:19:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:32 + docker inspect -f . ci-base-image-x86_64 04:19:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:32 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:19:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:19:33 $ docker top aa4c5d063ece3683ed0229a33ba30448f9a6ff3aabe1831e78aae6f246819f9a -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:33 + go version 04:19:33 go version go1.17.7 linux/amd64 [Pipeline] } 04:19:33 $ docker stop --time=1 aa4c5d063ece3683ed0229a33ba30448f9a6ff3aabe1831e78aae6f246819f9a 04:19:34 $ docker rm -f aa4c5d063ece3683ed0229a33ba30448f9a6ff3aabe1831e78aae6f246819f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:35 + docker inspect -f . ci-base-image-x86_64 04:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:35 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:19:35 $ docker top 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:19:36 + make test 04:19:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:19:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.6% of statements 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 10.8% of statements 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 60.0% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 85.4% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.813s coverage: 89.2% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:19:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:08 GO111MODULE=on go vet ./... 04:20:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:11 ./bin/test-attribution-txt.sh [Pipeline] echo 04:20:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:20:11 $ docker stop --time=1 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c 04:20:13 $ docker rm -f 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c [Pipeline] // withDockerContainer [Pipeline] sh 04:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:15 + ls -al . 04:20:15 total 300 04:20:15 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 04:20 . 04:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:18 .. 04:20:15 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:18 .dockerignore 04:20:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:19 .git 04:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:18 .github 04:20:15 -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:18 .gitignore 04:20:15 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:18 .golangci.yml 04:20:15 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:19 .semver 04:20:15 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:18 CHANGELOG.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:18 GOVERNANCE.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:18 Jenkinsfile 04:20:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:18 LICENSE 04:20:15 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:18 Makefile 04:20:15 -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:18 OWNERS.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:18 README.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 04:19 VERSION 04:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:18 bin 04:20:15 -rw-r--r-- 1 jenkins jenkins 131011 Jun 7 04:19 coverage.out 04:20:15 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:18 example 04:20:15 -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:18 go.mod 04:20:15 -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:18 go.sum 04:20:15 drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:18 internal 04:20:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:18 openapi 04:20:15 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:18 pkg 04:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:18 snap 04:20:15 -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:15 + 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=f6d939e94ec53612eabda502d541349231dbf6bf --label arch=amd64 --label version=2.2.1-dev.4 . 04:20:15 Sending build context to Docker daemon 9.828MB 04:20:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:20:15 Step 2/25 : FROM ${BASE} AS builder 04:20:15 ---> 5a1e468edb98 04:20:15 Step 3/25 : ARG MAKE=make build 04:20:15 ---> Running in 889fb69f038e 04:20:15 Removing intermediate container 889fb69f038e 04:20:15 ---> 560654aa63d0 04:20:15 Step 4/25 : WORKDIR /device-sdk-go 04:20:15 ---> Running in d783398ad99a 04:20:15 Removing intermediate container d783398ad99a 04:20:15 ---> 7daa47e1af7b 04:20:15 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:15 ---> Running in 096c2e859ab1 04:20:16 Removing intermediate container 096c2e859ab1 04:20:16 ---> a5817daa2ff7 04:20:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:16 ---> Running in 7a6087fbe90d 04:20:16 Removing intermediate container 7a6087fbe90d 04:20:16 ---> 0d2a86c5fbc3 04:20:16 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:20:16 ---> Running in 15bae45a293a 04:20:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:20:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:20:18 OK: 221 MiB in 52 packages 04:20:18 Removing intermediate container 15bae45a293a 04:20:18 ---> 88c0d5bf1a77 04:20:18 Step 8/25 : COPY go.mod vendor* ./ 04:20:18 ---> 73dfe900dd1e 04:20:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:18 ---> Running in e1aa1f5d17f1 04:20:18 Removing intermediate container e1aa1f5d17f1 04:20:18 ---> 5332f62de223 04:20:18 Step 10/25 : COPY . . 04:20:19 ---> cc547277d41f 04:20:19 Step 11/25 : RUN ${MAKE} 04:20:19 ---> Running in c47665933e47 04:20:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:37 Removing intermediate container c47665933e47 04:20:37 ---> a5c010354b21 04:20:37 Step 12/25 : FROM alpine:3.14 04:20:38 3.14: Pulling from library/alpine 04:20:38 8663204ce13b: Pulling fs layer 04:20:38 8663204ce13b: Verifying Checksum 04:20:38 8663204ce13b: Download complete 04:20:38 8663204ce13b: Pull complete 04:20:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:20:38 Status: Downloaded newer image for alpine:3.14 04:20:38 ---> e04c818066af 04:20:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:38 ---> Running in 1b6123994dfb 04:20:38 Removing intermediate container 1b6123994dfb 04:20:38 ---> 3393f7b73473 04:20:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:38 ---> Running in 25be65548b4c 04:20:39 Removing intermediate container 25be65548b4c 04:20:39 ---> 917fd39ee0d3 04:20:39 Step 15/25 : RUN apk add --update --no-cache zeromq 04:20:39 ---> Running in c6d95eb466e5 04:20:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:20:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:20:40 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:20:40 (2/5) Installing libsodium (1.0.18-r0) 04:20:40 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:20:41 (4/5) Installing libzmq (4.3.4-r0) 04:20:41 (5/5) Installing zeromq (4.3.4-r0) 04:20:41 Executing busybox-1.33.1-r7.trigger 04:20:41 OK: 8 MiB in 19 packages 04:20:41 Removing intermediate container c6d95eb466e5 04:20:41 ---> 0562006a0813 04:20:41 Step 16/25 : WORKDIR / 04:20:41 ---> Running in f1f0be754b03 04:20:41 Removing intermediate container f1f0be754b03 04:20:41 ---> 03c4681faed9 04:20:41 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:42 ---> 725f2337b650 04:20:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:42 ---> 3dd3011beee5 04:20:42 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:42 ---> e6a3b53fabb6 04:20:42 Step 20/25 : EXPOSE 59999 04:20:42 ---> Running in c682c83dec3b 04:20:42 Removing intermediate container c682c83dec3b 04:20:42 ---> 12c17058688b 04:20:42 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:20:42 ---> Running in 3130fe76cb0e 04:20:42 Removing intermediate container 3130fe76cb0e 04:20:42 ---> bf6c56ec21b3 04:20:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:43 ---> Running in ed13389381ed 04:20:43 Removing intermediate container ed13389381ed 04:20:43 ---> eaba849d70f2 04:20:43 Step 23/25 : LABEL arch=amd64 04:20:43 ---> Running in b8b8a59b00cf 04:20:43 Removing intermediate container b8b8a59b00cf 04:20:43 ---> 4c628e60d9fd 04:20:43 Step 24/25 : LABEL git_sha=f6d939e94ec53612eabda502d541349231dbf6bf 04:20:43 ---> Running in da8159fe8bb3 04:20:43 Removing intermediate container da8159fe8bb3 04:20:43 ---> 01a10ba77889 04:20:43 Step 25/25 : LABEL version=2.2.1-dev.4 04:20:43 ---> Running in dce158753478 04:20:43 Removing intermediate container dce158753478 04:20:43 ---> 13e95381139e 04:20:43 [Warning] One or more build-args [ARCH] were not consumed 04:20:43 Successfully built 13e95381139e 04:20:43 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 04:20:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:43 04:20:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:44 latest: Pulling from edgex-lftools-log-publisher 04:20:44 5eb5b503b376: Pulling fs layer 04:20:44 5c69ac0246d0: Pulling fs layer 04:20:44 ec43610c2a17: Pulling fs layer 04:20:44 3a2ae6a8a46f: Pulling fs layer 04:20:44 33b1e0a273af: Pulling fs layer 04:20:44 5d3b04190fa2: Pulling fs layer 04:20:44 2f39f015ded8: Pulling fs layer 04:20:44 3a2ae6a8a46f: Waiting 04:20:44 33b1e0a273af: Waiting 04:20:44 2f39f015ded8: Waiting 04:20:44 5c69ac0246d0: Download complete 04:20:44 3a2ae6a8a46f: Verifying Checksum 04:20:44 3a2ae6a8a46f: Download complete 04:20:44 33b1e0a273af: Verifying Checksum 04:20:44 33b1e0a273af: Download complete 04:20:44 ec43610c2a17: Verifying Checksum 04:20:44 ec43610c2a17: Download complete 04:20:44 5d3b04190fa2: Verifying Checksum 04:20:44 5d3b04190fa2: Download complete 04:20:44 5eb5b503b376: Verifying Checksum 04:20:44 5eb5b503b376: Download complete 04:20:45 2f39f015ded8: Download complete 04:20:45 5eb5b503b376: Pull complete 04:20:45 5c69ac0246d0: Pull complete 04:20:46 ec43610c2a17: Pull complete 04:20:46 3a2ae6a8a46f: Pull complete 04:20:46 33b1e0a273af: Pull complete 04:20:46 5d3b04190fa2: Pull complete 04:20:50 2f39f015ded8: Pull complete 04:20:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:50 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:20:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:52 $ docker top e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:52 ---> job-cost.sh 04:20:52 lf-activate-venv: SKIPPING 04:20:52 INFO: No Stack... 04:20:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:20:53 INFO: Archiving Costs [Pipeline] sh 04:20:54 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:20:54 + cut -d, -f6 [Pipeline] lock 04:20:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] 04:20:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] did not exist. Created. 04:20:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:54 + echo total: 0.2199999988079071 [Pipeline] stash 04:20:54 Stashed 1 file(s) [Pipeline] } 04:20:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:54 $ docker stop --time=1 e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 04:20:55 $ docker rm -f e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1604 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:21:49 Running in /w/workspace/device-sdk-go/79 [Pipeline] { [Pipeline] checkout 04:21:49 The recommended git tool is: git 04:21:55 using credential edgex-jenkins-ssh 04:21:55 Cloning the remote Git repository 04:21:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:55 > git init /w/workspace/device-sdk-go/79 # timeout=10 04:21:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:56 > git --version # timeout=10 04:21:56 > git --version # 'git version 2.25.1' 04:21:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:57 Avoid second fetch 04:21:57 Checking out Revision f6d939e94ec53612eabda502d541349231dbf6bf (main) 04:21:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:57 > git config core.sparsecheckout # timeout=10 04:21:57 > git checkout -f f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 04:22:01 Commit message: "Merge pull request #1174 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:02 Dload Upload Total Spent Left Speed 04:22:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 04:22:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:03 + sudo tee /etc/docker/daemon.new 04:22:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:03 { 04:22:03 "registry-mirrors": [ 04:22:03 "https://nexus3.edgexfoundry.org:10001" 04:22:03 ], 04:22:03 "bip": "10.250.0.254/24", 04:22:03 "hosts": [ 04:22:03 "tcp://0.0.0.0:5555", 04:22:03 "unix:///var/run/docker.sock" 04:22:03 ], 04:22:03 "mtu": 1458, 04:22:03 "selinux-enabled": true, 04:22:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:03 } [Pipeline] sh 04:22:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:22 provisioning config files... 04:22:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/79@tmp/config7568006525678826420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:23 ---> docker-login.sh 04:22:23 nexus3.edgexfoundry.org:10001 04:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 nexus3.edgexfoundry.org:10002 04:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 nexus3.edgexfoundry.org:10003 04:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:25 Configure a credential helper to remove this warning. See 04:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:25 04:22:25 Login Succeeded 04:22:25 nexus3.edgexfoundry.org:10004 04:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:25 Configure a credential helper to remove this warning. See 04:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:25 04:22:25 Login Succeeded 04:22:25 docker.io 04:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:26 Configure a credential helper to remove this warning. See 04:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:26 04:22:26 Login Succeeded 04:22:26 ---> docker-login.sh ends [Pipeline] } 04:22:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:27 ========================================================= 04:22:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:22:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:27 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 04:22:27 Sending build context to Docker daemon 5.189MB 04:22:27 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:22:27 Step 2/11 : FROM ${BASE} AS builder 04:22:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:22:28 9b3977197b4f: Pulling fs layer 04:22:28 1a89e8eeedd5: Pulling fs layer 04:22:28 94645a83ff95: Pulling fs layer 04:22:28 e6fb740bc735: Pulling fs layer 04:22:28 3a77bd46dcc9: Pulling fs layer 04:22:28 355e64cbe906: Pulling fs layer 04:22:28 63ab81a10011: Pulling fs layer 04:22:28 555d1d1c4555: Pulling fs layer 04:22:28 7d9057610161: Pulling fs layer 04:22:28 355e64cbe906: Waiting 04:22:28 63ab81a10011: Waiting 04:22:28 e6fb740bc735: Waiting 04:22:28 555d1d1c4555: Waiting 04:22:28 3a77bd46dcc9: Waiting 04:22:28 7d9057610161: Waiting 04:22:28 94645a83ff95: Verifying Checksum 04:22:28 94645a83ff95: Download complete 04:22:28 1a89e8eeedd5: Download complete 04:22:28 3a77bd46dcc9: Verifying Checksum 04:22:28 3a77bd46dcc9: Download complete 04:22:28 355e64cbe906: Verifying Checksum 04:22:28 355e64cbe906: Download complete 04:22:28 9b3977197b4f: Verifying Checksum 04:22:28 9b3977197b4f: Download complete 04:22:28 63ab81a10011: Verifying Checksum 04:22:28 63ab81a10011: Download complete 04:22:29 9b3977197b4f: Pull complete 04:22:29 7d9057610161: Verifying Checksum 04:22:29 7d9057610161: Download complete 04:22:29 1a89e8eeedd5: Pull complete 04:22:30 94645a83ff95: Pull complete 04:22:30 555d1d1c4555: Verifying Checksum 04:22:30 555d1d1c4555: Download complete 04:22:31 e6fb740bc735: Verifying Checksum 04:22:31 e6fb740bc735: Download complete 04:22:43 e6fb740bc735: Pull complete 04:22:43 3a77bd46dcc9: Pull complete 04:22:43 355e64cbe906: Pull complete 04:22:43 63ab81a10011: Pull complete 04:22:50 555d1d1c4555: Pull complete 04:22:51 7d9057610161: Pull complete 04:22:51 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:22:51 ---> 819e984ddca1 04:22:51 Step 3/11 : ARG MAKE=make build 04:22:52 ---> Running in e572b137ea56 04:22:53 Removing intermediate container e572b137ea56 04:22:53 ---> 23a474c4a358 04:22:53 Step 4/11 : WORKDIR /device-sdk-go 04:22:53 ---> Running in 2e804a74f1da 04:22:53 Removing intermediate container 2e804a74f1da 04:22:53 ---> 1d24824b61db 04:22:53 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:53 ---> Running in 17b075844186 04:22:53 Removing intermediate container 17b075844186 04:22:53 ---> 64d8c9f2cf29 04:22:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:53 ---> Running in 15ea5f661307 04:22:57 Removing intermediate container 15ea5f661307 04:22:57 ---> 41da2d0e5a94 04:22:57 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:22:57 ---> Running in 580d9a87e933 04:22:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:22:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:22:59 OK: 220 MiB in 52 packages 04:23:00 Removing intermediate container 580d9a87e933 04:23:00 ---> 2c0362c7f2da 04:23:00 Step 8/11 : COPY go.mod vendor* ./ 04:23:00 ---> 6fc647fb997e 04:23:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:01 ---> Running in 504b622e295d 04:23:48 Removing intermediate container 504b622e295d 04:23:48 ---> fa955053a43f 04:23:48 Step 10/11 : COPY . . 04:23:48 ---> 13d15fda26b0 04:23:48 Step 11/11 : RUN ${MAKE} 04:23:48 ---> Running in 26a62b0da648 04:23:48 noop 04:23:48 Removing intermediate container 26a62b0da648 04:23:48 ---> 1bee04162fff 04:23:48 Successfully built 1bee04162fff 04:23:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:48 + docker inspect -f . ci-base-image-arm64 04:23:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:48 prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container 04:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/79 -v /w/workspace/device-sdk-go/79:/w/workspace/device-sdk-go/79:rw,z -v /w/workspace/device-sdk-go/79@tmp:/w/workspace/device-sdk-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:50 $ docker top 0384c70ecce177a0eb9ba53191c7646c283273fddf07bf881fdea485607bad1a -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:50 + go version 04:23:50 go version go1.17.7 linux/arm64 [Pipeline] } 04:23:51 $ docker stop --time=1 0384c70ecce177a0eb9ba53191c7646c283273fddf07bf881fdea485607bad1a 04:23:52 $ docker rm -f 0384c70ecce177a0eb9ba53191c7646c283273fddf07bf881fdea485607bad1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:53 + docker inspect -f . ci-base-image-arm64 04:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container 04:23:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/79 -v /w/workspace/device-sdk-go/79:/w/workspace/device-sdk-go/79:rw,z -v /w/workspace/device-sdk-go/79@tmp:/w/workspace/device-sdk-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:54 $ docker top f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:23:55 + make test 04:23:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:25:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.487s coverage: 23.3% of statements 04:26:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements 04:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.405s coverage: 78.9% of statements 04:26:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.317s coverage: 10.8% of statements 04:26:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.401s coverage: 60.0% of statements 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:26:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.393s coverage: 34.8% of statements 04:26:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:26:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.282s coverage: 85.4% of statements 04:26:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:26:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:26:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.500s coverage: 65.1% of statements 04:26:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.125s coverage: 89.2% of statements 04:26:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:26:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.232s coverage: 4.7% of statements 04:26:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:26:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:26:21 GO111MODULE=on go vet ./... 04:27:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:27:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:27:43 $ docker stop --time=1 f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d 04:27:45 $ docker rm -f f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d [Pipeline] // withDockerContainer [Pipeline] sh 04:27:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:46 Warning: overwriting stash ‘coverage-report’ 04:27:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:48 + ls -al . 04:27:48 total 296 04:27:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 04:27 . 04:27:48 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:21 .. 04:27:48 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:21 .dockerignore 04:27:48 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:22 .git 04:27:48 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:21 .github 04:27:48 -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:21 .gitignore 04:27:48 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:21 .golangci.yml 04:27:48 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:21 CHANGELOG.md 04:27:48 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:21 GOVERNANCE.md 04:27:48 -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:21 Jenkinsfile 04:27:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:21 LICENSE 04:27:48 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:21 Makefile 04:27:48 -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:21 OWNERS.md 04:27:48 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:21 README.md 04:27:48 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 04:19 VERSION 04:27:48 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:21 bin 04:27:48 -rw-r--r-- 1 jenkins jenkins 131010 Jun 7 04:26 coverage.out 04:27:48 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:21 example 04:27:48 -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:21 go.mod 04:27:48 -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:21 go.sum 04:27:48 drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:21 internal 04:27:48 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:21 openapi 04:27:48 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:21 pkg 04:27:48 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:21 snap 04:27:48 -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:48 + 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=f6d939e94ec53612eabda502d541349231dbf6bf --label arch=arm64 --label version=2.2.1-dev.4 . 04:27:48 Sending build context to Docker daemon 5.321MB 04:27:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:27:48 Step 2/25 : FROM ${BASE} AS builder 04:27:48 ---> 1bee04162fff 04:27:48 Step 3/25 : ARG MAKE=make build 04:27:49 ---> Running in f2190db515ad 04:27:49 Removing intermediate container f2190db515ad 04:27:49 ---> 26f5d1b6a012 04:27:49 Step 4/25 : WORKDIR /device-sdk-go 04:27:49 ---> Running in c0c94793fb62 04:27:49 Removing intermediate container c0c94793fb62 04:27:49 ---> 27776e5263fc 04:27:49 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:27:49 ---> Running in 3c3234ede3b3 04:27:49 Removing intermediate container 3c3234ede3b3 04:27:49 ---> f35298360694 04:27:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:50 ---> Running in ca6bb28d2801 04:27:51 Removing intermediate container ca6bb28d2801 04:27:51 ---> 0ab7c091c841 04:27:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:27:51 ---> Running in 0c536e77b1b5 04:27:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:27:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:27:54 OK: 220 MiB in 52 packages 04:27:55 Removing intermediate container 0c536e77b1b5 04:27:55 ---> 47c1d7ca72cf 04:27:55 Step 8/25 : COPY go.mod vendor* ./ 04:27:55 ---> 9ee63a518ea1 04:27:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:55 ---> Running in 916d19ffe237 04:27:57 Removing intermediate container 916d19ffe237 04:27:57 ---> dd2bd25d5bfc 04:27:57 Step 10/25 : COPY . . 04:27:58 ---> be931658601e 04:27:58 Step 11/25 : RUN ${MAKE} 04:27:58 ---> Running in 69908207dcff 04:27:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:29:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:29:54 Removing intermediate container 69908207dcff 04:29:54 ---> f9b580948a7c 04:29:54 Step 12/25 : FROM alpine:3.14 04:29:54 3.14: Pulling from library/alpine 04:29:55 455c02918c45: Pulling fs layer 04:29:55 455c02918c45: Download complete 04:29:55 455c02918c45: Pull complete 04:29:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:29:55 Status: Downloaded newer image for alpine:3.14 04:29:55 ---> ac73e934f311 04:29:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:29:56 ---> Running in 1d86de18ed15 04:29:56 Removing intermediate container 1d86de18ed15 04:29:56 ---> 1cc86d02f60c 04:29:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:29:56 ---> Running in 1e4db3e69adb 04:29:58 Removing intermediate container 1e4db3e69adb 04:29:58 ---> ab7e4bae432e 04:29:58 Step 15/25 : RUN apk add --update --no-cache zeromq 04:29:58 ---> Running in d6dd9413238d 04:29:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:29:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:30:00 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:30:00 (2/5) Installing libsodium (1.0.18-r0) 04:30:00 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:30:00 (4/5) Installing libzmq (4.3.4-r0) 04:30:01 (5/5) Installing zeromq (4.3.4-r0) 04:30:01 Executing busybox-1.33.1-r7.trigger 04:30:01 OK: 8 MiB in 19 packages 04:30:02 Removing intermediate container d6dd9413238d 04:30:02 ---> 4eb424728924 04:30:02 Step 16/25 : WORKDIR / 04:30:02 ---> Running in cc4d874374f7 04:30:02 Removing intermediate container cc4d874374f7 04:30:02 ---> d585df6b42bf 04:30:02 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:30:02 ---> a3bd0fce639d 04:30:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:30:04 ---> da09dc2ec3d4 04:30:04 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:30:05 ---> 19365255f029 04:30:05 Step 20/25 : EXPOSE 59999 04:30:05 ---> Running in d017e4035e6a 04:30:05 Removing intermediate container d017e4035e6a 04:30:05 ---> bcd74176c0c5 04:30:05 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:30:05 ---> Running in 2b351968651a 04:30:05 Removing intermediate container 2b351968651a 04:30:05 ---> f39ede1d32ef 04:30:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:30:05 ---> Running in 22b6445e119c 04:30:06 Removing intermediate container 22b6445e119c 04:30:06 ---> 11f6f81e32ae 04:30:06 Step 23/25 : LABEL arch=arm64 04:30:06 ---> Running in 98aed60b381d 04:30:06 Removing intermediate container 98aed60b381d 04:30:06 ---> c95e881ebb4b 04:30:06 Step 24/25 : LABEL git_sha=f6d939e94ec53612eabda502d541349231dbf6bf 04:30:06 ---> Running in 89eaeed1f21f 04:30:07 Removing intermediate container 89eaeed1f21f 04:30:07 ---> 3ce6fba35b36 04:30:07 Step 25/25 : LABEL version=2.2.1-dev.4 04:30:07 ---> Running in 69bbea1f24bb 04:30:07 Removing intermediate container 69bbea1f24bb 04:30:07 ---> c9a1be4d5034 04:30:07 [Warning] One or more build-args [ARCH] were not consumed 04:30:07 Successfully built c9a1be4d5034 04:30:07 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 04:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:07 04:30:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:08 arm64: Pulling from edgex-lftools-log-publisher 04:30:08 8998bd30e6a1: Pulling fs layer 04:30:08 04944245beec: Pulling fs layer 04:30:08 699f458cf7ca: Pulling fs layer 04:30:08 765212b225bb: Pulling fs layer 04:30:08 f23df028b6ca: Pulling fs layer 04:30:08 d65c8cfc05b1: Pulling fs layer 04:30:08 2437ff75d9bd: Pulling fs layer 04:30:08 765212b225bb: Waiting 04:30:08 f23df028b6ca: Waiting 04:30:08 d65c8cfc05b1: Waiting 04:30:08 2437ff75d9bd: Waiting 04:30:08 04944245beec: Verifying Checksum 04:30:08 04944245beec: Download complete 04:30:08 765212b225bb: Verifying Checksum 04:30:08 765212b225bb: Download complete 04:30:08 f23df028b6ca: Download complete 04:30:08 d65c8cfc05b1: Verifying Checksum 04:30:08 d65c8cfc05b1: Download complete 04:30:08 699f458cf7ca: Verifying Checksum 04:30:08 699f458cf7ca: Download complete 04:30:09 8998bd30e6a1: Verifying Checksum 04:30:09 8998bd30e6a1: Download complete 04:30:11 2437ff75d9bd: Download complete 04:30:13 8998bd30e6a1: Pull complete 04:30:13 04944245beec: Pull complete 04:30:15 699f458cf7ca: Pull complete 04:30:15 765212b225bb: Pull complete 04:30:16 f23df028b6ca: Pull complete 04:30:16 d65c8cfc05b1: Pull complete 04:30:31 2437ff75d9bd: Pull complete 04:30:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:30:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:30:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container 04:30:32 $ 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/79 -v /w/workspace/device-sdk-go/79:/w/workspace/device-sdk-go/79:rw,z -v /w/workspace/device-sdk-go/79@tmp:/w/workspace/device-sdk-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:30:34 $ docker top 497666b9cecb73b348ed3de1a664e1a502f1ca4b89fc6efe88502b0debc3e0c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:35 ---> job-cost.sh 04:30:35 lf-activate-venv: SKIPPING 04:30:35 INFO: No Stack... 04:30:35 INFO: Retrieving Pricing Info for: v3-standard-4 04:30:36 INFO: Archiving Costs [Pipeline] sh 04:30:37 + + cut -d, -f6 04:30:37 cat /w/workspace/device-sdk-go/79/archives/cost.csv [Pipeline] lock 04:30:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] 04:30:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] did not exist. Created. 04:30:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:30:38 /w/workspace/device-sdk-go/79@tmp/durable-736a6183/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:30:38 + echo total: 0.10999999940395355 [Pipeline] stash 04:30:38 Warning: overwriting stash ‘stack-cost’ 04:30:39 Stashed 1 file(s) [Pipeline] } 04:30:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 04:30:39 $ docker stop --time=1 497666b9cecb73b348ed3de1a664e1a502f1ca4b89fc6efe88502b0debc3e0c4 04:30:40 $ docker rm -f 497666b9cecb73b348ed3de1a664e1a502f1ca4b89fc6efe88502b0debc3e0c4 [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 04:30:41 provisioning config files... 04:30:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config32508098141729594tmp [Pipeline] { [Pipeline] sh 04:30:41 + set +x 04:30:41 + curl -s https://codecov.io/bash 04:30:41 + bash -s -- 04:30:41 04:30:41 _____ _ 04:30:41 / ____| | | 04:30:41 | | ___ __| | ___ ___ _____ __ 04:30:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:30:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:30:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:30:41 Bash-1.0.6 04:30:41 04:30:41 04:30:41 ==> git version 2.25.1 found 04:30:41 ==> 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 04:30:41 Release-Date: 2020-01-08 04:30:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:30:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:30:41 ==> Jenkins CI detected. 04:30:41 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:30:41 project root: . 04:30:41 --> token set from env 04:30:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:30:41 ==> Running gcov in . (disable via -X gcov) 04:30:41 ==> Python coveragepy not found 04:30:41 ==> Searching for coverage reports in: 04:30:41 + . 04:30:41 -> Found 1 reports 04:30:41 ==> Detecting git/mercurial file structure 04:30:41 ==> Reading reports 04:30:41 + ./coverage.out bytes=131010 04:30:41 ==> Appending adjustments 04:30:41 https://docs.codecov.io/docs/fixing-reports 04:30:41 + Found adjustments 04:30:41 ==> Gzipping contents 04:30:41 20K /tmp/codecov.1Xuqdw.gz 04:30:41 ==> Uploading reports 04:30:41 url: https://codecov.io 04:30:41 query: branch=main&commit=f6d939e94ec53612eabda502d541349231dbf6bf&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:30:41 -> Pinging Codecov 04:30:41 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=f6d939e94ec53612eabda502d541349231dbf6bf&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:30:41 -> Uploading to 04:30:41 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/7E55EF52A471D76F132DFD9A03CDDE97/f6d939e94ec53612eabda502d541349231dbf6bf/ef0f0877-9bcc-4cf8-ae6b-6ed9d1f5722c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T043041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6103394544931cc5c9790f441c4fd96bcadeba5fefb0aeba4796a7121bcc7a11 04:30:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:41 Dload Upload Total Spent Left Speed 04:30:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16837 0 0 100 16837 0 72261 --:--:-- --:--:-- --:--:-- 72261 04:30:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] } 04:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:30:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:30:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:30:42 04:30:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:30:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:30:43 df9b9388f04a: Pulling fs layer 04:30:43 52dc419b0ee2: Pulling fs layer 04:30:43 25bc292e5bac: Pulling fs layer 04:30:43 114826534d7a: Pulling fs layer 04:30:43 4657fd5d0bcf: Pulling fs layer 04:30:43 6ad1cebc031e: Pulling fs layer 04:30:43 8a3aa393b2d8: Pulling fs layer 04:30:43 114826534d7a: Waiting 04:30:43 4657fd5d0bcf: Waiting 04:30:43 6ad1cebc031e: Waiting 04:30:43 8a3aa393b2d8: Waiting 04:30:43 25bc292e5bac: Download complete 04:30:43 52dc419b0ee2: Download complete 04:30:43 4657fd5d0bcf: Verifying Checksum 04:30:43 4657fd5d0bcf: Download complete 04:30:43 df9b9388f04a: Verifying Checksum 04:30:43 df9b9388f04a: Download complete 04:30:43 df9b9388f04a: Pull complete 04:30:43 6ad1cebc031e: Verifying Checksum 04:30:43 6ad1cebc031e: Download complete 04:30:43 52dc419b0ee2: Pull complete 04:30:43 25bc292e5bac: Pull complete 04:30:43 114826534d7a: Verifying Checksum 04:30:43 114826534d7a: Download complete 04:30:43 8a3aa393b2d8: Verifying Checksum 04:30:43 8a3aa393b2d8: Download complete 04:30:47 114826534d7a: Pull complete 04:30:47 4657fd5d0bcf: Pull complete 04:30:47 6ad1cebc031e: Pull complete 04:30:50 8a3aa393b2d8: Pull complete 04:30:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:30:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:50 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:30:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:30:52 $ docker top a4b777b61e64e8b72d242adba18c638f7bbb8daa591ceffcfb74a21b25e46911 -eo pid,comm [Pipeline] { [Pipeline] echo 04:30:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:30:53 + set -o pipefail 04:30:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:30:58 04:30:58 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 04:30:58 04:30:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/523a2714-a66c-4b8c-be4f-96d29fa43697 04:30:58 04:30:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:30:58 04:30:58 [Pipeline] } 04:30:58 $ docker stop --time=1 a4b777b61e64e8b72d242adba18c638f7bbb8daa591ceffcfb74a21b25e46911 04:31:00 $ docker rm -f a4b777b61e64e8b72d242adba18c638f7bbb8daa591ceffcfb74a21b25e46911 [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 04:31:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:00 provisioning config files... 04:31:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7151730679242559697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:01 --> edgex-publish-swagger.sh 04:31:01 === Publish openapi/v2 API === 04:31:01 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:31:01 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 04:31:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:01 Dload Upload Total Spent Left Speed 04:31:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 84574 --:--:-- --:--:-- --:--:-- 84440 100 53282 0 0 100 53282 0 84440 --:--:-- --:--:-- --:--:-- 84306 04:31:01 04:31:01 [Pipeline] } 04:31:01 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 04:31:02 + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] sh 04:31:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:31:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:02 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:31:03 $ docker top 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:31:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:03 [ssh-agent] Looking for ssh-agent implementation... 04:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:03 $ docker exec 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c ssh-agent 04:31:03 SSH_AUTH_SOCK=/tmp/ssh-ytMex1o2aDX3/agent.32 04:31:03 SSH_AGENT_PID=38 04:31:03 Running ssh-add (command line suppressed) 04:31:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4547536599610953897.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4547536599610953897.key) 04:31:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:04 + git semver tag 04:31:04 2022-06-07 04:31:04,288 [run_tag] DEBUG tag force:False 04:31:04 2022-06-07 04:31:04,288 [check_head_tag] DEBUG check head tag 04:31:04 2022-06-07 04:31:04,289 [execute] INFO git cat-file --batch-check 04:31:04 2022-06-07 04:31:04,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:31:04 2022-06-07 04:31:04,292 [execute] INFO git cat-file --batch 04:31:04 2022-06-07 04:31:04,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:31:04 2022-06-07 04:31:04,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:04 2022-06-07 04:31:04,303 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 04:31:04 2022-06-07 04:31:04,304 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:31:04 2022-06-07 04:31:04,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:04 2.2.1-dev.4 [Pipeline] } 04:31:04 $ docker exec --env ******** --env ******** 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c ssh-agent -k 04:31:04 unset SSH_AUTH_SOCK; 04:31:04 unset SSH_AGENT_PID; 04:31:04 echo Agent pid 38 killed; 04:31:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:04 + git semver [Pipeline] } 04:31:05 $ docker stop --time=1 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c 04:31:06 $ docker rm -f 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:06 04:31:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:07 0.23.1-centos7: Pulling from edgex-lftools 04:31:07 ab5ef0e58194: Pulling fs layer 04:31:07 9712f1f96733: Pulling fs layer 04:31:07 63f879dbbcfc: Pulling fs layer 04:31:07 0d9ebad4ef96: Pulling fs layer 04:31:07 e9a5061849ea: Pulling fs layer 04:31:07 d747dcd14b5f: Pulling fs layer 04:31:07 2de7ff778b66: Pulling fs layer 04:31:07 d747dcd14b5f: Waiting 04:31:07 2de7ff778b66: Waiting 04:31:07 e9a5061849ea: Waiting 04:31:07 0d9ebad4ef96: Waiting 04:31:07 9712f1f96733: Verifying Checksum 04:31:07 9712f1f96733: Download complete 04:31:07 63f879dbbcfc: Verifying Checksum 04:31:07 63f879dbbcfc: Download complete 04:31:07 e9a5061849ea: Verifying Checksum 04:31:07 e9a5061849ea: Download complete 04:31:07 0d9ebad4ef96: Verifying Checksum 04:31:07 0d9ebad4ef96: Download complete 04:31:07 d747dcd14b5f: Download complete 04:31:07 ab5ef0e58194: Verifying Checksum 04:31:07 ab5ef0e58194: Download complete 04:31:07 2de7ff778b66: Verifying Checksum 04:31:07 2de7ff778b66: Download complete 04:31:11 ab5ef0e58194: Pull complete 04:31:11 9712f1f96733: Pull complete 04:31:11 63f879dbbcfc: Pull complete 04:31:14 0d9ebad4ef96: Pull complete 04:31:15 e9a5061849ea: Pull complete 04:31:15 d747dcd14b5f: Pull complete 04:31:15 2de7ff778b66: Pull complete 04:31:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:31:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:31:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:16 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:31:18 $ docker top a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:31:18 provisioning config files... 04:31:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5327450685772112426tmp 04:31:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7796050664300990633tmp 04:31:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config332593745437894314tmp [Pipeline] { [Pipeline] echo 04:31:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:31:18 ---> sigul-configuration.sh 04:31:18 gpg: directory `/root/.gnupg' created 04:31:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:31:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:31:18 gpg: keyring `/root/.gnupg/secring.gpg' created 04:31:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:31:18 gpg: CAST5 encrypted data 04:31:18 gpg: encrypted with 1 passphrase 04:31:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:31:18 + mkdir /home/jenkins 04:31:18 + mkdir /home/jenkins/sigul [Pipeline] sh 04:31:19 + 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 04:31:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:31:19 ---> sigul-install.sh 04:31:19 Sigul already installed; skipping installation. [Pipeline] sh 04:31:19 + git tag --list 04:31:19 0.7.1 04:31:19 delhi-tag 04:31:19 v1.0.0 04:31:19 v1.1.0 04:31:19 v1.1.1 04:31:19 v1.1.2 04:31:19 v1.2.0 04:31:19 v1.2.1 04:31:19 v1.2.2 04:31:19 v1.2.3 04:31:19 v1.3.0 04:31:19 v1.4.0 04:31:19 v2.0.0 04:31:19 v2.1.0 04:31:19 v2.1.1 04:31:19 v2.1.1-dev.2 04:31:19 v2.1.1-dev.3 04:31:19 v2.2.0 04:31:19 v2.2.1-dev.1 04:31:19 v2.2.1-dev.2 04:31:19 v2.2.1-dev.3 04:31:19 v2.2.1-dev.4 [Pipeline] sh 04:31:19 + lftools sign git-tag v2.2.1-dev.4 04:31:20 Signing Git tag with Sigul... 04:31:20 Signing v2.2.1-dev.4 [Pipeline] echo 04:31:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:31:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:31:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:31:21 $ docker stop --time=1 a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a 04:31:22 $ docker rm -f a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:31:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:31:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:31:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:23 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:31:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:31:23 $ docker top 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:31:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:23 [ssh-agent] Looking for ssh-agent implementation... 04:31:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:23 $ docker exec 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c ssh-agent 04:31:24 SSH_AUTH_SOCK=/tmp/ssh-IAyJi6rQ7TY5/agent.34 04:31:24 SSH_AGENT_PID=40 04:31:24 Running ssh-add (command line suppressed) 04:31:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4594714549079002893.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4594714549079002893.key) 04:31:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:24 + git semver bump pre 04:31:24 2022-06-07 04:31:24,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:24 2022-06-07 04:31:24,633 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev 04:31:24 2022-06-07 04:31:24,633 [bump_version] DEBUG bumped version:2.2.1-dev.5 04:31:24 2022-06-07 04:31:24,633 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:31:24 2022-06-07 04:31:24,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:24 2022-06-07 04:31:24,633 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:24 2022-06-07 04:31:24,635 [execute] INFO git cat-file --batch-check 04:31:24 2022-06-07 04:31:24,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:31:24 2022-06-07 04:31:24,640 [execute] INFO git cat-file --batch 04:31:24 2022-06-07 04:31:24,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:31:24 2022-06-07 04:31:24,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:24 2.2.1-dev.5 [Pipeline] } 04:31:24 $ docker exec --env ******** --env ******** 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c ssh-agent -k 04:31:24 unset SSH_AUTH_SOCK; 04:31:24 unset SSH_AGENT_PID; 04:31:24 echo Agent pid 40 killed; 04:31:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:25 + git semver [Pipeline] } 04:31:25 $ docker stop --time=1 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c 04:31:26 $ docker rm -f 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c [Pipeline] // withDockerContainer [Pipeline] sh 04:31:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:31:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:31:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:27 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:31:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:31:27 $ docker top 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:31:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:27 [ssh-agent] Looking for ssh-agent implementation... 04:31:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:28 $ docker exec 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d ssh-agent 04:31:28 SSH_AUTH_SOCK=/tmp/ssh-GTbpapRRknax/agent.33 04:31:28 SSH_AGENT_PID=39 04:31:28 Running ssh-add (command line suppressed) 04:31:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1240731344934670694.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1240731344934670694.key) 04:31:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:28 + git semver push 04:31:28 2022-06-07 04:31:28,831 [run_push] DEBUG push 04:31:28 2022-06-07 04:31:28,832 [execute] INFO git cat-file --batch-check 04:31:28 2022-06-07 04:31:28,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:31:28 2022-06-07 04:31:28,835 [execute] INFO git rev-list 3e8767c578dd2bf149c49f26bf961dab5d839a50 -- 04:31:28 2022-06-07 04:31:28,836 [execute] DEBUG Popen(['git', 'rev-list', '3e8767c578dd2bf149c49f26bf961dab5d839a50', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:31:28 2022-06-07 04:31:28,845 [execute] INFO git fetch -v origin 04:31:28 2022-06-07 04:31:28,846 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:31:29 2022-06-07 04:31:29,329 [run_push] DEBUG no remote changes detected 04:31:29 2022-06-07 04:31:29,329 [execute] INFO git push origin semver 04:31:29 2022-06-07 04:31:29,329 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:31:30 2022-06-07 04:31:30,006 [run_push] DEBUG push all version tags 04:31:30 2022-06-07 04:31:30,007 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:31:30 2022-06-07 04:31:30,007 [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) 04:31:31 2022-06-07 04:31:30,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:31 2.2.1-dev.5 [Pipeline] } 04:31:31 $ docker exec --env ******** --env ******** 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d ssh-agent -k 04:31:31 unset SSH_AUTH_SOCK; 04:31:31 unset SSH_AGENT_PID; 04:31:31 echo Agent pid 39 killed; 04:31:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:31 + git semver [Pipeline] } 04:31:31 $ docker stop --time=1 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d 04:31:33 $ docker rm -f 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d [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 04:31:33 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:31:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:31:33 total 16 04:31:33 drwxr-xr-x 3 root root 4096 Jun 7 04:20 . 04:31:33 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:31 .. 04:31:33 drwxr-xr-x 2 root root 4096 Jun 7 04:20 cost 04:31:33 -rw-r--r-- 1 root root 83 Jun 7 04:20 cost.csv 04:31:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:31:33 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:31:33 total 16 04:31:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:20 . 04:31:33 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:31 .. 04:31:33 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 04:20 cost 04:31:33 -rw-r--r-- 1 jenkins jenkins 83 Jun 7 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:31:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:31:34 ---> package-listing.sh 04:31:34 ++ facter osfamily 04:31:34 ++ tr '[:upper:]' '[:lower:]' 04:31:35 + OS_FAMILY=debian 04:31:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:31:35 + START_PACKAGES=/tmp/packages_start.txt 04:31:35 + END_PACKAGES=/tmp/packages_end.txt 04:31:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:31:35 + PACKAGES=/tmp/packages_start.txt 04:31:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:31:35 + PACKAGES=/tmp/packages_end.txt 04:31:35 + case "${OS_FAMILY}" in 04:31:35 + dpkg -l 04:31:35 + grep '^ii' 04:31:35 + '[' -f /tmp/packages_start.txt ']' 04:31:35 + '[' -f /tmp/packages_end.txt ']' 04:31:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:31:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:31:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:31:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:31:35 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 04:31:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:35 prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container 04:31:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:31:36 $ docker top d714c952c1533416b9e8eeb368c19fdb4e4afb04fd32523409cad35bd109050f -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:36 + touch /tmp/pre-build-complete [Pipeline] sh 04:31:36 + mkdir -p /var/log/sysstat [Pipeline] sh 04:31:37 + ls /var/log/sa-host 04:31:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:37 provisioning config files... 04:31:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6140711492410558475tmp [Pipeline] { [Pipeline] echo 04:31:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:31:37 ---> create-netrc.sh [Pipeline] } 04:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:31:37 ---> python-tools-install.sh [Pipeline] echo 04:31:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:31:38 ---> sudo-logs.sh 04:31:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:31:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:31:38 ---> job-cost.sh 04:31:38 lf-activate-venv: SKIPPING 04:31:38 DEBUG: total: 0.2199999988079071 04:31:38 INFO: Retrieving Stack Cost... 04:31:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:31:39 INFO: Archiving Costs [Pipeline] echo 04:31:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:31:39 ---> logs-deploy.sh 04:31:39 lf-activate-venv: SKIPPING 04:31:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/79 04:31:39 INFO: archiving workspace using pattern(s): 04:31:40 Archives upload complete. 04:31:40 INFO: archiving logs to Nexus