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 [2022-06-07T04:18:48.441Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T04:18:48.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T04:18:48.521Z] ========================================================= [2022-06-07T04:18:48.521Z] EdgeX Global Pipelines Version Info [2022-06-07T04:18:48.521Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:18:49.288Z] ------------------- [2022-06-07T04:18:49.288Z] stable info: [2022-06-07T04:18:49.288Z] ------------------- [2022-06-07T04:18:49.288Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T04:18:49.288Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T04:18:49.288Z] Message: update stable to v1.0.232 [2022-06-07T04:18:49.860Z] ------------------- [2022-06-07T04:18:49.860Z] experimental info: [2022-06-07T04:18:49.860Z] ------------------- [2022-06-07T04:18:49.860Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T04:18:49.860Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T04:18:49.860Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T04:18:50.089Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-07T04:18:50.103Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-07T04:18:50.115Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T04:18:50.127Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T04:18:50.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T04:18:50.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T04:18:50.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T04:18:50.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-07T04:18:50.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T04:18:50.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T04:18:50.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T04:18:50.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-07T04:18:50.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T04:18:50.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T04:18:50.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T04:18:50.302Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:18:50.318Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:18:50.334Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T04:18:50.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T04:18:50.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T04:18:50.377Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-07T04:18:50.399Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-07T04:18:50.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T04:18:50.430Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T04:18:50.446Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T04:18:50.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T04:18:50.474Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T04:18:50.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-07T04:18:50.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-07T04:18:50.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-07T04:18:50.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo [2022-06-07T04:18:50.545Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6d939e [Pipeline] echo [2022-06-07T04:18:50.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:18:50.611Z] provisioning config files... [2022-06-07T04:18:50.629Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3011885215949300436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:18:50.975Z] ---> docker-login.sh [2022-06-07T04:18:50.975Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:18:51.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:18:51.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:18:51.236Z] Configure a credential helper to remove this warning. See [2022-06-07T04:18:51.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:18:51.236Z] [2022-06-07T04:18:51.236Z] Login Succeeded [2022-06-07T04:18:51.236Z] nexus3.edgexfoundry.org:10002 [2022-06-07T04:18:51.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:18:51.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:18:51.497Z] Configure a credential helper to remove this warning. See [2022-06-07T04:18:51.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:18:51.497Z] [2022-06-07T04:18:51.497Z] Login Succeeded [2022-06-07T04:18:51.497Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:18:51.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:18:51.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:18:51.497Z] Configure a credential helper to remove this warning. See [2022-06-07T04:18:51.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:18:51.497Z] [2022-06-07T04:18:51.497Z] Login Succeeded [2022-06-07T04:18:51.497Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:18:51.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:18:51.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:18:51.758Z] Configure a credential helper to remove this warning. See [2022-06-07T04:18:51.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:18:51.758Z] [2022-06-07T04:18:51.758Z] Login Succeeded [2022-06-07T04:18:51.758Z] docker.io [2022-06-07T04:18:51.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:18:52.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:18:52.332Z] Configure a credential helper to remove this warning. See [2022-06-07T04:18:52.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:18:52.332Z] [2022-06-07T04:18:52.332Z] Login Succeeded [2022-06-07T04:18:52.332Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:18:52.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T04:18:52.733Z] + git rev-list -1 --merges f6d939e94ec53612eabda502d541349231dbf6bf~1..f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo [2022-06-07T04:18:52.764Z] -----------> git rev-list -1 --merges f6d939e94ec53612eabda502d541349231dbf6bf~1..f6d939e94ec53612eabda502d541349231dbf6bf f6d939e94ec53612eabda502d541349231dbf6bf [2022-06-07T04:18:52.764Z] f6d939e94ec53612eabda502d541349231dbf6bf [false] [Pipeline] sh [2022-06-07T04:18:53.066Z] + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo [2022-06-07T04:18:53.081Z] ========================================================= [2022-06-07T04:18:53.081Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T04:18:53.081Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T04:18:53.421Z] + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] echo [2022-06-07T04:18:53.440Z] [semverPrep] GIT_COMMIT: f6d939e94ec53612eabda502d541349231dbf6bf, Commit Message: Merge pull request #1174 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo [2022-06-07T04:18:53.449Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T04:18:54.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T04:18:54.019Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T04:18:54.019Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T04:18:54.019Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T04:18:54.019Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T04:18:54.019Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T04:18:54.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:18:54.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:18:54.420Z] [2022-06-07T04:18:54.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:18:54.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:18:54.727Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T04:18:54.727Z] 42c077c10790: Pulling fs layer [2022-06-07T04:18:54.727Z] f63e77b7563a: Pulling fs layer [2022-06-07T04:18:54.727Z] bd5fdadae976: Pulling fs layer [2022-06-07T04:18:54.727Z] 205491f53016: Pulling fs layer [2022-06-07T04:18:54.727Z] df18705c85c3: Pulling fs layer [2022-06-07T04:18:54.727Z] bdb3f477010e: Pulling fs layer [2022-06-07T04:18:54.727Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T04:18:54.727Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T04:18:54.727Z] bdb8f0575790: Pulling fs layer [2022-06-07T04:18:54.727Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T04:18:54.727Z] 2343380bae48: Pulling fs layer [2022-06-07T04:18:54.727Z] c8a8fc8e1c8f: Waiting [2022-06-07T04:18:54.727Z] 205491f53016: Waiting [2022-06-07T04:18:54.727Z] 2c6e9b1d212d: Waiting [2022-06-07T04:18:54.727Z] bdb8f0575790: Waiting [2022-06-07T04:18:54.727Z] bdb3f477010e: Waiting [2022-06-07T04:18:54.727Z] df18705c85c3: Waiting [2022-06-07T04:18:54.727Z] 386e3cb2ff24: Waiting [2022-06-07T04:18:54.727Z] f63e77b7563a: Verifying Checksum [2022-06-07T04:18:54.727Z] f63e77b7563a: Download complete [2022-06-07T04:18:54.727Z] 205491f53016: Download complete [2022-06-07T04:18:54.727Z] df18705c85c3: Verifying Checksum [2022-06-07T04:18:54.727Z] df18705c85c3: Download complete [2022-06-07T04:18:54.987Z] bdb3f477010e: Download complete [2022-06-07T04:18:54.987Z] bd5fdadae976: Verifying Checksum [2022-06-07T04:18:54.987Z] bd5fdadae976: Download complete [2022-06-07T04:18:54.987Z] 2c6e9b1d212d: Verifying Checksum [2022-06-07T04:18:54.987Z] 2c6e9b1d212d: Download complete [2022-06-07T04:18:54.987Z] bdb8f0575790: Verifying Checksum [2022-06-07T04:18:54.987Z] bdb8f0575790: Download complete [2022-06-07T04:18:54.987Z] 386e3cb2ff24: Download complete [2022-06-07T04:18:54.987Z] 2343380bae48: Verifying Checksum [2022-06-07T04:18:54.987Z] 2343380bae48: Download complete [2022-06-07T04:18:54.987Z] 42c077c10790: Verifying Checksum [2022-06-07T04:18:54.987Z] 42c077c10790: Download complete [2022-06-07T04:18:55.255Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T04:18:55.255Z] c8a8fc8e1c8f: Download complete [2022-06-07T04:18:56.195Z] 42c077c10790: Pull complete [2022-06-07T04:18:56.455Z] f63e77b7563a: Pull complete [2022-06-07T04:18:57.028Z] bd5fdadae976: Pull complete [2022-06-07T04:18:57.028Z] 205491f53016: Pull complete [2022-06-07T04:18:57.289Z] df18705c85c3: Pull complete [2022-06-07T04:18:57.289Z] bdb3f477010e: Pull complete [2022-06-07T04:18:59.201Z] c8a8fc8e1c8f: Pull complete [2022-06-07T04:18:59.201Z] 2c6e9b1d212d: Pull complete [2022-06-07T04:18:59.201Z] bdb8f0575790: Pull complete [2022-06-07T04:18:59.201Z] 386e3cb2ff24: Pull complete [2022-06-07T04:18:59.201Z] 2343380bae48: Pull complete [2022-06-07T04:18:59.201Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T04:18:59.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:18:59.201Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:18:59.304Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:18:59.346Z] $ 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 [2022-06-07T04:19:00.679Z] $ docker top 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf -eo pid,comm [2022-06-07T04:19:00.738Z] 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). [2022-06-07T04:19:00.738Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T04:19:00.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:19:00.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:19:00.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:19:00.908Z] $ docker exec 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent [2022-06-07T04:19:01.021Z] SSH_AUTH_SOCK=/tmp/ssh-TnekDbx8JKvk/agent.32 [2022-06-07T04:19:01.021Z] SSH_AGENT_PID=38 [2022-06-07T04:19:01.028Z] Running ssh-add (command line suppressed) [2022-06-07T04:19:01.135Z] 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) [2022-06-07T04:19:01.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:19:01.439Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T04:19:01.467Z] $ docker exec --env ******** --env ******** 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent -k [2022-06-07T04:19:01.566Z] unset SSH_AUTH_SOCK; [2022-06-07T04:19:01.566Z] unset SSH_AGENT_PID; [2022-06-07T04:19:01.567Z] echo Agent pid 38 killed; [2022-06-07T04:19:01.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T04:19:01.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:19:01.598Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:19:01.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:19:01.721Z] $ docker exec 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent [2022-06-07T04:19:01.830Z] SSH_AUTH_SOCK=/tmp/ssh-pfB0OMf62C4d/agent.70 [2022-06-07T04:19:01.830Z] SSH_AGENT_PID=76 [2022-06-07T04:19:01.836Z] Running ssh-add (command line suppressed) [2022-06-07T04:19:01.957Z] 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) [2022-06-07T04:19:01.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:19:02.262Z] + git semver init [2022-06-07T04:19:02.523Z] 2022-06-07 04:19:02,454 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T04:19:02.523Z] 2022-06-07 04:19:02,455 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-06-07T04:19:02.523Z] 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 [2022-06-07T04:19:02.523Z] 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) [2022-06-07T04:19:03.465Z] 2022-06-07 04:19:03,246 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-06-07T04:19:03.466Z] 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 [2022-06-07T04:19:03.466Z] 2022-06-07 04:19:03,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:19:03.466Z] 2022-06-07 04:19:03,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:19:03.466Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T04:19:03.483Z] $ docker exec --env ******** --env ******** 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf ssh-agent -k [2022-06-07T04:19:03.581Z] unset SSH_AUTH_SOCK; [2022-06-07T04:19:03.581Z] unset SSH_AGENT_PID; [2022-06-07T04:19:03.581Z] echo Agent pid 76 killed; [2022-06-07T04:19:03.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T04:19:03.898Z] + git semver [Pipeline] } [2022-06-07T04:19:04.177Z] $ docker stop --time=1 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf [2022-06-07T04:19:05.500Z] $ docker rm -f 196b5c54ec0317e731042733681ec5f260801982bfeaf8da21d6b93a2dfa42bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:19:05.846Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T04:19:06.097Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T04:19:06.101Z] [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 [2022-06-07T04:19:06.266Z] provisioning config files... [2022-06-07T04:19:06.277Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3112975487443017967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:19:06.582Z] ---> docker-login.sh [2022-06-07T04:19:06.583Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:19:06.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:19:06.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:19:06.583Z] Configure a credential helper to remove this warning. See [2022-06-07T04:19:06.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:19:06.583Z] [2022-06-07T04:19:06.583Z] Login Succeeded [2022-06-07T04:19:06.583Z] nexus3.edgexfoundry.org:10002 [2022-06-07T04:19:06.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:19:06.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:19:06.842Z] Configure a credential helper to remove this warning. See [2022-06-07T04:19:06.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:19:06.842Z] [2022-06-07T04:19:06.842Z] Login Succeeded [2022-06-07T04:19:06.842Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:19:06.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:19:06.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:19:06.842Z] Configure a credential helper to remove this warning. See [2022-06-07T04:19:06.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:19:06.842Z] [2022-06-07T04:19:06.842Z] Login Succeeded [2022-06-07T04:19:06.842Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:19:06.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:19:07.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:19:07.103Z] Configure a credential helper to remove this warning. See [2022-06-07T04:19:07.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:19:07.103Z] [2022-06-07T04:19:07.103Z] Login Succeeded [2022-06-07T04:19:07.103Z] docker.io [2022-06-07T04:19:07.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:19:07.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:19:07.362Z] Configure a credential helper to remove this warning. See [2022-06-07T04:19:07.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:19:07.362Z] [2022-06-07T04:19:07.362Z] Login Succeeded [2022-06-07T04:19:07.362Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:19:07.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T04:19:07.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T04:19:07.437Z] ========================================================= [2022-06-07T04:19:07.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T04:19:07.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:19:07.760Z] + 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 . [2022-06-07T04:19:07.760Z] Sending build context to Docker daemon 9.697MB [2022-06-07T04:19:07.760Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:19:07.760Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T04:19:07.760Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T04:19:07.760Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T04:19:07.760Z] 666ba61612fd: Pulling fs layer [2022-06-07T04:19:07.760Z] 8ed8ca486205: Pulling fs layer [2022-06-07T04:19:07.760Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T04:19:07.760Z] c516ae0d96e1: Pulling fs layer [2022-06-07T04:19:07.760Z] 684cea983483: Pulling fs layer [2022-06-07T04:19:07.760Z] dd3240ac7de5: Pulling fs layer [2022-06-07T04:19:07.760Z] b1e948a4e11c: Pulling fs layer [2022-06-07T04:19:07.760Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T04:19:07.760Z] 646ad004c059: Pulling fs layer [2022-06-07T04:19:07.760Z] c516ae0d96e1: Waiting [2022-06-07T04:19:07.760Z] 684cea983483: Waiting [2022-06-07T04:19:07.760Z] dd3240ac7de5: Waiting [2022-06-07T04:19:07.760Z] b1e948a4e11c: Waiting [2022-06-07T04:19:07.760Z] a8fd76ee1af6: Waiting [2022-06-07T04:19:07.760Z] 646ad004c059: Waiting [2022-06-07T04:19:07.760Z] cc1cd167ecdc: Waiting [2022-06-07T04:19:07.760Z] 8ed8ca486205: Download complete [2022-06-07T04:19:07.760Z] 666ba61612fd: Verifying Checksum [2022-06-07T04:19:07.760Z] 666ba61612fd: Download complete [2022-06-07T04:19:07.760Z] c516ae0d96e1: Verifying Checksum [2022-06-07T04:19:07.760Z] c516ae0d96e1: Download complete [2022-06-07T04:19:08.020Z] 684cea983483: Download complete [2022-06-07T04:19:08.020Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T04:19:08.020Z] 59bf1c3509f3: Download complete [2022-06-07T04:19:08.020Z] dd3240ac7de5: Verifying Checksum [2022-06-07T04:19:08.020Z] dd3240ac7de5: Download complete [2022-06-07T04:19:08.020Z] b1e948a4e11c: Verifying Checksum [2022-06-07T04:19:08.020Z] b1e948a4e11c: Download complete [2022-06-07T04:19:08.020Z] 59bf1c3509f3: Pull complete [2022-06-07T04:19:08.020Z] 666ba61612fd: Pull complete [2022-06-07T04:19:08.279Z] 8ed8ca486205: Pull complete [2022-06-07T04:19:08.847Z] 646ad004c059: Verifying Checksum [2022-06-07T04:19:08.847Z] 646ad004c059: Download complete [2022-06-07T04:19:08.847Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T04:19:08.847Z] a8fd76ee1af6: Download complete [2022-06-07T04:19:08.847Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T04:19:08.847Z] cc1cd167ecdc: Download complete [2022-06-07T04:19:12.134Z] cc1cd167ecdc: Pull complete [2022-06-07T04:19:12.393Z] c516ae0d96e1: Pull complete [2022-06-07T04:19:12.393Z] 684cea983483: Pull complete [2022-06-07T04:19:12.393Z] dd3240ac7de5: Pull complete [2022-06-07T04:19:12.393Z] b1e948a4e11c: Pull complete [2022-06-07T04:19:14.294Z] a8fd76ee1af6: Pull complete [2022-06-07T04:19:15.229Z] 646ad004c059: Pull complete [2022-06-07T04:19:15.229Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T04:19:15.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T04:19:15.229Z] ---> 8f69c11f6b0c [2022-06-07T04:19:15.229Z] Step 3/11 : ARG MAKE=make build [2022-06-07T04:19:16.612Z] ---> Running in 53281c525054 [2022-06-07T04:19:16.873Z] Removing intermediate container 53281c525054 [2022-06-07T04:19:16.873Z] ---> 1c5b2d7b0dd4 [2022-06-07T04:19:16.873Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-07T04:19:16.873Z] ---> Running in 27134b5f2998 [2022-06-07T04:19:16.873Z] Removing intermediate container 27134b5f2998 [2022-06-07T04:19:16.873Z] ---> 38076d3ecf64 [2022-06-07T04:19:16.873Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:19:16.873Z] ---> Running in 198fe9fd3294 [2022-06-07T04:19:17.133Z] Removing intermediate container 198fe9fd3294 [2022-06-07T04:19:17.133Z] ---> 4b456827d870 [2022-06-07T04:19:17.133Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:19:17.133Z] ---> Running in 5ac7fbba335e [2022-06-07T04:19:17.705Z] Removing intermediate container 5ac7fbba335e [2022-06-07T04:19:17.705Z] ---> 7741cef797e3 [2022-06-07T04:19:17.705Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:19:17.705Z] ---> Running in 10e5e4869ace [2022-06-07T04:19:17.966Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T04:19:18.908Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T04:19:18.908Z] OK: 221 MiB in 52 packages [2022-06-07T04:19:19.480Z] Removing intermediate container 10e5e4869ace [2022-06-07T04:19:19.481Z] ---> b9ed18b745b3 [2022-06-07T04:19:19.481Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-07T04:19:19.481Z] ---> 1bb345678587 [2022-06-07T04:19:19.481Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:19:19.481Z] ---> Running in d34d0c301782 [2022-06-07T04:19:21.215Z] Still waiting to schedule task [2022-06-07T04:19:21.215Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-07T04:19:31.713Z] Removing intermediate container d34d0c301782 [2022-06-07T04:19:31.713Z] ---> ed274a343439 [2022-06-07T04:19:31.713Z] Step 10/11 : COPY . . [2022-06-07T04:19:31.713Z] ---> dc00c3a95b01 [2022-06-07T04:19:31.713Z] Step 11/11 : RUN ${MAKE} [2022-06-07T04:19:31.713Z] ---> Running in 297a134f62d2 [2022-06-07T04:19:31.713Z] noop [2022-06-07T04:19:32.284Z] Removing intermediate container 297a134f62d2 [2022-06-07T04:19:32.284Z] ---> 5a1e468edb98 [2022-06-07T04:19:32.284Z] Successfully built 5a1e468edb98 [2022-06-07T04:19:32.284Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:19:32.612Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T04:19:32.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:19:32.699Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:19:32.741Z] $ 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 [2022-06-07T04:19:33.115Z] $ docker top aa4c5d063ece3683ed0229a33ba30448f9a6ff3aabe1831e78aae6f246819f9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T04:19:33.469Z] + go version [2022-06-07T04:19:33.470Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T04:19:33.491Z] $ docker stop --time=1 aa4c5d063ece3683ed0229a33ba30448f9a6ff3aabe1831e78aae6f246819f9a [2022-06-07T04:19:34.809Z] $ 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 [2022-06-07T04:19:35.238Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T04:19:35.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:19:35.329Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:19:35.441Z] $ 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 [2022-06-07T04:19:35.824Z] $ docker top 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T04:19:36.189Z] + make test [2022-06-07T04:19:36.189Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-07T04:19:41.464Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.6% of statements [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 10.8% of statements [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 60.0% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 85.4% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.813s coverage: 89.2% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-07T04:19:53.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-06-07T04:19:53.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-07T04:20:08.567Z] GO111MODULE=on go vet ./... [2022-06-07T04:20:11.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T04:20:11.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T04:20:11.104Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T04:20:11.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T04:20:11.708Z] $ docker stop --time=1 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c [2022-06-07T04:20:13.804Z] $ docker rm -f 2ee6904780c53c005d0342801d6a7e4e5907694ca3f05f123e1c923ede77617c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:20:14.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T04:20:14.348Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T04:20:15.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T04:20:15.288Z] + ls -al . [2022-06-07T04:20:15.289Z] total 300 [2022-06-07T04:20:15.289Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 04:20 . [2022-06-07T04:20:15.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:18 .. [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:18 .dockerignore [2022-06-07T04:20:15.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:19 .git [2022-06-07T04:20:15.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:18 .github [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:18 .gitignore [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:18 .golangci.yml [2022-06-07T04:20:15.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:19 .semver [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:18 CHANGELOG.md [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:18 GOVERNANCE.md [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:18 Jenkinsfile [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:18 LICENSE [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:18 Makefile [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:18 OWNERS.md [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:18 README.md [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 04:19 VERSION [2022-06-07T04:20:15.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:18 bin [2022-06-07T04:20:15.289Z] -rw-r--r-- 1 jenkins jenkins 131011 Jun 7 04:19 coverage.out [2022-06-07T04:20:15.289Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:18 example [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:18 go.mod [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:18 go.sum [2022-06-07T04:20:15.289Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:18 internal [2022-06-07T04:20:15.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:18 openapi [2022-06-07T04:20:15.289Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:18 pkg [2022-06-07T04:20:15.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:18 snap [2022-06-07T04:20:15.289Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:20:15.604Z] + 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 . [2022-06-07T04:20:15.604Z] Sending build context to Docker daemon 9.828MB [2022-06-07T04:20:15.604Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:20:15.604Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T04:20:15.604Z] ---> 5a1e468edb98 [2022-06-07T04:20:15.604Z] Step 3/25 : ARG MAKE=make build [2022-06-07T04:20:15.604Z] ---> Running in 889fb69f038e [2022-06-07T04:20:15.864Z] Removing intermediate container 889fb69f038e [2022-06-07T04:20:15.864Z] ---> 560654aa63d0 [2022-06-07T04:20:15.864Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-07T04:20:15.864Z] ---> Running in d783398ad99a [2022-06-07T04:20:15.864Z] Removing intermediate container d783398ad99a [2022-06-07T04:20:15.864Z] ---> 7daa47e1af7b [2022-06-07T04:20:15.864Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:20:15.864Z] ---> Running in 096c2e859ab1 [2022-06-07T04:20:16.122Z] Removing intermediate container 096c2e859ab1 [2022-06-07T04:20:16.122Z] ---> a5817daa2ff7 [2022-06-07T04:20:16.122Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:20:16.122Z] ---> Running in 7a6087fbe90d [2022-06-07T04:20:16.692Z] Removing intermediate container 7a6087fbe90d [2022-06-07T04:20:16.692Z] ---> 0d2a86c5fbc3 [2022-06-07T04:20:16.692Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:20:16.692Z] ---> Running in 15bae45a293a [2022-06-07T04:20:16.953Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T04:20:17.892Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T04:20:18.151Z] OK: 221 MiB in 52 packages [2022-06-07T04:20:18.410Z] Removing intermediate container 15bae45a293a [2022-06-07T04:20:18.410Z] ---> 88c0d5bf1a77 [2022-06-07T04:20:18.410Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-07T04:20:18.410Z] ---> 73dfe900dd1e [2022-06-07T04:20:18.410Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:20:18.410Z] ---> Running in e1aa1f5d17f1 [2022-06-07T04:20:18.981Z] Removing intermediate container e1aa1f5d17f1 [2022-06-07T04:20:18.981Z] ---> 5332f62de223 [2022-06-07T04:20:18.981Z] Step 10/25 : COPY . . [2022-06-07T04:20:19.550Z] ---> cc547277d41f [2022-06-07T04:20:19.550Z] Step 11/25 : RUN ${MAKE} [2022-06-07T04:20:19.550Z] ---> Running in c47665933e47 [2022-06-07T04:20:19.809Z] 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 [2022-06-07T04:20:37.911Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-07T04:20:37.911Z] Removing intermediate container c47665933e47 [2022-06-07T04:20:37.911Z] ---> a5c010354b21 [2022-06-07T04:20:37.911Z] Step 12/25 : FROM alpine:3.14 [2022-06-07T04:20:38.170Z] 3.14: Pulling from library/alpine [2022-06-07T04:20:38.429Z] 8663204ce13b: Pulling fs layer [2022-06-07T04:20:38.429Z] 8663204ce13b: Verifying Checksum [2022-06-07T04:20:38.429Z] 8663204ce13b: Download complete [2022-06-07T04:20:38.692Z] 8663204ce13b: Pull complete [2022-06-07T04:20:38.692Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T04:20:38.692Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T04:20:38.692Z] ---> e04c818066af [2022-06-07T04:20:38.692Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:20:38.692Z] ---> Running in 1b6123994dfb [2022-06-07T04:20:38.692Z] Removing intermediate container 1b6123994dfb [2022-06-07T04:20:38.692Z] ---> 3393f7b73473 [2022-06-07T04:20:38.692Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:20:38.952Z] ---> Running in 25be65548b4c [2022-06-07T04:20:39.522Z] Removing intermediate container 25be65548b4c [2022-06-07T04:20:39.522Z] ---> 917fd39ee0d3 [2022-06-07T04:20:39.522Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-07T04:20:39.522Z] ---> Running in c6d95eb466e5 [2022-06-07T04:20:39.785Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T04:20:40.728Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T04:20:40.989Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T04:20:40.989Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-07T04:20:40.989Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T04:20:41.249Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-07T04:20:41.249Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-07T04:20:41.249Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T04:20:41.249Z] OK: 8 MiB in 19 packages [2022-06-07T04:20:41.822Z] Removing intermediate container c6d95eb466e5 [2022-06-07T04:20:41.822Z] ---> 0562006a0813 [2022-06-07T04:20:41.822Z] Step 16/25 : WORKDIR / [2022-06-07T04:20:41.822Z] ---> Running in f1f0be754b03 [2022-06-07T04:20:41.822Z] Removing intermediate container f1f0be754b03 [2022-06-07T04:20:41.822Z] ---> 03c4681faed9 [2022-06-07T04:20:41.822Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-07T04:20:42.083Z] ---> 725f2337b650 [2022-06-07T04:20:42.083Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-07T04:20:42.656Z] ---> 3dd3011beee5 [2022-06-07T04:20:42.656Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-07T04:20:42.656Z] ---> e6a3b53fabb6 [2022-06-07T04:20:42.656Z] Step 20/25 : EXPOSE 59999 [2022-06-07T04:20:42.917Z] ---> Running in c682c83dec3b [2022-06-07T04:20:42.917Z] Removing intermediate container c682c83dec3b [2022-06-07T04:20:42.917Z] ---> 12c17058688b [2022-06-07T04:20:42.917Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-07T04:20:42.917Z] ---> Running in 3130fe76cb0e [2022-06-07T04:20:42.917Z] Removing intermediate container 3130fe76cb0e [2022-06-07T04:20:42.917Z] ---> bf6c56ec21b3 [2022-06-07T04:20:42.917Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T04:20:43.177Z] ---> Running in ed13389381ed [2022-06-07T04:20:43.177Z] Removing intermediate container ed13389381ed [2022-06-07T04:20:43.177Z] ---> eaba849d70f2 [2022-06-07T04:20:43.177Z] Step 23/25 : LABEL arch=amd64 [2022-06-07T04:20:43.177Z] ---> Running in b8b8a59b00cf [2022-06-07T04:20:43.177Z] Removing intermediate container b8b8a59b00cf [2022-06-07T04:20:43.177Z] ---> 4c628e60d9fd [2022-06-07T04:20:43.177Z] Step 24/25 : LABEL git_sha=f6d939e94ec53612eabda502d541349231dbf6bf [2022-06-07T04:20:43.177Z] ---> Running in da8159fe8bb3 [2022-06-07T04:20:43.437Z] Removing intermediate container da8159fe8bb3 [2022-06-07T04:20:43.437Z] ---> 01a10ba77889 [2022-06-07T04:20:43.437Z] Step 25/25 : LABEL version=2.2.1-dev.4 [2022-06-07T04:20:43.437Z] ---> Running in dce158753478 [2022-06-07T04:20:43.437Z] Removing intermediate container dce158753478 [2022-06-07T04:20:43.437Z] ---> 13e95381139e [2022-06-07T04:20:43.437Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T04:20:43.437Z] Successfully built 13e95381139e [2022-06-07T04:20:43.437Z] 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 [2022-06-07T04:20:43.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:20:43.910Z] [2022-06-07T04:20:43.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:20:44.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:20:44.221Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T04:20:44.221Z] 5eb5b503b376: Pulling fs layer [2022-06-07T04:20:44.221Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T04:20:44.221Z] ec43610c2a17: Pulling fs layer [2022-06-07T04:20:44.221Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T04:20:44.221Z] 33b1e0a273af: Pulling fs layer [2022-06-07T04:20:44.221Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T04:20:44.221Z] 2f39f015ded8: Pulling fs layer [2022-06-07T04:20:44.221Z] 3a2ae6a8a46f: Waiting [2022-06-07T04:20:44.221Z] 33b1e0a273af: Waiting [2022-06-07T04:20:44.221Z] 2f39f015ded8: Waiting [2022-06-07T04:20:44.221Z] 5c69ac0246d0: Download complete [2022-06-07T04:20:44.221Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T04:20:44.221Z] 3a2ae6a8a46f: Download complete [2022-06-07T04:20:44.221Z] 33b1e0a273af: Verifying Checksum [2022-06-07T04:20:44.221Z] 33b1e0a273af: Download complete [2022-06-07T04:20:44.221Z] ec43610c2a17: Verifying Checksum [2022-06-07T04:20:44.221Z] ec43610c2a17: Download complete [2022-06-07T04:20:44.221Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T04:20:44.221Z] 5d3b04190fa2: Download complete [2022-06-07T04:20:44.482Z] 5eb5b503b376: Verifying Checksum [2022-06-07T04:20:44.482Z] 5eb5b503b376: Download complete [2022-06-07T04:20:45.049Z] 2f39f015ded8: Download complete [2022-06-07T04:20:45.617Z] 5eb5b503b376: Pull complete [2022-06-07T04:20:45.617Z] 5c69ac0246d0: Pull complete [2022-06-07T04:20:46.187Z] ec43610c2a17: Pull complete [2022-06-07T04:20:46.187Z] 3a2ae6a8a46f: Pull complete [2022-06-07T04:20:46.445Z] 33b1e0a273af: Pull complete [2022-06-07T04:20:46.445Z] 5d3b04190fa2: Pull complete [2022-06-07T04:20:50.642Z] 2f39f015ded8: Pull complete [2022-06-07T04:20:50.642Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T04:20:50.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:20:50.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:20:50.733Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:20:50.772Z] $ 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 [2022-06-07T04:20:52.306Z] $ docker top e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:20:52.695Z] ---> job-cost.sh [2022-06-07T04:20:52.695Z] lf-activate-venv: SKIPPING [2022-06-07T04:20:52.695Z] INFO: No Stack... [2022-06-07T04:20:53.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T04:20:53.839Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T04:20:54.131Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-06-07T04:20:54.131Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T04:20:54.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [2022-06-07T04:20:54.150Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] did not exist. Created. [2022-06-07T04:20:54.150Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T04:20:54.454Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T04:20:54.483Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T04:20:54.490Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T04:20:54.515Z] $ docker stop --time=1 e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 [2022-06-07T04:20:55.669Z] $ docker rm -f e70a63407d118185a4288a1b55e0eb70568a651d71a716a72474652740dcc5c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T04:21:49.537Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1604 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-06-07T04:21:49.548Z] Running in /w/workspace/device-sdk-go/79 [Pipeline] { [Pipeline] checkout [2022-06-07T04:21:49.598Z] The recommended git tool is: git [2022-06-07T04:21:55.723Z] using credential edgex-jenkins-ssh [2022-06-07T04:21:55.754Z] Cloning the remote Git repository [2022-06-07T04:21:55.815Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-07T04:21:55.897Z] > git init /w/workspace/device-sdk-go/79 # timeout=10 [2022-06-07T04:21:56.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-07T04:21:56.068Z] > git --version # timeout=10 [2022-06-07T04:21:56.099Z] > git --version # 'git version 2.25.1' [2022-06-07T04:21:56.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T04:21:56.193Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T04:21:57.607Z] Avoid second fetch [2022-06-07T04:21:57.607Z] Checking out Revision f6d939e94ec53612eabda502d541349231dbf6bf (main) [2022-06-07T04:21:57.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-07T04:21:57.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T04:21:57.631Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T04:21:57.650Z] > git checkout -f f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 [2022-06-07T04:22:01.887Z] 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 [2022-06-07T04:22:02.734Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T04:22:02.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T04:22:02.734Z] Dload Upload Total Spent Left Speed [2022-06-07T04:22:02.734Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh [2022-06-07T04:22:03.471Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T04:22:03.881Z] + sudo tee /etc/docker/daemon.new [2022-06-07T04:22:03.881Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T04:22:03.881Z] { [2022-06-07T04:22:03.881Z] "registry-mirrors": [ [2022-06-07T04:22:03.881Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T04:22:03.881Z] ], [2022-06-07T04:22:03.881Z] "bip": "10.250.0.254/24", [2022-06-07T04:22:03.881Z] "hosts": [ [2022-06-07T04:22:03.881Z] "tcp://0.0.0.0:5555", [2022-06-07T04:22:03.881Z] "unix:///var/run/docker.sock" [2022-06-07T04:22:03.881Z] ], [2022-06-07T04:22:03.881Z] "mtu": 1458, [2022-06-07T04:22:03.881Z] "selinux-enabled": true, [2022-06-07T04:22:03.881Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T04:22:03.881Z] } [Pipeline] sh [2022-06-07T04:22:04.239Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T04:22:04.589Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:22:22.962Z] provisioning config files... [2022-06-07T04:22:22.993Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/79@tmp/config7568006525678826420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:22:23.373Z] ---> docker-login.sh [2022-06-07T04:22:23.373Z] nexus3.edgexfoundry.org:10001 [2022-06-07T04:22:23.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:22:24.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:22:24.254Z] Configure a credential helper to remove this warning. See [2022-06-07T04:22:24.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:22:24.254Z] [2022-06-07T04:22:24.254Z] Login Succeeded [2022-06-07T04:22:24.254Z] nexus3.edgexfoundry.org:10002 [2022-06-07T04:22:24.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:22:24.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:22:24.808Z] Configure a credential helper to remove this warning. See [2022-06-07T04:22:24.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:22:24.808Z] [2022-06-07T04:22:24.808Z] Login Succeeded [2022-06-07T04:22:24.808Z] nexus3.edgexfoundry.org:10003 [2022-06-07T04:22:25.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:22:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:22:25.367Z] Configure a credential helper to remove this warning. See [2022-06-07T04:22:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:22:25.367Z] [2022-06-07T04:22:25.367Z] Login Succeeded [2022-06-07T04:22:25.367Z] nexus3.edgexfoundry.org:10004 [2022-06-07T04:22:25.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:22:25.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:22:25.654Z] Configure a credential helper to remove this warning. See [2022-06-07T04:22:25.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:22:25.654Z] [2022-06-07T04:22:25.654Z] Login Succeeded [2022-06-07T04:22:25.654Z] docker.io [2022-06-07T04:22:26.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T04:22:26.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T04:22:26.527Z] Configure a credential helper to remove this warning. See [2022-06-07T04:22:26.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T04:22:26.527Z] [2022-06-07T04:22:26.527Z] Login Succeeded [2022-06-07T04:22:26.527Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T04:22:26.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T04:22:27.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T04:22:27.090Z] ========================================================= [2022-06-07T04:22:27.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T04:22:27.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:22:27.583Z] + 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 . [2022-06-07T04:22:27.860Z] Sending build context to Docker daemon 5.189MB [2022-06-07T04:22:27.860Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:22:27.860Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T04:22:28.140Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T04:22:28.140Z] 9b3977197b4f: Pulling fs layer [2022-06-07T04:22:28.140Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T04:22:28.140Z] 94645a83ff95: Pulling fs layer [2022-06-07T04:22:28.140Z] e6fb740bc735: Pulling fs layer [2022-06-07T04:22:28.140Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T04:22:28.140Z] 355e64cbe906: Pulling fs layer [2022-06-07T04:22:28.140Z] 63ab81a10011: Pulling fs layer [2022-06-07T04:22:28.140Z] 555d1d1c4555: Pulling fs layer [2022-06-07T04:22:28.140Z] 7d9057610161: Pulling fs layer [2022-06-07T04:22:28.140Z] 355e64cbe906: Waiting [2022-06-07T04:22:28.140Z] 63ab81a10011: Waiting [2022-06-07T04:22:28.140Z] e6fb740bc735: Waiting [2022-06-07T04:22:28.140Z] 555d1d1c4555: Waiting [2022-06-07T04:22:28.140Z] 3a77bd46dcc9: Waiting [2022-06-07T04:22:28.140Z] 7d9057610161: Waiting [2022-06-07T04:22:28.140Z] 94645a83ff95: Verifying Checksum [2022-06-07T04:22:28.140Z] 94645a83ff95: Download complete [2022-06-07T04:22:28.140Z] 1a89e8eeedd5: Download complete [2022-06-07T04:22:28.140Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T04:22:28.140Z] 3a77bd46dcc9: Download complete [2022-06-07T04:22:28.140Z] 355e64cbe906: Verifying Checksum [2022-06-07T04:22:28.140Z] 355e64cbe906: Download complete [2022-06-07T04:22:28.140Z] 9b3977197b4f: Verifying Checksum [2022-06-07T04:22:28.140Z] 9b3977197b4f: Download complete [2022-06-07T04:22:28.140Z] 63ab81a10011: Verifying Checksum [2022-06-07T04:22:28.140Z] 63ab81a10011: Download complete [2022-06-07T04:22:29.141Z] 9b3977197b4f: Pull complete [2022-06-07T04:22:29.141Z] 7d9057610161: Verifying Checksum [2022-06-07T04:22:29.141Z] 7d9057610161: Download complete [2022-06-07T04:22:29.746Z] 1a89e8eeedd5: Pull complete [2022-06-07T04:22:30.022Z] 94645a83ff95: Pull complete [2022-06-07T04:22:30.296Z] 555d1d1c4555: Verifying Checksum [2022-06-07T04:22:30.296Z] 555d1d1c4555: Download complete [2022-06-07T04:22:31.284Z] e6fb740bc735: Verifying Checksum [2022-06-07T04:22:31.284Z] e6fb740bc735: Download complete [2022-06-07T04:22:43.708Z] e6fb740bc735: Pull complete [2022-06-07T04:22:43.708Z] 3a77bd46dcc9: Pull complete [2022-06-07T04:22:43.708Z] 355e64cbe906: Pull complete [2022-06-07T04:22:43.708Z] 63ab81a10011: Pull complete [2022-06-07T04:22:50.425Z] 555d1d1c4555: Pull complete [2022-06-07T04:22:51.864Z] 7d9057610161: Pull complete [2022-06-07T04:22:51.864Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T04:22:51.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T04:22:51.864Z] ---> 819e984ddca1 [2022-06-07T04:22:51.864Z] Step 3/11 : ARG MAKE=make build [2022-06-07T04:22:52.856Z] ---> Running in e572b137ea56 [2022-06-07T04:22:53.130Z] Removing intermediate container e572b137ea56 [2022-06-07T04:22:53.130Z] ---> 23a474c4a358 [2022-06-07T04:22:53.130Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-07T04:22:53.130Z] ---> Running in 2e804a74f1da [2022-06-07T04:22:53.403Z] Removing intermediate container 2e804a74f1da [2022-06-07T04:22:53.403Z] ---> 1d24824b61db [2022-06-07T04:22:53.403Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:22:53.403Z] ---> Running in 17b075844186 [2022-06-07T04:22:53.679Z] Removing intermediate container 17b075844186 [2022-06-07T04:22:53.679Z] ---> 64d8c9f2cf29 [2022-06-07T04:22:53.679Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:22:53.954Z] ---> Running in 15ea5f661307 [2022-06-07T04:22:57.342Z] Removing intermediate container 15ea5f661307 [2022-06-07T04:22:57.342Z] ---> 41da2d0e5a94 [2022-06-07T04:22:57.342Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:22:57.342Z] ---> Running in 580d9a87e933 [2022-06-07T04:22:57.940Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:22:58.916Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:22:59.509Z] OK: 220 MiB in 52 packages [2022-06-07T04:23:00.497Z] Removing intermediate container 580d9a87e933 [2022-06-07T04:23:00.497Z] ---> 2c0362c7f2da [2022-06-07T04:23:00.497Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-07T04:23:00.772Z] ---> 6fc647fb997e [2022-06-07T04:23:00.773Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:23:01.066Z] ---> Running in 504b622e295d [2022-06-07T04:23:48.091Z] Removing intermediate container 504b622e295d [2022-06-07T04:23:48.091Z] ---> fa955053a43f [2022-06-07T04:23:48.091Z] Step 10/11 : COPY . . [2022-06-07T04:23:48.091Z] ---> 13d15fda26b0 [2022-06-07T04:23:48.091Z] Step 11/11 : RUN ${MAKE} [2022-06-07T04:23:48.091Z] ---> Running in 26a62b0da648 [2022-06-07T04:23:48.091Z] noop [2022-06-07T04:23:48.091Z] Removing intermediate container 26a62b0da648 [2022-06-07T04:23:48.091Z] ---> 1bee04162fff [2022-06-07T04:23:48.091Z] Successfully built 1bee04162fff [2022-06-07T04:23:48.091Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:23:48.473Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T04:23:48.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:23:48.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container [2022-06-07T04:23:48.833Z] $ 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 [2022-06-07T04:23:50.081Z] $ docker top 0384c70ecce177a0eb9ba53191c7646c283273fddf07bf881fdea485607bad1a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T04:23:50.993Z] + go version [2022-06-07T04:23:50.993Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T04:23:51.028Z] $ docker stop --time=1 0384c70ecce177a0eb9ba53191c7646c283273fddf07bf881fdea485607bad1a [2022-06-07T04:23:52.722Z] $ 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 [2022-06-07T04:23:53.294Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T04:23:53.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:23:53.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container [2022-06-07T04:23:53.649Z] $ 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 [2022-06-07T04:23:54.925Z] $ docker top f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T04:23:55.802Z] + make test [2022-06-07T04:23:55.802Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-07T04:24:22.611Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-07T04:25:59.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-07T04:25:59.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-07T04:25:59.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-07T04:26:07.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.487s coverage: 23.3% of statements [2022-06-07T04:26:07.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-07T04:26:07.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements [2022-06-07T04:26:07.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.405s coverage: 78.9% of statements [2022-06-07T04:26:07.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.317s coverage: 10.8% of statements [2022-06-07T04:26:11.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.401s coverage: 60.0% of statements [2022-06-07T04:26:11.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-07T04:26:11.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-07T04:26:13.931Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.393s coverage: 34.8% of statements [2022-06-07T04:26:13.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-07T04:26:15.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.282s coverage: 85.4% of statements [2022-06-07T04:26:15.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-07T04:26:15.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-07T04:26:15.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.500s coverage: 65.1% of statements [2022-06-07T04:26:18.798Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.125s coverage: 89.2% of statements [2022-06-07T04:26:18.798Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-07T04:26:20.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.232s coverage: 4.7% of statements [2022-06-07T04:26:20.770Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-07T04:26:21.369Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T04:26:21.369Z] GO111MODULE=on go vet ./... [2022-06-07T04:27:43.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T04:27:43.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T04:27:43.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T04:27:43.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T04:27:43.860Z] $ docker stop --time=1 f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d [2022-06-07T04:27:45.651Z] $ docker rm -f f55e3ecf13197bdff50c2967a03662190a369cf6e9c48214bb655f496045736d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:27:46.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T04:27:46.930Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T04:27:47.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T04:27:47.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T04:27:48.205Z] + ls -al . [2022-06-07T04:27:48.205Z] total 296 [2022-06-07T04:27:48.205Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 04:27 . [2022-06-07T04:27:48.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:21 .. [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:21 .dockerignore [2022-06-07T04:27:48.205Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:22 .git [2022-06-07T04:27:48.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:21 .github [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:21 .gitignore [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:21 .golangci.yml [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:21 CHANGELOG.md [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:21 GOVERNANCE.md [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:21 Jenkinsfile [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:21 LICENSE [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:21 Makefile [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:21 OWNERS.md [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:21 README.md [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 04:19 VERSION [2022-06-07T04:27:48.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:21 bin [2022-06-07T04:27:48.205Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 7 04:26 coverage.out [2022-06-07T04:27:48.205Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:21 example [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:21 go.mod [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:21 go.sum [2022-06-07T04:27:48.205Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:21 internal [2022-06-07T04:27:48.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:21 openapi [2022-06-07T04:27:48.205Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:21 pkg [2022-06-07T04:27:48.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:21 snap [2022-06-07T04:27:48.205Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:27:48.574Z] + 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 . [2022-06-07T04:27:48.857Z] Sending build context to Docker daemon 5.321MB [2022-06-07T04:27:48.857Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T04:27:48.857Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T04:27:48.857Z] ---> 1bee04162fff [2022-06-07T04:27:48.857Z] Step 3/25 : ARG MAKE=make build [2022-06-07T04:27:49.133Z] ---> Running in f2190db515ad [2022-06-07T04:27:49.410Z] Removing intermediate container f2190db515ad [2022-06-07T04:27:49.410Z] ---> 26f5d1b6a012 [2022-06-07T04:27:49.410Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-07T04:27:49.410Z] ---> Running in c0c94793fb62 [2022-06-07T04:27:49.686Z] Removing intermediate container c0c94793fb62 [2022-06-07T04:27:49.686Z] ---> 27776e5263fc [2022-06-07T04:27:49.686Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:27:49.686Z] ---> Running in 3c3234ede3b3 [2022-06-07T04:27:49.960Z] Removing intermediate container 3c3234ede3b3 [2022-06-07T04:27:49.960Z] ---> f35298360694 [2022-06-07T04:27:49.960Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:27:50.236Z] ---> Running in ca6bb28d2801 [2022-06-07T04:27:51.697Z] Removing intermediate container ca6bb28d2801 [2022-06-07T04:27:51.697Z] ---> 0ab7c091c841 [2022-06-07T04:27:51.697Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-07T04:27:51.697Z] ---> Running in 0c536e77b1b5 [2022-06-07T04:27:52.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:27:53.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:27:54.639Z] OK: 220 MiB in 52 packages [2022-06-07T04:27:55.236Z] Removing intermediate container 0c536e77b1b5 [2022-06-07T04:27:55.236Z] ---> 47c1d7ca72cf [2022-06-07T04:27:55.236Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-07T04:27:55.830Z] ---> 9ee63a518ea1 [2022-06-07T04:27:55.830Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T04:27:55.830Z] ---> Running in 916d19ffe237 [2022-06-07T04:27:57.806Z] Removing intermediate container 916d19ffe237 [2022-06-07T04:27:57.806Z] ---> dd2bd25d5bfc [2022-06-07T04:27:57.806Z] Step 10/25 : COPY . . [2022-06-07T04:27:58.784Z] ---> be931658601e [2022-06-07T04:27:58.784Z] Step 11/25 : RUN ${MAKE} [2022-06-07T04:27:58.784Z] ---> Running in 69908207dcff [2022-06-07T04:27:59.763Z] 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 [2022-06-07T04:29:51.643Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-07T04:29:54.269Z] Removing intermediate container 69908207dcff [2022-06-07T04:29:54.269Z] ---> f9b580948a7c [2022-06-07T04:29:54.269Z] Step 12/25 : FROM alpine:3.14 [2022-06-07T04:29:54.868Z] 3.14: Pulling from library/alpine [2022-06-07T04:29:55.143Z] 455c02918c45: Pulling fs layer [2022-06-07T04:29:55.143Z] 455c02918c45: Download complete [2022-06-07T04:29:55.751Z] 455c02918c45: Pull complete [2022-06-07T04:29:55.751Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T04:29:55.751Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T04:29:55.751Z] ---> ac73e934f311 [2022-06-07T04:29:55.751Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-07T04:29:56.027Z] ---> Running in 1d86de18ed15 [2022-06-07T04:29:56.302Z] Removing intermediate container 1d86de18ed15 [2022-06-07T04:29:56.302Z] ---> 1cc86d02f60c [2022-06-07T04:29:56.302Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T04:29:56.302Z] ---> Running in 1e4db3e69adb [2022-06-07T04:29:58.285Z] Removing intermediate container 1e4db3e69adb [2022-06-07T04:29:58.285Z] ---> ab7e4bae432e [2022-06-07T04:29:58.285Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-07T04:29:58.285Z] ---> Running in d6dd9413238d [2022-06-07T04:29:58.894Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T04:29:59.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T04:30:00.852Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T04:30:00.852Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-07T04:30:00.852Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T04:30:00.852Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-07T04:30:01.126Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-07T04:30:01.126Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T04:30:01.126Z] OK: 8 MiB in 19 packages [2022-06-07T04:30:02.122Z] Removing intermediate container d6dd9413238d [2022-06-07T04:30:02.122Z] ---> 4eb424728924 [2022-06-07T04:30:02.122Z] Step 16/25 : WORKDIR / [2022-06-07T04:30:02.122Z] ---> Running in cc4d874374f7 [2022-06-07T04:30:02.396Z] Removing intermediate container cc4d874374f7 [2022-06-07T04:30:02.396Z] ---> d585df6b42bf [2022-06-07T04:30:02.396Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-07T04:30:02.995Z] ---> a3bd0fce639d [2022-06-07T04:30:02.995Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-07T04:30:04.435Z] ---> da09dc2ec3d4 [2022-06-07T04:30:04.435Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-07T04:30:05.041Z] ---> 19365255f029 [2022-06-07T04:30:05.041Z] Step 20/25 : EXPOSE 59999 [2022-06-07T04:30:05.041Z] ---> Running in d017e4035e6a [2022-06-07T04:30:05.648Z] Removing intermediate container d017e4035e6a [2022-06-07T04:30:05.648Z] ---> bcd74176c0c5 [2022-06-07T04:30:05.648Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-07T04:30:05.648Z] ---> Running in 2b351968651a [2022-06-07T04:30:05.923Z] Removing intermediate container 2b351968651a [2022-06-07T04:30:05.923Z] ---> f39ede1d32ef [2022-06-07T04:30:05.923Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T04:30:05.923Z] ---> Running in 22b6445e119c [2022-06-07T04:30:06.199Z] Removing intermediate container 22b6445e119c [2022-06-07T04:30:06.199Z] ---> 11f6f81e32ae [2022-06-07T04:30:06.199Z] Step 23/25 : LABEL arch=arm64 [2022-06-07T04:30:06.199Z] ---> Running in 98aed60b381d [2022-06-07T04:30:06.482Z] Removing intermediate container 98aed60b381d [2022-06-07T04:30:06.482Z] ---> c95e881ebb4b [2022-06-07T04:30:06.482Z] Step 24/25 : LABEL git_sha=f6d939e94ec53612eabda502d541349231dbf6bf [2022-06-07T04:30:06.763Z] ---> Running in 89eaeed1f21f [2022-06-07T04:30:07.039Z] Removing intermediate container 89eaeed1f21f [2022-06-07T04:30:07.039Z] ---> 3ce6fba35b36 [2022-06-07T04:30:07.039Z] Step 25/25 : LABEL version=2.2.1-dev.4 [2022-06-07T04:30:07.039Z] ---> Running in 69bbea1f24bb [2022-06-07T04:30:07.315Z] Removing intermediate container 69bbea1f24bb [2022-06-07T04:30:07.315Z] ---> c9a1be4d5034 [2022-06-07T04:30:07.315Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T04:30:07.315Z] Successfully built c9a1be4d5034 [2022-06-07T04:30:07.315Z] 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 [2022-06-07T04:30:07.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:30:07.804Z] [2022-06-07T04:30:07.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:30:08.167Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:30:08.443Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T04:30:08.443Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T04:30:08.443Z] 04944245beec: Pulling fs layer [2022-06-07T04:30:08.443Z] 699f458cf7ca: Pulling fs layer [2022-06-07T04:30:08.443Z] 765212b225bb: Pulling fs layer [2022-06-07T04:30:08.443Z] f23df028b6ca: Pulling fs layer [2022-06-07T04:30:08.443Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T04:30:08.443Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T04:30:08.443Z] 765212b225bb: Waiting [2022-06-07T04:30:08.443Z] f23df028b6ca: Waiting [2022-06-07T04:30:08.443Z] d65c8cfc05b1: Waiting [2022-06-07T04:30:08.443Z] 2437ff75d9bd: Waiting [2022-06-07T04:30:08.443Z] 04944245beec: Verifying Checksum [2022-06-07T04:30:08.443Z] 04944245beec: Download complete [2022-06-07T04:30:08.443Z] 765212b225bb: Verifying Checksum [2022-06-07T04:30:08.443Z] 765212b225bb: Download complete [2022-06-07T04:30:08.443Z] f23df028b6ca: Download complete [2022-06-07T04:30:08.443Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T04:30:08.443Z] d65c8cfc05b1: Download complete [2022-06-07T04:30:08.722Z] 699f458cf7ca: Verifying Checksum [2022-06-07T04:30:08.722Z] 699f458cf7ca: Download complete [2022-06-07T04:30:09.000Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T04:30:09.000Z] 8998bd30e6a1: Download complete [2022-06-07T04:30:11.634Z] 2437ff75d9bd: Download complete [2022-06-07T04:30:13.087Z] 8998bd30e6a1: Pull complete [2022-06-07T04:30:13.685Z] 04944245beec: Pull complete [2022-06-07T04:30:15.133Z] 699f458cf7ca: Pull complete [2022-06-07T04:30:15.408Z] 765212b225bb: Pull complete [2022-06-07T04:30:16.391Z] f23df028b6ca: Pull complete [2022-06-07T04:30:16.668Z] d65c8cfc05b1: Pull complete [2022-06-07T04:30:31.784Z] 2437ff75d9bd: Pull complete [2022-06-07T04:30:31.784Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T04:30:31.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T04:30:31.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:30:32.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-1604 does not seem to be running inside a container [2022-06-07T04:30:32.140Z] $ 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 [2022-06-07T04:30:34.690Z] $ docker top 497666b9cecb73b348ed3de1a664e1a502f1ca4b89fc6efe88502b0debc3e0c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:30:35.605Z] ---> job-cost.sh [2022-06-07T04:30:35.605Z] lf-activate-venv: SKIPPING [2022-06-07T04:30:35.605Z] INFO: No Stack... [2022-06-07T04:30:35.877Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T04:30:36.857Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T04:30:37.523Z] + + cut -d, -f6 [2022-06-07T04:30:37.523Z] cat /w/workspace/device-sdk-go/79/archives/cost.csv [Pipeline] lock [2022-06-07T04:30:37.588Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [2022-06-07T04:30:37.594Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] did not exist. Created. [2022-06-07T04:30:37.594Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T04:30:38.279Z] /w/workspace/device-sdk-go/79@tmp/durable-736a6183/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T04:30:38.960Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T04:30:38.997Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T04:30:39.062Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T04:30:39.068Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T04:30:39.102Z] $ docker stop --time=1 497666b9cecb73b348ed3de1a664e1a502f1ca4b89fc6efe88502b0debc3e0c4 [2022-06-07T04:30:40.610Z] $ 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 [2022-06-07T04:30:41.102Z] provisioning config files... [2022-06-07T04:30:41.155Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config32508098141729594tmp [Pipeline] { [Pipeline] sh [2022-06-07T04:30:41.449Z] + set +x [2022-06-07T04:30:41.449Z] + curl -s https://codecov.io/bash [2022-06-07T04:30:41.449Z] + bash -s -- [2022-06-07T04:30:41.449Z] [2022-06-07T04:30:41.449Z] _____ _ [2022-06-07T04:30:41.449Z] / ____| | | [2022-06-07T04:30:41.449Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T04:30:41.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T04:30:41.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T04:30:41.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T04:30:41.449Z] Bash-1.0.6 [2022-06-07T04:30:41.449Z] [2022-06-07T04:30:41.449Z] [2022-06-07T04:30:41.449Z] ==> git version 2.25.1 found [2022-06-07T04:30:41.449Z] ==> 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 [2022-06-07T04:30:41.449Z] Release-Date: 2020-01-08 [2022-06-07T04:30:41.449Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T04:30:41.449Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T04:30:41.449Z] ==> Jenkins CI detected. [2022-06-07T04:30:41.449Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-06-07T04:30:41.449Z] project root: . [2022-06-07T04:30:41.449Z] --> token set from env [2022-06-07T04:30:41.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T04:30:41.449Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T04:30:41.449Z] ==> Python coveragepy not found [2022-06-07T04:30:41.449Z] ==> Searching for coverage reports in: [2022-06-07T04:30:41.449Z] + . [2022-06-07T04:30:41.449Z] -> Found 1 reports [2022-06-07T04:30:41.449Z] ==> Detecting git/mercurial file structure [2022-06-07T04:30:41.449Z] ==> Reading reports [2022-06-07T04:30:41.449Z] + ./coverage.out bytes=131010 [2022-06-07T04:30:41.449Z] ==> Appending adjustments [2022-06-07T04:30:41.449Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T04:30:41.708Z] + Found adjustments [2022-06-07T04:30:41.708Z] ==> Gzipping contents [2022-06-07T04:30:41.969Z] 20K /tmp/codecov.1Xuqdw.gz [2022-06-07T04:30:41.969Z] ==> Uploading reports [2022-06-07T04:30:41.969Z] url: https://codecov.io [2022-06-07T04:30:41.969Z] 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= [2022-06-07T04:30:41.969Z] -> Pinging Codecov [2022-06-07T04:30:41.969Z] 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= [2022-06-07T04:30:41.969Z] -> Uploading to [2022-06-07T04:30:41.969Z] 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 [2022-06-07T04:30:41.969Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T04:30:41.969Z] Dload Upload Total Spent Left Speed [2022-06-07T04:30:42.229Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16837 0 0 100 16837 0 72261 --:--:-- --:--:-- --:--:-- 72261 [2022-06-07T04:30:42.229Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] } [2022-06-07T04:30:42.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-07T04:30:42.464Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-07T04:30:42.478Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:30:42.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T04:30:42.789Z] [2022-06-07T04:30:42.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:30:43.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T04:30:43.104Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-07T04:30:43.104Z] df9b9388f04a: Pulling fs layer [2022-06-07T04:30:43.104Z] 52dc419b0ee2: Pulling fs layer [2022-06-07T04:30:43.104Z] 25bc292e5bac: Pulling fs layer [2022-06-07T04:30:43.104Z] 114826534d7a: Pulling fs layer [2022-06-07T04:30:43.104Z] 4657fd5d0bcf: Pulling fs layer [2022-06-07T04:30:43.104Z] 6ad1cebc031e: Pulling fs layer [2022-06-07T04:30:43.104Z] 8a3aa393b2d8: Pulling fs layer [2022-06-07T04:30:43.104Z] 114826534d7a: Waiting [2022-06-07T04:30:43.104Z] 4657fd5d0bcf: Waiting [2022-06-07T04:30:43.104Z] 6ad1cebc031e: Waiting [2022-06-07T04:30:43.104Z] 8a3aa393b2d8: Waiting [2022-06-07T04:30:43.104Z] 25bc292e5bac: Download complete [2022-06-07T04:30:43.104Z] 52dc419b0ee2: Download complete [2022-06-07T04:30:43.104Z] 4657fd5d0bcf: Verifying Checksum [2022-06-07T04:30:43.104Z] 4657fd5d0bcf: Download complete [2022-06-07T04:30:43.104Z] df9b9388f04a: Verifying Checksum [2022-06-07T04:30:43.104Z] df9b9388f04a: Download complete [2022-06-07T04:30:43.363Z] df9b9388f04a: Pull complete [2022-06-07T04:30:43.363Z] 6ad1cebc031e: Verifying Checksum [2022-06-07T04:30:43.363Z] 6ad1cebc031e: Download complete [2022-06-07T04:30:43.363Z] 52dc419b0ee2: Pull complete [2022-06-07T04:30:43.364Z] 25bc292e5bac: Pull complete [2022-06-07T04:30:43.932Z] 114826534d7a: Verifying Checksum [2022-06-07T04:30:43.932Z] 114826534d7a: Download complete [2022-06-07T04:30:43.932Z] 8a3aa393b2d8: Verifying Checksum [2022-06-07T04:30:43.932Z] 8a3aa393b2d8: Download complete [2022-06-07T04:30:47.218Z] 114826534d7a: Pull complete [2022-06-07T04:30:47.218Z] 4657fd5d0bcf: Pull complete [2022-06-07T04:30:47.476Z] 6ad1cebc031e: Pull complete [2022-06-07T04:30:50.763Z] 8a3aa393b2d8: Pull complete [2022-06-07T04:30:50.763Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-07T04:30:50.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T04:30:50.763Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:30:50.864Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:30:50.906Z] $ 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 [2022-06-07T04:30:52.656Z] $ docker top a4b777b61e64e8b72d242adba18c638f7bbb8daa591ceffcfb74a21b25e46911 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-07T04:30:52.733Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-06-07T04:30:53.014Z] + set -o pipefail [2022-06-07T04:30:53.014Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-06-07T04:30:58.293Z] [2022-06-07T04:30:58.293Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-06-07T04:30:58.293Z] [2022-06-07T04:30:58.293Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/523a2714-a66c-4b8c-be4f-96d29fa43697 [2022-06-07T04:30:58.293Z] [2022-06-07T04:30:58.293Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-07T04:30:58.293Z] [2022-06-07T04:30:58.293Z] [Pipeline] } [2022-06-07T04:30:58.310Z] $ docker stop --time=1 a4b777b61e64e8b72d242adba18c638f7bbb8daa591ceffcfb74a21b25e46911 [2022-06-07T04:31:00.362Z] $ 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 [2022-06-07T04:31:00.783Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:31:00.792Z] provisioning config files... [2022-06-07T04:31:00.801Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7151730679242559697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:01.103Z] --> edgex-publish-swagger.sh [2022-06-07T04:31:01.104Z] === Publish openapi/v2 API === [2022-06-07T04:31:01.104Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-06-07T04:31:01.104Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-06-07T04:31:01.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T04:31:01.104Z] Dload Upload Total Spent Left Speed [2022-06-07T04:31:01.675Z] 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 [2022-06-07T04:31:01.675Z] [2022-06-07T04:31:01.675Z] [Pipeline] } [2022-06-07T04:31:01.684Z] 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 [2022-06-07T04:31:02.128Z] + git log --format=format:%s -1 f6d939e94ec53612eabda502d541349231dbf6bf [Pipeline] sh [2022-06-07T04:31:02.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T04:31:02.426Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:02.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:31:02.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:31:02.816Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:31:02.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T04:31:03.300Z] $ docker top 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T04:31:03.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:31:03.402Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:31:03.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:31:03.539Z] $ docker exec 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c ssh-agent [2022-06-07T04:31:03.658Z] SSH_AUTH_SOCK=/tmp/ssh-ytMex1o2aDX3/agent.32 [2022-06-07T04:31:03.659Z] SSH_AGENT_PID=38 [2022-06-07T04:31:03.664Z] Running ssh-add (command line suppressed) [2022-06-07T04:31:03.786Z] 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) [2022-06-07T04:31:03.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:31:04.087Z] + git semver tag [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,288 [run_tag] DEBUG tag force:False [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,288 [check_head_tag] DEBUG check head tag [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,289 [execute] INFO git cat-file --batch-check [2022-06-07T04:31:04.348Z] 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=) [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,292 [execute] INFO git cat-file --batch [2022-06-07T04:31:04.348Z] 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=) [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,303 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 [2022-06-07T04:31:04.348Z] 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) [2022-06-07T04:31:04.348Z] 2022-06-07 04:31:04,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:04.348Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T04:31:04.364Z] $ docker exec --env ******** --env ******** 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c ssh-agent -k [2022-06-07T04:31:04.482Z] unset SSH_AUTH_SOCK; [2022-06-07T04:31:04.483Z] unset SSH_AGENT_PID; [2022-06-07T04:31:04.483Z] echo Agent pid 38 killed; [2022-06-07T04:31:04.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T04:31:04.799Z] + git semver [Pipeline] } [2022-06-07T04:31:05.079Z] $ docker stop --time=1 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c [2022-06-07T04:31:06.406Z] $ docker rm -f 059a7f66c449fc8f2d787a9d7085deb47799c6362f9d53cc4b87d8fccb1b314c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:06.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T04:31:06.790Z] [2022-06-07T04:31:06.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:07.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T04:31:07.159Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-07T04:31:07.159Z] ab5ef0e58194: Pulling fs layer [2022-06-07T04:31:07.159Z] 9712f1f96733: Pulling fs layer [2022-06-07T04:31:07.159Z] 63f879dbbcfc: Pulling fs layer [2022-06-07T04:31:07.159Z] 0d9ebad4ef96: Pulling fs layer [2022-06-07T04:31:07.159Z] e9a5061849ea: Pulling fs layer [2022-06-07T04:31:07.159Z] d747dcd14b5f: Pulling fs layer [2022-06-07T04:31:07.159Z] 2de7ff778b66: Pulling fs layer [2022-06-07T04:31:07.159Z] d747dcd14b5f: Waiting [2022-06-07T04:31:07.159Z] 2de7ff778b66: Waiting [2022-06-07T04:31:07.159Z] e9a5061849ea: Waiting [2022-06-07T04:31:07.159Z] 0d9ebad4ef96: Waiting [2022-06-07T04:31:07.159Z] 9712f1f96733: Verifying Checksum [2022-06-07T04:31:07.159Z] 9712f1f96733: Download complete [2022-06-07T04:31:07.427Z] 63f879dbbcfc: Verifying Checksum [2022-06-07T04:31:07.427Z] 63f879dbbcfc: Download complete [2022-06-07T04:31:07.690Z] e9a5061849ea: Verifying Checksum [2022-06-07T04:31:07.690Z] e9a5061849ea: Download complete [2022-06-07T04:31:07.690Z] 0d9ebad4ef96: Verifying Checksum [2022-06-07T04:31:07.690Z] 0d9ebad4ef96: Download complete [2022-06-07T04:31:07.690Z] d747dcd14b5f: Download complete [2022-06-07T04:31:07.690Z] ab5ef0e58194: Verifying Checksum [2022-06-07T04:31:07.690Z] ab5ef0e58194: Download complete [2022-06-07T04:31:07.951Z] 2de7ff778b66: Verifying Checksum [2022-06-07T04:31:07.951Z] 2de7ff778b66: Download complete [2022-06-07T04:31:11.240Z] ab5ef0e58194: Pull complete [2022-06-07T04:31:11.241Z] 9712f1f96733: Pull complete [2022-06-07T04:31:11.499Z] 63f879dbbcfc: Pull complete [2022-06-07T04:31:14.787Z] 0d9ebad4ef96: Pull complete [2022-06-07T04:31:15.047Z] e9a5061849ea: Pull complete [2022-06-07T04:31:15.047Z] d747dcd14b5f: Pull complete [2022-06-07T04:31:15.989Z] 2de7ff778b66: Pull complete [2022-06-07T04:31:15.989Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-07T04:31:15.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T04:31:15.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:31:16.081Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:31:16.117Z] $ 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 [2022-06-07T04:31:18.116Z] $ docker top a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:31:18.195Z] provisioning config files... [2022-06-07T04:31:18.203Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5327450685772112426tmp [2022-06-07T04:31:18.215Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7796050664300990633tmp [2022-06-07T04:31:18.226Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config332593745437894314tmp [Pipeline] { [Pipeline] echo [2022-06-07T04:31:18.242Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:18.525Z] ---> sigul-configuration.sh [2022-06-07T04:31:18.525Z] gpg: directory `/root/.gnupg' created [2022-06-07T04:31:18.525Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-07T04:31:18.525Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-07T04:31:18.525Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-07T04:31:18.525Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-07T04:31:18.525Z] gpg: CAST5 encrypted data [2022-06-07T04:31:18.525Z] gpg: encrypted with 1 passphrase [2022-06-07T04:31:18.525Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-07T04:31:18.809Z] + mkdir /home/jenkins [2022-06-07T04:31:18.809Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-07T04:31:19.097Z] + 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 [2022-06-07T04:31:19.106Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:19.394Z] ---> sigul-install.sh [2022-06-07T04:31:19.394Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-07T04:31:19.682Z] + git tag --list [2022-06-07T04:31:19.682Z] 0.7.1 [2022-06-07T04:31:19.682Z] delhi-tag [2022-06-07T04:31:19.682Z] v1.0.0 [2022-06-07T04:31:19.682Z] v1.1.0 [2022-06-07T04:31:19.682Z] v1.1.1 [2022-06-07T04:31:19.682Z] v1.1.2 [2022-06-07T04:31:19.682Z] v1.2.0 [2022-06-07T04:31:19.682Z] v1.2.1 [2022-06-07T04:31:19.682Z] v1.2.2 [2022-06-07T04:31:19.682Z] v1.2.3 [2022-06-07T04:31:19.682Z] v1.3.0 [2022-06-07T04:31:19.682Z] v1.4.0 [2022-06-07T04:31:19.682Z] v2.0.0 [2022-06-07T04:31:19.682Z] v2.1.0 [2022-06-07T04:31:19.682Z] v2.1.1 [2022-06-07T04:31:19.682Z] v2.1.1-dev.2 [2022-06-07T04:31:19.682Z] v2.1.1-dev.3 [2022-06-07T04:31:19.682Z] v2.2.0 [2022-06-07T04:31:19.682Z] v2.2.1-dev.1 [2022-06-07T04:31:19.682Z] v2.2.1-dev.2 [2022-06-07T04:31:19.682Z] v2.2.1-dev.3 [2022-06-07T04:31:19.682Z] v2.2.1-dev.4 [Pipeline] sh [2022-06-07T04:31:19.973Z] + lftools sign git-tag v2.2.1-dev.4 [2022-06-07T04:31:20.544Z] Signing Git tag with Sigul... [2022-06-07T04:31:20.544Z] Signing v2.2.1-dev.4 [Pipeline] echo [2022-06-07T04:31:20.815Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:21.101Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-07T04:31:21.110Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-07T04:31:21.138Z] $ docker stop --time=1 a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a [2022-06-07T04:31:22.411Z] $ docker rm -f a58be45c1a1e4e0a523edf3637417fcaa0369c85500c4e61d848377bd8dadc1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-07T04:31:22.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T04:31:22.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:23.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:31:23.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:31:23.259Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:31:23.299Z] $ 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 [2022-06-07T04:31:23.656Z] $ docker top 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T04:31:23.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:31:23.759Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:31:23.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:31:23.914Z] $ docker exec 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c ssh-agent [2022-06-07T04:31:24.024Z] SSH_AUTH_SOCK=/tmp/ssh-IAyJi6rQ7TY5/agent.34 [2022-06-07T04:31:24.024Z] SSH_AGENT_PID=40 [2022-06-07T04:31:24.030Z] Running ssh-add (command line suppressed) [2022-06-07T04:31:24.144Z] 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) [2022-06-07T04:31:24.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:31:24.446Z] + git semver bump pre [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,633 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,633 [bump_version] DEBUG bumped version:2.2.1-dev.5 [2022-06-07T04:31:24.707Z] 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 [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,633 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,635 [execute] INFO git cat-file --batch-check [2022-06-07T04:31:24.707Z] 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=) [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,640 [execute] INFO git cat-file --batch [2022-06-07T04:31:24.707Z] 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=) [2022-06-07T04:31:24.707Z] 2022-06-07 04:31:24,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:24.707Z] 2.2.1-dev.5 [Pipeline] } [2022-06-07T04:31:24.722Z] $ docker exec --env ******** --env ******** 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c ssh-agent -k [2022-06-07T04:31:24.830Z] unset SSH_AUTH_SOCK; [2022-06-07T04:31:24.830Z] unset SSH_AGENT_PID; [2022-06-07T04:31:24.830Z] echo Agent pid 40 killed; [2022-06-07T04:31:24.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T04:31:25.150Z] + git semver [Pipeline] } [2022-06-07T04:31:25.428Z] $ docker stop --time=1 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c [2022-06-07T04:31:26.735Z] $ docker rm -f 8f09a0dcb9319930dd2f101bf75dbf226920196bf9d9441f48c79b264cb0d11c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T04:31:27.085Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T04:31:27.085Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:27.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T04:31:27.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:31:27.464Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:31:27.500Z] $ 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 [2022-06-07T04:31:27.865Z] $ docker top 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T04:31:27.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T04:31:27.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T04:31:28.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T04:31:28.100Z] $ docker exec 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d ssh-agent [2022-06-07T04:31:28.239Z] SSH_AUTH_SOCK=/tmp/ssh-GTbpapRRknax/agent.33 [2022-06-07T04:31:28.239Z] SSH_AGENT_PID=39 [2022-06-07T04:31:28.243Z] Running ssh-add (command line suppressed) [2022-06-07T04:31:28.355Z] 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) [2022-06-07T04:31:28.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T04:31:28.654Z] + git semver push [2022-06-07T04:31:28.914Z] 2022-06-07 04:31:28,831 [run_push] DEBUG push [2022-06-07T04:31:28.914Z] 2022-06-07 04:31:28,832 [execute] INFO git cat-file --batch-check [2022-06-07T04:31:28.914Z] 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=) [2022-06-07T04:31:28.914Z] 2022-06-07 04:31:28,835 [execute] INFO git rev-list 3e8767c578dd2bf149c49f26bf961dab5d839a50 -- [2022-06-07T04:31:28.914Z] 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) [2022-06-07T04:31:28.914Z] 2022-06-07 04:31:28,845 [execute] INFO git fetch -v origin [2022-06-07T04:31:28.914Z] 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) [2022-06-07T04:31:29.485Z] 2022-06-07 04:31:29,329 [run_push] DEBUG no remote changes detected [2022-06-07T04:31:29.485Z] 2022-06-07 04:31:29,329 [execute] INFO git push origin semver [2022-06-07T04:31:29.485Z] 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) [2022-06-07T04:31:30.057Z] 2022-06-07 04:31:30,006 [run_push] DEBUG push all version tags [2022-06-07T04:31:30.057Z] 2022-06-07 04:31:30,007 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-07T04:31:30.057Z] 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) [2022-06-07T04:31:31.001Z] 2022-06-07 04:31:30,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-07T04:31:31.001Z] 2.2.1-dev.5 [Pipeline] } [2022-06-07T04:31:31.017Z] $ docker exec --env ******** --env ******** 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d ssh-agent -k [2022-06-07T04:31:31.129Z] unset SSH_AUTH_SOCK; [2022-06-07T04:31:31.129Z] unset SSH_AGENT_PID; [2022-06-07T04:31:31.129Z] echo Agent pid 39 killed; [2022-06-07T04:31:31.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T04:31:31.452Z] + git semver [Pipeline] } [2022-06-07T04:31:31.732Z] $ docker stop --time=1 280bfdec31b014b447cf157f0b0cd3004960a30a455443e425109e27850d8f2d [2022-06-07T04:31:33.022Z] $ 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 [2022-06-07T04:31:33.678Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-06-07T04:31:33.678Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-07T04:31:33.678Z] total 16 [2022-06-07T04:31:33.678Z] drwxr-xr-x 3 root root 4096 Jun 7 04:20 . [2022-06-07T04:31:33.678Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:31 .. [2022-06-07T04:31:33.678Z] drwxr-xr-x 2 root root 4096 Jun 7 04:20 cost [2022-06-07T04:31:33.678Z] -rw-r--r-- 1 root root 83 Jun 7 04:20 cost.csv [2022-06-07T04:31:33.678Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-07T04:31:33.678Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-07T04:31:33.678Z] total 16 [2022-06-07T04:31:33.678Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:20 . [2022-06-07T04:31:33.678Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:31 .. [2022-06-07T04:31:33.678Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 04:20 cost [2022-06-07T04:31:33.678Z] -rw-r--r-- 1 jenkins jenkins 83 Jun 7 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:34.035Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:34.914Z] ---> package-listing.sh [2022-06-07T04:31:34.915Z] ++ facter osfamily [2022-06-07T04:31:34.915Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T04:31:35.175Z] + OS_FAMILY=debian [2022-06-07T04:31:35.175Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-06-07T04:31:35.175Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T04:31:35.175Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T04:31:35.175Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T04:31:35.175Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T04:31:35.175Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-06-07T04:31:35.175Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T04:31:35.175Z] + case "${OS_FAMILY}" in [2022-06-07T04:31:35.175Z] + dpkg -l [2022-06-07T04:31:35.175Z] + grep '^ii' [2022-06-07T04:31:35.175Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T04:31:35.175Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T04:31:35.175Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T04:31:35.175Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-06-07T04:31:35.175Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-06-07T04:31:35.175Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-06-07T04:31:35.186Z] 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 [2022-06-07T04:31:35.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T04:31:35.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T04:31:35.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T04:31:35.859Z] prd-ubuntu20.04-docker-8c-8g-1603 does not seem to be running inside a container [2022-06-07T04:31:35.900Z] $ 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 [2022-06-07T04:31:36.139Z] $ docker top d714c952c1533416b9e8eeb368c19fdb4e4afb04fd32523409cad35bd109050f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T04:31:36.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T04:31:36.783Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T04:31:37.073Z] + ls /var/log/sa-host [2022-06-07T04:31:37.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T04:31:37.239Z] provisioning config files... [2022-06-07T04:31:37.249Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6140711492410558475tmp [Pipeline] { [Pipeline] echo [2022-06-07T04:31:37.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:37.549Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T04:31:37.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:37.918Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T04:31:37.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:38.232Z] ---> sudo-logs.sh [2022-06-07T04:31:38.233Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T04:31:38.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:38.547Z] ---> job-cost.sh [2022-06-07T04:31:38.547Z] lf-activate-venv: SKIPPING [2022-06-07T04:31:38.547Z] DEBUG: total: 0.2199999988079071 [2022-06-07T04:31:38.547Z] INFO: Retrieving Stack Cost... [2022-06-07T04:31:39.118Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T04:31:39.379Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T04:31:39.390Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T04:31:39.679Z] ---> logs-deploy.sh [2022-06-07T04:31:39.680Z] lf-activate-venv: SKIPPING [2022-06-07T04:31:39.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/79 [2022-06-07T04:31:39.680Z] INFO: archiving workspace using pattern(s): [2022-06-07T04:31:40.623Z] Archives upload complete. [2022-06-07T04:31:40.623Z] INFO: archiving logs to Nexus